A method and device for data analysis

By obtaining and analyzing the access history path of e-commerce users and determining the location information of each historical page, the data inaccuracy problem caused by point burial errors in the prior art is solved, and the accuracy and operability of data analysis are improved.

CN110223130BActive Publication Date: 2024-11-19BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810170938.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-03-01
Publication Date
2024-11-19
Estimated Expiration
2038-03-01

AI Technical Summary

Technical Problem

In the prior art, manual independent burying of each page is likely to lead to inaccurate statistical data, especially when multi-level page redirection, the burying information recorded in the historical page is covered, resulting in inaccurate analysis results.

Method used

By obtaining the access history path of each analyzed object, determining the location information of each historical page, and filtering and statistics based on preset conditions to ensure the accuracy of data analysis.

Benefits of technology

It improves the accuracy of data analysis, overcomes the problem of inaccurate data analysis, and achieves higher operability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110223130B_ABST
    Figure CN110223130B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for data analysis, and relates to the field of computer technology. A specific implementation of the method includes: obtaining the access history path of each analyzed object, wherein the access history path includes multiple history pages; determining the location information corresponding to each analyzed object in each history page of its access history path; and analyzing the corresponding relationship between the analyzed object and the location information. This implementation improves the accuracy of data analysis and has higher operability and scalability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data analysis method, device, electronic device and computer-readable medium. Background Art

[0002] When e-commerce operators conduct promotional activities, promotional links may be placed on different pages of the e-commerce website. Clicking on these promotional links will eventually lead to the same page (such as the purchase page, etc.). Analyzing the promotional transactions brought by different pages can allow operators to clearly understand the marketing effects of different pages, which is very helpful for planning and adjusting the next stage of marketing plan.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] In the prior art, each page is manually and independently buried. When a buried point error occurs, it will affect the accuracy of the statistical data. There may be multiple levels of pages before reaching a final page. If both the first-level page and the second-level page have buried points, when entering the final page from the second-level page, the history page records the buried point information of the second-level page on the first-level page. The final analysis result is attributed to the second-level page, resulting in overlap and inaccurate analysis results. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a method and device for data analysis, which can improve the accuracy of data analysis and have higher operability and scalability.

[0006] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present invention, a method for data analysis is provided, comprising: obtaining an access history path of each analyzed object, wherein the access history path includes multiple historical pages; determining the location information corresponding to each analyzed object in each historical page of its access history path; and determining the correspondence between the analyzed object and the location information.

[0007] Optionally, before determining the corresponding location information of each analyzed object in each historical page of its access history path, the method further includes: screening the historical pages to select historical pages that meet preset conditions; after screening, the method further includes: determining the corresponding location information of each analyzed object in each historical page of its access history path based on the screened historical pages.

[0008] Optionally, the method for determining the correspondence between the analyzed objects and the position information includes: counting the number of corresponding analyzed objects according to the corresponding position information in the history page.

[0009] Optionally, the method for obtaining the access history path of each analyzed object further includes: obtaining the access history path of each analyzed object according to a preset identifier, wherein the history page includes the preset identifier.

[0010] To achieve the above-mentioned purpose, according to another aspect of an embodiment of the present invention, a data analysis device is provided, comprising: a query module, used to obtain the access history path of each analyzed object, wherein the access history path includes multiple historical pages; a positioning module, used to determine the corresponding location information of each analyzed object in each historical page of its access history path; and an analysis module, used to determine the corresponding relationship between the analyzed object and the location information.

[0011] Optionally, the device also includes: a screening module, which is used to screen the historical pages and select historical pages that meet preset conditions before the positioning module determines the corresponding location information of each analyzed object in each historical page of its access history path; the positioning module is also used to determine the corresponding location information of each analyzed object in each historical page of its access history path based on the filtered historical pages.

[0012] Optionally, the analysis module is further used to count the number of corresponding analyzed objects according to corresponding position information in the historical page.

[0013] Optionally, the query module is further used to obtain the access history path of each analyzed object according to a preset identifier, wherein the history page includes the preset identifier.

[0014] To achieve the above-mentioned purpose, according to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods described in a data analysis method.

[0015] To achieve the above objective, according to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by one or more processors, any method described in a data analysis method is implemented.

[0016] An embodiment of the above invention has the following advantages or beneficial effects: because a technical means is adopted by determining the corresponding location information of each analyzed object in each historical page of its access history path, the technical problem of inaccurate data analysis is overcome, thereby achieving the technical effect of improving the accuracy of data analysis.

[0017] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0019] Figure 1 is a schematic diagram of main steps of a data analysis method according to an embodiment of the present invention;

[0020] Figure 2 It is a preferred embodiment according to the embodiment of the present invention;

[0021] Figure 3 is another preferred embodiment according to the embodiment of the present invention;

[0022] Figure 4 is a schematic diagram of the main parts of a data analysis device according to an embodiment of the present invention;

[0023] Figure 5 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0024] Figure 6 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0026] Figure 1 is a schematic diagram of the main steps of a data analysis method according to an embodiment of the present invention, such as Figure 1 As shown:

[0027] Step S101 indicates obtaining the access history path of each analyzed object, wherein the access history path includes multiple historical pages; the purpose of this step is to find the historical page of each analyzed object in the historical data or historical records. The access history path can indicate the order of the user's access, browsing, clicking, or opening behaviors corresponding to the historical pages.

[0028] The method may further include sorting the acquired historical pages according to the order of browsing time, in order to facilitate the execution of subsequent steps and improve efficiency.

[0029] The method for obtaining the access history path of each analyzed object also includes: obtaining the access history path of each analyzed object according to a preset identifier, wherein the preset identifier is included in the historical page. The purpose of this step is to query the historical page more accurately and increase operability and scalability. The preset identifier can be used to classify and retrieve historical pages, and can also be uniformly managed and batch modified as needed. For example, in the e-commerce field, a unique identifier is assigned to the promotional activity page browsed by the user, so that the historical page in the user's historical browsing record also carries the unique identifier, and then the historical page can be queried by querying the unique identifier.

[0030] Step S102 indicates determining the corresponding position information of each analyzed object in each historical page of its access history path; the purpose of this step is to accurately determine the result of data analysis to the corresponding position in each historical page.

[0031] Before determining the location information corresponding to each of the analyzed objects in each of the historical pages in its access history path, the method further includes: screening the historical pages to select historical pages that meet preset conditions; after screening, the method further includes: determining the location information corresponding to each of the analyzed objects in each of the historical pages in its access history path based on the screened historical pages. The purpose of this step is to narrow the query scope and improve query efficiency. For example, in the field of e-commerce, historical pages may include product details pages, promotional pages, and error pages, etc. The preset condition is to select promotional pages. Therefore, a page type dimension table can be created, and the same page type value can be assigned to the same type of promotional page addresses. The address of the historical page and the address of the promotional page in the dimension table are used for string matching to screen out historical pages with high matching degrees as promotional pages. Or filter and retain historical pages containing user clicks on promotional buttons.

[0032] Step S103 represents analyzing the correspondence between the analyzed object and the location information to improve the accuracy of data analysis, such as determining the correlation between the analyzed object and the location information.

[0033] The method for analyzing the correspondence between the analyzed objects and the position information includes: counting the number of analyzed objects corresponding to the positions in the history page according to the position information.

[0034] For example, the location information corresponding to the counted object A is No.1, No.2, No.3;

[0035] The location information corresponding to the counted object B is No.2 and No.3;

[0036] The location information corresponding to the counted object C is No.1 and No.3;

[0037] Then the number of counted objects corresponding to position No.1 is 2;

[0038] The number of counted objects corresponding to position No.2 is 2;

[0039] The number of counted objects corresponding to position No.3 is 3.

[0040] Figure 2 It is a preferred embodiment according to the embodiment of the present invention, such as Figure 2 As shown:

[0041] For e-commerce websites, Python (an object-oriented interpreted computer programming language) scripts are started at regular intervals every day to analyze and process the browsing records of all users, filter historical pages according to the preset page classification dimension table, select historical pages with promotional activities, and sort them by browsing time. Read the purchase records of the goods ordered by the user who placed an order the day before (including buy now records and add to cart records), and match the historical page records of the order through the page information saved in the purchase record. In the same session of the page, based on the historical browsing path before the user clicks buy now or add to cart, the transaction status of the page in each placement is counted, and the statistical results are presented in the form of a report.

[0042] Figure 3 is another preferred embodiment according to the present invention, such as Figure 3 As shown:

[0043] For any order, first find the order record according to whether it is an add to cart or buy now order, then query the historical page when the order was placed according to the preset mark in the order record, filter out all the historical pages that were browsed before it, and filter out the historical pages containing promotional activities from these historical pages. For the historical pages containing promotional activities that are filtered out, trace back from the page where the add to cart or buy now button is clicked according to the time sequence of user browsing. In the historical pages browsed by the user, if the traced historical page is the homepage of the promotional activity or the page entered from the external entrance, the order is counted in the placement position of the promotional activity to which the page belongs, and the transaction statistics of the order are completed. Otherwise, after the order is counted in the placement position of the activity to which this page belongs, trace back one page and continue to determine whether the page is the activity homepage or the page entered from the external entrance. Finally, the transaction status of all activities in each placement position is counted.

[0044] Figure 4 is a schematic diagram of the main parts of a data analysis device 400 according to an embodiment of the present invention, such as Figure 4 As shown:

[0045] The query module 401 is used to obtain the access history path of each analyzed object, wherein the access history path includes multiple historical pages; the purpose is to find the historical page of each analyzed object in the historical data or historical records. The access history path can indicate the order of the historical pages browsed by the user.

[0046] The query module 401 can also be used to sort the acquired historical pages according to the order of browsing time, in order to facilitate the execution of subsequent steps and improve efficiency.

[0047] The query module 401 is also used to obtain the access history path of each analyzed object according to a preset identifier, wherein the preset identifier is included in the historical page. The purpose is to query the historical page more accurately and increase operability and scalability. The preset identifier can be used to classify and retrieve historical pages, and can also be uniformly managed and batch modified as needed. For example, in the field of e-commerce, a unique identifier is assigned to the promotional activity page browsed by the user, so that the historical page in the user's historical browsing record also carries the unique identifier, and then the historical page can be queried by querying the unique identifier.

[0048] The positioning module 402 is used to determine the corresponding position information of each analyzed object in each historical page of its access history path; the purpose is to accurately determine the result of data analysis to the corresponding position in each historical page.

[0049] The analysis module 403 is used to analyze the correspondence between the analyzed object and the location information to improve the accuracy of data analysis, such as determining the correlation between the analyzed object and the location information.

[0050] The analysis module 403 is further configured to count the number of analyzed objects corresponding to the positions in the history page according to the position information.

[0051] For example, the location information corresponding to the counted object A is No.1, No.2, No.3;

[0052] The location information corresponding to the counted object B is No.2 and No.3;

[0053] The location information corresponding to the counted object C is No.1 and No.3;

[0054] Then the number of counted objects corresponding to position No.1 is 2;

[0055] The number of counted objects corresponding to position No.2 is 2;

[0056] The number of counted objects corresponding to position No.3 is 3.

[0057] The device 400 also includes: a screening module, which is used to screen the historical pages and select historical pages that meet the preset conditions before the positioning module 402 determines the corresponding location information of each analyzed object in each historical page of its access history path; the purpose is to narrow the query scope and improve the query efficiency. The positioning module 402 is also used to determine the corresponding location information of each analyzed object in each historical page of its access history path based on the filtered historical pages. For example, in the field of e-commerce, historical pages may include product details pages, promotional pages, and error pages. The preset condition is to select promotional pages. Therefore, a page type dimension table can be created, and the same page type value is assigned to the same type of promotional page addresses. The address of the historical page and the promotional page address in the dimension table are used for string matching to filter out historical pages with high matching degrees as promotional pages. Or filter and retain historical pages containing user clicks on promotional buttons.

[0058] Figure 5 An exemplary system architecture 500 to which the AA method or AA device according to the embodiment of the present invention can be applied is shown.

[0059] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, 503, a network 504 and a server 505. Network 504 is used to provide a medium for communication links between terminal devices 501, 502, 503 and server 505. Network 504 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0060] Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 501, 502, 503, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0061] The terminal devices 501 , 502 , and 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0062] The server 505 may be a server that provides various services, such as a backend management server that provides support for shopping websites browsed by users using the terminal devices 501, 502, and 503. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information and product information) to the terminal device.

[0063] It should be noted that a data analysis method provided in an embodiment of the present invention is generally executed by the server 505 , and accordingly, a data analysis device is generally disposed in the server 505 .

[0064] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0065] Figure 6 The diagram shown is a schematic diagram of the structure of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0066] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0067] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0068] In particular, according to the embodiments disclosed in the present invention, the process described in the above step diagram can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the step diagram. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present invention are executed.

[0069] It should be noted that the computer-readable medium shown in the present invention includes a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. Computer-readable storage media include, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, semiconductor systems, devices or devices, or any combination of the above. Computer-readable storage media specifically include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any combination of the above. In the present invention, a computer-readable storage medium includes any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device; a computer-readable signal medium includes a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code, and such a propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any combination of the above signals. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF (radio frequency), etc., or any combination of the above media.

[0070] The step diagram or block diagram in the accompanying drawings illustrates the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. Each box in the step diagram or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed in parallel, and sometimes they can be executed in the opposite order, and the execution order depends on the functions involved. It should also be noted that each box in the block diagram or step diagram and its combination can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0071] The modules or units involved in the embodiments of the present invention may be implemented in software or hardware. The modules or units described may also be set in a processor. For example, they may be described as: a processor includes a query module, a positioning module, and an analysis module. The names of these modules or units do not, in some cases, constitute limitations on the modules or units themselves. For example, the query module may also be described as "a module for obtaining the access history path of each analyzed object."

[0072] On the other hand, an embodiment of the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining the access history path of each analyzed object, wherein the access history path includes multiple history pages; determining the location information corresponding to each analyzed object in each history page of its access history path; and analyzing the corresponding relationship between the analyzed object and the location information.

[0073] The technical solution according to the embodiment of the present invention can improve the accuracy of data analysis and has higher operability and scalability.

[0074] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for data analysis, characterized in that: include: Obtaining an access history path of each analyzed object, wherein the access history path includes a plurality of history pages; Determine the location information corresponding to each analyzed object in each historical page of its access history path; Analyzing the correspondence between the analyzed objects and the position information, including: counting the number of analyzed objects corresponding to the positions in the historical page according to the position information; Among them, before determining the corresponding location information of each analyzed object in each historical page of its access history path, it also includes: screening the historical pages to select historical pages that meet preset conditions; and determining the corresponding location information of each analyzed object in each historical page of its access history path based on the screened historical pages.

2. The method according to claim 1, characterized in that The method for obtaining the access history path of each analyzed object also includes: The access history path of each analyzed object is obtained according to a preset identifier, wherein the history page includes the preset identifier.

3. A data analysis device, characterized in that: include: A query module, used to obtain an access history path of each analyzed object, wherein the access history path includes a plurality of history pages; A positioning module, used to determine the corresponding position information of each analyzed object in each historical page of its access history path; An analysis module, configured to analyze the correspondence between the analyzed object and the position information, including: counting the number of analyzed objects corresponding to the positions in the historical page according to the position information; A screening module, used for screening the historical pages to select the historical pages meeting the preset conditions before the positioning module determines the corresponding location information of each analyzed object in each historical page of its access history path; The positioning module is also used to determine the corresponding position information of each analyzed object in each historical page of its access history path according to the filtered historical pages.

4. The device according to claim 3, characterized in that The query module is also used to obtain the access history path of each analyzed object according to a preset identifier, wherein the history page includes the preset identifier.

5. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in claim 1 or 2.

6. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by one or more processors, the method according to claim 1 or 2 is implemented.