User operation time-consuming analysis method and device based on SAAS customer relationship management

Through multi-dimensional data analysis of SaaS CRM system, the time-consuming data is divided and projected, the problem of difficult to diagnose user operation bottlenecks is solved, and in-depth analysis of user operation efficiency and system performance optimization is achieved, which significantly improves the user experience.

CN118656283BActive Publication Date: 2024-12-03BEIJING RENKE INTERACTIVE NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411141684.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-03
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

The existing technology is difficult to accurately diagnose user operation bottlenecks in SaaS CRM systems, and there is a lack of specific distribution analysis of front-end expansion script time-consuming, back-end expansion script time-consuming, network time-consuming, and back-end interface time-consuming, resulting in solving tenant performance Lack of precise data support when problems are encountered.

Method used

By obtaining multi-dimensional data, the time-consuming operation of each user's resource is divided into multiple stages, recording time stamps, calculating the actual total time-consuming of each stage, and projecting the time-consuming data onto the timeline to determine the critical time-consuming path , realize in-depth analysis of user operation efficiency.

Benefits of technology

It realizes in-depth analysis of the user operation efficiency of SaaS CRM system, which can accurately identify bottlenecks or inefficient links in the operation process, help service providers optimize system performance, reduce user waiting time, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656283B_ABST
    Figure CN118656283B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data analysis technology, and provides a method and device for analyzing user operation time consumption based on SAAS customer relationship management, the method comprising: obtaining multi-dimensional data, dividing the time consumption of each user operation resource in the multi-dimensional data into multiple stages, and determining the time consumption data of each stage; sorting each stage according to the actual total time consumption in the time consumption data, and projecting the time consumption of each stage onto the time axis according to the sorting result; and determining the key time-consuming path according to the projection result. The present invention solves the problem that it is difficult to accurately diagnose the user operation bottleneck in the SAAS CRM system in the prior art, and realizes the in-depth analysis of the user operation efficiency in the SAAS customer relationship management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data analysis, and in particular to a method and device for analyzing user operation time consumption based on SAAS customer relationship management. Background Art

[0002] With the popularity of the SaaS (Software-as-a-Service) model, CRM (Customer Relationship Management) products have become an important tool for enterprise management due to their flexibility and scalability. SaaS CRM products allow tenants to customize and extend the front-end and back-end logic based on the purchased standard products to meet the personalized business needs of different enterprises. This multi-tenant and highly customized feature has brought a wide range of application prospects for CRM products, but it has also posed new challenges to product performance analysis.

[0003] Currently, there are a variety of performance monitoring and analysis tools for SaaS CRM products on the market, but most of these tools focus on performance analysis at the resource level, such as using Google Chrome's development tools to monitor the time distribution of each resource at the network level. However, these tools are obviously insufficient when analyzing performance at the user operation level. In addition, although vendors like Tingyun can provide overall performance data for user operations, they are unable to break down the specific distribution of front-end extension script time, back-end extension script time, network phase time, and back-end interface time, which results in a lack of accurate data support when solving performance issues reported by tenants. Summary of the invention

[0004] The present invention provides a method and device for analyzing user operation time consumption based on SAAS customer relationship management, which is used to solve the problem that it is difficult to accurately diagnose the user operation bottleneck in the SAAS CRM system in the prior art, and realizes in-depth analysis of user operation efficiency in the SAAS customer relationship management system.

[0005] The present invention provides a method for analyzing user operation time consumption based on SAAS customer relationship management, comprising the following steps.

[0006] A user operation time consumption analysis method based on SAAS customer relationship management, comprising:

[0007] Acquire multi-dimensional data, divide the time consumed by each user operating a resource in the multi-dimensional data into multiple stages, and determine the time consumed data for each stage;

[0008] The various stages are sorted according to the actual total time consumed in the time consumption data, and the time consumed in each stage is projected onto the time axis according to the sorting result;

[0009] Determine the critical time-consuming path based on the projection results.

[0010] According to a user operation time-consuming analysis method based on SAAS customer relationship management provided by the present invention, the multi-dimensional data is obtained, and the time consumption of each resource in the multi-dimensional data is divided into multiple stages, specifically including: obtaining network layer data, front-end execution layer data and back-end execution layer data; dividing the time consumption of each resource in the network layer data into multiple stages; the multiple stages include queuing, detection, domain name system, connection, request sending, the stage from the client initiating the request to receiving the first byte from the server, downloading and front-end script execution; dividing the time consumption of each resource in the front-end execution layer data into the front-end extended logic stage and the front-end standard logic stage; dividing the time consumption of each resource in the back-end execution layer data into the back-end extended logic stage and the back-end standard logic stage.

[0011] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, the time consumption data of each stage is determined, which specifically includes: recording timestamps at each stage of resource request and response; calculating the actual total time consumption of each stage according to the recorded timestamps; and generating time consumption data according to the timestamps and the actual total time consumption.

[0012] According to a user operation time-consuming analysis method based on SAAS customer relationship management provided by the present invention, each stage is sorted according to the actual total time consumed in the time-consuming data, and the time consumed in each stage is projected onto the time axis according to the sorting result. Specifically, it includes: sorting each stage in descending order according to the actual total time consumed in the time-consuming data to form an ordered list; creating a blank time axis, taking out the stages with the longest actual total time consumed in the ordered list in turn, and projecting their actual total time consumed onto the time axis to determine the time consumption distribution of each stage.

[0013] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, after determining the time consumption data of each stage, the method also includes: performing statistical analysis on the time consumption data; performing performance evaluation, performance identification and / or resource allocation based on the statistical analysis results.

[0014] According to a user operation time-consuming analysis method based on SAAS customer relationship management provided by the present invention, the time-consuming data of each stage is determined, which specifically includes: recording the time-consuming data of the front-end extension logic and the front-end standard logic during the front-end execution of the user operation through the performance tracking software development toolkit configured on the front-end; and obtaining the time-consuming data of the back-end extension logic and the back-end standard logic during the back-end processing from the server according to the link identifier generated when the front-end is accessed.

[0015] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, the time consumption data includes a start time, an end time and an actual total time consumption.

[0016] The present invention also provides a user operation time consumption analysis device based on SAAS customer relationship management, comprising the following modules:

[0017] A time consumption data acquisition module is used to acquire multi-dimensional data, divide the time consumption of each user operating resources in the multi-dimensional data into multiple stages, and determine the time consumption data of each stage;

[0018] A time projection module is used to sort the various stages according to the actual total time consumed in the time consumption data, and project the time consumed in each stage onto the time axis according to the sorting result;

[0019] The critical time-consuming path determination module is used to determine the critical time-consuming path according to the projection result.

[0020] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a user operation time-consuming analysis method based on SAAS customer relationship management as described above is implemented.

[0021] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for analyzing user operation time consumption based on SAAS customer relationship management.

[0022] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for analyzing user operation time consumption based on SAAS customer relationship management.

[0023] The present invention provides a method and device for analyzing user operation time consumption based on SAAS customer relationship management. By refining and analyzing the time-consuming stages of user operation resources, the bottlenecks or inefficient links in the operation process can be accurately identified, which helps service providers optimize system performance and reduce user waiting time, thereby significantly improving user experience. By projecting the time-consuming data of each stage onto the timeline and sorting them based on the actual total time consumption, it is possible to intuitively show which stages contribute the most to the overall time consumption of user operations, so that service providers can optimize these key stages in a targeted manner, rather than blindly adjusting all links, thereby improving optimization efficiency and effectiveness. After determining the key time-consuming paths, service providers can focus on solving problems on these paths, directly improving the overall operating efficiency of the system and reducing resource waste. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 It is a flow chart of the method for analyzing user operation time consumption based on SAAS customer relationship management provided by the present invention.

[0026] Figure 2 It is a schematic diagram of resource loading when a user clicks to log in at the network layer provided by the present invention.

[0027] Figure 3 It is a structural schematic diagram of a user operation time consumption analysis device based on SAAS customer relationship management provided by the present invention.

[0028] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] Some concepts involved in the present invention are explained below.

[0031] CRM: Customer Relationship Management

[0032] SaaS: Software-as-a-Service, that is, software and services, provided through the Internet.

[0033] Tenant: A customer who has purchased a SaaS product. All tenants’ services are provided in a unified SaaS model.

[0034] User operation: The behavior of users clicking on a certain function on the CRM product through a computer or mobile phone.

[0035] Network resources: style files (css), front-end script files (js), image files (jpg), and back-end interfaces.

[0036] TTFB: Time to first byte, which is the time from when the client initiates the request to when the first byte is received from the server.

[0037] DNS: It is the abbreviation of Domain Name System, which is a core service of the Internet.

[0038] SDK: Software Development Kit, refers to the software development kit. It is a software package that provides software developers with a series of tools, libraries, documents and other resources needed for software development, so that developers can develop applications for specific software or platforms more efficiently.

[0039] JS: stands for front-end script file, which is the abbreviation of JavaScript. JavaScript is a scripting language widely used in web development, which can add dynamic functions to HTML pages.

[0040] SaaS CRM products allow tenants to customize and extend the front-end and back-end logic based on the standard products they purchase, in order to meet the tenants' personalized business needs. Therefore, the product experience will be greatly affected by the tenant's network, terminal devices used, and extended logic. When tenants report that the product is slow to use, it is difficult to quickly locate the specific link that is slow, and it is difficult to answer the following questions:

[0041] 1. Is the performance of standard product functions slow?

[0042] 2. Is the tenant expansion logic slow?

[0043] 3. Is the tenant's network slow?

[0044] 4. Is the slowness caused by the low configuration of the tenant’s terminal equipment?

[0045] Currently, there is a lack of more fine-grained performance monitoring data on the market. In the SaaS model, different tenants will use customized script logic to implement enterprise functions, so it is necessary to identify the time consumption of front-end extension scripts and back-end extension scripts. However, there are no performance monitoring products for customized logic in the SaaS multi-tenant model on the market. The network environment of each tenant is different, and the access performance will also vary greatly.

[0046] The user operation level lacks the ability to analyze the critical path of time consumption. A user operation includes multiple network resource requests. Each network resource request can distinguish the time consumption of the front-end extension script, the back-end extension script, the network stages, and the back-end interface. However, there is no time consumption distribution analysis of the aforementioned dimensions at the user operation level. When analyzing the problem, you can only find the user's operation first, then check the related resources, and analyze them one by one. It is impossible to view the distribution of the front-end extension script time consumption, the back-end extension script time consumption, the network time consumption, and the interface time consumption from the perspective of user operation maintenance. There is no analysis solution on the market that can support the user operation level to subdivide the time consumption.

[0047] In view of the above problems, the present invention provides a user operation time consumption analysis method based on SAAS CRM, which provides detailed time consumption distribution data for user operations through a time projection method for the detailed time consumption distribution of resource loading under business operations. It mainly obtains monitoring data in multiple dimensions, such as the performance data of tenant extension logic and the performance data at the network level, and quickly locates the time-consuming key path from the user operation level to solve the above-mentioned problems.

[0048] Combine the following Figure 1-Figure 4 Embodiments of the present invention are described.

[0049] Figure 1 This is one of the flow charts of the method for analyzing user operation time consumption based on SAAS customer relationship management provided by the present invention, such as Figure 1 As shown, the method includes the following:

[0050] S110: Acquire multi-dimensional data, divide the time consumed by each user operating resources in the multi-dimensional data into multiple stages, and determine the time consumed data of each stage.

[0051] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, the time consumption data includes the start time, the end time and the actual total time consumption.

[0052] According to a user operation time-consuming analysis method based on SAAS customer relationship management provided by the present invention, multi-dimensional data is obtained, and the time consumption of each resource in the multi-dimensional data is divided into multiple stages, specifically including: obtaining network layer data, front-end execution layer data and back-end execution layer data; dividing the time consumption of each resource in the network layer data into multiple stages; the multiple stages include queuing, detection, domain name system, connection, request sending, the stage from the client initiating the request to receiving the first byte from the server, downloading and front-end script execution; dividing the time consumption of each resource in the front-end execution layer data into the front-end extended logic stage and the front-end standard logic stage; dividing the time consumption of each resource in the back-end execution layer data into the back-end extended logic stage and the back-end standard logic stage.

[0053] Specifically, network layer data mainly collects the time-consuming data of network resources (such as style files, front-end script files, image files, back-end interfaces, etc.) in each stage of network transmission during user operation requests. These stages usually include domain name system DNS resolution, connection establishment, request sending, TTFB (Time to First Byte, that is, the time from the client initiating the request to receiving the first byte from the server), downloading, etc.

[0054] The collection of front-end execution layer data requires the use of a performance tracking SDK written on the front end to record and execute the time required for front-end extension scripts and standard logic.

[0055] The collection of backend execution layer data requires the time-consuming extraction of backend extension scripts and standard logic from the server based on the link ID during frontend access.

[0056] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, the time consumption data of each stage is determined, specifically including: recording timestamps at each stage of resource request and response; calculating the actual total time consumption of each stage according to the recorded timestamps; generating time consumption data according to the timestamps and the actual total time consumption.

[0057] Specifically, timestamps are recorded at various key points of resource requests and responses, such as the time when the request is sent, the time when the DNS resolution is completed, the time when the connection is established, the time when the first byte is received, the time when the download is completed, etc. The actual total time consumption of each stage is calculated based on the recorded timestamps, for example, DNS resolution time consumption = DNS resolution completion time - request sending time, download time consumption = download completion time - first byte reception time, etc. The timestamps recorded at each key point are determined as the start time and end time of different stages, and the time consumption data is generated in combination with the actual total time consumption of each stage.

[0058] According to a user operation time-consuming analysis method based on SAAS customer relationship management provided by the present invention, the time-consuming data of each stage is determined, specifically including: recording the time-consuming data of the front-end extension logic and the front-end standard logic during the front-end execution of the user operation through the performance tracking software development toolkit configured on the front-end; according to the link identifier generated when the front-end is accessed, the time-consuming data of the back-end extension logic and the back-end standard logic during the back-end processing is obtained from the server.

[0059] Specifically, the performance tracking SDK is written on the front end to record the time taken to execute the extension script and report it to the server along with the above network data. The time taken to execute the backend extension script is extracted from the server based on the link ID when the front end accesses it.

[0060] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, after determining the time consumption data of each stage, statistical analysis is performed on the time consumption data; performance evaluation, performance identification and / or resource allocation are performed based on the statistical analysis results.

[0061] Specifically, after determining the time consumption data of each stage, statistical analysis is performed on the time consumption data, such as calculating the average time consumption, median time consumption, maximum time consumption, etc., in order to have a more comprehensive understanding of the time consumption characteristics of user operations. Through statistical analysis, the performance of different user operations, different system modules or different time periods can be evaluated and compared. For example, the performance of different versions of the system in terms of user operation time consumption can be compared to evaluate the effect of system upgrade or optimization. Statistical analysis can help identify performance bottlenecks, that is, operations or stages that take a long time; by analyzing the average time consumption, median time consumption and maximum time consumption, specific operations or stages can be located for targeted optimization. The statistical analysis results of time consumption data can be used for resource allocation and planning. For example, server resources can be allocated according to the time consumption characteristics of different operations to ensure the performance of key operations.

[0062] S120 , sorting each stage according to the actual total time consumed in the time consumed data, and projecting the time consumed in each stage onto the time axis according to the sorting result.

[0063] According to a user operation time-consuming analysis method based on SAAS customer relationship management provided by the present invention, each stage is sorted according to the actual total time consumed in the time-consuming data, and the time consumed in each stage is projected onto the time axis according to the sorting result. Specifically, the method includes: sorting each stage in descending order according to the actual total time consumed in the time-consuming data to form an ordered list; creating a blank time axis, taking out the stages with the longest actual total time consumed in the ordered list in turn, and projecting their actual total time consumed onto the time axis to determine the time consumption distribution of each stage.

[0064] According to a user operation time consumption analysis method based on SAAS customer relationship management provided by the present invention, after the time consumption of each stage is projected onto a time axis, table data is determined according to the projection on the time axis.

[0065] Specifically, the actual total time consumption of all stages is sorted in descending order, that is, the stage with the longest time consumption will be placed in front, and the stage with the shortest time consumption will be placed in the back. The sorting result can be an ordered list, which includes the start time, end time and corresponding actual total time consumption of each stage.

[0066] Create a blank timeline to display the time-consuming projection of each stage. The timeline can be horizontal or vertical, depending on the display needs and habits. Set a start point and end point on the timeline based on the entire time range of the user's operation.

[0067] Take the longest phase from the sorted list and project its actual total time onto the timeline. That is, draw an interval corresponding to the phase time on the timeline, with the start and end points of the interval corresponding to two points on the timeline.

[0068] Next, take the time taken for the second stage in the sorted list and perform a similar projection. However, care should be taken to avoid overlapping with the projection interval of the previous stage. If the start time of the next stage is earlier than the end time of the previous stage, the projection of the next stage will start from the time point after the end of the previous stage.

[0069] Repeat the above steps until the time consumed by all stages is projected onto the timeline.

[0070] After the time consumption of all stages is projected onto the timeline, some adjustments and optimizations can be made to ensure the clarity and readability of the timeline. For example, different colors or markers can be used to distinguish different types of time consumption (such as network time consumption, front-end execution time consumption, back-end execution time consumption, etc.) to more intuitively show the impact of each stage on the total time consumption of user operations.

[0071] S130: Determine a critical time-consuming path according to the projection result.

[0072] Specifically, we look for those continuous and long time-consuming intervals on the time axis. These intervals are often formed by the continuous superposition of the time consumption of multiple stages and are the main components of the total time consumption of user operations.

[0073] For each continuous time-consuming interval, the cumulative time consumption can be calculated by adding up the time consumption of all stages in the interval. Compare the cumulative time consumption of each continuous time-consuming interval to find the interval with the longest time consumption. This interval can be used as the key time-consuming path in user operations. In-depth analysis of each stage in the key time-consuming path to understand the time consumption of each stage and their contribution to the total time consumption. Especially those stages that take a long time and have a greater impact on the total time consumption should be the focus of performance optimization. According to the analysis results of the key time-consuming path, formulate corresponding optimization strategies, such as optimizing network configuration, improving the efficiency of front-end or back-end code execution, and reducing unnecessary resource requests.

[0074] The present invention uses the time projection method to analyze the critical path of the time consumption of multiple concurrent resources. One user operation will load multiple style files, image files, script files, and backend interfaces. These resources are executed both serially and in parallel. The critical time-consuming path can be found through the time projection method, rather than analyzing one resource at a time.

[0075] The scheme of the present invention is further illustrated by specific examples below.

[0076] like Figure 2 The following is a schematic diagram of resource loading when a user clicks login at the network layer. On the timeline, the time consumption of each resource is divided into 8 parts: queuing, detection, DNS, connection, request sending, TTFB, download, and JS. According to the above 8 stages, the time range and actual total time consumption of each stage are sorted out to form the following Table 1.

[0077] Table 1

[0078]

[0079] In reverse order of the actual total time consumption, the actual total time consumption is projected onto the timeline, that is, first project the timeline 59-200 of the TTFB with the maximum time consumption of 142 onto the blank timeline. This time range is the time when the code is executing TTFB. Then project the download with a total time consumption of 122. Since the time period 181-200 has been projected by TTFB, only the non-overlapping 201-300 can be projected onto the timeline. The other types are projected in turn, and finally the following data in Table 2 is obtained on the timeline:

[0080] Table 2

[0081]

[0082] Find out the critical path of time consumption: TTFB > Download > JS > Queue > Connect (17) > Detect (10) > Request Send (2) > DNS (0).

[0083] Front-end extension script time consumption: The front-end writes a performance tracking SDK to record the time consumption of executing the extension script and reports it to the server along with the above network data.

[0084] Backend extension script time consumption: The time consumption of extracting the backend extension script from the server according to the link ID during frontend access.

[0085] Based on the above data, the following data is obtained in Table 3:

[0086] Table 3

[0087]

[0088] From the above, we can conclude that the performance bottleneck lies in the time consumed by the backend standard logic and network downloads.

[0089] The present invention supports time consumption distribution analysis at the user operation level. However, the existing technology cannot provide performance monitoring of tenant customized script logic in the SaaS model, and cannot analyze the critical path of time consumption from the user operation level. The present invention can clearly analyze the time consumption of front-end expansion logic, front-end standard logic, network stage, back-end expansion logic, and back-end standard logic for the user's business operations, and find out the critical path of time consumption.

[0090] The user operation time consumption analysis device based on SAAS customer relationship management provided by the present invention is described below. The user operation time consumption analysis device based on SAAS customer relationship management described below and the user operation time consumption analysis method based on SAAS customer relationship management described above can be referenced to each other.

[0091] like Figure 3 The figure is a schematic diagram of the structure of the user operation time consumption analysis device based on SAAS customer relationship management provided by the present invention, which includes the following modules:

[0092] The time consumption data acquisition module 310 is used to acquire multi-dimensional data, divide the time consumption of each user operating resources in the multi-dimensional data into multiple stages, and determine the time consumption data of each stage;

[0093] The time projection module 320 is used to sort the stages according to the actual total time consumed in the time consumption data, and project the time consumed in each stage onto the time axis according to the sorting result;

[0094] The critical time-consuming path determining module 330 is used to determine the critical time-consuming path according to the projection result.

[0095] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute a user operation time consumption analysis method based on SAAS customer relationship management, the method comprising: obtaining multi-dimensional data, dividing the time consumption of each user operation resource in the multi-dimensional data into multiple stages, and determining the time consumption data of each stage; sorting each stage according to the actual total time consumption in the time consumption data, and projecting the time consumption of each stage onto the time axis according to the sorting result; and determining the key time consumption path according to the projection result.

[0096] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0097] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the user operation time analysis method based on SAAS customer relationship management provided by the above methods. The method includes: obtaining multi-dimensional data, dividing the time consumption of each user operation resource in the multi-dimensional data into multiple stages, and determining the time consumption data of each stage; sorting each stage according to the actual total time consumption in the time consumption data, and projecting the time consumption of each stage onto the timeline according to the sorting results; and determining the key time-consuming path according to the projection results.

[0098] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the user operation time analysis method based on SAAS customer relationship management provided by the above-mentioned methods. The method includes: obtaining multi-dimensional data, dividing the time consumption of each user operation resource in the multi-dimensional data into multiple stages, and determining the time consumption data of each stage; sorting each stage according to the actual total time consumption in the time consumption data, and projecting the time consumption of each stage onto the time axis according to the sorting results; and determining the key time-consuming path according to the projection results.

[0099] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0100] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A user operation time consumption analysis method based on SAAS customer relationship management, characterized in that: include: Acquire multi-dimensional data, and divide the time consumption of each user operation resource in the multi-dimensional data into multiple stages, including: acquiring network layer data, front-end execution layer data, and back-end execution layer data; dividing the time consumption of each resource in the network layer data into multiple stages; the multiple stages include queuing, detection, domain name system, connection, request sending, the stage from the client initiating the request to receiving the first byte from the server, downloading, and front-end script execution; dividing the time consumption of each resource in the front-end execution layer data into a front-end extended logic stage and a front-end standard logic stage; dividing the time consumption of each resource in the back-end execution layer data into a back-end extended logic stage and a back-end standard logic stage; determining the time consumption data of each stage; The various stages are sorted according to the actual total time consumed in the time consumption data, and the time consumed in each stage is projected onto the time axis according to the sorting result; Determine the critical time-consuming path based on the projection results.

2. The user operation time consumption analysis method based on SAAS customer relationship management according to claim 1 is characterized in that: The time consumption data for each stage is determined, specifically including: Record timestamps at various stages of resource requests and responses; Calculate the actual total time consumed in each stage based on the recorded timestamps; The time consumption data is generated according to the timestamp and the actual total time consumption.

3. The user operation time consumption analysis method based on SAAS customer relationship management according to claim 1 is characterized in that: The process of sorting the stages according to the actual total time consumed in the time consumed data and projecting the time consumed in each stage onto the time axis according to the sorting result specifically includes: Sorting each stage in descending order according to the actual total time consumed in the time consumed data to form an ordered list; Create a blank timeline, take out the stages with the longest actual total time in the ordered list in turn, and project their actual total time onto the timeline to determine the time distribution of each stage.

4. The user operation time consumption analysis method based on SAAS customer relationship management according to claim 1 is characterized in that: After determining the time consumption data of each stage, the method further includes: Performing statistical analysis on the time-consuming data; Perform performance evaluation, performance identification and / or resource allocation based on statistical analysis results.

5. The user operation time consumption analysis method based on SAAS customer relationship management according to claim 1 is characterized in that: The time consumption data for each stage is determined, specifically including: The performance tracking software development kit configured on the front end is used to record the time consumption data of the front end extension logic and the front end standard logic during the execution of user operations on the front end. According to the link identifier generated during the front-end access, the time-consuming data of the back-end extension logic and the back-end standard logic during the back-end processing is obtained from the server.

6. The user operation time consumption analysis method based on SAAS customer relationship management according to claim 1 is characterized in that: The time consumption data includes the start time, the end time and the actual total time consumption.

7. A user operation time consumption analysis device based on SAAS customer relationship management, characterized in that: include: The time-consuming data acquisition module is used to acquire multi-dimensional data, and divide the time consumed by each user operating resource in the multi-dimensional data into multiple stages, including: acquiring network layer data, front-end execution layer data, and back-end execution layer data; dividing the time consumed by each resource in the network layer data into multiple stages; the multiple stages include queuing, detection, domain name system, connection, request sending, the stage from the client initiating the request to receiving the first byte from the server, downloading, and front-end script execution; dividing the time consumed by each resource in the front-end execution layer data into the front-end extended logic stage and the front-end standard logic stage; dividing the time consumed by each resource in the back-end execution layer data into the back-end extended logic stage and the back-end standard logic stage; determining the time consumed data of each stage; A time projection module is used to sort the various stages according to the actual total time consumed in the time consumption data, and project the time consumed in each stage onto the time axis according to the sorting result; The critical time-consuming path determination module is used to determine the critical time-consuming path according to the projection result.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the user operation time-consuming analysis method based on SAAS customer relationship management as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for analyzing user operation time consumption based on SAAS customer relationship management as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Performance analysis method and system, electronic device and storage medium

    CN110618933A

  • Application starting monitoring method and device, equipment and storage medium

    CN114048094A

  • Time consumption statistical method and device

    CN114428712A

  • Performance monitoring method and device of electronic equipment

    CN117093441A

  • Visual processing method and equipment for query interpretation analysis result

    CN117149891A