[go: up one dir, main page]

CN110532496B - Method and apparatus for circling events - Google Patents

Method and apparatus for circling events Download PDF

Info

Publication number
CN110532496B
CN110532496B CN201910812659.XA CN201910812659A CN110532496B CN 110532496 B CN110532496 B CN 110532496B CN 201910812659 A CN201910812659 A CN 201910812659A CN 110532496 B CN110532496 B CN 110532496B
Authority
CN
China
Prior art keywords
page
circled
statistical
event
sdk
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.)
Active
Application number
CN201910812659.XA
Other languages
Chinese (zh)
Other versions
CN110532496A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910812659.XA priority Critical patent/CN110532496B/en
Publication of CN110532496A publication Critical patent/CN110532496A/en
Application granted granted Critical
Publication of CN110532496B publication Critical patent/CN110532496B/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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method and a device for circling events. One embodiment of the method comprises: establishing communication between the statistical selection page and a user page, wherein the user page is loaded with a statistical SDK and a selection SDK; responding to the detection of the user's page circling operation, sending a circling instruction to a circling SDK through a statistical circling page; sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK; in response to detecting the selected operation of the user on the event, associating an event selection page with the selected event; and sending the relevant information of the selected event to the server so that the server stores the relevant information of the selected event. The embodiment selects the event needing to be selected by the circle selection SDK, and simplifies the operation of selecting the event.

Description

Method and apparatus for circling events
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for circling events.
Background
With the development of information technology, the application of the internet is widely popularized. The user can access pages, browse pages and the like through the mobile terminal or the computer terminal. In order to improve the user experience of the page and optimize the page performance, data such as the use condition of the page by the user, the access amount of the page, the click amount of some clickable buttons in the page, and the like can be generally counted.
In the related art, the code is usually used to bury the points for each event that needs to be counted. Such as clicking a certain button, playing/stopping a player, starting/pausing a game, etc., can be counted by means of code burial.
Disclosure of Invention
The embodiment of the application provides a method and a device for circling events.
In a first aspect, an embodiment of the present application provides a method for circling an event, including: establishing communication between the statistical selection page and a user page, wherein the user page is loaded with a statistical SDK and a selection SDK; responding to the detection of the user's page circling operation, sending a circling instruction to the circling SDK through the statistical circling page; sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK; in response to detecting the selected operation of the user on the event, associating an event selection page with the selected event; and sending the relevant information of the selected event to the server so that the server stores the relevant information of the selected event.
In some embodiments, after associating the event circle page with the selected event, further comprising: at least one property is selected to bind with the selected event.
In some embodiments, the method further comprises: analyzing the position information and the path information of the page element by the statistical SDK to obtain the page element; binding the page element with the selected event; recording, by the statistical SDK, the selected event and at least one property bound to the selected event in response to the selected event being executed; and sending the recorded selected event and the at least one property bound to the selected event to the server, so that the server stores the received selected event and the at least one property bound to the selected event.
In some embodiments, establishing communication between the statistical circle page and the user page includes: embedding a user page into a statistical circled page; loading a statistical SDK in a user page so as to establish communication between a statistical circled page and the statistical SDK; sending a circled SDK loading instruction to the statistical SDK through the statistical circled page; and loading the circled SDK in the statistical SDK so as to establish communication between the statistical circled page and the circled SDK.
In some embodiments, embedding the user page in a statistical circled page includes: and embedding the user page into the statistical circled page by nesting the iframe tag in the statistical circled page.
In a second aspect, an embodiment of the present application provides an apparatus for circling an event, including: an establishing unit configured to establish communication between the statistics culling page and a user page, wherein the user page is loaded with the statistics SDK and the culling SDK; the first sending unit is configured to respond to the detection of the user's page circling operation, and send a circling instruction to the circling SDK through the statistical circling page; a second transmitting unit configured to transmit the position information and the path information of the page elements in the circled area to the event circled page by the circled SDK; the association unit is configured to respond to the detection of the selected operation of the event by the user, and associate the event selection page with the selected event; and a third sending unit configured to send the information related to the selected event to the server so that the server stores the information related to the selected event.
In some embodiments, the apparatus further comprises: a first binding unit configured to select at least one property to bind with the selected event.
In some embodiments, the apparatus further comprises: the acquiring unit is configured to analyze the position information and the path information of the page elements through the statistical SDK and acquire the page elements; a second binding unit configured to bind the page element with the selected event; a recording unit configured to record, in response to the selected event being executed, the selected event and at least one property bound to the selected event by the statistical SDK; and a fourth transmitting unit configured to transmit the recorded selected event and the at least one property bound to the selected event to the server, so that the server stores the received selected event and the at least one property bound to the selected event.
In some embodiments, the establishing unit comprises: an embedding subunit configured to embed the user page into the statistical circled page; the first loading subunit is configured to load the statistical SDK in the user page so as to establish communication between the statistical circled page and the statistical SDK; a sending subunit configured to send a circling SDK load instruction to the statistical SDK via the statistical circling page; and the second loading subunit is configured to load the circled SDK in the statistical SDK so as to establish communication between the statistical circled page and the circled SDK.
In some embodiments, the embedding subunit is further configured to: and embedding the user page into the statistical circled page by nesting the iframe tag in the statistical circled page.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which, when executed by a processor, implements the method as described in any implementation manner of the first aspect.
According to the method and the device for the circled event, firstly, communication is established between a statistical circled page and a user page; then, under the condition that the user selects the user page circularly, a circling instruction is sent to a circling SDK through a statistical circling page; then, sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK; then under the condition that the selected operation of the user on the event is detected, associating the event selection page with the selected event; and finally, sending the relevant information of the selected event to a server so that the server stores the relevant information of the selected event. And the selected event is selected by the selection SDK, so that the operation of selecting the event is simplified.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for circling an event according to the application;
FIG. 3 is a schematic diagram of an event culling page associated with an event;
FIG. 4 is a schematic diagram of property-to-event binding;
FIG. 5 is a flow diagram of yet another embodiment of a method for circling an event according to the application;
FIG. 6 is a schematic block diagram of one embodiment of an apparatus for circling an event according to the present application;
FIG. 7 is a schematic block diagram of a computer system suitable for use to implement the electronic device of an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the present method for circling an event or apparatus for circling an event may be applied.
As shown in fig. 1, a system architecture 100 may include a terminal device 101, a network 102, and a server 103. Network 102 is the medium used to provide communication links between terminal devices 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may use terminal device 101 to interact with server 103 over network 102 to receive or send messages and the like. Various communication client applications, such as a search application, a news application, etc., may be installed on the terminal device 101.
The terminal apparatus 101 may be hardware or software. When the terminal apparatus 101 is hardware, it may be various electronic apparatuses supporting web browsing. Including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. When the terminal device 101 is software, it can be installed in the electronic device described above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server 103 may be hardware or software. When the server 103 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server 103 is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
In practice, the terminal device 101 may establish communication between the statistical circled page and the user page; responding to the detection of the user's page circling operation, sending a circling instruction to a circling SDK through a statistical circling page; sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK; in response to detecting the selected operation of the user on the event, associating an event selection page with the selected event; information about the selected event is sent to the server 103. The server 103 may store information related to the selected event.
It should be noted that the method for circling the event provided in the embodiment of the present application is generally executed by the terminal device 101, and accordingly, the apparatus for circling the event is generally disposed in the terminal device 101.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for circling events in accordance with the present application is shown. The method for circling the events comprises the following steps:
step 201, communication is established between the statistical selection page and the user page.
In this embodiment, an executing subject of the method for circling the event (e.g., the terminal device 101 shown in fig. 1) may establish communication between the statistical circling page and the user page. A (c)
Here, the user page may be a page that requires statistics on event execution. The event may be a click event on a certain button on the user's page, including but not limited to a click event on a login button, a click event on a play button, a click event on a download button, and so on. The statistical circled page may be a page for counting event executions in the user page. Generally, when communication is established between the statistics culling page and the user page, the user page loads a statistics SDK (Software Development Kit) and a culling SDK. Wherein, the statistic SDK can be used for counting the event execution condition in the user page. The circled SDK may be used to circle events in the user page.
In some optional implementations of this embodiment, the executing agent may establish communication between the statistical circled page and the user page by:
first, the user page is embedded into a statistical circled page.
Optionally, the execution subject may embed the user page in the statistical circled page by nesting an iframe tag in the statistical circled page. The iframe tag is an HTML (Hyper Text Markup Language) tag, and is used as a document in the document or a floating frame. The iframe element creates an inline frame (i.e., inline frame) that contains another document.
And then, loading the statistical SDK in the user page so as to establish communication between the statistical circled page and the statistical SDK.
Typically, after the statistical SDK is loaded on the user page, communication is established between the statistical culling page and the statistical SDK.
And then, sending a circling SDK loading instruction to the statistical SDK through the statistical circling page.
Generally, because communication is established between the statistics circled page and the statistics SDK, the statistics circled page may send a circled SDK load instruction to the statistics SDK.
And finally, loading the circled SDK in the statistical SDK so as to establish communication between the statistical circled page and the circled SDK.
Typically, after the statistical SDK loads the circled SDK, communication is established between the statistical circled page and the circled SDK.
Step 202, in response to detecting the user's page circling operation, sending a circling instruction to the circling SDK through the statistical circling page.
In this embodiment, in the case that the user's selection operation on the user page is detected, the execution main body may send a selection instruction to the selection SDK through the statistical selection page.
Here, since the statistical circled page is embedded with the user page, the user may perform a circled operation on the user page on the statistical circled page. Because the communication is established between the statistical circled page and the circled SDK, the statistical circled page can send a circled instruction to the circled SDK after the circled operation is detected. The circle operation may be an operation of circling a certain area on the user page.
And step 203, sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK.
In this embodiment, the execution body may send the position information and the path information of the page element in the circled area to the event circled page through the circled SDK.
In practice, a user page may include multiple page elements therein. Each page element has a position in the user page where it is located. For example, a login button in a user page is located in the upper right corner of the user page; the play button in the user page is located on the left side of the user page. When the user performs the selection operation, an area can be selected by circle on the user page, and the area is the selection area. The selection area may be the entire user page or a portion of the user page, which typically includes one or more page elements. Specifically, the execution main body may first obtain the position information and the path information of the page element in the circled area, and then send the position information and the path information of the page element in the circled area to the event circled page through the circled SDK. Here, the circled area may generate one page, i.e., an event circled page.
And step 204, responding to the detection of the selected operation of the event by the user, and associating the event selection page with the selected event.
In this embodiment, in a case that a selection operation of an event by a user is detected, the execution subject may associate the event selection page with the selected event.
In practice, the selection area will usually include one or more page elements, and when the user clicks on one of the page elements in the selection area, the selection operation on the event is performed. For example, when the user clicks a login button in the circled area, a login button click event is selected; when the user clicks on the play button in the selection area, a play button click event is selected. The user may then associate an event selection page with the selected event. For example, the user may enter an event name and save it simultaneously with the location information and path information of the corresponding page element.
For ease of understanding, FIG. 3 shows a schematic diagram of an event circled page associated with an event. As shown in fig. 3, the user selects a main page of a music website in the tally circle page. Thus, the main page of the music website can be displayed on the statistical circled page. The main page of the music website comprises a new song initial region, and the region displays the names of the newly released songs from top to bottom in sequence according to the releasing time sequence of the songs. After the user selects the first song in the new song initial area and clicks the play button corresponding to the song, an event selection page is displayed on the statistical selection page. And information such as event names, event element paths, affiliated pages and the like is displayed on the event circle page. Here, the event name displayed on the event circle page may be "first song played by new song". The event element path displayed on the event circled page may be path information of the first song that the new song has originated, for example, "# SongtabContent > ul [1] > li [1] > a > span [4 ]". The page displayed on the event circle page may be a web address of a main page of the music website selected by the user, such as "http: com ". The event selection page is also provided with a storage button, and after the user clicks the storage button, the event selection page is successfully associated with an event 'playing of a first song of a new song' selected by the user.
In some optional implementations of this embodiment, the execution body may further select at least one attribute to be bound to the selected event. For example, when the event selected by the user is a music playing event, the executing entity may select at least one of attributes such as a music name, a music composition, a music phrase, a music singer, a music duration, and the like, and store the at least one of attributes together with the position information and the path information of the corresponding page element.
For ease of understanding, FIG. 4 shows a schematic diagram of property-to-event binding. The example corresponding to fig. 3 is continued here as an example. Specifically, as shown in fig. 4, after the user clicks the save button on the event selection page, the event selection page is closed. Meanwhile, an attribute binding page is displayed on the statistical selection page. The event element path and associated properties are displayed on the property binding page. Here, the event element path displayed on the property binding page is the same as the event element path displayed on the event selection page, and is also the path information of the first song that is delivered by the new song, for example, "# song bcontent > ul [1] > li [1] > a > span [4 ]". The presentation form of the associated property on the property binding page may be a drop-down box form. Thus, when the user clicks on the drop-down box, all associated attributes are displayed, including, for example, "music title," music composition, "" music phrase, "" music singer, "" music duration. When the user selects "music time length", the "music time length" is displayed in the drop-down box. And after the user clicks the save button, the attribute 'music duration' is successfully bound with the event 'playing of a first song sent by a new song'.
Step 205, sending the relevant information of the selected event to the server, so that the server stores the relevant information of the selected event.
In this embodiment, the executing agent may send the information related to the selected event to a server (e.g., the server 103 shown in fig. 1). The server may store information related to the selected event. The related information of the selected event may include, but is not limited to, a name of the selected event, position information and path information of the corresponding page element, the selected at least one attribute, and the like.
According to the method and the device for the circled event, firstly, communication is established between a statistical circled page and a user page; then, under the condition that the user selects the user page circularly, a circling instruction is sent to a circling SDK through a statistical circling page; then, sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK; then under the condition that the selected operation of the user on the event is detected, associating the event selection page with the selected event; and finally, sending the relevant information of the selected event to a server so that the server stores the relevant information of the selected event. And the selected event is selected by the selection SDK, so that the operation of selecting the event is simplified.
With further reference to FIG. 5, a flow 500 of yet another embodiment of a method for circling events according to the present application is shown. The method for circling the events comprises the following steps:
step 501, communication is established between the statistical selection page and the user page.
Step 502, in response to detecting the user's selection operation, sending a selection instruction to the selection SDK through the statistical selection page.
Step 503, sending the position information and the path information of the page elements in the circled area to the event circled page through the circled SDK.
In response to detecting the user's selection of the event, an event selection page is associated with the selected event, step 504.
In the present embodiment, the specific operations of steps 501-504 are described in detail in steps 201-204 in the embodiment shown in fig. 2, and are not described herein again.
Step 505, selecting at least one attribute to bind with the selected event.
In this embodiment, an executing body (for example, the terminal device 101 shown in fig. 1) of the method for circling the event may select at least one attribute to be bound with the selected event. For example, when the event selected by the user is a music playing event, the executing entity may select at least one of attributes such as a music name, a music composition, a music phrase, a music singer, a music duration, and the like, and store the at least one of attributes together with the position information and the path information of the corresponding page element.
Step 506, sending the relevant information of the selected event to the server, so that the server stores the relevant information of the selected event.
In this embodiment, the specific operation of step 506 has been described in detail in step 205 in the embodiment shown in fig. 2, and is not described herein again.
Step 507, analyzing the position information and the path information of the page element by the statistical SDK to obtain the page element.
In this embodiment, the execution body may parse the position information and the path of the page element through the statistical SDK to obtain the corresponding page element. Here, the page element may be a page element corresponding to the selected event.
At step 508, the page element is bound to the selected event.
In this embodiment, the execution agent may bind the page element with the selected event.
Step 509, in response to the selected event being executed, records the selected event and the at least one property bound to the selected event by the statistical SDK.
In this embodiment, when the selected event is executed, the execution agent may record the selected event and at least one property bound to the selected event through the statistical SDK to realize statistics on the number of times of execution of the selected event.
Generally, when a user opens a user page and clicks a button corresponding to a selected event, the selected event is executed once, and at this time, the execution agent may record the selected event and at least one property bound to the selected event once through the statistical SDK.
Step 510, sending the recorded selected event and the at least one property bound to the selected event to a server, so that the server stores the received selected event and the at least one property bound to the selected event.
In this embodiment, the execution agent may send the selected event and the at least one property bound to the selected event to a server (e.g., the server 103 shown in fig. 1). The server may store the received selected event and the at least one property bound to the selected event.
As can be seen from fig. 5, the flow 500 of the method for circling the selected event in this embodiment increases the statistical step for the selected event compared to the embodiment corresponding to fig. 2. Therefore, the solution described in this embodiment uses the statistical SDK to count the execution condition of the selected event, which not only simplifies the statistical operation of the selected event, but also records the content of the attribute bound to the selected event, and enriches the content of the recorded information.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for circling an event, which corresponds to the method embodiment shown in fig. 2, and which can be applied to various electronic devices.
As shown in fig. 6, the apparatus 600 for circling an event of the present embodiment may include: establishing unit 601, first sending unit 602, second sending unit 603, associating unit 604, and third sending unit 605. The establishing unit 601 is configured to establish communication between a statistical culling page and a user page, where the user page is loaded with a statistical SDK and a culling SDK; a first sending unit 602, configured to send a circling instruction to the circling SDK through the statistical circling page in response to detecting a circling operation of the user on the user page; a second sending unit 603 configured to send the position information and the path information of the page elements in the circled area to the event circled page by the circled SDK; an associating unit 604 configured to associate the event selection page with the selected event in response to detecting a user's selection operation of the event; a third sending unit 605 configured to send the information related to the selected event to the server, so that the server stores the information related to the selected event.
In this embodiment, in the apparatus 600 for circling events: the specific processing of the establishing unit 601, the first sending unit 602, the second sending unit 603, the associating unit 604 and the third sending unit 605 and the technical effects thereof can refer to the related description of step 201 and step 205 in the corresponding embodiment of fig. 2, and are not described herein again.
In some optional implementations of this embodiment, the means 600 for circling the event further includes: a first binding unit (not shown in the figure) configured to select at least one property to bind with the selected event.
In some optional implementations of this embodiment, the means 600 for circling the event further includes: an obtaining unit (not shown in the figure) configured to obtain the page element by parsing the position information and the path information of the page element through the statistical SDK; a second binding unit (not shown) configured to bind the page element with the selected event; a recording unit (not shown in the figure) configured to record, in response to the selected event being executed, the selected event and at least one property bound to the selected event by the statistical SDK; and a fourth transmitting unit (not shown) configured to transmit the recorded selected event and the at least one property bound to the selected event to the server, so that the server stores the received selected event and the at least one property bound to the selected event.
In some optional implementations of this embodiment, the establishing unit 601 includes: an embedding subunit (not shown in the figure) configured to embed the user page into the statistical circled page; a first loading subunit (not shown in the figure) configured to load the statistical SDK in the user page so that communication is established between the statistical culling page and the statistical SDK; a sending subunit (not shown in the figure) configured to send a circled SDK load instruction to the statistical SDK through the statistical circled page; and a second loading subunit (not shown in the figure) configured to load the circled SDK in the statistical SDK so that communication is established between the statistical circled page and the circled SDK.
In some optional implementations of this embodiment, the embedding subunit is further configured to: embedding the user page into the statistical circled page by nesting the iframe tag in the statistical circled page.
Referring now to FIG. 7, a block diagram of a computer system 700 suitable for use in implementing an electronic device (e.g., terminal device 101 shown in FIG. 1) of an embodiment of the present application is shown. The electronic device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the use range of the embodiment of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or electronic device. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an establishing unit, a first sending unit, a second sending unit, an associating unit, and a third sending unit. Where the names of these units do not constitute a limitation of the unit itself in this case, for example, the establishing unit may also be described as a "unit establishing communication between the statistical culling page and the user page".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiment; or may be separate and not incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: establishing communication between the statistical selection page and a user page, wherein the user page is loaded with a statistical SDK and a selection SDK; responding to the detection of the user's page circling operation, sending a circling instruction to a circling SDK through a statistical circling page; sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK; in response to detecting the selected operation of the user on the event, associating an event selection page with the selected event; and sending the relevant information of the selected event to the server so that the server stores the relevant information of the selected event.
The foregoing description is only exemplary of the preferred embodiments of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements in which any combination of the features described above or their equivalents does not depart from the spirit of the invention disclosed above. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A method for circling events, comprising:
establishing communication between a statistical circled page and a user page, wherein the user page is loaded with a statistical SDK and a circled SDK, the statistical circled page is embedded with the user page, and the statistical SDK is used for counting the execution condition of the selected event;
responding to the detection of the user's selection operation on the user page, and sending a selection instruction to the selection SDK through the statistical selection page;
sending the position information and the path information of the page elements in the circled area to an event circled page through the circled SDK, wherein the circled area is the area circled on the user page when a user executes the circled operation;
in response to detecting the user's selected operation on an event, associating the event selection page with the selected event;
sending the relevant information of the selected event to a server so as to enable the server to store the relevant information of the selected event, wherein the relevant information comprises at least one of the following items: name, position information and path information of the page element, attribute;
the method further comprises the following steps:
analyzing the position information and the path information of the page element through the statistical SDK to obtain the page element; binding the page element with the selected event.
2. The method of claim 1, wherein after said associating the event circle page with the selected event, further comprising:
at least one attribute is selected to be bound to the selected event.
3. The method of claim 2, wherein the method further comprises:
recording, by the statistical SDK, the selected event and at least one property bound to the selected event in response to the selected event being executed;
sending the recorded selected event and the at least one property bound to the selected event to the server, so that the server stores the received selected event and the at least one property bound to the selected event.
4. The method of claim 1, wherein the establishing communication between the statistical circle page and the user page comprises:
embedding the user page into the statistical circled page;
loading the statistical SDK in the user page so as to establish communication between the statistical circled page and the statistical SDK;
sending a circled SDK loading instruction to the statistical SDK through the statistical circled page;
and loading the circled SDK in the statistical SDK so as to establish communication between the statistical circled page and the circled SDK.
5. The method of claim 4, wherein said embedding the user page in a statistical triage page comprises:
embedding the user page into the statistical circled page by nesting an iframe tag in the statistical circled page.
6. An apparatus for circling events, comprising:
the establishing unit is configured to establish communication between a statistical circled page and a user page, wherein the user page is loaded with a statistical SDK and a circled SDK, the statistical circled page is embedded with the user page, and the statistical SDK is used for counting the execution condition of the selected event;
a first sending unit configured to send a circle selection instruction to the circle selection SDK through the statistical circle selection page in response to detecting a circle selection operation of a user on the user page;
a second sending unit, configured to send, by the circled SDK, position information and path information of page elements in a circled area to an event circled page, where the circled area is an area circled on a user page when a user performs a circled operation;
an association unit configured to associate the event selection page with the selected event in response to detection of the user's selection operation of the event;
a third sending unit configured to send information related to the selected event to a server so that the server stores the information related to the selected event, wherein the information includes at least one of the following: name, position information and path information of the page element, attribute;
the device further comprises:
the obtaining unit is configured to analyze the position information and the path information of the page element through the statistical SDK and obtain the page element; a second binding unit configured to bind the page element with the selected event.
7. The apparatus of claim 6, wherein the apparatus further comprises:
a first binding unit configured to select at least one property to bind with the selected event.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a recording unit configured to record, in response to the selected event being executed, the selected event and at least one property bound to the selected event through the statistical SDK;
a fourth sending unit configured to send the recorded selected event and the at least one property bound to the selected event to the server, so that the server stores the received selected event and the at least one property bound to the selected event.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-5.
10. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201910812659.XA 2019-08-30 2019-08-30 Method and apparatus for circling events Active CN110532496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910812659.XA CN110532496B (en) 2019-08-30 2019-08-30 Method and apparatus for circling events

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910812659.XA CN110532496B (en) 2019-08-30 2019-08-30 Method and apparatus for circling events

Publications (2)

Publication Number Publication Date
CN110532496A CN110532496A (en) 2019-12-03
CN110532496B true CN110532496B (en) 2022-07-26

Family

ID=68665391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910812659.XA Active CN110532496B (en) 2019-08-30 2019-08-30 Method and apparatus for circling events

Country Status (1)

Country Link
CN (1) CN110532496B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889056B (en) * 2019-12-06 2023-08-22 北京百度网讯科技有限公司 Page marking method and device
CN111597106A (en) * 2020-04-09 2020-08-28 北京五八信息技术有限公司 Point burying management method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684571A (en) * 2018-12-28 2019-04-26 咪咕文化科技有限公司 Data acquisition method and device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9292413B2 (en) * 2013-08-13 2016-03-22 International Business Machines Corporation Setting breakpoints in a code debugger used with a GUI object

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684571A (en) * 2018-12-28 2019-04-26 咪咕文化科技有限公司 Data acquisition method and device and storage medium

Also Published As

Publication number Publication date
CN110532496A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
US11036820B2 (en) Page loading method and electronic device
US20170308279A1 (en) Customization of Mobile Applications Using Web-Based Technology
US11579902B2 (en) User interface rendering performance
WO2017206626A1 (en) Network resource access apparatus, mixed apparatus, and method
CN112684968A (en) Page display method and device, electronic equipment and computer readable medium
CN110619100B (en) Method and apparatus for acquiring data
CN111930973A (en) Multimedia data playing method and device, electronic equipment and storage medium
CN111191171A (en) Multi-Fragment loading method and device based on android and electronic equipment
CN111722935A (en) Communication method and device of page end and native end, electronic equipment and readable medium
CN111459685A (en) Communication method, device, equipment and readable medium of page end and native end
CN110532496B (en) Method and apparatus for circling events
CN110780874A (en) Method and apparatus for generating information
CN110069186B (en) Method and device for displaying operation interface of application
CN111722936A (en) Communication method and device of page end and native end, electronic equipment and readable medium
CN112083982B (en) Information processing method and device
CN113609413A (en) Questionnaire delivery method, system, equipment, medium and product
CN112800363A (en) Page display method and device, electronic equipment and computer readable medium
CN110618811B (en) Information presentation method and device
CN113282285B (en) Code writing method, device, electronic equipment and storage medium
CN115185798A (en) Data acquisition and analysis method and device, electronic equipment and storage medium
CN115098530A (en) Data acquisition method and device
CN112596838A (en) Display method, device and equipment of general Web page and storage medium
CN111104626B (en) Information storage method and device
CN111367517B (en) Information generation method and device
CN111767447A (en) Method and device for determining user traffic path

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