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

CN108093072B - Method and device for acquiring access path in station and storage medium - Google Patents

Method and device for acquiring access path in station and storage medium Download PDF

Info

Publication number
CN108093072B
CN108093072B CN201711458429.5A CN201711458429A CN108093072B CN 108093072 B CN108093072 B CN 108093072B CN 201711458429 A CN201711458429 A CN 201711458429A CN 108093072 B CN108093072 B CN 108093072B
Authority
CN
China
Prior art keywords
attribution
page
access path
parameter sequence
starting
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
CN201711458429.5A
Other languages
Chinese (zh)
Other versions
CN108093072A (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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Pinwei Software 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 Guangzhou Pinwei Software Co Ltd filed Critical Guangzhou Pinwei Software Co Ltd
Priority to CN201711458429.5A priority Critical patent/CN108093072B/en
Publication of CN108093072A publication Critical patent/CN108093072A/en
Application granted granted Critical
Publication of CN108093072B publication Critical patent/CN108093072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for acquiring an in-station access path, which comprises the steps of acquiring an attribution parameter sequence corresponding to a attribution initial page when the access operation of the attribution initial page is detected, generating an attribution parameter corresponding to a lower page according to a path type when the access operation of the lower page of the current attribution initial page is detected, adding the attribution parameter corresponding to the lower page to the attribution parameter sequence to update the attribution parameter sequence, and analyzing the attribution parameter sequence of the page according to an acquisition instruction of the access path of the page to acquire the access path reaching the page when the acquisition instruction of the access path of the page is received. The invention also discloses an acquisition device and a storage medium of the access path in the station. By generating and updating the attribution parameters, the access path of the page can be acquired in real time in a station, a large data platform is not needed for background data cleaning, and the access path of the user can be acquired efficiently and conveniently.

Description

Method and device for acquiring access path in station and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and an apparatus for acquiring an intra-site access path, and a storage medium.
Background
In the development and optimization of network applications, the access path of a user is a key for analyzing user behaviors and page analysis, and the access path of the user is often reflected by attribution analysis of the application. The in-site attribution of the current application mainly strips the access path of the user from a large amount of access data through a large data background data cleaning technology, so as to deduce the path access source of the user in the current access interface of the application.
With the development of a network, access entries and access directions of applications are more diversified, so that data of a user access path becomes very complex, and the user access path is restored by adopting a large data background data cleaning technology, and a corresponding complex algorithm needs to be developed and designed, so that the access path is acquired for a long time, and the user access path cannot be acquired in time.
Disclosure of Invention
The invention mainly aims to provide a method for acquiring an in-station access path, and aims to solve the technical problems that in the prior art, the access path of a user needs to be restored by adopting a large data background data cleaning technology, a corresponding complex algorithm needs to be developed and designed, the acquisition of the access path needs a long time, and the access path of the user cannot be acquired in time.
In order to achieve the above object, the present invention provides an intra-site access path acquiring method, including the following steps:
when detecting the access operation of the attribution starting page, acquiring an attribution parameter sequence corresponding to the attribution starting page;
when detecting the access operation of a lower page of a current attribution starting page, generating attribution parameters corresponding to the lower page according to the path type, and adding the attribution parameters corresponding to the lower page to the attribution parameter sequence so as to update the attribution parameter sequence;
and when an acquisition instruction of the access path of the page is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the access path of the page to acquire the access path reaching the page.
Preferably, the step of obtaining the attribution parameter sequence corresponding to the attribution starting page includes:
when detecting the access operation of the attribution starting page, acquiring a path type corresponding to the attribution starting page;
and acquiring a preset parameter design scheme corresponding to the path type, and generating an attribution parameter sequence corresponding to the attribution starting page by adopting the preset parameter design scheme.
Preferably, before the step of obtaining the attribution parameter sequence corresponding to the attribution starting page, the method further includes:
when the access operation of the attribution starting page is detected, acquiring the attribution starting page detected last time, and judging whether the attribution starting page is the same as the attribution starting page detected last time;
when the attribution starting page is the same as the attribution starting page detected last time, generating an attribution parameter sequence corresponding to the current starting page by adopting a current preset parameter design scheme;
when the attribution starting page is different from the attribution starting page detected last time, the step of obtaining the attribution parameter sequence corresponding to the attribution starting page is executed.
Preferably, the method for acquiring an intra-site access path further includes:
when the access operation of attributing a starting page is detected, judging whether the attribution parameter sequence exists or not;
if the attribution parameter sequence exists, deleting the attribution parameter sequence, and executing the step of acquiring the attribution parameter sequence corresponding to the attribution starting page;
and if the attribution parameter sequence does not exist, executing the step of acquiring the attribution parameter sequence corresponding to the attribution starting page.
Preferably, after the step of analyzing the attribution parameter sequence of the current page and obtaining the access path to the current page, the method further includes:
and when an acquisition instruction of a page access path entry is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the page access path entry to acquire the access path entry reaching the page and sending the access path entry.
Preferably, after the step of analyzing the attribution parameter sequence of the current page and obtaining the access path to the current page, the method further includes:
when an obtaining instruction of the page access quantity is received, obtaining the characteristic parameters corresponding to the obtaining instruction of the page access quantity;
and acquiring the attribution parameter sequences corresponding to all the access paths, analyzing each attribution parameter sequence, counting the number of the attribution parameter sequences with the characteristic parameters, and returning the number of the attribution parameter sequences.
In order to achieve the above object, the present invention provides an apparatus for acquiring an intra-station access path, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the method for obtaining an intra-site access path as described above.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the method for acquiring an intra-station access path as described above.
According to the method, the device and the storage medium for acquiring the in-station access path, provided by the embodiment of the invention, when a user opens an application and clicks to enter the attribution starting page, the application detects the access operation of the attribution starting page, and obtains the corresponding attribution parameter sequence according to the characteristic information of the attribution starting page. The user clicks a module or pit position and the like in the attribution initial page to enter a lower-level page, the application detects the access operation of the lower-level page, generates corresponding attribution parameters according to the characteristic information in the lower-level page, adds the attribution parameters corresponding to the lower-level page into an attribution parameter sequence, updates the attribution parameter sequence corresponding to the attribution initial page, and the updated attribution parameter sequence comprises all the characteristic information in the attribution initial page and the accessed lower-level page. Therefore, when the access path of the specific page is acquired, the attribution parameter sequence of the specific page is analyzed, and the path information reaching the specific page can be acquired. By generating and updating the attribution parameters, the access path of the page can be acquired in real time in a station, a large data platform is not needed for background data cleaning, and the access path of the user can be acquired efficiently and conveniently.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a method for acquiring an intra-site access path according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of the method for acquiring an intra-site access path according to the present invention;
fig. 4 is a flowchart illustrating a third embodiment of the method for acquiring an intra-site access path according to the present invention;
fig. 5 is a flowchart illustrating a fourth embodiment of the method for acquiring an intra-site access path according to the present invention;
fig. 6 is a flowchart illustrating a fifth embodiment of the method for acquiring an intra-site access path according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows:
when detecting the access operation of the attribution starting page, acquiring an attribution parameter sequence corresponding to the attribution starting page;
when detecting the access operation of a lower page of a current attribution starting page, generating attribution parameters corresponding to the lower page according to the path type, and adding the attribution parameters corresponding to the lower page to the attribution parameter sequence so as to update the attribution parameter sequence;
and when an acquisition instruction of the access path of the page is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the access path of the page to acquire the access path reaching the page.
In the prior art, the access path of the user is restored by adopting a large data background data cleaning technology, a corresponding complex algorithm needs to be designed and developed aiming at the access entrance with diversified applications, and the access path needs to be acquired for a long time, so that the access path of the user cannot be acquired in time.
The invention provides a solution, when a user opens an application and clicks to enter a attribution initial page, the application detects the access operation of the attribution initial page, and obtains a corresponding attribution parameter sequence according to the characteristic information of the attribution initial page. And the user clicks a module or pit position and the like in the attribution starting page to enter a lower-level page, the application detects the access operation of the lower-level page, generates corresponding attribution parameters according to the characteristic information in the lower-level page, adds the attribution parameters corresponding to the lower-level page into an attribution parameter sequence, updates the attribution parameter sequence corresponding to the attribution starting page, and the updated attribution parameter sequence comprises all the characteristic information in the attribution starting page and the accessed lower-level page. Therefore, when the access path of the specific page is acquired, the attribution parameter sequence of the specific page is analyzed, and the path information reaching the specific page can be acquired. By generating and updating the attribution parameters, the access path of the page can be acquired in real time in a station, a large data platform is not needed for background data cleaning, and the access path of the user can be acquired efficiently and conveniently.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a terminal device with an application access function, such as a smart phone, a tablet computer, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a generation program of attribution parameters.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the generation program for attribution parameters stored in the memory 1005 and perform the following operations:
when detecting the access operation of the attribution starting page, acquiring an attribution parameter sequence corresponding to the attribution starting page;
when detecting the access operation of a lower page of a current attribution starting page, generating attribution parameters corresponding to the lower page according to the path type, and adding the attribution parameters corresponding to the lower page to the attribution parameter sequence so as to update the attribution parameter sequence;
and when an acquisition instruction of the access path of the page is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the access path of the page to acquire the access path reaching the page.
Further, the processor 1001 may call the generation program of attribution parameters stored in the memory 1005, and also perform the following operations:
when detecting the access operation of the attribution starting page, acquiring a path type corresponding to the attribution starting page;
and acquiring a preset parameter design scheme corresponding to the path type, and generating an attribution parameter sequence corresponding to the attribution starting page by adopting the preset parameter design scheme.
Further, the processor 1001 may call the generation program of attribution parameters stored in the memory 1005, and also perform the following operations:
when the access operation of the attribution starting page is detected, acquiring the attribution starting page detected last time, and judging whether the attribution starting page is the same as the attribution starting page detected last time;
when the attribution starting page is the same as the attribution starting page detected last time, generating an attribution parameter sequence corresponding to the current starting page by adopting a current preset parameter design scheme;
when the attribution starting page is different from the attribution starting page detected last time, the step of obtaining the attribution parameter sequence corresponding to the attribution starting page is executed.
Further, the processor 1001 may call the generation program of attribution parameters stored in the memory 1005, and also perform the following operations:
when the access operation of attributing a starting page is detected, judging whether the attribution parameter sequence exists or not;
if the attribution parameter sequence exists, deleting the attribution parameter sequence, and executing the step of acquiring the attribution parameter sequence corresponding to the attribution starting page;
and if the attribution parameter sequence does not exist, executing the step of acquiring the attribution parameter sequence corresponding to the attribution starting page.
Further, the processor 1001 may call the generation program of attribution parameters stored in the memory 1005, and also perform the following operations:
and when an acquisition instruction of a page access path entry is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the page access path entry to acquire the access path entry reaching the page and sending the access path entry.
Further, the processor 1001 may call the generation program of attribution parameters stored in the memory 1005, and also perform the following operations:
when an obtaining instruction of the page access quantity is received, obtaining the characteristic parameters corresponding to the obtaining instruction of the page access quantity;
and acquiring the attribution parameter sequences corresponding to all the access paths, analyzing each attribution parameter sequence, counting the number of the attribution parameter sequences with the characteristic parameters, and returning the number of the attribution parameter sequences.
Referring to fig. 2, a first embodiment of the method for acquiring an intra-site access path according to the present invention is provided, where the method for acquiring an intra-site access path includes:
step S10, when detecting the access operation of the attribution start page, acquiring an attribution parameter sequence corresponding to the attribution start page.
The attribution parameters are composed of public fields, and can contain attribution types, page identifications, page names, page codes, page entries, resource types, resource addresses, resource identifications and other information of the pages, and all characteristic information in the pages can be analyzed.
Counting all attribution starting pages applied in advance, enabling the attribution starting pages to correspond to the path types one by one, storing the path types and preset parameter design schemes corresponding to the path types in an application system, and enabling each type of attribution starting pages to correspond to an attribution parameter sequence formed by a series of attribution parameters. Therefore, when the access operation of the attribution starting page is detected, the detected attribution starting page is identified, the corresponding path type is obtained, the corresponding preset parameter design scheme is called according to the path type, and the attribution parameter sequence corresponding to the attribution starting page is generated by adopting the preset parameter design scheme.
Step S20, when detecting an access operation of a lower page of a current attribution starting page, generating an attribution parameter corresponding to the lower page according to the path type, and adding the attribution parameter corresponding to the lower page to the attribution parameter sequence to update the attribution parameter sequence.
The page of the application comprises a page identifier, a page delivery module and/or pit resource type and identifier, and an identifier of a jump landing page. The attribution starting page is provided with modules and/or pit positions, a user can enter a lower level page of the attribution starting page by clicking the modules or the pit positions in the attribution starting page, the path types corresponding to all the lower level pages of the same attribution starting page are the same as those of the attribution starting page, therefore, when a server detects the access operation of the lower level page, the attribution parameter design scheme used last time is directly adopted to generate corresponding attribution parameters from the characteristic information in the lower level page, the attribution parameters corresponding to the lower level pages are added into an attribution parameter sequence, the attribution parameter sequence corresponding to the attribution starting page is updated, and the updated attribution parameter sequence comprises all the attribution starting pages and all the characteristic information in the accessed lower level pages.
Step S30, when receiving the obtaining instruction of the access path of the page, analyzing the attribution parameter sequence of the page according to the obtaining instruction of the access path of the page to obtain the access path reaching the page.
Because the attribution parameter sequence consists of a series of fields for marking page characteristic information, the access information corresponding to the attribution sequence can be obtained by analyzing the attribution parameter sequence, and the user access path corresponding to the attribution parameter sequence can be connected. Therefore, when the access path of the specific page is acquired, the attribution parameter sequence of the specific page is analyzed, and the path information reaching the specific page can be acquired. By generating and updating the attribution parameters, the access path of the page can be acquired in real time in a station, a large data platform is not needed for background data cleaning, and the access path of the user can be acquired efficiently and conveniently.
In this embodiment, when the user opens the application and clicks to enter the attribution start page, the application detects the access operation of the attribution start page, and obtains a corresponding attribution parameter sequence according to the feature information of the attribution start page. And the user clicks a module or pit position and the like in the attribution starting page to enter a lower-level page, the application detects the access operation of the lower-level page, generates corresponding attribution parameters according to the characteristic information in the lower-level page, adds the attribution parameters corresponding to the lower-level page into an attribution parameter sequence, updates the attribution parameter sequence corresponding to the attribution starting page, and the updated attribution parameter sequence comprises all the characteristic information in the attribution starting page and the accessed lower-level page. Therefore, when the access path of the specific page is acquired, the attribution parameter sequence of the specific page is analyzed, and the path information reaching the specific page can be acquired. By generating and updating the attribution parameters, the access path of the page can be acquired in real time in a station, a large data platform is not needed for background data cleaning, and the access path of the user can be acquired efficiently and conveniently.
Referring to fig. 3, a second embodiment of the method for acquiring an intra-station access path according to the present invention is proposed, where based on the first embodiment, before the step S10, the method further includes:
in step S40, when an access operation to the attribution start page is detected, the attribution start page detected last time is acquired.
When a user browses pages, actual browsing conditions are quite various, and a plurality of attribution starting pages may be involved in one browsing process, so that the user may have browsed some pages before browsing the current attribution starting page, wherein the pages may also include other attribution starting pages. For example, after a user inputs a keyword in a search page to search, the user browses information in a lower page of the search page and finds that the information is not information that the user wants to know, so the user returns to the search page to input a new keyword again and then accesses the lower page of the search page corresponding to the new keyword, and at this time, the user browses the initial page of the search page twice. It is also possible that when the user finds information of interest in the recommendation section in the lower page of the search page, the user enters the recommendation page after clicking, and in this case, the user browses two types of initial pages, namely the search page and the recommendation page.
Step S50, determine whether the reason start page is the same as the reason start page detected last time.
The method for judging whether the two attribution starting pages are the same or not can be that the codes of the two attribution starting pages are compared, when the code similarity of the two attribution starting pages reaches 100%, the two attribution starting pages are the same, otherwise, the two attribution starting pages are different. It can also be that each attribution starting page only corresponds to a mark, when the mark of the attribution starting page detected this time is the same as the mark of the attribution starting page detected last time, it indicates that the two attribution starting pages are the same attribution starting page, otherwise, it indicates that the attribution starting pages are different attribution starting pages.
And step S60, when the attribution starting page is the same as the attribution starting page detected last time, generating an attribution parameter sequence corresponding to the current starting page by adopting a current preset parameter design scheme.
If the attribution starting page visited by the current user is the same as the attribution starting page visited by the user last time, the parameter design scheme adopted by the attribution parameters of the current attribution starting page and the attribution parameters of the lower-level page of the current attribution starting page are the same as the parameter design scheme used for generating the attribution parameter of the page visited by the last time, so that the attribution parameter sequence corresponding to the current page can be generated by directly adopting the current preset parameter design scheme without acquiring the type of the current attribution starting page, the corresponding preset parameter design scheme is called according to the type of the current attribution starting page, the preset parameter design scheme replaces the current preset parameter design scheme to generate the attribution parameter sequence corresponding to the current attribution starting page, the generation steps of the attribution parameter sequence are simplified, the running memory of a program is saved, and the acquisition speed of the access path is increased.
Step S10, when the attribution starting page is different from the attribution starting page detected last time, obtaining an attribution parameter sequence corresponding to the attribution starting page.
If the attribution starting page visited by the current user is different from the attribution starting page visited by the user last time, the scheme in the first embodiment is adopted to obtain the type of the current attribution starting page again, and then the corresponding preset parameter design scheme is called according to the type of the current attribution starting page, and the preset parameter design scheme replaces the current preset parameter design scheme to generate the attribution parameter sequence corresponding to the current attribution starting page, so that the generation of the parameter sequence of the current page is realized.
In addition, if the current attribution starting page is the attribution starting page visited by the user for the first time, the attribution starting page visited for the last time does not exist, that is, the attribution starting page detected for the last time cannot be obtained, and at this time, the attribution parameter sequence corresponding to the current attribution starting page can be generated according to a scheme that the current attribution starting page is different from the attribution starting page detected for the last time.
In this embodiment, when an access operation of an attribution start page is detected, an attribution start page accessed by a user last time is acquired, and whether the attribution start page is the same as the attribution start page detected last time is determined. If the two are the same, directly adopting the current preset parameter design scheme to generate an attribution parameter sequence corresponding to the current page without acquiring the type of the current attribution starting page, and then calling the corresponding preset parameter design scheme according to the type of the current attribution starting page, wherein the preset parameter design scheme replaces the current preset parameter design scheme to generate the attribution parameter sequence corresponding to the current attribution starting page; . If the two types are different, the type of the current attribution starting page is obtained again, and then the corresponding preset parameter design scheme is called according to the type of the current attribution starting page, and the preset parameter design scheme replaces the current preset parameter design scheme to generate an attribution parameter sequence corresponding to the current attribution starting page. By judging whether the current attribution starting page is the same as the attribution starting page detected last time, the generation steps of attribution parameter sequences are simplified, the running memory of a program is saved, and the acquisition speed of an access path is increased.
Referring to fig. 4, a third embodiment of the method for acquiring an intra-station access path according to the present invention is proposed, and based on the first or second embodiment, the method for acquiring an intra-station access path further includes:
in step S70, when the access operation of the attribution start page is detected, it is determined whether the attribution parameter sequence already exists.
The determination of whether an attribution parameter sequence already exists may be made by inquiring whether a common field constituting the attribution parameter sequence exists. The attribution parameter sequence can also be marked after the attribution parameter sequence is generated, when judging whether the attribution parameter sequence exists or not, the mark is searched, and when the mark exists in the search result, the attribution parameter sequence already exists; otherwise, if the search result shows that the mark does not exist, the attribution parameter sequence does not exist.
Step S80, if the attribution parameter sequence already exists, deleting the attribution parameter sequence, and executing the step of obtaining the attribution parameter sequence corresponding to the attribution start page.
In general, the page access of the user is very complicated, and each access attributed to the starting page and the pages below the starting page is attributed to one access path. When a page is accessed at the beginning of a attributed starting page, the access of the access path may be abandoned after accessing a certain lower page of the attributed starting page, and the page goes to a second attributed starting page, accesses to the second attributed starting page and the lower pages thereof may reach the final destination (for example, a payment page of a shopping webpage) in the second access path, and the second access path may also be abandoned to a third attributed starting page.
In the face of complex user access, in order to ensure that an effective user access path can be obtained, irrelevant access operations in the process of the user reaching a final destination are removed, wherein the removal method is that when the user accesses an attribution initial page, if an attribution parameter sequence already exists at the moment, the attribution parameter sequence is deleted, namely information of the previous access path of the user is emptied. And after the data is emptied, a new attribution parameter sequence is built again according to the current attribution starting page, so that a user can obtain a user access path.
Step S10, if the attribution parameter sequence does not exist, executing the step of obtaining the attribution parameter sequence corresponding to the attribution start page.
If the current attribution starting page is the attribution starting page accessed by the user for the first time, the attribution parameter sequence does not exist, the attribution parameter sequence generating scheme in the first or second embodiment can be adopted to obtain the type of the current attribution starting page, the corresponding preset parameter design scheme is called according to the type of the current attribution starting page, and the preset parameter design scheme replaces the current preset parameter design scheme to generate the attribution parameter sequence corresponding to the current attribution starting page.
In this embodiment, whether access under another path exists before is determined by determining whether an attribution parameter sequence already exists, so as to ensure that an effective user access path can be acquired for avoiding path interference. When the attribution parameter sequence exists, deleting the attribution parameter sequence, and constructing a new attribution parameter sequence according to the current attribution starting page again for a user to obtain a user access path; and when the attribution parameter sequence does not exist, acquiring the type of the current attribution starting page, and then calling a corresponding preset parameter design scheme according to the type of the current attribution starting page, wherein the preset parameter design scheme replaces the current preset parameter design scheme to generate the attribution parameter sequence corresponding to the current attribution starting page. Whether the attribution parameter sequence exists or not is judged, the attribution parameter sequence is deleted, the effectiveness of obtaining the user access path is guaranteed, and meanwhile, the difficulty and the strength of path analysis are reduced.
Referring to fig. 5, a fourth embodiment of the method for acquiring an intra-station access path according to the present invention is proposed, and based on any one of the first to third embodiments, after step S30, the method further includes:
step S90, when receiving the acquisition instruction of the page access path entry, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the page access path entry to acquire the access path entry reaching the page, and sending the access path entry.
After the attribution parameter sequence of the page is generated, the attribution starting page corresponding to the attribution parameter sequence can be obtained through the analysis of the attribution parameter sequence, and the attribution starting page represents the starting point of the user access path, namely the entrance of the page access path.
The user generally needs to count the access behavior of the user for performing webpage analysis and better optimizing a website, at this time, the user sends an acquisition instruction of a page access path entry, the system analyzes attribution parameter sequences corresponding to all currently acquired user access paths according to the instruction, and feeds back the acquired page access path entry, so as to provide effective webpage data for the user.
In addition, besides accessing the path entry, any page information in the path and the relevant information of the modules and pit positions in the page can be obtained by analyzing the characteristic parameters carried in the attribution parameter sequence, and the information can be selected according to the service scene requirements of the user.
In this embodiment, for a received instruction for acquiring a page access path entry, the system analyzes the attribution parameter sequences corresponding to all the user access paths currently acquired according to the instruction, and feeds back the acquired page access path entry, thereby providing real-time and effective web page data for the user.
Referring to fig. 6, a fifth embodiment of the method for acquiring an intra-station access path according to the present invention is proposed, and based on any one of the first to fourth embodiments, after step S30, the method further includes:
step S100, when an obtaining instruction of the page access quantity is received, obtaining the characteristic parameter corresponding to the obtaining instruction of the page access quantity.
For the received acquisition instruction of the page access number, extracting the characteristic parameters corresponding to the instruction, wherein the characteristic parameters are usually related to the characteristic information of the page, and the system can preset the characteristic parameters of all pages according to the characteristic information of the page.
Step S110, obtaining the attribution parameter sequences corresponding to all the access paths, analyzing each attribution parameter sequence, counting the number of the attribution parameter sequences with the characteristic parameters, and returning the number of the attribution parameter sequences.
Analyzing all attribution parameter sequences generated currently according to the characteristic parameters corresponding to the specific page, acquiring all characteristic parameters contained in the attribution parameter sequences after analysis, searching whether the characteristic parameters corresponding to the specific page exist in the attribution parameter sequences, counting the attribution parameter sequences with the characteristic parameters corresponding to the specific page, and feeding back the counted number, namely the access number of the specific page. By the method, a user can access the data information of each funnel link in the path, and reference is provided for data operation of website development and optimization.
In addition, the number of accesses to the modules, the pit bits, and the like in the page may also be obtained by the above method, and the number of accesses to the page in this embodiment does not only refer to the page of the website, but also refers to the number of accesses to the modules or the pit bits of the page.
In this embodiment, when the access number of the specific page needs to be obtained, first, the feature parameters corresponding to the specific page are obtained, all the attribution parameter sequences generated currently are analyzed, after the analysis, all the feature parameters included in the attribution parameter sequences are obtained, whether the feature parameters corresponding to the specific page exist in the attribution parameter sequences is searched, the attribution parameter sequences in which the feature parameters corresponding to the specific page exist are counted, and the counted number is fed back to be the access number of the specific page. The access information of the user can be quickly acquired in the station, and meanwhile, the information has real-time performance, so that the analysis requirement of the page access behavior of the user is greatly met.
In addition, an embodiment of the present invention further provides an apparatus for acquiring an intra-site access path, where the apparatus for acquiring an intra-site access path includes: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the method for acquiring the access path in the station according to the above embodiments when being executed by the processor.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the method for acquiring an intra-site access path according to the above embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. An acquisition method of an intra-station access path, characterized by comprising the steps of:
when detecting the access operation of the attribution starting page, acquiring an attribution parameter sequence corresponding to the attribution starting page;
when detecting the access operation of a lower page of the current attribution starting page, generating attribution parameters corresponding to the lower page according to the path type, adding the attribution parameters corresponding to the lower page to the attribution parameter sequence, and updating the attribution parameter sequence corresponding to the attribution starting page;
when an acquisition instruction of an access path of a page is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the access path of the page to acquire the access path reaching the page;
wherein the step of obtaining the attribution parameter sequence corresponding to the attribution starting page comprises: when detecting the access operation of the attribution starting page, acquiring a path type corresponding to the attribution starting page;
acquiring a preset parameter design scheme corresponding to the path type, and generating an attribution parameter sequence corresponding to the attribution starting page by adopting the preset parameter design scheme;
the attribution parameters are composed of common fields, and all feature information in the page can be analyzed.
2. The method for acquiring an intra-site access path according to claim 1, wherein the step of acquiring the attribution parameter sequence corresponding to the attribution start page further comprises:
when the access operation of the attribution starting page is detected, acquiring the attribution starting page detected last time, and judging whether the attribution starting page is the same as the attribution starting page detected last time;
when the attribution starting page is the same as the attribution starting page detected last time, generating an attribution parameter sequence corresponding to the current starting page by adopting a current preset parameter design scheme;
when the attribution starting page is different from the attribution starting page detected last time, the step of obtaining the attribution parameter sequence corresponding to the attribution starting page is executed.
3. The acquisition method of an intra-station access path as set forth in claim 1, wherein the acquisition method of an intra-station access path further comprises:
when the access operation of attributing a starting page is detected, judging whether the attribution parameter sequence exists or not;
if the attribution parameter sequence exists, deleting the attribution parameter sequence, and executing the step of acquiring the attribution parameter sequence corresponding to the attribution starting page;
and if the attribution parameter sequence does not exist, executing the step of acquiring the attribution parameter sequence corresponding to the attribution starting page.
4. The method for obtaining an intra-site access path according to any one of claims 1 to 3, wherein the step of parsing the attribution parameter sequence of the current page to obtain the access path to the current page further comprises:
and when an acquisition instruction of a page access path entry is received, analyzing the attribution parameter sequence of the page according to the acquisition instruction of the page access path entry to acquire the access path entry reaching the page and sending the access path entry.
5. The method for obtaining an intra-site access path according to any one of claims 1 to 3, wherein the step of parsing the attribution parameter sequence of the current page to obtain the access path to the current page further comprises:
when an obtaining instruction of the page access quantity is received, obtaining the characteristic parameters corresponding to the obtaining instruction of the page access quantity;
and acquiring the attribution parameter sequences corresponding to all the access paths, analyzing each attribution parameter sequence, counting the number of the attribution parameter sequences with the characteristic parameters, and returning the number of the attribution parameter sequences.
6. An apparatus for acquiring an intra-station access path, the apparatus comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing a method of obtaining an intra-site access path according to any one of claims 1 to 5.
7. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements a method of acquiring an intra-station access path according to any one of claims 1 to 5.
CN201711458429.5A 2017-12-27 2017-12-27 Method and device for acquiring access path in station and storage medium Active CN108093072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711458429.5A CN108093072B (en) 2017-12-27 2017-12-27 Method and device for acquiring access path in station and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711458429.5A CN108093072B (en) 2017-12-27 2017-12-27 Method and device for acquiring access path in station and storage medium

Publications (2)

Publication Number Publication Date
CN108093072A CN108093072A (en) 2018-05-29
CN108093072B true CN108093072B (en) 2021-10-01

Family

ID=62180303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711458429.5A Active CN108093072B (en) 2017-12-27 2017-12-27 Method and device for acquiring access path in station and storage medium

Country Status (1)

Country Link
CN (1) CN108093072B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631828A (en) * 2012-08-28 2014-03-12 阿里巴巴集团控股有限公司 Method and device for determining access path and method and system for determining page churn rate
CN106294614A (en) * 2016-08-01 2017-01-04 华为技术有限公司 Method and apparatus for access service
CN106874339A (en) * 2016-12-20 2017-06-20 北京华宇信息技术有限公司 A kind of methods of exhibiting of circulant Digraph and its application
CN106933896A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 Most short access path recognition methods and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631828A (en) * 2012-08-28 2014-03-12 阿里巴巴集团控股有限公司 Method and device for determining access path and method and system for determining page churn rate
CN106933896A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 Most short access path recognition methods and device
CN106294614A (en) * 2016-08-01 2017-01-04 华为技术有限公司 Method and apparatus for access service
CN106874339A (en) * 2016-12-20 2017-06-20 北京华宇信息技术有限公司 A kind of methods of exhibiting of circulant Digraph and its application

Also Published As

Publication number Publication date
CN108093072A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN103246713B (en) A kind of Web browser method and device
CN108319662A (en) Page processing method, device, electronic equipment and readable storage medium storing program for executing
CN102298614A (en) Method for determining collection category of page collection information and device and equipment
CN110688598A (en) Service parameter acquisition method and device, computer equipment and storage medium
CN108415998B (en) Application dependency relationship updating method, terminal, device and storage medium
CN107644100B (en) Information processing method, device and system and computer readable storage medium
CN107818046B (en) A/B test method and device for application program page
CN112000884B (en) User content recommendation method and device, server and storage medium
CN106534268B (en) Data sharing method and device
CN111090797A (en) Data acquisition method and device, computer equipment and storage medium
CN111221711A (en) User behavior data processing method, server and storage medium
CN112835809A (en) Test data setting method, device, equipment and medium based on browser
CN110852603B (en) High-throughput wind control data processing method, device, equipment and storage medium
CN113434796B (en) Page cache operation method and device, storage medium and electronic device
CN111083054A (en) Route configuration processing method and device, computer equipment and storage medium
KR102205686B1 (en) Method and apparatus for ranking candiate character and method and device for inputting character
CN103440281A (en) Method, device and equipment for acquiring download file
CN112860567A (en) Buried point identification method and device, computer equipment and storage medium
CN108093072B (en) Method and device for acquiring access path in station and storage medium
CN110059243B (en) Data engine optimization method, device, equipment and computer readable storage medium
CN104881308A (en) Application program handling method and device
CN114253441B (en) Method and device for enabling target function, storage medium and electronic device
CN115576624A (en) Programming framework optimization method, system, terminal equipment and storage medium
CN104794165B (en) A kind of webpage representation method, apparatus and system
CN115640476A (en) Site column management method, terminal and computer readable storage medium

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