CN113590959A - User behavior data acquisition method, device, equipment and storage medium - Google Patents

User behavior data acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN113590959A
CN113590959A CN202110881547.7A CN202110881547A CN113590959A CN 113590959 A CN113590959 A CN 113590959A CN 202110881547 A CN202110881547 A CN 202110881547A CN 113590959 A CN113590959 A CN 113590959A
Authority
CN
China
Prior art keywords
landing page
level
target
landing
behavior data
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202110881547.7A
Other languages
Chinese (zh)
Other versions
CN113590959B (en
Inventor
冯丹
何柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110881547.7A priority Critical patent/CN113590959B/en
Publication of CN113590959A publication Critical patent/CN113590959A/en
Application granted granted Critical
Publication of CN113590959B publication Critical patent/CN113590959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/0251Targeted advertisements
    • G06Q30/0255Targeted advertisements based on user history
    • G06Q30/0256User search
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a user behavior acquisition method, a user behavior acquisition device, user behavior acquisition equipment and a storage medium, wherein when a display instruction of each level of landing page aiming at a target advertisement is received, a target program corresponding to the level of landing page is created. And counting user behavior data of the user in the level landing page through the target program corresponding to the level landing page. And when an exit instruction aiming at the target advertisement is received, sending user behavior data of the user in the level landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level landing page. And receiving user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page. Based on the processing, the user behavior data in other landing pages at all levels can be acquired through the target program corresponding to the currently displayed landing page, so that the client can count the user behavior data in the landing pages at all levels.

Description

User behavior data acquisition method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a method, a device, equipment and a storage medium for acquiring user behavior data.
Background
When advertisement putting is carried out, the advertisement putting cloud end can put the target advertisement to the client. When a user uses the functionality provided by the client, the client may present targeted advertisements to the user to promote products or recommend services to the user. For example, the advertisement delivery cloud may deliver video advertisements to the video client, which may then play the video advertisements to the user if the user watches the video using the video client.
When an advertiser puts an advertisement on a client through an advertisement putting cloud, the advertiser needs to pay a fee to a service provider to which the advertisement putting cloud belongs. In the prior art, the advertisement delivery cloud may obtain URLs (Uniform Resource locators) of all levels of landing pages of a target advertisement to be delivered. The advertising cloud may then send each URL to the client. When a display instruction for the target advertisement is received, the client can display all levels of landing pages of the target advertisement according to the received user operation. For example, when a click instruction of a user for a target advertisement is received, a first-level landing page may be displayed, and then, when the user performs a preset operation in the first-level landing page, the user may jump to a second-level landing page, and similarly, when the user performs the preset operation in the second-level landing page, the user may jump to a third-level landing page. Thus, the fee that needs to be charged to the advertiser for the targeted advertisement may be determined based on the user behavior data (e.g., number of times the landing page is opened, length of time the landing page is viewed) for the user in each level of landing page.
If all levels of landing pages simultaneously contain the own landing page of the advertiser and the own landing page of the service provider, namely, all levels of landing pages have a page crossing the domain name. In the related art, a corresponding method is not provided to realize data communication between pages across domain names, so that a client cannot count user behavior data in all levels of landing pages.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, equipment and a storage medium for acquiring user behavior data, so that a client can count the user behavior data in all levels of landing pages. The specific technical scheme is as follows:
in a first aspect of the present invention, a method for obtaining user behavior data is provided, where the method is applied to a client, and the method includes:
aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, loading a Software Development Kit (SDK) file corresponding to the level of landing page so as to create a target program corresponding to the level of landing page, and loading the level of landing page;
counting user behavior data of the user in the level landing page through a target program corresponding to the level landing page;
when an exit instruction aiming at the target advertisement is received, aiming at each level of landing page of the target advertisement, sending user behavior data of a user in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page;
and receiving user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
Optionally, when the exit instruction for the target advertisement is received, before sending, by the target program corresponding to the landing page of each level of the target advertisement, user behavior data of the user in the landing page of the level to the target program corresponding to the currently displayed landing page through the target program corresponding to the landing page of the level, the method further includes:
aiming at each level of landing page of the target advertisement, storing user behavior data of a user in the level of landing page into a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
when receiving an exit instruction for the target advertisement, sending user behavior data of a user in each level of landing page of the target advertisement to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page, including:
when an exit instruction for the target advertisement is received, acquiring user behavior data of a user in each level of landing page of the target advertisement from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the level landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level landing page;
the method for receiving the user behavior data sent by the target programs corresponding to other levels of landing pages through the target programs corresponding to the currently displayed landing pages comprises the following steps:
and acquiring user behavior data stored in a preset queue from target programs corresponding to other levels of landing pages from the preset queue corresponding to the currently displayed landing page through the target programs corresponding to the currently displayed landing page.
Optionally, the user behavior data in each level of landing page includes browsing duration of the user browsing the level of landing page;
after the user behavior data in the landing page of the level is counted by the target program corresponding to the landing page of the level, the method further comprises the following steps:
acquiring a first time length from a preset queue corresponding to the level landing page through a target program corresponding to the level landing page; the first time length is the total browsing time length of each landing page displayed before a user browses the landing page of the level, and the first time length is calculated through a target program corresponding to a target landing page and is stored in a preset queue corresponding to the landing page of the level; the target landing page is the last landing page displayed in front of the landing page of the level;
calculating the sum of the first time length and the browsing time length of the user for browsing the landing page at the level as a second time length;
and storing the second duration to a preset queue corresponding to the first landing page displayed after the landing page of the level.
Optionally, after receiving, by the target program corresponding to the currently displayed landing page, user behavior data sent by the target program corresponding to each of the other levels of landing pages, the method further includes:
and sending the user behavior data counted by the target programs corresponding to the landing pages at all levels to the specified server through the target programs corresponding to the currently displayed landing pages.
Optionally, when receiving a display instruction for the level of landing page, the software development kit SDK file corresponding to the level of landing page is loaded to create a target program corresponding to the level of landing page, and the loading of the level of landing page includes:
aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, writing a preset SDK file into the head of a hypertext markup language (HTML) file of the level of landing page;
analyzing the HTML file of the landing page to obtain the SDK file;
and loading the SDK file to create a target program corresponding to the level landing page, and loading the level landing page.
Optionally, the loading the software development kit SDK file corresponding to the level landing page to create the target program corresponding to the level landing page includes:
and loading the SDK file corresponding to the level of landing page to create a hypertext markup language tag iframe corresponding to the level of landing page as a target program corresponding to the level of landing page.
In a second aspect of the present invention, there is also provided a device for acquiring user behavior data, where the device is applied to a client, and the device includes:
the loading module is used for loading the SDK file corresponding to each level of landing page of the target advertisement when a display instruction aiming at the level of landing page is received so as to create a target program corresponding to the level of landing page and load the level of landing page;
the statistical module is used for counting the user behavior data of the user in the level landing page through the target program corresponding to the level landing page;
the first sending module is used for sending user behavior data of a user in each level of landing page of the target advertisement to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page when receiving an exit instruction aiming at the target advertisement;
and the receiving module is used for receiving the user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
Optionally, the apparatus further comprises:
the storage module is used for executing each level of landing page aiming at the target advertisement before sending user behavior data in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page when the first sending module executes the quitting instruction aiming at the target advertisement and sending the user behavior data in the level of landing page to the target program corresponding to the level of landing page, and storing the user behavior data in the level of landing page of the user into a database corresponding to the level of landing page through the target program corresponding to the level of landing page;
the first sending module is specifically configured to, when an exit instruction for the target advertisement is received, obtain, for each level of landing page of the target advertisement, user behavior data of a user in the level of landing page from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the level landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level landing page;
the receiving module is specifically configured to obtain, from a preset queue corresponding to the currently displayed landing page, user behavior data stored in the preset queue by target programs corresponding to other levels of landing pages through a target program corresponding to the currently displayed landing page.
Optionally, the user behavior data in each level of landing page includes browsing duration of the user browsing the level of landing page;
the device further comprises:
the acquisition module is used for executing the target program corresponding to the landing page through the level after the statistical module executes the target program corresponding to the landing page through the level and counts user behavior data of a user in the landing page through the level, and acquiring a first time length from a preset queue corresponding to the landing page through the level; the first time length is the total browsing time length of each landing page displayed before a user browses the landing page of the level, and the first time length is calculated through a target program corresponding to a target landing page and is stored in a preset queue corresponding to the landing page of the level; the target landing page is the last landing page displayed in front of the landing page of the level;
the determining module is used for calculating the sum of the first time length and the browsing time length of the user for browsing the landing page at the level as a second time length;
and the storage module is used for storing the second duration to a preset queue corresponding to the first landing page displayed behind the landing page.
Optionally, the apparatus further comprises:
and the second sending module is used for executing the target program corresponding to the currently displayed landing page and sending the user behavior data counted by the target program corresponding to the landing page of each level to the designated server after the receiving module executes the target program corresponding to the currently displayed landing page and receives the user behavior data sent by the target programs corresponding to the landing pages of other levels.
Optionally, the loading module is specifically configured to, when a display instruction for each level of landing page of the target advertisement is received, write a preset SDK file into a header of an HTML file of the level of landing page;
analyzing the HTML file of the landing page to obtain the SDK file
And loading the SDK file to create a target program corresponding to the level landing page, and loading the level landing page.
Optionally, the loading module is specifically configured to load the SDK file corresponding to the level landing page, so as to create a hypertext markup language tag iframe corresponding to the level landing page, and use the html tag iframe as a target program corresponding to the level landing page.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the steps of the user behavior data acquisition method when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any one of the above-mentioned user behavior data acquisition methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described user behavior data acquisition methods.
According to the user behavior acquisition method and device provided by the embodiment of the invention, aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, the SDK file corresponding to the level of landing page is loaded so as to create a target program corresponding to the level of landing page, and the level of landing page is loaded. And counting user behavior data of the user in the level landing page through the target program corresponding to the level landing page. And when an exit instruction aiming at the target advertisement is received, aiming at each level of landing page of the target advertisement, sending user behavior data of the user in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page. And receiving user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
Based on the processing, the user behavior data of the user on the landing page at each level can be acquired through the target program corresponding to the landing page at each level, and data communication can be performed among the target programs corresponding to the landing pages at each level, so that the user behavior data counted by the target programs corresponding to other landing pages at each level can be acquired through the target program corresponding to the currently displayed landing page, and the client can count the user behavior data in the landing pages at each level.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a user behavior data obtaining method provided in an embodiment of the present invention;
fig. 2 is a flowchart of another user behavior data obtaining method provided in the embodiment of the present invention;
fig. 3 is a flowchart of another user behavior data obtaining method provided in the embodiment of the present invention;
fig. 4 is a flowchart of another user behavior data obtaining method provided in the embodiment of the present invention;
fig. 5 is a flowchart of another user behavior data obtaining method provided in the embodiment of the present invention;
FIG. 6(a) is a diagram illustrating a landing page of a targeted advertisement provided in an embodiment of the present invention;
FIG. 6(b) is a diagram of a landing page for another targeted advertisement provided in an embodiment of the present invention;
FIG. 7 is a flowchart of a method for communicating data across domain names of pages according to an embodiment of the present invention;
fig. 8 is a structural diagram of a user behavior data acquiring apparatus provided in an embodiment of the present invention;
fig. 9 is a structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for acquiring user behavior data, where the method is applied to a client, and the method may include the following steps:
s101: and aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, loading the SDK file corresponding to the level of landing page so as to create a target program corresponding to the level of landing page, and loading the level of landing page.
S102: and counting user behavior data of the user in the level landing page through the target program corresponding to the level landing page.
S103: and when an exit instruction aiming at the target advertisement is received, aiming at each level of landing page of the target advertisement, sending user behavior data of the user in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page.
S104: and receiving user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
Based on the method provided by the embodiment of the invention, the user behavior data of the user on each level of landing page can be obtained through the target program corresponding to each level of landing page, and data communication can be carried out among the target programs corresponding to the landing pages of each level, so that the user behavior data counted by the target programs corresponding to other levels of landing pages can be obtained through the target program corresponding to the currently displayed landing page, and the client can count the user behavior data in the landing pages of each level.
In step S101, each of the landing pages of the targeted advertisement may be a page that introduces detailed information of the targeted advertisement. For example, when the targeted advertisement is a commodity advertisement, the landing pages of the commodity advertisement at each level may include: a detailed page of the item, a purchase page of the item, a page of evaluation of the item by the purchased user, etc. Or, when the target advertisement is an application advertisement, each level of landing page of the application advertisement may include: a details page of the application, a download page of the application, a trial page of the application, etc.
In one implementation, when a user opens a client, the client may send an advertisement request to an advertisement delivery server. After receiving the advertisement request, the advertisement delivery server can determine the target advertisement which needs to be pushed to the client according to the service requirement. Then, the advertisement delivery server can obtain the URLs of all levels of landing pages of the target advertisement and send the URLs of all levels of landing pages of the target advertisement to the advertisement delivery cloud.
Correspondingly, when the advertisement delivery cloud receives the URLs of all levels of landing pages of the target advertisement, the URLs of all levels of landing pages of the target advertisement can be sent to the client. The client can display all levels of landing pages of the target advertisement according to the URL of all levels of landing pages of the received target advertisement.
The rank of the landing page can indicate the display sequence of the landing pages, for example, the target advertisement is a commodity advertisement, the first-level landing page of the commodity advertisement is a detail page of the commodity, the second-level landing page is an evaluation page of the purchased user on the commodity, and the third-level landing page is a purchase page of the commodity.
After the client receives the URLs of all levels of landing pages of the commodity advertisement, the commodity advertisement can be displayed on the client, and when a user clicks the commodity advertisement, the client can display a detail page of the commodity. When the user performs a preset operation (for example, clicking a specified operation button) in the detail page of the commodity, the client may display an evaluation page of the purchased user for the commodity. When the user performs a preset operation in the evaluation page of the purchased user for the commodity, the client may display the purchase page of the commodity.
In one implementation, for each level of landing page of the target advertisement, the client may parse the URL of the level of landing page to obtain a page file of the level of landing page. And then, the client renders according to the page file of the level landing page so as to display the level landing page. The page file of a landing page is an HTML (hypertext Markup Language) file of the landing page.
For each level of landing page of the target advertisement, when the level of landing page is displayed, the client may load an SDK (Software Development Kit) file corresponding to the level of landing page, so as to create a target program corresponding to the level of landing page. Subsequently, the client can count the user behavior data of the user in the level landing page through the target program corresponding to the level landing page.
In an embodiment of the present invention, on the basis of fig. 1, referring to fig. 2, step S101 may include the following steps:
s1011: and aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, writing a preset SDK file into the head of an HTML file of the level of landing page.
S1012: and analyzing the HTML file of the landing page to obtain the SDK file.
S1013: and loading the SDK file to create a target program corresponding to the level landing page, and loading the level landing page.
The preset SDK file is a Java Script (a programming language) Script developed by a technician in accordance with the IIFE (immediate call function expression) type.
In one implementation, for each level of landing page of the target advertisement, when a display instruction for the level of landing page is received, the client may parse the URL of the level of landing page to obtain an HTML file of the level of landing page. Then, the client may obtain a preset SDK (Software Development Kit) file, and write the obtained SDK file into the HTML file of the landing page of this stage. For example, the client may write the retrieved SDK file to the head (header) of the HTML file of the level landing page.
The preset SDK file may be pre-stored at the client for the technician. Or the advertisement delivery cloud end can store a preset SDK file, and when sending the URLs of all levels of landing pages of the target advertisement to the client end, the advertisement delivery cloud end can send the SDK file to the client end.
Aiming at each level of landing page of the target advertisement, when the client analyzes the HTML file of the level of landing page, the SDK file in the level of landing page can be obtained.
In one embodiment of the present invention, step S101 may include the steps of: and loading the SDK file corresponding to the level of landing page to create a hypertext markup language tag iframe corresponding to the level of landing page as a target program corresponding to the level of landing page.
In one implementation, the client may load the SDK file, and because the SDK file is of the IIFE type, when the client loads the SDK file, the client starts to execute the SDK file, that is, creates an iframe (HTML tag) corresponding to the SDK file, that is, creates a target program corresponding to the landing page. iframe is colrs.
In addition, for each level of landing page of the target advertisement, the client may write the preset SDK file into the page file of the level of landing page when receiving the display instruction for the level of landing page for the first time. Subsequently, when the display instruction for the level landing page is received again, the client can directly analyze the page file of the level landing page because the page file of the level landing page already has the SDK file, and the processing efficiency of the client can be improved.
In step S102, for each level of landing page of the target advertisement, the client monitors the level of landing page through the target program corresponding to the level of landing page. Furthermore, when the user operates in the level landing page, the client side counts the user behavior data of the user in the level landing page through the target program corresponding to the level landing page.
In one embodiment of the invention, the user behavior data in each level of landing pages comprises at least one of: the method comprises the steps of executing preset operation times in the level landing page by a user, browsing duration of the level landing page browsed by the user, and displaying size of the level landing page in a client.
The preset operation may include: click operation, slide operation, zoom-in operation, zoom-out operation, and the like.
Illustratively, when it is detected that the user performs the click operation in the level landing page, the client records, by using the target program corresponding to the level landing page, that the number of times of the click operation performed by the user in the level landing page is increased by one.
Due to the size limitation of the display interface of the client, for each level of landing page of the targeted advertisement, the client may only display a portion of the content of the level of landing page. When the client cannot completely display the landing page, the user can perform dragging operation, upward sliding operation, downward sliding operation, zooming-in operation, zooming-out operation and the like on the landing page so as to browse a currently undisplayed part of the landing page.
Therefore, the display size of each level of landing page in the display interface of the client may include: the display length of the level landing page in the display interface of the client side, and/or the display width of the level landing page in the display interface of the client side.
The user behavior data in each level of landing page of the user can reflect the interest degree of the user in the target advertisement. Therefore, the client can count the user behavior data of the user in the level landing page through the target program corresponding to the level landing page. Subsequently, the fee to be charged to the advertiser can be determined according to the user behavior data corresponding to the landing pages of each level.
The user behavior data in each level of landing page includes: and the user behavior data of the user in the level landing page in the time period from the display of the level landing page to the exit of the level landing page. Correspondingly, for each level of landing pages of the target advertisement, when the target advertisement leaves the level of landing pages, user behavior data in the level of landing pages can be obtained through statistics by the target program corresponding to the level of landing pages.
For steps S103 and S104, when the user no longer views the target advertisement, the landing page of the target advertisement may be selected to be exited, i.e., the client may receive an exit instruction for the target advertisement. When the client receives an exit instruction for the target advertisement, the currently displayed landing page is the last landing page browsed by the user. Furthermore, the client can obtain the user behavior data counted by the target programs corresponding to other levels of landing pages through the target program corresponding to the last landing page browsed by the user.
In an embodiment of the present invention, on the basis of fig. 1, referring to fig. 3, before step S103, the method may further include the steps of:
s105: and aiming at each level of landing page of the target advertisement, storing the user behavior data of the user in the level of landing page into a database corresponding to the level of landing page through a target program corresponding to the level of landing page.
Accordingly, step S103 may include the steps of:
s1031: when an exit instruction for the target advertisement is received, acquiring user behavior data of the user in each level of landing page of the target advertisement from a database corresponding to the level of landing page through a target program corresponding to the level of landing page.
S1032: and storing the user behavior data of the user in the landing page to a preset queue corresponding to the currently displayed landing page through the target program corresponding to the landing page.
Accordingly, step S104 may include the steps of:
s1041: and acquiring user behavior data stored in a preset queue from target programs corresponding to other levels of landing pages from the preset queue corresponding to the currently displayed landing page through the target programs corresponding to the currently displayed landing page.
The database corresponding to each level of landing page is as follows: html files created by the target program corresponding to the landing page of the level. The colrs HTML file is located in the HTML file of the landing page of the level, and the colrs HTML file is used for storing user behavior data of the landing page of the level. And the database corresponding to each level of landing page is created by the target program corresponding to the level of landing page after the target program corresponding to the level of landing page is created.
In one implementation manner, for each level of landing page, after the user behavior data of the user in the level of landing page is acquired, the user behavior data of the user in the level of landing page may be stored in a database corresponding to the level of landing page through a target program corresponding to the level of landing page.
Then, when the client receives an exit instruction for the target advertisement, the user behavior data of the user in the landing page of the level can be acquired from the database corresponding to the landing page of the level through the target program corresponding to the landing page of the level.
Furthermore, the client may send the user behavior data of the user in the landing page of the level to the target program corresponding to the currently displayed landing page in a manner of a PostMessage (an asynchronous message storage function) through the target program corresponding to the landing page of the level. That is, the client may store the user behavior data of the user in the landing page of the level to a preset queue corresponding to the currently displayed landing page through the target program corresponding to the landing page of the level, where the preset queue is a PostMessage queue.
Furthermore, the client can obtain the user behavior data stored in the target programs corresponding to other levels of landing pages from the corresponding PostMessage message queue in a manner of GetMessage (an asynchronous message obtaining function) through the target program corresponding to the currently displayed landing page.
In one implementation, if the user behavior data in each level of landing page includes: the number of times of operation of the user for executing the preset operation in the level landing page and the display size of the level landing page in the client. And aiming at each level of landing page of the target advertisement, the client stores the counted operation times of the user for executing the preset operation in the level of landing page and the display size of the level of landing page in the client to a database corresponding to the level of landing page through a target program corresponding to the level of landing page.
Then, when an exit instruction for the target advertisement is received, acquiring, by a target program corresponding to each level of landing page of the target advertisement, the number of times of operation of the user for executing the preset operation in the level of landing page and the display size of the level of landing page in the client from a database corresponding to the level of landing page, and storing the number of times of operation of the user for executing the preset operation in the level of landing page and the display size of the level of landing page in the client to a preset queue corresponding to the currently displayed landing page.
Furthermore, the client can obtain the operation times of the user for executing the preset operation in each level of landing page and the display size of each level of landing page in the client from the preset queue corresponding to the currently displayed landing page through the target program corresponding to the currently displayed landing page.
In another implementation, the user behavior data in each landing page level includes a browsing duration of the user browsing the landing page level. The client can count the total browsing time of the user for browsing all levels of landing pages of the target advertisement.
On the basis of fig. 1, referring to fig. 4, after step S102, the method may further include the steps of:
s106: and acquiring a first duration from a preset queue corresponding to the level of landing page through a target program corresponding to the level of landing page.
The first time length is the total browsing time length of each landing page displayed before the user browses the landing page of the level, and the first time length is calculated through a target program corresponding to the target landing page and stored in a preset queue corresponding to the landing page of the level. The target landing page is the last landing page displayed before the landing page at that level.
S107: and calculating the sum of the first time length and the browsing time length of the user for browsing the landing page at the level as a second time length.
S108: and storing the second duration to a preset queue corresponding to the first landing page displayed after the landing page of the level.
In one implementation, for each level of landing page of a target advertisement, after a client side counts the browsing duration of a user browsing the level of landing page through a target program corresponding to the level of landing page, the total browsing duration (i.e., a first duration) of the user browsing the displayed level of landing page before browsing the landing page can be obtained from a preset queue corresponding to the level of landing page.
Then, the client can calculate the sum of the first duration and the browsing duration of the user browsing the landing page at the level to obtain a second duration. When the client displays the next landing page, the client can store the second duration to a preset queue corresponding to the first landing page displayed behind the landing page of the level through the target program corresponding to the landing page of the level.
When the user no longer views the target advertisement, the landing page for exiting the target advertisement may be selected, i.e., the client may receive an exit instruction for the target advertisement. When the client receives an exit instruction for the target advertisement, the currently displayed landing page is the last landing page browsed by the user. Furthermore, the client can obtain the third duration from the preset queue corresponding to the last landing page browsed by the user through the target program corresponding to the last landing page browsed by the user. The third time length is the total browsing time length for browsing the displayed landing pages of each level before the user browses the last landing page. Furthermore, the client can calculate the sum of the third time length and the browsing time length of the user browsing the last landing page through the target program corresponding to the last landing page browsed by the user, so as to obtain the total browsing time length of the landing page of the user browsing the target advertisement.
In another implementation manner, after counting user behavior data in each level of landing page of the target advertisement, the client may store the browsing duration of the user in the level of landing page to a corresponding database in the level of landing page through a target program corresponding to the level of landing page.
When the user no longer views the target advertisement, the user may choose to exit the landing page of the target advertisement, i.e., the client may receive an exit instruction for the target advertisement. Then, the client can obtain the browsing duration of each level of landing page browsed by the user from the preset queue corresponding to the currently displayed landing page through the target program corresponding to the currently displayed landing page. And the browsing time of the user browsing each level of landing page is stored into a preset queue corresponding to the currently displayed landing page through the target program corresponding to the level of landing page. Furthermore, the client can calculate the sum of the obtained browsing durations of the user browsing each landing page through the target program corresponding to the currently displayed landing page, so as to obtain the total browsing duration of the user browsing the landing page of the target advertisement.
In an embodiment of the present invention, after step S104, the method may further include the steps of:
and sending the user behavior data counted by the target programs corresponding to the landing pages of all levels to the specified server through the target programs corresponding to the currently displayed landing pages.
Wherein the designated server may be a data storage server for storing advertisement data.
The database corresponding to each level of landing pages can also be used for storing the level identification of the level of landing pages. Subsequently, aiming at each level of landing page, the level identification of the landing page can be obtained. Furthermore, when the user behavior data of the landing page of the user at each level is sent to the specified server, the level identifier of the landing page at the level can be sent to the specified server.
In another implementation manner, after the client acquires the user behavior data counted by the target program corresponding to each level of landing page through the target program corresponding to the currently displayed landing page, the client may send the level identifier of each level of landing page and the user behavior data of the user in the level of landing page to the data storage server through Webview (kernel browser).
Subsequently, for each level of landing page, user behavior data corresponding to the level identifier of the level of landing page can be obtained from the data storage server, so that the user behavior data of the user on the level of landing page can be obtained. And further, optimizing the level landing page according to the user behavior data of the user at the level landing page.
Referring to fig. 5, fig. 5 is a flowchart of another user behavior data acquisition method provided in the embodiment of the present invention.
The client may display the targeted advertisement, for example, when the targeted advertisement is an advertisement for commodity a, the client may display the advertisement for commodity a in the page shown in fig. 6(a), and "XXX" in fig. 6(a) represents other information displayed by the client in addition to the targeted advertisement.
Then, when the user clicks the target advertisement, the client can determine that the display instruction for the first-level landing page of the target advertisement is received, and the client can perform JS injection in the first-level landing page of the target advertisement through webview, that is, the client can write the preset SDK file into the HTML file of the first-level landing page of the target advertisement. The client may display a one-level landing page for the targeted advertisement, which may be a free landing page for the advertiser. For example, the user may click "article a" on the page shown in fig. 6(a), and the client may display a detail page of article a shown in fig. 6(b), where the detail page of article a is a first-level landing page.
Furthermore, when the user executes the preset operation in the first-level landing page of the target advertisement, the client can determine that the display instruction of the two-hop landing page (namely, the second-level landing page) for the target advertisement is received, and the client can perform JS injection in the second-level landing page of the target advertisement through webview. The client may display a second floor page of the targeted advertisement. For example, if the user can click the "buy" operation button on the page shown in fig. 6(b), the client may display a purchase page of item a, which is a second-level landing page.
Similarly, when the user executes the preset operation in the second-level landing page of the target advertisement, the client can determine to receive the display instruction of the third-level landing page of the target advertisement, the client can perform JS injection in the third-level landing page of the target advertisement through webview, and by analogy, when the client determines to receive the display instruction of the N-hop landing page (N-level landing page) of the target advertisement, the client can perform JS injection in the N-level landing page of the target advertisement through webview.
Subsequently, for each level of landing page, the client may load the SDK file corresponding to the level of landing page to create a target program corresponding to the level of landing page. Then, the client can count the user behavior data of the user in the level landing page through the target program corresponding to the level landing page. And when an exit instruction for the target advertisement is received, sending user behavior data of the user in the landing page of each level to a target program corresponding to the currently displayed landing page through the target program corresponding to the landing page of the level, and receiving the user behavior data sent by the target programs corresponding to other landing pages of each level through the target program corresponding to the currently displayed landing page.
Based on the processing, the user behavior data of the user on the landing page at each level can be acquired through the target program corresponding to the landing page at each level, and data communication can be performed among the target programs corresponding to the landing pages at each level, so that the user behavior data counted by the target programs corresponding to other landing pages at each level can be acquired through the target program corresponding to the currently displayed landing page, and the client can count the user behavior data in the landing pages at each level.
Referring to fig. 7, fig. 7 is a flowchart of a method for data communication across domain names of pages according to an embodiment of the present invention. HTML1 shown in FIG. 7 is the HTML file for the first floor page of the targeted advertisement, and HTML2 is the HTML file for the second floor page of the targeted advertisement.
The HTML file of each level of landing page shown in fig. 7 includes a JSSDK file, where the JSSDK file is an SDK file in the foregoing embodiment, and the JSSDK file in the HTML file of each level of landing page is written into the HTML file of the level of landing page when the client receives a display instruction for the level of landing page.
The JSSDK file in the HTML file of each level of landing page includes a colrs.js file and a colrs.html file, where the colrs.js file (i.e., the iframe in the foregoing embodiment) is a target program corresponding to the level of landing page, the colrs.js is used to obtain user behavior data of the user in the level of landing page, and the colrs.js can also be used to obtain a level identifier in the level of landing page, and correspondingly store the user behavior data of the user in the level of landing page and the level identifier in the level of landing page to the colrs.html file in the level of landing page.
When an exit instruction for a target advertisement is received, the client can obtain user behavior data of a user in the landing page and a level identifier in the landing page from a colrs. And correspondingly storing the user behavior data of the user in the level landing page and the level identification in the level landing page into a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level landing page in a PostMessage mode.
Furthermore, the client can obtain the user behavior data of the user in the landing page of the level and the level identifier in the landing page of the level from the preset queue corresponding to the currently displayed landing page of the level in a GetMessage manner through the target program corresponding to the currently displayed landing page.
Based on the processing, the user behavior data of the user on the landing page at each level can be acquired through the target program corresponding to the landing page at each level, and data communication can be performed among the target programs corresponding to the landing pages at each level, so that the user behavior data counted by the target programs corresponding to other landing pages at each level can be acquired through the target program corresponding to the currently displayed landing page, and the client can count the user behavior data in the landing pages at each level.
Corresponding to the embodiment of the method in fig. 1, referring to fig. 8, fig. 8 is a structural diagram of a user behavior data obtaining apparatus provided in an embodiment of the present invention, where the apparatus is applied to a client, and the apparatus includes:
a loading module 801, configured to, for each level of landing page of the target advertisement, load, when receiving a display instruction for the level of landing page, an SDK file corresponding to the level of landing page, so as to create a target program corresponding to the level of landing page, and load the level of landing page;
the statistical module 802 is configured to count user behavior data of the user in the level landing page through a target program corresponding to the level landing page;
a first sending module 803, configured to, when receiving an exit instruction for the target advertisement, send, by using a target program corresponding to the level of landing page, user behavior data of a user in the level of landing page to a target program corresponding to a currently displayed landing page for each level of landing page of the target advertisement;
the receiving module 804 is configured to receive, through the target program corresponding to the currently displayed landing page, user behavior data sent by the target programs corresponding to other landing pages at different levels.
Optionally, the apparatus further comprises:
a storage module, configured to execute, when the first sending module 803 executes the exit instruction for the target advertisement, each level of landing page for the target advertisement before sending the user behavior data in the level of landing page to the target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page, and store the user behavior data in the level of landing page of the user into the database corresponding to the level of landing page through the target program corresponding to the level of landing page;
the first sending module 803 is specifically configured to, when an exit instruction for the target advertisement is received, obtain, for each level of landing page of the target advertisement, user behavior data of the user in the level of landing page from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the level landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level landing page;
the receiving module 804 is specifically configured to obtain, from a preset queue corresponding to the currently displayed landing page, user behavior data stored in the preset queue by target programs corresponding to other levels of landing pages through a target program corresponding to the currently displayed landing page.
Optionally, the user behavior data in each level of landing page includes browsing duration of the user browsing the level of landing page;
the device further comprises:
an obtaining module, configured to execute the target program corresponding to the landing page of the level after the counting module 802 executes the target program corresponding to the landing page of the level and counts user behavior data of a user in the landing page of the level, and obtain a first time duration from a preset queue corresponding to the landing page of the level; the first time length is the total browsing time length of each landing page displayed before a user browses the landing page of the level, and the first time length is calculated through a target program corresponding to a target landing page and is stored in a preset queue corresponding to the landing page of the level; the target landing page is the last landing page displayed in front of the landing page of the level;
the determining module is used for calculating the sum of the first time length and the browsing time length of the user for browsing the landing page at the level as a second time length;
and the storage module is used for storing the second duration to a preset queue corresponding to the first landing page displayed behind the landing page.
Optionally, the apparatus further comprises:
and the second sending module is used for executing the target program corresponding to the currently displayed landing page and sending the user behavior data counted by the target program corresponding to the landing page of each level to the designated server after the receiving module executes the target program corresponding to the currently displayed landing page and receives the user behavior data sent by the target programs corresponding to the landing pages of other levels.
Optionally, the loading module 801 is specifically configured to, for each level of landing page of the target advertisement, when receiving a display instruction for the level of landing page, write the preset SDK file into the header of the HTML file of the level of landing page;
analyzing the HTML file of the landing page to obtain the SDK file;
and loading the SDK file to create a target program corresponding to the level landing page, and loading the level landing page.
Optionally, the loading module 801 is specifically configured to load the SDK file corresponding to the level landing page, so as to create a hypertext markup language tag iframe corresponding to the level landing page, and use the html tag iframe as a target program corresponding to the level landing page.
Based on the user behavior data acquisition device provided by the embodiment of the invention, the user behavior data of the user on each landing page can be acquired through the target program corresponding to each landing page, and data communication can be carried out among the target programs corresponding to the landing pages of all levels, so that the user behavior data counted by the target programs corresponding to other landing pages of all levels can be acquired through the target program corresponding to the currently displayed landing page, and the client can count the user behavior data in the landing pages of all levels.
An embodiment of the present invention further provides an electronic device, as shown in fig. 9, including a processor 901, a communication interface 902, a memory 903 and a communication bus 904, where the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904;
a memory 903 for storing computer programs;
the processor 901 is configured to implement the following steps when executing the program stored in the memory 903:
aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, loading an SDK file corresponding to the level of landing page so as to create a target program corresponding to the level of landing page, and loading the level of landing page;
counting user behavior data of the user in the level landing page through a target program corresponding to the level landing page;
when an exit instruction aiming at the target advertisement is received, aiming at each level of landing page of the target advertisement, sending user behavior data of a user in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page;
and receiving user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
Based on the electronic equipment provided by the embodiment of the invention, the user behavior data of the user on each landing page can be acquired through the target program corresponding to each landing page, and data communication can be carried out among the target programs corresponding to the landing pages of all levels, so that the user behavior data counted by the target programs corresponding to other landing pages of all levels can be acquired through the target program corresponding to the currently displayed landing page, and the client can count the user behavior data in the landing pages of all levels.
In another embodiment of the present invention, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the user behavior data acquiring method in any of the above embodiments.
In yet another embodiment of the present invention, a computer program product containing instructions is further provided, which when run on a computer, causes the computer to execute the user behavior data obtaining method described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, 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, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to them, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A user behavior data acquisition method is applied to a client side and comprises the following steps:
aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, loading a Software Development Kit (SDK) file corresponding to the level of landing page so as to create a target program corresponding to the level of landing page, and loading the level of landing page;
counting user behavior data of the user in the level landing page through a target program corresponding to the level landing page;
when an exit instruction aiming at the target advertisement is received, aiming at each level of landing page of the target advertisement, sending user behavior data of a user in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page;
and receiving user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
2. The method according to claim 1, wherein before sending, for each level of landing page of the target advertisement, user behavior data of a user in the level of landing page to a target program corresponding to a currently displayed landing page through the target program corresponding to the level of landing page when receiving an exit instruction for the target advertisement, the method further comprises:
aiming at each level of landing page of the target advertisement, storing user behavior data of a user in the level of landing page into a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
when receiving an exit instruction for the target advertisement, sending user behavior data of a user in each level of landing page of the target advertisement to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page, including:
when an exit instruction for the target advertisement is received, acquiring user behavior data of a user in each level of landing page of the target advertisement from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the level landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level landing page;
the method for receiving the user behavior data sent by the target programs corresponding to other levels of landing pages through the target programs corresponding to the currently displayed landing pages comprises the following steps:
and acquiring user behavior data stored in a preset queue from target programs corresponding to other levels of landing pages from the preset queue corresponding to the currently displayed landing page through the target programs corresponding to the currently displayed landing page.
3. The method of claim 1, wherein the user behavior data in each level of landing page comprises a browsing duration for a user to browse the level of landing page;
after the user behavior data in the landing page of the level is counted by the target program corresponding to the landing page of the level, the method further comprises the following steps:
acquiring a first time length from a preset queue corresponding to the level landing page through a target program corresponding to the level landing page; the first time length is the total browsing time length of each landing page displayed before a user browses the landing page of the level, and the first time length is calculated through a target program corresponding to a target landing page and is stored in a preset queue corresponding to the landing page of the level; the target landing page is the last landing page displayed in front of the landing page of the level;
calculating the sum of the first time length and the browsing time length of the user for browsing the landing page at the level as a second time length;
and storing the second duration to a preset queue corresponding to the first landing page displayed after the landing page of the level.
4. The method according to claim 1, wherein after receiving the user behavior data sent by the target program corresponding to the landing page at each of the other levels through the target program corresponding to the currently displayed landing page, the method further comprises:
and sending the user behavior data counted by the target programs corresponding to the landing pages at all levels to the specified server through the target programs corresponding to the currently displayed landing pages.
5. The method of claim 1, wherein for each level of landing page of the targeted advertisement, when receiving a display instruction for the level of landing page, loading a Software Development Kit (SDK) file corresponding to the level of landing page to create a target program corresponding to the level of landing page, and loading the level of landing page, the method comprises:
aiming at each level of landing page of the target advertisement, when a display instruction aiming at the level of landing page is received, writing a preset SDK file into the head of a hypertext markup language (HTML) file of the level of landing page;
analyzing the HTML file of the landing page to obtain the SDK file;
and loading the SDK file to create a target program corresponding to the level landing page, and loading the level landing page.
6. The method of claim 1, wherein the loading the Software Development Kit (SDK) file corresponding to the level landing page to create the object program corresponding to the level landing page comprises:
and loading the SDK file corresponding to the level of landing page to create a hypertext markup language tag iframe corresponding to the level of landing page as a target program corresponding to the level of landing page.
7. An apparatus for acquiring user behavior data, the apparatus being applied to a client, the apparatus comprising:
the loading module is used for loading the SDK file corresponding to each level of landing page of the target advertisement when a display instruction aiming at the level of landing page is received so as to create a target program corresponding to the level of landing page and load the level of landing page;
the statistical module is used for counting the user behavior data of the user in the level landing page through the target program corresponding to the level landing page;
the first sending module is used for sending user behavior data of a user in each level of landing page of the target advertisement to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page when receiving an exit instruction aiming at the target advertisement;
and the receiving module is used for receiving the user behavior data sent by the target programs corresponding to other levels of landing pages through the target program corresponding to the currently displayed landing page.
8. The apparatus of claim 7, further comprising:
the storage module is used for executing each level of landing page aiming at the target advertisement before sending user behavior data in the level of landing page to a target program corresponding to the currently displayed landing page through the target program corresponding to the level of landing page when the first sending module executes the quitting instruction aiming at the target advertisement and sending the user behavior data in the level of landing page to the target program corresponding to the level of landing page, and storing the user behavior data in the level of landing page of the user into a database corresponding to the level of landing page through the target program corresponding to the level of landing page;
the first sending module is specifically configured to, when an exit instruction for the target advertisement is received, obtain, for each level of landing page of the target advertisement, user behavior data of a user in the level of landing page from a database corresponding to the level of landing page through a target program corresponding to the level of landing page;
storing user behavior data of a user in the level landing page to a preset queue corresponding to the currently displayed landing page through a target program corresponding to the level landing page;
the receiving module is specifically configured to obtain, from a preset queue corresponding to the currently displayed landing page, user behavior data stored in the preset queue by target programs corresponding to other levels of landing pages through a target program corresponding to the currently displayed landing page.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN202110881547.7A 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium Active CN113590959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110881547.7A CN113590959B (en) 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110881547.7A CN113590959B (en) 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113590959A true CN113590959A (en) 2021-11-02
CN113590959B CN113590959B (en) 2023-07-28

Family

ID=78253849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110881547.7A Active CN113590959B (en) 2021-08-02 2021-08-02 User behavior data acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113590959B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182365A1 (en) * 2002-03-20 2003-09-25 Fujitsu Limited Site monitoring method
US20090187520A1 (en) * 2008-01-23 2009-07-23 Chao Liu Demographics from behavior
US9076163B1 (en) * 2010-04-16 2015-07-07 Google Inc. User ad creation
WO2017167042A1 (en) * 2016-04-01 2017-10-05 阿里巴巴集团控股有限公司 Statistical method and apparatus for behaviors of front-end users
CN107734006A (en) * 2017-09-27 2018-02-23 北京奇艺世纪科技有限公司 A kind of statistical log sending method, device and electronic equipment
KR20190070642A (en) * 2017-12-13 2019-06-21 (주)포그리트 A visitor behavior alalysis appratus of dynamic webpages and a method for analysing a visitor behavior of webpages using it
CN110378732A (en) * 2019-07-18 2019-10-25 腾讯科技(深圳)有限公司 Information display method, information correlation method, device, equipment and storage medium
CN111526065A (en) * 2020-04-13 2020-08-11 苏宁云计算有限公司 Website page flow analysis method and system
CN111882367A (en) * 2020-08-11 2020-11-03 北京云和互动信息技术有限公司 Method for monitoring and tracking online advertisements through user internet behavior analysis
CN112541121A (en) * 2020-12-21 2021-03-23 深圳市彬讯科技有限公司 Page data pushing method and device, computer equipment and storage medium
US20210209526A1 (en) * 2020-01-07 2021-07-08 Baidu Online Network Technology (Beijing) Co., Ltd. Landing page processing method, device and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182365A1 (en) * 2002-03-20 2003-09-25 Fujitsu Limited Site monitoring method
US20090187520A1 (en) * 2008-01-23 2009-07-23 Chao Liu Demographics from behavior
US9076163B1 (en) * 2010-04-16 2015-07-07 Google Inc. User ad creation
WO2017167042A1 (en) * 2016-04-01 2017-10-05 阿里巴巴集团控股有限公司 Statistical method and apparatus for behaviors of front-end users
CN107734006A (en) * 2017-09-27 2018-02-23 北京奇艺世纪科技有限公司 A kind of statistical log sending method, device and electronic equipment
KR20190070642A (en) * 2017-12-13 2019-06-21 (주)포그리트 A visitor behavior alalysis appratus of dynamic webpages and a method for analysing a visitor behavior of webpages using it
CN110378732A (en) * 2019-07-18 2019-10-25 腾讯科技(深圳)有限公司 Information display method, information correlation method, device, equipment and storage medium
US20210209526A1 (en) * 2020-01-07 2021-07-08 Baidu Online Network Technology (Beijing) Co., Ltd. Landing page processing method, device and medium
CN111526065A (en) * 2020-04-13 2020-08-11 苏宁云计算有限公司 Website page flow analysis method and system
CN111882367A (en) * 2020-08-11 2020-11-03 北京云和互动信息技术有限公司 Method for monitoring and tracking online advertisements through user internet behavior analysis
CN112541121A (en) * 2020-12-21 2021-03-23 深圳市彬讯科技有限公司 Page data pushing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113590959B (en) 2023-07-28

Similar Documents

Publication Publication Date Title
US20070226058A1 (en) Time based electronic advertisement
TWI486891B (en) Implementation Method and Device of Network Advertisement Effect Monitoring
JP5526270B2 (en) Information processing apparatus, information processing method, and information processing program
JP2006252179A (en) Advertisement presentation in internet advertising service, management method, advertisement management server, program and storage medium for storing the same program
WO2009051225A4 (en) Information providing method and advertisement providing method
KR20120010098A (en) System and method for providing personalized advertisement service
US9881318B1 (en) Attributing web-based user actions to multivariate test parameters associated with publisher content
WO2015164360A1 (en) System and method for tracking user engagement with online advertisements
CN113656721B (en) Page loading method, device and system
US20170116646A1 (en) Advertisement snapshot recorder
AU2011365442A1 (en) Path length selector
CN106326261A (en) Pre-reading method and device for webpage and intelligent terminal device
WO2001037158A1 (en) Method for brokering internet advertisements on the internet and host therefor
CN105450460B (en) Network operation recording method and system
JP5034049B2 (en) Affiliate management server device, affiliate management method, and affiliate management server program
US20140136317A1 (en) Advertisement information providing device and advertisement information providing method
KR101930821B1 (en) System and method for providing smart advertisement
CN114730340A (en) Protecting user privacy in user interface data collection
CN113590959B (en) User behavior data acquisition method, device, equipment and storage medium
WO2004097654A1 (en) Web content validity evaluation method, web content search method using the same, web content accounting method, search server, and content providing device
JP4992088B2 (en) Web server device, web page management method, and web server program
JP2004158023A (en) E-mail delivery system capable of adding advertising information to e-mail, and e-mail delivery system capable of providing multiple kinds of mail delivery service having different receiving modes
US20100250726A1 (en) Apparatus and method for analyzing text in a large-scaled file
US20110040639A1 (en) Distributing web-activatable content
KR102129483B1 (en) System and method for providing smart advertisement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant