CN115473833A - Client performance monitoring method, device and system and readable storage medium - Google Patents

Client performance monitoring method, device and system and readable storage medium Download PDF

Info

Publication number
CN115473833A
CN115473833A CN202211114563.4A CN202211114563A CN115473833A CN 115473833 A CN115473833 A CN 115473833A CN 202211114563 A CN202211114563 A CN 202211114563A CN 115473833 A CN115473833 A CN 115473833A
Authority
CN
China
Prior art keywords
state information
running state
client
target running
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211114563.4A
Other languages
Chinese (zh)
Inventor
颜海军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202211114563.4A priority Critical patent/CN115473833A/en
Publication of CN115473833A publication Critical patent/CN115473833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Abstract

The application relates to the field of network technology and digital medical treatment, and provides a client performance monitoring method, a device and a system and a readable storage medium, wherein the method comprises the following steps: receiving a performance analysis request of a management device to a client; analyzing the performance analysis request, determining target running state information required by performance analysis, and inquiring the target running state information in a database, wherein the database comprises a plurality of stored running state information; if the target running state information is inquired in the database, sending the target running state information to the management equipment so that the management equipment can perform performance analysis on the client according to the target running state information; and if the target running state information is not inquired in the database, issuing a collection instruction to the client so that the client can collect the target running state information according to the collection instruction, and sending the target running state information to the management equipment after receiving the target running state information fed back by the client.

Description

Client performance monitoring method, device and system and readable storage medium
Technical Field
The present application relates to the field of network technologies and digital medical technologies, and in particular, to a client performance monitoring method, a client performance monitoring apparatus, a client performance monitoring system, and a readable storage medium.
Background
With the rise of network technologies, user clients can support functions of disease auxiliary diagnosis, health management, remote consultation and the like. The use experience of the client by the user is not only from the interactive scene but also influenced by the stability performance of the application. In the related art, a conventional mode for realizing the stability of the application program is that a developer directly connects an operating device to perform local real machine effect debugging or perform unilateral statistics through an integrated development environment provided by a development platform.
The data flow direction in the local can be monitored by means of real machine debugging, and the time sequence of corresponding rendering can be further analyzed. Under general conditions, the discovery and the solution of most potential performance hazards can be realized locally through the self-contained integrated development environment of the development platform, and developers can be helped to track the running logic of the codes, acquire and move the data, locate common exceptions of projects and solve common online problems through the self-contained detection environment of the development platform. Meanwhile, breakdown signals and self data information of the equipment can be further collected and uploaded to a server side for data processing in a one-way statistical mode.
The above monitoring mode is too dependent on the local integrated development environment of the system, and based on the monitoring mode, if an abnormal condition which is difficult to emerge in the local environment is encountered in the online environment, only the embedded log can be considered. However, if unilateral log statistics is adopted, either the log information is single and insufficient, or the massive log information is extremely complicated, so that an analyst is difficult to screen out effective information, the log information in a specific direction cannot be quickly collected for exception handling, obstacles are increased for problem handling, and the effectiveness is reduced.
Disclosure of Invention
In view of this, the present application provides a client performance monitoring method, a client performance monitoring apparatus, a client performance monitoring system, and a readable storage medium, which solve the problems of obstacles and inefficiencies caused by the dependence of client applications on an integrated development environment and the defects of unilateral log statistics.
In a first aspect, an embodiment of the present application provides a client performance monitoring method, which is applied to a server, and the method includes:
receiving a performance analysis request of a management device to a client;
analyzing the performance analysis request, determining target running state information required by performance analysis, and inquiring the target running state information in a database, wherein the database comprises a plurality of stored running state information;
if the target running state information is inquired in the database, sending the target running state information to the management equipment so that the management equipment can perform performance analysis on the client according to the target running state information;
and if the target running state information is not inquired in the database, issuing an acquisition instruction to the client so that the client acquires the target running state information according to the acquisition instruction and sends the target running state information to the management equipment after receiving the target running state information fed back by the client.
The client performance monitoring method according to the embodiment of the present application may further have the following additional technical features:
in the foregoing technical solution, optionally, before receiving a performance analysis request of the management device for the client, the method further includes:
and acquiring the running state information of the client according to a preset acquisition strategy, and storing the running state information into a database.
In any of the above technical solutions, optionally, the presetting of the collection policy includes a policy collected according to a preset time, and obtaining the running state information of the client according to the preset collection policy includes:
acquiring running state information of a client at preset time; alternatively, the first and second electrodes may be,
the preset acquisition strategy comprises a strategy of acquiring according to a preset event, and the operation state information of the client is acquired according to the preset acquisition strategy, and comprises the following steps:
and when the client triggers a preset event, acquiring the running state information of the client.
In any of the above technical solutions, optionally, after receiving the target running state information fed back by the client, the method further includes:
and storing the target running state information into a database.
In a second aspect, an embodiment of the present application provides a client performance monitoring apparatus, which is applied to a server, and includes:
the receiving module is used for receiving a performance analysis request of the management equipment to the client;
the processing module is used for analyzing the performance analysis request, determining target running state information required by performance analysis, and inquiring the target running state information in a database, wherein the database comprises a plurality of stored running state information;
the sending module is used for sending the target running state information to the management equipment if the target running state information is inquired in the database so that the management equipment can analyze the performance of the client according to the target running state information;
the sending module is further used for issuing a collecting instruction to the client if the target running state information is not inquired in the database, so that the client can collect the target running state information according to the collecting instruction, and after the receiving module receives the target running state information fed back by the client, the target running state information is sent to the management equipment.
In a third aspect, an embodiment of the present application provides a client performance monitoring system, where the system includes a management device, a client, and a server;
the management equipment sends a performance analysis request for the client to the server;
after receiving the performance analysis request, the server analyzes the performance analysis request, determines target running state information required by performance analysis, and inquires the target running state information in a database, wherein the database comprises a plurality of stored running state information;
if the target running state information is inquired in the database, the server sends the target running state information to the management equipment, and the management equipment performs performance analysis on the client according to the target running state information;
if the target running state information is not inquired in the database, the server issues an acquisition instruction to the client, the client acquires the target running state information according to the acquisition instruction and feeds the target running state information back to the server, the server sends the target running state information to the management equipment after receiving the target running state information, and the management equipment performs performance analysis on the client according to the target running state information.
The client performance monitoring system according to the embodiment of the present application may further have the following additional technical features:
in the above technical solution, optionally, before the management device sends the performance analysis request to the client to the server, the server obtains the operation state information of the client according to a preset acquisition policy, and stores the operation state information in the database.
In any of the above technical solutions, optionally, the preset acquisition policy includes a policy acquired according to preset time, and the server acquires the running state information of the client according to the preset acquisition policy, including:
the method comprises the steps that a server collects running state information of a client at preset time; alternatively, the first and second electrodes may be,
the preset acquisition strategy comprises a strategy of acquiring according to a preset event, and the server acquires the running state information of the client according to the preset acquisition strategy, and comprises the following steps:
and the server acquires the running state information of the client when the client triggers a preset event.
In any of the above technical solutions, optionally, after receiving the target operation state information, the server stores the target operation state information in the database.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a server comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a seventh aspect, the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, when the management device needs to perform performance analysis on the client, a performance analysis request is sent to the server, and after receiving the performance analysis request of the management device, the server analyzes the performance analysis request and determines target running state information of the client, which is required by performance analysis. And then, whether the target running state information acquired according to the static mode is stored in the database is inquired, and if the target running state information is stored, the target running state information is directly sent to the management equipment, so that the management equipment can perform performance analysis on the client side based on the target running state information. If the target running state information is not stored in the database, the management equipment sends a detection command to the server, the server sends a collection command to the client, the client collects corresponding target running state information according to the collection command and reversely transmits the target running state information to the server, and the server sends the target running state information to the management equipment, so that the management equipment can analyze the performance of the client based on the target running state information.
According to the embodiment of the application, on one hand, the obstacles caused by the dependence of the client on the integrated development environment and the defects of unilateral log statistics are reduced, and the effectiveness is improved; on the other hand, the method for acquiring the running state information of the client based on the static mode can acquire the state of each internal running stage when the client application runs and realize the storage in advance, and can be directly provided for the management equipment when needed, so that the efficiency of performance analysis is improved; on the other hand, based on the mode of acquiring the running state information of the client side in the dynamic mode, the running state information which is not acquired in the static mode is acquired through commands in certain specific directions, so that accurate and comprehensive running condition data are obtained, and the accuracy of performance analysis is improved.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating a client performance monitoring method according to an embodiment of the present application;
fig. 2 is a block diagram illustrating a structure of a client performance monitoring apparatus according to an embodiment of the present application;
FIG. 3 is a block diagram illustrating a client performance monitoring system according to an embodiment of the present application;
FIG. 4 is a block diagram of a server according to an embodiment of the present application;
fig. 5 shows a block diagram of a chip according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The Medical cloud (Medical cloud) is a Medical health service cloud platform created by using cloud computing on the basis of new technologies such as cloud computing, mobile technology, multimedia, 4G communication, big data and the Internet of things and combining Medical technology, and Medical resource sharing and Medical range expansion are achieved. Due to the application and combination of the cloud computing technology, the efficiency of a medical institution is improved, and convenience is brought to residents for medical treatment. At present, appointment registration, electronic medical records, medical insurance and the like of hospitals are all products combining cloud computing and the medical field, and the medical cloud also has the advantages of data security, information sharing, dynamic expansion and overall layout.
The embodiment of the application monitors the performance of the client provided with the cloud platform of the medical health service, realizes the performance analysis of the performance of the client, further ensures the stability of the cloud platform of the medical health service, and improves the use experience of a user on the cloud platform of the medical health service.
The client performance monitoring method, the client performance monitoring apparatus, the client performance monitoring system, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The embodiment of the application provides a client performance monitoring method, which is applied to a server and comprises the following steps as shown in fig. 1:
step 101, receiving a performance analysis request of a management device to a client;
102, analyzing the performance analysis request, determining target running state information required by performance analysis, and inquiring the target running state information in a database, wherein the database comprises a plurality of stored running state information;
103, if the target running state information is inquired in the database, sending the target running state information to the management equipment so that the management equipment can perform performance analysis on the client according to the target running state information; and if the target running state information is not inquired in the database, issuing a collection instruction to the client so that the client can collect the target running state information according to the collection instruction, and sending the target running state information to the management equipment after receiving the target running state information fed back by the client.
In the embodiment, the running state information of the client is obtained through multiple channels by setting a static mode and a dynamic mode, so that the performance analysis of the client running the medical health service cloud platform is performed, wherein the medical health service cloud platform is an application program installed on the client. The static mode refers to that a preset acquisition strategy matched with the server exists in the client according to a preset acquisition strategy configured by the server, corresponding information is acquired, and the information is uploaded to the server to be stored; the dynamic mode refers to that a management device is associated with a server to issue an acquisition instruction to a client, and the client acquires corresponding running state information according to the acquisition instruction after receiving the acquisition instruction and then reversely uploads the running state information to the server.
Specifically, when the management device needs to perform performance analysis on the client, a performance analysis request is sent to the server, and after receiving the performance analysis request of the management device, the server analyzes the performance analysis request and determines target operating state information of the client, which is required for performing the performance analysis. And then, inquiring whether the target running state information acquired according to the static mode is stored in the database, and if so, directly sending the target running state information to the management equipment, so that the management equipment can perform performance analysis on the client based on the target running state information.
If the target running state information is not stored in the database, the management equipment sends a detection command to the server, the server sends a collection command to the client, the client collects corresponding target running state information according to the collection command and reversely transmits the target running state information to the server, and the server sends the target running state information to the management equipment, so that the management equipment can analyze the performance of the client based on the target running state information.
Through the method, the acquisition of information such as basic equipment information, operation information and crash information of the client is realized, and meanwhile, related stack memory information, interface frame number information of the application program during program execution and the like can be acquired.
According to the embodiment of the application, on one hand, the obstacles caused by the dependence of the client on the integrated development environment and the defects of unilateral log statistics are reduced, and the effectiveness is improved; on the other hand, the method for acquiring the running state information of the client based on the static mode can acquire the states of each internal running stage when the application program of the client runs and realize the storage in advance, and can be directly provided for the management equipment when needed, so that the efficiency of performance analysis is improved; on the other hand, the running state information which is not acquired in the static mode is acquired through commands in certain specific directions based on the mode of acquiring the running state information of the client in the dynamic mode, so that accurate and comprehensive running condition data are obtained, and the accuracy of performance analysis is improved.
According to the embodiment of the application, the performance analysis is carried out on the client, the stability of the medical health service cloud platform is guaranteed, and therefore the use experience of a user on the medical health service cloud platform is improved.
It should be noted that the communication mode between the client and the server is bidirectional data transmission, which means that any data can be transmitted between the client and the server as long as the client and the server follow a common communication protocol specification and adopt a multi-party universal protocol format, that is, any data information related to the operating state of the client can be acquired according to the actual situation by issuing an instruction through the management device, so that a developer can quickly resolve the abnormality to stabilize the performance of the client.
The method can acquire any data related to the running state of the client through the preset communication protocol standard, and the whole acquisition process can be customized according to actual needs, such as acquiring frame number refreshing frequency and the like, so that a developer is helped to quickly locate problems, the quality of the client application program is improved, and the development efficiency is improved.
After the management equipment performs performance analysis on the client, the collected running state information (namely, abnormal data) can be subjected to sample archiving, and then a sample matching warehouse is expanded to realize dynamic intelligent analysis of common abnormalities.
In an embodiment of the present application, before receiving a performance analysis request of a management device to a client, the method further includes: and acquiring the running state information of the client according to a preset acquisition strategy, and storing the running state information into a database.
In this embodiment, before receiving a performance analysis request from the management device to the client, the running state information of the client needs to be acquired in a static mode and stored in advance. Specifically, the server configures a preset acquisition strategy, the client has the preset acquisition strategy matched with the server, and according to the preset acquisition strategy, the client acquires corresponding information and uploads the information to the server for storage.
By the mode, the states of each internal operation stage can be collected and stored in advance when the application program of the client runs, and can be directly provided for the management equipment when needed, so that the efficiency of performance analysis is improved.
In an embodiment of the present application, the presetting of the collection policy includes a policy collected according to a preset time, and the obtaining of the operating state information of the client according to the presetting of the collection policy includes: acquiring running state information of a client at preset time; or, the presetting of the collection strategy includes a strategy of collecting according to a preset event, and the obtaining of the operating state information of the client according to the presetting of the collection strategy includes: and when the client triggers a preset event, acquiring the running state information of the client.
In this embodiment, the preset acquisition policy includes a policy acquired according to preset time and/or a policy acquired according to a preset event, and acquiring the operating state information of the client at the preset time includes acquiring the operating state information of the client according to the preset acquisition policy, and/or acquiring the operating state information of the client when the client triggers the preset event.
For example, in a case where a client runs a cloud platform of a medical health service, the collection of running state information of the client is performed at time intervals of every 1 minute. Or under the condition that the client runs the medical health service cloud platform, when the medical health service cloud platform is triggered to pay, running state information of the client is collected.
By the mode, the states of the client application program in each operation stage can be flexibly collected.
In an embodiment of the present application, after receiving the target operating state information fed back by the client, the method further includes: and storing the target running state information into a database.
In the embodiment, after the target operation state information of the client is acquired, the target operation state information is stored in the database, and the data volume in the database is expanded for subsequent use.
Further, as a specific implementation of the client performance monitoring method, the embodiment of the present application provides a client performance monitoring apparatus, which is applied to a server. As shown in fig. 2, the client performance monitoring apparatus 200 includes: a receiving module 201, a processing module 202 and a sending module 203.
The receiving module 201 is configured to receive a performance analysis request of a management device to a client;
a processing module 202, configured to parse the performance analysis request, determine target operation state information required for performing performance analysis, and query the target operation state information in a database, where the database includes a plurality of stored operation state information;
the sending module 203 is configured to send the target running state information to the management device if the target running state information is queried in the database, so that the management device performs performance analysis on the client according to the target running state information;
the sending module 203 is further configured to issue a collection instruction to the client if the target running state information is not queried in the database, so that the client collects the target running state information according to the collection instruction, and sends the target running state information to the management device after the receiving module receives the target running state information fed back by the client.
In the embodiment, the running state information of the client is acquired through multiple channels by setting a static mode and a dynamic mode, so that the performance analysis of the medical health service cloud platform run by the client is performed, wherein the medical health service cloud platform is an application program installed on the client. The static mode refers to that a preset acquisition strategy matched with the server exists in the client according to a preset acquisition strategy configured by the server, and corresponding information is acquired and uploaded to the server for storage; the dynamic mode refers to that a management device is associated with a server to issue an acquisition instruction to a client, and the client acquires corresponding running state information according to the acquisition instruction after receiving the acquisition instruction and then reversely uploads the running state information to the server.
Specifically, when the management device needs to perform performance analysis on the client, a performance analysis request is sent to the server, and after receiving the performance analysis request of the management device, the server analyzes the performance analysis request and determines target operating state information of the client, which is required for performing the performance analysis. And then, inquiring whether the target running state information acquired according to the static mode is stored in the database, and if so, directly sending the target running state information to the management equipment, so that the management equipment can perform performance analysis on the client based on the target running state information.
If the target running state information is not stored in the database, the management equipment sends a detection command to the server, the server sends a collection command to the client, the client collects corresponding target running state information according to the collection command and reversely transmits the target running state information to the server, and the server sends the target running state information to the management equipment, so that the management equipment can perform performance analysis on the client based on the target running state information.
Through the method, the acquisition of information such as basic equipment information, operation information and crash information of the client is realized, and meanwhile, related stack memory information, interface frame number information of application during program execution and the like can be acquired.
According to the embodiment of the application, on one hand, the obstacles caused by the dependence of the client on the integrated development environment and the defects of unilateral log statistics are reduced, and the effectiveness is improved; on the other hand, the method for acquiring the running state information of the client based on the static mode can acquire the state of each internal running stage when the client application runs and realize the storage in advance, and can be directly provided for the management equipment when needed, so that the efficiency of performance analysis is improved; on the other hand, based on the mode of acquiring the running state information of the client side in the dynamic mode, the running state information which is not acquired in the static mode is acquired through commands in certain specific directions, so that accurate and comprehensive running condition data are obtained, and the accuracy of performance analysis is improved.
According to the embodiment of the application, the performance analysis is carried out on the client, the stability of the medical health service cloud platform is guaranteed, and therefore the use experience of a user on the medical health service cloud platform is improved.
It should be noted that the communication mode between the client and the server is bidirectional data transmission, which means that any data can be transmitted between the client and the server as long as the client and the server follow a common communication protocol specification and adopt a multi-party universal protocol format, that is, any data information related to the operating state of the client can be acquired according to the actual situation by issuing an instruction through the management device, so that a developer can quickly resolve the abnormality to stabilize the performance of the client.
The method can acquire any data related to the running state of the client through the preset communication protocol standard, and the whole acquisition process can be configured in a customized manner according to actual needs, such as acquiring frame number refreshing frequency and the like, so that the problem of rapid positioning of developers is helped, the experience of the application quality of the client is improved, and the development efficiency is improved.
After the management equipment performs performance analysis on the client, the collected running state information (namely, abnormal data) can be subjected to sample archiving, and then a sample matching warehouse is expanded to realize dynamic intelligent analysis of common abnormalities.
In one embodiment of the present application, the client performance monitoring apparatus 200 further includes: the acquisition module is used for acquiring the running state information of the client according to a preset acquisition strategy; and the storage module is used for storing the running state information to the database.
In an embodiment of the application, the preset acquisition strategy includes a strategy acquired according to preset time, and the acquisition module is specifically configured to acquire the running state information of the client at the preset time; or, the preset acquisition strategy includes a strategy for acquiring according to a preset event, and the acquisition module is specifically configured to acquire the running state information of the client when the client triggers the preset event.
In an embodiment of the application, the storage module is further configured to store the target operating state information in a database.
The client performance monitoring apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip.
The client performance monitoring device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The client performance monitoring device provided in the embodiment of the present application can implement each process implemented in the embodiment of the client performance monitoring method in fig. 1, and is not described here again to avoid repetition.
In a third aspect, an embodiment of the present application provides a client performance monitoring system 300, as shown in fig. 3, the system includes a management device 301, a server 302, and a client 303;
wherein, the management device 301 sends a performance analysis request for the client 303 to the server 302;
after receiving the performance analysis request, the server 302 parses the performance analysis request, determines target running state information required for performance analysis, and queries the target running state information in a database, where the database includes multiple pieces of stored running state information;
if the target running state information is inquired in the database, the server 302 sends the target running state information to the management device 301, and the management device 301 performs performance analysis on the client 303 according to the target running state information;
if the target running state information is not inquired in the database, the server 302 issues an acquisition instruction to the client 303, the client 303 acquires the target running state information according to the acquisition instruction and feeds the target running state information back to the server 302, the server 302 sends the target running state information to the management device 301 after receiving the target running state information, and the management device 301 performs performance analysis on the client 303 according to the target running state information.
In the embodiment, the running state information of the client is acquired through multiple channels by setting a static mode and a dynamic mode, so that the performance analysis of the client is performed. The static mode refers to that a preset acquisition strategy matched with the server exists in the client according to a preset acquisition strategy configured by the server, and corresponding information is acquired and uploaded to the server for storage; the dynamic mode refers to that a management device is associated with a server to issue an acquisition instruction to a client, and the client acquires corresponding running state information according to the acquisition instruction after receiving the acquisition instruction and then reversely uploads the running state information to the server.
Specifically, when the management device needs to perform performance analysis on the client, a performance analysis request is sent to the server, and after receiving the performance analysis request of the management device, the server analyzes the performance analysis request and determines target operating state information of the client, which is required for performing the performance analysis. And then, whether the target running state information acquired according to the static mode is stored in the database is inquired, and if the target running state information is stored, the target running state information is directly sent to the management equipment, so that the management equipment can perform performance analysis on the client side based on the target running state information.
If the target running state information is not stored in the database, the management equipment sends a detection command to the server, the server sends a collection command to the client, the client collects corresponding target running state information according to the collection command and reversely transmits the target running state information to the server, and the server sends the target running state information to the management equipment, so that the management equipment can perform performance analysis on the client based on the target running state information.
Through the method, the information such as the basic information, the operation information and the breakdown information of the equipment of the client side can be acquired, and meanwhile, the related stack memory information, the interface frame number information of the application during the program execution period and the like can be acquired.
According to the embodiment of the application, on one hand, the obstacles caused by the dependence of the client on the integrated development environment and the defects of unilateral log statistics are reduced, and the effectiveness is improved; on the other hand, the method for acquiring the running state information of the client based on the static mode can acquire the state of each internal running stage when the client application runs and realize the storage in advance, and can be directly provided for the management equipment when needed, so that the efficiency of performance analysis is improved; on the other hand, based on the mode of acquiring the running state information of the client side in the dynamic mode, the running state information which is not acquired in the static mode is acquired through commands in certain specific directions, so that accurate and comprehensive running condition data are obtained, and the accuracy of performance analysis is improved.
It should be noted that the communication mode between the client and the server is bidirectional data transmission, which means that any data can be transmitted between the client and the server as long as the client and the server follow a common communication protocol specification and adopt a multi-party universal protocol format, that is, any data information related to the operating state of the client can be acquired according to the actual situation by issuing an instruction through the management device, so that a developer can quickly resolve the abnormality to stabilize the performance of the client.
The method can acquire any data related to the running state of the client through the preset communication protocol standard, and the whole acquisition process can be configured in a customized manner according to actual needs, such as acquiring frame number refreshing frequency and the like, so that the problem of rapid positioning of developers is helped, the experience of the application quality of the client is improved, and the development efficiency is improved.
After the management equipment performs performance analysis on the client, the collected running state information (namely, abnormal data) can be subjected to sample archiving, and then a sample matching warehouse is expanded to realize dynamic intelligent analysis of common abnormalities.
It should be noted that the client may be a Mobile phone, a tablet Computer, a notebook Computer, a palm Computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), a wearable Device, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), a Personal Computer (PC), a Television (Television), a teller machine, a self-service machine, or the like, and the embodiment of the present application is not limited in particular.
In an embodiment of the present application, before the management device 301 sends a performance analysis request to the client 303 to the server 302, the server 302 obtains the operation state information of the client 303 according to a preset collection policy, and stores the operation state information in a database.
In this embodiment, before receiving a performance analysis request of the management apparatus 301 for the client 303, the running state information of the client 303 needs to be acquired by using the static mode and stored in advance. Specifically, the server 302 configures a preset acquisition policy, the client 303 has the preset acquisition policy matched with the server 302, and according to the preset acquisition policy, the client 303 acquires corresponding information and uploads the information to the server 302 for storage.
By the above mode, when the client 303 runs in an application mode, the states of each internal running stage can be collected and stored in advance, and can be directly provided for the management device 301 when needed, so that the efficiency of performance analysis is improved.
In an embodiment of the present application, the preset acquisition policy includes a policy acquired according to preset time, and the acquiring, by the server 302, the operating state information of the client 303 according to the preset acquisition policy includes: the server 302 collects the running state information of the client 303 at a preset time; or, the preset acquisition policy includes a policy acquired according to a preset event, and the server 302 acquires the operating state information of the client 303 according to the preset acquisition policy, including: the server 302 collects the running state information of the client 303 when the client 303 triggers a preset event.
In this embodiment, the preset acquisition policy includes a policy acquired according to preset time and/or a policy acquired according to a preset event, and the acquiring the running state information of the client 303 according to the preset acquisition policy includes acquiring the running state information of the client 303 at the preset time, and/or acquiring the running state information of the client 303 when the client 303 triggers the preset event.
For example, in a case where the client 303 runs an application, the collection of the running state information of the client 303 is performed at intervals of every 1 minute. Alternatively, in the case where the client 303 runs an application, the running state information of the client 303 is collected when the application is triggered a payment event.
By the mode, the states of the client application in each operation stage can be flexibly collected.
In one embodiment of the present application, the server 302 stores the target operating state information in a database after receiving the target operating state information.
In the embodiment, after the target running state information of the client is acquired, the target running state information is stored in the database, and the data volume in the database is enlarged for subsequent use.
As shown in fig. 4, the server 400 includes a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and when the program or the instruction is executed by the processor 401, the steps of the client performance monitoring method embodiment are implemented, and the same technical effects can be achieved.
It should be noted that the server in the embodiment of the present application includes the mobile server and the non-mobile server described above.
The memory 402 may be used to store software programs as well as various data. The memory 402 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, memory 402 may include volatile memory or nonvolatile memory, or memory 402 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 402 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 401 may include one or more processing units; optionally, the processor 401 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the client performance monitoring method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
As shown in fig. 5, the chip 500 includes at least one processor 501 and a communication interface 502, the communication interface 502 is coupled to the at least one processor 501, and the at least one processor 501 is configured to run a program or an instruction, so as to implement each process of the client performance monitoring method embodiment, and achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Preferably, the chip 500 further comprises a memory 503, the memory 503 storing the following elements: an executable module or a data structure, or a subset thereof, or an expanded set thereof.
In the present embodiment, the processor 501, the communication interface 502, and the memory 503 are coupled together by a bus system 504. The bus system 504 may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. For ease of description, the various buses are labeled as bus system 504 in FIG. 5.
The embodiments of the present application further provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing client performance monitoring method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A client performance monitoring method is applied to a server, and the method comprises the following steps:
receiving a performance analysis request of a management device to a client;
analyzing the performance analysis request, determining target running state information required by performance analysis, and inquiring the target running state information in a database, wherein the database comprises a plurality of stored running state information;
if the target running state information is inquired in the database, sending the target running state information to the management equipment so that the management equipment can analyze the performance of the client according to the target running state information;
if the target running state information is not inquired in the database, issuing a collection instruction to the client so that the client can collect the target running state information according to the collection instruction, and sending the target running state information to the management equipment after receiving the target running state information fed back by the client.
2. The method of claim 1, prior to receiving a performance analysis request from a management device to a client, further comprising:
and acquiring the running state information of the client according to a preset acquisition strategy, and storing the running state information to the database.
3. The method according to claim 2, wherein the preset collection policy includes a policy of collecting according to a preset time, and the obtaining the operating state information of the client according to the preset collection policy includes:
collecting the running state information of the client at a preset time; alternatively, the first and second electrodes may be,
the preset acquisition strategy comprises a strategy of acquiring according to a preset event, and the acquiring of the running state information of the client according to the preset acquisition strategy comprises the following steps:
and when the client triggers a preset event, acquiring the running state information of the client.
4. The method according to any one of claims 1 to 3, further comprising, after the receiving the target running state information fed back by the client, the step of:
and storing the target running state information to the database.
5. A client performance monitoring apparatus, applied to a server, the apparatus comprising:
the receiving module is used for receiving a performance analysis request of the management equipment to the client;
the processing module is used for analyzing the performance analysis request, determining target running state information required by performance analysis, and inquiring the target running state information in a database, wherein the database comprises a plurality of stored running state information;
the sending module is used for sending the target running state information to the management equipment if the target running state information is inquired in the database, so that the management equipment can analyze the performance of the client according to the target running state information;
the sending module is further configured to issue a collection instruction to the client if the target running state information is not queried in the database, so that the client collects the target running state information according to the collection instruction, and send the target running state information to the management device after the receiving module receives the target running state information fed back by the client.
6. A readable storage medium having a program or instructions stored thereon, which when executed by a processor, performs the steps of the client performance monitoring method of any one of claims 1 to 4.
7. A client performance monitoring system is characterized in that the system comprises a management device, a client and a server;
wherein the management device sends a performance analysis request for the client to the server;
after receiving the performance analysis request, the server analyzes the performance analysis request, determines target running state information required by performance analysis, and queries the target running state information in a database, wherein the database comprises a plurality of stored running state information;
if the target running state information is inquired in the database, the server sends the target running state information to the management equipment, and the management equipment performs performance analysis on the client according to the target running state information;
if the target running state information is not inquired in the database, the server issues an acquisition instruction to the client, the client acquires the target running state information according to the acquisition instruction and feeds the target running state information back to the server, the server sends the target running state information to the management equipment after receiving the target running state information, and the management equipment performs performance analysis on the client according to the target running state information.
8. The system of claim 7,
before the management equipment sends a performance analysis request to the client to the server, the server acquires the running state information of the client according to a preset acquisition strategy and stores the running state information to the database.
9. The system of claim 8, wherein the preset collection policy includes a policy collected according to a preset time, and the obtaining, by the server, the operating state information of the client according to the preset collection policy includes:
the server collects the running state information of the client at a preset time; alternatively, the first and second electrodes may be,
the preset acquisition strategy comprises a strategy acquired according to a preset event, and the server acquires the running state information of the client according to the preset acquisition strategy, and comprises the following steps:
and the server acquires the running state information of the client when the client triggers a preset event.
10. The system according to any one of claims 7 to 9,
and after receiving the target running state information, the server stores the target running state information to the database.
CN202211114563.4A 2022-09-14 2022-09-14 Client performance monitoring method, device and system and readable storage medium Pending CN115473833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211114563.4A CN115473833A (en) 2022-09-14 2022-09-14 Client performance monitoring method, device and system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211114563.4A CN115473833A (en) 2022-09-14 2022-09-14 Client performance monitoring method, device and system and readable storage medium

Publications (1)

Publication Number Publication Date
CN115473833A true CN115473833A (en) 2022-12-13

Family

ID=84371304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211114563.4A Pending CN115473833A (en) 2022-09-14 2022-09-14 Client performance monitoring method, device and system and readable storage medium

Country Status (1)

Country Link
CN (1) CN115473833A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233077A1 (en) * 2019-05-21 2020-11-26 深圳壹账通智能科技有限公司 System service monitoring method, device, and apparatus, and storage medium
CN114661551A (en) * 2022-03-25 2022-06-24 茂佳科技(广东)有限公司 Method and device for monitoring software running state and computer readable storage medium
CN114785871A (en) * 2022-04-20 2022-07-22 中国银行股份有限公司 Log query method and device
CN114979158A (en) * 2022-05-23 2022-08-30 深信服科技股份有限公司 Resource monitoring method, system, equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233077A1 (en) * 2019-05-21 2020-11-26 深圳壹账通智能科技有限公司 System service monitoring method, device, and apparatus, and storage medium
CN114661551A (en) * 2022-03-25 2022-06-24 茂佳科技(广东)有限公司 Method and device for monitoring software running state and computer readable storage medium
CN114785871A (en) * 2022-04-20 2022-07-22 中国银行股份有限公司 Log query method and device
CN114979158A (en) * 2022-05-23 2022-08-30 深信服科技股份有限公司 Resource monitoring method, system, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109672741B (en) Micro-service monitoring method and device, computer equipment and storage medium
CN110266752B (en) Block chain information pushing method and device, computer equipment and storage medium
JP2020527788A (en) Disease prediction methods and devices, computer devices and readable storage media
KR20170089067A (en) Bigdata processing system and method
US20090006483A1 (en) System and method for collecting data from data sources and using data collection tools
CN112486708B (en) Page operation data processing method and processing system
US20030120465A1 (en) Method and apparatus for retrieving activity data related to an activity
WO2023168926A1 (en) Method and apparatus for determining software anomaly, storage medium, and electronic apparatus
CN114637884B (en) Method, device and equipment for matching cable-stayed cable-computed space-time trajectory with road network
US7085927B1 (en) Secure data report preparation and delivery
US11757815B1 (en) Data aggregation from multiple entities
CN111538754A (en) Data collection management system, method, device, equipment and storage medium
CN109862074B (en) Data acquisition method and device, readable medium and electronic equipment
CN110780950A (en) Interface metadata management method and device, computer equipment and storage medium
CN114579446A (en) Data processing method and device, computer equipment and computer readable storage medium
KR20100001730A (en) Medical image analysis system with network and method of controlling the same
CN112527414B (en) Front-end-based data processing method, device, equipment and storage medium
CN115473833A (en) Client performance monitoring method, device and system and readable storage medium
US20210390010A1 (en) Software Application Diagnostic Aid
CN111784176A (en) Data processing method, device, server and medium
CN111370130A (en) Real-time processing method and device of medical data, storage medium and electronic equipment
KR101828156B1 (en) Transaction Monitoring System and Operating method thereof
CN112069031B (en) Abnormality query method, device, equipment and computer readable storage medium
CN114388082A (en) Method and device for checking medical scientific research data
CN114371980A (en) Call link performance monitoring method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination