Performance monitoring method and device for image-text mixed data set, storage medium and product

By collecting and batch uploading performance logs after the browser is started for analysis, determining optimization strategies, adjusting the browser's operating mode and dataset display parameters, the performance bottlenecks in processing mixed datasets are solved, and the browser performance and user experience are improved.

CN120336652APending Publication Date: 2025-07-18ZHONGDIAN DATA IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510434927.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, there are performance bottlenecks in the client processing mixed data sets of graphics and text, resulting in slow data loading speed, poor rendering quality and low interaction fluency, affecting the user experience.

Method used

By collecting performance logs after the browser is started and uploading them to the server for analysis, determining optimization strategies based on the analysis results, adjusting the browser's operating mode and display parameters of the mixed dataset of graphics and text to improve performance.

Benefits of technology

Real-time optimization of browser performance is achieved, data loading speed and rendering quality are improved, and user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120336652A_ABST
    Figure CN120336652A_ABST
Patent Text Reader

Abstract

The invention discloses a performance monitoring method and device for an image-text mixed data set, a storage medium and a product, and relates to the technical field of computer performance monitoring, the method is applied to a client, the client comprises a to-be-monitored browser, and the method comprises the steps that in response to a starting instruction of running an image-text mixed data set page by the browser, the image-text mixed data set page is started; collecting a performance log when the browser runs the image-text mixed data set page; the collected performance logs are uploaded to a server in batches, so that the server analyzes the performance logs to obtain a performance analysis result of the browser, and a corresponding optimization strategy is determined based on the performance analysis result; and obtaining an optimization strategy, and adjusting the operation mode of the browser and the display parameters of the image-text mixed data set based on the optimization strategy. According to the method and the device, the performance of the browser for processing the image-text mixed data set can be monitored, so that the performance of the browser is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of computer performance monitoring, and particularly to a method, device, storage medium, and product for monitoring the performance of a mixed text and image dataset. Background Art

[0002] With the rapid development of artificial intelligence and big data technologies, mixed text and image datasets have been widely used in many industrial fields. As important carriers for information transmission and presentation, the processing efficiency and display effect of these datasets determine the user experience and system performance.

[0003] However, with the continuous expansion of the dataset scale and the increasing complexity of processing requirements, the performance challenges faced by the client when processing and displaying these datasets have become increasingly prominent. Currently, during the process of a user viewing a mixed text and image dataset based on the client, problems such as slow data loading speed, poor rendering quality, and low interaction fluency may exist. That is to say, there are performance bottlenecks when the client processes the mixed text and image dataset, resulting in a decline in the user experience and even affecting the user's reception and understanding of information.

[0004] Therefore, how to monitor the performance of the browser that processes the mixed text and image dataset to improve the browser performance is an urgent problem to be solved currently. Summary of the Invention

[0005] The main purpose of this application is to provide a method, device, storage medium, and product for monitoring the performance of a mixed text and image dataset, aiming to monitor the performance of the browser that processes the mixed text and image dataset to improve the browser performance.

[0006] To achieve the above objective, this application provides a method for monitoring the performance of a mixed text and image dataset. The method for monitoring the performance of the mixed text and image dataset is applied to the client, where the client includes the browser to be monitored. The method for monitoring the performance of the mixed text and image dataset includes:

[0007] In response to a startup instruction for the browser to run the mixed text and image dataset page, collect the performance logs when the browser runs the mixed text and image dataset page;

[0008] Batch upload the collected performance logs to the server for the server to analyze the performance logs, obtain the performance analysis result when the browser runs the mixed text and image dataset, and determine the corresponding optimization strategy based on the performance analysis result;

[0009] Obtain the optimization strategy and adjust the running mode of the browser and the display parameters of the mixed text and image dataset based on the optimization strategy.

[0010] In one embodiment, the step of batch uploading the collected performance logs to the server includes:

[0011] Store the performance logs collected in real time in a preset storage space;

[0012] Detect whether the number of logs to be uploaded reaches a preset number, where the logs to be uploaded are the performance logs in the preset storage space;

[0013] When it is detected that the number of logs to be uploaded reaches the preset number, upload each of the logs to be uploaded to the server, delete each of the logs to be uploaded from the preset storage space, and return to execute the step of storing the performance logs collected in real time in the preset storage space.

[0014] In one embodiment, after the step of storing the performance logs collected in real time in the preset storage space, the method further includes:

[0015] Monitor whether a browser close instruction is received;

[0016] When the browser close instruction is received, in response to the browser close instruction, upload the logs to be uploaded to the server, and delete the logs to be uploaded from the preset storage space;

[0017] When the browser close instruction is not received, execute the step of detecting whether the number of logs to be uploaded reaches the preset number.

[0018] In one embodiment, the optimization strategy includes a network transmission optimization strategy, which is generated when the display rate in the performance analysis result is lower than a preset rate threshold;

[0019] The step of adjusting the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy includes:

[0020] Optimize the domain name resolution process, network connection quality, and / or content delivery network of the browser based on the network transmission optimization strategy;

[0021] Based on the network transmission optimization strategy, adjust the compression ratio of the images in the text and image mixed dataset, and set the text in the text and image mixed dataset to be loaded in segments.

[0022] In one embodiment, the optimization strategy includes a page presentation optimization strategy, which is generated when the display quality in the performance analysis result is lower than a threshold quality threshold;

[0023] The step of adjusting the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy includes:

[0024] Based on the page rendering optimization strategy, optimize the page rendering mechanism and / or the image loading strategy of the browser;

[0025] Based on the page rendering optimization strategy, adjust the resolution of the images in the text and image mixed dataset.

[0026] In one embodiment, the method further includes:

[0027] In response to a browser startup instruction, obtain the client environment characteristics, where the client environment characteristics characterize the attributes and status of the running environment where the client is located;

[0028] Determine whether the client environment characteristics meet the preset running conditions, where the preset running conditions are the attributes and status of the running environment of a standard client that supports the smooth running of the browser;

[0029] In the case where the client environment characteristics do not meet the preset running conditions, output a prompt to remind the user to switch the browser or the client device;

[0030] In the case where the client environment characteristics meet the preset running conditions, execute the step of collecting the performance logs.

[0031] In addition, to achieve the above object, the present application further provides a performance monitoring method for a text and image mixed dataset. The performance monitoring method for the text and image mixed dataset is applied to a server, the server is communicatively connected to a client, the client includes a browser to be monitored, and the performance monitoring method for the text and image mixed dataset includes:

[0032] Receive the performance logs batch-uploaded by the client;

[0033] Analyze the performance logs to obtain a performance analysis result when the browser runs the text and image mixed dataset;

[0034] Based on the performance analysis result, determine a corresponding optimization strategy and send the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy.

[0035] In one embodiment, the performance logs include various performance metrics when the browser runs. The step of analyzing the performance logs to obtain a performance analysis result when the browser runs the text and image mixed dataset includes:

[0036] Obtain the preset index value ranges corresponding to each of the performance metrics respectively;

[0037] Detect whether each of the performance metrics is within the preset index value ranges corresponding to each of the performance metrics respectively, and obtain a performance analysis result when the browser runs the mixed text and image dataset, wherein the performance analysis result characterizes the display quality and display rate when the browser runs the mixed text and image dataset.

[0038] In one embodiment, the step of detecting whether each of the performance metrics is within the preset index value ranges corresponding to each of the performance metrics respectively, and obtaining a performance analysis result when the browser runs the mixed text and image dataset includes:

[0039] Detect whether the target performance metric is within the preset index value range corresponding to the target performance metric, and obtain an index detection result, wherein the target performance metric is any one of the performance metrics;

[0040] Use the index detection results corresponding to each of the performance metrics as the performance analysis result when the browser runs the mixed text and image dataset.

[0041] In one embodiment, the step of determining a corresponding optimization strategy based on the performance analysis result includes:

[0042] In the case where the display quality in the performance analysis result is lower than a preset quality threshold, generate a page presentation optimization strategy based on the first detection result, wherein the first detection result is the index detection result corresponding to the performance metric that affects the display quality of the mixed text and image dataset;

[0043] In the case where the display rate in the performance analysis result is lower than a preset rate threshold, generate a network transmission optimization strategy based on each of the second detection results, wherein the second detection result is the index detection result corresponding to the performance metric that affects the display rate of the mixed text and image dataset.

[0044] In one embodiment, after the step of sending the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the mixed text and image dataset based on the optimization strategy, the method further includes:

[0045] Simulate the target browser after being adjusted based on the optimization strategy, and perform a regression test in the target browser to obtain a performance analysis result of the target browser;

[0046] Update the preset index value ranges corresponding to each of the performance metrics based on the performance analysis result of the target browser.

[0047] In addition, to achieve the above object, the present application further provides a performance monitoring device for a graphic and text mixed data set. The performance monitoring device for the graphic and text mixed data set is applied to a client. The client includes a browser to be monitored. The performance monitoring device for the graphic and text mixed data set includes:

[0048] An acquisition module, configured to acquire performance logs when the browser runs the graphic and text mixed data set page in response to a start instruction for the browser to run the graphic and text mixed data set page;

[0049] An upload module, configured to batch upload the acquired performance logs to a server for the server to analyze the performance logs to obtain a performance analysis result when the browser runs the graphic and text mixed data set, and determine a corresponding optimization strategy based on the performance analysis result;

[0050] An optimization module, configured to obtain the optimization strategy and adjust the running mode of the browser and the display parameters of the graphic and text mixed data set based on the optimization strategy.

[0051] In addition, to achieve the above object, the present application further provides a performance monitoring device for a graphic and text mixed data set. The performance monitoring device for the graphic and text mixed data set is applied to a server. The server is communicatively connected to the client. The client includes a browser to be monitored. The performance monitoring device for the graphic and text mixed data set includes:

[0052] A receiving module, configured to receive the performance logs batch uploaded by the client;

[0053] An analysis module, configured to analyze the performance logs to obtain a performance analysis result when the browser runs the graphic and text mixed data set;

[0054] A determination module, configured to determine a corresponding optimization strategy based on the performance analysis result and send the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the graphic and text mixed data set based on the optimization strategy.

[0055] In addition, to achieve the above object, the present application further provides a storage medium. The storage medium is a computer-readable storage medium. A program for implementing the performance monitoring method of the graphic and text mixed data set is stored on the computer-readable storage medium. The program for implementing the performance monitoring method of the graphic and text mixed data set is executed by a processor to implement the steps of the performance monitoring method of the graphic and text mixed data set as described above.

[0056] In addition, to achieve the above object, the present application further provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the performance monitoring method of the graphic and text mixed data set as described above are implemented.

[0057] The present application provides a method for monitoring the performance of a text and image mixed dataset. The method for monitoring the performance of the text and image mixed dataset is applied to a client, and the client includes a browser to be monitored. First, in response to a start instruction for the browser to run a page of the text and image mixed dataset, the present application collects performance logs generated when the browser runs the page of the text and image mixed dataset, and then uploads the collected performance logs to a server in batches for the server to analyze the performance logs, obtain a performance analysis result of the browser, and determine a corresponding optimization strategy based on the performance analysis result. The client obtains the optimization strategy from the server to adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy.

[0058] In summary, after the browser is started, the present application collects its performance logs and uploads the collected logs to the server in batches for the server to obtain a performance analysis result of the browser based on the log data and determine a targeted optimization strategy based on the performance analysis result. Then, the client adjusts the running mode of the browser and the display parameters of the text and image mixed dataset according to the optimization strategy, thereby improving the performance when the browser runs the text and image mixed dataset. Description of the Drawings

[0059] The drawings here are incorporated into the description and form a part of this description, showing embodiments consistent with the present application and used together with the description to explain the principles of the present application.

[0060] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without creative efforts.

[0061] Figure 1 Schematic flowchart of the first embodiment of the method for monitoring the performance of the text and image mixed dataset of the present application;

[0062] Figure 2 Schematic flowchart of the performance monitoring process of the text and image mixed dataset involved in an embodiment of the method for monitoring the performance of the text and image mixed dataset of the present application;

[0063] Figure 3 Schematic flowchart of the second embodiment of the method for monitoring the performance of the text and image mixed dataset of the present application;

[0064] Figure 4 Schematic flowchart of the server workflow involved in an embodiment of the method for monitoring the performance of the text and image mixed dataset of the present application;

[0065] Figure 5It is a schematic diagram of the device structure of the hardware operating environment involved in the performance monitoring method of the text and image mixed data set in the embodiment of the present application.

[0066] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0067] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application, and are not used to limit the present application.

[0068] In order to better understand the technical solutions of the present application, the following will be described in detail with reference to the accompanying drawings of the specification and specific implementation manners.

[0069] The main solution of the present application is: in response to the startup instruction of the browser to run the text and image mixed data set page, collect the performance logs when the browser runs the text and image mixed data set page; batch upload the collected performance logs to the server for the server to analyze the performance logs to obtain the performance analysis result when the browser runs the text and image mixed data set, and determine the corresponding optimization strategy based on the performance analysis result; obtain the optimization strategy and adjust the running mode of the browser and the display parameters of the text and image mixed data set based on the optimization strategy.

[0070] With the continuous expansion of the data set scale and the increasing complexity of processing requirements, the performance challenges faced by the client in processing and displaying these data sets are becoming increasingly prominent. At present, in the process of users viewing the text and image mixed data set based on the client, there may be problems such as slow data loading speed, poor rendering quality, and low interaction fluency. That is to say, there is a performance bottleneck when the client processes the text and image mixed data set, which leads to a decline in user experience and even affects the user's reception and understanding of information.

[0071] Therefore, how to monitor the performance of the browser for processing the text and image mixed data set to improve the browser performance is an urgent problem to be solved at present.

[0072] The present application collects the performance logs after the browser starts, and batch uploads the collected logs to the server for the server to obtain the browser performance analysis result based on the log data, and determine the targeted optimization strategy based on the performance analysis result, and then the client adjusts the running mode of the browser and the display parameters of the text and image mixed data set according to the optimization strategy, so as to improve the performance when the browser runs the text and image mixed data set.

[0073] It should be noted that the execution subject of the method in each embodiment of the performance monitoring method for the text-image mixed dataset of the present application can be a client, and the client includes a browser for monitoring the performance of the text-image mixed dataset. The client can be a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a performance monitoring device for the text-image mixed dataset that can implement the above functions. The present embodiment does not make specific limitations on this. Hereinafter, taking the client as the execution subject as an example, the present embodiment and the following embodiments will be described.

[0074] Based on this, the present application proposes a performance monitoring method for a text-image mixed dataset in the first embodiment. Please refer to Figure 1 , and the performance monitoring method for the text-image mixed dataset includes steps S10 to S30:

[0075] Step S10, in response to a start instruction for the browser to run the text-image mixed dataset page, collect performance logs when the browser runs the text-image mixed dataset page;

[0076] It should be noted that the browser start instruction is usually manually triggered by the user and is used to instruct the browser to start running. After receiving the browser start instruction triggered by the user, in response to the browser start instruction, start collecting performance logs. Among them, the performance logs include multiple indicators characterizing the performance of the browser.

[0077] In a feasible implementation manner, a program is preset to obtain browser access data, that is, performance logs. Specifically, the program code for obtaining performance logs is as follows:

[0078]

[0079]

[0080] Among them, the performance metrics in the performance logs include but are not limited to: jsHeapSizeLimit, which represents the limit size of the JavaScript heap memory and is formatted by the countSize function; totalJSHeapSize, which represents the total size of the JavaScript heap memory and is formatted by the countSize function; usedJSHeapSize, which represents the size of the used JavaScript heap memory and is formatted by the countSize function; loadPage, which represents the time from the start of navigation to the end of the load event and is calculated by the countTime function; domReady, which represents the time from the end of the response to the complete loading of the DOM; redirect, which represents the time spent on redirection; lookupDomain, which represents the time spent on domain name lookup; ttfb (TimeToFirstByte, the time to the first byte), which represents the time from the start of navigation to the start of the response; request, which represents the time from the start of the response to the end of the response; loadEvent, which represents the time spent on the load event; appcache, which represents the time from the start of domain name lookup to the start of resource acquisition; unloadEvent, which represents the time spent on the unload event of the previous page; connect, which represents the time spent on establishing a connection.

[0081] Step S20: Batch upload the collected performance logs to the server for the server to analyze the performance logs, obtain the performance analysis result when the browser runs the text and image mixed dataset, and determine the corresponding optimization strategy based on the performance analysis result;

[0082] It should be noted that the client is communicatively connected to the server.

[0083] The client batch uploads the collected performance logs to the server for the server to analyze the performance logs to obtain the performance analysis result of the browser. Among them, it can be understood that the performance analysis result of the browser characterizes whether each performance metric in the performance logs meets the preset conditions. Then, the server determines the corresponding optimization strategy based on the performance analysis result.

[0084] Step S30: Obtain the optimization strategy and adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy.

[0085] After obtaining the optimization strategy, the server sends the optimization strategy to the client. After receiving the optimization strategy, the client adjusts the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy. Among them, the display parameters of the text and image mixed dataset include but are not limited to the compression ratio, text loading method, resolution, and text font style.

[0086] In a feasible implementation, every time the server receives a batch of performance logs, it analyzes the logs to obtain a performance analysis result of the browser, determines an optimization strategy corresponding to the current performance analysis result, and sends the optimization strategy to the client for the client to adjust the browser running mode and display parameters of the graphic and text mixed dataset based on the optimization strategy, thereby improving the browser performance. That is, during the user's use of the browser, browser performance optimization can be performed in real time.

[0087] In another feasible implementation, the server receives performance logs uploaded in batches, and after the browser is closed, based on all the performance logs received this time, it obtains a performance analysis result of the browser and obtains a corresponding optimization strategy for the client to adjust the browser running mode and display parameters of the graphic and text mixed dataset based on the optimization strategy, thereby improving the browser performance. That is, during the user's use of the browser, the resource consumption caused by information interaction between the server and the client is reduced. After the user closes the browser, the browser is optimized so that the browser has better performance when it is started next time.

[0088] In this way, in the embodiment of the present application, after the browser is started, its performance logs are collected and the collected logs are uploaded to the server in batches for the server to obtain a browser performance analysis result based on the log data and determine a targeted optimization strategy based on the performance analysis result. Then, the client adjusts the running mode of the browser and the display parameters of the graphic and text mixed dataset according to the optimization strategy, thereby improving the browser performance.

[0089] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar content as in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated hereinafter. On this basis, the step S20 may include:

[0090] Step S201, storing the real-time collected performance logs in a preset storage space;

[0091] It should be noted that the position for the client to store the logs is preset in advance, that is, the above-mentioned preset storage space.

[0092] During the user's use of the browser, the collected performance logs are temporarily stored in the preset storage space.

[0093] Step S202, detecting whether the number of logs to be uploaded reaches a preset number, where the logs to be uploaded are the performance logs in the preset storage space;

[0094] It should be noted that the number of logs is preset each time the logs are uploaded to the server, that is, the preset number. The present application embodiment does not limit the specific size of the preset number. In this embodiment, the preset number can be set to 500.

[0095] Monitor whether the number of performance logs (hereinafter referred to as logs to be uploaded for distinction) stored in the preset storage space has reached a preset number.

[0096] Step S203, when it is detected that the number of logs to be uploaded reaches a preset number, each log to be uploaded is uploaded to the server, and each log to be uploaded is deleted from the preset storage space, and the process returns to the step of storing the real-time collected performance logs in the preset storage space.

[0097] When it is detected that the number of logs to be uploaded reaches the preset number, the logs to be uploaded are uploaded to the server, then the performance logs in the preset storage space are cleared, and the step of storing the collected logs in the preset storage space is returned to execute until the browser closing instruction is received.

[0098] It should be noted that in the traditional way of evaluating browser performance based on log data, usually each log is sent to the server, so as the number of users browsing content increases, more logs are generated, and the resources occupied by sending logs also increase, resulting in fewer resources for page display, which in turn causes the screen to freeze. However, the embodiment of the present application first stores the performance logs collected in real time locally, and then uploads the logs to the server in batches. Since the traffic resources consumed by uploading one log and uploading 500 logs are similar, compared with the traditional method of uploading one log to the server for each log generated, the embodiment of the present application can reduce the resource consumption brought to the browser by log transmission, and ensure that most of the browser's resources are used to respond to user instructions and display graphic or text pages, thereby avoiding the freeze of the page displayed by the browser.

[0099] In this embodiment, after step S201, the performance monitoring method of the mixed text-image data set of the present application further includes:

[0100] Step A10, monitoring whether a browser close instruction is received;

[0101] Step A20, when receiving the browser closing instruction, in response to the browser closing instruction, uploading the log to be uploaded to the server, and deleting the log to be uploaded from the preset storage space;

[0102] Step A30, when the browser closing instruction is not received, executing the step of detecting whether the number of logs to be uploaded reaches a preset number.

[0103] It should be noted that the browser closing instruction is usually triggered by the user and is used to indicate the instruction for closing the browser.

[0104] After storing the real-time collected performance logs in the preset storage space, it is monitored whether a browser closing instruction is received. In the case of receiving the browser closing instruction, in response to the browser closing instruction, the upload logs stored in the preset storage space are uploaded to the server, and the logs to be uploaded are deleted from the preset storage space, that is, the performance logs in the preset storage space are cleared; in the case of not receiving the browser closing instruction, the step of detecting whether the number of logs to be uploaded reaches the preset number is executed to upload the performance logs in batches.

[0105] In this way, the embodiment of the present application reports the remaining logs in the preset storage space when the user closes the browser, ensuring the integrity of the log data.

[0106] In this embodiment, the optimization strategy includes a network transmission optimization strategy, and the step S30 may include:

[0107] Step S301, based on the network transmission optimization strategy, optimize the domain name resolution process, network connection quality, and / or content delivery network of the browser.

[0108] It should be noted that the optimization strategy obtained by the server includes a network transmission optimization strategy, which is mainly used to indicate the way to optimize the network transmission between the server and the client and the display parameters of the graphic and text mixed data set.

[0109] The client optimizes the domain name resolution process, network connection quality, and / or content delivery network of the browser based on the network transmission optimization strategy.

[0110] Exemplarily, based on the performance logs, the performance analysis result of the browser is determined. The performance analysis result may be that the DNS (Domain Name System) resolution speed is slow, the TCP link is slow (Transmission Control Protocol), and / or the dom (Document Object Model) download is slow. Then, for the problem of slow DNS resolution, the corresponding network transmission optimization strategy is to use a more professional DNS resolution server, configure the client local DNS cache, optimize the network configuration, and pre-resolve DNS; for the problem of slow TCP link, the corresponding network transmission optimization strategy is to consider server load balancing, optimize the network, and reduce the number of network jumps, etc.; for the problem of slow dom download, the corresponding network transmission optimization strategy is to improve the server and network configuration and configure a CDN (Content Delivery Network).

[0111] Step S302: Based on the network transmission optimization strategy, adjust the compression ratio of the images in the graphic-text mixed dataset and set the text in the graphic-text mixed dataset to be loaded in segments.

[0112] The client adjusts the compression ratio of the images in the graphic-text mixed dataset based on the network transmission optimization strategy and sets the text in the graphic-text mixed dataset to be presented in a segmented loading manner.

[0113] Exemplarily, determine the performance analysis result of the browser based on the performance log. When the performance analysis result includes good network conditions, the corresponding network transmission optimization strategy is to reduce the compression ratio of the images in the graphic-text mixed dataset; when the performance analysis result includes limited network bandwidth or weak device performance, the corresponding network transmission optimization strategy is to increase the compression ratio of the images in the graphic-text mixed dataset; when the performance analysis result includes unstable network or slow DNS resolution speed, the corresponding network transmission optimization strategy is to set the text in the graphic-text mixed dataset to be segmented into shorter paragraphs for loading, for example, 500 words per paragraph; when the performance analysis result includes good network conditions and stable TCP connections, the corresponding network transmission optimization strategy is to set the graphic-text mixed dataset to be displayed in full page to provide users with a coherent and efficient browsing experience.

[0114] In this embodiment, the optimization strategy further includes a page presentation optimization strategy, and the step S30 may include:

[0115] Step S303: Based on the page presentation optimization strategy, optimize the page rendering mechanism and / or the image loading strategy of the browser.

[0116] The client optimizes the page rendering mechanism and / or the image loading strategy of the browser based on the page presentation optimization strategy.

[0117] Exemplarily, determining the performance analysis result of the browser based on the performance log may be that the graphic-text dataset opens slowly and / or the pictures are viewed slowly. For the problem of slow opening of the graphic-text dataset, the corresponding page presentation optimization strategy is that when there are multiple graphic-text datasets, only display the datasets within the user's field of view, and when the user scrolls down the page, display the corresponding datasets, that is, render the page in frames; for the problem of slow picture viewing, the corresponding page presentation optimization strategy is that when there are multiple pictures, only display the pictures within the user's field of view, or first display the picture thumbnails and then display the high-definition large pictures when the user clicks on the picture again.

[0118] Step S304: Based on the page presentation optimization strategy, adjust the resolution of the images in the graphic-text mixed dataset.

[0119] Based on the page rendering optimization strategy, the client adjusts the resolution of the images in the mixed graphic and text dataset and the font styles of the text in the mixed graphic and text dataset.

[0120] Exemplarily, when the performance analysis result indicates good device performance, the corresponding page rendering optimization strategy is to increase the resolution of the images in the mixed graphic and text dataset. A resolution upper limit for image display is preset. It can be understood that when the device performance is good, the image resolution is increased in steps within the range below the resolution upper limit. Similarly, when the performance analysis result indicates poor device network, the corresponding page rendering optimization strategy is to decrease the resolution of the images in the mixed graphic and text dataset.

[0121] In this way, in the embodiment of the present application, by presetting the mapping relationship between the performance analysis result and the optimization strategy, after obtaining the performance analysis result, the optimization strategy corresponding to the current performance analysis result is found based on the mapping relationship, so as to optimize the browser and dataset display parameters according to the optimization strategy, thereby improving the browser performance.

[0122] In this embodiment, the method for monitoring the performance of the mixed graphic and text dataset of the present application further includes:

[0123] Step B10, in response to the browser startup instruction, obtain the client environment characteristics, where the client environment characteristics characterize the attributes and states of the operating environment where the client is located;

[0124] After receiving the browser startup instruction, first obtain the client environment characteristics. It should be noted that the client environment characteristics refer to the attributes and states of the operating environment where the client is located.

[0125] Exemplarily, a program for obtaining the client environment characteristics is preset as follows:

[0126]

[0127]

[0128] Among them, the client environment features obtained by the above program include: cookieEnabled, a boolean value indicating whether the user's browser has enabled cookies; data, the current time; language, indicating the preferred language set by the user's browser; location, indicating the URL (Uniform Resource Locator) of the current page; platform, indicating the operating system platform on which the browser runs; product, the name of the browser; referrer, indicating the URL that led the user to access the current page; screen, indicating the width of the user's screen in pixels; userAgent, indicating the user agent string, which contains information describing the user's browser and operating system.

[0129] Step B20, determine whether the client environment features meet the preset running conditions, where the preset running conditions are the attributes and status of the running environment of a standard client that supports the smooth running of the browser.

[0130] It should be noted that the attributes and status of the running environment of a client (hereinafter referred to as the standard client for distinction) that can support the smooth running of the browser are set in advance.

[0131] Determine whether the client environment features meet the preset running conditions.

[0132] Step B30, when the client environment features do not meet the preset running conditions, output a prompt to remind the user to switch the browser or the client device.

[0133] When the client environment features do not meet the preset running conditions, output a prompt to remind the user to switch the browser or the client device.

[0134] Exemplarily, when the browser type used by the user is the IE (Internet Explorer) browser, since the performance of this browser is poor and it cannot run smoothly, a prompt can be output to remind the user to switch the browser.

[0135] Step B40, when the client environment features meet the preset running conditions, execute the step of collecting the performance log.

[0136] When the client environment features meet the preset running conditions, execute the step of collecting the performance log to monitor and optimize the performance of the browser.

[0137] Exemplarily, such as Figure 2The figure shows a schematic diagram of the performance monitoring process for a text and image mixed dataset. First, in response to a browser startup instruction, the client obtains the client environment characteristics; determines whether the client environment characteristics meet the preset operating conditions; if not, outputs a prompt to remind the user to switch the browser or the client device; if so, starts collecting performance logs and saves them to a preset storage space; monitors whether the number of performance logs stored in the preset storage space reaches a preset quantity, and monitors whether a browser shutdown instruction is received; when the number of logs in the preset storage space reaches the preset quantity or a browser shutdown instruction is received, uploads the performance logs in the preset storage space to the server, and clears the performance logs in the preset storage space; the server receives the performance logs, obtains the performance analysis result of the browser based on the performance logs, determines the corresponding optimization strategy based on the performance analysis result, and then sends the optimization strategy to the client; after receiving the optimization strategy, the client adjusts the browser operation mode based on the optimization strategy to complete the performance optimization of the browser.

[0138] In this way, in the embodiment of the present application, before the user uses the browser to browse the page, a preliminary check is first performed on the browser and the hardware environment where the browser is located. When the browser or the hardware environment cannot support the smooth operation of the browser, a prompt is output to remind the user to switch the browser or the client device.

[0139] It should be noted that in each embodiment of the performance monitoring method for the text and image mixed dataset of the present application, the execution subject of the method can be a server, the server is communicatively connected to the client, and the client includes the browser to be monitored. Based on the first embodiment and the second embodiment of the present application, in the third embodiment of the present application, the content that is the same as or similar to the above-mentioned embodiment one and embodiment two can be referred to the above introduction and will not be repeated hereinafter.

[0140] Based on this, the present application proposes a performance monitoring method for a text and image mixed dataset in the third embodiment. Please refer to Figure 3 The performance monitoring method for the text and image mixed dataset includes steps C10 to C30:

[0141] Step C10, receiving the performance logs uploaded in batches by the client;

[0142] It should be noted that when the number of logs in the preset storage space of the client reaches the preset quantity, each performance log in the preset storage space is uploaded to the server at one time, and the server receives the performance logs uploaded by the client.

[0143] Step C20, analyzing the performance logs to obtain the performance analysis result when the browser runs the text and image mixed dataset;

[0144] After receiving the performance logs, the server analyzes the performance logs to obtain the performance analysis result of the browser.

[0145] In this embodiment, the performance log includes various performance metrics during the operation of the browser. Step C20 may include:

[0146] Step C201, obtaining the preset index value ranges corresponding to the respective performance metrics;

[0147] Step C202, respectively detecting whether each of the performance metrics is within the preset index value ranges corresponding to the respective performance metrics, to obtain a performance analysis result when the browser runs the text and graphic mixed data set, where the performance analysis result indicates whether the performance metric is within the preset index value range corresponding to the performance metric.

[0148] It should be noted that the preset index value ranges corresponding to the respective performance metrics in the performance log are reference data for determining whether each performance metric is abnormal. Specifically, in a feasible implementation, for a performance metric, multiple index value ranges can be set, which are respectively called the first range and the second range for distinction. When the performance metric is within the first range, it is considered that the performance metric performs well. When the performance metric is within the second range, it is considered that the performance metric is abnormal. In addition, it is worth emphasizing that when the server detects that the performance metric is seriously abnormal, an alarm message is output to the user terminal to remind the maintenance personnel to check and repair the system.

[0149] Respectively detect whether each performance metric in the performance log is within the preset index value range corresponding to it, to obtain a performance analysis result of the browser, that is, the performance analysis result indicates whether each performance metric is within the preset index value range corresponding to it.

[0150] Exemplarily, the server analyzes each log data in the performance log to obtain the performance metrics in the performance log. The calculation formulas for the respective performance metrics are as follows:

[0151] DNS resolution time = domainLookupEnd - domainLookupStart;

[0152] TCP connection time = connectEnd - connectStart;

[0153] dom download time = domContentLoadedEventEnd - fetchStart;

[0154] onload time = loadEventEnd - fetchStart;

[0155] request request time = responseEnd - responseStar;

[0156] The time taken to parse the DOM tree = domComplete - domInteractive;

[0157] The white screen time = domloadng - fetchStart.

[0158] Among them, for the DNS parsing time, the corresponding index value range is set to be less than or equal to 200 ms; for the TCP connection time, the corresponding index value range is set to be less than or equal to 300 ms; for the DOM download time, the corresponding index value range is set to be less than or equal to 2 s; and for the onload time, the corresponding index value range is set to be less than or equal to 4 s. The value ranges of the above-set indexes are the value ranges when the performance indexes are normal.

[0159] In this embodiment, the step C202 may include:

[0160] Step D10, detecting whether the target performance index is within the preset index value range corresponding to the target performance index, and obtaining an index detection result, where the target performance index is any one of the performance indexes;

[0161] Step D20, using the index detection results corresponding to the respective performance indexes as the performance analysis results when the browser runs the text and image mixed dataset.

[0162] Any one of the performance indexes is called a target performance index for distinction. Monitoring whether the target performance index is within the preset index value range corresponding to it, obtaining an index detection result, and using the index detection results obtained corresponding to each performance index as the performance analysis results of the browser.

[0163] Step C30, determining a corresponding optimization strategy based on the performance analysis results, and sending the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy.

[0164] After the server obtains the performance analysis results of the browser, it determines a corresponding optimization strategy based on the performance analysis results, and sends the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy to improve the browser performance.

[0165] In this embodiment, the step C30 may include:

[0166] Step C301, when the display quality in the performance analysis result is lower than the preset quality threshold, generate a page presentation optimization strategy based on the first detection result, where the first detection result is the detection result of the performance metrics affecting the display quality of the graphic and text mixed dataset;

[0167] Step C302, when the display rate in the performance analysis result is lower than the preset rate threshold, generate a network transmission optimization strategy based on each second detection result, where the second detection result is the detection result of the performance metrics affecting the display rate of the graphic and text mixed dataset.

[0168] It should be noted that in the embodiments of the present application, a display quality threshold and a display rate threshold for triggering the optimization strategy are preset in advance, that is, a preset instruction threshold and a preset rate threshold.

[0169] After the server obtains the performance analysis result of the browser, search for the preset metric optimization strategies corresponding to each metric detection result in the performance analysis result, determine the metric detection results that are preset and have a mapping relationship with the display quality and the display rate respectively, and determine the display quality metric and the display rate metric based on the corresponding metric detection results. Among them, it can be understood that the display quality metric is obtained by weighted summation of the metric detection results corresponding to the display quality of the dataset, and the display rate metric is obtained by weighted summation of the metric detection results corresponding to the display rate of the dataset.

[0170] In this embodiment, after step C30, the performance monitoring method for the graphic and text mixed dataset of the present application further includes:

[0171] Step E10, simulate the target browser adjusted based on the optimization strategy, and perform a regression test in the target browser to obtain the performance analysis result of the target browser;

[0172] Step E20, update the preset metric value range corresponding to each of the performance metrics based on the performance analysis result of the target browser.

[0173] After the client adjusts the running mode of the browser based on the optimization strategy, simulate the browser adjusted based on the optimization strategy (hereinafter referred to as the target browser for distinction), and perform a preset regression test in the target browser to check the performance change of the optimized target browser, obtain the performance analysis result of the target browser, and then update the preset metric value range corresponding to each performance metric based on the performance analysis result of the target browser.

[0174] Exemplarily, for the DNS query time consumption, when it is detected that the DNS query time consumption of the optimized target browser is faster than that before optimization, the upper limit value of the DNS query time consumption is appropriately lowered.

[0175] In a feasible implementation manner, as Figure 4 shown in the schematic diagram of the server workflow, after receiving the performance log, the server parses the performance log to obtain each performance metric therein; obtains the value range corresponding to each performance metric; compares the performance metric with its corresponding value range to obtain the metric detection result; takes the metric detection result corresponding to each performance metric as the performance analysis result; determines the metric optimization strategy corresponding to each metric detection result based on the performance analysis result, and takes each metric optimization strategy as the optimization strategy for the browser to perform performance optimization; after the browser performs a round of performance optimization, simulates the optimized target browser to execute the regression test to obtain the performance analysis result (i.e., the regression test result); updates the value range corresponding to each performance metric based on the performance analysis result of the target browser.

[0176] In this way, the embodiment of the present application ensures that the performance of the optimized browser is improved by automatically performing the regression test, and automatically updates the value range of each performance metric according to the performance analysis result obtained from the regression test of the optimized browser, thereby realizing the continuous optimization and iteration of the browser performance.

[0177] The performance monitoring device for the graphic and text mixed dataset provided by the embodiment of the present application adopts the performance monitoring method for the graphic and text mixed dataset in the above embodiment, and can solve the technical problem of how to monitor the performance of the browser for processing the graphic and text mixed dataset to improve the browser performance. Compared with the prior art, the beneficial effects of the performance monitoring device for the graphic and text mixed dataset provided by the embodiment of the present application are the same as those of the performance monitoring method for the graphic and text mixed dataset provided by the above embodiment, and other technical features in the performance monitoring device for the graphic and text mixed dataset are the same as those disclosed in the method of the above embodiment, and will not be elaborated herein.

[0178] The present application provides a performance monitoring device for a graphic and text mixed dataset. The performance monitoring device for the graphic and text mixed dataset includes: a client, a server, and at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the performance monitoring method for the graphic and text mixed dataset in the first embodiment above.

[0179] Next, refer to Figure 5, which shows a schematic structural diagram of a performance monitoring device suitable for implementing the graphic and text mixed data set of the embodiments of the present application. The performance monitoring device of the graphic and text mixed data set in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description: tablet computers), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The shown performance monitoring device of the graphic and text mixed data set is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.

[0180] As Figure 5 As shown, the performance monitoring device of the graphic and text mixed data set may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory 1002 or the program loaded from the storage device 1003 into the random access memory 1004. In the random access memory 1004, various programs and data required for the operation of the performance monitoring device of the graphic and text mixed data set are also stored. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. The input / output interface 1006 is also connected to the bus. Generally, the following systems may be connected to the input / output interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the performance monitoring device of the graphic and text mixed data set to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows a performance monitoring device of the graphic and text mixed data set with various systems, it should be understood that it is not required to implement or have all the shown systems. More or fewer systems may be implemented or had alternatively.

[0181] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a read-only memory 1002. When the computer program is executed by a processing device 1001, the above-mentioned functions defined in the methods of the embodiments disclosed in the present application are executed.

[0182] The performance monitoring device for the graphic-text mixed data set provided by the present application adopts the performance monitoring method for the graphic-text mixed data set in the above-mentioned embodiment, and can solve the technical problem of how to monitor the performance of a browser that processes the graphic-text mixed data set to improve the browser performance. Compared with the prior art, the beneficial effects of the performance monitoring device for the graphic-text mixed data set provided by the present application are the same as those of the performance monitoring method for the graphic-text mixed data set provided in the above-mentioned embodiment, and other technical features in the performance monitoring device for the graphic-text mixed data set are the same as the features disclosed in the method of the previous embodiment, and will not be elaborated here.

[0183] It should be understood that each part disclosed in the present application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.

[0184] As mentioned above, the above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0185] The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the performance monitoring method for the graphic-text mixed data set in the above-mentioned embodiment.

[0186] The computer-readable storage medium provided by the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium can be transmitted by any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0187] The above computer-readable storage medium can be included in the performance monitoring device of the graphic-text mixed data set; it can also exist alone and not be assembled into the performance monitoring device of the graphic-text mixed data set.

[0188] The above computer-readable storage medium carries one or more programs. When the one or more programs are executed by the performance monitoring device of the graphic-text mixed data set, the performance monitoring device of the graphic-text mixed data set is caused to: in response to a start instruction for the browser to run the graphic-text mixed data set page, collect the performance log when the browser runs the graphic-text mixed data set page; batch upload the collected performance log to the server for the server to analyze the performance log to obtain the performance analysis result when the browser runs the graphic-text mixed data set, and determine the corresponding optimization strategy based on the performance analysis result; obtain the optimization strategy and adjust the running mode of the browser and the display parameters of the graphic-text mixed data set based on the optimization strategy.

[0189] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, by connecting through the Internet using an Internet service provider).

[0190] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of the code, and this module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0191] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.

[0192] The readable storage medium provided in this application is a computer-readable storage medium, and the computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for performing the above-mentioned performance monitoring method for the text-graphic mixed dataset, which can solve the technical problem of how to monitor the performance of a browser that processes the text-graphic mixed dataset to improve the performance of the browser. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the performance monitoring method for the text-graphic mixed dataset provided in the above embodiments, and will not be elaborated here.

[0193] An embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the steps of the performance monitoring method for the graphic and text mixed data set as described above.

[0194] The computer program product provided by the present application can monitor the performance of a browser that processes a graphic and text mixed data set to improve the browser performance. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as those of the performance monitoring method for the graphic and text mixed data set provided by the above embodiment, and will not be elaborated here.

[0195] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be included in the patent scope of the present application by the same token.

Claims

1. A performance monitoring method for a text and image mixed dataset, characterized in that, The performance monitoring method for the text and image mixed dataset is applied to a client, and the client includes a browser to be monitored. The performance monitoring method for the text and image mixed dataset includes: In response to a start instruction for the browser to run the text and image mixed dataset page, collect the performance logs when the browser runs the text and image mixed dataset page; Batch upload the collected performance logs to a server for the server to analyze the performance logs to obtain a performance analysis result when the browser runs the text and image mixed dataset, and determine a corresponding optimization strategy based on the performance analysis result; Obtain the optimization strategy and adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy.

2. The method according to claim 1, wherein The step of batch uploading the collected performance logs to the server includes: Store the performance logs collected in real time in a preset storage space; Detect whether the number of logs to be uploaded reaches a preset number, where the logs to be uploaded are the performance logs in the preset storage space; When it is detected that the number of logs to be uploaded reaches the preset number, upload each of the logs to be uploaded to the server, delete each of the logs to be uploaded from the preset storage space, and return to execute the step of storing the performance logs collected in real time in the preset storage space.

3. The method according to claim 2, wherein After the step of storing the performance logs collected in real time in the preset storage space, the method further includes: Monitor whether a browser close instruction is received; When the browser close instruction is received, in response to the browser close instruction, upload the logs to be uploaded to the server and delete the logs to be uploaded from the preset storage space; When the browser close instruction is not received, execute the step of detecting whether the number of logs to be uploaded reaches the preset number.

4. The method according to claim 1, wherein The optimization strategy includes a network transmission optimization strategy, which is generated when the display rate in the performance analysis result is lower than a preset rate threshold; The step of adjusting the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy includes: Based on the network transmission optimization strategy, optimize the domain name resolution process, network connection quality, and / or content delivery network of the browser; Based on the network transmission optimization strategy, adjust the compression ratio of the images in the text and image mixed dataset and set segmented loading of the text in the text and image mixed dataset.

5. The method according to claim 1, wherein The optimization strategy includes a page presentation optimization strategy, which is generated when the display quality in the performance analysis result is lower than a threshold quality threshold; The step of adjusting the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy includes: Based on the page presentation optimization strategy, optimize the page rendering mechanism and / or image loading strategy of the browser; Based on the page presentation optimization strategy, adjust the resolution of the images in the text and image mixed dataset.

6. The method according to claim 1, wherein The method further includes: In response to a browser startup instruction, obtain the client environment characteristics, where the client environment characteristics characterize the attributes and status of the operating environment where the client is located; Determine whether the client environment characteristics meet the preset operating conditions, where the preset operating conditions are the attributes and status of the operating environment of a standard client that supports the smooth operation of the browser; In the case that the client environment characteristics do not meet the preset operating conditions, output a prompt to remind the user to switch the browser or the client device; In the case that the client environment characteristics meet the preset operating conditions, execute the step of collecting performance logs.

7. A method for monitoring the performance of a mixed text and image dataset, characterized in that The performance monitoring method for the text and image mixed dataset is applied to a server, the server is communicatively connected to a client, the client includes a browser to be monitored, and the performance monitoring method for the text and image mixed dataset includes: Receive the performance logs batch-uploaded by the client; Analyze the performance logs to obtain a performance analysis result when the browser runs the text and image mixed dataset; Determine a corresponding optimization strategy based on the performance analysis result, and send the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy.

8. The method according to claim 7, characterized in that, The performance logs include various performance indicators during the running of the browser. The step of analyzing the performance logs to obtain a performance analysis result when the browser runs the text and image mixed dataset includes: Obtain the preset index value ranges corresponding to the respective performance indicators; Detect whether each of the performance indicators is within the preset index value ranges corresponding to the respective performance indicators, and obtain a performance analysis result when the browser runs the text and image mixed dataset, where the performance analysis result characterizes the display quality and display rate when the browser runs the text and image mixed dataset.

9. The method according to claim 8, wherein The step of detecting whether each of the performance indicators is within the preset index value ranges corresponding to the respective performance indicators, and obtaining a performance analysis result when the browser runs the text and image mixed dataset includes: Detect whether the target performance indicator is within the preset index value range corresponding to the target performance indicator, and obtain an index detection result, where the target performance indicator is any one of the performance indicators; Use the index detection results corresponding to the respective performance indicators as the performance analysis result when the browser runs the text and image mixed dataset.

10. The method according to claim 9, characterized in that, The step of determining a corresponding optimization strategy based on the performance analysis result includes: In the case that the display quality in the performance analysis result is lower than a preset quality threshold, generate a page presentation optimization strategy based on the first detection result, where the first detection result is the index detection result corresponding to the performance indicator that affects the display quality of the text and image mixed dataset; When the display rate in the performance analysis result is lower than a preset rate threshold, a network transmission optimization strategy is generated based on each second detection result, where the second detection result is the index detection result corresponding to the performance index that affects the display rate of the text and image mixed dataset.

11. The method according to claim 9, characterized in that, After the step of sending the optimization strategy to the client for the client to adjust the running mode of the browser and the display parameters of the text and image mixed dataset based on the optimization strategy, the method further includes: Simulating a target browser adjusted based on the optimization strategy, and performing a regression test in the target browser to obtain a performance analysis result of the target browser; Updating the preset index value range corresponding to each of the performance indexes based on the performance analysis result of the target browser.

12. A performance monitoring device for a text and image mixed data set, characterized in that, The performance monitoring device for the text and image mixed dataset includes: a client, a server, a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the performance monitoring method for the text and image mixed dataset according to any one of claims 1 to 6 or 7 to 11.

13. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the performance monitoring method for the text and image mixed dataset according to any one of claims 1 to 6 or 7 to 11 are implemented.

14. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the performance monitoring method for the text and image mixed dataset according to any one of claims 1 to 6 or 7 to 11 are implemented.