Tab behavior monitoring system and method

By configuring the tab behavior monitoring plug-in in the client browser, the problem of waste of resources and inaccurate responses in communication interactions between heterogeneous systems is solved, and the client's active monitoring and server pressure is reduced to ensure timely and accurate information.

CN118585407BActive Publication Date: 2024-11-08HUNDSUN TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411072166.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-08
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

In the communication interaction between heterogeneous systems, the server-side heartbeat monitoring solution leads to wasting of computing resources, while the front-end active interception and closing solution cannot monitor the multi-page situation in real time, resulting in inaccurate response.

Method used

Configure the tab behavior monitoring plug-in in the browser running by the client, obtain the base status information through monitoring scripts, adapt to business applications, and monitor the running status based on the tab monitoring strategy, build business processing requests to send to the server, and realize the customer Actively monitor and respond.

Benefits of technology

It reduces the pressure of passive monitoring on the server and waste of resources, ensures the timeliness and accuracy of information acquisition, and realizes real-time interaction between the client and the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585407B_ABST
    Figure CN118585407B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification provide a tab behavior monitoring system and method, wherein the tab behavior monitoring system includes a client and an application server, the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including: a client, used to open a business application of a target business in the target browser in response to a user operation instruction; a monitoring script associated with the tab behavior monitoring plug-in is configured in the business application; baseline status information of the business application is obtained by calling the monitoring script, and the business application and the tab behavior monitoring plug-in are adapted based on the baseline status information; when a target tab behavior of the associated target browser is detected, the business application is monitored for operating status based on the tab monitoring strategy of the tab behavior monitoring plug-in, a business processing request is constructed according to the operating status monitoring result, and sent to the application server; the application server is used to update the business operating status of the target business based on the business processing request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of computer technology, and in particular to a system and method for monitoring page behavior. Background Art

[0002] With the development of computer and Internet technology, providing services to users through web pages can make services more lightweight and convenient for users to operate and use. Generally, business application systems are generally heterogeneous scenarios. In heterogeneous scenarios, most systems are composed of multiple independent subsystems. Since the multiple subsystems involved in the system in the heterogeneous scenario may be developed by different manufacturers, there is no unified communication channel, and each system has an independent communication channel. The communication interaction between heterogeneous systems usually relies on the API and events provided by other systems for management and driving, so the information transmission timeliness and response on each channel information cannot be completely consistent. In the prior art, when one of the channels is inactivated and closed, in order to avoid waste of resources, the remaining channels need to be closed. When closing the remaining channels, the server heartbeat monitoring and closing solutions and the front-end active interception and closing solutions are usually adopted to achieve. However, the corresponding server solution will generate additional loads because it needs to send a large number of heartbeat packets to the client, thereby causing additional waste of computing resources and placing high requirements on the server. The corresponding front-end solution will only monitor the current tab. If multiple tabs are opened, the triggering monitoring mechanism will be inaccurate, and the instant response closure of each application cannot be guaranteed in real time. Therefore, an effective solution is urgently needed to solve the above problems. Summary of the invention

[0003] In view of this, the embodiments of this specification provide a tab behavior monitoring system. One or more embodiments of this specification also relate to a tab behavior monitoring method, a tab behavior monitoring device, a computing device, a computer readable storage medium and a computer program product to solve the technical defects existing in the prior art.

[0004] According to a first aspect of an embodiment of the present specification, a tab behavior monitoring system is provided, the tab behavior monitoring system comprising a client and an application server, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including:

[0005] The client is used to open the business application of the target business in the target browser in response to the user operation instruction; configure the monitoring script associated with the tab behavior monitoring plug-in in the business application; obtain the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information; when the target tab behavior associated with the target browser is detected, monitor the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in, construct a business processing request according to the running status monitoring result, and send it to the application server;

[0006] The application server is used to update the service operation status of the target service based on the service processing request.

[0007] According to a second aspect of an embodiment of this specification, a tab behavior monitoring method is provided, which is applied to a client, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including:

[0008] In response to a user operation instruction, opening a service application of a target service in the target browser;

[0009] Configure the monitoring script associated with the tab behavior monitoring plug-in in the business application;

[0010] Acquire the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information;

[0011] When a target tab behavior associated with the target browser is detected, monitoring the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in;

[0012] A business processing request is constructed according to the operation status monitoring result, and sent to the application server; wherein the server updates the business operation status of the target business based on the business processing request.

[0013] According to a third aspect of the embodiments of this specification, a tab behavior monitoring device is provided, which is applied to a client, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including:

[0014] An opening module, configured to open a service application of a target service in the target browser in response to a user operation instruction;

[0015] A configuration module, configured to configure a monitoring script associated with the tab behavior monitoring plug-in in the business application;

[0016] an acquisition module, configured to acquire the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information;

[0017] A monitoring module configured to monitor the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in when a target tab behavior associated with the target browser is detected;

[0018] The sending module is configured to construct a business processing request according to the operation status monitoring result and send it to the application server; wherein the server updates the business operation status of the target business based on the business processing request.

[0019] According to a fourth aspect of an embodiment of this specification, a computing device is provided, including:

[0020] Memory and processor;

[0021] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned tab behavior monitoring method are implemented.

[0022] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned tab behavior monitoring method are implemented.

[0023] According to a sixth aspect of the embodiments of this specification, a computer program product is provided, including a computer program or instructions, which implement the steps of the above-mentioned tab behavior monitoring method when executed by a processor.

[0024] The tab monitoring system provided in this embodiment can ensure the timeliness and accuracy of information acquisition and reduce the pressure on the application server. The tab monitoring plug-in can be configured in the browser running on the client to implement monitoring behavior through the browser plug-in. Specifically, when the client opens the business application of the target business in the target browser in response to the user operation instruction, in order to support the monitoring of the tab behavior associated with the business application, a monitoring script associated with the tab behavior monitoring plug-in can be configured in the business application. The benchmark status information of the business application can be obtained by calling the monitoring script, so that the adaptation of the business application and the tab behavior monitoring plug-in can be completed according to the obtained benchmark status information, and the tab behavior monitoring operation can be completed for any type of business application through the tab behavior monitoring plug-in; on this basis, if the target tab behavior associated with the target browser is detected, in order to monitor whether the behavior is associated with the business application, so as to determine whether the application server continues to interact with the client, the running status of the business application can be monitored based on the tab monitoring strategy of the tab behavior monitoring plug-in, and the business processing request can be triggered according to the running status monitoring result. After sending it to the application server, the application server can update the target business based on the business processing request to meet the current client running business application status. This can greatly reduce the response of the server's passive monitoring strategy and replace it with a strategy response triggered by active monitoring on the client, effectively reducing the monitoring pressure and service overhead of the application server, and ensuring the timeliness and accuracy of information acquisition, so that the client and application server can perform real-time subsequent interactive operations based on the operating status monitoring results. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a schematic diagram of a tab behavior monitoring system provided by an embodiment of this specification;

[0026] Figure 2 It is a structural diagram of a tab behavior monitoring system provided by an embodiment of this specification;

[0027] Figure 3 is a processing flow chart of a tab behavior monitoring system provided by an embodiment of this specification;

[0028] Figure 4 is a flow chart of a tab behavior monitoring method provided by an embodiment of this specification;

[0029] Figure 5 It is a structural diagram of a tab behavior monitoring device provided by an embodiment of this specification;

[0030] Figure 6 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0031] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0032] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0033] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0034] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0035] In this specification, a tab behavior monitoring system is provided. This specification also relates to a tab behavior monitoring method, a tab behavior monitoring device, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.

[0036] In actual applications, in the corresponding server solution, the server will set a timeout mechanism and actively send a heartbeat packet to the client. If the client fails to return a response packet within the specified time, resulting in a timeout, the server will determine that the client is abnormal, close the connection with the client, and trigger a business response callback. However, on the one hand, when the number of clients is very large, the server may need to send a large number of heartbeat packets frequently, which may cause unnecessary network and server loads. The requirements for the server are relatively high. On the other hand, the server needs to determine the network status during detection, and needs to reconnect and try to wait. In some scenarios, it is not possible to quickly guarantee the response call of the server callback.

[0037] In the corresponding front-end solution, the front-end uses the beforeunload event listener to execute the event before closing. The beforeunload event is triggered when the user is about to leave the current page. It allows developers to perform some operations before the user closes the page or navigates to other pages, such as asking the user whether to save unsaved changes or providing other prompts. However, on the one hand, beforeunload will not be registered in the cached state. The beforeunload registration and triggering mechanisms are not controlled, and the existing multiple mechanisms will trigger beforeunload, which can easily be triggered by mistake or not work. On the other hand, it can only monitor the current tab. If several identical browser tabs are opened, closing an event will also be triggered. Therefore, an effective solution is urgently needed to solve the above problems.

[0038] See also Figure 1As shown in the schematic diagram, the tab monitoring system provided by this embodiment can configure a tab monitoring plug-in in the browser running on the client in order to ensure the timeliness and accuracy of information acquisition and reduce the pressure on the application server, and implement monitoring behavior through the browser plug-in. Specifically, when the client opens the business application of the target business in the target browser in response to the user operation instruction, in order to support the monitoring of the tab behavior associated with the business application, a monitoring script associated with the tab behavior monitoring plug-in can be configured in the business application, and the benchmark state information of the business application can be obtained by calling the monitoring script, so that the adaptation of the business application and the tab behavior monitoring plug-in can be completed according to the obtained benchmark state information, and the tab behavior monitoring operation can be completed for any type of business application through the tab behavior monitoring plug-in; on this basis, if the target tab behavior associated with the target browser is detected, in order to monitor whether the behavior is associated with the business application, so as to determine whether the application server continues to interact with the client, the running state of the business application can be monitored based on the tab monitoring strategy of the tab behavior monitoring plug-in, and the business processing request can be triggered according to the running state monitoring result. After sending it to the application server, the application server can update the target business based on the business processing request to meet the current client running business application state. This can greatly reduce the response of the server's passive monitoring strategy and replace it with a strategy response triggered by active monitoring on the client, effectively reducing the monitoring pressure and service overhead of the application server, and ensuring the timeliness and accuracy of information acquisition, so that the client and application server can perform real-time subsequent interactive operations based on the operating status monitoring results.

[0039] See also Figure 2 , Figure 2 A schematic diagram of the structure of a tab behavior monitoring system provided according to an embodiment of the present specification is shown. The tab behavior monitoring system 200 includes a client 210 and an application server 220, wherein the client 210 runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including:

[0040] The client 210 is used to open the business application of the target business in the target browser in response to the user operation instruction; configure the monitoring script associated with the tab behavior monitoring plug-in in the business application; obtain the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information; when the target tab behavior associated with the target browser is detected, monitor the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in, construct a business processing request according to the running status monitoring result, and send it to the application server;

[0041] The application server 220 is used to update the service operation status of the target service based on the service processing request.

[0042] The tab behavior monitoring system provided in this embodiment can be applied to any business application opened by a browser running on a client, wherein the business application can be a shopping application, a monitoring application, an information collection application, a query application, a call system application, etc., and the business application requires the client to interact with the application server to provide corresponding business services; it should be noted that when the service provided by the business application is implemented by relying on at least two heterogeneous systems, since the communication channels between the heterogeneous systems are independent of each other, in order to realize the interaction between the two, it is necessary to configure the tab behavior monitoring plug-in provided in this embodiment to the browser running on the client to realize the interaction with the tab function of the browser, and make judgments and behavior identification according to the information of the Tab page, so as to effectively capture the closing behavior of the tab to execute the business callback task of the associated target business; for example, the call system is composed of an online call management platform and an offline call answering platform, so as to provide call services to users, and the online call management platform and the offline call answering platform are maintained by different operators and each has an independent communication channel. When the online call management platform is inactivated, the service needs to be closed in time to avoid wasting resources. That is to say, the business application is composed of heterogeneous systems corresponding to at least two operators, thereby supporting the business application to provide corresponding target business services to users.

[0043] Specifically, the client specifically refers to the terminal device running the target browser, which can be a mobile phone, a computer, a smart wearable device, etc.; this embodiment does not make any limitation here. Correspondingly, the application server specifically refers to the server that provides the target business service and its associated business application, and the application server has the ability to close the target business; for example, the business application corresponding to the target business is composed of system a and system b, and system a and system b are developed and maintained by different operators; in this case, the user opens system a for use through the browser, and system b will provide support for some functions during this process. When the user directly closes the tab corresponding to system a, it is necessary to send a closing request to the server corresponding to system b, so that the server corresponding to system b can close the corresponding business service, thereby avoiding waste of resources. Correspondingly, the tab behavior monitoring plug-in specifically refers to a plug-in configured in the target browser for monitoring tab behavior and triggering interaction with the application server.

[0044] Accordingly, the business application specifically refers to an application that is opened in the target browser and associated with the target business, which can provide users with business services associated with the target business. For example, the business application can be a shopping application, a monitoring application, an information collection application, a call system application, etc.; this embodiment does not make any restrictions here. Correspondingly, the monitoring script specifically refers to the JS script preset in the tab behavior monitoring plug-in, which is used to be configured on the business application, and can realize the collection of specified information to support the subsequent tab behavior monitoring logic. Correspondingly, the baseline status information specifically refers to the necessary status information configured for the business application. By obtaining this information through the monitoring script, the tab behavior monitoring plug-in can monitor the tab behavior of the business application running in the browser, so that the corresponding running status monitoring results of the business application can be accurately fed back to the application server. Correspondingly, the tab monitoring strategy specifically refers to the strategy for monitoring the tab behavior. The strategy can complete the determination of the corresponding running status of the business application by monitoring the changes in the URL information. Correspondingly, the business processing request specifically refers to a request that is constructed and sent to the application server based on the running status monitoring result after the tab behavior monitoring plug-in determines the running status monitoring result of the business application, so that the application server can decide whether to close the target business based on the request. In specific implementation, the business processing request needs to be sent to the party that has the ability to close the target business.

[0045] Based on this, in order to ensure the timeliness and accuracy of information acquisition and reduce the pressure on the application server, a tab monitoring plug-in can be configured in the browser running on the client, and the monitoring behavior can be realized through the browser plug-in. Specifically, when the client opens the business application of the target business in the target browser in response to the user operation instruction, in order to support the monitoring of the tab behavior associated with the business application, a monitoring script associated with the tab behavior monitoring plug-in can be configured in the business application, and the benchmark status information of the business application can be obtained by calling the monitoring script, so that the adaptation of the business application and the tab behavior monitoring plug-in can be completed according to the obtained benchmark status information, and the tab behavior monitoring operation can be completed for any type of business application through the tab behavior monitoring plug-in; on this basis, if the target tab behavior associated with the target browser is detected, in order to monitor whether the behavior is associated with the business application, so as to determine whether the application server continues to interact with the client, the running status of the business application can be monitored based on the tab monitoring strategy of the tab behavior monitoring plug-in, and the business processing request can be triggered according to the running status monitoring result. After sending it to the application server, the application server can update the target business based on the business processing request to meet the current client running business application status.

[0046] This embodiment is explained by taking the application of the tab behavior monitoring system in the online customer service call platform as an example; wherein, the online customer service call platform is divided into an online call management platform and an offline call answering platform, and the online call management platform and the offline call answering platform are respectively developed and maintained by different operators, and the two jointly provide online customer call functions to support operators to provide assistance to consulting users through the platform.

[0047] In actual applications, operators can answer calls, hang up, and busy up by opening the online call management platform in a browser. When the operator directly closes the tab corresponding to the online call management platform, the system will not be able to timely and correctly perceive the offline status of the operator, so that the system will continue to assign answering tasks to the operator, which will cause the answering task to fail to be correctly executed. Therefore, in order to ensure that the offline phone corresponding to the operator cannot receive any calls when the operator leaves, but is transferred to other operators, a tab behavior monitoring plug-in can be provided to run a callback when the online call management platform is deactivated or the tab is closed, thereby triggering the relevant operations of the offline call answering platform and closing the access service of the operator.

[0048] Based on this, during work, after operator A enters the URL corresponding to the online call management platform in the browser running on the computer, the online call management platform will be run on the browser according to the URL information entered by operator A to support the operator to perform the answering task and realize that the incoming call can be assigned to operator A. In this case, the JS script preset by the tab behavior monitoring plug-in can be configured in the online call management platform. By calling the script, the necessary status information configured by the online call management platform, such as hostName, callback service, etc., can be obtained; it can be passed to the tab behavior monitoring plug-in to match which tabs are under the host, thereby ensuring the flexibility of the plug-in and realizing that the plug-in can adapt to different business applications.

[0049] Furthermore, after the tab behavior monitoring plug-in completes the adaptation with the online call management platform according to the necessary status information queried, if the tab behavior submitted by the user through the browser is received, the tab behavior can be monitored based on the tab monitoring strategy of the tab behavior monitoring plug-in to determine whether the user's current tab behavior is related to the online call management platform. When it is determined that the tab behavior submitted by the user is an operation behavior to close the online call management platform, a business processing request can be constructed and sent to the application server of the offline telephone answering platform, so that the application server can prevent the subsequent answering task assigned to operator A.

[0050] In summary, by configuring the plug-in in the browser, the response of the server's passive monitoring strategy can be greatly reduced, and the client can actively monitor the triggered strategy response, which effectively reduces the monitoring pressure and service overhead of the application server, and can ensure the timeliness and accuracy of information acquisition, so that the client and application server can perform real-time subsequent interactive operations based on the running status monitoring results.

[0051] Furthermore, when the client opens a business application in response to a user operation instruction, it not only needs to be completed in combination with the address information of the business application, but also needs to make the client authorize the access rights of the tab behavior monitoring plug-in, so that the tab behavior monitoring operation can be performed. In this embodiment, the client is also used to respond to the user operation instruction to input the address information corresponding to the target business in the target browser; send an application opening request to the application server based on the address information, and receive the application data fed back by the application server for the application opening request; open the business application corresponding to the target business in the target browser based on the application data; configure the access rights of the client for the tab behavior monitoring plug-in, and execute the step of configuring the monitoring script associated with the tab behavior monitoring plug-in in the business application according to the access rights configuration result.

[0052] Specifically, the address information refers to the URL entered when starting the business application corresponding to the target business in the target browser. Correspondingly, the application data refers to the application configuration data required to start the business application on the target browser running on the client. Correspondingly, the access permission refers to the permission assigned by the client to the tab behavior monitoring plug-in. Based on this permission, the tab behavior monitoring plug-in can be supported to configure relevant monitoring scripts in the business application, so as to realize the monitoring of the running status of the business application in the target browser after the tab behavior is detected.

[0053] Based on this, in order to enable the tab behavior monitoring plug-in to detect tab behavior on the client's browser, and thus actively feedback the operation status monitoring results to the application server, during the plug-in configuration stage, the client can respond to the user's operation instructions and enter the address information corresponding to the target business in the target browser; at this time, an application start request can be sent to the application server based on the address information, and the application server sends the application data of the associated business application to the client based on the application start request submitted by the client. At this time, after the client receives the application data fed back by the application server in response to the application start request, it can open the business application corresponding to the target business in the target browser based on the application data; and in order to support the plug-in to perform tab behavior monitoring operations, the client's access rights can be configured for the tab behavior monitoring plug-in, and on this basis, the steps of configuring the monitoring script associated with the tab behavior monitoring plug-in in the business application can be executed according to the access rights configuration results.

[0054] Continuing with the above example, operator A enters the URL {https: / / www.****.com} corresponding to the online call management platform in the browser on the computer. Based on the interaction between the computer and the corresponding server of the online call management platform, the online call management platform will be opened on the browser. In this case, the online call management platform will interact with the corresponding server of the online call management platform to start the server process and update the status of the online call management platform. At this time, the tab behavior monitoring plug-in will obtain the host permission of the computer, thereby allowing the plug-in to insert the JS script required to run into the online call management platform and call it, allowing the necessary status information of the corresponding online call management platform {URL information, status information, callback service of the online call management platform} to be obtained through the JS script and stored in the weakMap for subsequent tab monitoring.

[0055] In summary, by configuring the client's access rights for the tab behavior monitoring plug-in, the plug-in can be used to insert scripts and policies in the browser, thereby realizing the function of completing tab behavior monitoring on the client.

[0056] Furthermore, in order to better adapt to the requirements of different customers and meet the access adaptation of different hosts, the baseline status information can be passed to the browser's computing layer, and subsequent tab behavior monitoring operations can be performed on this basis. In this embodiment, the client is also used to send the baseline status information to the tab behavior monitoring plug-in; store the baseline status information in the object mapping area through the tab behavior monitoring plug-in, and pass the baseline status information to the computing layer of the target browser; adapt the business application and the tab behavior monitoring plug-in according to the storage result and the transmission result.

[0057] Specifically, the object mapping area specifically refers to the weakMap used to store the baseline status information. Based on this, in order to enable the tab behavior monitoring plug-in to better adapt to the target browser running on the client, so as to flexibly meet the adaptation of different host accesses, the client can send the baseline status information to the tab behavior monitoring plug-in; the tab behavior monitoring plug-in can be used to store the baseline status information in the object mapping area, and transmit the baseline status information to the computing layer of the target browser; on this basis, the business application and the tab behavior monitoring plug-in can be adapted according to the storage results and the transmission results, so that the tab behavior monitoring plug-in can monitor the tab behavior of the business application, so as to respond accurately after detecting the tab behavior.

[0058] In specific implementation, the postMessage (information transmission) method can be used to store and transfer the baseline status information through the intermediary content_script (monitoring script), and its ability to interact with the resident background script background.js can be used to pass the baseline status information to the bottom layer for control calculation. This can achieve flexible configuration and application of the plug-in, so as to complete the tab behavior monitoring on the client side and actively feedback the running status monitoring results of the business application to the application server.

[0059] In summary, by adopting the above method to complete the configuration of the tab monitoring strategy, the strategy can be run normally in the client and adapted to different clients, thereby satisfying the subsequent tab behavior monitoring processing.

[0060] In actual applications, different types of tab behaviors require different operation status monitoring processes; on the one hand, when the target tab behavior is to update the tab behavior, it is necessary to complete the operation status monitoring by comparing the address information. In this embodiment, the client is also used to obtain the update address information corresponding to the tab page corresponding to the business application at the current time node based on the tab monitoring strategy of the tab behavior monitoring plug-in when the target tab behavior is to update the tab behavior; the update address information is compared with the business address information corresponding to the business application as the operation status monitoring of the business application.

[0061] Specifically, the tab update behavior refers to the tab actions such as forward, back, refresh, etc. submitted by the user for a tab in the browser. Correspondingly, the update address information refers to the address information corresponding to the tab after the tab update behavior is submitted to the tab; correspondingly, the business address information refers to the address information corresponding to the business application; by comparing the business address information with the update address information, it can be determined whether the tab is associated with the business application, and further determine the running status monitoring result of the business application.

[0062] Based on this, when the target tab behavior is to update the tab behavior, it means that the user has triggered a new tab behavior for the target browser through the client. In order to monitor the running status of the business application, the update address information corresponding to the tab of the business application at the current time node can be obtained based on the tab monitoring strategy, and the business address information of the business application can be obtained at the same time. After that, the update address information can be compared with the business address information corresponding to the business application as a monitoring of the running status of the business application. Subsequently, the running status of the business application can be determined based on the address information comparison result, thereby actively feeding back accurate monitoring results to the application server.

[0063] In actual applications, when comparing the update address information and the business address information, it is considered that the business application may correspond to different address information under different nodes, but the domain name must be the same. Therefore, when the address information contains parts such as the domain name, path, query string and fragment identifier, the domain name can be extracted from the address information, and the running status of the business application can be determined by comparing the domain name.

[0064] Using the above example, when operator A submits a refresh command for tab 1 of the five open tabs through the browser on the computer, the tab monitoring strategy (onUpdate method) configured by the plug-in in the browser will be triggered; the onUpdate method is as follows:

[0065] tabs.onUpdated.addListener(

[0066] callback: (tabId: number,changeInfo: object,tab:Tab)=>void )

[0068] At this time, a callback will be returned. Through the changeInfo object in the callBack object, changeInfo.url (the currently visited URL address) can be obtained. By monitoring the changes in the URL visited by each tab, it is possible to accurately identify whether the online call management platform is still running in the opened tab. For example, the tab to be matched is https: / / www.****.com; when the browser tab is refreshed, the host of the currently opened page url will not change. At this time, the obtained tab information can be matched with the tab https: / / www.****.com. After matching, it is determined that there is still a tab matching https: / / www.****.com in the tab opened by the browser, so it is determined that the online call management platform is still running, and the call can continue to be connected to the landline of operator A.

[0069] In summary, by comparing the update address information and the business address information, it is possible to accurately identify that the tab behavior is the business application running state when the tab behavior is updated, so that the client and the application server can continue to maintain the operation of the target business.

[0070] On the other hand, when the target tab behavior is to close the tab behavior, it is necessary to first determine the closing address information, and then compare the closing address information with the business address information, so as to determine whether the current closing behavior involves a business application. In this embodiment, the client is also used to determine the closed tab page of the target browser at the current time node based on the tab monitoring strategy of the tab behavior monitoring plug-in when the target tab behavior is to close the tab behavior, and obtain the closing address information corresponding to the closed tab page; compare the closing address information with the business address information corresponding to the business application as a monitoring of the running status of the business application.

[0071] Specifically, the tab closing behavior refers to the behavior of closing a tab submitted by the user for a tab in the browser. Correspondingly, closing a tab refers to the tab closed by the user at the current moment; correspondingly, closing address information refers to the address information corresponding to the closed tab. Since the tab behavior monitoring plug-in focuses on the tab behavior triggered by different tabs in the browser on the client, by comparing the business address information and the closing address information, it can be determined whether the business application is still running.

[0072] Based on this, when the target tab behavior is to close the tab behavior, it means that the application has submitted a close operation for a tab in the target browser. At this time, the closed tab of the target browser at the current time node can be determined based on the tab monitoring strategy, and then the closed address information corresponding to the closed tab can be obtained; on this basis, by comparing the closed address information with the business address information corresponding to the business application, the running status of the business application can be monitored, and the running status of the business application can be determined based on the address information comparison result, so as to actively feedback accurate monitoring results to the application server.

[0073] Using the above example, when operator A submits a removal command for tab 2 among the five opened tabs through the computer browser, the tab monitoring strategy (onRemoved method) configured by the plug-in in the browser will be triggered; the onRemoved method is as follows:

[0074] tabs.onRemoved.addListener(

[0075] callback: (tabId: number,removeInfo: object)=>void )

[0077] At this time, a callback will be returned. Through the removeInfo in the callBack object, you can get the url and other information of the currently closed tab. When the browser tab is closed, the host of all the currently opened page urls will change. At this time, you can match all the obtained tab information with the tab https: / / www.****.com. After matching, it is determined that there is no tab matching https: / / www.****.com in the tabs opened by the browser. Therefore, it is determined that the online call management platform is closed, so that a closing request can be constructed later and sent to the application server of the offline call answering platform, so that the application server can prevent the subsequent answering tasks assigned to operator A.

[0078] In summary, by using different methods to monitor the operating status of business applications for different tab behaviors, the client can actively feedback accurate monitoring results to the application server based on the monitoring results, thereby supporting effective interaction between the client and the application server, avoiding waste of network resources and reducing the pressure on the server.

[0079] In specific implementation, in order to ensure the accuracy of the running status monitoring results, the tab monitoring strategy can complete the monitoring by matching the tab information and the tab information array. In this embodiment, the client is also used to determine the setting attribute information based on the tab monitoring strategy of the tab behavior monitoring plug-in, and determine the associated tab page in the target browser based on the setting attribute information; read the associated tab information and the tab information array corresponding to the associated tab page; match the business application with the associated tab information and the tab information array as the running status monitoring of the business application.

[0080] Specifically, setting attribute information specifically refers to the attribute information pre-set by the tab monitoring strategy, which is used to filter out the tabs that need to be monitored when multiple tabs are opened in the browser. It can be {active: true} (used to obtain the currently activated tab) or {tabId: someTabId} (used to obtain the tag information of a specified specific tabId). In actual applications, setting attribute information can be set according to actual needs, and this embodiment does not make any limitations here. Correspondingly, the associated tab page specifically refers to the tab page that matches the set attribute information among the multiple tab pages currently opened by the target browser. Correspondingly, the associated tab information specifically refers to the tab information corresponding to the associated tab page. Correspondingly, the tab information array specifically refers to the tabs information array corresponding to all currently associated tab pages.

[0081] Based on this, when monitoring the operating status of a business application based on a tab monitoring strategy, the client can determine the set attribute information based on the tab monitoring strategy, and determine the associated tab in the target browser based on the set attribute information; on this basis, the operating status monitoring of the business application can be completed by reading the associated tab information and the tab information array corresponding to the associated tab, and matching the business application with the associated tab information and the tab information array.

[0082] Using the above example, based on the tab monitoring strategy configured in the browser, all tabs with the specified attributes { active: true ; tabId: someTabId} can be obtained through the Query method. If no attribute is specified, all tabs can be obtained. The Query method is as follows:

[0083] tabs.query(

[0084] queryInfo: object,

[0085] callback?: function, )

[0087] The tabs.query method is used to retrieve and traverse all tab information in the retrieved tabs. The callback returns an array of tab information for all currently open tabs. Based on this, it is possible to determine whether the host IP and host are still in the tab, thereby determining the user's tab leaving behavior.

[0088] On this basis, the server will perform different business processing tasks for different operation status monitoring results, thereby ensuring that the client and the application server can perform subsequent correct interaction based on the current tab behavior. In this embodiment, the client is also used to extract the business callback information corresponding to the operation status monitoring result from the baseline status information, and construct a business processing request based on the business callback information; and send the business processing request to the application server;

[0089] The application server is also used to create a business closing task for the target business based on the business processing request when the operation status monitoring result is a closed status monitoring result; send a business closing request to the client by executing the business closing task, and update the business operation status of the target business to a closed business status; wherein the business closing request is used by the client to release the application operation data corresponding to the business application.

[0090] Specifically, the business callback information refers to the callback service related information recorded in the baseline status information. It is used to extract the business callback information from the baseline status information according to the running status monitoring result after the tab behavior monitoring plug-in determines the running status monitoring result, so as to actively send a business processing request to the application server, so that the application server can update the business running status of the target business according to the business processing request. Correspondingly, the business shutdown task refers to the task of stopping the transmission of data packets associated with the target business to the client. Correspondingly, the application operation data refers to the configuration data required to run the business application.

[0091] Based on this, when the tab behavior monitoring plug-in determines the operating status monitoring result corresponding to the business application, it will extract the business callback information of the corresponding operating status monitoring result from the baseline status information, and build a business processing request based on the business callback information and send it to the application server; at this time, if the operating status monitoring result is a closed status monitoring result, the application server can directly create a business closing task for the target business based on the business processing request; by executing the business closing task, a business closing request is sent to the client, and at the same time, the business operating status of the target business can be updated to a closed business status; wherein, the business closing request can be used by the client to release the application operating data corresponding to the business application.

[0092] Continuing with the above example, if it is determined based on the monitoring results of the online call management platform that operator A has closed the tab corresponding to the online call management platform, the process of the task-associated online call management platform cannot be retrieved at this time. Therefore, the tab behavior monitoring plug-in can extract the callback service from the necessary status information, and send a service shutdown request to the application server of the offline call answering platform based on the callback service, so that the application server of the offline call answering platform can close the online call service according to the request, thereby preventing the subsequent assignment of answering tasks to operator A.

[0093] In summary, by constructing different business processing tasks according to different operation status monitoring results, effective interaction between the client and the application server can be achieved, thereby avoiding the waste of network resources.

[0094] In addition, in order to avoid the situation where the target browser is abnormally closed, resulting in the application server being unable to receive the running status monitoring results fed back by the client, a fallback strategy of the heartbeat mechanism can be used to implement the interaction between the client and the application server. In this embodiment, when the target browser is abnormally closed, the application server is also used to send a heartbeat packet to the client at a preset time interval; when no response request is received from the client for the heartbeat packet feedback, a target business closing task for the target business is created and executed.

[0095] Based on this, when the browser running on the client is closed abnormally, such as due to a crash, power outage, etc., the client will not be able to actively send the running status monitoring results to the application server. In this case, the heartbeat mechanism provided by the server can complete the compensation shutdown. In other words, the application server can send heartbeat packets to the client at preset time intervals; if the client does not receive a response request for the heartbeat packet feedback, the target business shutdown task of the target business can be created and executed, and because the heartbeat mechanism is a mechanism triggered when the browser is closed abnormally, it can be set to send heartbeat packets at a lower frequency under the tab behavior monitoring system that provides a monitoring plug-in, so that the monitoring plug-in and the heartbeat mechanism can be coordinated to monitor the tab behavior to reduce the pressure on the server.

[0096] The tab monitoring system provided in this embodiment can greatly reduce the response use of the passive monitoring strategy of the server, and replace it with the strategy response triggered by the client's active monitoring, effectively reducing the monitoring pressure and service overhead of the application server, and can ensure the timeliness and accuracy of information acquisition, so that the client and application server can perform real-time subsequent interactive operations based on the operating status monitoring results.

[0097] The following combination Figure 3 , taking the application of the page tab behavior monitoring system provided in this specification in the traffic scenario as an example, the page tab behavior monitoring system is further described. Among them, Figure 3 A processing flow chart of a tab behavior monitoring system provided by an embodiment of the present specification is shown. The system includes a client and an application server, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, specifically including the following steps.

[0098] Step S302, the client is used to input the address information corresponding to the online customer service call service in the target browser in response to the user operation instruction; send an application opening request to the application server based on the address information, and receive application data fed back by the application server in response to the application opening request.

[0099] Step S304, the client is used to open the online call management platform corresponding to the online customer service call service in the target browser based on the application data; and configure the access rights of the client for the tab behavior monitoring plug-in.

[0100] Step S306, the client is used to configure a monitoring script associated with the tab behavior monitoring plug-in in the online call management platform according to the access permission configuration result; and obtain the baseline status information of the online call management platform by calling the monitoring script.

[0101] Step S308, the client is used to send the baseline status information to the tab behavior monitoring plug-in; store the baseline status information in the object mapping area through the tab behavior monitoring plug-in, and pass the baseline status information to the operation layer of the target browser; adapt the online call management platform and the tab behavior monitoring plug-in according to the storage result and the transmission result.

[0102] Step S310, the client is used to obtain the update address information corresponding to the tab page corresponding to the online call management platform at the current time node based on the tab monitoring strategy when the target tab behavior is to update the tab behavior; and compare the update address information with the business address information corresponding to the online call management platform as a monitoring of the operating status of the online call management platform.

[0103] Step S312, the client is used to determine the closed tab page of the target browser at the current time node based on the tab monitoring strategy when the target tab behavior is the closed tab behavior, and obtain the closed address information corresponding to the closed tab page; compare the closed address information with the business address information corresponding to the online call management platform as a monitoring of the operating status of the online call management platform.

[0104] Step S314, the client is used to extract the service callback information corresponding to the operation status monitoring result from the reference status information, and construct a service processing request according to the service callback information; and send the service processing request to the application server of the offline call answering platform.

[0105] Step S316, the application server is used to create a business closing task for the online customer service call service based on the business processing request when the running status monitoring result is a closed status monitoring result; and update the business running status of the online customer service call service to a closed business status by executing the business closing task.

[0106] The tab monitoring system provided in this embodiment can greatly reduce the response use of the passive monitoring strategy of the server, and replace it with the strategy response triggered by the client's active monitoring, effectively reducing the monitoring pressure and service overhead of the application server, and can ensure the timeliness and accuracy of information acquisition, so that the client and application server can perform real-time subsequent interactive operations based on the operating status monitoring results.

[0107] Corresponding to the above system embodiment, this specification also provides a tab behavior monitoring method embodiment. Figure 4 FIG. 1 is a flowchart of a method for monitoring page behavior provided by an embodiment of the present specification. Figure 4 As shown, the method is applied to a client, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including:

[0108] Step S402, opening a service application of a target service in the target browser in response to a user operation instruction;

[0109] Step S404, configuring a monitoring script associated with the tab behavior monitoring plug-in in the business application;

[0110] Step S406, obtaining the baseline status information of the business application by calling the monitoring script, and adapting the business application and the tab behavior monitoring plug-in based on the baseline status information;

[0111] Step S408, when a target tab behavior associated with the target browser is detected, monitoring the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in;

[0112] Step S410, constructing a business processing request according to the operation status monitoring result, and sending it to the application server; wherein the server updates the business operation status of the target business based on the business processing request.

[0113] In an optional embodiment, in response to a user operation instruction, address information corresponding to the target business is input into the target browser; based on the address information, an application start request is sent to the application server, and application data fed back by the application server in response to the application start request is received; based on the application data, a business application corresponding to the target business is started in the target browser; access rights of the client are configured for the tab behavior monitoring plug-in, and the step of configuring a monitoring script associated with the tab behavior monitoring plug-in in the business application is executed according to the access rights configuration result.

[0114] In an optional embodiment, the baseline status information is sent to the tab behavior monitoring plug-in; the baseline status information is stored in the object mapping area through the tab behavior monitoring plug-in, and the baseline status information is transmitted to the computing layer of the target browser; the business application and the tab behavior monitoring plug-in are adapted according to the storage result and the transmission result.

[0115] In an optional embodiment, when the target tab behavior is an update tab behavior, the update address information corresponding to the tab page corresponding to the business application at the current time node is obtained based on the tab monitoring strategy of the tab behavior monitoring plug-in; the update address information is compared with the business address information corresponding to the business application as a monitoring of the running status of the business application.

[0116] In an optional embodiment, when the target tab behavior is a close tab behavior, the closed tab of the target browser at the current time node is determined based on the tab monitoring strategy of the tab behavior monitoring plug-in, and the close address information corresponding to the closed tab is obtained; the close address information is compared with the business address information corresponding to the business application as a monitoring of the running status of the business application.

[0117] In an optional embodiment, the setting attribute information is determined based on the tab monitoring strategy of the tab behavior monitoring plug-in, and the associated tab page is determined in the target browser based on the setting attribute information; the associated tab information and the tab information array corresponding to the associated tab page are read; and the business application is matched with the associated tab information and the tab information array as a running status monitoring of the business application.

[0118] In summary, in order to ensure the timeliness and accuracy of information acquisition and reduce the pressure on the application server, a tab monitoring plug-in can be configured in the browser running on the client, and the monitoring behavior can be realized through the browser plug-in. Specifically, when the client opens the business application of the target business in the target browser in response to the user operation instruction, in order to support the monitoring of the tab behavior associated with the business application, a monitoring script associated with the tab behavior monitoring plug-in can be configured in the business application, and the benchmark status information of the business application can be obtained by calling the monitoring script, so that the adaptation of the business application and the tab behavior monitoring plug-in can be completed according to the obtained benchmark status information, and the tab behavior monitoring operation can be completed for any type of business application through the tab behavior monitoring plug-in; on this basis, if the target tab behavior associated with the target browser is detected, in order to monitor whether the behavior is associated with the business application, so as to determine whether the application server continues to interact with the client, the running status of the business application can be monitored based on the tab monitoring strategy of the tab behavior monitoring plug-in, and the business processing request can be triggered according to the running status monitoring result. After sending it to the application server, the application server can update the target business based on the business processing request to meet the current client running business application status. This can greatly reduce the response of the server's passive monitoring strategy and replace it with a strategy response triggered by active monitoring on the client, effectively reducing the monitoring pressure and service overhead of the application server, and ensuring the timeliness and accuracy of information acquisition, so that the client and application server can perform real-time subsequent interactive operations based on the operating status monitoring results.

[0119] The above is a schematic scheme of a tab behavior monitoring method of this embodiment. It should be noted that the technical scheme of the tab behavior monitoring method and the technical scheme of the tab behavior monitoring system described above belong to the same concept, and the details not described in detail in the technical scheme of the tab behavior monitoring method can be found in the description of the technical scheme of the tab behavior monitoring system described above.

[0120] Corresponding to the above method embodiment, this specification also provides a tab behavior monitoring device embodiment, Figure 5 FIG. 1 shows a schematic diagram of a tab behavior monitoring device provided by an embodiment of the present specification. Figure 5 As shown, the device is applied to a client, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including:

[0121] An opening module 502 is configured to open a service application of a target service in the target browser in response to a user operation instruction;

[0122] A configuration module 504, configured to configure a monitoring script associated with the tab behavior monitoring plug-in in the business application;

[0123] The acquisition module 506 is configured to acquire the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information;

[0124] The monitoring module 508 is configured to monitor the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in when detecting the target tab behavior associated with the target browser;

[0125] The sending module 510 is configured to construct a business processing request according to the operation status monitoring result and send it to the application server; wherein the server updates the business operation status of the target business based on the business processing request.

[0126] The above is a schematic scheme of a tab behavior monitoring device of this embodiment. It should be noted that the technical scheme of the tab behavior monitoring device and the technical scheme of the tab behavior monitoring method described above are of the same concept, and the details not described in detail in the technical scheme of the tab behavior monitoring device can be found in the description of the technical scheme of the tab behavior monitoring method described above.

[0127] Figure 6The block diagram of a computing device 600 according to an embodiment of the present specification is shown. The components of the computing device 600 include but are not limited to a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and the database 650 is used to store data.

[0128] The computing device 600 also includes an access device 640 that enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0129] In one embodiment of the present specification, the above components of the computing device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0130] The computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 600 may also be a mobile or stationary server.

[0131] The processor 620 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned tab behavior monitoring method.

[0132] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned tab behavior monitoring method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned tab behavior monitoring method.

[0133] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned tab behavior monitoring method.

[0134] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned tab behavior monitoring method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned tab behavior monitoring method.

[0135] An embodiment of the present specification also provides a computer program product, including a computer program or instructions, which implement the steps of the above-mentioned tab behavior monitoring method when executed by a processor.

[0136] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above-mentioned tab behavior monitoring method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above-mentioned tab behavior monitoring method.

[0137] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0138] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0139] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0140] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0141] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can understand and use this specification well.

Claims

1. A tab behavior monitoring system, It is characterized in that The tab behavior monitoring system includes a client and an application server, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including: The client is used to open the business application of the target business in the target browser in response to the user operation instruction; configure the monitoring script associated with the tab behavior monitoring plug-in in the business application; obtain the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information; when the target tab behavior associated with the target browser is detected, monitor the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in, construct a business processing request according to the running status monitoring result, and send it to the application server; The application server is used to update the service operation status of the target service based on the service processing request.

2. The tab behavior monitoring system according to claim 1, It is characterized in that The client is further configured to input address information corresponding to a target service in the target browser in response to a user operation instruction; send an application start request to the application server based on the address information, and receive application data fed back by the application server in response to the application start request; Based on the application data, the business application corresponding to the target business is opened in the target browser; the access rights of the client are configured for the tab behavior monitoring plug-in, and according to the access rights configuration result, the monitoring script associated with the tab behavior monitoring plug-in is configured in the business application.

3. The tab behavior monitoring system according to claim 1, It is characterized in that The client is also used to send the baseline status information to the tab behavior monitoring plug-in; store the baseline status information in the object mapping area through the tab behavior monitoring plug-in, and transmit the baseline status information to the computing layer of the target browser; adapt the business application and the tab behavior monitoring plug-in according to the storage result and the transmission result.

4. The tab behavior monitoring system according to claim 1, It is characterized in that The client is further used to obtain the update address information corresponding to the tab page corresponding to the business application at the current time node based on the tab monitoring strategy of the tab behavior monitoring plug-in when the target tab behavior is an update tab behavior; The updated address information is compared with the business address information corresponding to the business application to monitor the running status of the business application.

5. The tab behavior monitoring system according to claim 1, It is characterized in that The client is further used to determine the closed tab page of the target browser at the current time node based on the tab monitoring strategy of the tab behavior monitoring plug-in when the target tab behavior is a closed tab behavior, and obtain the closed address information corresponding to the closed tab page; The closing address information is compared with the business address information corresponding to the business application to monitor the running status of the business application.

6. The tab behavior monitoring system according to claim 1, It is characterized in that The client is further used to determine setting attribute information based on the tab monitoring strategy of the tab behavior monitoring plug-in, and determine the associated tab page in the target browser based on the setting attribute information; Read the associated tab information and the tab information array corresponding to the associated tab page; match the business application with the associated tab information and the tab information array to monitor the running status of the business application.

7. The tab behavior monitoring system according to any one of claims 1 to 6, It is characterized in that The client is further configured to extract the service callback information corresponding to the operation status monitoring result from the reference status information, construct a service processing request according to the service callback information, and send the service processing request to the application server; The application server is also used to create a business closing task for the target business based on the business processing request when the operation status monitoring result is a closed status monitoring result; send a business closing request to the client by executing the business closing task, and update the business operation status of the target business to a closed business status; wherein the business closing request is used by the client to release the application operation data corresponding to the business application.

8. The tab behavior monitoring system according to any one of claims 1 to 6, It is characterized in that In the case where the target browser is abnormally closed, the application server is also used to send a heartbeat packet to the client at a preset time interval; if no response request for the heartbeat packet feedback is received from the client, a target business closing task for the target business is created and executed.

9. A method for monitoring tab behavior, It is characterized in that Applied to a client, wherein the client runs a target browser, and the target browser is configured with a tab behavior monitoring plug-in, including: In response to a user operation instruction, opening a service application of a target service in the target browser; Configure the monitoring script associated with the tab behavior monitoring plug-in in the business application; Acquire the baseline status information of the business application by calling the monitoring script, and adapt the business application and the tab behavior monitoring plug-in based on the baseline status information; When a target tab behavior associated with the target browser is detected, monitoring the running status of the business application based on the tab monitoring strategy of the tab behavior monitoring plug-in; A business processing request is constructed according to the operation status monitoring result and sent to the application server; wherein the application server updates the business operation status of the target business based on the business processing request.

10. A computing device, It is characterized in that include: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method according to claim 9 are implemented.

11. A computer-readable storage medium, It is characterized in that It stores computer executable instructions, which implement the steps of the method according to claim 9 when executed by a processor.

12. A computer program product, It is characterized in that The method comprises a computer program or an instruction, which implements the steps of the method according to claim 9 when the computer program or the instruction is executed by a processor.