A software service platform session anomaly analysis method, device, equipment and medium
By recording and analyzing user operation behavior data on the client side of the software service platform, the problem of passively receiving user feedback in the existing technology is solved, and session anomalies can be discovered and resolved in a timely manner, thereby improving the user experience.
Patent Information
- Application Number
- CN202110548249.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-19
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2041-05-19
AI Technical Summary
In the existing technology, software service providers passively receive user feedback, and the information obtained may deviate from the actual problem. The communication cost with users is high, and the problem-solving process needs to be optimized.
By recording the user's operational behavior data on the service page on the client side of the software service platform, and updating the abnormal item when an abnormal response is detected, it is sent to the server for analysis to locate the session abnormality problem.
It enables timely discovery and resolution of abnormal situations in client-server conversations during user use of software services, improving the customer experience of software services.
Smart Images

Figure CN113238921B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer network technology, and in particular to a method, apparatus, device, and medium for analyzing session anomalies on a software service platform. Background Art
[0002] Software-as-a-Service (SaaS) is a new software application model in which vendors provide software services over the internet, and users access these services over the internet. This model reduces the cost of purchasing, building, and maintaining infrastructure and applications. However, due to differences in application domains, cultural contexts, and environments, various issues can arise when using software services, such as poor customer experience and operational process anomalies. In these scenarios, users proactively report issues to service providers, who then provide solutions based on the feedback.
[0003] However, in the process of implementing the present invention, it was found that there are at least the following technical problems in the existing technology: the service provider passively receives user feedback, the information obtained may deviate from the actual problem, the communication cost with the user is high, and the problem-solving process needs to be optimized. Summary of the Invention
[0004] Embodiments of the present invention provide a method, apparatus, device, and medium for analyzing software service platform session anomalies, so as to enable a service provider to proactively discover and resolve problems in the software service process, thereby reducing the communication cost between the service provider and the user.
[0005] In a first aspect, an embodiment of the present invention provides a method for analyzing session anomalies on a software service platform, which is applied to a client of the software service platform. The method includes:
[0006] Record the user's operational behavior data on the service page and send the operational behavior data to the server of the software service platform;
[0007] When obtaining abnormal response data of the server to the user's operation behavior on the service page, updating the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response;
[0008] The updated operation behavior data is sent to the server, so that the server analyzes the updated operation behavior data to obtain a location result of the session abnormality problem.
[0009] In a second aspect, an embodiment of the present invention further provides a method for analyzing session anomalies on a software service platform, which is applied to a server of the software service platform. The method includes:
[0010] Receive user operation behavior data on the service page sent by the client of the software service platform, and save the operation behavior data into a preset operation record database;
[0011] When the operation behavior data contains abnormal item data, the operation behavior data is analyzed to obtain a location result of the session abnormality problem.
[0012] In a third aspect, an embodiment of the present invention further provides a software service platform session anomaly analysis device, which is configured on a client of the software service platform, and includes:
[0013] An operation record module is used to record the user's operation behavior data on the service page and send the operation behavior data to the server of the software service platform;
[0014] an abnormal data updating module, configured to, upon obtaining abnormal response data of the server to the user's operation behavior on the service page, update the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response;
[0015] The abnormal data sending module is used to send the updated operation behavior data to the server, so that the server analyzes the updated operation behavior data and obtains the positioning result of the session abnormality problem.
[0016] In a fourth aspect, an embodiment of the present invention further provides a software service platform session anomaly analysis device, which is configured on a server side of the software service platform, and includes:
[0017] An operation data receiving module is used to receive the user's operation behavior data on the service page sent by the client of the software service platform, and save the operation behavior data into a preset operation record database;
[0018] The abnormality analysis module is used to analyze the operation behavior data when the operation behavior data contains abnormal item data to obtain the location result of the session abnormality problem.
[0019] In a fifth aspect, an embodiment of the present invention further provides a computer device, comprising:
[0020] one or more processors;
[0021] a memory for storing one or more programs;
[0022] When the one or more programs are executed by the one or more processors, the one or more processors implement a software service platform session anomaly analysis method applied to a client or server of a software service platform as provided in any embodiment of the present invention.
[0023] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a software service platform session anomaly analysis method applied to a client or server of a software service platform as provided in any embodiment of the present invention is implemented.
[0024] The embodiments of the above invention have the following advantages or beneficial effects:
[0025] In an embodiment of the present invention, a software service platform client records the user's operational behavior data on a service page and sends the operational behavior data to the software service platform server. Specifically, when obtaining abnormal response data from the server to the user's operational behavior on the service page, the abnormal response data is updated to the abnormal item of the operational behavior data that caused the abnormal response. The updated operational behavior data is then sent to the server, so that the server analyzes the updated operational behavior data and obtains the results of locating the session anomaly problem. This solves the problem in the prior art of failing to promptly discover and resolve abnormalities in the client-server conversation during the user's use of software services, resulting in a poor software service experience. This solves the problem of promptly understanding user operational conditions, promptly discovering and resolving problems, and improving the customer experience of software service products. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 This is a flowchart of a method for analyzing software service platform session anomalies applied to a client of a software service platform, provided in the first embodiment of the present invention;
[0027] Figure 2 This is a flow chart of a method for analyzing software service platform session anomalies applied to a server of a software service platform, provided by a second embodiment of the present invention;
[0028] Figure 3 This is a schematic diagram of a user operation behavior data playback process provided by the second embodiment of the present invention;
[0029] Figure 4 Flowchart of a method for analyzing software service platform session anomalies applied to a server of a software service platform, provided in a third embodiment of the present invention;
[0030] Figure 5 This is a schematic diagram showing the statistical analysis results of user operation behavior data provided by the third embodiment of the present invention;
[0031] Figure 6 This is the interactive process of recording operation behavior data between the client and the server of the software service platform provided in the third embodiment of the present invention;
[0032] Figure 7This is a schematic diagram of the structure of a software service platform session anomaly analysis device configured on a client of a software service platform, provided by a fourth embodiment of the present invention;
[0033] Figure 8 This is a schematic diagram of the structure of a software service platform session anomaly analysis device configured on a server side of a software service platform, provided by a fifth embodiment of the present invention;
[0034] Figure 9 This is a structural diagram of a computer device provided in Example 6 of the present invention. DETAILED DESCRIPTION
[0035] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.
[0036] Example 1
[0037] Figure 1 This is a flowchart of a method for analyzing software service platform session anomalies, applied to a client of a software service platform, according to the first embodiment of the present invention. This embodiment is applicable to software service platforms analyzing session anomalies based on user operations on the client. This method can be performed by a software service platform session anomaly analysis device configured on the client of the software service platform. This device can be implemented using software and / or hardware and integrated into a computer device with application development capabilities.
[0038] like Figure 1 As shown, the software service platform session anomaly analysis method applied to the client of the software service platform includes the following steps:
[0039] S110: Record the user's operation behavior data on the service page, and send the operation behavior data to the server of the software service platform.
[0040] Specifically, a software service platform provides software services over the Internet. Software service providers deploy application software on their own servers. Users can order the required application software services online based on their actual needs and access the software services through a web-based client, eliminating the need for user maintenance. The service page, also known as the web-based client, allows users to access the corresponding services and functions provided by the server through various actions.
[0041] On the service page, you can use tools like a monitoring agent plug-in or the operation recording and replay component (rrweb) to regularly collect user behavior data on the service page, such as clicks, selections, swipes, logins, and logouts, as well as the objects of each operation. This collected behavior data is then sent to the software service platform's server. To ensure data transmission efficiency, accuracy, and completeness, the client sends behavior data to the server on a scheduled basis or based on data volume, such as every 10 seconds or every 300k of data, to avoid data transmission failures caused by excessive single data transmission.
[0042] In a preferred embodiment, the client will optimize the collected operation behavior data, delete invalid operation data, and avoid excessive data volume. For example, when the user's mouse stays in one position for more than 2 seconds, the current user's operation behavior is no longer considered to be a valid operation behavior, but rather it is considered that the current user has not performed any operation.
[0043] Furthermore, when any service page collects operation behavior data and sends the data for the first time, the data sent also includes the page structure data of the current service page. After the operation behavior data and page structure data are converted into a preset data format (such as json), the data is sent to the client to facilitate the playback of the operation behavior data when needed.
[0044] In a preferred embodiment, the converted data is encrypted before transmission to improve data security. For example, on the client side, the converted data is encrypted with an RSA public key and the ciphertext is placed in the header. The data is then transmitted to the software service platform server using the https protocol.
[0045] S120: When obtaining abnormal response data of the server to the user's operation behavior on the service page, update the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response.
[0046] The user's actions on the client are equivalent to interactions with the server. The server will respond to the user's actions and provide feedback to inform the client whether the operation is successful. If there is a problem in the session interaction between the client and the server, such as a login failure, the access object does not exist, or poor network status, the server will also provide an exception feedback to explain the problem, such as an incorrect password or invalid domain name.
[0047] When the client receives the abnormal response data fed back by the server, it will integrate the abnormal response data with the operational behavior data of the operational behavior that caused the abnormal response. Specifically, the operational behavior data sent by the client includes many data fields, such as user identification, operational behavior name, operational object, response status, abnormal items, and other fields designed according to data requirements. Among them, the value of the response status field is 0, which means that the response corresponding to the operational behavior is normal, and the abnormal item is empty, which can be represented by 0. When the value of the response status field is 1, it means that the response corresponding to the operational behavior is abnormal, the abnormal item is not empty, and the numerical value corresponding to the abnormal item represents the corresponding abnormal item, or the field name and abnormal numerical value of the abnormal value in the abnormal response can be directly written into the abnormal item field. Thus, the client can update the operational behavior data based on the response information of the server for the operational behavior obtained.
[0048] S130: Send the updated operation behavior data to the server, so that the server analyzes the updated operation behavior data to obtain a location result of the session abnormality problem.
[0049] After an abnormal response occurs, the updated operation behavior data is immediately sent to the server, so that the server can promptly discover problems encountered in the service provision process, locate the session abnormality problem based on the content of the abnormal item in the operation behavior data, and solve the problem in time, thereby improving the user's good experience.
[0050] The technical solution of this embodiment records the user's operational behavior data on the service page through the client of the software service platform and sends the operational behavior data to the server of the software service platform. In particular, when obtaining abnormal response data of the server to the user's operational behavior on the service page, the abnormal response data is updated to the abnormal item of the operational behavior data of the operational behavior that caused the abnormal response. The updated operational behavior data is then sent to the server, so that the server analyzes the updated operational behavior data and obtains the results of locating the session anomaly problem. This solves the problem in the prior art of failing to promptly detect and resolve abnormalities in the client-server session during the user's use of software services, resulting in a poor software service experience. It achieves timely understanding of user operations, timely detection and resolution of problems, and improves the customer experience of software service products.
[0051] Example 2
[0052] Figure 2This is a flowchart of a method for analyzing software service platform session anomalies on the server side of a software service platform, provided as a second embodiment of the present invention. This embodiment shares the same inventive concept as the method for analyzing software service platform session anomalies on the client side of a software service platform in the previous embodiment, and further describes the process of analyzing session anomalies on the server side. This method can be performed by a software service platform session anomaly analysis device configured on the server side of the software service platform. This device can be implemented using software and / or hardware and integrated into a computer device with application development capabilities.
[0053] like Figure 2 As shown, the software service platform session anomaly analysis method applied to the server side of the software service platform includes the following steps:
[0054] S210: Receive operation behavior data of the user on the service page sent by the client of the software service platform, and save the operation behavior data into a preset operation record database.
[0055] In this embodiment, the client collects user operational behavior data on the service page and periodically sends it to the server. Furthermore, upon receiving an abnormal response from the server, the client immediately sends the abnormal response data to the server, even if the regular interval for sending operational behavior data has not yet arrived. After receiving the corresponding operational behavior data, the server then centrally stores and manages the received operational behavior data.
[0056] Furthermore, when the received operational behavior data is encrypted, it must first be decrypted and verified. Once verification is successful, the data is saved to a pre-set operational record database. For example, when the operational behavior data is encrypted using the RSA encryption algorithm, the ciphertext and plaintext can be obtained from the HTML file's header and body, respectively. After the RSA private key signature is verified, the data is stored and managed. If verification fails, a message indicating that the operational behavior data failed to be saved is fed back to the client.
[0057] S220: When the operation behavior data contains abnormal item data, the operation behavior data is analyzed to obtain a location result of the session abnormality problem.
[0058] After receiving the operational data, the server checks the value corresponding to the abnormal item field in the data field. If the value indicates that the received operational data contains session anomaly information, it extracts the value corresponding to the data field related to the abnormal item and further determines the meaning of each value, thereby locating the session anomaly problem and resolving the issue promptly. For example, if the software service platform provides an online store management service, access path errors may occur during the client's store management process. In this case, the value related to the access path will be written to the field related to the abnormal item in the operational data, indicating the anomaly problem.
[0059] The technical solution of this embodiment receives user operation behavior data collected by the client. When anomalies are identified in the operation behavior data, the specific anomaly data is analyzed to locate the abnormalities in the client-server session and promptly resolve them. This solves the problem in the prior art of failing to promptly detect and resolve abnormalities in the client-server session during user use of software services, resulting in a poor software service experience. This solution enables timely understanding of user operation status, timely identification and resolution of problems, and improves the customer experience of software service products.
[0060] On the other hand, if the user actively raises a problem to the service provider and seeks a solution, the server can query the relevant operation behavior records in the preset operation record database and replay them based on the user ID and the time period when the problem occurred (i.e., the behavior retrospective time period).
[0061] In a specific example, the operation behavior playback process can refer to Figure 3 Specifically, Figure 3Taking the SaaS (Software-as-a-Service) platform as an example, when a SaaS platform web client (i.e., client) requests to replay historical action data, the SaaS platform server receives a response, along with the user ID and time period of the user requesting replay. The server then searches a pre-set operation record database for the user's action data during that time period. Using the replay function of the session recording and replay component (rrweb), the server replays the user's actions based on the retrieved action data and the page structure of the service page where the action data was collected. During this process, the interaction between the server and client involves data encryption and desensitization of user information to protect user privacy. Replaying user actions reproduces the user's actions at the time of the action, resolving the issue of inconsistent user problem descriptions. This allows service providers to understand the actual events occurring at the moment the user encountered the problem, reducing communication costs and optimizing product processes.
[0062] Example 3
[0063] Figure 4 This is a flowchart of a software service platform session anomaly analysis method applied to the server side of a software service platform, provided as a third embodiment of the present invention. This embodiment is applicable to a software service platform analyzing session anomalies based on user operational behavior on a client side, and is based on the same inventive concept as the software service platform session anomaly analysis method described in the above embodiment. This embodiment further describes the process of performing data expansion and statistical analysis after acquiring operational behavior data. This method can be executed by a software service platform session anomaly analysis device configured on the server side of the software service platform. This device can be implemented using software and / or hardware and integrated into a computer device with application development capabilities.
[0064] like Figure 4 As shown, the software service platform session anomaly analysis method applied to the server side of the software service platform includes the following steps:
[0065] S310: Receive user operation behavior data on the service page sent by the client of the software service platform.
[0066] S320: Obtain a user identifier from the operation behavior data, and obtain the user's IP address information, user agent platform information used by the user, and access path information for accessing the service page based on the user identifier.
[0067] To further improve user operation information, each time we receive operation data, we read the user's identification information and record the timestamp of when the operation data was received. This allows us to obtain the IP address of the user corresponding to the user identification information, the user agent platform used by the user, and the access path to the current service page that generated the operation data.
[0068] S330: Associating the IP address information, the user agent platform information used by the user, and the access path information for accessing the service page with the operation behavior data, and storing them in the preset operation record database.
[0069] In this step, the acquired data related to the operation behavior is stored in the preset operation record database to make the stored data as rich as possible and to meet the 5W / 1H standard as much as possible to facilitate the playback and analysis of the user's operation behavior.
[0070] S340. Perform statistical analysis on the operation behavior data and the associated IP address information, the user agent platform information used by the user, and the access path information for accessing the service page according to a preset data analysis template, and optimize the service content of the software service platform based on the statistical analysis results.
[0071] Specifically, based on the statistical analysis of operation behavior data, the goal is to optimize the service content of the software service platform according to the characteristics of operation behavior. For example, the statistical analysis of operation behavior data, such as Figure 5 As shown, the characteristics of operation behavior are statistically analyzed in multiple dimensions, such as the frequency of access paths, popular IP address areas, and rankings of other items.
[0072] Furthermore, the service content of the software service platform can be optimized based on the statistical results. For example, the number of times each control in the service page associated with the operation behavior data is operated is determined, and the layout of each control in the service page associated with the operation behavior data is optimized based on the number of operations of each control. The controls that are operated more frequently can be placed in a more prominent position in the middle of the page, making it more convenient for users to use. For another example, the regional popularity of the software service provided by the server can be determined based on the IP address information, and the service content can be adjusted based on the regional popularity, or service functions that meet regional characteristics can be developed or recommended. For example, if a software service is used in a more popular area in the Pearl River Delta, since the Pearl River Delta is close to Hong Kong and Macao, the software service center can provide services that connect with Hong Kong and Macao. For another example, user service preferences can be determined based on the access path access frequency, and the service content can be adjusted based on the service preferences. This is because each access path (i.e., request address) points to a function page, and the access frequency ranking indicates the frequency of user use of each function page; and / or, the user agent platform usage ranking is determined based on the user agent platform information, and based on the user agent platform usage ranking, more promotion costs are invested in the agent platforms with higher rankings.
[0073] The embodiment of the present invention obtains more information related to the operation behavior data for associated storage based on the user identifier in the operation behavior data when storing the operation behavior data, enriches the operation behavior data, and analyzes the operation behavior data and associated data to optimize the software service product content based on the analysis results, thereby improving the user experience.
[0074] Further, Figure 6 It shows the interactive process of recording operation behavior data between the client and the server of the software service platform. Figure 6 The numbers 1-6 in the figure represent the sequence of steps in the interactive process of recording operational behavior data. First, when a user accesses the software service platform client (SaaS platform web client), the client uses the rrweb component's recording function to collect the user's operational behavior data. This data is encrypted and sent to the server, equivalent to sending an HTTP request to the server. Upon receiving this HTTP request, the server decrypts and verifies the data before performing data storage and management. It also obtains and stores data associated with the operational service data, such as the receipt time, access path, IP address, and user agent information. Upon successfully receiving the operational behavior data, the server provides feedback to the client. The client stops collecting user operational behavior data until the user stops accessing the client's access page. The operational behavior data received by the server includes both normal responses and abnormal responses.
[0075] The following is an embodiment of a software service platform session anomaly analysis device configured on a client or server of a software service platform, provided by an embodiment of the present invention. This device and the software service platform session anomaly analysis methods applied to a client or server of a software service platform in each of the aforementioned embodiments are based on the same inventive concept and can implement the software service platform session anomaly analysis methods applied to a client or server of a software service platform in each of the aforementioned embodiments. For details not fully described in the embodiment of the software service platform session anomaly analysis device configured on a client or server of a software service platform, reference can be made to the embodiment of the software service platform session anomaly analysis method applied to a client or server of a software service platform in the aforementioned embodiments.
[0076] Example 4
[0077] Figure 7 This is a structural diagram of a software service platform session anomaly analysis device configured on a client of a software service platform provided in Example 4 of the present invention. In the cases where this embodiment is applicable, the device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.
[0078] like Figure 7 As shown, the software service platform session anomaly analysis device configured on the client of the software service platform includes: an operation recording module 410 , an abnormal data updating module 420 and an abnormal data sending module 430 .
[0079] The operation recording module 410 is used to record the user's operation behavior data on the service page and send the operation behavior data to the server of the software service platform; the abnormal data updating module 420 is used to update the abnormal response data of the server to the user's operation behavior on the service page to the abnormal item of the operation behavior data causing the abnormal response when the abnormal response data is obtained; the abnormal data sending module 430 is used to send the updated operation behavior data to the server, so that the server analyzes the updated operation behavior data and obtains the location result of the session abnormality problem.
[0080] The technical solution of this embodiment records the user's operational behavior data on the service page through the client of the software service platform and sends the operational behavior data to the server of the software service platform. In particular, when obtaining abnormal response data of the server to the user's operational behavior on the service page, the abnormal response data is updated to the abnormal item of the operational behavior data of the operational behavior that caused the abnormal response. The updated operational behavior data is then sent to the server, so that the server analyzes the updated operational behavior data and obtains the results of locating the session anomaly problem. This solves the problem in the prior art of failing to promptly detect and resolve abnormalities in the client-server session during the user's use of software services, resulting in a poor software service experience. It achieves timely understanding of user operations, timely detection and resolution of problems, and improves the customer experience of software service products.
[0081] Optionally, the operation recording module 410 specifically includes:
[0082] The data collection submodule is used to record the user's operation behavior data on the service page through the operation recording and replay component;
[0083] A data encryption submodule, used to convert the operation behavior data into a preset data format and perform data encryption;
[0084] The data sending submodule is used to send the encrypted operation behavior data to the server according to the preset transmission protocol, wherein, on any service page, the first set of operation behavior data recorded and sent to the server includes the page structure data of the corresponding service page, so that the server can replay the operation behavior according to the page structure data and the operation behavior data.
[0085] The software service platform session anomaly analysis device configured on the client of the software service platform provided in an embodiment of the present invention can execute the software service platform session anomaly analysis method applied to the client of the software service platform provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0086] Example 5
[0087] Figure 8 This is a structural diagram of a software service platform session anomaly analysis device configured on the server side of a software service platform provided in Example 5 of the present invention. In the cases where this embodiment is applicable, the device can be implemented by software and / or hardware and integrated into a computer device with application development capabilities.
[0088] like Figure 8 As shown, the software service platform session anomaly analysis device configured at the server end of the software service platform includes an operation data receiving module 510 and an anomaly analysis module 520 .
[0089] Among them, the operation data receiving module 510 is used to receive the user's operation behavior data on the service page sent by the client of the software service platform, and save the operation behavior data into a preset operation record database; the abnormality analysis module 520 is used to analyze the operation behavior data when the operation behavior data contains abnormal item data, and obtain the positioning result of the session abnormality problem.
[0090] The technical solution of this embodiment receives user operation behavior data collected by the client. When anomalies are identified in the operation behavior data, the specific anomaly data is analyzed to locate the abnormalities in the client-server session and promptly resolve them. This solves the problem in the prior art of failing to promptly detect and resolve abnormalities in the client-server session during user use of software services, resulting in a poor software service experience. This solution enables timely understanding of user operation status, timely identification and resolution of problems, and improves the customer experience of software service products.
[0091] Optionally, the abnormality analysis module 520 is specifically configured to:
[0092] Obtaining abnormal item data in the operation behavior data;
[0093] The session abnormality problem is located according to the field name in the abnormal item data to obtain a location result of the session abnormality problem.
[0094] Optionally, the operation data receiving module 510 is specifically configured to:
[0095] When the operation behavior data is encrypted data, decrypt and verify the operation behavior data, and save the operation behavior data into a preset operation record database after passing the verification;
[0096] When the verification fails, information indicating that the operation behavior data has failed to be saved is fed back to the client.
[0097] Optionally, the software service platform session anomaly analysis device further includes an information collection module:
[0098] After receiving the user's operation behavior data on the service page sent by the client of the software service platform, obtain the user identifier in the operation behavior data;
[0099] Obtaining the user's IP address information, the user agent platform information used by the user, and the access path information for accessing the service page according to the user identifier;
[0100] The IP address information, the user agent platform information used by the user and the access path information for accessing the service page are associated with the operation behavior data and stored in the preset operation record database.
[0101] Optionally, the software service platform session anomaly analysis device further includes a data statistics module for:
[0102] According to the preset data analysis template, the operation behavior data and the associated IP address information, the user agent platform information used by the user and the access path information for accessing the service page are statistically analyzed, and the service content of the software service platform is optimized based on the statistical analysis results.
[0103] Optionally, the data statistics module is specifically used to:
[0104] Determining, based on the operation behavior data, the number of operations on each control in the service page associated with the operation behavior data, and optimizing the layout of each control in the service page associated with the operation behavior data based on the number of operations on each control; and / or,
[0105] Determining the regional popularity of the software service provided by the server based on the IP address information, and adjusting the service content based on the regional popularity; and / or,
[0106] Determine the access frequency of each access path based on the access path information, determine the user service preference based on the access frequency, and adjust the service content based on the service preference; and / or determine the user agent platform usage based on the user agent platform information, and promote the software service based on the user agent platform usage.
[0107] Optionally, the software service platform session anomaly analysis device further includes an operation data playback module, specifically configured to:
[0108] Obtain the user ID and behavior review period of the user whose behavior is to be replayed;
[0109] According to the user ID of the user whose behavior is to be replayed and the behavior retrospective time period, querying the preset operation record database for the operation behavior data of the user whose behavior is to be replayed within the behavior retrospective time period;
[0110] Based on the operation recording webpage session recording and replaying component, the operation behavior of the user to be replayed is replayed according to the queried operation behavior data and the page structure of the service page where the operation behavior data is collected.
[0111] The software service platform session anomaly analysis device configured on the server side of the software service platform provided in an embodiment of the present invention can execute the software service platform session anomaly analysis method applied to the server side of the software service platform provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0112] Example 6
[0113] Figure 9 A structural diagram of a computer device provided in Example 6 of the present invention. Figure 9 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 9 The computer device 12 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capabilities, such as an intelligent controller, a server, a mobile phone, or other terminal devices.
[0114] like Figure 9 As shown, computer device 12 is implemented as a general-purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0115] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0116] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0117] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 9 Not shown, often called a "hard drive"). Although Figure 9Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0118] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0119] The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although Figure 9 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0120] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the software service platform session anomaly analysis method provided by the present invention for a client or server of the software service platform, which method includes:
[0121] Record the user's operational behavior data on the service page and send the operational behavior data to the server of the software service platform;
[0122] When obtaining abnormal response data of the server to the user's operation behavior on the service page, updating the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response;
[0123] The updated operation behavior data is sent to the server, so that the server analyzes the updated operation behavior data to obtain a location result of the session abnormality problem.
[0124] Alternatively, receiving the user's operation behavior data on the service page sent by the client of the software service platform, and saving the operation behavior data into a preset operation record database;
[0125] When the operation behavior data contains abnormal item data, the operation behavior data is analyzed to obtain a location result of the session abnormality problem.
[0126] Example 7
[0127] This embodiment 7 provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for analyzing software service platform session anomalies applied to a client or server of a software service platform as provided in any embodiment of the present invention is implemented, including:
[0128] Record the user's operational behavior data on the service page and send the operational behavior data to the server of the software service platform;
[0129] When obtaining abnormal response data of the server to the user's operation behavior on the service page, updating the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response;
[0130] The updated operation behavior data is sent to the server, so that the server analyzes the updated operation behavior data to obtain a location result of the session abnormality problem.
[0131] Alternatively, receiving the user's operation behavior data on the service page sent by the client of the software service platform, and saving the operation behavior data into a preset operation record database;
[0132] When the operation behavior data contains abnormal item data, the operation behavior data is analyzed to obtain a location result of the session abnormality problem.
[0133] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0134] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0135] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0136] The computer program code for performing the operations of the present invention can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0137] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
[0138] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for analyzing abnormal conversations on a software service platform, applied to a client of the software service platform, characterized in that: The method comprises: Record the user's operational behavior data on the service page and send the operational behavior data to the server of the software service platform; When obtaining abnormal response data of the server to the user's operation behavior on the service page, updating the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response; Sending the updated operation behavior data to the server, so that the server analyzes the updated operation behavior data and obtains a location result of the session abnormality problem; The recording of the user's operation behavior data on the service page and sending the operation behavior data to the server of the software service platform includes: Record user operation behavior data on service pages through the operation recording and replay component; Converting the operation behavior data into a preset data format and encrypting the data; The encrypted operation behavior data is sent to the server according to a preset transmission protocol, wherein, on any service page, the first set of operation behavior data recorded and sent to the server includes the page structure data of the corresponding service page, so that the server can replay the operation behavior based on the page structure data and the operation behavior data.
2. A method for analyzing abnormal conversations on a software service platform, applied to a server of the software service platform, characterized in that: The method comprises: Receive user operation behavior data on the service page sent by the client of the software service platform, and save the operation behavior data into a preset operation record database; When the operation behavior data contains abnormal item data, the operation behavior data is analyzed to obtain a location result of the session abnormality problem; The analyzing the operation behavior data to obtain the location result of the session abnormality problem includes: Obtaining abnormal item data in the operation behavior data; Locating the session anomaly problem according to the field name in the anomaly item data to obtain a locating result of the session anomaly problem; The locating the session abnormality problem according to the field name in the abnormal item data to obtain the locating result of the session abnormality problem includes: The numerical values corresponding to the field names in the abnormal item data are extracted, and the positioning results of the session abnormality problem are obtained according to the numerical meanings corresponding to the numerical values.
3. The method according to claim 2, characterized in that The step of saving the operation behavior data into a preset operation record database includes: When the operation behavior data is encrypted data, decrypt and verify the operation behavior data, and save the operation behavior data into a preset operation record database after passing the verification; When the verification fails, information indicating that the operation behavior data has failed to be saved is fed back to the client.
4. The method according to any one of claims 2 to 3, characterized in that: After receiving the user's operation behavior data on the service page sent by the client of the software service platform, the method further includes: Obtaining a user identifier from the operation behavior data; Obtaining the user's IP address information, the user agent platform information used by the user, and the access path information for accessing the service page according to the user identifier; The IP address information, the user agent platform information used by the user and the access path information for accessing the service page are associated with the operation behavior data and stored in the preset operation record database.
5. The method according to claim 4, characterized in that The method further comprises: According to the preset data analysis template, the operation behavior data and the associated IP address information, the user agent platform information used by the user and the access path information for accessing the service page are statistically analyzed, and the service content of the software service platform is optimized based on the statistical analysis results.
6. The method according to claim 4, characterized in that Perform statistical analysis on the operational behavior data and associated IP address information, user agent platform information used by users, and access path information for accessing the service pages according to a preset data analysis template, and optimize the service content of the software service platform based on the statistical analysis results, including: Determining, based on the operation behavior data, the number of operations on each control in the service page associated with the operation behavior data, and optimizing the layout of each control in the service page associated with the operation behavior data based on the number of operations on each control; and / or, Determining the regional popularity of the software service provided by the server based on the IP address information, and adjusting the service content based on the regional popularity; and / or, Determine the access frequency of each access path based on the access path information, determine the user service preference based on the access frequency, and adjust the service content based on the service preference; and / or determine the user agent platform usage based on the user agent platform information, and promote the software service based on the user agent platform usage.
7. The method according to claim 2, characterized in that The method further comprises: Obtain the user ID and behavior review period of the user whose behavior is to be replayed; According to the user ID of the user whose behavior is to be replayed and the behavior retrospective time period, querying the preset operation record database for the operation behavior data of the user whose behavior is to be replayed within the behavior retrospective time period; Based on the operation recording webpage session recording and replaying component, the operation behavior of the user to be replayed is replayed according to the queried operation behavior data and the page structure of the service page where the operation behavior data is collected.
8. A software service platform session anomaly analysis device, configured on a client of the software service platform, characterized in that: The device comprises: An operation record module is used to record the user's operation behavior data on the service page and send the operation behavior data to the server of the software service platform; an abnormal data updating module, configured to, upon obtaining abnormal response data of the server to the user's operation behavior on the service page, update the abnormal response data to the abnormal item of the operation behavior data causing the abnormal response; An abnormal data sending module, used to send the updated operation behavior data to the server, so that the server analyzes the updated operation behavior data and obtains a location result of the session abnormality problem; The operation recording module specifically includes: The data collection submodule is used to record the user's operation behavior data on the service page through the operation recording and replay component; A data encryption submodule, used to convert the operation behavior data into a preset data format and perform data encryption; The data sending submodule is used to send the encrypted operation behavior data to the server according to the preset transmission protocol, wherein, on any service page, the first set of operation behavior data recorded and sent to the server includes the page structure data of the corresponding service page, so that the server can replay the operation behavior according to the page structure data and the operation behavior data.
9. A software service platform session anomaly analysis device, configured at the server end of the software service platform, characterized in that: The device comprises: An operation data receiving module is used to receive the user's operation behavior data on the service page sent by the client of the software service platform, and save the operation behavior data into a preset operation record database; An anomaly analysis module, configured to analyze the operation behavior data when the operation behavior data contains abnormal item data, and obtain a location result of the session anomaly problem; The abnormality analysis module is specifically used to: Obtaining abnormal item data in the operation behavior data; Locating the session anomaly problem according to the field name in the anomaly item data to obtain a locating result of the session anomaly problem; The abnormality analysis module is further used to: The numerical values corresponding to the field names in the abnormal item data are extracted, and the positioning results of the session abnormality problem are obtained according to the numerical meanings corresponding to the numerical values.
10. A computer device, characterized in that: The computer device comprises: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the software service platform session anomaly analysis method applied to the client or server of the software service platform as described in any one of claims 1-7.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the software service platform session anomaly analysis method applied to a client or server of a software service platform as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and device for processing client working abnormity and storage medium
CN110046096A