US-12626278-B2 - Advertisement display system and method
Abstract
A method includes: a terminal device that detects a first operation of a user, obtains, in response to the first operation, context information corresponding to a current scenario of the terminal device, generates the first advertisement request based on the context information, sends the first advertisement request to an advertisement server, obtains first advertisement information that is fed back by the advertisement server and that indicates first advertisement content, and displays the first advertisement content based on the first advertisement information, where the context information is associated with the first advertisement content.
Inventors
- Tao Liu
Assignees
- HUAWEI TECHNOLOGIES CO., LTD.
Dates
- Publication Date
- 20260512
- Application Date
- 20220225
- Priority Date
- 20210301
Claims (20)
- 1 . An advertisement display system comprising: a first terminal device configured to: detect a first operation of a user; obtain, in response to the first operation, context information corresponding to a current scenario of the first terminal device, wherein the context information comprises hardware information of the first terminal device, a network environment in which the first terminal device is located, and the first operation; determine, based on the first operation and the context information, an advertisement location corresponding to the context information; generate, based on the context information and the advertisement location, a first advertisement request comprising the advertisement location; and send the first advertisement request; and an advertisement server coupled to the first terminal device and configured to: receive, from the first terminal device, the first advertisement request; obtain, based on the first advertisement request, first advertisement information that matches the context information; and send, to the first terminal device, the first advertisement information indicating first advertisement content, wherein the context information is associated with the first advertisement content, wherein the first terminal device is further configured to: obtain the first advertisement information fed back by the advertisement server; and display, based on the first advertisement information, the first advertisement content in an area corresponding to the advertisement location.
- 2 . The advertisement display system of claim 1 , wherein the first advertisement request comprises an advertisement parameter corresponding to the context information, and wherein the first terminal device is further configured to: obtain the advertisement parameter; and further generate, based on the advertisement parameter, the first advertisement request.
- 3 . The advertisement display system of claim 2 , wherein the advertisement parameter comprises an advertisement format corresponding to the context information, an advertisement type corresponding to the context information, and the advertisement location, which corresponds to the context information, and wherein the first terminal device is further configured to: determine, based on the hardware information and the network environment, the advertisement format and the advertisement type; and adjust, based on a mapping relationship between the context information and the advertisement parameter, a size or location of an area occupied for displaying the first advertisement content.
- 4 . The advertisement display system of claim 1 , wherein the first advertisement request comprises the context information, and wherein the first terminal device is further configured to: obtain an advertisement unit identifier before generating the first advertisement request; and further generate, based on the advertisement unit identifier, the first advertisement request, and wherein the advertisement server is further configured to: determine, based on the first advertisement request, an advertisement parameter associated with the context information; and further obtain, based on the advertisement parameter, the first advertisement information.
- 5 . The advertisement display system of claim 1 , wherein the first terminal device is further configured to: obtain an advertisement unit identifier before generating the first advertisement request; and generate, based on the advertisement unit identifier, the first advertisement request.
- 6 . The advertisement display system of claim 1 , further comprising a second terminal device coupled to the advertisement server and configured to upload the first advertisement content to the advertisement server, and wherein the advertisement server is further configured to: receive the first advertisement content; and allocate an advertisement identifier to the first advertisement content.
- 7 . The advertisement display system of claim 6 , wherein the advertisement server is further configured to obtain an advertisement parameter corresponding to the first advertisement content and comprising an advertisement format, an advertisement type, and the advertisement location of the first advertisement content, or wherein the second terminal device is further configured to: determine, based on a second operation from the user, the advertisement parameter; and send, to the advertisement server, the advertisement parameter.
- 8 . An advertisement display method comprising: detecting a first operation of a user; obtaining, in response to the first operation, first context information corresponding to a current scenario of a terminal device, wherein the first context information comprises hardware information of the terminal device, a network environment in which the terminal device is located, and the first operation; determining, based on the first operation and the first context information, an advertisement location corresponding to the first context information; generating, based on the first context information and the advertisement location, a first advertisement request comprising the advertisement location; sending, to an advertisement server, the first advertisement request; obtaining, from the advertisement server, first advertisement information indicating first advertisement content, wherein the first context information is associated with the first advertisement content; and displaying, based on the first advertisement information, the first advertisement content in an area corresponding to the advertisement location.
- 9 . The advertisement display method of claim 8 , wherein the first advertisement request comprises an advertisement parameter corresponding to the first context information, and wherein generating the first advertisement request comprises: obtaining the advertisement parameter; and further generating, based on the advertisement parameter, the first advertisement request, wherein the first advertisement request instructs the advertisement server to obtain and send the first advertisement information to the terminal device based on the first advertisement request.
- 10 . The advertisement display method of claim 9 , wherein the advertisement parameter comprises an advertisement format corresponding to the first context information, an advertisement type corresponding to the first context information, and the advertisement location, which corresponds to the first context information, and wherein the advertisement display method further comprises: determining, based on the hardware information and the network environment, the advertisement format and the advertisement type; and adjusting, based on a mapping relationship between the first context information and the advertisement parameter, a size or location of an area occupied for displaying the first advertisement content.
- 11 . The advertisement display method of claim 8 , further comprising: obtaining an advertisement unit identifier before generating the first advertisement request; and further generating, based on the advertisement unit identifier, the first advertisement request.
- 12 . The advertisement display method of claim 8 , wherein the first advertisement request comprises the first context information, and wherein the advertisement display method further comprises: obtaining an advertisement unit identifier before generating the first advertisement request; and further generating, based on the advertisement unit identifier, the first advertisement request instructing the advertisement server to determine an advertisement parameter associated with the first context information and obtain and send the first advertisement information to the terminal device based on the advertisement parameter.
- 13 . The advertisement display method of claim 8 , wherein after displaying the first advertisement content, the advertisement display method further comprises: obtaining, from the user for the first advertisement content, a second operation; obtaining, in response to the second operation, second context information corresponding to the current scenario, wherein the second context information comprises user feedback information, and wherein the user feedback information is associated with the second operation; generating, based on the second context information, a second advertisement request; sending, to the advertisement server, the second advertisement request; obtaining, from the advertisement server, second advertisement information indicating second advertisement content, wherein the second context information is associated with the second advertisement content; and displaying, based on the second advertisement information, the second advertisement content.
- 14 . The advertisement display method of claim 8 , wherein the first advertisement information comprises an advertisement identifier and a download path, and wherein before displaying the first advertisement content, the advertisement display method further comprises obtaining, based on the advertisement identifier and the download path, the first advertisement content associated with the first context information.
- 15 . The advertisement display method of claim 8 , wherein the first context information further comprises a type of an application currently run by the terminal device, an application theme corresponding to content currently displayed by the application, a user operation triggered on the terminal device, and user feedback information.
- 16 . An electronic device comprising: a memory configured to store instructions; and one or more processors coupled to the memory and configured to execute the instructions to cause the electronic device to: detect a first operation of a user; obtain, in response to the first operation, first context information corresponding to a current scenario of the electronic device, wherein the first context information comprises hardware information of the electronic device, a network environment in which the electronic device is located, and the first operation; determine, based on the first operation and the first context information, an advertisement location corresponding to the first context information; generate, based on the first context information and the advertisement location, a first advertisement request comprising the advertisement location; send, to an advertisement server, the first advertisement request; obtain, from the advertisement server, first advertisement information indicating first advertisement content, and wherein the first context information is associated with the first advertisement content; and display, based on the first advertisement information, the first advertisement content in an area corresponding to the advertisement location.
- 17 . The electronic device of claim 16 , wherein the first advertisement request comprises the first context information, and wherein the one or more processors are further configured to execute the instructions to cause the electronic device to: obtain an advertisement unit identifier before generating the first advertisement request; and further generate, based on the advertisement unit identifier, the first advertisement request instructing the advertisement server to determine an advertisement parameter associated with the first context information and obtain and send the first advertisement information to the electronic device based on the advertisement parameter.
- 18 . The electronic device of claim 16 , wherein after displaying the first advertisement content, the one or more processors are further configured to execute the instructions to cause the electronic device to: obtain, from the user for the first advertisement content, a second operation; obtain, in response to the second operation, second context information corresponding to the current scenario, wherein the second context information comprises user feedback information, and wherein the user feedback information is associated with the second operation; generate, based on the second context information, a second advertisement request; send, to the advertisement server, the second advertisement request; obtain, from the advertisement server, second advertisement information, wherein the second advertisement information indicates second advertisement content, and wherein the second context information is associated with the second advertisement content; and display, based on the second advertisement information, the second advertisement content.
- 19 . The electronic device of claim 16 , wherein the first advertisement information comprises an advertisement identifier and a download path, and wherein before displaying the first advertisement content, the one or more processors are further configured to execute the instructions to cause the electronic device to obtain, based on the advertisement identifier and the download path, the first advertisement content associated with the first context information.
- 20 . The electronic device of claim 16 , wherein the first context information comprises a type of an application currently run by the electronic device, an application theme corresponding to content currently displayed by the application, a user operation triggered on the electronic device, and user feedback information.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS This is a U.S. National Stage of International Patent Application No. PCT/CN2022/078014 filed on Feb. 25, 2022, which claims priority to Chinese Patent Application No. 202110224810.5 filed on Mar. 1, 2021. Both of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of terminal technologies, and in particular, to an advertisement display system and method. BACKGROUND An application (application, APP) advertisement (which is referred to as an advertisement for short below) is an advertisement displayed, by using an application installed on a terminal device, to a user who uses the terminal device. In a process in which the terminal device runs the application, the application may request, from an advertisement server based on a preset advertisement unit identifier, an advertisement that matches a preset advertisement format and/or an advertisement type. A developer of the application may apply to the advertisement server in advance by using a request interface shown in FIG. 1 based on the preset advertisement format and/or advertisement type, to obtain the advertisement unit identifier. However, an advertisement format (such as a banner format, an interstitial format, a splash format, a rewarded format, and a native format) and an advertisement type (such as a text, a picture, and a video) of each advertisement displayed by the application are both preset, but a scenario in which the terminal device runs the application constantly changes, resulting in a problem that a matching degree between the advertisement displayed by the application and the current scenario of the terminal device is low. SUMMARY This application provides an advertisement display system and method, and resolves a problem in a conventional technology that a matching degree between an advertisement displayed by an application and a current scenario of a terminal device is low. To achieve the foregoing objective, the following technical solutions are used in this application. According to a first aspect, an advertisement display system is provided. The advertisement display system includes: an advertisement server and a first terminal device, and the advertisement server is connected to the first terminal device. The first terminal device detects a first operation of a user, and obtains, in response to the first operation, context information corresponding to a current scenario of the first terminal device. The first terminal device generates a first advertisement request based on the context information, and sends the first advertisement request to the advertisement server. The advertisement server receives the first advertisement request sent by the first terminal device, and obtains, based on the first advertisement request, first advertisement information that matches the context information. The advertisement server sends the first advertisement information to the first terminal device, where the first advertisement information indicates first advertisement content, and the context information is associated with the first advertisement content. The first terminal device obtains the first advertisement information fed back by the advertisement server, and displays the first advertisement content based on the first advertisement information. In a first possible implementation of the first aspect, the first advertisement request includes: an advertisement parameter. That the first terminal device generates a first advertisement request based on the context information includes: The first terminal device obtains an advertisement parameter corresponding to the context information; and the first terminal device generates the first advertisement request based on the advertisement parameter. Based on the foregoing first possible implementation of the first aspect, in a second possible implementation of the first aspect, the context information includes: hardware information of the first terminal device, a network environment in which the first terminal device is located, and the first operation. The advertisement parameter includes: an advertisement format, an advertisement type, and an advertisement location. That the first terminal device obtains an advertisement parameter corresponding to the context information includes: The first terminal device determines, based on the hardware information and the network environment, an advertisement format and an advertisement type that correspond to the context information; and the first terminal device determines, based on the first operation, an advertisement location corresponding to the context information. In a third possible implementation of the first aspect, the first advertisement request includes: the context information. Before the first terminal device generates the first advertisement request based on the context information, the first terminal device obtains