Nothing Special   »   [go: up one dir, main page]

WO2024174985A1 - Advertisement copy generation method, network device and computer storage medium - Google Patents

Advertisement copy generation method, network device and computer storage medium Download PDF

Info

Publication number
WO2024174985A1
WO2024174985A1 PCT/CN2024/077705 CN2024077705W WO2024174985A1 WO 2024174985 A1 WO2024174985 A1 WO 2024174985A1 CN 2024077705 W CN2024077705 W CN 2024077705W WO 2024174985 A1 WO2024174985 A1 WO 2024174985A1
Authority
WO
WIPO (PCT)
Prior art keywords
advertisement
copy
user
keyword
information
Prior art date
Application number
PCT/CN2024/077705
Other languages
French (fr)
Chinese (zh)
Inventor
姚小虎
王豪
丁洋凯
朱金霞
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024174985A1 publication Critical patent/WO2024174985A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0276Advertisement creation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements

Definitions

  • the present application relates to the field of computer technology, and in particular to an advertising copy generation method, a network device and a computer storage medium.
  • advertisers can upload the advertising copy of their products to the advertising platform so that the advertising platform can place advertisements for the products.
  • the advertising platform can return the advertising copy uploaded by the advertiser, and the terminal can display the advertising copy to the user.
  • these advertising copies are generated in advance and may not meet the current needs and preferences of users, resulting in poor advertising results.
  • the present application discloses an advertising copy generation method, a network device and a computer storage medium, which can generate online advertising copy that better meets the needs and preferences of users and recommend it to users, thereby improving the effect of advertising delivery.
  • the present application provides an advertising copy generation method, which is applied to a network device, and the method includes: obtaining first advertising information of a first object, the first advertising information including a first copy; obtaining a first advertising request sent by a first device, and obtaining a first keyword and a second keyword from the first advertising request; determining the first advertising information based on the first keyword; determining a second copy based on the first keyword, the second keyword and the first copy; sending a first response message to the first device, the first response message including the second copy, and the first response message being used to instruct the first device to display the second copy.
  • the first object is a physical product or a non-physical service.
  • the first copy includes at least one of the following: an advertisement name, theme, content summary, description, and advertisement copy input by an advertiser of the first object, and text obtained by crawling a link input by the advertiser of the first object by the network device.
  • the first keyword and the second keyword are acquired by the first device according to a received search request.
  • the first keyword is the name of the object category to which the first object belongs
  • the second keyword is an adjective for the first keyword.
  • the first object is "Brand A mobile phone”
  • the first keyword is “mobile phone”
  • the second keyword is "high performance”.
  • the network device can generate the second copy online based on the keyword searched online by the user and the first copy in the advertisement information, and return the second copy to the first device for display, instead of directly returning the first copy generated in advance to the first device for display.
  • the second copy generated online can well meet the current needs of online users (reflected by keywords), so it can improve the efficiency of advertising delivery and also improve the user experience.
  • the above method also includes: obtaining a second advertising request sent by the first device, obtaining the first keyword and the third keyword from the second advertising request; determining the first advertising information based on the first keyword; determining the third copy based on the first keyword, the third keyword and the first copy; sending a second response message to the first device, the second response message including the third copy, and the second response message being used to instruct the first device to display the third copy.
  • the keywords searched by the user of the first device at different times/scenarios may be different, and the network device will generate advertising copy based on the keywords searched by the user online. Therefore, when the network device receives different keywords, the copy generated for the same object may be different. This can meet the different needs of the same user in different search scenarios and effectively improve the efficiency of advertising delivery.
  • the first advertisement information includes at least one of the following: a first picture, a first video, and a first link of the first object
  • the first response information also includes at least one of the following: the first picture, the first video, and the first link.
  • the first advertising information of the first object includes not only the first copy but also pictures, videos, links and other information.
  • the network device can send the second copy generated online and non-text content such as pictures, videos, links in the first advertising information to the first device instead of generating non-text content online, thereby reducing processing time and further improving the efficiency of advertising delivery.
  • the second text includes a first sentence
  • the first text includes the first sentence
  • the first sentence is associated with the second keyword
  • the network device can directly extract the first sentence associated with the second keyword in the first copy to form the second copy, which can not only make the obtained second copy meet the current needs of the user, but also reduce the time for generating copy online, and further improve the efficiency of advertising delivery.
  • the second copy includes a second sentence
  • the first copy does not include the second sentence
  • the second sentence is associated with the second keyword
  • the network device may not be limited to the content in the first copy, and may generate a second sentence associated with the second keyword to form a second copy, so that the obtained second copy can well meet the current needs of the user and improve the user experience.
  • the first copy includes M sentences
  • determining the second copy based on the first keyword, the second keyword and the first copy includes: selecting N sentences ranked in the top N positions in terms of relevance to the first keyword and the second keyword from the M sentences; determining the second copy based on the N sentences, where N is a positive integer less than M, and M is a positive integer greater than 1.
  • the first advertising request includes an identifier of a first user; the method further includes: obtaining characteristic information and/or historical behavior data of the first user based on the identifier of the first user; determining the second copy based on the first keyword, the second keyword and the first copy includes: determining the second copy based on the first keyword, the second keyword, the first copy, and characteristic information and/or historical behavior data of the first user.
  • the network device can not only determine the second copy based on the keywords searched online by the first user, but also determine the second copy based on the characteristic information and/or historical behavior data of the first user.
  • the second copy obtained in this way can not only meet the current needs of the first user, but also meet the first user's preference for the copy type/style (which can be reflected through characteristic information and historical behavior data), so that the first user will be more interested in the second copy, thereby further improving the efficiency of advertising delivery.
  • the method before obtaining the first advertisement request sent by the first device, the method further includes: obtaining feature information and/or historical behavior data related to the identifier of the first user.
  • obtaining characteristic information and/or historical behavior data related to the identifier of the first user includes: receiving and storing characteristic information and/or historical behavior data related to the identifier of the first user sent by the first device.
  • the network device can receive and store the characteristic information and/or historical behavior data of the first user in advance. After subsequently obtaining the first advertising request sent by the first device, the characteristic information and/or historical behavior data of the first user can be directly obtained from the memory instead of obtaining it from the first device, thereby reducing data interaction when generating copy online, reducing processing time, and further improving advertising delivery efficiency.
  • the historical behavior data of the first user includes a fourth copy of a second object clicked by the first user, the fourth copy includes a third sentence, and the second copy includes the third sentence.
  • the network device can directly extract the third sentence in the fourth copy clicked by the first user to form the second copy, which can not only make the obtained second copy meet the user's preference for copy style, but also reduce the time for online copy generation, thereby further improving the efficiency of advertising delivery.
  • the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device, and user portrait;
  • the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing corresponding objects through links in advertisements, downloading applications through links in advertisements, and duration of browsing advertisements.
  • the historical behavior data and feature information that can be used to generate the second copy online are rich and varied, and are all data that can reflect the user's preference for the type/style of advertising copy. Therefore, the second copy generated based on these data can well meet the needs of users and has a high advertising delivery efficiency.
  • the first advertising information includes first indication information, and the first indication information indicates that the first function is in an on state or a off state; determining the first advertising information based on the first keyword includes: judging whether the first indication information indicates that the first function is in an on state; when the first indication information indicates that the first function is in an on state, determining the first advertising information based on the first keyword; the method also includes: when the first indication information indicates that the first function is in an off state, sending a third response information to the first device, the third response information including the first text, and the third response information being used to instruct the first device to display the first text.
  • the advertiser of the first object may set the first function to be turned on or off through the advertisement configuration interface provided by the network device.
  • the first function is, for example, called an online personalized copywriting function.
  • the advertiser can choose whether to turn on the first function.
  • the network device When the first function is turned on, the network device will generate the second copy online based on the keywords searched by the user online and return it to the first device.
  • the network device When the first function is turned off, the network device will directly return the first copy in the first advertising information to the first device.
  • the advertiser can flexibly control the advertising copy delivered to enhance the advertiser's experience.
  • the present application provides another method for generating advertising copy, which is applied to a network device, and the method includes: obtaining first advertising information of a first object, the first advertising information including a first copy; obtaining a first advertising request sent by a first device, the first advertising request including an identifier of a first user; obtaining characteristic information and/or historical behavior data of the first user based on the identifier of the first user; determining a second copy based on the first copy, the characteristic information and/or historical behavior data of the first user; and sending a first response message to the first device, the first response message including the second copy, and the first response message being used to instruct the first device to display the second copy.
  • the examples of the above-mentioned first object and the above-mentioned first copy can refer to the examples of the first object and the first copy in the first aspect, and will not be repeated here.
  • the network device can generate the second copy online based on the online user's feature information and/or historical behavior data, and the first copy in the advertisement information, and return the second copy to the first device for display, rather than directly returning the first copy generated in advance to the first device for display.
  • the second copy generated online can well reflect the online user's preference for the copy type/style and meet the user's needs, thereby improving the efficiency of advertising delivery and the user experience.
  • the above method also includes: obtaining a second advertising request sent by a second device, the second advertising request including an identifier of a second user; obtaining characteristic information and/or historical behavior data of the second user based on the identifier of the second user; determining a third copy based on the first copy and the characteristic information and/or historical behavior data of the second user; and sending a second response message to the second device, the second response message including the third copy, and the third response message being used to instruct the second device to display the third copy.
  • the network device after the network device receives advertising requests from different devices, it can generate advertising copy online based on the characteristic information and/or historical behavior data of the corresponding user. Therefore, for advertising requests from different devices/different users, the copy generated by the network device for the same object can be different, which can meet the different needs of different users and effectively improve the efficiency of advertising delivery.
  • the first advertisement information includes at least one of the following: a first picture, a first video, and a first link of the first object
  • the first response information also includes at least one of the following: the first picture, the first video, and the first link.
  • the first advertising information of the first object includes not only the first copy but also pictures, videos, links and other information.
  • the network device can send the second copy generated online and non-text content such as pictures, videos, links in the first advertising information to the first device instead of generating non-text content online, thereby reducing processing time and further improving the efficiency of advertising delivery.
  • the method before obtaining the first advertisement request sent by the first device, the method further includes: obtaining feature information and/or historical behavior data related to the identifier of the first user.
  • obtaining characteristic information and/or historical behavior data related to the identifier of the first user includes: receiving and storing characteristic information and/or historical behavior data related to the identifier of the first user sent by the first device.
  • the network device can receive and store the characteristic information and/or historical behavior data of the first user in advance. After subsequently obtaining the first advertising request sent by the first device, the characteristic information and/or historical behavior data of the first user can be directly obtained from the memory instead of obtaining it from the first device, thereby reducing data interaction when generating copy online, reducing processing time, and further improving advertising delivery efficiency.
  • the historical behavior data of the first user includes a fourth copy of a second object clicked by the first user, the fourth copy includes a first sentence, and the second copy includes the first sentence.
  • the network device can directly extract the first sentence in the fourth copy clicked by the first user to form the second copy, which can not only make the obtained second copy meet the user's preference for copy style, but also reduce the time for online copy generation, thereby further improving the efficiency of advertising delivery.
  • the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device, and user portrait;
  • the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing corresponding objects through links in advertisements, downloading applications through links in advertisements, and duration of browsing advertisements.
  • the historical behavior data and feature information that can be used to generate the second copy online are rich and varied, and are all data that can reflect the user's preference for the type/style of advertising copy. Therefore, the second copy generated based on these data can well meet the needs of users and has a high advertising delivery efficiency.
  • the first advertising information includes first indication information, and the first indication information indicates that the first function is in an on state or a off state; the obtaining of the characteristic information and/or historical behavior data of the first user based on the identifier of the first user includes: judging whether the first indication information indicates that the first function is in an on state; when the first indication information indicates that the first function is in an on state, obtaining the characteristic information and/or historical behavior data of the first user based on the identifier of the first user; the method also includes: when the first indication information indicates that the first function is in an off state, sending a third response information to the first device, the third response information including the first text, and the third response information being used to instruct the first device to display the first text.
  • the advertiser of the first object can set the first function through the advertisement configuration interface provided by the network device. Turn on or off, the first function is called, for example, an online personalized copywriting function.
  • the advertiser can choose whether to turn on the first function.
  • the network device When the first function is turned on, the network device will generate the second copy based on the user's characteristic information and/or historical behavior data line and return it to the first device.
  • the network device When the first function is turned off, the network device will directly return the first copy in the first advertising information to the first device.
  • the advertiser can flexibly control the advertising copy delivered to enhance the advertiser's experience.
  • the present application provides another method for generating advertising copy, which is applied to an electronic device, the method comprising: obtaining a first search request, and obtaining a first keyword and a second keyword based on the first search request; sending a first advertisement request to a network device, the first advertisement request including the first keyword and the second keyword; receiving a first response information sent by the network device, the first response information including a first copy; displaying the first copy; wherein the first copy is determined by the network device based on the first keyword, the second keyword and the second copy, and the second copy is the copy in the first advertisement information of the first object determined by the network device based on the first keyword.
  • the method also includes: obtaining a second search request, and obtaining the first keyword and the third keyword based on the second search request; sending a second advertising request to the network device, the second advertising request including the first keyword and the third keyword; receiving a second response message sent by the network device, the second response message including a third copy; displaying the third copy; wherein the third copy is determined by the network device based on the first keyword, the third keyword and the second copy.
  • the first advertising information includes at least one of the following: a first picture, a first video, and a first link of the first object
  • the first response information includes at least one of the following: the first picture, the first video, and the first link
  • displaying the first text includes: displaying the first text, and displaying at least one of the first picture, the first video, and the first link.
  • the first copy includes a first sentence
  • the second copy includes the first sentence
  • the first sentence is associated with the second keyword.
  • the first text includes a second sentence
  • the second text does not include the second sentence
  • the second sentence is associated with the second keyword
  • the beneficial effects of the third aspect and the implementation methods of the third aspect are similar to the beneficial effects of the first aspect and the implementation methods of the first aspect, and will not be repeated here.
  • the present application provides another method for generating advertising copy, which is applied to an electronic device, the method comprising: sending a first advertising request to a network device, the first advertising request including an identifier of a first user, the identifier of the first user being used by the network device to obtain characteristic information and/or historical behavior data of the first user; receiving a first response message sent by the network device, the first response message including a first copy; displaying the first copy; wherein the first copy is determined by the network device based on the characteristic information and/or historical behavior data of the first user and a second copy, and the second copy is the copy in the first advertising information of the first object determined by the network device.
  • the first advertising information includes at least one of the following: a first picture, a first video, and a first link of the first object
  • the first response information includes at least one of the following: the first picture, the first video, and the first link
  • the displaying of the first text includes: displaying the first text, and displaying at least one of the first picture, the first video, and the first link.
  • the method before sending the first advertisement request to the network device, the method further includes: sending feature information and/or historical behavior data related to the identifier of the first user to the network device.
  • the historical behavior data of the first user includes a fourth text of a second object clicked by the first user, and the second text includes a first sentence in the fourth text.
  • the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device used, and user portrait;
  • the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing corresponding objects through links in advertisements, downloading applications through links in advertisements, duration of browsing advertisements, and types of advertisements operated or browsed.
  • the beneficial effects of the fourth aspect and the implementation methods of the fourth aspect are similar to the beneficial effects of the second aspect and the implementation methods of the second aspect, and will not be repeated here.
  • the present application provides a network device, including a transceiver, a processor and a memory; the above-mentioned memory is used to store computer program code, the above-mentioned computer program code includes computer instructions, and the above-mentioned processor calls the above-mentioned computer instructions to enable the above-mentioned network device to execute the advertising copy generation method provided by the first aspect, the second aspect and any one of the implementation methods of the first aspect and the second aspect of the present application.
  • the present application provides an electronic device, including a transceiver, a processor and a memory; the above-mentioned memory is used to store computer program code, the above-mentioned computer program code includes computer instructions, and the above-mentioned processor calls the above-mentioned computer instructions to enable the above-mentioned electronic device to execute the advertising copy generation method provided by the third aspect, the fourth aspect and any one of the implementation methods of the third aspect and the fourth aspect of the present application.
  • the present application provides a computer storage medium, which stores a computer program, and the computer program includes program instructions.
  • the program instructions are executed by a processor, they are used to execute the advertising copy generation method provided by the first to fourth aspects of the present application, and any one of the implementation methods of the first to fourth aspects.
  • the present application provides a computer program product.
  • the computer program product runs on an electronic device, the electronic device executes the advertising copy generation method provided by any one of the first to fourth aspects of the present application and any implementation method of the first to fourth aspects.
  • the present application provides an electronic device, the electronic device comprising a method or device for executing any aspect or implementation of the present application.
  • the electronic device is, for example, a chip.
  • FIG1A is a schematic diagram of the architecture of an advertising copy generation system provided by the present application.
  • FIG1B is a schematic diagram of the architecture of another advertising copy generation system provided by the present application.
  • FIG2A is a schematic diagram of the hardware structure of an electronic device provided by the present application.
  • FIG2B is a schematic diagram of a software architecture of an electronic device provided by the present application.
  • FIG2C is a schematic diagram of the hardware structure of a network device provided by the present application.
  • FIG3 is a schematic diagram of a user interface provided by the present application.
  • FIG4 is a schematic diagram of another user interface provided by the present application.
  • FIG5 is a flow chart of a method for generating advertisement copy provided by the present application.
  • FIG6 is a schematic diagram of another user interface provided by the present application.
  • FIG7 is a schematic diagram of another user interface provided by the present application.
  • FIG8 is a flow chart of another method for generating advertisement copy provided by the present application.
  • FIG9 is a flow chart of a model training process provided by the present application.
  • FIG10 is a schematic diagram of another user interface provided by the present application.
  • FIG11 is a flow chart of another method for generating advertisement copy provided by the present application.
  • FIG12A is a schematic diagram of an advertisement configuration interface provided by the present application.
  • FIG12B is a schematic diagram of another advertisement configuration interface provided by the present application.
  • FIG13 is a flow chart of an advertisement delivery method provided in the present application.
  • first and second are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality” means two or more.
  • the current advertising copywriting generation technology is to generate copywriting offline.
  • the advertising platform generates copywriting from the purchase words for the advertisement provided by the advertiser.
  • the text content related to the keywords is extracted from the information such as the title (such as car), title (such as X brand car, pick up the car immediately, get the insurance price of all models), description (such as X brand car, breakthrough technology, enlighten the future, enjoy a wonderful travel life) and landing page, and the copy of the current advertisement is generated in advance/offline based on these text contents, and then the copy is delivered to the corresponding platform.
  • the mobile phone or other terminal used by the user will display the above offline generated copy.
  • these copies may not meet the needs and preferences of users.
  • the advertising copy generated offline based on the above advertising copy generation technology can be displayed.
  • the real-time needs of online users cannot be perceived in advance.
  • the user needs represented by the keywords searched by users cannot be perceived, so the current interests of users cannot be reflected in the advertising copy.
  • users browse different ads they often choose to click on some ads that they are interested in.
  • ads offline it is impossible to determine the specific users and their historical behavior data in advance, so it is impossible to generate ads based on the user's preferences for different ad types represented by historical behavior data. This will lead to poor advertising results, such as a low click-through rate (CTR), where CTR is the actual number of clicks on an ad divided by the number of ad impressions.
  • CTR click-through rate
  • the present application provides a method for generating advertising copy, which can be applied to advertising delivery/display scenarios.
  • the network equipment of the advertising platform can use online information to generate online copy.
  • the advertising copy can be generated online and in real time based on the keywords searched by the first user and the historical behavior data of the first user, and the advertising copy is sent to the electronic device for display.
  • the advertising copy is generated based on the keywords searched by the user online, so it can match the user's current interests.
  • the advertising copy is generated based on the user's historical behavior data, so it can match the user's preference for the type of copy.
  • the advertising copy generated by this application is more in line with the needs and preferences of users, effectively improving the efficiency and effectiveness of advertising delivery, and also improving the user experience.
  • Any advertisement in this application is used to promote the corresponding object.
  • the object in this application can be a physical commodity/product or a non-physical service, etc. This application does not limit this.
  • This application does not limit the software for displaying advertisements on electronic devices, such as but not limited to applications (APPs), mini-programs, atomic services, or web pages.
  • applications APPs
  • mini-programs mini-programs
  • atomic services atomic services
  • web pages web pages
  • FIG. 1A exemplarily shows a schematic diagram of the architecture of an advertisement copy generation system 10 .
  • the advertisement copy generation system 10 may include an electronic device 100 , an electronic device 200 , a network device 300 , an electronic device 400 , and an electronic device 500 . Among them:
  • the electronic device 100/electronic device 200 can establish a connection and communicate with the network device 300 via wired and/or wireless means.
  • Wired means include, but are not limited to, high definition multimedia interface (HDMI), universal serial bus (USB), network cable (such as twisted pair, coaxial cable or optical fiber), etc.
  • wireless means include, but are not limited to, wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi)), satellite, cellular communication, etc.
  • WLAN wireless local area networks
  • Wi-Fi wireless fidelity
  • the network device 300 can be used to maintain the advertising content of multiple objects, such as but not limited to the advertising form, the text, links, pictures, videos and sounds that appear in the advertisement. Multiple advertisers can upload the advertising content to be delivered to the network device 300.
  • the advertiser 1 of advertisement 1 can input the configuration content of delivery of advertisement 1 in the electronic device 400.
  • the electronic device 400 can send the configuration content of delivery of advertisement 1 to the network device 300, and the network device 300 can implement the delivery of advertisement 1 based on the configuration content.
  • the advertiser 2 of advertisement 2 can also send the configuration content of delivery of advertisement 2 to the network device 300 through the electronic device 500, and the network device 300 can implement the delivery of advertisement 2 based on the configuration content.
  • the electronic device 100 may be installed with one or more APPs.
  • the electronic device 100 may obtain advertisement copy (such as the copy of the advertisement 1 or advertisement 2 mentioned above) from the network device 300, and display the obtained advertisement copy in the user interface of the APP.
  • the user 2 may also browse the advertisement copy through the APP in the electronic device 200.
  • the electronic device 100 may record the user's operation behavior and/or browsing behavior on the advertisement and information related to the advertisement, and the recorded data may be referred to as historical behavior data.
  • the advertisement request sent to the network device 300 may carry the above historical behavior data.
  • the network device 300 may generate the advertisement copy based on the keyword and return the advertisement copy to the electronic device 100 for display.
  • the electronic device 100 after the electronic device 100 receives the keyword input by the user, it can not only obtain the search results related to the keyword, but also send an advertisement request to the network device 300 to obtain the advertisement copy, and the advertisement request can carry the above-mentioned keyword.
  • the network device 300 After receiving the advertisement request, the network device 300 can generate the advertisement copy based on the keyword and return the advertisement copy to the electronic device 100.
  • the electronic device 100 displays the search results related to the keyword, it can also display the advertisement copy.
  • the electronic device 100 may send an advertisement request to the network device 300 to obtain the advertisement copy.
  • the advertisement request may carry the above-mentioned keyword and the
  • the network device 300 may generate an advertisement text based on the keyword and the historical behavior data, and return the advertisement text to the electronic device 100.
  • the electronic device 100 displays search results related to the keyword, it may also display the advertisement text.
  • the number of electronic devices used by users may be more or less, the number of advertisers may be more or less, and the number of electronic devices used by advertisers may be more or less.
  • the electronic device used by any advertiser may be network device 300.
  • Network device 300 may provide an advertisement configuration interface for advertisers to upload advertisement configuration content. Examples of the advertisement configuration interface may be found in FIGS. 12A and 12B below. This application does not limit the form and quantity of devices in the system.
  • FIG. 1B exemplarily shows a schematic diagram of the architecture of another advertising copy generation system 10.
  • Fig. 1B takes the above second search advertising scenario as an example for explanation.
  • the advertisement copy generation system 10 may include an electronic device 100 (user is user 1), a network device 300 and an electronic device 400 (user is advertiser 1).
  • the electronic device 100 may include an input module 101, an advertisement acquisition module 102 and an output module 103.
  • the network device 300 may include an advertisement material acquisition service 301, an advertisement copy generation service 302, a short-term interest extraction service 303 and a long-short interest fusion service 304. Among them:
  • the electronic device 400 can be used to receive the input of the advertiser 1, and obtain the configuration content of the advertisement 1 based on the input, and then send the configuration content to the advertising material acquisition service 301 of the network device 300.
  • the advertising material acquisition service 301 can obtain the information of the advertisement 1 based on the configuration content, wherein the information of the advertisement (which can be referred to as the advertisement information) includes, for example but not limited to: the object of the advertisement (such as goods or services), the advertisement name, theme, content summary, description (such as the function description of the product advertisement or the service content description of the service advertisement), advertisement copy and other texts entered by the advertiser, non-text content such as pictures, videos, links (also called landing pages) uploaded by the advertiser, and text, pictures, videos, links and other information obtained after crawling the advertisement landing page.
  • the advertisement information includes, for example but not limited to: the object of the advertisement (such as goods or services), the advertisement name, theme, content summary, description (such as the function description of the product advertisement or the service content description of the service advertisement
  • the advertisement information obtained by the advertising material acquisition service 301 can be provided to the advertisement copy generation service 302.
  • the above description can be understood as advertiser 1 turning on the advertisement 1 delivery service.
  • network device 300 can send the content of advertisement 1 (including advertising copy, and optionally non-text content such as pictures, videos, links, etc.) to any electronic device for display.
  • the input module 101 of the electronic device 100 can be used to receive input from the user 1. After receiving the keyword input by the user 1, the input module 101 can send the keyword to the advertisement acquisition module 102.
  • the advertisement acquisition module 102 can be used to send an advertisement request to the network device 300 to obtain an advertisement copy.
  • the advertisement request can carry the keyword input by the user 1 and the identity document (ID) of the user 1.
  • the advertisement copy generation service 302 of the network device 300 can determine the advertisement (assuming it is advertisement 1) of the object (such as a product or service) to be currently delivered, and obtain the information of advertisement 1 from the advertisement material acquisition service 301. Then, the advertisement copy generation service 302 can send keywords and the information of advertisement 1 to the short-term interest extraction service 303, and can send the ID of user 1 and the information of advertisement 1 to the long-term and short-term interest fusion service 304.
  • the short-term interest extraction service 303 of the network device 300 After the short-term interest extraction service 303 of the network device 300 receives the keywords searched by user 1 and the information of advertisement 1, it can extract text descriptions/copy fragments (which may be called short-term interests) related to the keywords from the information of advertisement 1 (including text descriptions) in real time and online, and send the short-term interests to the long- and short-term interest fusion service 304 for the generation of advertising copy.
  • text descriptions/copy fragments which may be called short-term interests
  • the long-short interest fusion service 304 of the network device 300 can obtain the static features (also referred to as feature information) and historical behavior data of user 1 according to the ID of user 1.
  • the static features include, but are not limited to, age, gender, city, device type of electronic device 100 used, user portrait, etc.
  • the static features and historical behavior data of user 1 can be sent by the electronic device 100 to the network device 300 before receiving the input of user 1.
  • the long-short interest fusion service 304 can generate the copy of advertisement 1 in real time online based on the acquired static features of user 1, the acquired historical behavior data of user 1, the short-term interests sent by the short-term interest extraction service 303, and the information of advertisement 1 sent by the advertisement copy generation service 302, and send the copy of advertisement 1 to the advertisement copy generation service 302.
  • the advertisement copy generation service 302 of the network device 300 may send the copy of Advertisement 1 to the advertisement acquisition module 102 of the electronic device 100, and the advertisement acquisition module 102 then sends the copy of Advertisement 1 to the output module 103 for display.
  • the network device 300 may also not include the long-short interest fusion service 304.
  • the short-term interest extraction service 303 may send the short-term interest to the advertising copy generation service 302.
  • the advertising copy generation service 302 may generate the copy of advertisement 1 based on the short-term interest, and return the copy to the electronic device 100 for display.
  • the network device 300 may also not include the short-term interest extraction service 303.
  • user 1 may not input keywords.
  • the long-short interest fusion service 304 may generate the copy of advertisement 1 based on the static characteristics of user 1, the historical behavior data of user 1, and the information of advertisement 1.
  • the generation of the advertising copy does not involve the keywords input by the user and the short-term interests obtained based on the keywords.
  • the device in the advertising copy generation system 10 may include more or fewer modules.
  • a module may include The present application does not limit this, and the present application does not limit this, but includes multiple sub-modules. For example, multiple modules can be coupled together.
  • the electronic device in the present application can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart TVs and smart cameras, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), vehicle-mounted devices or smart city devices.
  • XR extended reality
  • AR augmented reality
  • VR virtual reality
  • MR mixed reality
  • vehicle-mounted devices or smart city devices smart city devices.
  • FIG. 2A exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
  • the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processor
  • ISP image signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • Different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
  • I2C inter-integrated circuit
  • I2S inter-integrated circuit sound
  • PCM pulse code modulation
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the charging management module 140 is used to receive charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from a wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas.
  • antenna 1 can be reused as a diversity antenna for a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G/6G applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
  • at least some of the functional modules of the mobile communication module 150 can be set in the processor 110.
  • at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared
  • the wireless communication module 160 can be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110.
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology.
  • the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation system
  • the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, etc.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, etc. of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In one embodiment, ISP can be set in camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and projects it onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • the DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
  • the electronic device 100 may include 1 or N cameras 193, where N is greater than 1. A positive integer.
  • Digital signal processors are used to process digital signals.
  • Video codecs are used to compress or decompress digital videos.
  • NPU is a neural-network (NN) computing processor, through which the intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
  • NN neural-network
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
  • the internal memory 121 can be used to store computer executable program codes, which include instructions.
  • the internal memory 121 may include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
  • the speaker 170A also called a "speaker" is used to convert an audio electrical signal into a sound signal.
  • the electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
  • the receiver 170B also called a "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can speak by approaching the microphone 170C with his mouth to input the sound signal into the microphone 170C.
  • the earphone jack 170D is used to connect a wired earphone.
  • the pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals.
  • the pressure sensor 180A can be set on the display screen 194.
  • the electronic device 100 detects the touch operation strength according to the pressure sensor 180A.
  • the electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation strengths can correspond to different operation instructions. For example: when a touch operation with a touch operation strength less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation strength greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100.
  • the air pressure sensor 180C is used to measure the air pressure.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the distance sensor 180F is used to measure the distance.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the temperature sensor 180J is used to detect the temperature.
  • the touch sensor 180K is also called a "touch control device”.
  • the touch sensor 180K can be set on the display screen 194.
  • the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can obtain vibration signals.
  • the button 190 includes a power button, a volume button, etc.
  • the button 190 can be a mechanical button. It can also be a touch button.
  • the motor 191 can generate a vibration prompt.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
  • the SIM card interface 195 is used to connect a SIM card.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the software system of the layered architecture may be an Android system, or a Harmony operating system (OS), or other software systems.
  • OS Harmony operating system
  • the embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the electronic device 100.
  • FIG. 2B exemplarily shows a schematic diagram of a software architecture of an electronic device 100 .
  • the layered architecture divides the software into several layers, each with a clear role and division of labor.
  • the layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include a search engine, a browser, a shopping application, a social media application, an application market, a video, music, etc.
  • the application in the present application may also be replaced by other software such as a mini-program, an atomization service, etc. Any of the above-mentioned examples of application may be used to display the advertising copy generated online based on the advertising copy generation method of the present application.
  • the application framework layer provides application programming interface (API) and programming framework for the applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
  • the window manager is used to manage window programs.
  • the window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying images, etc.
  • the view system can be used to build applications.
  • a display interface can be composed of one or more views.
  • a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
  • the phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.
  • Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • functional modules such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
  • the surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • a 2D graphics engine is a drawing engine for 2D drawings.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information).
  • the raw input event is stored in the kernel layer.
  • the application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.
  • the network device 300 in the present application is introduced as an example.
  • FIG. 2C exemplarily shows a schematic diagram of the hardware structure of a network device 300 .
  • the network device 300 may include one or more processors 310, a communication interface 320, and a memory 330, wherein the processor 310, the communication interface 320, and the memory 330 may be connected via a bus or other means, and FIG2C takes the connection via a bus 340 as an example.
  • the processor 310 may be composed of one or more general-purpose processors, such as a CPU.
  • the processor 310 may be used to run program codes related to the advertising copy generation method.
  • the communication interface 320 may be a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface), which is used to communicate with other nodes, such as communicating with the electronic device 100 and the electronic device 200.
  • the memory 330 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); the memory may also include a non-volatile memory (non-vlatile memory), such as a read-only memory (read-only memory, ROM), a flash memory (flash memory), a hard disk drive (hard disk drive, HDD) or a solid state disk (solid state disk, SSD).
  • volatile memory volatile memory
  • RAM random access memory
  • non-vlatile memory such as a read-only memory (read-only memory, ROM), a flash memory (flash memory), a hard disk drive (hard disk drive, HDD) or a solid state disk (solid state disk, SSD).
  • the memory 330 may also include a combination of the above-mentioned types of memory.
  • the memory 330 may be used to store a set of program codes so that the processor 310 calls the program codes stored in the memory 330 to implement the method implemented on the network device 300 side in the embodiment of the present application.
  • the network device 300 may include at least one server, for example, the network device 300 is a server cluster composed of multiple servers.
  • Any server may be a hardware server or a cloud server, for example, a web server, a backend server, an application server, a download server, etc.
  • the hardware structure of any server may refer to the hardware structure of the network device 300 shown in FIG. 2C .
  • the network device 300 shown in FIG. 2C is an implementation example of an embodiment of the present application. In actual applications, the network device 300 may also include more or fewer components, and the present application does not limit this.
  • the following describes the application scenarios involved in the embodiments of the present application, user interface examples in the application scenarios, and an advertising copy generation method that can implement the application scenarios.
  • the method can be applied to the advertising copy generation system 10 shown in FIG1A , and can also be applied to the advertising copy generation system 10 shown in FIG1B .
  • Scenario 1 When user 1 uses electronic device 100 to search for keyword 1 and keyword 2 respectively, electronic device 100 displays different advertisements for the same object. For specific examples, see FIGS. 3 and 4 below.
  • Figures 3 and 4 illustrate the advertising scenario of the product "Brand A sun hat” as an example. It is assumed that the advertising information of "Brand A sun hat” includes "Brand A sun hat, a super practical summer sun hat, made of high-quality fabrics, can effectively prevent the invasion of ultraviolet rays and give you a refreshing summer. It is a must-have sun hat for trendsetters, with novel styles and rich colors to show your handsomeness.”
  • Figure 3 shows the process of user 1 searching for keyword 1 (assuming it is “practical sun hat")
  • Figure 4 shows the process of user 1 searching for keyword 2 (assuming it is "handsome sun hat”).
  • the electronic device 100 may display a user interface 310 of a browser, and the user interface 310 may include a search box 311 and a search control 312.
  • the search box 311 may be used to input search keywords
  • the search control 312 may be used to trigger a search for web page results related to the keywords in the search box 311.
  • the electronic device 100 may receive the keyword 1 "practical sun hat" input by the user in the search box 311, and then receive a user operation (such as a touch operation, such as a click operation) on the search control 312.
  • a user operation such as a touch operation, such as a click operation
  • the electronic device 100 may obtain and display web page results related to the keyword 1, and advertising content related to the keyword 1.
  • FIG. 3 (B) For specific examples, see the user interface 320 shown in FIG. 3 (B).
  • the user interface 320 of the browser may include a search box 311, a display column of at least one advertisement related to keyword 1 (e.g., advertisement column 321), and at least one web page result related to keyword 1 (e.g., web page result 322 and web page result 323).
  • the search box 311 may display the currently searched keyword 1 "practical sun hat”.
  • the advertisement column 321 may be used to display an advertisement for the product "Brand A sun hat", and may include an advertisement picture 321A, an advertisement copy 321B, an advertisement source 321C (i.e., "shopping platform 1"), and an advertisement indication 321D (i.e., "advertisement").
  • the advertisement copy 321B is "super practical summer sun hat, which can effectively prevent ultraviolet invasion and give you a refreshing summer".
  • the web page result 322 may include a title 322A (including the characters “summer sun hat collection, versatile and practical"), video information 322B in the web page, and a source URL 322C (i.e., "URL 111").
  • the web page result 323 may include a title 323A (including characters “[outdoor sun hat] price-brand-mall 111...”), a web page description 323B and a source URL 323C (ie, “URL 222”).
  • the electronic device 100 can display the user interface 310 shown in (A) of Figure 3.
  • the electronic device 100 can receive the keyword 2 "handsome sun hat" input by the user in the search box 311, and then receive the user operation on the search control 312 (for example, a touch operation, such as a click operation).
  • the electronic device 100 can obtain and display web page results related to keyword 2, as well as advertising content related to keyword 2.
  • the user interface 410 of the browser may include a search box 311, a display column of at least one advertisement related to keyword 2 (e.g., advertisement column 411), and at least one web page result related to keyword 2 (e.g., web page result 412 and web page result 413).
  • the search box 311 may display the currently searched keyword 2 “handsome sun hat”.
  • the advertisement column 411 may be used to display an advertisement for the product “Brand A sun hat”, and may include an advertisement picture 411A, advertisement text 411B, advertisement source 411C (i.e., “shopping platform 1”), and advertisement indication 411D (i.e., “advertisement”).
  • the advertisement text 411B is “a must-have sun hat for trendsetters, colorful and showing your handsomeness”.
  • the web page result 412 may include a title 412A (including the characters “handsome sun hat - product - hot sale on the entire network...”), multiple pictures 412B in the web page, and a source network 411C.
  • Web page result 413 may include title 413A (including characters “Baseball caps are out of fashion, sun hats are popular now "), web page description 413B and source URL 413C (ie, "URL 444").
  • the advertisement column 321 in the user interface 320 shown in (B) of FIG. 3 and the advertisement column 411 in the user interface 410 shown in (B) of FIG. 4 are both used to display the advertisement content of "Brand A sun hat".
  • the advertisement picture 321A and the advertisement source 321C in the advertisement column 321 are respectively the same as the advertisement picture 411A and the advertisement source 411C in the advertisement column 411, but the advertisement copy 321B in the advertisement column 321 is different from the advertisement copy 411B in the advertisement column 411.
  • the advertisement copy 321B is a copy fragment related to the keyword 1 "practical sun hat” in the advertisement information of "Brand A sun hat”
  • the advertisement copy 411B is a copy fragment related to the keyword 2 "handsome sun hat” in the advertisement information of "Brand A sun hat”.
  • the present application can generate and recommend personalized advertisement copy online according to the keywords searched by the user.
  • the advertisement copy can meet the real-time needs of the user when searching for keywords, thereby increasing the probability of the user operating the advertisement copy to view the detailed advertisement content and improving the efficiency of advertisement delivery.
  • scenario 1 may also be an advertising scenario for the product "Brand B mobile phone".
  • the advertising information of "Brand B mobile phone” includes “Brand B full-screen mobile phone, incredibly powerful performance, in-screen fingerprint support, 90Hz refresh rate, 1440Hz high-frequency dimming”
  • keyword 1 is "high-performance full-screen mobile phone”
  • the advertising copy of "Brand B mobile phone” displayed by the electronic device 100 may be a copy fragment related to keyword 1 in the advertising information: "Brand B full-screen mobile phone, incredibly powerful performance”
  • keyword 2 is "fingerprint payment mobile phone
  • the advertising copy of "Brand B mobile phone” displayed by the electronic device 100 may be a copy fragment related to keyword 2 in the advertising information: "Brand B full-screen mobile phone, in-screen fingerprint support”.
  • Figure 5 is a flowchart of a method for generating advertising copy provided by the present application.
  • the method may include but is not limited to the following steps:
  • the network device 300 trains to obtain a rough selection model.
  • S101 is an optional step. In one embodiment, S101 is an offline operation, that is, it is performed before advertisement delivery/display.
  • the network device 300 can train a rough selection model based on the searched keywords and advertising information.
  • the network device 300 can obtain the vector representation of the keyword and the vector representation of the text (including multiple sentences/statements) in the advertising information, respectively, and then pass these vector representations through the subsequent attention module (such as Cross Attention) and the fully connected layer (such as a multilayer perceptron (MLP)) to predict the probability of each sentence in the advertising information being selected by the keyword, and this probability can characterize the degree of relevance between the sentence and the keyword.
  • the subsequent attention module such as Cross Attention
  • MLP multilayer perceptron
  • the vector representation of the keyword and the vector representation of the sentence in the advertising information can be decoupled, that is, each vector representation can exist independently, and there may be no interaction between these vector representations, so as to implement S103.
  • the vector representation in the present application can be a vector representation of the current sentence or phrase in a certain semantic space, such as a word embedding vector (embedding), for example, obtained through a word encoder (sentence encoder).
  • the network device 300 is trained to obtain a selected model.
  • S102 is an optional step. In one embodiment, S102 is an offline operation.
  • the network device 300 can train a selection model based on the searched keywords and advertising information. In some examples, when the network device 300 trains the selection model, it can first use prompts to concatenate sentences and keywords in the advertising information and obtain corresponding vector representations, and then send them into a new prediction model for training to predict the probability of each sentence in the advertising information being selected by the keyword. The probability can represent the degree of relevance between the sentence and the keyword.
  • the training data of the coarse selection model and the fine selection model can be the same or different, but the model structures are not the same.
  • the time consumption of the fine selection model is often greater than that of the coarse selection model.
  • the probability predicted by the fine selection model is often more accurate than that predicted by the coarse selection model.
  • the network device 300 stores the vector representation of the advertisement information in the advertisement library.
  • S103 is an optional step. In one embodiment, S103 is an offline operation.
  • the network device 300 may obtain the vector representation of each sentence of the advertisement information in the advertisement library. For example, when training the rough selection model in S101, the vector representation of some or all sentences in the advertisement information may be obtained. Then, the network device 300 may store these vector representations, and the stored vector representations of the sentences may be collectively referred to as an advertisement material library.
  • the network device 300 may store the identity document (ID) of each sentence in the advertisement information and the vector representation of the sentence. This may be understood as identifying the vector representation of the sentence by the ID of the sentence, so as to obtain the vector representation of the sentence when subsequently generating advertisement copy online, such as obtaining the vector representation of the sentence according to the ID of the sentence in the following S107.
  • ID identity document
  • S104 The electronic device 100 obtains a first keyword input by a first user.
  • the electronic device 100 receives a first keyword and a corresponding search request input by a first user, and in response to the search request, obtains the first keyword and obtains search results related to the first keyword, for example, executing S105 to obtain related advertisements.
  • the electronic device 100 can receive the keyword 1 "practical sun hat" entered by the user in the search box 311 of the user interface 310 shown in (A) of Figure 3, and then receive the user operation on the search control 312 (which can be understood as receiving a search request), and in response to the user operation, obtain keyword 1, and obtain web page results related to keyword 1, as well as advertising content related to keyword 1.
  • the electronic device 100 sends a first advertisement request (carrying a first keyword) to the network device 300.
  • the first advertisement request may be used to request to obtain advertisement content
  • the first advertisement request may carry a first keyword
  • the first keyword may be used to obtain advertisement content related to the first keyword
  • the network device 300 obtains a first vector representation of the first keyword.
  • the network device 300 may use a rough selection model trained offline to obtain a vector representation of the first keyword (referred to as a first vector representation).
  • the network device 300 determines a first advertisement to be displayed, and obtains a second vector representation of the advertisement information.
  • the network device 300 may first use the first keyword to recall and sort multiple advertisements to obtain a first advertisement related to the first keyword.
  • the multiple advertisements maintained by the network device 300 include advertisements for products such as "Brand A Sun Hat", “Brand B Mobile Phone”, “Brand X Car”, and "C Financial Services”.
  • the first keyword is keyword 1 "Practical Sun Hat” shown in FIG3.
  • the network device 300 may obtain an advertisement for the product "Brand A Sun Hat” related to keyword 1 from the above multiple advertisements.
  • the first advertisement may be characterized by a corresponding ID, and the IDs of advertisements of different objects are different.
  • the network device 300 can obtain the vector representation of each sentence in the advertisement information of the first advertisement from the stored advertisement material library (collectively referred to as the second vector representation).
  • the network device 300 can first obtain the advertisement information of the first advertisement (including multiple sentences) and/or the ID of the sentence in the advertisement information according to the ID of the first advertisement, and then obtain the vector representation of the sentence of the first advertisement according to the sentence and/or the ID of the sentence.
  • the stored, offline-calculated advertisement material library is directly used, rather than the network device 300 online calculating the vector representation of the sentence in the advertisement information, which effectively reduces the processing pressure.
  • the order of S106 and S107 is not limited.
  • the network device 300 uses the coarse selection model to process the first vector representation and the second vector representation to obtain K sentences of the first advertisement (K is a positive integer, for example, a positive integer greater than 1).
  • the network device 300 may use the first vector representation of the keyword and the second vector representation of the sentence of the first advertisement as inputs of the rough selection model, and obtain output: K sentences in the advertisement information of the first advertisement.
  • the rough selection model may score each sentence in the advertisement information of the first advertisement, and the obtained score may indicate the relevance between the corresponding sentence and the keyword, and the higher the score, the higher the relevance, and the rough selection model may select K sentences with scores ranked in the top K positions, where K is a hyperparameter and may be determined by manual experience or engineering experiment results.
  • the network device 300 uses the selection model to process the first keyword and the K sentences of the first advertisement to obtain scores of the K sentences.
  • the network device 300 can use the first keyword and the K sentences obtained in S108 as inputs of the selection model, and obtain outputs: K scores corresponding to the K sentences.
  • the scores of the advertisement sentences obtained by the selection model can also indicate the relevance between the corresponding sentences and the keywords. The higher the score, the higher the relevance.
  • the structure of the selection model is different from that of the rough selection model.
  • the selection model will perform interactive fusion operations (such as prompt) on the keywords and advertisement sentences, so it can more accurately predict the relevance between the keywords and advertisement sentences, that is, the scores of the advertisement sentences obtained by the selection model are more accurate.
  • the network device 300 selects N sentences (ie, short-term interests) whose scores are greater than or equal to a first threshold from the K sentences (N is a positive integer less than or equal to K).
  • the network device 300 may use the first threshold value set by the hyperparameter, based on the K scores obtained in S109, to select: N sentences with scores greater than or equal to the first threshold value from the K sentences of the first advertisement obtained in S108.
  • these N sentences may be the most relevant content in the advertisement information of the first advertisement and the first keyword currently searched, and may be referred to as the user's short-term interest expression in the current advertisement information.
  • the network device 300 generates a first copy according to N sentences of the first advertisement.
  • the network device 300 may generate a first copy of the first advertisement based on the N sentences of the first advertisement obtained in S110, which may be understood as language organization of the N sentences into a smooth copy.
  • the network device 300 sends the first document to the electronic device 100 .
  • S113 The electronic device 100 displays the first text.
  • the network device 300 may receive a response based on the first advertisement request.
  • the first advertisement requests the generated advertisement text (ie, the first text) and displays the first text.
  • FIG. 5 A specific example of the method shown in Figure 5 can be found in Figure 3, wherein the first keyword is keyword 1 "practical sun hat” shown in Figure 3, and the K sentences of the first advertisement are 9 sentences of the product "Brand A sun hat”: “Brand A sun hat”, “Super practical summer sun hat”, “Made of high-quality fabrics”, “Can effectively prevent ultraviolet invasion”, “Give you a refreshing summer”, “A must-have sun hat for trendsetters", “Novel style”, “Rich colors”, “Show your handsomeness”, and the N sentences screened by the network device 300 are 3 sentences out of the above 9 sentences: “Super practical summer sun hat”, “Can effectively prevent ultraviolet invasion", "Give you a refreshing summer”, and the advertisement content of "Brand A sun hat” sent by the network device 300 and displayed by the electronic device 100 can be found in the advertisement column 321 in the user interface 320 shown in (B) of Figure 3, and the advertisement copy 321B in the advertisement column 321 ("Super practical summer sun hat, can effectively prevent ultraviolet invasion,
  • some sentences included in the first copy may be sentences that are different from the sentences in the short-term interest but have similar meanings.
  • the first keyword is keyword 2 “handsome sun hat” shown in FIG4
  • the K sentences of the first advertisement are 9 sentences of “Brand A sun hat”: “Brand A sun hat”, “Super practical summer sun hat”, “Made of high-quality fabrics”, “Can effectively prevent ultraviolet invasion”, “Give you a cool summer”, “A sun hat that must be chosen by fashion gurus”, “Novel style”, “Rich colors”, “Show your handsomeness”, network device 30 0
  • the N sentences obtained by screening are 3 sentences among the above 9 sentences: "Sun hats that must be chosen by trendsetters", “Rich colors”, “Show your handsomeness”, and the advertisement content of "Brand A sun hats" sent by network device 300 and displayed by electronic device 100 can be found in advertisement column 411 in user interface 410 shown in (B) of FIG.
  • Advertisement copy 411B in advertisement column 411 ("Sun hats that must be chosen by trendsetters, colorful and show your handsomeness") is the first copy. Although “colorful and colorful” in the first copy is different from “rich colors” obtained by the above screening, they have similar meanings. In other examples, some sentences included in the first copy may be obtained by expanding and supplementing sentences in short-term interests. The present application does not limit the specific implementation method of generating advertisement copy (i.e., S111) according to short-term interests.
  • S104-S113 are online operations, that is, operations performed when an advertisement is recommended to the user online after the user performs a triggering operation in real time.
  • the network device 300 can extract sentences with strong relevance from the advertising information online based on the keywords searched by the user online (i.e., explore the user's current short-term interests), and then generate a first copy based on these sentences for the electronic device 100 to recommend to the user for viewing, rather than simply combining popular keywords and advertising information to obtain advertising copy through offline data processing.
  • the keywords searched by the user online are found from the above-mentioned popular keywords stored offline, and the advertising copy related to the keyword is returned to the user for viewing.
  • the first copy of the present application is more in line with the content of the advertising information itself while taking into account the keywords searched by the user online, and is therefore more in line with the needs and preferences of the user, thereby improving the efficiency of advertising delivery and user experience.
  • the network device 300 uses offline storage (vector representation of advertisement sentences) and online prediction (probability of advertisement sentences being selected by keywords) (i.e., rough selection model) to perform rough selection of sentences in the first stage, and then further selects sentences based on the rough selected sentences through a subsequent interactive model (i.e., refined model), thereby avoiding the situation where the single use of the rough selection model results in a small delay but low accuracy, and also avoiding the situation where the single use of the refined model results in a high accuracy but large delay.
  • the coordination of the rough selection model and the refined model not only realizes online model reasoning and ensures the accuracy of the model, but also alleviates the pressure of online delay.
  • Scenario 2 The multiple advertising copies operated by user 1 while using electronic device 100 are different from the multiple advertising copies operated by user 2 while using electronic device 200. Subsequently, when user 1 and user 2 use electronic device 100 and electronic device 200 respectively to search for keyword 1, the advertising copies of the same object displayed on electronic device 100 and electronic device 200 are different. Specific examples can be seen in Figures 6 and 7 below.
  • Figures 6 and 7 illustrate the advertising scenario of the product "Brand A sun hat” as an example. It is assumed that the advertising information of "Brand A sun hat” includes "Brand A sun hat, a super practical summer sun hat, made of high-quality fabrics, can effectively prevent the invasion of ultraviolet rays and give you a refreshing summer. It is a must-have sun hat for trendsetters. It has novel styles and rich colors to show your handsomeness.”
  • Figure 6 shows the process of user 1 using an electronic device 100 to operate multiple advertising copies and search for keyword 1 (assuming it is "practical sun hat”).
  • Figure 7 shows the process of user 2 using an electronic device 200 to operate multiple advertising copies and search for keyword 1.
  • the electronic device 100 may display a user interface 610 of a social media application.
  • the user interface 610 may include a search box 611, a search control 612, and multiple published contents (e.g., content 613 and content 614).
  • the search box 611 may be used to input search keywords, and the search control 612 may be used to trigger a search for published contents related to the search box 611.
  • Content 614 may be used to display the content of advertisement a, and may include advertising copy 614A (i.e., "This fish tank is cleverly designed and is simply a work of art").
  • the user interface 610 may be a home page, and the published contents displayed on the home page of the social media application may change after refreshing (e.g., in response to a user operation of sliding from top to bottom, or jumping from other pages to the home page).
  • the electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 614, and in response to the user operation, display content related to advertisement a (e.g., a purchase page for a product corresponding to advertisement a, not shown in FIG. 6 ).
  • a user operation e.g., a touch operation, such as a click operation
  • advertisement a e.g., a purchase page for a product corresponding to advertisement a, not shown in FIG. 6
  • user 1 clicks on the advertising copy 614A of advertisement a and And the electronic device 100 displays the corresponding advertising content.
  • the user interface 620 of the social media application may include a search box 611, a search control 612, and multiple published contents (e.g., content 621 and content 622).
  • the user interface 620 is similar to the user interface 610, except that the displayed published contents are different.
  • Content 622 may be used to display the content of advertisement b, and may include advertisement copy 622A (i.e., "a new floral long skirt, soft and comfortable to the touch, simple and elegant design style, allowing you to stand out from the crowd").
  • the electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 622, and in response to the user operation, display content related to advertisement b (e.g., a purchase page of a product corresponding to advertisement b, not shown in FIG. 6 ).
  • a user operation e.g., a touch operation, such as a click operation
  • display content related to advertisement b e.g., a purchase page of a product corresponding to advertisement b, not shown in FIG. 6 .
  • user 1 clicks on advertisement copy 622A of advertisement b and the electronic device 100 displays the corresponding advertisement content.
  • the electronic device 100 may display the user interface 630 shown in (C) of FIG. 6 .
  • the user interface 630 of the social media application may include a search box 611, a search control 612, and multiple published contents (e.g., content 631 and content 632), and the user interface 630 is similar to the user interface 610, except that the displayed published contents are different.
  • Content 632 may be used to display the content of advertisement c (i.e., the advertisement of the product “Brand A sun hat”), and may include an advertising manufacturer 632A (i.e., “Manufacturer ccc”), an advertising instruction 632B (i.e., “advertisement”), an advertising copy 632C (i.e., “Brand A sun hat is made of high-quality fabrics and cleverly designed to make you stand out from the crowd”) and an advertising video 632D.
  • advertisement c i.e., the advertisement of the product “Brand A sun hat”
  • an advertising manufacturer 632A i.e., “Manufacturer ccc”
  • an advertising instruction 632B i.e., “advertisement”
  • an advertising copy 632C i.e., “Brand A sun hat is made of high-quality fabrics and cleverly designed to make you stand out from the crowd”
  • an advertising video 632D i.e., “
  • the electronic device 200 may display a user interface 710 of a social media application, and the user interface 710 may be a home page.
  • the user interface 710 may include a search box 711, a search control 712, and multiple published contents (e.g., content 713 and content 714).
  • the search box 711 may be used to input search keywords, and the search control 712 may be used to trigger the search and the published contents related to the search box 711.
  • Content 713 may be used to display the content of advertisement d, and may include advertisement copy 713A (i.e., "sleeping pants are specially designed for pregnant women, comfortable and skin-friendly, allowing you to feel comfortable all night").
  • the electronic device 200 may receive a user operation (e.g., a touch operation, such as a click operation) of user 2 on content 713, and in response to the user operation, display content related to advertisement d (e.g., a purchase page of a product corresponding to advertisement d, not shown in FIG. 7 ).
  • a user operation e.g., a touch operation, such as a click operation
  • display content related to advertisement d e.g., a purchase page of a product corresponding to advertisement d, not shown in FIG. 7 .
  • user 2 clicks on the advertisement copy 713A of advertisement d and the electronic device 200 displays the corresponding advertisement content.
  • the user interface 720 of the social media application is similar to the user interface 710, except that the displayed published content is different, and the multiple published content in the user interface 720 includes, for example, content 721 and content 722.
  • Content 722 can be used to display the content of advertisement e, and can include advertising copy 722A (i.e., "This shirt is novel in style, breathable and comfortable, allowing you to easily cope with various occasions").
  • the electronic device 200 can receive a user operation (e.g., a touch operation, such as a click operation) of user 2 on content 722, and in response to the user operation, display content related to advertisement e (e.g., a purchase page of a product corresponding to advertisement e, not shown in FIG. 7 ).
  • a user operation e.g., a touch operation, such as a click operation
  • display content related to advertisement e e.g., a purchase page of a product corresponding to advertisement e, not shown in FIG. 7 .
  • user 2 clicks on the advertising copy 722A of advertisement e and the electronic device 200 displays the corresponding advertising content.
  • the electronic device 200 may display the user interface 730 shown in (C) of FIG. 7 .
  • the user interface 730 of the social media application is similar to the user interface 710, except that the displayed published content is different, and the multiple published contents in the user interface 730 include, for example, content 731 and content 732.
  • Content 732 may be used to display the content of advertisement c (i.e., the advertisement of the product “Brand A sun hat”), and may include an advertising manufacturer 732A (i.e., “Manufacturer ccc”), an advertising instruction 732B (i.e., “advertisement”), an advertising copy 732C (i.e., “Brand A sun hat is made of high-quality fabrics, comfortable to wear, allowing you to easily cope with various occasions”) and an advertising video 732D.
  • advertisement c i.e., the advertisement of the product “Brand A sun hat”
  • an advertising manufacturer 732A i.e., “Manufacturer ccc”
  • an advertising instruction 732B i.e., “advertisement”
  • an advertising copy 732C i.e., “Brand A sun hat is made of high-quality fabrics, comfortable to wear, allowing you to easily cope with various occasions”
  • an advertising video 732D i.
  • the content 632 in the user interface 630 shown in (C) of FIG. 6 and the content 732 in the user interface 730 shown in (C) of FIG. 7 are both used to display the advertisement content of the product "Brand A Sun Hat".
  • the advertisement manufacturer 632A and the advertisement video 632D in the content 632 are respectively the same as the advertisement manufacturer 732A and the advertisement video 732D in the content 732, but the advertisement copy 632C in the content 632 is different from the advertisement copy 732C in the content 732.
  • the advertisement copy 632C may be an advertisement copy related to the user's historical behavior generated based on the operation behavior of the user 1 on the advertisement copy 614A of advertisement a and the advertisement copy 622A of advertisement b.
  • the advertisement copy 632C includes the words “cleverly designed” in the advertisement copy 614A and “making you stand out from the crowd” in the advertisement copy 622A.
  • Advertisement copy 732C may be an advertisement copy related to the user's historical behavior generated based on the operation behavior of user 2 on advertisement copy 713A of advertisement d and advertisement copy 722A of advertisement e.
  • Advertisement copy 732C includes "comfortable and skin-friendly” in advertisement copy 713A and "allowing you to easily cope with various occasions" in advertisement copy 722A.
  • the present application may generate and recommend personalized advertisement copy based on the user's historical behavior, and the advertisement copy may meet the user's preference for the copy type/style (reflected by historical behavior), thereby increasing the probability of the user operating the advertisement copy to view detailed advertisement content and improving the efficiency of advertisement delivery.
  • the generation of advertising copy not only utilizes the user's historical behavior, but also utilizes the user's static features.
  • the static features of user 1 include: age 30, gender female, and user profile as a fashionista. Therefore, the advertising copy 632C displayed for user 1 includes the historical copy "cleverly designed to make you stand out from the crowd" instead of the historical copy "soft and comfortable to the touch".
  • the static features of user 2 include: age 50, gender female, and user profile as practical and cost-effective.
  • the advertising copy 732C displayed for user 2 includes the historical copy "comfortable and skin-friendly, allowing you to easily cope with various
  • the static features of the user include: age 30, gender female, and user profile as a fashionista.
  • the copy that the user has clicked on in the past includes: the advertising copy of "M brand watches”"M brand watches have new colors, why not take action?" and the advertising copy of "N brand bags”"New autumn bags, keep up with the trend, without losing personality.”
  • the advertising copy that is subsequently displayed to the user may include "new colors” and/or "keep up with the trend, without losing personality.”
  • the user interface 630 shown in (C) of FIG6 and the user interface 730 shown in (C) of FIG7 may both be obtained by searching for keyword 1 “practical sun hat”. It can be understood that, when different users have different historical behaviors, even if users search for the same keyword and are recommended advertisements for the same object, the displayed advertising copy may also be different (related to historical behavior).
  • FIG6 and FIG7 illustrate different historical behaviors of different users by taking them as examples.
  • FIG7 may not be executed by electronic device 200 but by electronic device 100.
  • User 1 may implement the process shown in FIG6 in period 1 and the process shown in FIG7 in period 2.
  • the historical behaviors (which may reflect the copywriting preference) of user 1 in different periods in the same scenario may be different, or the historical behaviors of user 1 in different scenarios may also be different.
  • the electronic device may obtain relevant advertising copywriting based on the historical behaviors to meet the user's preference for copywriting type/style in various scenarios.
  • Figure 8 is a flowchart of another method for generating advertising copy provided by the present application.
  • the method may include but is not limited to the following steps:
  • the network device 300 obtains a long-term interest model through training.
  • S201 is an optional step. In one embodiment, S201 is an offline operation, that is, it is performed before advertisement delivery/display.
  • the network device 300 can train a long-term interest model based on the static features and behavior data of multiple users, and abstract the user's preferences for copy type/style, etc. in a model-generated manner.
  • the specific training process can be seen in Figure 9 below and will not be described in detail for the time being.
  • S202 The electronic device 100 uploads the historical behavior data and static features of the first user to the network device 300.
  • the network device 300 obtains historical behavior data and static features of the first user.
  • the network device 300 may receive the historical behavior data and static features of the first user uploaded by the electronic device 100 and store these data. These data may be obtained through the ID of the corresponding first user.
  • the static characteristics of the user may include, but are not limited to, age, gender, city, type of electronic device used, user portrait, etc.
  • the user's behavior data/historical behavior data may include, but are not limited to, data on operations and browsing behaviors for advertisements and information related to advertisements, such as, but not limited to, clicks on advertisements, browses advertisements, closes advertisements, purchases corresponding goods/services through links in advertisements, downloads applications or other forms of software through links in advertisements, duration of browsing advertisements, types of operated/browsed advertisements, etc.
  • the types of operated/browsed advertisements are, for example, the types of advertisements preferred by the user recorded by the electronic device, such as information flow advertisements, opening screen advertisements, or interstitial advertisements.
  • S201 and S202-S203 are not limited.
  • S204 The electronic device 100 receives a first operation of a first user.
  • the electronic device 100 may receive a first operation, and in response to the first operation, obtain advertising content, and the first operation may be understood as a triggering operation for advertising delivery/display.
  • the electronic device 100 may receive a user operation for refreshing the homepage of a social media application, such as a sliding operation from top to bottom, and in response to the user operation (i.e., the first operation), display the advertising content 632 in the user interface 630 shown in (C) of FIG6 .
  • An example of the first operation may also be found in the description of S104 of FIG5 .
  • the electronic device 100 sends a second advertisement request (carrying the identifier of the first user) to the network device 300.
  • the second advertisement request may be used to request to obtain advertisement content.
  • the second advertisement request may carry the ID of the first user, and the ID of the first user may be used by the network device 300 to determine the corresponding static features and historical behavior data of the first user.
  • the network device 300 determines a second advertisement to be displayed, and obtains advertisement information.
  • the network device 300 may determine the second advertisement to be displayed from the maintained multiple advertisements according to a preset rule. In some examples, the network device 300 may pre-set the display order of multiple advertisements and determine the advertisement to be displayed according to the order. In other examples, examples of preset rules may also refer to the description of S107 of FIG. 5. The present application does not limit the specific content of the preset rules. In some examples, the network device 300 may obtain the advertisement information of the second advertisement according to the ID of the second advertisement. The advertisement information may include the text of the advertisement, as well as non-text content such as pictures, videos, and links. The text of the advertisement may include multiple sentences.
  • the network device 300 obtains historical behavior data and static features of the first user according to the identifier of the first user.
  • the network device 300 may determine the historical behavior data and static features of the first user from the historical behavior data and static features of at least one user stored according to the ID of the first user.
  • the order of S206 and S207 is not limited.
  • the network device 300 uses the long-term interest model to process the historical behavior data of the first user, the static features of the first user, and the advertisement information of the second advertisement to obtain a second copy of the second advertisement.
  • the network device 300 may use the historical behavior data of the first user, the static features of the first user, and the text in the advertising information of the second advertisement as inputs to the long-term interest model, and obtain the output: the second copy of the second advertisement.
  • the text in the advertising information may include at least one of the following: the advertisement name, theme, content summary, description, and advertising copy (which may be referred to as offline advertising copy) input by the advertiser, and the text obtained after crawling the landing page of the advertisement.
  • the network device 300 may modify/rewrite the offline advertising copy based on the historical behavior data and static features of the first user to obtain the second copy of the second advertisement.
  • the network device 300 sends the second text to the electronic device 100 .
  • S210 The electronic device 100 displays the second text.
  • the electronic device 100 may receive the advertisement text (ie, the second text) generated by the network device 300 based on the second advertisement request, and display the second text.
  • the advertisement text ie, the second text
  • FIG. 6 A specific example of the method shown in Figure 8 can be found in Figure 6, wherein the historical behavior data of the first user includes: the user's behavior of clicking on the advertising copy 614A in the user interface 610 shown in Figure 6 (A) and browsing the corresponding advertising content, and the user's behavior of clicking on the advertising copy 622A in the user interface 620 shown in Figure 6 (B) and browsing the corresponding advertising content.
  • the static characteristics of the first user include age 30, gender female, and user portrait of a fashion expert.
  • the advertising content of "Brand A Sun Hat" sent by the network device 300 and displayed on the electronic device 100 can be found in content 632 in the user interface 630 shown in Figure 6 (C), and the advertising copy 632C in the content 632 is the second copy.
  • FIG 7 A specific example of the method shown in Figure 8 can also be found in Figure 7, wherein the historical behavior data of the first user includes: the user's behavior of clicking on the advertising copy 713A in the user interface 710 shown in Figure 7 (A) and browsing the corresponding advertising content, and the user's behavior of clicking on the advertising copy 722A in the user interface 720 shown in Figure 7 (B) and browsing the corresponding advertising content.
  • the static characteristics of the first user include age of 50, gender of female, user portrait of practicality and cost-effectiveness.
  • the advertising content of "Brand A Sun Hat" sent by the network device 300 and displayed on the electronic device 100 can be found in content 732 in the user interface 730 shown in Figure 7 (C), and the advertising copy 732C in the content 732 is the second copy.
  • S204 - S210 are online operations, that is, operations performed when an advertisement is recommended to the user online after the user performs a trigger operation in real time.
  • the static features of the first user may not be obtained, and the network device 300 uses the long-term interest model to process the historical behavior data of the first user and the text in the advertising information of the second advertisement to obtain the advertising copy of the second advertisement, which does not include processing the static features of the first user.
  • the network device 300 can generate the second copy online based on the text in the advertising information of the second advertisement in combination with the static features and historical behavior data of the online user.
  • the above-mentioned static features and historical behavior data can reflect the online user's preference for the copy type/style, rather than simply classifying different users and recommending different advertising copies to users of different categories for the same advertisement (recommending the same advertising copy to users of the same category). Classification cannot reflect the different preferences of the same user at different time periods in the same scenario, nor can it reflect the different preferences of the same user in different scenarios.
  • the second copy obtained in the present application can meet the user's preference for the copy type/style in these cases, and can also meet the different preferences of different users in the same scenario or different scenarios, thereby improving the efficiency of advertising delivery and user experience.
  • Figure 9 is a flow chart of a model training process provided by the present application.
  • the method may be a specific implementation process of S201 shown in Figure 8.
  • the method may include but is not limited to the following steps:
  • S301 The network device 300 obtains static characteristics of the user.
  • the network device 300 can perform offline mining and cleaning on the data accumulated by the advertising platform to obtain static features of multiple users.
  • the static features may include but are not limited to age, gender, city, type of electronic device used, and user portrait (such as obtained through analysis by the advertising platform).
  • S302 The network device 300 obtains historical behavior data of the user.
  • the network device may mine the historical behavior data of the above-mentioned multiple users, for example, mining the historical behavior data within a preset time period (for example, 30 days).
  • S301 and S302 are not limited.
  • the model for generating advertising copy can be trained based on these data, that is, the following S303-S311 is executed.
  • these data can be used to construct copy generation signals and copy control signals.
  • the copy generation signal is a direct input that the generation result depends on, and the copy control signal is an indirect input model that affects the generation result.
  • the following S303-S304 can be used to construct the copy control signal, and the following 305 can be used to construct the copy generation signal.
  • S303-S311 takes the static characteristics and historical behavior data of a user (assuming it is user 3) as an example to illustrate the model.
  • Type training process takes the static characteristics and historical behavior data of a user (assuming it is user 3) as an example to illustrate the model.
  • the network device 300 constructs an advertisement copy sample (including a next hop sample and a corresponding historical sample) based on the user's historical behavior data.
  • the network device 300 can randomly extract an advertisement copy of an advertisement 3 operated by user 3 from the historical behavior data of user 3 as the next-hop sample, and set at least one advertisement copy operated by user 3 before operating the next-hop sample as the corresponding historical sample (one advertisement copy is one historical sample), which can be understood as constructing a data pair of ⁇ historical sample, next-hop sample> (i.e., an advertisement copy sample).
  • the network device 300 encodes the user's static features and the advertisement text sample to obtain a text control signal.
  • the network device 300 can encode the static features of user 3 and obtain the corresponding vector representation (e.g., an embedding matrix).
  • the network device 300 can also encode each sample of the advertising copy sample of user 3 (i.e., the advertising copy operated by user 3) (e.g., using Transformers Encoder for sequence encoding) and obtain the corresponding vector representation (e.g., an embedding sequence corresponding to multiple samples).
  • the network device 300 can fuse the vector representation of the static features and the vector representation of the advertising copy sample (e.g., through Cross Attention) to obtain a new vector expression (which can be called a copy control signal).
  • the copy control signal can be sent to the decoder (Decoder) as the output of the Encoder for processing, and the Decoder is used to execute S310.
  • S305 The network device 300 encodes the offline advertisement text and the first task mark to obtain a first generated signal.
  • the first task tag may indicate a text generation task
  • the offline advertising copy may include advertising copy of at least one advertisement generated offline (eg, advertisement 3 corresponding to the next hop sample).
  • advertisement 3 corresponding to the next hop sample.
  • the present application does not limit the specific method of generating advertising copy offline.
  • the network device 300 may use the Prompt paradigm to fuse the offline advertisement text and the first task tag, and then encode the fused content to obtain a first generated signal.
  • the network device 300 may also obtain a text generation signal other than the first generation signal, for example, executing S306-S307 to obtain a second generation signal, and/or executing S308-S309 to obtain a third generation signal.
  • the network device 300 sets the next hop sample as a positive sample, and obtains a corresponding negative sample.
  • S306 is an optional step.
  • the network device 300 may adopt an exposure sampling method, taking the next-hop sample operated by the user as a positive sample, and taking the advertisement copy that is exposed in the same time window as the next-hop sample but not operated by the user as a negative sample, so as to construct data for model training.
  • the network device 300 encodes the positive sample/negative sample and the second task label to obtain a second generated signal.
  • S307 is an optional step.
  • the second task tag indicates a predicted click task, that is, based on the historical record (i.e., historical sample) of the current operation advertisement copy, whether the user will click on the next jump sample.
  • the training target corresponding to the positive sample is a "positive sample” (characterized by the fact that the user will click on the positive sample based on the historical sample)
  • the training target corresponding to the negative sample is a "negative sample” (characterized by the fact that the user will not click on the negative sample based on the historical sample).
  • the network device 300 can encode the positive sample and the second task tag, and/or encode the negative sample and the second task tag, and obtain a second generated signal.
  • the network device 300 can use the Prompt paradigm to fuse the positive sample/negative sample and the second task tag, and then encode the fused content to obtain a second generated signal.
  • S308 The network device 300 performs random masking on the next hop sample.
  • S308 is an optional step.
  • the network device 300 can perform word-granular random masking on the advertisement text of the next-hop sample, such as using a special ⁇ MASK> symbol to replace some words/characters in the advertisement text, or adding a special ⁇ MASK> symbol to the advertisement text, and obtain the next-hop sample after random masking.
  • the network device 300 encodes the randomly masked next hop sample and the third task tag to obtain a third generated signal.
  • S309 is an optional step.
  • the third task mark indicates a text recovery task, that is, restoring/recovering the next hop sample after random masking.
  • the original text of the next hop sample is "AABAB”
  • the text of the next hop sample after random masking is "AA ⁇ MASK>AB”.
  • the training goal is to restore "AA ⁇ MASK>AB” to "AABAB", where A and B are both a result of text segmentation.
  • the network device 300 can use the Prompt paradigm to fuse the next hop sample after random masking and the third task mark, and then encode the fused content to obtain a third generated signal.
  • S310 The network device 300 decodes the input signal in a non-autoregressive manner and obtains a pre-trained model.
  • the input signal includes the text control signal obtained in S304 and the first generated signal obtained in S305, and optionally also includes the second generated signal obtained in S307, and optionally also includes the third generated signal obtained in S309.
  • the network device 300 can obtain the pre-trained model by using a non-autoregressive generation method based on the control generation, that is, the decoder uses a fully masked input (for example For example, each word/phrase is replaced by a ⁇ MASK> symbol) as a reserved slot, the goal of model training is to predict the words/phrases in these slots, and also to predict the special character ⁇ EOS>, which indicates the end position of the text generation.
  • the network device 300 can also adopt a Deep multi-layer supervised training method.
  • the Deep multi-layer supervised training method adds a supervisory signal to the output of each network layer for back-propagation, effectively improving the non-autoregressive generation accuracy.
  • the network device 300 performs fine-tuning training on the pre-trained model to obtain a long-term interest model.
  • the network device 300 can use the crowd-testing platform to manually verify the advertising copy samples, correct the copy content, and obtain model training data. Then, the network device 300 can fine-tune the pre-selected model according to the model training data.
  • Fine-tuning training is a general method in the field of natural language processing for adapting the pre-trained model to downstream tasks. Through fine-tuning, the capabilities of the original pre-trained model can be fully utilized, and the current model can be made more suitable for downstream tasks, thereby improving the reasoning accuracy of downstream tasks.
  • the long-term interest model obtained by fine-tuning training can be stored on the network device 300 side for online service call reasoning, such as implementing the method shown in Figure 8.
  • the input signal of S310 may be a second generation signal and a text control signal, and the pre-trained model obtained at this time may be used to implement the predicted click task indicated by the second task mark.
  • the input signal of S310 may be a third generation signal and a text control signal, and the pre-trained model obtained at this time may be used to implement the text recovery task indicated by the third task mark.
  • the offline advertisement text in S305 may also be replaced by other text in the advertisement information, such as the advertisement description input by the advertiser.
  • the user's static features may not be obtained as data for training the long-term interest model.
  • the network device 300 can combine the user's static features and the user's historical behavior data to abstractly extract the user's preferences at the copywriting level, that is, abstract the user's historical copywriting style preferences through the pre-trained model, and the long-term interest model obtained according to the pre-trained model can be used to rewrite/generate advertising copy that conforms to the user's historical copywriting style preferences.
  • the model training adopts a multi-layer supervision method to construct non-autoregressive generation, which not only improves the accuracy of the model, but also alleviates the pressure of online delay.
  • Scenario 3 User 1 first uses electronic device 100 to operate multiple advertising copies, and then searches for keyword 3.
  • Electronic device 100 can display advertising copies related to user 1’s static features, keyword 3, and the above multiple advertising copies. For specific examples, see Figure 10 below.
  • Figure 10 takes the advertising scenario of the product "Brand B mobile phone” as an example to illustrate. It is assumed that the advertising information of "Brand B mobile phone” includes “Brand B mobile phone, full screen, in-screen fingerprint support, multiple color schemes, 90Hz refresh rate, 1440Hz high-frequency dimming", and the offline advertising copy is "Brand B mobile phone, supports in-screen fingerprint, 90Hz refresh rate, 1440Hz high-frequency dimming", and the static features of user 1 include: age 30, gender is female, user portrait is a fashion expert, and keyword 3 is "high-performance full-screen mobile phone".
  • the electronic device 100 may display a user interface 1010 of a social media application, and the user interface 1010 may be a home page.
  • the user interface 1010 may include a search box 1011, a search control 1012, and multiple published contents (e.g., contents 1013 and 1014).
  • the search box 1011 may be used to input search keywords, and the search control 1012 may be used to trigger a search for published contents related to the search box 1011.
  • Content 1014 may be used to display the content of advertisement h, and may include advertisement copy 1014A (i.e., “M brand watches have new colors, why don’t you take action yet”).
  • the electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 1014, and in response to the user operation, display content related to advertisement h (e.g., a purchase page of a product corresponding to advertisement h, not shown in FIG. 10 ).
  • a user operation e.g., a touch operation, such as a click operation
  • display content related to advertisement h e.g., a purchase page of a product corresponding to advertisement h, not shown in FIG. 10 .
  • user 1 clicks on advertisement copy 1014A of advertisement h and the electronic device 100 displays the corresponding advertisement content.
  • the user interface 1020 of the social media application may include a search box 1011, a search control 1012, and multiple published contents (e.g., content 1021 and content 1022).
  • the user interface 1020 is similar to the user interface 1010, except that the displayed published contents are different.
  • Content 1022 may be used to display the content of advertisement i, and may include advertising copy 1022A (i.e., "New autumn bags, keep up with the trend, without losing individuality").
  • the electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 1022, and in response to the user operation, display content related to advertisement i (e.g., a purchase page of a product corresponding to advertisement i, not shown in FIG. 10 ).
  • a user operation e.g., a touch operation, such as a click operation
  • display content related to advertisement i e.g., a purchase page of a product corresponding to advertisement i, not shown in FIG. 10 .
  • user 1 clicks on the advertising copy 1022A of advertisement i and the electronic device 100 displays the corresponding advertising content.
  • the electronic device 100 can receive the keyword 3 "high-performance full-screen mobile phone" input by the user in the search box 1011, and then receive the user operation on the search control 1012 (for example, a touch operation, and the touch operation is, for example, a click operation).
  • the electronic device 100 can obtain and display the published content related to the keyword 3 (which may include advertising content). For specific examples, see the user interface 1040 shown in (C) of Figure 10.
  • the user interface 1040 of the social media application may include a search box 1011 and multiple published contents (e.g., content 1041 and content 1042).
  • the user interface 1040 is similar to the user interface 1010, except that the displayed published contents are different, and the search box 1011 in the user interface 1040 displays the currently searched keyword 3 "high-performance full-screen mobile phone".
  • Content 1041 may be "What is the full-screen mobile phone you are most looking forward to" published by user kkk.
  • Content 1042 may be used to display the content of advertisement j (i.e., the advertisement of the product "B-brand mobile phone"), and may include an advertising manufacturer 1042A (i.e., "manufacturer jjj"), an advertising instruction 1042B (i.e., “advertisement”), an advertising copy 1042C (i.e., "incredibly powerful performance, rich color matching without losing individuality, advanced in-screen fingerprint recognition, this is the B-brand full-screen mobile phone, just one glance will make you excited, take action quickly”) and an advertising video 1042D.
  • an advertising manufacturer 1042A i.e., "manufacturer jjjj
  • an advertising instruction 1042B i.e., "advertisement”
  • an advertising copy 1042C i.e., "incredibly powerful performance, rich color matching without losing individuality, advanced in-screen fingerprint recognition, this is the B-brand full-screen mobile phone, just one glance will make you excited, take action quickly”
  • the advertisement copy 1042C of "Brand B mobile phone" in the user interface 1040 shown in (C) of FIG10 may be an advertisement copy related to the keyword searched by the user and the user's historical behavior, generated according to the keyword 3 searched by the user 3, the user 3's operation behavior on the advertisement copy 1014A of advertisement h and the advertisement copy 1022A of advertisement i.
  • the advertisement copy 1042C includes: the copy fragments "incredibly powerful performance” and “full screen” related to the keyword 3 "high-performance full-screen mobile phone” searched by the user 3, and also includes: the copy fragments "rich color matching without losing personality” and "only one glance will make you excited, take action quickly” related to the static characteristics of the user 3, the advertisement copy 1014A of the user's historical operation, and the advertisement copy 1022A of the user's historical operation.
  • the copy snippets "Rich colors without losing personality” and "Just one glance will make you excited and take action quickly" can be obtained based on the results of long-term interest mining and long-term interest guidance.
  • the result of long-term interest mining can be the labels obtained by identifying the static characteristics of the user and the advertising copy of the user's historical operations: fashion, personality, trend, new style, and the result of long-term interest guidance can be the copy snippet "multiple colors" found from the advertising information based on the results of long-term interest mining.
  • this application can combine the user's historical behavior and the keywords searched by the user to generate/rewrite and recommend personalized advertising copy online, so that the style of the recommended advertising copy tends to the user's preference on the basis of explicitly meeting the user's current needs, thereby increasing the probability of the user operating the advertising copy to view the detailed advertising content and improving the efficiency of advertising delivery.
  • Figure 11 is a flowchart of another method for generating advertising copy provided by the present application.
  • the method may include but is not limited to the following steps:
  • S401 The network device 300 obtains corresponding short-term interests based on user behavior data collected offline.
  • S401 is an optional step.
  • S401 is an offline operation, that is, it is performed before the advertisement is delivered/displayed.
  • the user behavior data collected offline may include the user's search behavior (which may include search keywords), exposure behavior (for example, including advertisement text that is exposed but not clicked) and operation behavior/browsing behavior for advertisements and advertisement-related information in at least one advertisement delivery scenario.
  • the user behavior data in the delivery scenario of an advertisement (assuming it is advertisement 4) is used as an example for explanation.
  • the user behavior data collected offline may include at least one keyword. Based on any one of the keywords, the network device 300 can extract the copy fragment related to the keyword from the advertisement information of advertisement 4, that is, the short-term interest in advertisement 4. This process is similar to S106-S110 of Figure 5 and will not be repeated.
  • the network device 300 obtains corresponding long-term interest training data based on the user behavior data collected offline.
  • S402 is an optional step. In one embodiment, S402 is an offline operation, that is, it is performed before advertisement delivery/display.
  • the user behavior data collected offline in S402 is the same as the user behavior data collected offline in S401.
  • the network device 300 can simulate the process of online users requesting advertising content, and construct the user's static characteristics and historical behavior data in the delivery scenario of advertisement 4, that is, training data of long-term interests.
  • S401 and S402 are not limited.
  • the network device 300 trains and obtains a short- and long-term interest model based on the training data of the short-term interest and the long-term interest.
  • S403 is an optional step. In one embodiment, S403 is an offline operation, that is, it is performed before advertisement delivery/display.
  • the network device 300 can train the long-term and short-term interest models based on the training data of the short-term interest obtained in S401 and the long-term interest obtained in S402.
  • the specific training process is similar to the process shown in Figure 9, except that in S305, the short-term interest obtained in S401 will also be used.
  • the network device 300 can use the Prompt paradigm to fuse the short-term interest obtained in S401, the offline advertising copy of advertisement 4, and the first task marker, and then encode the fused content to obtain the corresponding copy generation signal.
  • S404 The electronic device 100 uploads the historical behavior data and static features of the first user to the network device 300.
  • the network device 300 obtains historical behavior data and static features of the first user.
  • S404-S405 are similar to S202-S203 in FIG. 8 , and please refer to the description of S202-S203 in FIG. 8 for details.
  • S406 The electronic device 100 obtains the second keyword input by the first user.
  • the electronic device 100 receives the second keyword and the corresponding search request input by the first user, and in response to the search request, obtains the second keyword, and obtains search results related to the second keyword, for example, executing S407 to obtain related advertisements.
  • the electronic device 100 can receive the keyword 3 "high-performance full-screen mobile phone" input by the user in the search box 1011 of the user interface 1030 shown in (C) of FIG10 , and then receives the user operation on the search control 1012 (which can be understood as receiving the search request), and in response to the user operation, obtains the keyword 3, and obtains the published content (including advertising content) related to the keyword 3.
  • the electronic device 100 sends a third advertisement request (carrying the second keyword and the ID of the first user) to the network device 300.
  • the third advertisement request may be used to request to obtain advertisement content.
  • the third advertisement request may carry the second keyword and the ID of the first user, the second keyword may be used to obtain advertisement content related to the second keyword, and the ID of the first user may be used by the network device 300 to determine the static features and historical behavior data of the corresponding first user.
  • the network device 300 determines a third advertisement to be displayed, and obtains advertisement information.
  • the network device 300 may use the second keyword to recall and sort from multiple advertisements to obtain a third advertisement related to the second keyword.
  • the network device 300 may obtain the advertisement information of the third advertisement according to the ID of the third advertisement.
  • the advertisement information may include the text of the advertisement, as well as non-text content such as pictures, videos, and links.
  • the text of the advertisement may include multiple sentences.
  • S409 The network device 300 obtains the first user's short-term interest in the third advertisement.
  • the network device 300 can extract text segments related to the second keyword from the advertising information of the third advertisement, that is, the first user's short-term interest in the third advertisement. This process is similar to S106-S110 of FIG. 5 and will not be described in detail.
  • S410 The network device 300 obtains historical behavior data and static features of the first user according to the ID of the first user.
  • S410 is similar to S207 in FIG. 8 , and details may refer to the description of S207 in FIG. 8 .
  • S410, S408 and S409 is not limited.
  • the network device 300 uses the long-term and short-term interest model to process the historical behavior data of the first user, the static characteristics of the first user, the short-term interests of the first user, and the advertisement information of the third advertisement to obtain a third copy of the third advertisement.
  • the network device 300 may use the historical behavior data of the first user, the static characteristics of the first user, the short-term interest of the first user in the second advertisement, and the text in the advertisement information of the third advertisement as inputs of the long-short interest model, and obtain the output: the third copy of the third advertisement.
  • the network device 300 may modify/rewrite the offline advertisement copy based on the historical behavior data of the first user, the static characteristics of the first user, and the short-term interest of the first user in the second advertisement to obtain the third copy of the third advertisement.
  • the network device 300 sends the third text to the electronic device 100 .
  • the electronic device 100 may receive the advertisement text (ie, the third text) generated by the network device 300 based on the third advertisement request, and display the third text.
  • the advertisement text ie, the third text
  • FIG. 10 A specific example of the method shown in Figure 11 can be found in Figure 10, wherein the second keyword is keyword 3 "high-performance full-screen mobile phone", and the historical behavior data of the first user includes: the user's behavior of clicking on the advertising copy 1014A in the user interface 1010 shown in Figure 10 (A) and browsing the corresponding advertising content, and the user's behavior of clicking on the advertising copy 1022A in the user interface 1020 shown in Figure 10 (B) and browsing the corresponding advertising content.
  • the static characteristics of the first user include age 30, gender female, and user portrait of a fashion expert.
  • the advertising content of "Brand B mobile phone" sent by the network device 300 and displayed on the electronic device 100 can be found in content 1042 in the user interface 1040 shown in Figure 10 (C), and the advertising copy 1042C in the content 1042 is the third copy.
  • S406-S413 are online operations, that is, operations performed when an advertisement is recommended to the user online after the user performs a trigger operation in real time.
  • the static features of the first user may not be obtained, and the network device 300 uses the long-term and short-term interest models to process the historical behavior data of the first user, the first user's short-term interest in the third advertisement, and the text in the advertising information of the second advertisement to obtain the advertising copy of the third advertisement, and does not include processing the static features of the first user.
  • the network device 300 can generate a third copy online based on the text in the advertising information of the third advertisement based on the keywords searched online by the user, the static features of the online user, and the historical behavior data.
  • the third advertisement can not only meet the current needs of the user (which can be reflected by keywords), but also meet the online user's preference for the copy type/style (which can be reflected by historical behavior data), effectively improving the probability of the user operating the advertising copy to view detailed advertising content, improving the efficiency and effectiveness of advertising delivery, and also improving the user experience.
  • Advertiser 1 can input configuration content for placing advertisement 1 on electronic device 400.
  • the electronic device 400 can upload the received configuration content to the network device 300, so that the network device 300 can implement the delivery of advertisement 1 according to the configuration content.
  • FIG. 12A is a schematic diagram showing an exemplary advertisement configuration interface.
  • the electronic device 400 may display a user interface 1210.
  • the user interface 1210 may be used by advertisers to set options such as advertisement name, advertisement theme, advertisement classification, advertisement label, advertisement content summary, advertisement uniform resource locator (URL) address, advertisement description, and online personalized copy. That is, the user interface 1210 is an advertisement configuration interface.
  • the advertisement classification option is shown in FIG. 12A , for example, including one or more of the options such as “news”, “technology”, “society”, “entertainment”, “education”, “finance”, “sports”, “real estate”, “game”, “business”, and “car”.
  • the advertisement label option is shown in FIG.
  • the advertisement URL address may be the address of the landing page of the advertisement, which may be used for crawlers to obtain advertisement information.
  • the advertisement description option may be used to input a text description of the advertisement.
  • the online personalized copy option may include an on option and an off option for the online personalized copy function.
  • the online personalized copy function is used to generate advertisement copy according to the keywords searched by the user and/or the user’s historical behavior data, and deliver the advertisement copy.
  • the advertiser can make the settings shown in Figure 12A on the advertisement configuration interface of the electronic device 100.
  • the advertiser can edit the following according to the actual situation of the product "Brand A sun hat”: advertisement name such as "Advertisement ID of Brand A sun hat", advertisement theme such as “Practical and trendy”, advertisement classification such as "Society”, advertisement content summary such as "Made of high-quality fabrics”, advertisement description such as "Super practical summer sun hat, made of high-quality fabrics, can effectively prevent ultraviolet invasion, and give you a refreshing summer.
  • the sun hat that must be chosen by trendsetters has novel styles and rich colors to show your handsomeness".
  • the advertiser can also set labels such as region (such as unlimited region), gender (such as unlimited gender), age (such as unlimited age), and the device used (such as unlimited device) on the advertisement configuration interface according to the main audience group and/or target delivery group of the product "Brand A sun hat”.
  • Advertisers can also edit the URL address of the advertising content on the advertising server, such as "https://ad_platform_server/ad/video1.mp4".
  • Advertisers can also operate the opening option of the online personalized copy option to turn on the online personalized copy function.
  • the network device 300 can obtain the advertising information of "Brand A Sun Hat” from multiple dimensions (such as advertisement name, advertisement theme, advertisement content summary, advertisement URL address, advertisement description) for advertising delivery.
  • the network device 300 will generate and recommend personalized "Brand A Sun Hat” advertising copy online based on the keywords searched by the user and/or the user's historical behavior data. The specific process can be seen in the advertising delivery method shown in Figures 5, 8, and 11.
  • the advertiser may not enable the online personalized copy function, for example, the advertiser operates the closing option of the online personalized copy option in the user interface 1210 shown in FIG12A, or the online personalized copy function is closed by default, and the advertiser does not operate the opening option of the online personalized copy option in the user interface 1210 shown in FIG12A.
  • the network device may recommend offline generated good advertisement copy for the main audience group and/or the target delivery group of the current advertisement, such as at least one sentence in the text such as the advertisement name, advertisement theme, advertisement category, advertisement content summary, advertisement content summary, advertisement description, etc. in the user interface 1210 shown in FIG12A.
  • the network device may also recommend non-text advertisement content, such as pictures, videos, links (such as advertisement URL addresses), etc. uploaded by the user based on the user interface 1210 shown in FIG12A.
  • FIG12B exemplarily shows a schematic diagram of another advertisement configuration interface.
  • the electronic device 400 may display a user interface 1220.
  • the user interface 1220 is similar to the user interface 1210 shown in FIG12A , except that the user interface 1220 may also be used by the advertiser to set the probability of online personalized copy delivery.
  • the advertiser may perform the settings shown in FIG12B on the advertisement configuration interface of the electronic device 100. After the advertiser turns on the online personalized copy function by clicking the “On” option of the online personalized copy option, the advertiser may also set the probability of online personalized copy delivery.
  • the probability may indicate the proportion of the number of personalized advertisements for “Brand A sun hat” delivered to the total number of advertisements for “Brand A sun hat” delivered.
  • the personalized advertisements are determined based on the keywords searched by the user and/or the user’s historical behavior data. According to the generated advertising copy, the value of the probability is (0%, 100%] (when the probability is 100%, the advertising copy representing the “Brand A Sun Hat” delivered is all personalized advertising copy), and the advertiser sets the probability to “30%”, for example.
  • the electronic device 400 uploads the configuration content shown in FIG.
  • the network device 300 can determine whether to deliver personalized advertising copy each time it recommends the advertising copy of “Brand A Sun Hat” to online users. According to the probability of online personalized copy delivery.
  • FIG 13 is a flowchart of an advertisement delivery method provided by the present application.
  • the method may include but is not limited to the following steps:
  • the network device 300 obtains configuration content for placing a fourth advertisement input by a first advertiser.
  • the electronic device of the first advertiser can send the configuration content to the network device 300, and the electronic device can provide an advertisement configuration interface for the first advertiser to place the fourth advertisement.
  • the network device 300 may receive the configuration content of the fourth advertisement delivered by the first advertiser, and the network device 300 may provide an advertisement configuration interface for the first advertiser to configure the fourth advertisement delivery. Examples of the advertisement configuration interface may be seen in FIG. 12A and FIG. 12B.
  • the configuration content for delivering the fourth advertisement may include first indication information of whether the online personalized copy function is turned on, and optionally, a delivery probability of the online personalized copy.
  • the delivery probability of the online personalized copy is obtained by the electronic device of the first advertiser according to a received user operation of the first advertiser, that is, manually input by the first advertiser.
  • the electronic device may use a preset probability as the delivery probability of the online personalized copy.
  • S502 When the fourth advertisement is delivered online, the network device 300 determines whether to generate personalized advertisement text according to the configuration content of the fourth advertisement.
  • the electronic device used by the user may send an advertisement request to the network device 300 to obtain the advertisement content. For specific examples, see S104-S105 of FIG. 5, S204-S205 of FIG. 8, and S406-S407 of FIG. 11.
  • the network device 300 may determine whether to generate personalized advertisement copy for the fourth advertisement according to the configuration content of the fourth advertisement. For examples of the network device 300 determining the advertisement to be displayed, see S107 of FIG. 5, S206 of FIG. 8, and S408 of FIG. 11.
  • the first indication information in the configuration content for placing the fourth advertisement indicates that the online personalized copy function has been turned on, and the configuration content includes the delivery probability of the online personalized copy.
  • the network device 300 can determine whether to generate personalized advertisement copy for the current fourth advertisement according to the delivery probability. If the result is yes, the network device 300 executes S503, and if the result is no, the network device 300 executes S504.
  • the configuration content for placing the fourth advertisement includes the first indication information indicating that the online personalized copy function has been turned on, but does not include the delivery probability of the online personalized copy. The network device 300 can use the preset probability as the delivery probability of the online personalized copy.
  • S503 The network device 300 obtains the personalized advertisement text of the fourth advertisement.
  • the network device 300 may generate personalized advertisement text for the fourth advertisement, for which specific examples may be found in S106-S111 of FIG. 5 , S206-S208 of FIG. 8 , and S408-S411 of FIG. 11 . Then, the network device 300 may send the advertisement text to the user's electronic device for display, for which specific examples may be found in S112-S113 of FIG. 5 , S209-S210 of FIG. 8 , and S412-S413 of FIG. 11 .
  • S504 The network device 300 obtains an offline advertisement text of the fourth advertisement.
  • the offline advertising copy of the fourth advertisement is generated in advance/offline.
  • the network device 300 can obtain the offline advertising copy of the fourth advertisement, for example, from a memory, and send the advertising copy to the user's electronic device for display.
  • the electronic device can display the text and/or non-text content such as pictures, videos, links, etc. uploaded by the advertiser in the advertising configuration interface shown in Figures 12A and 12B.
  • advertisers can set the configuration content of the advertisement delivery by themselves, can choose whether to turn on or off the online personalized copy function, and can set the delivery probability of the online personalized copy. Subsequently, they can confirm the improvement of the advertisement delivery efficiency by the online personalized copy function based on the real feedback from online users, confirm its effectiveness and practicality, and enhance the advertiser's experience.
  • all or part of them can be implemented by software, hardware, firmware or any combination thereof.
  • all or part of them can be implemented in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein.
  • the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)).
  • a magnetic medium e.g., a floppy disk, a hard disk, a magnetic tape
  • an optical medium e.g., a digital video disc (DWD)
  • SSD solid state drive

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided in the present application are an advertisement copy generation method, a network device and a computer storage medium. The method is applied to a network device, and comprises: acquiring first advertisement information of a first object, the first advertisement information comprising a first copy; acquiring a first advertisement request sent by a first device, and acquiring a first keyword and a second keyword from the first advertisement request; determining the first advertisement information according to the first keyword; determining a second copy according to the first keyword, the second keyword and the first copy; and sending to the first device first response information, the first response information comprising the second copy, and the first response information being used for instructing the first device to display the second copy. The present application can generate advertisement copies better satisfying the requirements and preferences of users, and recommend same to the users, thereby improving advertisement launching effects.

Description

广告文案生成方法、网络设备和计算机存储介质Advertisement copy generation method, network device and computer storage medium
本申请要求在2023年02月25日提交中国国家知识产权局、申请号为202310208054.6的中国专利申请的优先权,发明名称为“广告文案生成方法、网络设备和计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of China on February 25, 2023, with application number 202310208054.6, and the priority of the Chinese patent application with the invention name "Advertising copy generation method, network device and computer storage medium", all contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及计算机技术领域,尤其涉及广告文案生成方法、网络设备和计算机存储介质。The present application relates to the field of computer technology, and in particular to an advertising copy generation method, a network device and a computer storage medium.
背景技术Background Art
目前,广告主可以将本产品的广告文案上传至广告平台,以使广告平台进行该产品的广告投放。当手机等终端向广告平台发送广告请求时,广告平台可以返回广告主上传的广告文案,终端可以为用户展示该广告文案,但是这些广告文案是提前生成的,很可能不符合用户当前的需求和喜好,导致广告投放效果不好。Currently, advertisers can upload the advertising copy of their products to the advertising platform so that the advertising platform can place advertisements for the products. When a mobile phone or other terminal sends an advertisement request to the advertising platform, the advertising platform can return the advertising copy uploaded by the advertiser, and the terminal can display the advertising copy to the user. However, these advertising copies are generated in advance and may not meet the current needs and preferences of users, resulting in poor advertising results.
发明内容Summary of the invention
本申请公开了广告文案生成方法、网络设备和计算机存储介质,能够在线生成更加符合用户的需求和喜好的广告文案,并推荐给用户,从而提升广告投放效果。The present application discloses an advertising copy generation method, a network device and a computer storage medium, which can generate online advertising copy that better meets the needs and preferences of users and recommend it to users, thereby improving the effect of advertising delivery.
第一方面,本申请提供了一种广告文案生成方法,应用于网络设备,该方法包括:获取第一对象的第一广告信息,所述第一广告信息包括第一文案;获取第一设备发送的第一广告请求,从所述第一广告请求中获取第一关键词和第二关键词;根据所述第一关键词确定所述第一广告信息;根据所述第一关键词、所述第二关键词以及所述第一文案确定第二文案;向所述第一设备发送第一响应信息,所述第一响应信息包括所述第二文案,所述第一响应信息用于指示所述第一设备显示所述第二文案。In a first aspect, the present application provides an advertising copy generation method, which is applied to a network device, and the method includes: obtaining first advertising information of a first object, the first advertising information including a first copy; obtaining a first advertising request sent by a first device, and obtaining a first keyword and a second keyword from the first advertising request; determining the first advertising information based on the first keyword; determining a second copy based on the first keyword, the second keyword and the first copy; sending a first response message to the first device, the first response message including the second copy, and the first response message being used to instruct the first device to display the second copy.
在一些示例中,上述第一对象为实体的商品或者非实体的服务。In some examples, the first object is a physical product or a non-physical service.
在一些示例中,上述第一文案包括以下至少一项:上述第一对象的广告主输入的广告名称、主题、内容摘要、描述、广告文案,上述网络设备对上述第一对象的广告主输入的链接进行爬虫获得的文本。In some examples, the first copy includes at least one of the following: an advertisement name, theme, content summary, description, and advertisement copy input by an advertiser of the first object, and text obtained by crawling a link input by the advertiser of the first object by the network device.
在一些示例中,上述第一关键词和上述第二关键词是上述第一设备根据接收到的搜索请求获取到的。In some examples, the first keyword and the second keyword are acquired by the first device according to a received search request.
在一些示例中,上述第一关键词为上述第一对象所属的对象类别的名称,上述第二关键词为针对上述第一关键词的形容词。例如,上述第一对象为“A牌手机”,上述第一关键词为“手机”,上述第二关键词为“高性能”。In some examples, the first keyword is the name of the object category to which the first object belongs, and the second keyword is an adjective for the first keyword. For example, the first object is "Brand A mobile phone", the first keyword is "mobile phone", and the second keyword is "high performance".
在上述方法中,网络设备可以基于用户在线搜索的关键词和广告信息中的第一文案,在线生成第二文案,并将第二文案返回给第一设备显示,而不是直接将提前生成的第一文案返回给第一设备显示。相比第一文案,在线生成的第二文案能够很好地满足在线用户的当前需求(通过关键词体现),因此可以提升广告投放效率,也提升了用户体验感。In the above method, the network device can generate the second copy online based on the keyword searched online by the user and the first copy in the advertisement information, and return the second copy to the first device for display, instead of directly returning the first copy generated in advance to the first device for display. Compared with the first copy, the second copy generated online can well meet the current needs of online users (reflected by keywords), so it can improve the efficiency of advertising delivery and also improve the user experience.
在一种实施方式中,上述方法还包括:获取第一设备发送的第二广告请求,从所述第二广告请求中获取所述第一关键词和第三关键词;根据所述第一关键词确定所述第一广告信息;根据所述第一关键词、所述第三关键词以及所述第一文案确定第三文案;向所述第一设备发送第二响应信息,所述第二响应信息包括所述第三文案,所述第二响应信息用于指示所述第一设备显示所述第三文案。In one embodiment, the above method also includes: obtaining a second advertising request sent by the first device, obtaining the first keyword and the third keyword from the second advertising request; determining the first advertising information based on the first keyword; determining the third copy based on the first keyword, the third keyword and the first copy; sending a second response message to the first device, the second response message including the third copy, and the second response message being used to instruct the first device to display the third copy.
在上述方法中,第一设备的用户在不同时间/场景下搜索的关键词可以不同,网络设备会基于用户在线搜索的关键词生成广告文案,因此,网络设备接收到不同的关键词时,生成的同一个对象的文案可以不同,这样可以满足同一用户在不同搜索场景下的不同需求,有效提升广告投放效率。In the above method, the keywords searched by the user of the first device at different times/scenarios may be different, and the network device will generate advertising copy based on the keywords searched by the user online. Therefore, when the network device receives different keywords, the copy generated for the same object may be different. This can meet the different needs of the same user in different search scenarios and effectively improve the efficiency of advertising delivery.
在一种实施方式中,所述第一广告信息包括以下至少一项:所述第一对象的第一图片、第一视频、第一链接,所述第一响应信息还包括以下至少一项:所述第一图片、所述第一视频、所述第一链接。In one implementation, the first advertisement information includes at least one of the following: a first picture, a first video, and a first link of the first object, and the first response information also includes at least one of the following: the first picture, the first video, and the first link.
在上述方法中,第一对象的第一广告信息不仅包括第一文案,而且还包括图片、视频、链接等信息,网络设备可以向第一设备发送在线生成的第二文案,以及第一广告信息中的图片、视频、链接等非文本的内容,而不是在线生成非文本的内容,减少处理时间,进一步提高广告投放的效率。In the above method, the first advertising information of the first object includes not only the first copy but also pictures, videos, links and other information. The network device can send the second copy generated online and non-text content such as pictures, videos, links in the first advertising information to the first device instead of generating non-text content online, thereby reducing processing time and further improving the efficiency of advertising delivery.
在一种实施方式中,所述第二文案包括第一语句,所述第一文案包括所述第一语句,所述第一语句和所述第二关键词相关联。 In one implementation, the second text includes a first sentence, the first text includes the first sentence, and the first sentence is associated with the second keyword.
在上述方法中,网络设备可以直接提取出第一文案中和第二关键词相关联的第一语句来组成第二文案,不仅可以让得到的第二文案满足用户的当前需求,而且可以减少在线生成文案的时长,进一步提升广告投放的效率。In the above method, the network device can directly extract the first sentence associated with the second keyword in the first copy to form the second copy, which can not only make the obtained second copy meet the current needs of the user, but also reduce the time for generating copy online, and further improve the efficiency of advertising delivery.
在一种实施方式中,所述第二文案包括第二语句,所述第一文案不包括所述第二语句,所述第二语句和所述第二关键词相关联。In one implementation, the second copy includes a second sentence, the first copy does not include the second sentence, and the second sentence is associated with the second keyword.
在上述方法中,网络设备可以不局限于第一文案中的内容,自行生成和第二关键词相关联的第二语句来组成第二文案,让得到的第二文案可以很好地满足用户的当前需求,提升用户体验感。In the above method, the network device may not be limited to the content in the first copy, and may generate a second sentence associated with the second keyword to form a second copy, so that the obtained second copy can well meet the current needs of the user and improve the user experience.
在一种实施方式中,所述第一文案包括M个句子,所述根据所述第一关键词、所述第二关键词以及所述第一文案确定第二文案,包括:从所述M个句子中筛选出和所述第一关键词、所述第二关键词的相关程度排列在前N位的N个句子;根据所述N个句子确定所述第二文案,N为小于M的正整数,M为大于1的正整数。In one embodiment, the first copy includes M sentences, and determining the second copy based on the first keyword, the second keyword and the first copy includes: selecting N sentences ranked in the top N positions in terms of relevance to the first keyword and the second keyword from the M sentences; determining the second copy based on the N sentences, where N is a positive integer less than M, and M is a positive integer greater than 1.
在一种实施方式中,所述第一广告请求包括第一用户的标识;所述方法还包括:根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据;所述根据所述第一关键词、所述第二关键词以及所述第一文案确定第二文案,包括:根据所述第一关键词、所述第二关键词、所述第一文案,以及所述第一用户的特征信息和/或历史行为数据确定所述第二文案。In one embodiment, the first advertising request includes an identifier of a first user; the method further includes: obtaining characteristic information and/or historical behavior data of the first user based on the identifier of the first user; determining the second copy based on the first keyword, the second keyword and the first copy includes: determining the second copy based on the first keyword, the second keyword, the first copy, and characteristic information and/or historical behavior data of the first user.
在上述方法中,网络设备不仅可以根据第一用户在线搜索的关键词来确定第二文案,而且可以根据第一用户的特征信息和/或历史行为数据来确定第二文案,这样得到的第二文案不仅能满足第一用户的当前需求,而且符合第一用户对文案类型/风格的偏好(可通过特征信息和历史行为数据体现),让第一用户对第二文案更加感兴趣,进一步提升广告投放效率。In the above method, the network device can not only determine the second copy based on the keywords searched online by the first user, but also determine the second copy based on the characteristic information and/or historical behavior data of the first user. The second copy obtained in this way can not only meet the current needs of the first user, but also meet the first user's preference for the copy type/style (which can be reflected through characteristic information and historical behavior data), so that the first user will be more interested in the second copy, thereby further improving the efficiency of advertising delivery.
在一种实施方式中,所述获取第一设备发送的第一广告请求之前,所述方法还包括:获取与所述第一用户的标识相关的特征信息和/或历史行为数据。In one implementation, before obtaining the first advertisement request sent by the first device, the method further includes: obtaining feature information and/or historical behavior data related to the identifier of the first user.
在一些示例中,所述获取与所述第一用户的标识相关的特征信息和/或历史行为数据,包括:接收并存储上述第一设备发送的与所述第一用户的标识相关的特征信息和/或历史行为数据。In some examples, obtaining characteristic information and/or historical behavior data related to the identifier of the first user includes: receiving and storing characteristic information and/or historical behavior data related to the identifier of the first user sent by the first device.
在上述方法中,网络设备可以提前接收和存储第一用户的特征信息和/或历史行为数据,后续获取到第一设备发送的第一广告请求后,可以直接从存储器中获取第一用户的特征信息和/或历史行为数据,而不是向第一设备获取,减少在线生成文案时的数据交互,减少处理时间,进一步提升广告投放效率。In the above method, the network device can receive and store the characteristic information and/or historical behavior data of the first user in advance. After subsequently obtaining the first advertising request sent by the first device, the characteristic information and/or historical behavior data of the first user can be directly obtained from the memory instead of obtaining it from the first device, thereby reducing data interaction when generating copy online, reducing processing time, and further improving advertising delivery efficiency.
在一种实施方式中,所述第一用户的历史行为数据包括所述第一用户点击的第二对象的第四文案,所述第四文案包括第三语句,且所述第二文案包括所述第三语句。In one implementation, the historical behavior data of the first user includes a fourth copy of a second object clicked by the first user, the fourth copy includes a third sentence, and the second copy includes the third sentence.
在上述方法中,网络设备可以直接提取出第一用户点击过的第四文案中的第三语句来组成第二文案,不仅可以让得到的第二文案符合用户对文案风格的偏好,而且可以减少在线生成文案的时长,进一步提升广告投放的效率。In the above method, the network device can directly extract the third sentence in the fourth copy clicked by the first user to form the second copy, which can not only make the obtained second copy meet the user's preference for copy style, but also reduce the time for online copy generation, thereby further improving the efficiency of advertising delivery.
在一种实施方式中,所述第一用户的特征信息包括以下至少一项:年龄、性别、所在位置、电子设备的类型、用户画像,所述第一用户的历史行为数据包括以下至少一项:点击广告的行为、浏览广告的行为、关闭广告的行为、通过广告中的链接购买对应的对象的行为、通过广告中的链接下载应用程序的行为、浏览广告的时长。In one embodiment, the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device, and user portrait; the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing corresponding objects through links in advertisements, downloading applications through links in advertisements, and duration of browsing advertisements.
在上述方法中,可用于在线生成第二文案的历史行为数据和特征信息丰富多样,且均是能够体现用户对广告文案的类型/风格的偏好的数据,因此基于这些数据生成的第二文案可以很好地满足用户的需求,广告投放效率较高。In the above method, the historical behavior data and feature information that can be used to generate the second copy online are rich and varied, and are all data that can reflect the user's preference for the type/style of advertising copy. Therefore, the second copy generated based on these data can well meet the needs of users and has a high advertising delivery efficiency.
在一种实施方式中,所述第一广告信息包括第一指示信息,第一指示信息指示第一功能为开启状态或关闭状态;所述根据所述第一关键词确定所述第一广告信息,包括:判断所述第一指示信息是否指示所述第一功能为开启状态;当所述第一指示信息指示所述第一功能为开启状态时,根据所述第一关键词确定所述第一广告信息;所述方法还包括:当所述第一指示信息指示所述第一功能为关闭状态时,向所述第一设备发送第三响应信息,所述第三响应信息包括所述第一文案,所述第三响应信息用于指示所述第一设备显示所述第一文案。In one embodiment, the first advertising information includes first indication information, and the first indication information indicates that the first function is in an on state or a off state; determining the first advertising information based on the first keyword includes: judging whether the first indication information indicates that the first function is in an on state; when the first indication information indicates that the first function is in an on state, determining the first advertising information based on the first keyword; the method also includes: when the first indication information indicates that the first function is in an off state, sending a third response information to the first device, the third response information including the first text, and the third response information being used to instruct the first device to display the first text.
在一些示例中,上述第一对象的广告主可以通过上述网络设备提供的广告配置界面设置上述第一功能开启或关闭,上述第一功能例如称为在线个性化文案功能。In some examples, the advertiser of the first object may set the first function to be turned on or off through the advertisement configuration interface provided by the network device. The first function is, for example, called an online personalized copywriting function.
在上述方法中,广告主可以选择是否开启第一功能,第一功能开启的情况下,网络设备才会根据用户在线搜索的关键词在线生成第二文案,并返回给第一设备,第一功能关闭的情况下,网络设备会直接将第一广告信息中的第一文案返回给第一设备,广告主可灵活控制投放的广告文案,提升广告主的体验。 In the above method, the advertiser can choose whether to turn on the first function. When the first function is turned on, the network device will generate the second copy online based on the keywords searched by the user online and return it to the first device. When the first function is turned off, the network device will directly return the first copy in the first advertising information to the first device. The advertiser can flexibly control the advertising copy delivered to enhance the advertiser's experience.
第二方面,本申请提供了又一种广告文案生成方法,应用于网络设备,该方法包括:获取第一对象的第一广告信息,所述第一广告信息包括第一文案;获取第一设备发送的第一广告请求,所述第一广告请求包括第一用户的标识;根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据;根据所述第一文案、所述第一用户的特征信息和/或历史行为数据确定第二文案;向所述第一设备发送第一响应信息,所述第一响应信息包括所述第二文案,所述第一响应信息用于指示所述第一设备显示所述第二文案。In a second aspect, the present application provides another method for generating advertising copy, which is applied to a network device, and the method includes: obtaining first advertising information of a first object, the first advertising information including a first copy; obtaining a first advertising request sent by a first device, the first advertising request including an identifier of a first user; obtaining characteristic information and/or historical behavior data of the first user based on the identifier of the first user; determining a second copy based on the first copy, the characteristic information and/or historical behavior data of the first user; and sending a first response message to the first device, the first response message including the second copy, and the first response message being used to instruct the first device to display the second copy.
其中,上述第一对象、上述第一文案的示例可参见第一方面中第一对象和第一文案的示例,不再赘述。Among them, the examples of the above-mentioned first object and the above-mentioned first copy can refer to the examples of the first object and the first copy in the first aspect, and will not be repeated here.
在上述方法中,网络设备可以基于在线用户的特征信息和/或历史行为数据、广告信息中的第一文案,在线生成第二文案,并将第二文案返回给第一设备显示,而不是直接将提前生成的第一文案返回给第一设备显示。相比第一文案,在线生成的第二文案能够很好地体现在线用户对文案类型/风格的偏好,满足用户需求,因此可以提升广告投放效率,也提升了用户体验感。In the above method, the network device can generate the second copy online based on the online user's feature information and/or historical behavior data, and the first copy in the advertisement information, and return the second copy to the first device for display, rather than directly returning the first copy generated in advance to the first device for display. Compared with the first copy, the second copy generated online can well reflect the online user's preference for the copy type/style and meet the user's needs, thereby improving the efficiency of advertising delivery and the user experience.
在一种实施方式中,上述方法还包括:获取第二设备发送的第二广告请求,所述第二广告请求包括第二用户的标识;根据所述第二用户的标识获取所述第二用户的特征信息和/或历史行为数据;根据所述第一文案、所述第二用户的特征信息和/或历史行为数据确定第三文案;向所述第二设备发送第二响应信息,所述第二响应信息包括所述第三文案,所述第三响应信息用于指示所述第二设备显示所述第三文案。In one embodiment, the above method also includes: obtaining a second advertising request sent by a second device, the second advertising request including an identifier of a second user; obtaining characteristic information and/or historical behavior data of the second user based on the identifier of the second user; determining a third copy based on the first copy and the characteristic information and/or historical behavior data of the second user; and sending a second response message to the second device, the second response message including the third copy, and the third response message being used to instruct the second device to display the third copy.
在上述方法中,网络设备接收到不同设备的广告请求后,可以根据对应用户的特征信息和/或历史行为数据在线生成广告文案,因此,对于不同设备/不同用户的广告请求,网络设备生成的同一个对象的文案可以不同,这样可以满足不同用户的不同需求,有效提升广告投放效率。In the above method, after the network device receives advertising requests from different devices, it can generate advertising copy online based on the characteristic information and/or historical behavior data of the corresponding user. Therefore, for advertising requests from different devices/different users, the copy generated by the network device for the same object can be different, which can meet the different needs of different users and effectively improve the efficiency of advertising delivery.
在一种实施方式中,所述第一广告信息包括以下至少一项:所述第一对象的第一图片、第一视频、第一链接,所述第一响应信息还包括以下至少一项:所述第一图片、所述第一视频、所述第一链接。In one implementation, the first advertisement information includes at least one of the following: a first picture, a first video, and a first link of the first object, and the first response information also includes at least one of the following: the first picture, the first video, and the first link.
在上述方法中,第一对象的第一广告信息不仅包括第一文案,而且还包括图片、视频、链接等信息,网络设备可以向第一设备发送在线生成的第二文案,以及第一广告信息中的图片、视频、链接等非文本的内容,而不是在线生成非文本的内容,减少处理时间,进一步提高广告投放的效率。In the above method, the first advertising information of the first object includes not only the first copy but also pictures, videos, links and other information. The network device can send the second copy generated online and non-text content such as pictures, videos, links in the first advertising information to the first device instead of generating non-text content online, thereby reducing processing time and further improving the efficiency of advertising delivery.
在一种实施方式中,所述获取第一设备发送的第一广告请求之前,所述方法还包括:获取与所述第一用户的标识相关的特征信息和/或历史行为数据。In one implementation, before obtaining the first advertisement request sent by the first device, the method further includes: obtaining feature information and/or historical behavior data related to the identifier of the first user.
在一些示例中,所述获取与所述第一用户的标识相关的特征信息和/或历史行为数据,包括:接收并存储上述第一设备发送的与所述第一用户的标识相关的特征信息和/或历史行为数据。In some examples, obtaining characteristic information and/or historical behavior data related to the identifier of the first user includes: receiving and storing characteristic information and/or historical behavior data related to the identifier of the first user sent by the first device.
在上述方法中,网络设备可以提前接收和存储第一用户的特征信息和/或历史行为数据,后续获取到第一设备发送的第一广告请求后,可以直接从存储器中获取第一用户的特征信息和/或历史行为数据,而不是向第一设备获取,减少在线生成文案时的数据交互,减少处理时间,进一步提升广告投放效率。In the above method, the network device can receive and store the characteristic information and/or historical behavior data of the first user in advance. After subsequently obtaining the first advertising request sent by the first device, the characteristic information and/or historical behavior data of the first user can be directly obtained from the memory instead of obtaining it from the first device, thereby reducing data interaction when generating copy online, reducing processing time, and further improving advertising delivery efficiency.
在一种实施方式中,所述第一用户的历史行为数据包括所述第一用户点击的第二对象的第四文案,所述第四文案包括第一语句,且所述第二文案包括所述第一语句。In one implementation, the historical behavior data of the first user includes a fourth copy of a second object clicked by the first user, the fourth copy includes a first sentence, and the second copy includes the first sentence.
在上述方法中,网络设备可以直接提取出第一用户点击过的第四文案中的第一语句来组成第二文案,不仅可以让得到的第二文案符合用户对文案风格的偏好,而且可以减少在线生成文案的时长,进一步提升广告投放的效率。In the above method, the network device can directly extract the first sentence in the fourth copy clicked by the first user to form the second copy, which can not only make the obtained second copy meet the user's preference for copy style, but also reduce the time for online copy generation, thereby further improving the efficiency of advertising delivery.
在一种实施方式中,所述第一用户的特征信息包括以下至少一项:年龄、性别、所在位置、电子设备的类型、用户画像,所述第一用户的历史行为数据包括以下至少一项:点击广告的行为、浏览广告的行为、关闭广告的行为、通过广告中的链接购买对应的对象的行为、通过广告中的链接下载应用程序的行为、浏览广告的时长。In one embodiment, the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device, and user portrait; the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing corresponding objects through links in advertisements, downloading applications through links in advertisements, and duration of browsing advertisements.
在上述方法中,可用于在线生成第二文案的历史行为数据和特征信息丰富多样,且均是能够体现用户对广告文案的类型/风格的偏好的数据,因此基于这些数据生成的第二文案可以很好地满足用户的需求,广告投放效率较高。In the above method, the historical behavior data and feature information that can be used to generate the second copy online are rich and varied, and are all data that can reflect the user's preference for the type/style of advertising copy. Therefore, the second copy generated based on these data can well meet the needs of users and has a high advertising delivery efficiency.
在一种实施方式中,所述第一广告信息包括第一指示信息,第一指示信息指示第一功能为开启状态或关闭状态;所述根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据,包括:判断所述第一指示信息是否指示所述第一功能为开启状态;当所述第一指示信息指示所述第一功能为开启状态时,根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据;所述方法还包括:当所述第一指示信息指示所述第一功能为关闭状态时,向所述第一设备发送第三响应信息,所述第三响应信息包括所述第一文案,所述第三响应信息用于指示所述第一设备显示所述第一文案。In one embodiment, the first advertising information includes first indication information, and the first indication information indicates that the first function is in an on state or a off state; the obtaining of the characteristic information and/or historical behavior data of the first user based on the identifier of the first user includes: judging whether the first indication information indicates that the first function is in an on state; when the first indication information indicates that the first function is in an on state, obtaining the characteristic information and/or historical behavior data of the first user based on the identifier of the first user; the method also includes: when the first indication information indicates that the first function is in an off state, sending a third response information to the first device, the third response information including the first text, and the third response information being used to instruct the first device to display the first text.
在一些示例中,上述第一对象的广告主可以通过上述网络设备提供的广告配置界面设置上述第一功能 开启或关闭,上述第一功能例如称为在线个性化文案功能。In some examples, the advertiser of the first object can set the first function through the advertisement configuration interface provided by the network device. Turn on or off, the first function is called, for example, an online personalized copywriting function.
在上述方法中,广告主可以选择是否开启第一功能,第一功能开启的情况下,网络设备才会根据用户的特征信息和/或历史行为数据线生成第二文案,并返回给第一设备,第一功能关闭的情况下,网络设备会直接将第一广告信息中的第一文案返回给第一设备,广告主可灵活控制投放的广告文案,提升广告主的体验。In the above method, the advertiser can choose whether to turn on the first function. When the first function is turned on, the network device will generate the second copy based on the user's characteristic information and/or historical behavior data line and return it to the first device. When the first function is turned off, the network device will directly return the first copy in the first advertising information to the first device. The advertiser can flexibly control the advertising copy delivered to enhance the advertiser's experience.
第三方面,本申请提供了又一种广告文案生成方法,应用于电子设备,该方法包括:获取第一搜索请求,并根据所述第一搜索请求获取第一关键词和第二关键词;向网络设备发送第一广告请求,所述第一广告请求包括所述第一关键词和所述第二关键词;接收所述网络设备发送的第一响应信息,所述第一响应信息包括第一文案;显示所述第一文案;其中,所述第一文案是所述网络设备根据所述第一关键词、所述第二关键词以及第二文案确定的,所述第二文案是所述网络设备根据所述第一关键词确定的第一对象的第一广告信息中的文案。In a third aspect, the present application provides another method for generating advertising copy, which is applied to an electronic device, the method comprising: obtaining a first search request, and obtaining a first keyword and a second keyword based on the first search request; sending a first advertisement request to a network device, the first advertisement request including the first keyword and the second keyword; receiving a first response information sent by the network device, the first response information including a first copy; displaying the first copy; wherein the first copy is determined by the network device based on the first keyword, the second keyword and the second copy, and the second copy is the copy in the first advertisement information of the first object determined by the network device based on the first keyword.
在一种实施方式中,该方法还包括:获取第二搜索请求,并根据所述第二搜索请求获取所述第一关键词和第三关键词;向所述网络设备发送第二广告请求,所述第二广告请求包括所述第一关键词和所述第三关键词;接收所述网络设备发送的第二响应信息,所述第二响应信息包括第三文案;显示所述第三文案;其中,所述第三文案是所述网络设备根据所述第一关键词、所述第三关键词以及所述第二文案确定的。In one embodiment, the method also includes: obtaining a second search request, and obtaining the first keyword and the third keyword based on the second search request; sending a second advertising request to the network device, the second advertising request including the first keyword and the third keyword; receiving a second response message sent by the network device, the second response message including a third copy; displaying the third copy; wherein the third copy is determined by the network device based on the first keyword, the third keyword and the second copy.
在一种实施方式中,所述第一广告信息包括以下至少一项:所述第一对象的第一图片、第一视频、第一链接,所述第一响应信息包括以下至少一项:所述第一图片、所述第一视频、所述第一链接;所述显示所述第一文案,包括:显示所述第一文案,以及显示所述第一图片、所述第一视频、所述第一链接中至少一项。In one embodiment, the first advertising information includes at least one of the following: a first picture, a first video, and a first link of the first object, and the first response information includes at least one of the following: the first picture, the first video, and the first link; and displaying the first text includes: displaying the first text, and displaying at least one of the first picture, the first video, and the first link.
在一种实施方式中,所述第一文案包括第一语句,所述第二文案包括所述第一语句,所述第一语句和所述第二关键词相关联。In one implementation, the first copy includes a first sentence, the second copy includes the first sentence, and the first sentence is associated with the second keyword.
在一种实施方式中,所述第一文案包括第二语句,所述第二文案不包括所述第二语句,所述第二语句和所述第二关键词相关联。In one implementation, the first text includes a second sentence, the second text does not include the second sentence, and the second sentence is associated with the second keyword.
其中,第三方面和第三方面的实施方式的有益效果,与第一方面和第一方面的实施方式的有益效果类似,不再赘述。Among them, the beneficial effects of the third aspect and the implementation methods of the third aspect are similar to the beneficial effects of the first aspect and the implementation methods of the first aspect, and will not be repeated here.
第四方面,本申请提供了又一种广告文案生成方法,应用于电子设备,该方法包括:向网络设备发送第一广告请求,所述第一广告请求包括第一用户的标识,所述第一用户的标识用于所述网络设备获取所述第一用户的特征信息和/或历史行为数据;接收所述网络设备发送的第一响应信息,所述第一响应信息包括第一文案;显示所述第一文案;其中,所述第一文案是所述网络设备根据所述第一用户的特征信息和/或历史行为数据、第二文案确定的,所述第二文案是所述网络设备确定的第一对象的第一广告信息中的文案。In a fourth aspect, the present application provides another method for generating advertising copy, which is applied to an electronic device, the method comprising: sending a first advertising request to a network device, the first advertising request including an identifier of a first user, the identifier of the first user being used by the network device to obtain characteristic information and/or historical behavior data of the first user; receiving a first response message sent by the network device, the first response message including a first copy; displaying the first copy; wherein the first copy is determined by the network device based on the characteristic information and/or historical behavior data of the first user and a second copy, and the second copy is the copy in the first advertising information of the first object determined by the network device.
在一种实施方式中,所述第一广告信息包括以下至少一项:所述第一对象的第一图片、第一视频、第一链接,所述第一响应信息包括以下至少一项:所述第一图片、所述第一视频、所述第一链接;所述显示所述第一文案,包括:显示所述第一文案,以及显示所述第一图片、所述第一视频、所述第一链接中至少一项。In one embodiment, the first advertising information includes at least one of the following: a first picture, a first video, and a first link of the first object, and the first response information includes at least one of the following: the first picture, the first video, and the first link; and the displaying of the first text includes: displaying the first text, and displaying at least one of the first picture, the first video, and the first link.
在一种实施方式中,所述向网络设备发送第一广告请求之前,所述方法还包括:向所述网络设备发送与所述第一用户的标识相关的特征信息和/或历史行为数据。In one embodiment, before sending the first advertisement request to the network device, the method further includes: sending feature information and/or historical behavior data related to the identifier of the first user to the network device.
在一种实施方式中,所述第一用户的历史行为数据包括所述第一用户点击的第二对象的第四文案,所述第二文案包括所述第四文案中的第一语句。In one implementation, the historical behavior data of the first user includes a fourth text of a second object clicked by the first user, and the second text includes a first sentence in the fourth text.
在一种实施方式中,所述第一用户的特征信息包括以下至少一项:年龄、性别、所在位置、使用的电子设备的类型、用户画像,所述第一用户的历史行为数据包括以下至少一项:点击广告的行为、浏览广告的行为、关闭广告的行为、通过广告中的链接购买对应的对象的行为、通过广告中的链接下载应用程序的行为、浏览广告的时长、操作或浏览的广告的类型。In one embodiment, the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device used, and user portrait; the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing corresponding objects through links in advertisements, downloading applications through links in advertisements, duration of browsing advertisements, and types of advertisements operated or browsed.
其中,第四方面和第四方面的实施方式的有益效果,与第二方面和第二方面的实施方式的有益效果类似,不再赘述。Among them, the beneficial effects of the fourth aspect and the implementation methods of the fourth aspect are similar to the beneficial effects of the second aspect and the implementation methods of the second aspect, and will not be repeated here.
第五方面,本申请提供了一种网络设备,包括收发器、处理器和存储器;上述存储器用于存储计算机程序代码,上述计算机程序代码包括计算机指令,上述处理器调用上述计算机指令以使上述网络设备执行本申请第一方面、第二方面以及第一方面、第二方面的任意一种实现方式提供的广告文案生成方法。 In a fifth aspect, the present application provides a network device, including a transceiver, a processor and a memory; the above-mentioned memory is used to store computer program code, the above-mentioned computer program code includes computer instructions, and the above-mentioned processor calls the above-mentioned computer instructions to enable the above-mentioned network device to execute the advertising copy generation method provided by the first aspect, the second aspect and any one of the implementation methods of the first aspect and the second aspect of the present application.
第六方面,本申请提供了一种电子设备,包括收发器、处理器和存储器;上述存储器用于存储计算机程序代码,上述计算机程序代码包括计算机指令,上述处理器调用上述计算机指令以使上述电子设备执行本申请第三方面、第四方面以及第三方面、第四方面的任意一种实现方式提供的广告文案生成方法。In the sixth aspect, the present application provides an electronic device, including a transceiver, a processor and a memory; the above-mentioned memory is used to store computer program code, the above-mentioned computer program code includes computer instructions, and the above-mentioned processor calls the above-mentioned computer instructions to enable the above-mentioned electronic device to execute the advertising copy generation method provided by the third aspect, the fourth aspect and any one of the implementation methods of the third aspect and the fourth aspect of the present application.
第七方面,本申请提供了一种计算机存储介质,该计算机存储介质存储有计算机程序,该计算机程序包括程序指令,该程序指令被处理器执行时,用于执行本申请第一方面至第四方面,以及第一方面至第四方面的任意一种实现方式提供的广告文案生成方法。In the seventh aspect, the present application provides a computer storage medium, which stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, they are used to execute the advertising copy generation method provided by the first to fourth aspects of the present application, and any one of the implementation methods of the first to fourth aspects.
第八方面,本申请提供了一种计算机程序产品,当该计算机程序产品在电子设备上运行时,使得该电子设备执行本申请第一方面至第四方面,以及第一方面至第四方面的任意一种实现方式提供的广告文案生成方法。In an eighth aspect, the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the advertising copy generation method provided by any one of the first to fourth aspects of the present application and any implementation method of the first to fourth aspects.
第九方面,本申请提供一种电子设备,该电子设备包括执行本申请任一方面或实施方式所介绍的方法或装置。上述电子设备例如为芯片。In a ninth aspect, the present application provides an electronic device, the electronic device comprising a method or device for executing any aspect or implementation of the present application. The electronic device is, for example, a chip.
应当理解的是,本申请中对技术特征、技术方案、有益效果或类似语言的描述并不是暗示在任意的单个实施方式中可以实现所有的特点和优点。相反,可以理解的是对于特征或有益效果的描述意味着在至少一个实施方式中包括特定的技术特征、技术方案或有益效果。因此,本申请中对于技术特征、技术方案或有益效果的描述并不一定是指相同的实施方式。进而,还可以任何适当的方式组合本申请中所描述的技术特征、技术方案和有益效果。本领域技术人员将会理解,无需特定实施方式的一个或多个特定的技术特征、技术方案或有益效果即可实现本申请。在其他实施方式中,还可在没有体现所有实施方式的特定实施方式中识别出额外的技术特征和有益效果。It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this application does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in this application can also be combined in any appropriate manner. Those skilled in the art will understand that this application can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
以下对本申请用到的附图进行介绍。The following is an introduction to the drawings used in this application.
图1A是本申请提供的一种广告文案生成系统的架构示意图;FIG1A is a schematic diagram of the architecture of an advertising copy generation system provided by the present application;
图1B是本申请提供的又一种广告文案生成系统的架构示意图;FIG1B is a schematic diagram of the architecture of another advertising copy generation system provided by the present application;
图2A是本申请提供的一种电子设备的硬件结构示意图;FIG2A is a schematic diagram of the hardware structure of an electronic device provided by the present application;
图2B是本申请提供的一种电子设备的软件架构示意图;FIG2B is a schematic diagram of a software architecture of an electronic device provided by the present application;
图2C是本申请提供的一种网络设备的硬件结构示意图;FIG2C is a schematic diagram of the hardware structure of a network device provided by the present application;
图3是本申请提供的一种用户界面的示意图;FIG3 is a schematic diagram of a user interface provided by the present application;
图4是本申请提供的又一种用户界面的示意图;FIG4 is a schematic diagram of another user interface provided by the present application;
图5是本申请提供的一种广告文案生成方法的流程示意图;FIG5 is a flow chart of a method for generating advertisement copy provided by the present application;
图6是本申请提供的又一种用户界面的示意图;FIG6 is a schematic diagram of another user interface provided by the present application;
图7是本申请提供的又一种用户界面的示意图;FIG7 is a schematic diagram of another user interface provided by the present application;
图8是本申请提供的又一种广告文案生成方法的流程示意图;FIG8 is a flow chart of another method for generating advertisement copy provided by the present application;
图9是本申请提供的一种模型训练过程的流程示意图;FIG9 is a flow chart of a model training process provided by the present application;
图10是本申请提供的又一种用户界面的示意图;FIG10 is a schematic diagram of another user interface provided by the present application;
图11是本申请提供的又一种广告文案生成方法的流程示意图;FIG11 is a flow chart of another method for generating advertisement copy provided by the present application;
图12A是本申请提供的一种广告配置界面的示意图;FIG12A is a schematic diagram of an advertisement configuration interface provided by the present application;
图12B是本申请提供的又一种广告配置界面的示意图;FIG12B is a schematic diagram of another advertisement configuration interface provided by the present application;
图13是本申请提供的一种广告投放方法的流程示意图。FIG13 is a flow chart of an advertisement delivery method provided in the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合附图对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solution in the embodiment of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiment of the present application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiment of the present application, "multiple" means two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
目前的广告文案生成技术是离线进行文案生成,例如,广告平台从广告主提供的对于本广告的购买词 (如汽车)、标题(如X牌汽车,马上提车,获取所有车型保价)、描述(如X牌汽车,突破科技,启迪未来,享受美好出行生活)和落地页等信息中,提取和关键词相关的文字内容,并基于这些文字内容提前/离线生成当前广告的文案,然后将该文案投放至对应的平台,后续任意一个用户被推荐这条广告时,该用户使用的手机等终端会显示上述离线生成的文案。但这些文案很可能不符合用户的需求和喜好,例如,搜索广告场景下,用户会输入搜索的关键词,终端显示该关键词相关的搜索结果时,往往还会推荐一些相关产品的广告,此时可以显示基于上述广告文案生成技术离线生成的广告文案,但是,离线进行文案生成时,无法提前感知到在线用户的实时需求,像是用户搜索的关键词表征的用户需求就无法被感知,因此无法有侧重地在广告文案中体现用户当前的兴趣。又例如,用户在浏览不同广告的过程中,往往会选择点击一些感兴趣的广告文案,但是,离线进行文案生成时,无法提前确定具体的用户和用户的历史行为数据,因此无法结合历史行为数据表征的用户对不同文案类型的偏好来生成广告文案。这样会导致广告的投放效果不好,例如点击通过率(click-through-rate,CTR)较低,其中,CTR是广告的实际点击次数除以广告的展现量。The current advertising copywriting generation technology is to generate copywriting offline. For example, the advertising platform generates copywriting from the purchase words for the advertisement provided by the advertiser. The text content related to the keywords is extracted from the information such as the title (such as car), title (such as X brand car, pick up the car immediately, get the insurance price of all models), description (such as X brand car, breakthrough technology, enlighten the future, enjoy a wonderful travel life) and landing page, and the copy of the current advertisement is generated in advance/offline based on these text contents, and then the copy is delivered to the corresponding platform. When any user is recommended this advertisement later, the mobile phone or other terminal used by the user will display the above offline generated copy. However, these copies may not meet the needs and preferences of users. For example, in the search advertising scenario, users will enter the search keywords, and when the terminal displays the search results related to the keywords, it often recommends some related product advertisements. At this time, the advertising copy generated offline based on the above advertising copy generation technology can be displayed. However, when the copy is generated offline, the real-time needs of online users cannot be perceived in advance. For example, the user needs represented by the keywords searched by users cannot be perceived, so the current interests of users cannot be reflected in the advertising copy. For example, when users browse different ads, they often choose to click on some ads that they are interested in. However, when generating ads offline, it is impossible to determine the specific users and their historical behavior data in advance, so it is impossible to generate ads based on the user's preferences for different ad types represented by historical behavior data. This will lead to poor advertising results, such as a low click-through rate (CTR), where CTR is the actual number of clicks on an ad divided by the number of ad impressions.
本申请提供了一种广告文案生成方法,可以应用于广告投放/展示场景,广告平台的网络设备可以利用在线信息进行在线的文案生成,例如,在搜索广告场景下,可以基于第一用户搜索的关键词和第一用户的历史行为数据,在线、实时地生成广告文案,并将该广告文案下发至电子设备显示。一方面,该广告文案是基于用户在线搜索的关键词生成的,因此可以契合用户当前的兴趣,另一方面,该广告文案是基于用户的历史行为数据生成的,因此可以契合用户对文案类型的偏好。本申请生成的广告文案更加符合用户的需求和喜好,有效提升广告投放效率和效果,也提升了用户的体验感。The present application provides a method for generating advertising copy, which can be applied to advertising delivery/display scenarios. The network equipment of the advertising platform can use online information to generate online copy. For example, in a search advertising scenario, the advertising copy can be generated online and in real time based on the keywords searched by the first user and the historical behavior data of the first user, and the advertising copy is sent to the electronic device for display. On the one hand, the advertising copy is generated based on the keywords searched by the user online, so it can match the user's current interests. On the other hand, the advertising copy is generated based on the user's historical behavior data, so it can match the user's preference for the type of copy. The advertising copy generated by this application is more in line with the needs and preferences of users, effectively improving the efficiency and effectiveness of advertising delivery, and also improving the user experience.
本申请中的任意一个广告是用于宣传对应的对象,本申请中的对象可以是实体的商品/产品,也可以是非实体的服务等,本申请对此不作限定。Any advertisement in this application is used to promote the corresponding object. The object in this application can be a physical commodity/product or a non-physical service, etc. This application does not limit this.
本申请对电子设备显示广告文案的软件不作限定,例如但不限于为应用程序(application,APP)、小程序、原子化服务或者网页。为了方便说明,后续以应用程序为例进行说明。This application does not limit the software for displaying advertisements on electronic devices, such as but not limited to applications (APPs), mini-programs, atomic services, or web pages. For the convenience of explanation, the following description will take applications as an example.
请参见图1A,图1A示例性示出一种广告文案生成系统10的架构示意图。Please refer to FIG. 1A , which exemplarily shows a schematic diagram of the architecture of an advertisement copy generation system 10 .
如图1A所示,广告文案生成系统10可以包括电子设备100、电子设备200、网络设备300、电子设备400和电子设备500。其中:As shown in FIG. 1A , the advertisement copy generation system 10 may include an electronic device 100 , an electronic device 200 , a network device 300 , an electronic device 400 , and an electronic device 500 . Among them:
电子设备100/电子设备200可以和网络设备300通过有线和/或无线方式建立连接和进行通信。有线方式例如但不限于包括高清多媒体接口(high definition multimedia interface,HDMI)、通用串行总线(universal serial bus,USB)、网线(例如双绞线、同轴电缆或光纤)等,无线方式例如但不限于包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi))、卫星、蜂窝通信等。The electronic device 100/electronic device 200 can establish a connection and communicate with the network device 300 via wired and/or wireless means. Wired means include, but are not limited to, high definition multimedia interface (HDMI), universal serial bus (USB), network cable (such as twisted pair, coaxial cable or optical fiber), etc., and wireless means include, but are not limited to, wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi)), satellite, cellular communication, etc.
网络设备300可以用于维护多个对象的广告内容,例如但不限于包括广告形式、广告中出现的文案、链接、图片、视频以及声音等。多个广告主可以将需要投放的广告内容上传到网络设备300中,例如,广告1的广告主1可以在电子设备400中输入投放广告1的配置内容,具体示例可参见下图12A和图12B,电子设备400可以将投放广告1的配置内容发送至网络设备300,由网络设备300基于该配置内容实现广告1的投放。广告2的广告主2也可以通过电子设备500将投放广告2的配置内容发送至网络设备300,由网络设备300基于该配置内容实现广告2的投放。The network device 300 can be used to maintain the advertising content of multiple objects, such as but not limited to the advertising form, the text, links, pictures, videos and sounds that appear in the advertisement. Multiple advertisers can upload the advertising content to be delivered to the network device 300. For example, the advertiser 1 of advertisement 1 can input the configuration content of delivery of advertisement 1 in the electronic device 400. For specific examples, please refer to Figures 12A and 12B below. The electronic device 400 can send the configuration content of delivery of advertisement 1 to the network device 300, and the network device 300 can implement the delivery of advertisement 1 based on the configuration content. The advertiser 2 of advertisement 2 can also send the configuration content of delivery of advertisement 2 to the network device 300 through the electronic device 500, and the network device 300 can implement the delivery of advertisement 2 based on the configuration content.
电子设备100可以安装有一个或多个APP,用户1使用电子设备100中的APP的过程中,电子设备100可以向网络设备300获取广告文案(例如上述广告1或广告2的文案),并在APP的用户界面中显示获取到的广告文案。用户2也可以通过电子设备200中的APP浏览广告文案。The electronic device 100 may be installed with one or more APPs. When the user 1 uses the APP in the electronic device 100, the electronic device 100 may obtain advertisement copy (such as the copy of the advertisement 1 or advertisement 2 mentioned above) from the network device 300, and display the obtained advertisement copy in the user interface of the APP. The user 2 may also browse the advertisement copy through the APP in the electronic device 200.
在一种实施方式中,在第一广告投放场景下,电子设备100可以记录用户针对广告、和广告相关的信息的操作行为和/或浏览行为等行为,记录的数据可称为历史行为数据,后续电子设备100获取广告文案时,向网络设备300发送的广告请求可以携带上述历史行为数据。网络设备300接收到该广告请求后,可以基于该关键词生成广告文案,并将该广告文案返回给电子设备100显示。In one implementation, in the first advertising delivery scenario, the electronic device 100 may record the user's operation behavior and/or browsing behavior on the advertisement and information related to the advertisement, and the recorded data may be referred to as historical behavior data. When the electronic device 100 subsequently obtains the advertisement copy, the advertisement request sent to the network device 300 may carry the above historical behavior data. After receiving the advertisement request, the network device 300 may generate the advertisement copy based on the keyword and return the advertisement copy to the electronic device 100 for display.
在另一种实施方式中,在第一搜索广告场景下,电子设备100接收到用户输入的关键词后,不仅可以获取和该关键词相关的搜索结果,而且可以向网络设备300发送广告请求,以获取广告文案,该广告请求可以携带上述关键词。网络设备300接收到该广告请求后,可以基于该关键词生成广告文案,并将该广告文案返回给电子设备100。电子设备100显示和该关键词相关的搜索结果时,还可以显示该广告文案。In another embodiment, in the first search advertisement scenario, after the electronic device 100 receives the keyword input by the user, it can not only obtain the search results related to the keyword, but also send an advertisement request to the network device 300 to obtain the advertisement copy, and the advertisement request can carry the above-mentioned keyword. After receiving the advertisement request, the network device 300 can generate the advertisement copy based on the keyword and return the advertisement copy to the electronic device 100. When the electronic device 100 displays the search results related to the keyword, it can also display the advertisement copy.
在另一种实施方式中,在第二搜索广告场景下,电子设备100接收到用户输入的关键词后,可以向网络设备300发送广告请求,以获取广告文案,该广告请求可以携带上述关键词,以及用户输入关键词之前 的历史行为数据。网络设备300接收到该广告请求后,可以基于该关键词和该历史行为数据生成广告文案,并将该广告文案返回给电子设备100。电子设备100显示和该关键词相关的搜索结果时,还可以显示该广告文案。In another embodiment, in the second search advertisement scenario, after receiving the keyword input by the user, the electronic device 100 may send an advertisement request to the network device 300 to obtain the advertisement copy. The advertisement request may carry the above-mentioned keyword and the After receiving the advertisement request, the network device 300 may generate an advertisement text based on the keyword and the historical behavior data, and return the advertisement text to the electronic device 100. When the electronic device 100 displays search results related to the keyword, it may also display the advertisement text.
不限于图1A所示的架构,在另一种实施方式中,用户使用的电子设备可以更多或更少,广告主可以更多也可以更少,广告主使用的电子设备可以更多或更少,例如,任意一个广告主使用的电子设备可以即为网络设备300,网络设备300可以提供广告配置界面给广告主上传广告的配置内容,广告配置界面的示例可参见下图12A和图12B,本申请对系统中设备的形态和数量不作限定。Not limited to the architecture shown in FIG1A , in another embodiment, the number of electronic devices used by users may be more or less, the number of advertisers may be more or less, and the number of electronic devices used by advertisers may be more or less. For example, the electronic device used by any advertiser may be network device 300. Network device 300 may provide an advertisement configuration interface for advertisers to upload advertisement configuration content. Examples of the advertisement configuration interface may be found in FIGS. 12A and 12B below. This application does not limit the form and quantity of devices in the system.
请参见图1B,图1B示例性示出又一种广告文案生成系统10的架构示意图。图1B以上述第二搜索广告场景为例进行说明。Please refer to Fig. 1B, which exemplarily shows a schematic diagram of the architecture of another advertising copy generation system 10. Fig. 1B takes the above second search advertising scenario as an example for explanation.
如图1B所示,广告文案生成系统10可以包括电子设备100(使用者为用户1)、网络设备300和电子设备400(使用者为广告主1)。电子设备100可以包括输入模块101、广告获取模块102和输出模块103。网络设备300可以包括广告素材获取服务301、广告文案生成服务302、短期兴趣抽取服务303和长短兴趣融合服务304。其中:As shown in FIG1B , the advertisement copy generation system 10 may include an electronic device 100 (user is user 1), a network device 300 and an electronic device 400 (user is advertiser 1). The electronic device 100 may include an input module 101, an advertisement acquisition module 102 and an output module 103. The network device 300 may include an advertisement material acquisition service 301, an advertisement copy generation service 302, a short-term interest extraction service 303 and a long-short interest fusion service 304. Among them:
电子设备400可以用于接收广告主1的输入,并基于该输入获取到投放广告1的配置内容,然后可以向网络设备300的广告素材获取服务301发送该配置内容。广告素材获取服务301接收到投放广告1的配置内容后,可以基于该配置内容获取广告1的信息,其中,广告的信息(可简称为广告信息)例如但不限于包括:广告的对象(例如商品或服务),广告主输入的广告名称、主题、内容摘要、描述(例如商品广告的功能描述或服务广告的服务内容描述)、广告文案等文本,广告主上传的图片、视频、链接(也可称为落地页)等非文本内容,对广告的落地页进行爬虫后获得的文本、图片、视频、链接等信息。广告素材获取服务301获取的广告信息可以提供至广告文案生成服务302。上述说明可以理解为是广告主1开启广告1的投放服务,广告主1开启广告1的投放服务后,网络设备300可以将广告1的内容(包括广告文案,可选地以及图片、视频、链接等非文本的内容)下发至任意一个电子设备显示。The electronic device 400 can be used to receive the input of the advertiser 1, and obtain the configuration content of the advertisement 1 based on the input, and then send the configuration content to the advertising material acquisition service 301 of the network device 300. After receiving the configuration content of the advertisement 1, the advertising material acquisition service 301 can obtain the information of the advertisement 1 based on the configuration content, wherein the information of the advertisement (which can be referred to as the advertisement information) includes, for example but not limited to: the object of the advertisement (such as goods or services), the advertisement name, theme, content summary, description (such as the function description of the product advertisement or the service content description of the service advertisement), advertisement copy and other texts entered by the advertiser, non-text content such as pictures, videos, links (also called landing pages) uploaded by the advertiser, and text, pictures, videos, links and other information obtained after crawling the advertisement landing page. The advertisement information obtained by the advertising material acquisition service 301 can be provided to the advertisement copy generation service 302. The above description can be understood as advertiser 1 turning on the advertisement 1 delivery service. After advertiser 1 turns on the advertisement 1 delivery service, network device 300 can send the content of advertisement 1 (including advertising copy, and optionally non-text content such as pictures, videos, links, etc.) to any electronic device for display.
接下来示例性说明网络设备300将广告1的内容下发至电子设备100显示的过程。Next, the process of the network device 300 sending the content of the advertisement 1 to the electronic device 100 for display is exemplified.
电子设备100的输入模块101可以用于接收用户1的输入,输入模块101接收到用户1输入的关键词后,可以将该关键词发送至广告获取模块102。广告获取模块102可以用于向网络设备300发送广告请求,以获取广告文案,该广告请求可以携带用户1输入的关键词和用户1的身份标识(identity document,ID)。The input module 101 of the electronic device 100 can be used to receive input from the user 1. After receiving the keyword input by the user 1, the input module 101 can send the keyword to the advertisement acquisition module 102. The advertisement acquisition module 102 can be used to send an advertisement request to the network device 300 to obtain an advertisement copy. The advertisement request can carry the keyword input by the user 1 and the identity document (ID) of the user 1.
网络设备300的广告文案生成服务302接收到广告请求后,可以确定当前要投放的对象(例如商品或服务)的广告(假设为广告1),并向广告素材获取服务301获取广告1的信息。然后,广告文案生成服务302可以向短期兴趣抽取服务303发送关键词和广告1的信息,并且,可以向长短兴趣融合服务304发送用户1的ID和广告1的信息。After receiving the advertisement request, the advertisement copy generation service 302 of the network device 300 can determine the advertisement (assuming it is advertisement 1) of the object (such as a product or service) to be currently delivered, and obtain the information of advertisement 1 from the advertisement material acquisition service 301. Then, the advertisement copy generation service 302 can send keywords and the information of advertisement 1 to the short-term interest extraction service 303, and can send the ID of user 1 and the information of advertisement 1 to the long-term and short-term interest fusion service 304.
网络设备300的短期兴趣抽取服务303接收到用户1搜索的关键词和广告1的信息后,可以从广告1的信息(包括文字描述)中实时、在线地抽取和关键词相关的文字描述/文案片段(可称为短期兴趣),并将短期兴趣发送至长短兴趣融合服务304,用于广告文案的生成。After the short-term interest extraction service 303 of the network device 300 receives the keywords searched by user 1 and the information of advertisement 1, it can extract text descriptions/copy fragments (which may be called short-term interests) related to the keywords from the information of advertisement 1 (including text descriptions) in real time and online, and send the short-term interests to the long- and short-term interest fusion service 304 for the generation of advertising copy.
网络设备300的长短兴趣融合服务304接收到用户1的ID后,可以根据用户1的ID获取用户1的静态特征(也可称为特征信息)和历史行为数据,静态特征例如但不限于包括年龄、性别、所在城市、使用的电子设备100的设备类型、用户画像等。用户1的静态特征和历史行为数据可以是电子设备100在接收到上述用户1的输入之前向网络设备300发送的。长短兴趣融合服务304可以基于获取到的用户1的静态特征、获取到的用户1的历史行为数据、短期兴趣抽取服务303发送的短期兴趣、广告文案生成服务302发送的广告1的信息,实时在线地生成广告1的文案,并将广告1的文案发送至广告文案生成服务302。After receiving the ID of user 1, the long-short interest fusion service 304 of the network device 300 can obtain the static features (also referred to as feature information) and historical behavior data of user 1 according to the ID of user 1. The static features include, but are not limited to, age, gender, city, device type of electronic device 100 used, user portrait, etc. The static features and historical behavior data of user 1 can be sent by the electronic device 100 to the network device 300 before receiving the input of user 1. The long-short interest fusion service 304 can generate the copy of advertisement 1 in real time online based on the acquired static features of user 1, the acquired historical behavior data of user 1, the short-term interests sent by the short-term interest extraction service 303, and the information of advertisement 1 sent by the advertisement copy generation service 302, and send the copy of advertisement 1 to the advertisement copy generation service 302.
网络设备300的广告文案生成服务302接收到广告1的文案后,可以将广告1的文案发送至电子设备100的广告获取模块102,广告获取模块102再将广告1的文案发送至输出模块103显示。After receiving the copy of Advertisement 1, the advertisement copy generation service 302 of the network device 300 may send the copy of Advertisement 1 to the advertisement acquisition module 102 of the electronic device 100, and the advertisement acquisition module 102 then sends the copy of Advertisement 1 to the output module 103 for display.
不限于图1B所示的架构,在另一种实施方式中,网络设备300也可以不包括长短兴趣融合服务304,例如在图1A所述的第一搜索广告场景下,短期兴趣抽取服务303可以将短期兴趣发送至广告文案生成服务302,广告文案生成服务302可以基于短期兴趣生成广告1的文案,并将该文案返回给电子设备100显示。在另一种实施方式中,网络设备300也可以不包括短期兴趣抽取服务303,例如在图1A所述的第一广告投放场景下,用户1可以未输入关键词,长短兴趣融合服务304可以根据用户1的静态特征、用户1的历史行为数据和广告1的信息,生成广告1的文案,广告文案的生成不涉及用户输入的关键词和基于关键词得到的短期兴趣。广告文案生成系统10中的设备可以包括更多或更少的模块,例如一个模块可以包 括多个子模块,又例如多个模块可以偶合在一起,本申请对此不作限定。Not limited to the architecture shown in FIG. 1B , in another embodiment, the network device 300 may also not include the long-short interest fusion service 304. For example, in the first search advertising scenario described in FIG. 1A , the short-term interest extraction service 303 may send the short-term interest to the advertising copy generation service 302. The advertising copy generation service 302 may generate the copy of advertisement 1 based on the short-term interest, and return the copy to the electronic device 100 for display. In another embodiment, the network device 300 may also not include the short-term interest extraction service 303. For example, in the first advertising delivery scenario described in FIG. 1A , user 1 may not input keywords. The long-short interest fusion service 304 may generate the copy of advertisement 1 based on the static characteristics of user 1, the historical behavior data of user 1, and the information of advertisement 1. The generation of the advertising copy does not involve the keywords input by the user and the short-term interests obtained based on the keywords. The device in the advertising copy generation system 10 may include more or fewer modules. For example, a module may include The present application does not limit this, and the present application does not limit this, but includes multiple sub-modules. For example, multiple modules can be coupled together.
本申请中的电子设备可以是手机、平板电脑、手持计算机、桌面型计算机、膝上型计算机、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、蜂窝电话、个人数字助理(personal digital assistant,PDA),以及智能电视、智能摄像头等智能家居设备,智能手环、智能手表、智能眼镜等可穿戴设备,增强现实(augmented reality,AR)、虚拟现实(virtual reality,VR)、混合现实(mixed reality,MR)等扩展现实(extended reality,XR)设备,车载设备或智慧城市设备,本申请实施例对电子设备的具体类型不作特殊限制。The electronic device in the present application can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart TVs and smart cameras, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), vehicle-mounted devices or smart city devices. The embodiments of the present application do not impose any special restrictions on the specific types of electronic devices.
接下来示例性介绍本申请中的电子设备。Next, the electronic device in this application is introduced as an example.
图2A示例性示出一种电子设备100的硬件结构示意图。FIG. 2A exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .
如图2A所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。As shown in Figure 2A, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
处理器110中还可以设置存储器,用于存储指令和数据。在一种实施方式中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may also be provided with a memory for storing instructions and data. In one embodiment, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
在一种实施方式中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In one embodiment, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施方式中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施方式中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备100供电。The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging implementations, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging implementations, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另一种实施方式中,天线可以和调谐开关结合使用。 Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In another embodiment, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G/6G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一种实施方式中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一种实施方式中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide solutions for wireless communications including 2G/3G/4G/5G/6G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一种实施方式中,调制解调处理器可以是独立的器件。在另一种实施方式中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In one embodiment, the modem processor may be an independent device. In another embodiment, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify the signal, and convert it into electromagnetic waves for radiation through the antenna 2.
在一种实施方式中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In one embodiment, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and/or a satellite based augmentation system (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一种实施方式中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In one embodiment, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度等进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一种实施方式中,ISP可以设置在摄像头193中。ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, etc. of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In one embodiment, ISP can be set in camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一种实施方式中,电子设备100可以包括1个或N个摄像头193,N为大于1 的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In one embodiment, the electronic device 100 may include 1 or N cameras 193, where N is greater than 1. A positive integer.
数字信号处理器用于处理数字信号。视频编解码器用于对数字视频压缩或解压缩。Digital signal processors are used to process digital signals. Video codecs are used to compress or decompress digital videos.
NPU为神经网络(neural-network,NN)计算处理器,通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor, through which the intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by approaching the microphone 170C with his mouth to input the sound signal into the microphone 170C.
耳机接口170D用于连接有线耳机。The earphone jack 170D is used to connect a wired earphone.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一种实施方式中,压力传感器180A可以设置于显示屏194。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一种实施方式中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In one embodiment, the pressure sensor 180A can be set on the display screen 194. When a touch operation is applied to the display screen 194, the electronic device 100 detects the touch operation strength according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In one embodiment, touch operations acting on the same touch position but with different touch operation strengths can correspond to different operation instructions. For example: when a touch operation with a touch operation strength less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation strength greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。气压传感器180C用于测量气压。磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。距离传感器180F,用于测量距离。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。环境光传感器180L用于感知环境光亮度。指纹传感器180H用于采集指纹。温度传感器180J用于检测温度。The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The air pressure sensor 180C is used to measure the air pressure. The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense the brightness of the ambient light. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一种实施方式中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In another embodiment, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。马达191可以产生振动提示。指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。The bone conduction sensor 180M can obtain vibration signals. The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。例如,分层架构的软件系统可以是安卓(Android)系统,也可以是鸿蒙(harmony)操作系统(operating system,OS),或其它软件系统。本申请实施例以分层架构的Android系统为例说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system of the layered architecture may be an Android system, or a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software structure of the electronic device 100.
图2B示例性示出一种电子设备100的软件架构示意图。 FIG. 2B exemplarily shows a schematic diagram of a software architecture of an electronic device 100 .
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一种实施方式中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In one embodiment, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图2B所示,应用程序包可以包括搜索引擎、浏览器、购物应用、社交媒体应用、应用市场、视频、音乐等。本申请中的应用程序也可以替换为小程序、原子化服务等其他软件。上述示例的任意一个应用程序可以用于展示基于本申请的广告文案生成方法在线生成的广告文案。As shown in FIG2B , the application package may include a search engine, a browser, a shopping application, a social media application, an application market, a video, music, etc. The application in the present application may also be replaced by other software such as a mini-program, an atomization service, etc. Any of the above-mentioned examples of application may be used to display the advertising copy generated online based on the advertising copy generation method of the present application.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
如图2B所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in FIG. 2B , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备100振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, the electronic device 100 vibrates, an indicator light flashes, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。A 2D graphics engine is a drawing engine for 2D drawings.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
下面结合捕获拍照场景,示例性说明电子设备100软件以及硬件的工作流程。The following is an illustrative description of the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为相机应用图标的控件为例,相机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像头193捕获静态图像或视频。When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture static images or videos through the camera 193.
接下来示例性介绍本申请中的网络设备300。Next, the network device 300 in the present application is introduced as an example.
图2C示例性示出了一种网络设备300的硬件结构示意图。FIG. 2C exemplarily shows a schematic diagram of the hardware structure of a network device 300 .
如图2C所示,网络设备300可以包括一个或多个处理器310、通信接口320、存储器330,其中,处理器310、通信接口320、存储器330可通过总线或者其它方式连接,图2C以通过总线340连接为例。其 中:处理器310可以由一个或者多个通用处理器构成,例如CPU。处理器310可用于运行广告文案生成方法相关的程序代码。通信接口320可以为有线接口(例如以太网接口)或无线接口(例如蜂窝网络接口或使用无线局域网接口),用于与其他节点进行通信,例如和电子设备100、电子设备200进行通信。存储器330可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);存储器也可以包括非易失性存储器(non-vlatile memory),例如只读存储器(read-only memory,ROM)、快闪存储器(flash memory)、硬盘驱动器(hard disk drive,HDD)或固态硬盘(solid state disk,SSD)。存储器330还可以包括上述种类的存储器的组合。存储器330可用于存储一组程序代码,以便于处理器310调用存储器330中存储的程序代码以实现本申请实施例中在网络设备300侧实现的方法。在本申请实施例中,存储器330还可以是存储阵列,等等。As shown in FIG2C , the network device 300 may include one or more processors 310, a communication interface 320, and a memory 330, wherein the processor 310, the communication interface 320, and the memory 330 may be connected via a bus or other means, and FIG2C takes the connection via a bus 340 as an example. In: The processor 310 may be composed of one or more general-purpose processors, such as a CPU. The processor 310 may be used to run program codes related to the advertising copy generation method. The communication interface 320 may be a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface), which is used to communicate with other nodes, such as communicating with the electronic device 100 and the electronic device 200. The memory 330 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); the memory may also include a non-volatile memory (non-vlatile memory), such as a read-only memory (read-only memory, ROM), a flash memory (flash memory), a hard disk drive (hard disk drive, HDD) or a solid state disk (solid state disk, SSD). The memory 330 may also include a combination of the above-mentioned types of memory. The memory 330 may be used to store a set of program codes so that the processor 310 calls the program codes stored in the memory 330 to implement the method implemented on the network device 300 side in the embodiment of the present application. In the embodiment of the present application, the memory 330 may also be a storage array, and so on.
在一种实施方式中,网络设备300可以包括至少一个服务器,例如网络设备300是多个服务器组成的服务器集群。其中,任意一个服务器可以为硬件服务器,也可以为云服务器,例如,网页服务器、后台服务器、应用服务器、下载服务器等。任意一个服务器的硬件结构都可参照图2C所示的网络设备300的硬件结构。In one embodiment, the network device 300 may include at least one server, for example, the network device 300 is a server cluster composed of multiple servers. Any server may be a hardware server or a cloud server, for example, a web server, a backend server, an application server, a download server, etc. The hardware structure of any server may refer to the hardware structure of the network device 300 shown in FIG. 2C .
图2C所示的网络设备300是本申请实施例示例的一种实现方式,在实际应用中,网络设备300还可以包括更多或更少的部件,本申请对此不作限定。The network device 300 shown in FIG. 2C is an implementation example of an embodiment of the present application. In actual applications, the network device 300 may also include more or fewer components, and the present application does not limit this.
下面介绍本申请实施例涉及的应用场景、应用场景下的用户界面示例,以及可实现应用场景的广告文案生成方法。该方法可以应用于图1A所示的广告文案生成系统10,也可以应用于图1B所示的广告文案生成系统10。The following describes the application scenarios involved in the embodiments of the present application, user interface examples in the application scenarios, and an advertising copy generation method that can implement the application scenarios. The method can be applied to the advertising copy generation system 10 shown in FIG1A , and can also be applied to the advertising copy generation system 10 shown in FIG1B .
场景1:用户1使用电子设备100分别搜索关键词1和关键词2时,电子设备100显示的同一个对象的广告文案不同,具体示例可参见下图3和图4。Scenario 1: When user 1 uses electronic device 100 to search for keyword 1 and keyword 2 respectively, electronic device 100 displays different advertisements for the same object. For specific examples, see FIGS. 3 and 4 below.
图3和图4以商品“A牌遮阳帽”的广告投放场景为例进行说明,假设“A牌遮阳帽”的广告信息包括“A牌遮阳帽,超实用的夏季遮阳帽,由优质面料制成,能够有效防止紫外线入侵,还您清爽夏天,潮流达人必选的遮阳帽,款式新颖,颜色丰富,展露您的帅气”。图3示出了用户1搜索关键词1(假设为“实用遮阳帽”)的过程,图4示出了用户1搜索关键词2(假设为“帅气遮阳帽”)的过程。Figures 3 and 4 illustrate the advertising scenario of the product "Brand A sun hat" as an example. It is assumed that the advertising information of "Brand A sun hat" includes "Brand A sun hat, a super practical summer sun hat, made of high-quality fabrics, can effectively prevent the invasion of ultraviolet rays and give you a refreshing summer. It is a must-have sun hat for trendsetters, with novel styles and rich colors to show your handsomeness." Figure 3 shows the process of user 1 searching for keyword 1 (assuming it is "practical sun hat"), and Figure 4 shows the process of user 1 searching for keyword 2 (assuming it is "handsome sun hat").
如图3的(A)所示,电子设备100可以显示浏览器的用户界面310,用户界面310可以包括搜索框311和搜索控件312,搜索框311可以用于输入搜索的关键词,搜索控件312可以用于触发搜索和搜索框311中的关键词相关的网页结果。电子设备100可以接收用户在搜索框311中输入的关键词1“实用遮阳帽”,然后接收针对搜索控件312的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,电子设备100可以获取并显示和关键词1相关的网页结果,以及和关键词1相关的广告内容,具体示例可参见图3的(B)所示的用户界面320。As shown in FIG. 3 (A), the electronic device 100 may display a user interface 310 of a browser, and the user interface 310 may include a search box 311 and a search control 312. The search box 311 may be used to input search keywords, and the search control 312 may be used to trigger a search for web page results related to the keywords in the search box 311. The electronic device 100 may receive the keyword 1 "practical sun hat" input by the user in the search box 311, and then receive a user operation (such as a touch operation, such as a click operation) on the search control 312. In response to the user operation, the electronic device 100 may obtain and display web page results related to the keyword 1, and advertising content related to the keyword 1. For specific examples, see the user interface 320 shown in FIG. 3 (B).
如图3的(B)所示,浏览器的用户界面320可以包括搜索框311,和关键词1相关的至少一个广告的显示栏(例如广告栏321),以及和关键词1相关的至少一个网页结果(例如网页结果322和网页结果323)。其中,搜索框311可以显示当前搜索的关键词1“实用遮阳帽”。广告栏321可以用于显示商品“A牌遮阳帽”的广告,可以包括广告图片321A、广告文案321B、广告来源321C(即“购物平台1”)和广告指示321D(即“广告”),广告文案321B为“超实用的夏季遮阳帽,能够有效防止紫外线入侵,还您清爽夏天”。网页结果322可以包括标题322A(包括字符“夏日遮阳帽合集,百搭实用…”)、网页中的视频信息322B和来源网址322C(即“网址111”)。网页结果323可以包括标题323A(包括字符“[户外遮阳帽]价格-品牌-商城111…”)、网页描述323B和来源网址323C(即“网址222”)。As shown in (B) of FIG. 3 , the user interface 320 of the browser may include a search box 311, a display column of at least one advertisement related to keyword 1 (e.g., advertisement column 321), and at least one web page result related to keyword 1 (e.g., web page result 322 and web page result 323). Among them, the search box 311 may display the currently searched keyword 1 "practical sun hat". The advertisement column 321 may be used to display an advertisement for the product "Brand A sun hat", and may include an advertisement picture 321A, an advertisement copy 321B, an advertisement source 321C (i.e., "shopping platform 1"), and an advertisement indication 321D (i.e., "advertisement"). The advertisement copy 321B is "super practical summer sun hat, which can effectively prevent ultraviolet invasion and give you a refreshing summer". The web page result 322 may include a title 322A (including the characters "summer sun hat collection, versatile and practical..."), video information 322B in the web page, and a source URL 322C (i.e., "URL 111"). The web page result 323 may include a title 323A (including characters “[outdoor sun hat] price-brand-mall 111…”), a web page description 323B and a source URL 323C (ie, “URL 222”).
如图4的(A)所示,电子设备100可以显示图3的(A)所示的用户界面310,电子设备100可以接收用户在搜索框311中输入的关键词2“帅气遮阳帽”,然后接收针对搜索控件312的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,电子设备100可以获取并显示和关键词2相关的网页结果,以及和关键词2相关的广告内容,具体示例可参见图4的(B)所示的用户界面410。As shown in (A) of Figure 4, the electronic device 100 can display the user interface 310 shown in (A) of Figure 3. The electronic device 100 can receive the keyword 2 "handsome sun hat" input by the user in the search box 311, and then receive the user operation on the search control 312 (for example, a touch operation, such as a click operation). In response to the user operation, the electronic device 100 can obtain and display web page results related to keyword 2, as well as advertising content related to keyword 2. For specific examples, see the user interface 410 shown in (B) of Figure 4.
如图4的(B)所示,浏览器的用户界面410可以包括搜索框311,和关键词2相关的至少一个广告的显示栏(例如广告栏411),以及和关键词2相关的至少一个网页结果(例如网页结果412和网页结果413)。其中,搜索框311可以显示当前搜索的关键词2“帅气遮阳帽”。广告栏411可以用于显示商品“A牌遮阳帽”的广告,可以包括广告图片411A、广告文案411B、广告来源411C(即“购物平台1”)和广告指示411D(即“广告”),广告文案411B为“潮流达人必选的遮阳帽,多彩多色,展露您的帅气”。网页结果412可以包括标题412A(包括字符“帅气遮阳帽-商品-全网热卖…”)、网页中的多个图片412B和来源网 址412C(即“网址333”)。网页结果413可以包括标题413A(包括字符“棒球帽过时了,现流行遮阳帽…”)、网页描述413B和来源网址413C(即“网址444”)。As shown in (B) of FIG. 4 , the user interface 410 of the browser may include a search box 311, a display column of at least one advertisement related to keyword 2 (e.g., advertisement column 411), and at least one web page result related to keyword 2 (e.g., web page result 412 and web page result 413). Among them, the search box 311 may display the currently searched keyword 2 “handsome sun hat”. The advertisement column 411 may be used to display an advertisement for the product “Brand A sun hat”, and may include an advertisement picture 411A, advertisement text 411B, advertisement source 411C (i.e., “shopping platform 1”), and advertisement indication 411D (i.e., “advertisement”). The advertisement text 411B is “a must-have sun hat for trendsetters, colorful and showing your handsomeness”. The web page result 412 may include a title 412A (including the characters “handsome sun hat - product - hot sale on the entire network…”), multiple pictures 412B in the web page, and a source network 411C. Web page result 413 may include title 413A (including characters "Baseball caps are out of fashion, sun hats are popular now ..."), web page description 413B and source URL 413C (ie, "URL 444").
其中,图3的(B)所示的用户界面320中的广告栏321和图4的(B)所示的用户界面410中的广告栏411,均用于显示的“A牌遮阳帽”的广告内容,广告栏321中的广告图片321A、广告来源321C分别和广告栏411中的广告图片411A、广告来源411C相同,但广告栏321中的广告文案321B和广告栏411中的广告文案411B不同,广告文案321B是“A牌遮阳帽”的广告信息中和关键词1“实用遮阳帽”相关的文案片段,广告文案411B“A牌遮阳帽”的广告信息中和关键词2“帅气遮阳帽”相关的文案片段。也就是说,本申请可以根据用户搜索的关键词在线生成和推荐个性化的广告文案,该广告文案可以满足用户在搜索关键词时的实时需求,从而提升用户操作该广告文案查看详细广告内容的概率,提升广告投放效率。Among them, the advertisement column 321 in the user interface 320 shown in (B) of FIG. 3 and the advertisement column 411 in the user interface 410 shown in (B) of FIG. 4 are both used to display the advertisement content of "Brand A sun hat". The advertisement picture 321A and the advertisement source 321C in the advertisement column 321 are respectively the same as the advertisement picture 411A and the advertisement source 411C in the advertisement column 411, but the advertisement copy 321B in the advertisement column 321 is different from the advertisement copy 411B in the advertisement column 411. The advertisement copy 321B is a copy fragment related to the keyword 1 "practical sun hat" in the advertisement information of "Brand A sun hat", and the advertisement copy 411B is a copy fragment related to the keyword 2 "handsome sun hat" in the advertisement information of "Brand A sun hat". In other words, the present application can generate and recommend personalized advertisement copy online according to the keywords searched by the user. The advertisement copy can meet the real-time needs of the user when searching for keywords, thereby increasing the probability of the user operating the advertisement copy to view the detailed advertisement content and improving the efficiency of advertisement delivery.
不限于图3和图4的示例,在另一些示例中,场景1也可以是商品“B牌手机”的广告投放场景,假设“B牌手机”的广告信息包括“B牌全面屏手机,难以置信的强悍性能,屏内指纹支持,90Hz刷新率,1440Hz高频调光”,关键词1为“高性能的全面屏手机”时电子设备100显示的“B牌手机”的广告文案可以是广告信息中和关键词1相关的文案片段:“B牌全面屏手机,难以置信的强悍性能”,关键词2为“指纹支付的手机”时电子设备100显示的“B牌手机”的广告文案可以是广告信息中和关键词2相关的文案片段:“B牌全面屏手机,屏内指纹支持”。Not limited to the examples in Figures 3 and 4, in other examples, scenario 1 may also be an advertising scenario for the product "Brand B mobile phone". Assuming that the advertising information of "Brand B mobile phone" includes "Brand B full-screen mobile phone, incredibly powerful performance, in-screen fingerprint support, 90Hz refresh rate, 1440Hz high-frequency dimming", when keyword 1 is "high-performance full-screen mobile phone", the advertising copy of "Brand B mobile phone" displayed by the electronic device 100 may be a copy fragment related to keyword 1 in the advertising information: "Brand B full-screen mobile phone, incredibly powerful performance"; when keyword 2 is "fingerprint payment mobile phone", the advertising copy of "Brand B mobile phone" displayed by the electronic device 100 may be a copy fragment related to keyword 2 in the advertising information: "Brand B full-screen mobile phone, in-screen fingerprint support".
请参见图5,图5是本申请提供的一种广告文案生成方法的流程示意图。该方法可以包括但不限于如下步骤:Please refer to Figure 5, which is a flowchart of a method for generating advertising copy provided by the present application. The method may include but is not limited to the following steps:
S101:网络设备300训练得到粗选模型。S101: The network device 300 trains to obtain a rough selection model.
在一种实施方式中,S101为可选的步骤。在一种实施方式中,S101为离线操作,即在广告投放/展示之前执行的。In one embodiment, S101 is an optional step. In one embodiment, S101 is an offline operation, that is, it is performed before advertisement delivery/display.
在一种实施方式中,网络设备300可以基于搜索的关键词和广告信息训练粗选模型,在一些示例中,网络设备300训练粗选模型时,可以分别获取关键词的向量表示和广告信息中的文本(包括多个句子/语句)的向量表示,然后将这些向量表示通过后接的注意力模块(例如Cross Attention)和全连接层(例如多层感知器(multilayer perceptron,MLP)),以预测广告信息中每一个句子被关键词选中的概率,该概率可以表征句子和关键词的相关程度。其中,网络设备300训练粗选模型时,可以解耦关键词的向量表示和广告信息中的句子的向量表示,即每一个向量表示可独立存在,这些向量表示之间可以不存在交互行为,以用于实现S103。本申请中的向量表示可以是当前句子或短语在某种语义空间下的向量表示,例如为词嵌入向量(embedding),例如是通过词编码器(sentence encoder)获取到的。In one embodiment, the network device 300 can train a rough selection model based on the searched keywords and advertising information. In some examples, when the network device 300 trains the rough selection model, it can obtain the vector representation of the keyword and the vector representation of the text (including multiple sentences/statements) in the advertising information, respectively, and then pass these vector representations through the subsequent attention module (such as Cross Attention) and the fully connected layer (such as a multilayer perceptron (MLP)) to predict the probability of each sentence in the advertising information being selected by the keyword, and this probability can characterize the degree of relevance between the sentence and the keyword. Among them, when the network device 300 trains the rough selection model, the vector representation of the keyword and the vector representation of the sentence in the advertising information can be decoupled, that is, each vector representation can exist independently, and there may be no interaction between these vector representations, so as to implement S103. The vector representation in the present application can be a vector representation of the current sentence or phrase in a certain semantic space, such as a word embedding vector (embedding), for example, obtained through a word encoder (sentence encoder).
S102:网络设备300训练得到精选模型。S102: The network device 300 is trained to obtain a selected model.
在一种实施方式中,S102为可选的步骤。在一种实施方式中,S102为离线操作。In one embodiment, S102 is an optional step. In one embodiment, S102 is an offline operation.
在一种实施方式中,网络设备300可以基于搜索的关键词和广告信息训练精选模型,在一些示例中,网络设备300训练精选模型时,可以先使用提示(Prompt)的方式将广告信息中的句子和关键词进行拼接并获取对应的向量表示,再送入一个新的预测模型进行训练,以预测广告信息中每一个句子被关键词选中的概率,该概率可以表征句子和关键词的相关程度。In one embodiment, the network device 300 can train a selection model based on the searched keywords and advertising information. In some examples, when the network device 300 trains the selection model, it can first use prompts to concatenate sentences and keywords in the advertising information and obtain corresponding vector representations, and then send them into a new prediction model for training to predict the probability of each sentence in the advertising information being selected by the keyword. The probability can represent the degree of relevance between the sentence and the keyword.
可以理解地,粗选模型和精选模型的训练数据可以相同,也可以不同,但模型结构并不相同,精选模型的耗时往往大于粗选模型的耗时,同时,精选模型预测的概率往往比粗选模型预测的概率更加准确。It can be understood that the training data of the coarse selection model and the fine selection model can be the same or different, but the model structures are not the same. The time consumption of the fine selection model is often greater than that of the coarse selection model. At the same time, the probability predicted by the fine selection model is often more accurate than that predicted by the coarse selection model.
S103:网络设备300存储广告库中的广告信息的向量表示。S103: The network device 300 stores the vector representation of the advertisement information in the advertisement library.
在一种实施方式中,S103为可选的步骤。在一种实施方式中,S103为离线操作。In one embodiment, S103 is an optional step. In one embodiment, S103 is an offline operation.
在一种实施方式中,网络设备300可以获取广告库中的广告信息的每个句子的向量表示,例如,在S101中训练粗选模型时,可以获取到广告信息中部分或全部句子的向量表示。然后,网络设备300可以存储这些向量表示,存储的句子的向量表示可统称为广告素材库。In one implementation, the network device 300 may obtain the vector representation of each sentence of the advertisement information in the advertisement library. For example, when training the rough selection model in S101, the vector representation of some or all sentences in the advertisement information may be obtained. Then, the network device 300 may store these vector representations, and the stored vector representations of the sentences may be collectively referred to as an advertisement material library.
在一种实施方式中,网络设备300可以存储广告信息中每个句子的身份标识(identity document,ID)和该句子的向量表示,可以理解为是通过句子的ID来标识该句子的向量表示,以用于后续在线生成广告文案时获取句子的向量表示,例如下述S107中根据句子的ID获取句子的向量表示。In one embodiment, the network device 300 may store the identity document (ID) of each sentence in the advertisement information and the vector representation of the sentence. This may be understood as identifying the vector representation of the sentence by the ID of the sentence, so as to obtain the vector representation of the sentence when subsequently generating advertisement copy online, such as obtaining the vector representation of the sentence according to the ID of the sentence in the following S107.
其中,S101-S103中任意两个步骤的顺序不作限定。The order of any two steps in S101-S103 is not limited.
S104:电子设备100获取第一用户输入的第一关键词。S104: The electronic device 100 obtains a first keyword input by a first user.
在一种实施方式中,电子设备100接收第一用户输入的第一关键词和对应的搜索请求,响应于该搜索请求,获取第一关键词,并获取和第一关键词相关的搜索结果,例如执行S105以获取相关的广告。在一 些示例中,图3所示的场景下,电子设备100可以接收用户在图3的(A)所示的用户界面310的搜索框311中输入的关键词1“实用遮阳帽”,然后接收针对搜索控件312的用户操作(可以理解为是接收搜索请求),响应于该用户操作,获取关键词1,并获取和关键词1相关的网页结果,以及和关键词1相关的广告内容。In one implementation, the electronic device 100 receives a first keyword and a corresponding search request input by a first user, and in response to the search request, obtains the first keyword and obtains search results related to the first keyword, for example, executing S105 to obtain related advertisements. In some examples, in the scenario shown in Figure 3, the electronic device 100 can receive the keyword 1 "practical sun hat" entered by the user in the search box 311 of the user interface 310 shown in (A) of Figure 3, and then receive the user operation on the search control 312 (which can be understood as receiving a search request), and in response to the user operation, obtain keyword 1, and obtain web page results related to keyword 1, as well as advertising content related to keyword 1.
S105:电子设备100向网络设备300发送第一广告请求(携带第一关键词)。S105: The electronic device 100 sends a first advertisement request (carrying a first keyword) to the network device 300.
在一种实施方式中,第一广告请求可以用于请求获取广告内容,第一广告请求可以携带第一关键词,第一关键词可以用于获取和第一关键词相关的广告内容。In one implementation, the first advertisement request may be used to request to obtain advertisement content, the first advertisement request may carry a first keyword, and the first keyword may be used to obtain advertisement content related to the first keyword.
S106:网络设备300获取第一关键词的第一向量表示。S106: The network device 300 obtains a first vector representation of the first keyword.
在一种实施方式中,网络设备300可以使用离线训练的粗选模型,获取第一关键词的向量表示(称为第一向量表示)。In one implementation, the network device 300 may use a rough selection model trained offline to obtain a vector representation of the first keyword (referred to as a first vector representation).
S107:网络设备300确定待展示的第一广告,并获取广告信息的第二向量表示。S107: The network device 300 determines a first advertisement to be displayed, and obtains a second vector representation of the advertisement information.
在一种实施方式中,网络设备300可以先使用第一关键词从多个广告中进行召回和排序,以获取和第一关键词相关的第一广告,在一些示例中,假设网络设备300维护的多个广告包括“A牌遮阳帽”、“B牌手机”、“X牌汽车”、“C款理财服务”等产品的广告,第一关键词为图3所示的关键词1“实用遮阳帽”,网络设备300可以从上述多个广告中获取到和关键词1相关的产品“A牌遮阳帽”的广告。可选地,第一广告可以通过对应的ID来表征,不同对象的广告的ID不同。In one implementation, the network device 300 may first use the first keyword to recall and sort multiple advertisements to obtain a first advertisement related to the first keyword. In some examples, it is assumed that the multiple advertisements maintained by the network device 300 include advertisements for products such as "Brand A Sun Hat", "Brand B Mobile Phone", "Brand X Car", and "C Financial Services". The first keyword is keyword 1 "Practical Sun Hat" shown in FIG3. The network device 300 may obtain an advertisement for the product "Brand A Sun Hat" related to keyword 1 from the above multiple advertisements. Optionally, the first advertisement may be characterized by a corresponding ID, and the IDs of advertisements of different objects are different.
在一种实施方式中,网络设备300确定待展示的第一广告后,可以从存储的广告素材库中获取到第一广告的广告信息中的每个句子的向量表示(统称为第二向量表示),在一些示例中,网络设备300可以先根据第一广告的ID获取到第一广告的广告信息(包括多个句子)和/或广告信息中的句子的ID,然后根据句子和/或句子的ID获取第一广告的句子的向量表示。可以理解为是,直接使用存储的、离线计算的广告素材库,而非网络设备300在线计算广告信息中句子的向量表示,有效减少处理压力。In one embodiment, after the network device 300 determines the first advertisement to be displayed, it can obtain the vector representation of each sentence in the advertisement information of the first advertisement from the stored advertisement material library (collectively referred to as the second vector representation). In some examples, the network device 300 can first obtain the advertisement information of the first advertisement (including multiple sentences) and/or the ID of the sentence in the advertisement information according to the ID of the first advertisement, and then obtain the vector representation of the sentence of the first advertisement according to the sentence and/or the ID of the sentence. It can be understood that the stored, offline-calculated advertisement material library is directly used, rather than the network device 300 online calculating the vector representation of the sentence in the advertisement information, which effectively reduces the processing pressure.
其中,S106和S107的顺序不作限定。The order of S106 and S107 is not limited.
S108:网络设备300使用粗选模型对第一向量表示和第二向量表示进行处理,得到第一广告的K个句子(K为正整数,例如为大于1的正整数)。S108: The network device 300 uses the coarse selection model to process the first vector representation and the second vector representation to obtain K sentences of the first advertisement (K is a positive integer, for example, a positive integer greater than 1).
在一种实施方式中,网络设备300可以将关键词的第一向量表示和第一广告的句子的第二向量表示作为粗选模型的输入,获取输出:第一广告的广告信息中的K个句子。在一些示例中,粗选模型可以对第一广告的广告信息中的每个句子进行打分,得到的分数可以指示对应的句子和关键词的相关程度,分数越高,相关程度越高,并且,粗选模型可以选择出分数排列在前K位的K个句子,K为超参数,可以由人工经验或工程实验结果确定。In one implementation, the network device 300 may use the first vector representation of the keyword and the second vector representation of the sentence of the first advertisement as inputs of the rough selection model, and obtain output: K sentences in the advertisement information of the first advertisement. In some examples, the rough selection model may score each sentence in the advertisement information of the first advertisement, and the obtained score may indicate the relevance between the corresponding sentence and the keyword, and the higher the score, the higher the relevance, and the rough selection model may select K sentences with scores ranked in the top K positions, where K is a hyperparameter and may be determined by manual experience or engineering experiment results.
S109:网络设备300使用精选模型对第一关键词和第一广告的K个句子进行处理,得到K个句子的分数。S109: The network device 300 uses the selection model to process the first keyword and the K sentences of the first advertisement to obtain scores of the K sentences.
在一种实施方式中,网络设备300可以将第一关键词和S108得到的K个句子作为精选模型的输入,获取输出:这K个句子分别对应的K个分数。可以理解地,和粗选模型得到的广告的句子的分数一样,精选模型得到的广告的句子的分数也可以指示对应的句子和关键词的相关程度,分数越高,相关程度越高,但精选模型的结构和粗选模型的结构不同,精选模型会对关键词和广告的句子做交互融合的操作(例如prompt),因此能更准确地预测关键词和广告的句子的相关性,即精选模型得到的广告的句子的分数更加准确。In one embodiment, the network device 300 can use the first keyword and the K sentences obtained in S108 as inputs of the selection model, and obtain outputs: K scores corresponding to the K sentences. It can be understood that, like the scores of the advertisement sentences obtained by the rough selection model, the scores of the advertisement sentences obtained by the selection model can also indicate the relevance between the corresponding sentences and the keywords. The higher the score, the higher the relevance. However, the structure of the selection model is different from that of the rough selection model. The selection model will perform interactive fusion operations (such as prompt) on the keywords and advertisement sentences, so it can more accurately predict the relevance between the keywords and advertisement sentences, that is, the scores of the advertisement sentences obtained by the selection model are more accurate.
S110:网络设备300从K个句子中选择出分数大于或等于第一阈值的N个句子(即短期兴趣)(N为小于或等于K的正整数)。S110: The network device 300 selects N sentences (ie, short-term interests) whose scores are greater than or equal to a first threshold from the K sentences (N is a positive integer less than or equal to K).
在一种实施方式中,网络设备300可以利用超参设置的第一阈值,基于S109得到的K个分数,选择出:S108得到的第一广告的K个句子中分数大于或等于第一阈值的N个句子。可选地,这N个句子可以作为第一广告的广告信息中和当前搜索的第一关键词最相关的内容,可以称为是用户在当前广告信息中的短期兴趣表达。In one implementation, the network device 300 may use the first threshold value set by the hyperparameter, based on the K scores obtained in S109, to select: N sentences with scores greater than or equal to the first threshold value from the K sentences of the first advertisement obtained in S108. Optionally, these N sentences may be the most relevant content in the advertisement information of the first advertisement and the first keyword currently searched, and may be referred to as the user's short-term interest expression in the current advertisement information.
S111:网络设备300根据第一广告的N个句子生成第一文案。S111: The network device 300 generates a first copy according to N sentences of the first advertisement.
在一种实施方式中,网络设备300可以根据S110得到的第一广告的N个句子,生成第一广告的第一文案,可以理解为是对这N个句子进行语言组织,处理为通顺的文案。In one implementation, the network device 300 may generate a first copy of the first advertisement based on the N sentences of the first advertisement obtained in S110, which may be understood as language organization of the N sentences into a smooth copy.
S112:网络设备300向电子设备100发送第一文案。S112 : The network device 300 sends the first document to the electronic device 100 .
S113:电子设备100显示第一文案。S113: The electronic device 100 displays the first text.
在一种实施方式中,电子设备100向网络设备300发送第一广告请求后,可以接收网络设备300基于 第一广告请求生成的广告文案(即第一文案),并显示第一文案。In one embodiment, after the electronic device 100 sends the first advertisement request to the network device 300, the network device 300 may receive a response based on the first advertisement request. The first advertisement requests the generated advertisement text (ie, the first text) and displays the first text.
图5所示方法的具体示例可参见图3,其中,第一关键词为图3所示的关键词1“实用遮阳帽”,第一广告的K个句子为商品“A牌遮阳帽”的9个句子:“A牌遮阳帽”、“超实用的夏季遮阳帽”、“由优质面料制成”、“能够有效防止紫外线入侵”、“还您清爽夏天”、“潮流达人必选的遮阳帽”、“款式新颖”、“颜色丰富”、“展露您的帅气”,网络设备300筛选得到的N个句子为上述9个句子中的3个句子:“超实用的夏季遮阳帽”、“能够有效防止紫外线入侵”、“还您清爽夏天”,电子设备100显示的网络设备300发送的“A牌遮阳帽”的广告内容可参见图3的(B)所示的用户界面320中的广告栏321,广告栏321中的广告文案321B(“超实用的夏季遮阳帽,能够有效防止紫外线入侵,还您清爽夏天”)为第一文案。A specific example of the method shown in Figure 5 can be found in Figure 3, wherein the first keyword is keyword 1 "practical sun hat" shown in Figure 3, and the K sentences of the first advertisement are 9 sentences of the product "Brand A sun hat": "Brand A sun hat", "Super practical summer sun hat", "Made of high-quality fabrics", "Can effectively prevent ultraviolet invasion", "Give you a refreshing summer", "A must-have sun hat for trendsetters", "Novel style", "Rich colors", "Show your handsomeness", and the N sentences screened by the network device 300 are 3 sentences out of the above 9 sentences: "Super practical summer sun hat", "Can effectively prevent ultraviolet invasion", "Give you a refreshing summer", and the advertisement content of "Brand A sun hat" sent by the network device 300 and displayed by the electronic device 100 can be found in the advertisement column 321 in the user interface 320 shown in (B) of Figure 3, and the advertisement copy 321B in the advertisement column 321 ("Super practical summer sun hat, can effectively prevent ultraviolet invasion, give you a refreshing summer") is the first copy.
不限于上述示例,在另一些示例中,第一文案包括的部分句子可以是和短期兴趣中的句子不同,但含义类似的句子,例如图4,第一关键词为图4所示的关键词2“帅气遮阳帽”,第一广告的K个句子为“A牌遮阳帽”的9个句子:“A牌遮阳帽”、“超实用的夏季遮阳帽”、“由优质面料制成”、“能够有效防止紫外线入侵”、“还您清爽夏天”、“潮流达人必选的遮阳帽”、“款式新颖”、“颜色丰富”、“展露您的帅气”,网络设备300筛选得到的N个句子为上述9个句子中的3个句子:“潮流达人必选的遮阳帽”、“颜色丰富”、“展露您的帅气”,电子设备100显示的网络设备300发送的“A牌遮阳帽”的广告内容可参见图4的(B)所示的用户界面410中的广告栏411,广告栏411中的广告文案411B(“潮流达人必选的遮阳帽,多彩多色,展露您的帅气”)为第一文案,第一文案中的“多彩多色”和上述筛选得到的“颜色丰富”虽然不同,但含义类似。在另一些示例中,第一文案包括的部分句子可以是对短期兴趣中的句子进行扩展补充得到的,本申请对根据短期兴趣生成广告文案(即S111)的具体实现方式不作限定。Not limited to the above examples, in other examples, some sentences included in the first copy may be sentences that are different from the sentences in the short-term interest but have similar meanings. For example, in FIG4 , the first keyword is keyword 2 “handsome sun hat” shown in FIG4 , and the K sentences of the first advertisement are 9 sentences of “Brand A sun hat”: “Brand A sun hat”, “Super practical summer sun hat”, “Made of high-quality fabrics”, “Can effectively prevent ultraviolet invasion”, “Give you a cool summer”, “A sun hat that must be chosen by fashion gurus”, “Novel style”, “Rich colors”, “Show your handsomeness”, network device 30 0 The N sentences obtained by screening are 3 sentences among the above 9 sentences: "Sun hats that must be chosen by trendsetters", "Rich colors", "Show your handsomeness", and the advertisement content of "Brand A sun hats" sent by network device 300 and displayed by electronic device 100 can be found in advertisement column 411 in user interface 410 shown in (B) of FIG. 4. Advertisement copy 411B in advertisement column 411 ("Sun hats that must be chosen by trendsetters, colorful and show your handsomeness") is the first copy. Although "colorful and colorful" in the first copy is different from "rich colors" obtained by the above screening, they have similar meanings. In other examples, some sentences included in the first copy may be obtained by expanding and supplementing sentences in short-term interests. The present application does not limit the specific implementation method of generating advertisement copy (i.e., S111) according to short-term interests.
在一种实施方式中,S104-S113为在线操作,即用户实时执行触发操作后,会在线为用户推荐广告时执行的操作。In one implementation, S104-S113 are online operations, that is, operations performed when an advertisement is recommended to the user online after the user performs a triggering operation in real time.
在图5所示的方法中,网络设备300可以基于用户在线搜索的关键词,在线从广告信息中抽取相关性较强的句子(即挖掘用户当前的短期兴趣),然后基于这些句子生成第一文案以用于电子设备100推荐给用户查看,而不是单纯通过离线数据处理的方式,将热门的关键词和广告信息结合起来得到广告文案,后续获取到用户在线搜索的关键词后,从离线存储的上述热门的关键词中找到用户在线搜索的关键词,将该关键词相关的广告文案返回给用户查看,不仅避免了用户搜索的某些关键词不在上述热门的关键词内导致无法为用户提供合适的广告文案,而且本申请的第一文案在考虑到用户在线搜索的关键词的同时也更加符合广告信息本身的内容,因此更加符合用户的需求和喜好,提升广告投放效率和用户体验感。In the method shown in Figure 5, the network device 300 can extract sentences with strong relevance from the advertising information online based on the keywords searched by the user online (i.e., explore the user's current short-term interests), and then generate a first copy based on these sentences for the electronic device 100 to recommend to the user for viewing, rather than simply combining popular keywords and advertising information to obtain advertising copy through offline data processing. After subsequently obtaining the keywords searched by the user online, the keywords searched by the user online are found from the above-mentioned popular keywords stored offline, and the advertising copy related to the keyword is returned to the user for viewing. This not only avoids the situation where some keywords searched by the user are not within the above-mentioned popular keywords, resulting in the inability to provide the user with suitable advertising copy, but also the first copy of the present application is more in line with the content of the advertising information itself while taking into account the keywords searched by the user online, and is therefore more in line with the needs and preferences of the user, thereby improving the efficiency of advertising delivery and user experience.
并且,网络设备300采用离线存储(广告的句子的向量表示)、在线预测(广告的句子被关键词选中的概率)的方式(即粗选模型)进行第一阶段的句子粗选,然后通过后续的交互模型(即精选模型)在粗选得到的句子的基础上进一步进行句子的精选,避免单一使用粗选模型导致虽然时延较小但精度较低的情况,也避免了单一使用精选模型导致虽然精度较高但时延较大的情况,这样粗选模型和精选模型的配合,不仅实现了在线的模型推理,保证了模型的精度,同时也缓解了线上时延的压力。In addition, the network device 300 uses offline storage (vector representation of advertisement sentences) and online prediction (probability of advertisement sentences being selected by keywords) (i.e., rough selection model) to perform rough selection of sentences in the first stage, and then further selects sentences based on the rough selected sentences through a subsequent interactive model (i.e., refined model), thereby avoiding the situation where the single use of the rough selection model results in a small delay but low accuracy, and also avoiding the situation where the single use of the refined model results in a high accuracy but large delay. In this way, the coordination of the rough selection model and the refined model not only realizes online model reasoning and ensures the accuracy of the model, but also alleviates the pressure of online delay.
场景2:用户1使用电子设备100的过程中操作的多个广告文案,和用户2使用电子设备200的过程中操作的多个广告文案不同,后续用户1和用户2分别使用电子设备100和电子设备200搜索关键词1时,电子设备100和电子设备200显示的同一个对象的广告文案不同,具体示例可参见下图6和图7。Scenario 2: The multiple advertising copies operated by user 1 while using electronic device 100 are different from the multiple advertising copies operated by user 2 while using electronic device 200. Subsequently, when user 1 and user 2 use electronic device 100 and electronic device 200 respectively to search for keyword 1, the advertising copies of the same object displayed on electronic device 100 and electronic device 200 are different. Specific examples can be seen in Figures 6 and 7 below.
图6和图7以商品“A牌遮阳帽”的广告投放场景为例进行说明,假设“A牌遮阳帽”的广告信息包括“A牌遮阳帽,超实用的夏季遮阳帽,由优质面料制成,能够有效防止紫外线入侵,还您清爽夏天,潮流达人必选的遮阳帽,款式新颖,颜色丰富,展露您的帅气”。图6示出了用户1使用电子设备100操作多个广告文案和搜索关键词1(假设为“实用遮阳帽”)的过程,图7示出了用户2使用电子设备200操作多个广告文案和搜索关键词1的过程。Figures 6 and 7 illustrate the advertising scenario of the product "Brand A sun hat" as an example. It is assumed that the advertising information of "Brand A sun hat" includes "Brand A sun hat, a super practical summer sun hat, made of high-quality fabrics, can effectively prevent the invasion of ultraviolet rays and give you a refreshing summer. It is a must-have sun hat for trendsetters. It has novel styles and rich colors to show your handsomeness." Figure 6 shows the process of user 1 using an electronic device 100 to operate multiple advertising copies and search for keyword 1 (assuming it is "practical sun hat"). Figure 7 shows the process of user 2 using an electronic device 200 to operate multiple advertising copies and search for keyword 1.
在一种实施方式中,如图6的(A)所示,电子设备100可以显示社交媒体应用的用户界面610,用户界面610可以包括搜索框611、搜索控件612和多个发布内容(例如内容613和内容614),搜索框611可以用于输入搜索的关键词,搜索控件612可以用于触发搜索和搜索框611相关的发布内容。内容614可以用于显示广告a的内容,可以包括广告文案614A(即“这款鱼缸,设计巧妙,简直是一件艺术品”)。用户界面610可以为首页,社交媒体应用的首页显示的发布内容可以在刷新后(例如响应于用户从上往下滑动的用户操作,或者从其他页面跳转至首页)变化。电子设备100可以接收用户1针对内容614的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,显示广告a相关的内容(例如广告a对应的产品的购买页面,图6未示出),在上述过程中,用户1点击了广告a的广告文案614A并 且电子设备100展示了对应的广告内容。In one embodiment, as shown in (A) of FIG. 6 , the electronic device 100 may display a user interface 610 of a social media application. The user interface 610 may include a search box 611, a search control 612, and multiple published contents (e.g., content 613 and content 614). The search box 611 may be used to input search keywords, and the search control 612 may be used to trigger a search for published contents related to the search box 611. Content 614 may be used to display the content of advertisement a, and may include advertising copy 614A (i.e., "This fish tank is cleverly designed and is simply a work of art"). The user interface 610 may be a home page, and the published contents displayed on the home page of the social media application may change after refreshing (e.g., in response to a user operation of sliding from top to bottom, or jumping from other pages to the home page). The electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 614, and in response to the user operation, display content related to advertisement a (e.g., a purchase page for a product corresponding to advertisement a, not shown in FIG. 6 ). In the above process, user 1 clicks on the advertising copy 614A of advertisement a and And the electronic device 100 displays the corresponding advertising content.
在又一种实施方式中,如图6的(B)所示,社交媒体应用的用户界面620可以包括搜索框611、搜索控件612和多个发布内容(例如内容621和内容622),用户界面620和用户界面610类似,区别在于,显示的发布内容不同。内容622可以用于显示广告b的内容,可以包括广告文案622A(即“新款碎花长裙,手感柔软舒适,简约大方的设计风格,让你在人群中脱颖而出”)。电子设备100可以接收用户1针对内容622的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,显示广告b相关的内容(例如广告b对应的产品的购买页面,图6未示出),在上述过程中,用户1点击了广告b的广告文案622A并且电子设备100展示了对应的广告内容。In another embodiment, as shown in (B) of FIG. 6 , the user interface 620 of the social media application may include a search box 611, a search control 612, and multiple published contents (e.g., content 621 and content 622). The user interface 620 is similar to the user interface 610, except that the displayed published contents are different. Content 622 may be used to display the content of advertisement b, and may include advertisement copy 622A (i.e., "a new floral long skirt, soft and comfortable to the touch, simple and elegant design style, allowing you to stand out from the crowd"). The electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 622, and in response to the user operation, display content related to advertisement b (e.g., a purchase page of a product corresponding to advertisement b, not shown in FIG. 6 ). In the above process, user 1 clicks on advertisement copy 622A of advertisement b and the electronic device 100 displays the corresponding advertisement content.
图6的(A)和图6的(B)所示的实施方式之后,电子设备100可以显示图6的(C)所示的用户界面630。如图6的(C)所示,社交媒体应用的用户界面630可以包括搜索框611、搜索控件612和多个发布内容(例如内容631和内容632),用户界面630和用户界面610类似,区别在于,显示的发布内容不同。内容632可以用于显示广告c(即商品“A牌遮阳帽”的广告)的内容,可以包括广告厂商632A(即“厂商ccc”)、广告指示632B(即“广告”)、广告文案632C(即“A牌遮阳帽由优质面料制成,设计巧妙,让你在人群中脱颖而出”)和广告视频632D。After the implementation shown in (A) and (B) of FIG. 6 , the electronic device 100 may display the user interface 630 shown in (C) of FIG. 6 . As shown in (C) of FIG. 6 , the user interface 630 of the social media application may include a search box 611, a search control 612, and multiple published contents (e.g., content 631 and content 632), and the user interface 630 is similar to the user interface 610, except that the displayed published contents are different. Content 632 may be used to display the content of advertisement c (i.e., the advertisement of the product “Brand A sun hat”), and may include an advertising manufacturer 632A (i.e., “Manufacturer ccc”), an advertising instruction 632B (i.e., “advertisement”), an advertising copy 632C (i.e., “Brand A sun hat is made of high-quality fabrics and cleverly designed to make you stand out from the crowd”) and an advertising video 632D.
在一种实施方式中,如图7的(A)所示,电子设备200可以显示社交媒体应用的用户界面710,用户界面710可以为首页。用户界面710可以包括搜索框711、搜索控件712和多个发布内容(例如内容713和内容714),搜索框711可以用于输入搜索的关键词,搜索控件712可以用于触发搜索和搜索框711相关的发布内容。内容713可以用于显示广告d的内容,可以包括广告文案713A(即“安睡裤孕妇专用,舒适亲肤,让您舒适一整晚”)。电子设备200可以接收用户2针对内容713的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,显示广告d相关的内容(例如广告d对应的产品的购买页面,图7未示出),在上述过程中,用户2点击了广告d的广告文案713A并且电子设备200展示了对应的广告内容。In one embodiment, as shown in (A) of FIG. 7 , the electronic device 200 may display a user interface 710 of a social media application, and the user interface 710 may be a home page. The user interface 710 may include a search box 711, a search control 712, and multiple published contents (e.g., content 713 and content 714). The search box 711 may be used to input search keywords, and the search control 712 may be used to trigger the search and the published contents related to the search box 711. Content 713 may be used to display the content of advertisement d, and may include advertisement copy 713A (i.e., "sleeping pants are specially designed for pregnant women, comfortable and skin-friendly, allowing you to feel comfortable all night"). The electronic device 200 may receive a user operation (e.g., a touch operation, such as a click operation) of user 2 on content 713, and in response to the user operation, display content related to advertisement d (e.g., a purchase page of a product corresponding to advertisement d, not shown in FIG. 7 ). In the above process, user 2 clicks on the advertisement copy 713A of advertisement d and the electronic device 200 displays the corresponding advertisement content.
在一种实施方式中,如图7的(B)所示,社交媒体应用的用户界面720和用户界面710类似,区别在于,显示的发布内容不同,用户界面720中的多个发布内容例如包括内容721和内容722。内容722可以用于显示广告e的内容,可以包括广告文案722A(即“这款衬衫款式新颖,透气舒适,让你轻松应对各种场合”)。电子设备200可以接收用户2针对内容722的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,显示广告e相关的内容(例如广告e对应的产品的购买页面,图7未示出),在上述过程中,用户2点击了广告e的广告文案722A并且电子设备200展示了对应的广告内容。In one embodiment, as shown in (B) of FIG. 7 , the user interface 720 of the social media application is similar to the user interface 710, except that the displayed published content is different, and the multiple published content in the user interface 720 includes, for example, content 721 and content 722. Content 722 can be used to display the content of advertisement e, and can include advertising copy 722A (i.e., "This shirt is novel in style, breathable and comfortable, allowing you to easily cope with various occasions"). The electronic device 200 can receive a user operation (e.g., a touch operation, such as a click operation) of user 2 on content 722, and in response to the user operation, display content related to advertisement e (e.g., a purchase page of a product corresponding to advertisement e, not shown in FIG. 7 ). In the above process, user 2 clicks on the advertising copy 722A of advertisement e and the electronic device 200 displays the corresponding advertising content.
图7的(A)和图7的(B)所示的实施方式之后,电子设备200可以显示图7的(C)所示的用户界面730。如图7的(C)所示,社交媒体应用的用户界面730和用户界面710类似,区别在于,显示的发布内容不同,用户界面730中的多个发布内容例如包括内容731和内容732。内容732可以用于显示广告c(即商品“A牌遮阳帽”的广告)的内容,可以包括广告厂商732A(即“厂商ccc”)、广告指示732B(即“广告”)、广告文案732C(即“A牌遮阳帽由优质面料制成,穿着舒适,让你轻松应对各种场合”)和广告视频732D。After the implementation shown in (A) and (B) of FIG. 7 , the electronic device 200 may display the user interface 730 shown in (C) of FIG. 7 . As shown in (C) of FIG. 7 , the user interface 730 of the social media application is similar to the user interface 710, except that the displayed published content is different, and the multiple published contents in the user interface 730 include, for example, content 731 and content 732. Content 732 may be used to display the content of advertisement c (i.e., the advertisement of the product “Brand A sun hat”), and may include an advertising manufacturer 732A (i.e., “Manufacturer ccc”), an advertising instruction 732B (i.e., “advertisement”), an advertising copy 732C (i.e., “Brand A sun hat is made of high-quality fabrics, comfortable to wear, allowing you to easily cope with various occasions”) and an advertising video 732D.
其中,图6的(C)所示的用户界面630中的内容632和图7的(C)所示的用户界面730中的内容732,均用于显示商品“A牌遮阳帽”的广告内容,内容632中的广告厂商632A、广告视频632D分别和内容732中的广告厂商732A、广告视频732D相同,但内容632中的广告文案632C和内容732中的广告文案732C不同。广告文案632C可以是根据用户1对广告a的广告文案614A和广告b的广告文案622A的操作行为,生成的与用户历史行为相关的广告文案,广告文案632C包括广告文案614A中的“设计巧妙”和广告文案622A中的“让你在人群中脱颖而出”。广告文案732C可以是根据用户2对广告d的广告文案713A和广告e的广告文案722A的操作行为,生成的与用户历史行为相关的广告文案,广告文案732C包括广告文案713A中的“舒适亲肤”和广告文案722A中的“让你轻松应对各种场合”。也就是说,本申请可以根据用户的历史行为生成和推荐个性化的广告文案,该广告文案符合用户对文案类型/风格的偏好(通过历史行为体现),从而提升用户操作该广告文案查看详细广告内容的概率,提升广告投放效率。Among them, the content 632 in the user interface 630 shown in (C) of FIG. 6 and the content 732 in the user interface 730 shown in (C) of FIG. 7 are both used to display the advertisement content of the product "Brand A Sun Hat". The advertisement manufacturer 632A and the advertisement video 632D in the content 632 are respectively the same as the advertisement manufacturer 732A and the advertisement video 732D in the content 732, but the advertisement copy 632C in the content 632 is different from the advertisement copy 732C in the content 732. The advertisement copy 632C may be an advertisement copy related to the user's historical behavior generated based on the operation behavior of the user 1 on the advertisement copy 614A of advertisement a and the advertisement copy 622A of advertisement b. The advertisement copy 632C includes the words "cleverly designed" in the advertisement copy 614A and "making you stand out from the crowd" in the advertisement copy 622A. Advertisement copy 732C may be an advertisement copy related to the user's historical behavior generated based on the operation behavior of user 2 on advertisement copy 713A of advertisement d and advertisement copy 722A of advertisement e. Advertisement copy 732C includes "comfortable and skin-friendly" in advertisement copy 713A and "allowing you to easily cope with various occasions" in advertisement copy 722A. In other words, the present application may generate and recommend personalized advertisement copy based on the user's historical behavior, and the advertisement copy may meet the user's preference for the copy type/style (reflected by historical behavior), thereby increasing the probability of the user operating the advertisement copy to view detailed advertisement content and improving the efficiency of advertisement delivery.
在一种实施方式中,广告文案的生成不仅利用了用户的历史行为,而且利用了用户的静态特征,在一些示例中,如图6和图7所示的场景,用户1的静态特征包括:年龄30岁、性别为女、用户画像为时尚达人,因此为用户1展示的广告文案632C包括的是历史文案中的“设计巧妙,让你在人群中脱颖而出”,而不是历史文案中的“手感柔软舒适”。用户2的静态特征包括:年龄50岁、性别为女、用户画像为实用型和性价比,因此为用户2展示的广告文案732C包括的是历史文案中的“舒适亲肤,让你轻松应对各种 场合”,而不是历史文案中的“款式新颖”。在另一些示例中,用户的静态特征包括:年龄30岁、性别为女、用户画像为时尚达人,用户历史点击的文案包括:“M牌手表”的广告文案“M牌手表新出配色,还不行动吗”和“N牌包包”的广告文案“秋季新款包包,紧跟潮流,不失个性”,后续为用户展示的广告文案可以包括“新出配色”和/或“紧跟潮流,不失个性”。In one embodiment, the generation of advertising copy not only utilizes the user's historical behavior, but also utilizes the user's static features. In some examples, such as the scenarios shown in FIG6 and FIG7 , the static features of user 1 include: age 30, gender female, and user profile as a fashionista. Therefore, the advertising copy 632C displayed for user 1 includes the historical copy "cleverly designed to make you stand out from the crowd" instead of the historical copy "soft and comfortable to the touch". The static features of user 2 include: age 50, gender female, and user profile as practical and cost-effective. Therefore, the advertising copy 732C displayed for user 2 includes the historical copy "comfortable and skin-friendly, allowing you to easily cope with various In other examples, the static features of the user include: age 30, gender female, and user profile as a fashionista. The copy that the user has clicked on in the past includes: the advertising copy of "M brand watches""M brand watches have new colors, why not take action?" and the advertising copy of "N brand bags""New autumn bags, keep up with the trend, without losing personality." The advertising copy that is subsequently displayed to the user may include "new colors" and/or "keep up with the trend, without losing personality."
不限于上述示例,在另一些示例中,图6的(C)所示的用户界面630和图7的(C)所示的用户界面730可以均是搜索关键词1“实用遮阳帽”得到的,可以理解为是,不同用户的历史行为不同的情况下,即使用户搜索相同的关键词,被推荐相同对象的广告时,展示的广告文案也可以不同(和历史行为相关)。Not limited to the above examples, in other examples, the user interface 630 shown in (C) of FIG6 and the user interface 730 shown in (C) of FIG7 may both be obtained by searching for keyword 1 “practical sun hat”. It can be understood that, when different users have different historical behaviors, even if users search for the same keyword and are recommended advertisements for the same object, the displayed advertising copy may also be different (related to historical behavior).
图6和图7以不同用户的历史行为不同为例进行说明,在另一些示例,图7也可以不是电子设备200执行的,而是电子设备100执行的。用户1可以在时段1内实现图6所示的过程,在时段2内实现图7所示的过程,用户1在同一场景下的不同时段的历史行为(可以体现文案偏好)可以不同,或者用户1在不同场景下的历史行为也可以不同,电子设备可以根据历史行为获取相关的广告文案,满足用户在各种场景下对文案类型/风格的偏好。FIG6 and FIG7 illustrate different historical behaviors of different users by taking them as examples. In other examples, FIG7 may not be executed by electronic device 200 but by electronic device 100. User 1 may implement the process shown in FIG6 in period 1 and the process shown in FIG7 in period 2. The historical behaviors (which may reflect the copywriting preference) of user 1 in different periods in the same scenario may be different, or the historical behaviors of user 1 in different scenarios may also be different. The electronic device may obtain relevant advertising copywriting based on the historical behaviors to meet the user's preference for copywriting type/style in various scenarios.
请参见图8,图8是本申请提供的又一种广告文案生成方法的流程示意图。该方法可以包括但不限于如下步骤:Please refer to Figure 8, which is a flowchart of another method for generating advertising copy provided by the present application. The method may include but is not limited to the following steps:
S201:网络设备300训练得到长期兴趣模型。S201: The network device 300 obtains a long-term interest model through training.
在一种实施方式中,S201为可选的步骤。在一种实施方式中,S201为离线操作,即在广告投放/展示之前执行的。In one embodiment, S201 is an optional step. In one embodiment, S201 is an offline operation, that is, it is performed before advertisement delivery/display.
在一种实施方式中,网络设备300可以基于多个用户的静态特征和行为数据,训练长期兴趣模型,以模型生成的方式抽象用户对文案类型/风格等的偏好,具体训练过程可参见下图9,暂不详述。In one embodiment, the network device 300 can train a long-term interest model based on the static features and behavior data of multiple users, and abstract the user's preferences for copy type/style, etc. in a model-generated manner. The specific training process can be seen in Figure 9 below and will not be described in detail for the time being.
S202:电子设备100向网络设备300上传第一用户的历史行为数据和静态特征。S202: The electronic device 100 uploads the historical behavior data and static features of the first user to the network device 300.
S203:网络设备300获取第一用户的历史行为数据和静态特征。S203: The network device 300 obtains historical behavior data and static features of the first user.
在一种实施方式中,网络设备300可以接收电子设备100上传的第一用户的历史行为数据和静态特征,并存储这些数据。这些数据可以通过对应的第一用户的ID来获取。In one implementation, the network device 300 may receive the historical behavior data and static features of the first user uploaded by the electronic device 100 and store these data. These data may be obtained through the ID of the corresponding first user.
本申请中,用户的静态特征可以但不限于包括年龄、性别、所在城市、使用的电子设备的设备类型、用户画像等。用户的行为数据/历史行为数据可以包括但不限于针对广告、和广告相关的信息的操作行为、浏览行为等行为的数据,该行为例如但不限于包括点击广告的行为、浏览广告的行为、关闭广告的行为、通过广告中的链接购买对应的商品/服务的行为、通过广告中的链接下载应用程序或其他形式的软件的行为、浏览广告的时长、操作/浏览的广告的类型等,上述操作/浏览的广告的类型例如为电子设备记录的用户偏好的广告的类型,例如信息流广告、开屏广告或插播广告等类型。In the present application, the static characteristics of the user may include, but are not limited to, age, gender, city, type of electronic device used, user portrait, etc. The user's behavior data/historical behavior data may include, but are not limited to, data on operations and browsing behaviors for advertisements and information related to advertisements, such as, but not limited to, clicks on advertisements, browses advertisements, closes advertisements, purchases corresponding goods/services through links in advertisements, downloads applications or other forms of software through links in advertisements, duration of browsing advertisements, types of operated/browsed advertisements, etc. The types of operated/browsed advertisements are, for example, the types of advertisements preferred by the user recorded by the electronic device, such as information flow advertisements, opening screen advertisements, or interstitial advertisements.
其中,S201和S202-S203的顺序不作限定。The order of S201 and S202-S203 is not limited.
S204:电子设备100接收第一用户的第一操作。S204: The electronic device 100 receives a first operation of a first user.
在一种实施方式中,电子设备100可以接收第一操作,响应于第一操作,获取广告内容,第一操作可以理解为是广告投放/展示的触发操作。在一些示例中,图6所示的场景下,电子设备100可以接收用于刷新社交媒体应用的首页的用户操作,例如从上往下滑动的操作,响应于该用户操作(即第一操作),显示图6的(C)所示的用户界面630中的广告内容632。第一操作的示例也可参见图5的S104的说明。In one embodiment, the electronic device 100 may receive a first operation, and in response to the first operation, obtain advertising content, and the first operation may be understood as a triggering operation for advertising delivery/display. In some examples, in the scenario shown in FIG6 , the electronic device 100 may receive a user operation for refreshing the homepage of a social media application, such as a sliding operation from top to bottom, and in response to the user operation (i.e., the first operation), display the advertising content 632 in the user interface 630 shown in (C) of FIG6 . An example of the first operation may also be found in the description of S104 of FIG5 .
S205:电子设备100向网络设备300发送第二广告请求(携带第一用户的标识)。S205: The electronic device 100 sends a second advertisement request (carrying the identifier of the first user) to the network device 300.
在一种实施方式中,第二广告请求可以用于请求获取广告内容。第二广告请求可以携带第一用户的ID,第一用户的ID可以用于网络设备300确定对应的第一用户的静态特征和历史行为数据。In one implementation, the second advertisement request may be used to request to obtain advertisement content. The second advertisement request may carry the ID of the first user, and the ID of the first user may be used by the network device 300 to determine the corresponding static features and historical behavior data of the first user.
S206:网络设备300确定待展示的第二广告,并获取广告信息。S206: The network device 300 determines a second advertisement to be displayed, and obtains advertisement information.
在一种实施方式中,网络设备300可以根据预设规则从维护的多个广告中确定出待展示的第二广告,在一些示例中,网络设备300可以预先设置多个广告的展示顺序,按照该顺序确定待展示的广告,不限于此,在另一些示例中,预设规则的示例也可参见图5的S107的说明,本申请对预设规则的具体内容不作限定。在一些示例中,网络设备300可以根据第二广告的ID获取到第二广告的广告信息,广告信息可以包括广告的文本,以及图片、视频、链接等非文本的内容,广告的文本可以包括多个句子。In one implementation, the network device 300 may determine the second advertisement to be displayed from the maintained multiple advertisements according to a preset rule. In some examples, the network device 300 may pre-set the display order of multiple advertisements and determine the advertisement to be displayed according to the order. In other examples, examples of preset rules may also refer to the description of S107 of FIG. 5. The present application does not limit the specific content of the preset rules. In some examples, the network device 300 may obtain the advertisement information of the second advertisement according to the ID of the second advertisement. The advertisement information may include the text of the advertisement, as well as non-text content such as pictures, videos, and links. The text of the advertisement may include multiple sentences.
S207:网络设备300根据第一用户的标识获取第一用户的历史行为数据和静态特征。S207: The network device 300 obtains historical behavior data and static features of the first user according to the identifier of the first user.
在一种实施方式中,网络设备300可以根据第一用户的ID,从存储的至少一个用户的历史行为数据和静态特征中,确定出第一用户的历史行为数据和静态特征。In one implementation, the network device 300 may determine the historical behavior data and static features of the first user from the historical behavior data and static features of at least one user stored according to the ID of the first user.
其中,S206和S207的顺序不作限定。 The order of S206 and S207 is not limited.
S208:网络设备300使用长期兴趣模型对第一用户的历史行为数据、第一用户的静态特征和第二广告的广告信息进行处理,得到第二广告的第二文案。S208: The network device 300 uses the long-term interest model to process the historical behavior data of the first user, the static features of the first user, and the advertisement information of the second advertisement to obtain a second copy of the second advertisement.
在一种实施方式中,网络设备300可以将第一用户的历史行为数据、第一用户的静态特征和第二广告的广告信息中的文本作为长期兴趣模型的输入,获取输出:第二广告的第二文案。其中,广告信息中的文本可以包括以下至少一项:广告主输入的广告名称、主题、内容摘要、描述、广告文案(可称为离线广告文案),对广告的落地页进行爬虫后获得的文本。可选地,网络设备300可以基于第一用户的历史行为数据和静态特征,对离线广告文案进行修改/改写,以得到第二广告的第二文案。In one embodiment, the network device 300 may use the historical behavior data of the first user, the static features of the first user, and the text in the advertising information of the second advertisement as inputs to the long-term interest model, and obtain the output: the second copy of the second advertisement. The text in the advertising information may include at least one of the following: the advertisement name, theme, content summary, description, and advertising copy (which may be referred to as offline advertising copy) input by the advertiser, and the text obtained after crawling the landing page of the advertisement. Optionally, the network device 300 may modify/rewrite the offline advertising copy based on the historical behavior data and static features of the first user to obtain the second copy of the second advertisement.
S209:网络设备300向电子设备100发送第二文案。S209 : The network device 300 sends the second text to the electronic device 100 .
S210:电子设备100显示第二文案。S210: The electronic device 100 displays the second text.
在一种实施方式中,电子设备100向网络设备300发送第二广告请求后,可以接收网络设备300基于第二广告请求生成的广告文案(即第二文案),并显示第二文案。In one implementation, after sending the second advertisement request to the network device 300 , the electronic device 100 may receive the advertisement text (ie, the second text) generated by the network device 300 based on the second advertisement request, and display the second text.
图8所示方法的具体示例可参见图6,其中,第一用户的历史行为数据包括:用户点击图6的(A)所示的用户界面610中的广告文案614A和浏览对应的广告内容的行为,以及用户点击图6的(B)所示的用户界面620中的广告文案622A和浏览对应的广告内容的行为,第一用户的静态特征包括年龄30岁、性别为女、用户画像为时尚达人,电子设备100显示的网络设备300发送的“A牌遮阳帽”的广告内容可参见图6的(C)所示的用户界面630中的内容632,内容632中的广告文案632C为第二文案。A specific example of the method shown in Figure 8 can be found in Figure 6, wherein the historical behavior data of the first user includes: the user's behavior of clicking on the advertising copy 614A in the user interface 610 shown in Figure 6 (A) and browsing the corresponding advertising content, and the user's behavior of clicking on the advertising copy 622A in the user interface 620 shown in Figure 6 (B) and browsing the corresponding advertising content. The static characteristics of the first user include age 30, gender female, and user portrait of a fashion expert. The advertising content of "Brand A Sun Hat" sent by the network device 300 and displayed on the electronic device 100 can be found in content 632 in the user interface 630 shown in Figure 6 (C), and the advertising copy 632C in the content 632 is the second copy.
图8所示方法的具体示例也可参见图7,其中,第一用户的历史行为数据包括:用户点击图7的(A)所示的用户界面710中的广告文案713A和浏览对应的广告内容的行为,以及用户点击图7的(B)所示的用户界面720中的广告文案722A和浏览对应的广告内容的行为,第一用户的静态特征包括年龄50岁、性别为女、用户画像为实用型和性价比,电子设备100显示的网络设备300发送的“A牌遮阳帽”的广告内容可参见图7的(C)所示的用户界面730中的内容732,内容732中的广告文案732C为第二文案。A specific example of the method shown in Figure 8 can also be found in Figure 7, wherein the historical behavior data of the first user includes: the user's behavior of clicking on the advertising copy 713A in the user interface 710 shown in Figure 7 (A) and browsing the corresponding advertising content, and the user's behavior of clicking on the advertising copy 722A in the user interface 720 shown in Figure 7 (B) and browsing the corresponding advertising content. The static characteristics of the first user include age of 50, gender of female, user portrait of practicality and cost-effectiveness. The advertising content of "Brand A Sun Hat" sent by the network device 300 and displayed on the electronic device 100 can be found in content 732 in the user interface 730 shown in Figure 7 (C), and the advertising copy 732C in the content 732 is the second copy.
在一种实施方式中,S204-S210为在线操作,即用户实时执行触发操作后,会在线为用户推荐广告时执行的操作。In one implementation, S204 - S210 are online operations, that is, operations performed when an advertisement is recommended to the user online after the user performs a trigger operation in real time.
不限于图8所示的实施方式,在另一种实施方式中,也可以不获取第一用户的静态特征,并且,网络设备300使用长期兴趣模型对第一用户的历史行为数据和第二广告的广告信息中的文本进行处理,以得到第二广告的广告文案,并不包括处理第一用户的静态特征。Not limited to the implementation shown in Figure 8, in another implementation, the static features of the first user may not be obtained, and the network device 300 uses the long-term interest model to process the historical behavior data of the first user and the text in the advertising information of the second advertisement to obtain the advertising copy of the second advertisement, which does not include processing the static features of the first user.
在图8所示的方法中,网络设备300可以在接收到在线的第一用户的操作后,结合在线用户的静态特征和历史行为数据,基于第二广告的广告信息中的文本在线生成第二文案,上述静态特征和历史行为数据可以体现在线用户对文案类型/风格的偏好,而不是单纯地对不同用户进行分类,针对同一个广告给不同分类的用户推荐不同的广告文案(给同一分类的用户推荐相同的广告文案),分类不能体现同一场景下同一用户在不同时段的不同偏好,也不能体现不同场景下同一用户的不同偏好,而本申请得到的第二文案可以满足这些情况下用户对文案类型/风格的偏好,也可以满足不同用户在同一场景或不同场景下的不同偏好,提升了广告投放效率和用户体验感。In the method shown in FIG8 , after receiving the operation of the online first user, the network device 300 can generate the second copy online based on the text in the advertising information of the second advertisement in combination with the static features and historical behavior data of the online user. The above-mentioned static features and historical behavior data can reflect the online user's preference for the copy type/style, rather than simply classifying different users and recommending different advertising copies to users of different categories for the same advertisement (recommending the same advertising copy to users of the same category). Classification cannot reflect the different preferences of the same user at different time periods in the same scenario, nor can it reflect the different preferences of the same user in different scenarios. The second copy obtained in the present application can meet the user's preference for the copy type/style in these cases, and can also meet the different preferences of different users in the same scenario or different scenarios, thereby improving the efficiency of advertising delivery and user experience.
请参见图9,图9是本申请提供的一种模型训练过程的流程示意图。该方法可以是图8所示的S201的具体实现过程。该方法可以包括但不限于如下步骤:Please refer to Figure 9, which is a flow chart of a model training process provided by the present application. The method may be a specific implementation process of S201 shown in Figure 8. The method may include but is not limited to the following steps:
S301:网络设备300获取用户的静态特征。S301: The network device 300 obtains static characteristics of the user.
在一种实施方式中,网络设备300可以对广告平台积累的数据进行离线的挖掘和清洗,获取多个用户的静态特征,静态特征可以但不限于包括年龄、性别、城市、使用的电子设备的类型、用户画像(例如广告平台分析得到的)。In one embodiment, the network device 300 can perform offline mining and cleaning on the data accumulated by the advertising platform to obtain static features of multiple users. The static features may include but are not limited to age, gender, city, type of electronic device used, and user portrait (such as obtained through analysis by the advertising platform).
S302:网络设备300获取用户的历史行为数据。S302: The network device 300 obtains historical behavior data of the user.
在一种实施方式中,网络设备可以挖掘上述多个用户的历史行为数据,例如挖掘预设时长(例如30天)以内的历史行为数据。In one implementation, the network device may mine the historical behavior data of the above-mentioned multiple users, for example, mining the historical behavior data within a preset time period (for example, 30 days).
其中,S301和S302的顺序不作限定。The order of S301 and S302 is not limited.
在一种实施方式中,在S301和S302中获取到至少一个用户的静态特征和的历史行为数据后,可以基于这些数据训练用于广告文案生成的模型,即执行下述S303-S311。其中,这些数据可以用于构建文案生成信号和文案控制信号,文案生成信号是生成结果依赖的直接输入,文案控制信号是影响生成结果的间接输入模型,下述S303-S304可以用于构建文案控制信号,下述305可以用于构建文案生成信号。In one embodiment, after obtaining the static features and historical behavior data of at least one user in S301 and S302, the model for generating advertising copy can be trained based on these data, that is, the following S303-S311 is executed. Among them, these data can be used to construct copy generation signals and copy control signals. The copy generation signal is a direct input that the generation result depends on, and the copy control signal is an indirect input model that affects the generation result. The following S303-S304 can be used to construct the copy control signal, and the following 305 can be used to construct the copy generation signal.
为了方便说明,下述S303-S311以一个用户(假设为用户3)的静态特征和历史行为数据为例说明模 型训练过程。For the convenience of explanation, the following S303-S311 takes the static characteristics and historical behavior data of a user (assuming it is user 3) as an example to illustrate the model. Type training process.
S303:网络设备300基于用户的历史行为数据构造广告文案样本(包括下一跳样本和对应的历史样本)。S303: The network device 300 constructs an advertisement copy sample (including a next hop sample and a corresponding historical sample) based on the user's historical behavior data.
在一种实施方式中,网络设备300可以从用户3的历史行为数据中随机抽取一个用户3操作过的广告3的广告文案作为下一跳样本,并将用户3在操作下一跳样本之前操作过的至少一个广告文案均设为对应的历史样本(一个广告文案为一个历史样本),可以理解为是构造了<历史样本,下一跳样本>的数据对(即广告文案样本)。In one embodiment, the network device 300 can randomly extract an advertisement copy of an advertisement 3 operated by user 3 from the historical behavior data of user 3 as the next-hop sample, and set at least one advertisement copy operated by user 3 before operating the next-hop sample as the corresponding historical sample (one advertisement copy is one historical sample), which can be understood as constructing a data pair of <historical sample, next-hop sample> (i.e., an advertisement copy sample).
S304:网络设备300对用户的静态特征和广告文案样本进行编码得到文案控制信号。S304: The network device 300 encodes the user's static features and the advertisement text sample to obtain a text control signal.
在一种实施方式中,网络设备300可以对用户3的静态特征进行编码,并得到对应的向量表示(例如embedding矩阵)。网络设备300还可以对用户3的广告文案样本中每一个样本(即用户3操作过的广告文案)进行编码(例如使用Transformers Encoder进行序列编码),并得到对应的向量表示(例如多个样本对应的embedding序列)。然后,网络设备300可以对静态特征的向量表示和广告文案样本的向量表示进行融合(例如通过Cross Attention实现),得到一个新的向量表达(可称为文案控制信号)。可选地,文案控制信号可以作为Encoder的输出,送入解码器(Decoder)中处理,Decoder用于执行S310。In one embodiment, the network device 300 can encode the static features of user 3 and obtain the corresponding vector representation (e.g., an embedding matrix). The network device 300 can also encode each sample of the advertising copy sample of user 3 (i.e., the advertising copy operated by user 3) (e.g., using Transformers Encoder for sequence encoding) and obtain the corresponding vector representation (e.g., an embedding sequence corresponding to multiple samples). Then, the network device 300 can fuse the vector representation of the static features and the vector representation of the advertising copy sample (e.g., through Cross Attention) to obtain a new vector expression (which can be called a copy control signal). Optionally, the copy control signal can be sent to the decoder (Decoder) as the output of the Encoder for processing, and the Decoder is used to execute S310.
S305:网络设备300对离线广告文案和第一任务标记进行编码得到第一生成信号。S305: The network device 300 encodes the offline advertisement text and the first task mark to obtain a first generated signal.
在一种实施方式中,第一任务标记可以指示文本生成任务,离线广告文案可以包括离线生成的至少一个广告(例如下一跳样本对应的广告3)的广告文案,本申请对离线生成广告文案的具体方式不作限定。In one implementation, the first task tag may indicate a text generation task, and the offline advertising copy may include advertising copy of at least one advertisement generated offline (eg, advertisement 3 corresponding to the next hop sample). The present application does not limit the specific method of generating advertising copy offline.
在一些示例中,网络设备300可以使用Prompt范式,对离线广告文案和第一任务标记进行融合,然后对融合后的内容进行编码,并得到第一生成信号。In some examples, the network device 300 may use the Prompt paradigm to fuse the offline advertisement text and the first task tag, and then encode the fused content to obtain a first generated signal.
在一种实施方式中,网络设备300还可以获取第一生成信号以外的文案生成信号,例如执行S306-S307获取第二生成信号,和/或,执行S308-S309获取第三生成信号。In one implementation, the network device 300 may also obtain a text generation signal other than the first generation signal, for example, executing S306-S307 to obtain a second generation signal, and/or executing S308-S309 to obtain a third generation signal.
S306:网络设备300将下一跳样本设置为正样本,并获取对应的负样本。S306: The network device 300 sets the next hop sample as a positive sample, and obtains a corresponding negative sample.
在一种实施方式中,S306为可选的步骤。In one implementation, S306 is an optional step.
在一种实施方式中,网络设备300可以采用曝光采样的方式,将用户操作的下一跳样本作为正样本,以及将和下一跳样本属于同一个时间窗口内被曝光但未被用户操作的广告文案作为负样本,以构建用于模型训练的数据。In one embodiment, the network device 300 may adopt an exposure sampling method, taking the next-hop sample operated by the user as a positive sample, and taking the advertisement copy that is exposed in the same time window as the next-hop sample but not operated by the user as a negative sample, so as to construct data for model training.
S307:网络设备300对正样本/负样本和第二任务标记进行编码得到第二生成信号。S307: The network device 300 encodes the positive sample/negative sample and the second task label to obtain a second generated signal.
在一种实施方式中,S307为可选的步骤。In one implementation, S307 is an optional step.
在一种实施方式中,第二任务标记指示预测点击任务,即在当前操作广告文案的历史记录(即历史样本)的基础上,用户是否会点击下一跳样本,例如,正样本对应的训练目标为“正样本”(表征在历史样本的基础上,用户会点击正样本),负样本对应的训练目标为“负样本”(表征在历史样本的基础上,用户不会点击负样本)。网络设备300可以对正样本和第二任务标记进行编码,和/或,对负样本和第二任务标记进行编码,并得到第二生成信号。在一些示例中,网络设备300可以使用Prompt范式,对正样本/负样本和第二任务标记进行融合,然后对融合后的内容进行编码,并得到第二生成信号。In one embodiment, the second task tag indicates a predicted click task, that is, based on the historical record (i.e., historical sample) of the current operation advertisement copy, whether the user will click on the next jump sample. For example, the training target corresponding to the positive sample is a "positive sample" (characterized by the fact that the user will click on the positive sample based on the historical sample), and the training target corresponding to the negative sample is a "negative sample" (characterized by the fact that the user will not click on the negative sample based on the historical sample). The network device 300 can encode the positive sample and the second task tag, and/or encode the negative sample and the second task tag, and obtain a second generated signal. In some examples, the network device 300 can use the Prompt paradigm to fuse the positive sample/negative sample and the second task tag, and then encode the fused content to obtain a second generated signal.
S308:网络设备300对下一跳样本进行随机掩码。S308: The network device 300 performs random masking on the next hop sample.
在一种实施方式中,S308为可选的步骤。In one implementation, S308 is an optional step.
在一种实施方式中,网络设备300可以对下一跳样本的广告文案进行词粒度的随机掩码,例如使用特殊的<MASK>符号替换该广告文案中部分字/词,或者在该广告文案中添加特殊的<MASK>符号,并得到随机掩码后的下一跳样本。In one embodiment, the network device 300 can perform word-granular random masking on the advertisement text of the next-hop sample, such as using a special <MASK> symbol to replace some words/characters in the advertisement text, or adding a special <MASK> symbol to the advertisement text, and obtain the next-hop sample after random masking.
S309:网络设备300对随机掩码后的下一跳样本和第三任务标记进行编码得到第三生成信号。S309: The network device 300 encodes the randomly masked next hop sample and the third task tag to obtain a third generated signal.
在一种实施方式中,S309为可选的步骤。In one implementation, S309 is an optional step.
在一种实施方式中,第三任务标记指示文案恢复任务,即还原/恢复随机掩码后的下一跳样本,例如,原本下一跳样本的文案为“AABAB”,随机掩码后的下一跳样本的文案为“AA<MASK>AB”,训练目标是将“AA<MASK>AB”恢复为“AABAB”,其中,A和B均为文本分词的一个结果。在一些示例中,网络设备300可以使用Prompt范式,对随机掩码后的下一跳样本和第三任务标记进行融合,然后对融合后的内容进行编码,并得到第三生成信号。In one embodiment, the third task mark indicates a text recovery task, that is, restoring/recovering the next hop sample after random masking. For example, the original text of the next hop sample is "AABAB", and the text of the next hop sample after random masking is "AA<MASK>AB". The training goal is to restore "AA<MASK>AB" to "AABAB", where A and B are both a result of text segmentation. In some examples, the network device 300 can use the Prompt paradigm to fuse the next hop sample after random masking and the third task mark, and then encode the fused content to obtain a third generated signal.
S310:网络设备300采用非自回归的方式对输入信号进行解码,并得到预训练模型。S310: The network device 300 decodes the input signal in a non-autoregressive manner and obtains a pre-trained model.
在一种实施方式中,输入信号包括S304得到的文案控制信号和S305得到的第一生成信号,可选地还包括S307得到的第二生成信号,可选地还包括S309得到的第三生成信号。在一些示例中,网络设备300可以在基于控制生成的基础上采用非自回归的生成方式获取预训练模型,即Decoder采用全掩码的输入(例 如每个字/词语均用<MASK>符号代替)作为预留槽位,模型训练的目标是预测这些槽位上的字/词语,并且还需要预测特殊字符<EOS>,特殊字符<EOS>指示文案生成的结束位置。在一些示例中,网络设备300还可以采用Deep多层监督的训练方式,相比通常的Decoder由多个相同的网络层堆叠而成且监督信号只在最后一个网络层进行反向传播,Deep多层监督的训练方式会在每一个网络层的输出都添加监督信号进行反向传播,有效提升非自回归的生成精度。In one implementation, the input signal includes the text control signal obtained in S304 and the first generated signal obtained in S305, and optionally also includes the second generated signal obtained in S307, and optionally also includes the third generated signal obtained in S309. In some examples, the network device 300 can obtain the pre-trained model by using a non-autoregressive generation method based on the control generation, that is, the decoder uses a fully masked input (for example For example, each word/phrase is replaced by a <MASK> symbol) as a reserved slot, the goal of model training is to predict the words/phrases in these slots, and also to predict the special character <EOS>, which indicates the end position of the text generation. In some examples, the network device 300 can also adopt a Deep multi-layer supervised training method. Compared with the usual Decoder which is composed of multiple identical network layers stacked together and the supervisory signal is only back-propagated in the last network layer, the Deep multi-layer supervised training method adds a supervisory signal to the output of each network layer for back-propagation, effectively improving the non-autoregressive generation accuracy.
S311:网络设备300对预训练模型进行微调训练,得到长期兴趣模型。S311: The network device 300 performs fine-tuning training on the pre-trained model to obtain a long-term interest model.
在一种实施方式中,网络设备300可以利用众测平台,对广告文案样本进行人工校验、修正文案内容,并得到模型训练数据。然后,网络设备300可以根据该模型训练数据对预选连模型进行微调训练,微调训练是自然语言处理领域针对预训练模型迁移到下游任务进行适配的通用方法,通过微调可以充分地利用原预训练模型的能力,并使得当前模型更适合下游任务,提高对于下游任务的推理精度。微调训练得到的长期兴趣模型可以存储在网络设备300侧,以用于线上服务进行调用推理,例如实现图8所示的方法。In one embodiment, the network device 300 can use the crowd-testing platform to manually verify the advertising copy samples, correct the copy content, and obtain model training data. Then, the network device 300 can fine-tune the pre-selected model according to the model training data. Fine-tuning training is a general method in the field of natural language processing for adapting the pre-trained model to downstream tasks. Through fine-tuning, the capabilities of the original pre-trained model can be fully utilized, and the current model can be made more suitable for downstream tasks, thereby improving the reasoning accuracy of downstream tasks. The long-term interest model obtained by fine-tuning training can be stored on the network device 300 side for online service call reasoning, such as implementing the method shown in Figure 8.
不限于上述实施方式,在另一种实施方式中,S310的输入信号可以为第二生成信号和文案控制信号,此时得到的预训练模型可以用于实现第二任务标记指示的预测点击任务。在另一种实施方式中,S310的输入信号可以为第三生成信号和文案控制信号,此时得到的预训练模型可以用于实现第三任务标记指示的文案恢复任务。Not limited to the above implementation, in another implementation, the input signal of S310 may be a second generation signal and a text control signal, and the pre-trained model obtained at this time may be used to implement the predicted click task indicated by the second task mark. In another implementation, the input signal of S310 may be a third generation signal and a text control signal, and the pre-trained model obtained at this time may be used to implement the text recovery task indicated by the third task mark.
不限于图9所示的实施方式,在另一种实施方式中,S305中的离线广告文案也可以替换为广告信息中的其他文本,例如广告主输入的广告描述等文本。Not limited to the implementation shown in FIG. 9 , in another implementation, the offline advertisement text in S305 may also be replaced by other text in the advertisement information, such as the advertisement description input by the advertiser.
不限于图9所示的实施方式,在另一种实施方式中,也可以不获取用户的静态特征作为训练长期兴趣模型的数据。Not limited to the implementation shown in FIG. 9 , in another implementation, the user's static features may not be obtained as data for training the long-term interest model.
在图9所示的过程中,网络设备300可以结合用户的静态特征和用户的历史行为数据,进行文案层面的用户偏好的抽象提取,即通过预训练模型抽象用户历史的文案风格偏好,根据预训练模型得到的长期兴趣模型可以用于改写/生成符合用户历史的文案风格偏好的广告文案。并且,模型训练采用多层监督的方式构建非自回归生成,不仅提升了模型的精度,而且缓解了在线时延的压力。In the process shown in FIG9 , the network device 300 can combine the user's static features and the user's historical behavior data to abstractly extract the user's preferences at the copywriting level, that is, abstract the user's historical copywriting style preferences through the pre-trained model, and the long-term interest model obtained according to the pre-trained model can be used to rewrite/generate advertising copy that conforms to the user's historical copywriting style preferences. In addition, the model training adopts a multi-layer supervision method to construct non-autoregressive generation, which not only improves the accuracy of the model, but also alleviates the pressure of online delay.
场景3:用户1先使用电子设备100操作了多个广告文案,然后搜索关键词3,电子设备100可以显示和用户1的静态特征、关键词3、上述多个广告文案相关的广告文案,具体示例可参见下图10。Scenario 3: User 1 first uses electronic device 100 to operate multiple advertising copies, and then searches for keyword 3. Electronic device 100 can display advertising copies related to user 1’s static features, keyword 3, and the above multiple advertising copies. For specific examples, see Figure 10 below.
图10以商品“B牌手机”的广告投放场景为例进行说明,假设“B牌手机”的广告信息包括“B牌手机,全面屏,屏内指纹支持,多种配色,90Hz刷新率,1440Hz高频调光”,离线广告文案为“B牌手机,已支持屏内指纹,90Hz刷新率,1440Hz高频调光”,用户1的静态特征包括:年龄30岁、性别为女、用户画像为时尚达人,关键词3为“高性能的全面屏手机”。Figure 10 takes the advertising scenario of the product "Brand B mobile phone" as an example to illustrate. It is assumed that the advertising information of "Brand B mobile phone" includes "Brand B mobile phone, full screen, in-screen fingerprint support, multiple color schemes, 90Hz refresh rate, 1440Hz high-frequency dimming", and the offline advertising copy is "Brand B mobile phone, supports in-screen fingerprint, 90Hz refresh rate, 1440Hz high-frequency dimming", and the static features of user 1 include: age 30, gender is female, user portrait is a fashion expert, and keyword 3 is "high-performance full-screen mobile phone".
在一种实施方式中,如图10的(A)所示,电子设备100可以显示社交媒体应用的用户界面1010,用户界面1010可以为首页。用户界面1010可以包括搜索框1011、搜索控件1012和多个发布内容(例如内容1013和内容1014),搜索框1011可以用于输入搜索的关键词,搜索控件1012可以用于触发搜索和搜索框1011相关的发布内容。内容1014可以用于显示广告h的内容,可以包括广告文案1014A(即“M牌手表新出配色,还不行动吗”)。电子设备100可以接收用户1针对内容1014的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,显示广告h相关的内容(例如广告h对应的产品的购买页面,图10未示出),在上述过程中,用户1点击了广告h的广告文案1014A并且电子设备100展示了对应的广告内容。In one embodiment, as shown in (A) of FIG. 10 , the electronic device 100 may display a user interface 1010 of a social media application, and the user interface 1010 may be a home page. The user interface 1010 may include a search box 1011, a search control 1012, and multiple published contents (e.g., contents 1013 and 1014). The search box 1011 may be used to input search keywords, and the search control 1012 may be used to trigger a search for published contents related to the search box 1011. Content 1014 may be used to display the content of advertisement h, and may include advertisement copy 1014A (i.e., “M brand watches have new colors, why don’t you take action yet”). The electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 1014, and in response to the user operation, display content related to advertisement h (e.g., a purchase page of a product corresponding to advertisement h, not shown in FIG. 10 ). In the above process, user 1 clicks on advertisement copy 1014A of advertisement h and the electronic device 100 displays the corresponding advertisement content.
在一种实施方式中,如图10的(B)所示,社交媒体应用的用户界面1020可以包括搜索框1011、搜索控件1012和多个发布内容(例如内容1021和内容1022),用户界面1020和用户界面1010类似,区别在于,显示的发布内容不同。内容1022可以用于显示广告i的内容,可以包括广告文案1022A(即“秋季新款包包,紧跟潮流,不失个性”)。电子设备100可以接收用户1针对内容1022的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,显示广告i相关的内容(例如广告i对应的产品的购买页面,图10未示出),在上述过程中,用户1点击了广告i的广告文案1022A并且电子设备100展示了对应的广告内容。In one embodiment, as shown in (B) of FIG. 10 , the user interface 1020 of the social media application may include a search box 1011, a search control 1012, and multiple published contents (e.g., content 1021 and content 1022). The user interface 1020 is similar to the user interface 1010, except that the displayed published contents are different. Content 1022 may be used to display the content of advertisement i, and may include advertising copy 1022A (i.e., "New autumn bags, keep up with the trend, without losing individuality"). The electronic device 100 may receive a user operation (e.g., a touch operation, such as a click operation) of user 1 on content 1022, and in response to the user operation, display content related to advertisement i (e.g., a purchase page of a product corresponding to advertisement i, not shown in FIG. 10 ). In the above process, user 1 clicks on the advertising copy 1022A of advertisement i and the electronic device 100 displays the corresponding advertising content.
图10的(A)和图10的(B)所示的实施方式之后,电子设备100可以接收用户在搜索框1011中输入的关键词3“高性能的全面屏手机”,然后接收针对搜索控件1012的用户操作(例如为触摸操作,该触摸操作例如为点击操作),响应于该用户操作,电子设备100可以获取并显示和关键词3相关的发布内容(可以包括广告内容),具体示例可参见图10的(C)所示的用户界面1040。 After the implementation shown in (A) and (B) of Figure 10, the electronic device 100 can receive the keyword 3 "high-performance full-screen mobile phone" input by the user in the search box 1011, and then receive the user operation on the search control 1012 (for example, a touch operation, and the touch operation is, for example, a click operation). In response to the user operation, the electronic device 100 can obtain and display the published content related to the keyword 3 (which may include advertising content). For specific examples, see the user interface 1040 shown in (C) of Figure 10.
如图10的(C)所示,社交媒体应用的用户界面1040可以包括搜索框1011和多个发布内容(例如内容1041和内容1042),用户界面1040和用户界面1010类似,区别在于,显示的发布内容不同,并且,用户界面1040中的搜索框1011显示当前搜索的关键词3“高性能的全面屏手机”。内容1041可以为用户kkk发布的“你最期待的全面屏手机是什么呢”。内容1042可以用于显示广告j(即商品“B牌手机”的广告)的内容,可以包括广告厂商1042A(即“厂商jjj”)、广告指示1042B(即“广告”)、广告文案1042C(即“难以置信的强悍性能,不失个性的丰富配色,先进的屏内指纹识别,这就是B牌全面屏手机,只一眼,让你怦然心动,快快行动起来”)和广告视频1042D。As shown in (C) of FIG. 10 , the user interface 1040 of the social media application may include a search box 1011 and multiple published contents (e.g., content 1041 and content 1042). The user interface 1040 is similar to the user interface 1010, except that the displayed published contents are different, and the search box 1011 in the user interface 1040 displays the currently searched keyword 3 "high-performance full-screen mobile phone". Content 1041 may be "What is the full-screen mobile phone you are most looking forward to" published by user kkk. Content 1042 may be used to display the content of advertisement j (i.e., the advertisement of the product "B-brand mobile phone"), and may include an advertising manufacturer 1042A (i.e., "manufacturer jjj"), an advertising instruction 1042B (i.e., "advertisement"), an advertising copy 1042C (i.e., "incredibly powerful performance, rich color matching without losing individuality, advanced in-screen fingerprint recognition, this is the B-brand full-screen mobile phone, just one glance will make you excited, take action quickly") and an advertising video 1042D.
其中,图10的(C)所示的用户界面1040中的“B牌手机”的广告文案1042C可以是根据用户3搜索的关键词3、用户3对广告h的广告文案1014A和广告i的广告文案1022A的操作行为,生成的与用户搜索的关键词、用户历史行为相关的广告文案。相比“B牌手机”的离线广告文案“B牌手机,已支持屏内指纹,90Hz刷新率,1440Hz高频调光”,广告文案1042C包括:和用户3搜索的关键词3“高性能的全面屏手机”相关的文案片段“难以置信的强悍性能”和“全面屏”,也包括:和用户3的静态特征、用户历史操作的广告文案1014A、用户历史操作的广告文案1022A相关的文案片段“不失个性的丰富配色”和“只一眼,让你怦然心动,快快行动起来”。可选地,文案片段“不失个性的丰富配色”和“只一眼,让你怦然心动,快快行动起来”可以是根据长期兴趣挖掘的结果和长期兴趣引导的结果得到的,长期兴趣挖掘的结果可以是对用户的静态特征和用户历史操作的广告文案进行识别得到的标签:时尚、个性、潮流、新款,长期兴趣引导的结果可以是基于长期兴趣挖掘的结果从广告信息中找到的文案片段“多种配色”。也就是说,本申请可以结合用户的历史行为和用户搜索的关键词,在线生成/改写和推荐个性化的广告文案,实现在显式满足用户当前需求的基础上,推荐的广告文案的风格趋向用户偏好,从而提升用户操作该广告文案查看详细广告内容的概率,提升广告投放效率。Among them, the advertisement copy 1042C of "Brand B mobile phone" in the user interface 1040 shown in (C) of FIG10 may be an advertisement copy related to the keyword searched by the user and the user's historical behavior, generated according to the keyword 3 searched by the user 3, the user 3's operation behavior on the advertisement copy 1014A of advertisement h and the advertisement copy 1022A of advertisement i. Compared with the offline advertisement copy of "Brand B mobile phone" "Brand B mobile phone, supports in-screen fingerprint, 90Hz refresh rate, 1440Hz high-frequency dimming", the advertisement copy 1042C includes: the copy fragments "incredibly powerful performance" and "full screen" related to the keyword 3 "high-performance full-screen mobile phone" searched by the user 3, and also includes: the copy fragments "rich color matching without losing personality" and "only one glance will make you excited, take action quickly" related to the static characteristics of the user 3, the advertisement copy 1014A of the user's historical operation, and the advertisement copy 1022A of the user's historical operation. Optionally, the copy snippets "Rich colors without losing personality" and "Just one glance will make you excited and take action quickly" can be obtained based on the results of long-term interest mining and long-term interest guidance. The result of long-term interest mining can be the labels obtained by identifying the static characteristics of the user and the advertising copy of the user's historical operations: fashion, personality, trend, new style, and the result of long-term interest guidance can be the copy snippet "multiple colors" found from the advertising information based on the results of long-term interest mining. In other words, this application can combine the user's historical behavior and the keywords searched by the user to generate/rewrite and recommend personalized advertising copy online, so that the style of the recommended advertising copy tends to the user's preference on the basis of explicitly meeting the user's current needs, thereby increasing the probability of the user operating the advertising copy to view the detailed advertising content and improving the efficiency of advertising delivery.
请参见图11,图11是本申请提供的又一种广告文案生成方法的流程示意图。该方法可以包括但不限于如下步骤:Please refer to Figure 11, which is a flowchart of another method for generating advertising copy provided by the present application. The method may include but is not limited to the following steps:
S401:网络设备300根据离线收集的用户行为数据获取对应的短期兴趣。S401: The network device 300 obtains corresponding short-term interests based on user behavior data collected offline.
在一种实施方式中,S401为可选的步骤。在一种实施方式中,S401为离线操作,即在广告投放/展示之前执行的。在一种实施方式中,离线收集的用户行为数据可以包括至少一个广告的投放场景下用户的搜索行为(可以包括搜索的关键词)、曝光行为(例如包括曝光但未被点击的广告文案)和针对广告、和广告相关的信息的操作行为/浏览行为等行为,为了方便说明,后续以一个广告(假设为广告4)的投放场景下的用户行为数据为例进行说明。在一种实施方式中,离线收集的用户行为数据可以包括至少一个关键词,基于其中任意一个关键词,网络设备300可以从广告4的广告信息中抽取出和该关键词相关的文案片段,即针对广告4的短期兴趣,该过程和图5的S106-S110类似,不再赘述。In one embodiment, S401 is an optional step. In one embodiment, S401 is an offline operation, that is, it is performed before the advertisement is delivered/displayed. In one embodiment, the user behavior data collected offline may include the user's search behavior (which may include search keywords), exposure behavior (for example, including advertisement text that is exposed but not clicked) and operation behavior/browsing behavior for advertisements and advertisement-related information in at least one advertisement delivery scenario. For the convenience of explanation, the user behavior data in the delivery scenario of an advertisement (assuming it is advertisement 4) is used as an example for explanation. In one embodiment, the user behavior data collected offline may include at least one keyword. Based on any one of the keywords, the network device 300 can extract the copy fragment related to the keyword from the advertisement information of advertisement 4, that is, the short-term interest in advertisement 4. This process is similar to S106-S110 of Figure 5 and will not be repeated.
S402:网络设备300根据离线收集的用户行为数据获取对应的长期兴趣的训练数据。S402: The network device 300 obtains corresponding long-term interest training data based on the user behavior data collected offline.
在一种实施方式中,S402为可选的步骤。在一种实施方式中,S402为离线操作,即在广告投放/展示之前执行的。In one embodiment, S402 is an optional step. In one embodiment, S402 is an offline operation, that is, it is performed before advertisement delivery/display.
在一种实施方式中,S402中的离线收集的用户行为数据和S401中的离线收集的用户行为数据相同,针对这一份用户行为数据,网络设备300可以模拟线上用户请求广告内容的过程,构建广告4的投放场景下用户的静态特征和历史行为数据,即长期兴趣的训练数据。In one embodiment, the user behavior data collected offline in S402 is the same as the user behavior data collected offline in S401. For this set of user behavior data, the network device 300 can simulate the process of online users requesting advertising content, and construct the user's static characteristics and historical behavior data in the delivery scenario of advertisement 4, that is, training data of long-term interests.
其中,S401和S402的顺序不作限定。The order of S401 and S402 is not limited.
S403:网络设备300基于短期兴趣和长期兴趣的训练数据,训练得到长短期兴趣模型。S403: The network device 300 trains and obtains a short- and long-term interest model based on the training data of the short-term interest and the long-term interest.
在一种实施方式中,S403为可选的步骤。在一种实施方式中,S403为离线操作,即在广告投放/展示之前执行的。In one embodiment, S403 is an optional step. In one embodiment, S403 is an offline operation, that is, it is performed before advertisement delivery/display.
在一种实施方式中,网络设备300可以基于S401得到的短期兴趣和S402得到的长期兴趣的训练数据,进行长短期兴趣模型的训练,具体训练过程和图9所示的过程类似,区别在于,在S305中,还会使用S401得到的短期兴趣,在一些示例中,网络设备300可以使用Prompt范式,对S401得到的短期兴趣、广告4的离线广告文案和第一任务标记进行融合,然后对融合后的内容进行编码,并得到对应的文案生成信号。In one embodiment, the network device 300 can train the long-term and short-term interest models based on the training data of the short-term interest obtained in S401 and the long-term interest obtained in S402. The specific training process is similar to the process shown in Figure 9, except that in S305, the short-term interest obtained in S401 will also be used. In some examples, the network device 300 can use the Prompt paradigm to fuse the short-term interest obtained in S401, the offline advertising copy of advertisement 4, and the first task marker, and then encode the fused content to obtain the corresponding copy generation signal.
S404:电子设备100向网络设备300上传第一用户的历史行为数据和静态特征。S404: The electronic device 100 uploads the historical behavior data and static features of the first user to the network device 300.
S405:网络设备300获取第一用户的历史行为数据和静态特征。S405: The network device 300 obtains historical behavior data and static features of the first user.
S404-S405和图8的S202-S203类似,具体可参见图8的S202-S203的说明。S404-S405 are similar to S202-S203 in FIG. 8 , and please refer to the description of S202-S203 in FIG. 8 for details.
其中,S404-S405和S401-S403中任意一项的顺序不作限定。The order of any one of S404-S405 and S401-S403 is not limited.
S406:电子设备100获取第一用户输入的第二关键词。 S406: The electronic device 100 obtains the second keyword input by the first user.
在一种实施方式中,电子设备100接收第一用户的输入的第二关键词和对应的搜索请求,响应于该搜索请求,获取第二关键词,并获取和第二关键词相关的搜索结果,例如执行S407以获取相关的广告。在一些示例中,图10所示的场景下,电子设备100可以接收用户在图10的(C)所示的用户界面1030的搜索框1011中输入的关键词3“高性能的全面屏手机”,然后接收针对搜索控件1012的用户操作(可以理解为是接收搜索请求),响应于该用户操作,获取关键词3,并获取和关键词3相关的发布内容(包括广告内容)。In one embodiment, the electronic device 100 receives the second keyword and the corresponding search request input by the first user, and in response to the search request, obtains the second keyword, and obtains search results related to the second keyword, for example, executing S407 to obtain related advertisements. In some examples, in the scenario shown in FIG10 , the electronic device 100 can receive the keyword 3 "high-performance full-screen mobile phone" input by the user in the search box 1011 of the user interface 1030 shown in (C) of FIG10 , and then receives the user operation on the search control 1012 (which can be understood as receiving the search request), and in response to the user operation, obtains the keyword 3, and obtains the published content (including advertising content) related to the keyword 3.
S407:电子设备100向网络设备300发送第三广告请求(携带第二关键词和第一用户的ID)。S407: The electronic device 100 sends a third advertisement request (carrying the second keyword and the ID of the first user) to the network device 300.
在一种实施方式中,第三广告请求可以用于请求获取广告内容。第三广告请求可以携带第二关键词和第一用户的ID,第二关键词可以用于获取和第二关键词相关的广告内容,第一用户的ID可以用于网络设备300确定对应的第一用户的静态特征和历史行为数据。In one embodiment, the third advertisement request may be used to request to obtain advertisement content. The third advertisement request may carry the second keyword and the ID of the first user, the second keyword may be used to obtain advertisement content related to the second keyword, and the ID of the first user may be used by the network device 300 to determine the static features and historical behavior data of the corresponding first user.
S408:网络设备300确定待展示的第三广告,并获取广告信息。S408: The network device 300 determines a third advertisement to be displayed, and obtains advertisement information.
在一种实施方式中,网络设备300可以使用第二关键词从多个广告中进行召回和排序,以获取和第二关键词相关的第三广告。在一些示例中,网络设备300可以根据第三广告的ID获取到第三广告的广告信息,广告信息可以包括广告的文本,以及图片、视频、链接等非文本的内容,广告的文本可以包括多个句子。In one implementation, the network device 300 may use the second keyword to recall and sort from multiple advertisements to obtain a third advertisement related to the second keyword. In some examples, the network device 300 may obtain the advertisement information of the third advertisement according to the ID of the third advertisement. The advertisement information may include the text of the advertisement, as well as non-text content such as pictures, videos, and links. The text of the advertisement may include multiple sentences.
S409:网络设备300获取第一用户针对第三广告的短期兴趣。S409: The network device 300 obtains the first user's short-term interest in the third advertisement.
在一种实施方式中,网络设备300可以从第三广告的广告信息中抽取出和第二关键词相关的文案片段,即第一用户针对第三广告的短期兴趣,该过程和图5的S106-S110类似,不再赘述。In one implementation, the network device 300 can extract text segments related to the second keyword from the advertising information of the third advertisement, that is, the first user's short-term interest in the third advertisement. This process is similar to S106-S110 of FIG. 5 and will not be described in detail.
S410:网络设备300根据第一用户的ID获取第一用户的历史行为数据和静态特征。S410: The network device 300 obtains historical behavior data and static features of the first user according to the ID of the first user.
S410和图8的S207类似,具体可参见图8的S207的说明。S410 is similar to S207 in FIG. 8 , and details may refer to the description of S207 in FIG. 8 .
其中,S410和S408、S409的顺序不作限定。The order of S410, S408 and S409 is not limited.
S411:网络设备300使用长短期兴趣模型对第一用户的历史行为数据、第一用户的静态特征、第一用户的短期兴趣和第三广告的广告信息进行处理,得到第三广告的第三文案。S411: The network device 300 uses the long-term and short-term interest model to process the historical behavior data of the first user, the static characteristics of the first user, the short-term interests of the first user, and the advertisement information of the third advertisement to obtain a third copy of the third advertisement.
在一种实施方式中,网络设备300可以将第一用户的历史行为数据、第一用户的静态特征、第一用户针对第二广告的短期兴趣和第三广告的广告信息中的文本作为长短兴趣模型的输入,获取输出:第三广告的第三文案。其中,广告信息中的文本的说明可参见图8的S208的说明。可选地,网络设备300可以基于第一用户的历史行为数据、第一用户的静态特征以及第一用户针对第二广告的短期兴趣,对离线广告文案进行修改/改写,以得到第三广告的第三文案。In one embodiment, the network device 300 may use the historical behavior data of the first user, the static characteristics of the first user, the short-term interest of the first user in the second advertisement, and the text in the advertisement information of the third advertisement as inputs of the long-short interest model, and obtain the output: the third copy of the third advertisement. For the description of the text in the advertisement information, please refer to the description of S208 of FIG. 8. Optionally, the network device 300 may modify/rewrite the offline advertisement copy based on the historical behavior data of the first user, the static characteristics of the first user, and the short-term interest of the first user in the second advertisement to obtain the third copy of the third advertisement.
S412:网络设备300向电子设备100发送第三文案。S412 : The network device 300 sends the third text to the electronic device 100 .
S413:电子设备100显示第三文案。S413: The electronic device 100 displays the third text.
在一种实施方式中,电子设备100向网络设备300发送第三广告请求后,可以接收网络设备300基于第三广告请求生成的广告文案(即第三文案),并显示第三文案。In one implementation, after sending the third advertisement request to the network device 300 , the electronic device 100 may receive the advertisement text (ie, the third text) generated by the network device 300 based on the third advertisement request, and display the third text.
图11所示方法的具体示例可参见图10,其中,第二关键词为关键词3“高性能的全面屏手机”,第一用户的历史行为数据包括:用户点击图10的(A)所示的用户界面1010中的广告文案1014A和浏览对应的广告内容的行为,以及用户点击图10的(B)所示的用户界面1020中的广告文案1022A和浏览对应的广告内容的行为,第一用户的静态特征包括年龄30岁、性别为女、用户画像为时尚达人,电子设备100显示的网络设备300发送的“B牌手机”的广告内容可参见图10的(C)所示的用户界面1040中的内容1042,内容1042中的广告文案1042C为第三文案。A specific example of the method shown in Figure 11 can be found in Figure 10, wherein the second keyword is keyword 3 "high-performance full-screen mobile phone", and the historical behavior data of the first user includes: the user's behavior of clicking on the advertising copy 1014A in the user interface 1010 shown in Figure 10 (A) and browsing the corresponding advertising content, and the user's behavior of clicking on the advertising copy 1022A in the user interface 1020 shown in Figure 10 (B) and browsing the corresponding advertising content. The static characteristics of the first user include age 30, gender female, and user portrait of a fashion expert. The advertising content of "Brand B mobile phone" sent by the network device 300 and displayed on the electronic device 100 can be found in content 1042 in the user interface 1040 shown in Figure 10 (C), and the advertising copy 1042C in the content 1042 is the third copy.
在一种实施方式中,S406-S413为在线操作,即用户实时执行触发操作后,会在线为用户推荐广告时执行的操作。In one implementation, S406-S413 are online operations, that is, operations performed when an advertisement is recommended to the user online after the user performs a trigger operation in real time.
不限于图11所示的实施方式,在另一种实施方式中,也可以不获取第一用户的静态特征,并且,网络设备300使用长短期兴趣模型对第一用户的历史行为数据、第一用户针对第三广告的短期兴趣和第二广告的广告信息中的文本进行处理,以得到第三广告的广告文案,并不包括处理第一用户的静态特征。Not limited to the implementation shown in Figure 11, in another implementation, the static features of the first user may not be obtained, and the network device 300 uses the long-term and short-term interest models to process the historical behavior data of the first user, the first user's short-term interest in the third advertisement, and the text in the advertising information of the second advertisement to obtain the advertising copy of the third advertisement, and does not include processing the static features of the first user.
在图11所示的方法中,网络设备300可以基于用户在线搜索的关键词、在线用户的静态特征和历史行为数据,基于第三广告的广告信息中的文本在线生成第三文案,第三广告不仅能满足用户当前的需求(可通过关键词体现),而且能满足在线用户对文案类型/风格的偏好(可通过历史行为数据体现),有效提升了用户操作广告文案查看详细广告内容的概率,提升广告投放效率和效果,也提升了用户体验。In the method shown in FIG. 11 , the network device 300 can generate a third copy online based on the text in the advertising information of the third advertisement based on the keywords searched online by the user, the static features of the online user, and the historical behavior data. The third advertisement can not only meet the current needs of the user (which can be reflected by keywords), but also meet the online user's preference for the copy type/style (which can be reflected by historical behavior data), effectively improving the probability of the user operating the advertising copy to view detailed advertising content, improving the efficiency and effectiveness of advertising delivery, and also improving the user experience.
场景4:广告主1可以在电子设备400上输入投放广告1的配置内容,具体示例可参见下图12A和图 12B,电子设备400可以将接收到的配置内容上传至网络设备300,以使网络设备300可以根据该配置内容实现广告1的投放。Scenario 4: Advertiser 1 can input configuration content for placing advertisement 1 on electronic device 400. For specific examples, see FIG. 12A and FIG. 12B, the electronic device 400 can upload the received configuration content to the network device 300, so that the network device 300 can implement the delivery of advertisement 1 according to the configuration content.
图12A示例性示出一种广告配置界面的示意图。FIG. 12A is a schematic diagram showing an exemplary advertisement configuration interface.
如图12A所示,电子设备400可以显示用户界面1210,用户界面1210可以用于广告主进行广告名称、广告主题、广告分类、广告标签、广告内容摘要、广告统一资源定位符(uniform resource locator,URL)地址、广告描述、在线个性化文案等选项的设置,即用户界面1210为广告配置界面。其中,广告分类选项例如为图12A所示,包括“新闻”、“科技”、“社会”、“娱乐”、“教育”、“财经”、“体育”、“房产”、“游戏”、“商业”、“汽车”等选项中的一个或多个。广告标签选项例如为图12A所示,包括“地域”、“用户的性别”、“用户的年龄”、“用户使用的设备”、“联网方式”等选项中的一个或多个。广告URL地址可以为广告的落地页的地址,可以用于爬虫以获取广告信息。广告描述选项可以用于输入广告的文字描述。在线个性化文案选项可以包括针对在线个性化文案功能的开启选项和关闭选项,在线个性化文案功能用于根据用户搜索的关键词和/或用户的历史行为数据生成广告文案,并投放该广告文案。在一些示例中,假设广告主向网络设备300投放用于推广商品“A牌遮阳帽”的广告时,广告主可以在电子设备100的广告配置界面上进行图12A所示设置。如图12A所示,广告主可以根据商品“A牌遮阳帽”的实际情况,编辑:广告名称如“A牌遮阳帽的广告ID”、广告主题如“实用潮流”、广告分类如“社会”、广告内容摘要如“优质面料制成”、广告描述如“超实用的夏季遮阳帽,由优质面料制成,能够有效防止紫外线入侵,还您清爽夏天,潮流达人必选的遮阳帽,款式新颖,颜色丰富,展露您的帅气”。广告主也可以根据商品“A牌遮阳帽”的主要受众人群和/或目标投放人群在广告配置界面上设置关于地域(如不限地域)、性别(如不限性别)、年龄(如不限年龄)、所使用的设备(如不限定设备)等标签。广告主也可以自行编辑广告内容在广告服务器上的URL地址,如“https://ad_platform_server/ad/video1.mp4”。广告主还可以操作在线个性化文案选项的开启选项,以开启在线个性化文案功能。在一些示例中,电子设备400将广告主设置的图12A所示的配置内容(即上述示例的配置内容)上传至网络设备300后,网络设备300可以从多个维度(例如广告名称、广告主题、广告内容摘要、广告URL地址、广告描述)获取“A牌遮阳帽”的广告信息,以用于广告投放。并且,由于广告主开启了在线个性化文案功能,因此网络设备300会根据用户搜索的关键词和/或用户的历史行为数据,在线生成和推荐个性化的“A牌遮阳帽”的广告文案,具体过程可参见图5、图8、图11所示的广告投放方法。As shown in FIG. 12A , the electronic device 400 may display a user interface 1210. The user interface 1210 may be used by advertisers to set options such as advertisement name, advertisement theme, advertisement classification, advertisement label, advertisement content summary, advertisement uniform resource locator (URL) address, advertisement description, and online personalized copy. That is, the user interface 1210 is an advertisement configuration interface. Among them, the advertisement classification option is shown in FIG. 12A , for example, including one or more of the options such as “news”, “technology”, “society”, “entertainment”, “education”, “finance”, “sports”, “real estate”, “game”, “business”, and “car”. The advertisement label option is shown in FIG. 12A , for example, including one or more of the options such as “region”, “user’s gender”, “user’s age”, “device used by the user”, and “network connection method”. The advertisement URL address may be the address of the landing page of the advertisement, which may be used for crawlers to obtain advertisement information. The advertisement description option may be used to input a text description of the advertisement. The online personalized copy option may include an on option and an off option for the online personalized copy function. The online personalized copy function is used to generate advertisement copy according to the keywords searched by the user and/or the user’s historical behavior data, and deliver the advertisement copy. In some examples, assuming that an advertiser places an advertisement for promoting the product "Brand A sun hat" to the network device 300, the advertiser can make the settings shown in Figure 12A on the advertisement configuration interface of the electronic device 100. As shown in Figure 12A, the advertiser can edit the following according to the actual situation of the product "Brand A sun hat": advertisement name such as "Advertisement ID of Brand A sun hat", advertisement theme such as "Practical and trendy", advertisement classification such as "Society", advertisement content summary such as "Made of high-quality fabrics", advertisement description such as "Super practical summer sun hat, made of high-quality fabrics, can effectively prevent ultraviolet invasion, and give you a refreshing summer. The sun hat that must be chosen by trendsetters has novel styles and rich colors to show your handsomeness". The advertiser can also set labels such as region (such as unlimited region), gender (such as unlimited gender), age (such as unlimited age), and the device used (such as unlimited device) on the advertisement configuration interface according to the main audience group and/or target delivery group of the product "Brand A sun hat". Advertisers can also edit the URL address of the advertising content on the advertising server, such as "https://ad_platform_server/ad/video1.mp4". Advertisers can also operate the opening option of the online personalized copy option to turn on the online personalized copy function. In some examples, after the electronic device 400 uploads the configuration content shown in Figure 12A set by the advertiser (i.e., the configuration content of the above example) to the network device 300, the network device 300 can obtain the advertising information of "Brand A Sun Hat" from multiple dimensions (such as advertisement name, advertisement theme, advertisement content summary, advertisement URL address, advertisement description) for advertising delivery. In addition, since the advertiser has turned on the online personalized copy function, the network device 300 will generate and recommend personalized "Brand A Sun Hat" advertising copy online based on the keywords searched by the user and/or the user's historical behavior data. The specific process can be seen in the advertising delivery method shown in Figures 5, 8, and 11.
在另一些实施例中,广告主也可以不开启在线个性化文案功能,例如,广告主操作图12A所示的用户界面1210中在线个性化文案选项的关闭选项,或者,在线个性化文案功能默认为关闭状态,广告主不操作图12A所示的用户界面1210中在线个性化文案选项的开启选项。在这种情况下,网络设备可以为当前广告的主要受众人群和/或目标投放人群推荐离线生成好的广告文案,例如图12A所示的用户界面1210中的广告名称、广告主题、广告分类、广告内容摘要、广告内容摘要、广告描述等文本中的至少一个句子,网络设备还可以推荐非文本的广告内容,例如用户基于图12A所示的用户界面1210上传的图片、视频、链接(例如广告URL地址)等。In other embodiments, the advertiser may not enable the online personalized copy function, for example, the advertiser operates the closing option of the online personalized copy option in the user interface 1210 shown in FIG12A, or the online personalized copy function is closed by default, and the advertiser does not operate the opening option of the online personalized copy option in the user interface 1210 shown in FIG12A. In this case, the network device may recommend offline generated good advertisement copy for the main audience group and/or the target delivery group of the current advertisement, such as at least one sentence in the text such as the advertisement name, advertisement theme, advertisement category, advertisement content summary, advertisement content summary, advertisement description, etc. in the user interface 1210 shown in FIG12A. The network device may also recommend non-text advertisement content, such as pictures, videos, links (such as advertisement URL addresses), etc. uploaded by the user based on the user interface 1210 shown in FIG12A.
图12B示例性示出又一种广告配置界面的示意图。如图12B所示,电子设备400可以显示用户界面1220,用户界面1220和图12A所示的用户界面1210类似,区别在于,用户界面1220还可以用于广告主进行在线个性化文案投放概率的设置。在一些示例中,假设广告主向网络设备300投放用于推广商品“A牌遮阳帽”的广告时,广告主可以在电子设备100的广告配置界面上进行图12B所示设置,广告主通过在线个性化文案选项的开启选项开启在线个性化文案功能后,还可以设置在线个性化文案投放概率,该概率可以指示投放的“A牌遮阳帽”的个性化广告文案数量占投放的“A牌遮阳帽”的全部广告文案数量的比例,个性化广告文案即根据用户搜索的关键词和/或用户的历史行为数据生成的广告文案,该概率的取值为(0%,100%](当该概率为100%时,表征投放的“A牌遮阳帽”的广告文案均为个性化广告文案),广告主例如将该概率设置为“30%”。在一些示例中,电子设备400将广告主设置的图12B所示的配置内容(即上述示例的配置内容)上传至网络设备300后,网络设备300后续每次为在线用户推荐“A牌遮阳帽”的广告文案时,可以根据在线个性化文案投放概率,确定是否投放个性化广告文案。FIG12B exemplarily shows a schematic diagram of another advertisement configuration interface. As shown in FIG12B , the electronic device 400 may display a user interface 1220. The user interface 1220 is similar to the user interface 1210 shown in FIG12A , except that the user interface 1220 may also be used by the advertiser to set the probability of online personalized copy delivery. In some examples, assuming that the advertiser delivers an advertisement for promoting the product “Brand A sun hat” to the network device 300, the advertiser may perform the settings shown in FIG12B on the advertisement configuration interface of the electronic device 100. After the advertiser turns on the online personalized copy function by clicking the “On” option of the online personalized copy option, the advertiser may also set the probability of online personalized copy delivery. The probability may indicate the proportion of the number of personalized advertisements for “Brand A sun hat” delivered to the total number of advertisements for “Brand A sun hat” delivered. The personalized advertisements are determined based on the keywords searched by the user and/or the user’s historical behavior data. According to the generated advertising copy, the value of the probability is (0%, 100%] (when the probability is 100%, the advertising copy representing the “Brand A Sun Hat” delivered is all personalized advertising copy), and the advertiser sets the probability to “30%”, for example. In some examples, after the electronic device 400 uploads the configuration content shown in FIG. 12B set by the advertiser (i.e., the configuration content of the above example) to the network device 300, the network device 300 can determine whether to deliver personalized advertising copy each time it recommends the advertising copy of “Brand A Sun Hat” to online users. According to the probability of online personalized copy delivery.
请参见图13,图13是本申请提供的一种广告投放方法的流程示意图。该方法可以包括但不限于如下步骤:Please refer to Figure 13, which is a flowchart of an advertisement delivery method provided by the present application. The method may include but is not limited to the following steps:
S501:网络设备300获取第一广告主输入的投放第四广告的配置内容。S501: The network device 300 obtains configuration content for placing a fourth advertisement input by a first advertiser.
在一种实施方式中,第一广告主的电子设备接收到第一广告主输入的投放第四广告的配置内容后,可以向网络设备300发送该配置内容,该电子设备可以提供广告配置界面给第一广告主进行投放第四广告的 配置。在另一种实施方式中,网络设备300可以接收第一广告主输入的投放第四广告的配置内容,网络设备300可以提供广告配置界面给第一广告主进行投放第四广告的配置。广告配置界面的示例可参见图12A和图12B。In one embodiment, after receiving the configuration content of placing the fourth advertisement input by the first advertiser, the electronic device of the first advertiser can send the configuration content to the network device 300, and the electronic device can provide an advertisement configuration interface for the first advertiser to place the fourth advertisement. In another embodiment, the network device 300 may receive the configuration content of the fourth advertisement delivered by the first advertiser, and the network device 300 may provide an advertisement configuration interface for the first advertiser to configure the fourth advertisement delivery. Examples of the advertisement configuration interface may be seen in FIG. 12A and FIG. 12B.
在一种实施方式中,投放第四广告的配置内容可以包括在线个性化文案功能是否开启的第一指示信息,可选地以及在线个性化文案的投放概率。在一种情况下,在线个性化文案的投放概率是第一广告主的电子设备根据接收到的第一广告主的用户操作得到的,即第一广告主手动输入的,在另一种情况下,若第一广告主的电子设备未接收到第一广告主手动输入的投放概率,则该电子设备可以使用预设的概率作为在线个性化文案的投放概率。In one embodiment, the configuration content for delivering the fourth advertisement may include first indication information of whether the online personalized copy function is turned on, and optionally, a delivery probability of the online personalized copy. In one case, the delivery probability of the online personalized copy is obtained by the electronic device of the first advertiser according to a received user operation of the first advertiser, that is, manually input by the first advertiser. In another case, if the electronic device of the first advertiser does not receive the delivery probability manually input by the first advertiser, the electronic device may use a preset probability as the delivery probability of the online personalized copy.
S502:线上投放第四广告时,网络设备300根据投放第四广告的配置内容确定是否进行个性化广告文案的生成。S502: When the fourth advertisement is delivered online, the network device 300 determines whether to generate personalized advertisement text according to the configuration content of the fourth advertisement.
在一种实施方式中,用户使用的电子设备接收到用户的触发操作后,可以向网络设备300发送广告请求,以获取广告内容,具体示例可参见图5的S104-S105、图8的S204-S205、图11的S406-S407。网络设备300接收到广告请求后,若确定待展示的广告为第四广告,可以根据投放第四广告的配置内容确定是否针对第四广告进行个性化广告文案的生成,网络设备300确定待展示的广告的示例可参见图5的S107、图8的S206、图11的S408。In one embodiment, after receiving the user's trigger operation, the electronic device used by the user may send an advertisement request to the network device 300 to obtain the advertisement content. For specific examples, see S104-S105 of FIG. 5, S204-S205 of FIG. 8, and S406-S407 of FIG. 11. After receiving the advertisement request, if the network device 300 determines that the advertisement to be displayed is the fourth advertisement, it may determine whether to generate personalized advertisement copy for the fourth advertisement according to the configuration content of the fourth advertisement. For examples of the network device 300 determining the advertisement to be displayed, see S107 of FIG. 5, S206 of FIG. 8, and S408 of FIG. 11.
在一种实施方式中,投放第四广告的配置内容中的第一指示信息指示在线个性化文案功能已开启,并且该配置内容包括在线个性化文案的投放概率,网络设备300可以根据该投放概率确定是否针对当前的第四广告进行个性化广告文案的生成,若结果为是,网络设备300执行S503,若结果为否,网络设备300执行S504。不限于此,在另一种实施方式中,投放第四广告的配置内容包括指示在线个性化文案功能已开启的第一指示信息,但不包括在线个性化文案的投放概率,网络设备300可以使用预设的概率作为在线个性化文案的投放概率。In one embodiment, the first indication information in the configuration content for placing the fourth advertisement indicates that the online personalized copy function has been turned on, and the configuration content includes the delivery probability of the online personalized copy. The network device 300 can determine whether to generate personalized advertisement copy for the current fourth advertisement according to the delivery probability. If the result is yes, the network device 300 executes S503, and if the result is no, the network device 300 executes S504. Not limited to this, in another embodiment, the configuration content for placing the fourth advertisement includes the first indication information indicating that the online personalized copy function has been turned on, but does not include the delivery probability of the online personalized copy. The network device 300 can use the preset probability as the delivery probability of the online personalized copy.
S503:网络设备300获取第四广告的个性化广告文案。S503: The network device 300 obtains the personalized advertisement text of the fourth advertisement.
在一种实施方式中,网络设备300可以生成第四广告的个性化广告文案,具体示例可参见图5的S106-S111、图8的S206-S208、图11的S408-S411。然后,网络设备300可以将该广告文案发送至用户的电子设备显示,具体示例可参见图5的S112-S113、图8的S209-S210、图11的S412-S413。In one implementation, the network device 300 may generate personalized advertisement text for the fourth advertisement, for which specific examples may be found in S106-S111 of FIG. 5 , S206-S208 of FIG. 8 , and S408-S411 of FIG. 11 . Then, the network device 300 may send the advertisement text to the user's electronic device for display, for which specific examples may be found in S112-S113 of FIG. 5 , S209-S210 of FIG. 8 , and S412-S413 of FIG. 11 .
S504:网络设备300获取第四广告的离线广告文案。S504: The network device 300 obtains an offline advertisement text of the fourth advertisement.
在一种实施方式中,第四广告的离线广告文案是提前/离线生成好的,本申请对具体生成方式不作限定,网络设备300可以获取第四广告的离线广告文案,例如从存储器中获取,并将该广告文案发送至用户的电子设备显示,例如,电子设备可以显示图12A和图12B所示的广告配置界面中广告主上传的文本和/或图片、视频、连接等非文本的内容。In one embodiment, the offline advertising copy of the fourth advertisement is generated in advance/offline. This application does not limit the specific generation method. The network device 300 can obtain the offline advertising copy of the fourth advertisement, for example, from a memory, and send the advertising copy to the user's electronic device for display. For example, the electronic device can display the text and/or non-text content such as pictures, videos, links, etc. uploaded by the advertiser in the advertising configuration interface shown in Figures 12A and 12B.
在图13所示的方法中,广告主可以自行设置投放广告的配置内容,可以选择是否开启或关闭在线个性化文案功能,以及设置在线个性化文案的投放概率,后续可以根据线上用户的真实反馈确认在线个性化文案功能对广告投放效率的提升,确认其有效性和实用性,提升广告主的体验。In the method shown in FIG. 13 , advertisers can set the configuration content of the advertisement delivery by themselves, can choose whether to turn on or off the online personalized copy function, and can set the delivery probability of the online personalized copy. Subsequently, they can confirm the improvement of the advertisement delivery efficiency by the online personalized copy function based on the real feedback from online users, confirm its effectiveness and practicality, and enhance the advertiser's experience.
本申请各实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机可以存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,DWD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD)等。以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 In the methods provided in the embodiments of the present application, all or part of them can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of them can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)). As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application is described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (19)

  1. 一种广告文案生成方法,其特征在于,应用于网络设备,所述方法包括:A method for generating advertisement copy, characterized in that it is applied to a network device, and the method comprises:
    获取第一对象的第一广告信息,所述第一广告信息包括第一文案;Acquire first advertisement information of a first object, wherein the first advertisement information includes a first copy;
    获取第一设备发送的第一广告请求,从所述第一广告请求中获取第一关键词和第二关键词;Obtaining a first advertisement request sent by a first device, and obtaining a first keyword and a second keyword from the first advertisement request;
    根据所述第一关键词确定所述第一广告信息;determining the first advertisement information according to the first keyword;
    根据所述第一关键词、所述第二关键词以及所述第一文案确定第二文案;Determine a second copy according to the first keyword, the second keyword, and the first copy;
    向所述第一设备发送第一响应信息,所述第一响应信息包括所述第二文案,所述第一响应信息用于指示所述第一设备显示所述第二文案。A first response message is sent to the first device, where the first response message includes the second text, and the first response message is used to instruct the first device to display the second text.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:
    获取第一设备发送的第二广告请求,从所述第二广告请求中获取所述第一关键词和第三关键词;Obtaining a second advertisement request sent by the first device, and obtaining the first keyword and the third keyword from the second advertisement request;
    根据所述第一关键词确定所述第一广告信息;determining the first advertisement information according to the first keyword;
    根据所述第一关键词、所述第三关键词以及所述第一文案确定第三文案;Determine a third copy according to the first keyword, the third keyword and the first copy;
    向所述第一设备发送第二响应信息,所述第二响应信息包括所述第三文案,所述第二响应信息用于指示所述第一设备显示所述第三文案。Sending a second response message to the first device, where the second response message includes the third text, and the second response message is used to instruct the first device to display the third text.
  3. 如权利要求1或2所述的方法,其特征在于,所述第一广告信息包括以下至少一项:所述第一对象的第一图片、第一视频、第一链接,所述第一响应信息还包括以下至少一项:所述第一图片、所述第一视频、所述第一链接。The method according to claim 1 or 2 is characterized in that the first advertising information includes at least one of the following: a first picture, a first video, and a first link of the first object, and the first response information also includes at least one of the following: the first picture, the first video, and the first link.
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述第二文案包括第一语句,所述第一文案包括所述第一语句,所述第一语句和所述第二关键词相关联。The method according to any one of claims 1 to 3, characterized in that the second copy includes a first sentence, the first copy includes the first sentence, and the first sentence is associated with the second keyword.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述第二文案包括第二语句,所述第一文案不包括所述第二语句,所述第二语句和所述第二关键词相关联。The method according to any one of claims 1 to 4, characterized in that the second copy includes a second sentence, the first copy does not include the second sentence, and the second sentence is associated with the second keyword.
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述第一广告请求包括第一用户的标识;所述方法还包括:根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据;The method according to any one of claims 1 to 5, characterized in that the first advertisement request includes an identifier of a first user; the method further comprises: acquiring feature information and/or historical behavior data of the first user according to the identifier of the first user;
    所述根据所述第一关键词、所述第二关键词以及所述第一文案确定第二文案,包括:根据所述第一关键词、所述第二关键词、所述第一文案,以及所述第一用户的特征信息和/或历史行为数据确定所述第二文案。Determining the second copy based on the first keyword, the second keyword and the first copy includes: determining the second copy based on the first keyword, the second keyword, the first copy, and characteristic information and/or historical behavior data of the first user.
  7. 如权利要求6所述的方法,其特征在于,所述获取第一设备发送的第一广告请求之前,所述方法还包括:获取与所述第一用户的标识相关的特征信息和/或历史行为数据。The method as claimed in claim 6 is characterized in that before obtaining the first advertisement request sent by the first device, the method further includes: obtaining characteristic information and/or historical behavior data related to the identifier of the first user.
  8. 如权利要求6或7所述的方法,其特征在于,所述第一用户的历史行为数据包括所述第一用户点击的第二对象的第四文案,所述第四文案包括第三语句,且所述第二文案包括所述第三语句。The method according to claim 6 or 7 is characterized in that the historical behavior data of the first user includes a fourth copy of the second object clicked by the first user, the fourth copy includes a third sentence, and the second copy includes the third sentence.
  9. 如权利要求6-8任一项所述的方法,其特征在于,所述第一用户的特征信息包括以下至少一项:年龄、性别、所在位置、电子设备的类型、用户画像,所述第一用户的历史行为数据包括以下至少一项:点击广告的行为、浏览广告的行为、关闭广告的行为、通过广告中的链接购买对应的对象的行为、通过广告中的链接下载应用程序的行为、浏览广告的时长。The method according to any one of claims 6 to 8 is characterized in that the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device, and user portrait, and the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing the corresponding object through a link in an advertisement, downloading an application through a link in an advertisement, and the duration of browsing advertisements.
  10. 如权利要求1-9任一项所述的方法,其特征在于,所述第一广告信息包括第一指示信息,第一指示信息指示第一功能为开启状态或关闭状态;所述根据所述第一关键词确定所述第一广告信息,包括:判断所述第一指示信息是否指示所述第一功能为开启状态;当所述第一指示信息指示所述第一功能为开启状态时,根据所述第一关键词确定所述第一广告信息;The method according to any one of claims 1 to 9, characterized in that the first advertisement information includes first indication information, the first indication information indicating whether the first function is in an on state or in an off state; the determining the first advertisement information according to the first keyword comprises: judging whether the first indication information indicates that the first function is in an on state; when the first indication information indicates that the first function is in an on state, determining the first advertisement information according to the first keyword;
    所述方法还包括:当所述第一指示信息指示所述第一功能为关闭状态时,向所述第一设备发送第三响应信息,所述第三响应信息包括所述第一文案,所述第三响应信息用于指示所述第一设备显示所述第一文 案。The method further includes: when the first indication information indicates that the first function is in a closed state, sending third response information to the first device, the third response information including the first text, and the third response information is used to instruct the first device to display the first text. case.
  11. 一种广告文案生成方法,其特征在于,应用于网络设备,所述方法包括:A method for generating advertisement copy, characterized in that it is applied to a network device, and the method comprises:
    获取第一对象的第一广告信息,所述第一广告信息包括第一文案;Acquire first advertisement information of a first object, wherein the first advertisement information includes a first copy;
    获取第一设备发送的第一广告请求,所述第一广告请求包括第一用户的标识;Acquire a first advertisement request sent by a first device, where the first advertisement request includes an identifier of a first user;
    根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据;Acquiring characteristic information and/or historical behavior data of the first user according to the identifier of the first user;
    根据所述第一文案、所述第一用户的特征信息和/或历史行为数据确定第二文案;Determine a second copy based on the first copy, characteristic information and/or historical behavior data of the first user;
    向所述第一设备发送第一响应信息,所述第一响应信息包括所述第二文案,所述第一响应信息用于指示所述第一设备显示所述第二文案。A first response message is sent to the first device, where the first response message includes the second text, and the first response message is used to instruct the first device to display the second text.
  12. 如权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, characterized in that the method further comprises:
    获取第二设备发送的第二广告请求,所述第二广告请求包括第二用户的标识;Acquire a second advertisement request sent by the second device, where the second advertisement request includes an identifier of a second user;
    根据所述第二用户的标识获取所述第二用户的特征信息和/或历史行为数据;Acquiring characteristic information and/or historical behavior data of the second user according to the identifier of the second user;
    根据所述第一文案、所述第二用户的特征信息和/或历史行为数据确定第三文案;Determine a third copy based on the first copy, characteristic information and/or historical behavior data of the second user;
    向所述第二设备发送第二响应信息,所述第二响应信息包括所述第三文案,所述第三响应信息用于指示所述第二设备显示所述第三文案。Sending second response information to the second device, where the second response information includes the third text, and the third response information is used to instruct the second device to display the third text.
  13. 如权利要求11或12所述的方法,其特征在于,所述第一广告信息包括以下至少一项:所述第一对象的第一图片、第一视频、第一链接,所述第一响应信息还包括以下至少一项:所述第一图片、所述第一视频、所述第一链接。The method as claimed in claim 11 or 12 is characterized in that the first advertising information includes at least one of the following: a first picture, a first video, and a first link of the first object, and the first response information also includes at least one of the following: the first picture, the first video, and the first link.
  14. 如权利要求11-13任一项所述的方法,其特征在于,所述获取第一设备发送的第一广告请求之前,所述方法还包括:获取与所述第一用户的标识相关的特征信息和/或历史行为数据。The method according to any one of claims 11-13 is characterized in that, before obtaining the first advertisement request sent by the first device, the method further includes: obtaining characteristic information and/or historical behavior data related to the identifier of the first user.
  15. 如权利要求11-14任一项所述的方法,其特征在于,所述第一用户的历史行为数据包括所述第一用户点击的第二对象的第四文案,所述第四文案包括第一语句,且所述第二文案包括所述第一语句。The method according to any one of claims 11-14 is characterized in that the historical behavior data of the first user includes a fourth copy of a second object clicked by the first user, the fourth copy includes a first sentence, and the second copy includes the first sentence.
  16. 如权利要求11-15任一项所述的方法,其特征在于,所述第一用户的特征信息包括以下至少一项:年龄、性别、所在位置、电子设备的类型、用户画像,所述第一用户的历史行为数据包括以下至少一项:点击广告的行为、浏览广告的行为、关闭广告的行为、通过广告中的链接购买对应的对象的行为、通过广告中的链接下载应用程序的行为、浏览广告的时长。The method according to any one of claims 11-15 is characterized in that the characteristic information of the first user includes at least one of the following: age, gender, location, type of electronic device, and user portrait, and the historical behavior data of the first user includes at least one of the following: clicking on advertisements, browsing advertisements, closing advertisements, purchasing the corresponding object through a link in an advertisement, downloading an application through a link in an advertisement, and the length of time of browsing advertisements.
  17. 如权利要求11-16任一项所述的方法,其特征在于,所述第一广告信息包括第一指示信息,第一指示信息指示第一功能为开启状态或关闭状态;所述根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据,包括:判断所述第一指示信息是否指示所述第一功能为开启状态;当所述第一指示信息指示所述第一功能为开启状态时,根据所述第一用户的标识获取所述第一用户的特征信息和/或历史行为数据;The method according to any one of claims 11 to 16, characterized in that the first advertisement information includes first indication information, the first indication information indicating whether the first function is in an on state or in an off state; the obtaining of the characteristic information and/or historical behavior data of the first user according to the identifier of the first user comprises: determining whether the first indication information indicates that the first function is in an on state; when the first indication information indicates that the first function is in an on state, obtaining the characteristic information and/or historical behavior data of the first user according to the identifier of the first user;
    所述方法还包括:当所述第一指示信息指示所述第一功能为关闭状态时,向所述第一设备发送第三响应信息,所述第三响应信息包括所述第一文案,所述第三响应信息用于指示所述第一设备显示所述第一文案。The method further includes: when the first indication information indicates that the first function is in a closed state, sending third response information to the first device, the third response information including the first text, and the third response information is used to instruct the first device to display the first text.
  18. 一种网络设备,其特征在于,包括收发器、处理器和存储器,所述存储器用于存储计算机程序,所述处理器调用所述计算机程序,用于执行如权利要求1-10或11-16任一项所述的方法。A network device, characterized in that it includes a transceiver, a processor and a memory, the memory is used to store a computer program, and the processor calls the computer program to execute the method described in any one of claims 1-10 or 11-16.
  19. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序被处理器执行时,实现权利要求1-10或11-16任一项所述的方法。 A computer storage medium, characterized in that the computer storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method described in any one of claims 1-10 or 11-16.
PCT/CN2024/077705 2023-02-25 2024-02-20 Advertisement copy generation method, network device and computer storage medium WO2024174985A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310208054.6 2023-02-25
CN202310208054.6A CN118552248A (en) 2023-02-25 2023-02-25 Advertisement document generation method, network device and computer storage medium

Publications (1)

Publication Number Publication Date
WO2024174985A1 true WO2024174985A1 (en) 2024-08-29

Family

ID=92453806

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/077705 WO2024174985A1 (en) 2023-02-25 2024-02-20 Advertisement copy generation method, network device and computer storage medium

Country Status (2)

Country Link
CN (1) CN118552248A (en)
WO (1) WO2024174985A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118733892A (en) * 2024-09-02 2024-10-01 湖南海润天恒科技集团有限公司 Method and system for intelligently recommending recruitment document delivery strategy

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060050566A (en) * 2004-08-23 2006-05-19 (주)이네스트커뮤니케이션 Internet keyword advertising method using secondary keyword, and internet keyword advertising system thereof
CN1777909A (en) * 2003-04-22 2006-05-24 Nhn株式会社 A method of introducing advertisements and providing the advertisements by using access intentions of internet users and a system thereof
CN110245350A (en) * 2019-05-29 2019-09-17 阿里巴巴集团控股有限公司 Official documents and correspondence is rewritten and update method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777909A (en) * 2003-04-22 2006-05-24 Nhn株式会社 A method of introducing advertisements and providing the advertisements by using access intentions of internet users and a system thereof
US20060218035A1 (en) * 2003-04-22 2006-09-28 Park Sang W Method of introducing advertisements and providing the advertisements by using access intentions of internet users and a system thereof
KR20060050566A (en) * 2004-08-23 2006-05-19 (주)이네스트커뮤니케이션 Internet keyword advertising method using secondary keyword, and internet keyword advertising system thereof
CN110245350A (en) * 2019-05-29 2019-09-17 阿里巴巴集团控股有限公司 Official documents and correspondence is rewritten and update method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118733892A (en) * 2024-09-02 2024-10-01 湖南海润天恒科技集团有限公司 Method and system for intelligently recommending recruitment document delivery strategy

Also Published As

Publication number Publication date
CN118552248A (en) 2024-08-27

Similar Documents

Publication Publication Date Title
CN110286976B (en) Interface display method, device, terminal and storage medium
CN111652678B (en) Method, device, terminal, server and readable storage medium for displaying article information
JP5843207B2 (en) Intuitive computing method and system
CN110110203B (en) Resource information pushing method, server, resource information display method and terminal
CN112862516B (en) Resource release method and device, electronic equipment and storage medium
JP5879637B2 (en) Intuitive computing method and system
US9484046B2 (en) Smartphone-based methods and systems
CN112214636B (en) Audio file recommendation method and device, electronic equipment and readable storage medium
CN110199276A (en) With aspect tag query
US11601391B2 (en) Automated image processing and insight presentation
CN110097429A (en) Electronic order generation method, device, terminal and storage medium
CN111465918A (en) Method for displaying service information in preview interface and electronic equipment
CN109564570A (en) It is created using the browsing node of Frequent Pattern Mining
CN116304007A (en) Information recommendation method and device, storage medium and electronic equipment
CN108781262A (en) Method for composograph and the electronic device using this method
WO2024174985A1 (en) Advertisement copy generation method, network device and computer storage medium
CN115471265A (en) Advertisement putting method and device, cloud server and readable storage medium
CN114707075B (en) Cold start recommendation method and device
WO2022057764A1 (en) Advertisement display method and electronic device
CN113039513B (en) Recommendation method for candidate content of input method and electronic equipment
CN115344757A (en) Label prediction method, electronic equipment and storage medium
CN115809362A (en) Content recommendation method and electronic equipment
WO2023179490A1 (en) Application recommendation method and an electronic device
WO2023040603A1 (en) Search method, terminal, server and system
CN114513575B (en) Method for collection processing and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24759662

Country of ref document: EP

Kind code of ref document: A1