Search

CN-121979754-A - Cross-page task processing method and device

CN121979754ACN 121979754 ACN121979754 ACN 121979754ACN-121979754-A

Abstract

One or more embodiments of the present disclosure provide a method and an apparatus for processing a cross-page task. According to the method, each actual access line corresponding to the target task is obtained based on the page log of the target task, the target access lines corresponding to the target task which are pre-configured are compared and matched, the deviation degree of the actual access line relative to the target access line is estimated according to a matching result, and a reference is provided for optimization of the target task. The method not only carries out sequential verification on the actual access page sequence in the actual access line, but also verifies whether the actual access line contains a preset key event, and determines the actual execution state of the target task based on the verification results of the two aspects. When the method acquires the actual access page sequences based on the page logs, the available actual access page sequences are screened based on the first target page in the target page sequences, and the starting point alignment among the actual access page sequences is realized.

Inventors

  • WU MINGJUN

Assignees

  • 支付宝(杭州)数字服务技术有限公司

Dates

Publication Date
20260505
Application Date
20260122

Claims (13)

  1. 1. The cross-page task processing method is characterized by comprising the following steps of: Acquiring a target access line of a target task, wherein the target access line comprises a target page sequence, and the target page sequence comprises a plurality of target pages which are required to be accessed in sequence for completing the target task; Acquiring a page log of the target task, and determining at least one actual access line corresponding to the target task according to the page log, wherein the actual access line comprises an actual access page sequence, and the actual access page sequence comprises at least one target page; And respectively matching each actual access line with the target access line, and determining a preset evaluation index corresponding to the actual access line, wherein the preset evaluation index is used for evaluating the deviation degree of the actual access line from the target access line.
  2. 2. The method of claim 1, wherein the target access line further comprises a preset critical event, the preset critical event being an event indicating that the target task was successfully performed; the preset evaluation index comprises a task execution state, wherein the task execution state represents whether the actual access line successfully executes the target task; Respectively matching each actual access line with the target access line, and determining a preset evaluation index corresponding to the actual access line, wherein the method comprises the following steps: Judging whether the actual access page sequence is matched with the target page sequence or not; judging whether the preset key event exists in the actual access line or not; And under the condition that the actual access page sequence is matched with the target page sequence and the preset key event exists in the actual access line, determining that the task execution state corresponding to the actual access line is a successful state, otherwise, determining that the task execution state corresponding to the actual access line is a failure state.
  3. 3. The method of claim 2, wherein determining whether the actual access page sequence matches the target page sequence comprises: Judging whether the actual access page sequence contains all the target pages or not; and judging whether the arrangement sequence of the target pages contained in the actual access page sequence is consistent with the target page sequence.
  4. 4. A method according to any one of claims 1 to 3, wherein matching each of the actual access lines with the target access line, respectively, determines a preset evaluation index corresponding to the actual access line, comprising: according to the actual access page sequence, counting the total page number S and the non-repeated page number N corresponding to each actual access line; And evaluating the user lost degree corresponding to each actual access line according to the total page number S, the non-repeated page number N and the target page number R, wherein the target page number R is the number of the target pages contained in the target page sequence.
  5. 5. A method according to any one of claims 1 to 3, wherein the page log comprises a plurality of page operation events and corresponding event occurrence times; determining at least one actual access line corresponding to the target task according to the page log, wherein the at least one actual access line comprises: Screening at least one session corresponding to the target task from the page log based on preset inactivity interval time, wherein the session comprises a plurality of page operation events ordered based on event occurrence time, the page operation events in the session comprise a first entry event representing entry into a starting target page, and the starting target page is the first target page in the target page sequence; And constructing the actual access page sequence corresponding to the session by taking the first entry event as a starting point.
  6. 6. The method of claim 5, wherein determining at least one actual access line corresponding to the target task from the page log further comprises: and cleaning the page operation event in the session before the actual access page sequence is constructed.
  7. 7. The method according to any one of claims 1 to 3, further comprising optimizing the target task according to the preset evaluation index.
  8. 8. A cross-page task processing device, comprising: The system comprises a target line determining module, a target line processing module and a target line processing module, wherein the target line determining module is used for obtaining a target access line of a target task, the target access line comprises a target page sequence, and the target page sequence comprises a plurality of target pages which are required to be accessed for completing the target task; The actual line determining module is used for acquiring the page log of the target task and determining at least one actual access line corresponding to the target task according to the page log, wherein the actual access line comprises an actual access page sequence, and the actual access page sequence comprises at least one target page; And the line matching module is used for respectively matching each actual access line with the target access line, and determining a preset evaluation index corresponding to the actual access line according to a matching result, wherein the preset evaluation index is used for evaluating the degree of deviation of the actual access line from the target access line.
  9. 9. The apparatus of claim 8, wherein the target access line further comprises a preset critical event, the preset critical event being an event indicating that the target task was successfully performed; the preset evaluation index comprises a task execution state, wherein the task execution state represents whether the actual access line successfully executes the target task; The line matching module is used for executing the following operations: Judging whether the actual access page sequence is matched with the target page sequence or not; judging whether the preset key event exists in the actual access line or not; And under the condition that the actual access page sequence is matched with the target page sequence and the preset key event exists in the actual access line, determining that the task execution state corresponding to the actual access line is a successful state, otherwise, determining that the task execution state corresponding to the actual access line is a failure state.
  10. 10. The apparatus of claim 8 or 9, wherein the line matching module is configured to: according to the actual access page sequence, counting the total page number S and the non-repeated page number N corresponding to each actual access line; And evaluating the user lost degree corresponding to each actual access line according to the total page number S, the non-repeated page number N and the target page number R, wherein the target page number R is the number of the target pages contained in the target page sequence.
  11. 11. The apparatus of claim 8 or 9, wherein the page log comprises a plurality of page operation events and corresponding event occurrence times; the actual line determination module is used for executing the following operations: Screening at least one session corresponding to the target task from the page log based on preset inactivity interval time, wherein the session comprises a plurality of page operation events ordered based on event occurrence time, the page operation events in the session at least comprise a first entry event representing entry into a starting target page, and the starting target page is the first target page in the target page sequence; And constructing the actual access page sequence corresponding to the session by taking the first entry event as a starting point.
  12. 12. An electronic device, the electronic device comprising: A memory for storing a computer program; a processor for executing a computer program stored in said memory, and which, when executed, implements the method of any of the preceding claims 1-7.
  13. 13. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed, implement the method of any of the preceding claims 1-7.

Description

Cross-page task processing method and device Technical Field One or more embodiments of the present disclosure relate to the field of data processing technologies, and in particular, to a method and an apparatus for processing a cross-page task. Background With the development of internet technology, more and more service parties provide diversified online services for users through application programs, such as web programs, mobile terminal programs and the like, and convenience is provided for both users and service parties. In these applications, the online service to be implemented is typically designed as a cross-page task, i.e., a task that contains multiple pages. For example, in a certain online shopping platform, to put on shelf a new commodity, a seller needs to sequentially access a "seller center" page, a "commodity management" page, a "commodity release" page, and the like, wherein in the "commodity release" page, relevant information such as category, price, inventory, and picture of the commodity to be released needs to be input according to a navigation prompt. As can be seen, the cross-page task requires that the user access multiple pages in sequence to complete. If the design of the related page is unreasonable, such as disordered page content, unclear navigation and the like, the user is easy to get lost, such as the fact that the user cannot find the required information, repeatedly access among a plurality of pages, difficulty in reaching a terminal page and the like, and the use experience of the user on the related online service is affected. Disclosure of Invention One or more embodiments of the present disclosure provide a method and an apparatus for processing a cross-page task, so as to analyze an actual access situation of the cross-page task, to evaluate a degree of loss of a user caused by the cross-page task, so that adaptability optimization can be performed on the cross-page task, and user experience is improved. In a first aspect, one or more embodiments of the present disclosure provide a method for processing a cross-page task, including: Acquiring a target access line of a target task, wherein the target access line comprises a target page sequence, and the target page sequence comprises a plurality of target pages which are required to be accessed in sequence for completing the target task; Acquiring a page log of the target task, and determining at least one actual access line corresponding to the target task according to the page log, wherein the actual access line comprises an actual access page sequence, and the actual access page sequence comprises at least one target page; And respectively matching each actual access line with the target access line, and determining a preset evaluation index corresponding to the actual access line, wherein the preset evaluation index is used for evaluating the deviation degree of the actual access line from the target access line. According to the technical scheme, the actual access page sequences formed by each actual access target task are generated based on the page logs, and by matching each actual access page sequence with the target page sequence corresponding to the target task, whether the corresponding actual access process reaches the end page of the target task or not can be judged, whether all target pages are completely accessed in each actual access process or not can be determined, so that whether the corresponding actual access process actually completes the target task or not can be determined more accurately, and further the degree or probability that the target task causes the user to get lost can be evaluated according to the actual access times of incomplete target tasks, and whether the target task needs to be optimized or not is determined. Therefore, based on the embodiment, the target task which is easy to cause the user to get lost can be found in time so as to optimize the target task in time, the probability of the user getting lost is reduced, and the user experience is improved. In addition, based on the above embodiment, the evaluation and comparison of the user loss degree of the cross-product can be realized, that is, for different application programs or different versions of the same application program with the same or similar cross-page task, the above cross-page task processing method can be respectively executed based on the same target page sequence and page logs of each application program, and the user loss degree caused by different implementation modes of the cross-page task in different application programs can be evaluated, so that the advantages and disadvantages of different implementation modes of the cross-page task can be compared, and related personnel can be guided to optimize the different application programs as required. In one possible implementation manner, the target access line further comprises a preset key event, wherein the preset key event is an event representing th