CN113704063A - Performance monitoring method, device, equipment and storage medium of cloud mobile phone - Google Patents

Performance monitoring method, device, equipment and storage medium of cloud mobile phone Download PDF

Info

Publication number
CN113704063A
CN113704063A CN202110988024.2A CN202110988024A CN113704063A CN 113704063 A CN113704063 A CN 113704063A CN 202110988024 A CN202110988024 A CN 202110988024A CN 113704063 A CN113704063 A CN 113704063A
Authority
CN
China
Prior art keywords
performance
mobile phone
cloud mobile
monitored
data
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.)
Granted
Application number
CN202110988024.2A
Other languages
Chinese (zh)
Other versions
CN113704063B (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110988024.2A priority Critical patent/CN113704063B/en
Publication of CN113704063A publication Critical patent/CN113704063A/en
Application granted granted Critical
Publication of CN113704063B publication Critical patent/CN113704063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure provides a performance monitoring method, a performance monitoring device, performance monitoring equipment and a non-transitory computer readable storage medium of a cloud mobile phone, and relates to the technical field of cloud computing, in particular to the technical field of cloud mobile phones. The specific implementation scheme is as follows: acquiring first performance index data of a cloud mobile phone through a monitoring component implanted in the cloud mobile phone; controlling the cloud mobile phone to interact with a corresponding user terminal so as to acquire second performance index data of the cloud mobile phone from the user terminal; and writing the first performance index data and/or the second performance index data into a set storage space, so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space. By the technology, various performance index data of the cloud mobile phone can be automatically acquired, so that the performance monitoring of the cloud mobile phone is more comprehensive, and a new idea is provided for the performance monitoring of the cloud mobile phone.

Description

Performance monitoring method, device, equipment and storage medium of cloud mobile phone
Technical Field
The disclosure relates to the technical field of cloud computing, in particular to the technical field of cloud mobile phones, and specifically relates to a performance monitoring method, device, equipment and storage medium for a cloud mobile phone.
Background
A cloud mobile phone (i.e., Cloudphone), which is a virtual mobile phone that applies a cloud computing technology to a network terminal service and implements a cloud service through a cloud server. The user experience is directly influenced by the performance of the cloud mobile phone. Therefore, monitoring of cloud mobile phone performance is crucial.
Disclosure of Invention
The disclosure provides a performance monitoring method, a performance monitoring device, performance monitoring equipment and a storage medium of a cloud mobile phone.
According to an aspect of the present disclosure, a performance monitoring method for a cloud phone is provided, the method including:
acquiring first performance index data of a cloud mobile phone through a monitoring component implanted in the cloud mobile phone;
controlling the cloud mobile phone to interact with a corresponding user terminal so as to acquire second performance index data of the cloud mobile phone from the user terminal;
and writing the first performance index data and/or the second performance index data into a set storage space, so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space.
According to an aspect of the present disclosure, a performance monitoring method for a cloud phone is provided, the method including:
responding to a monitoring request, and determining a cloud mobile phone to be monitored and a performance index to be monitored according to the monitoring request;
acquiring performance data to be monitored from a set storage space according to the cloud mobile phone to be monitored and the performance index to be monitored;
monitoring the performance data to be monitored;
the performance index data of any cloud mobile phone stored in the set storage space comprises first performance index data of the cloud mobile phone generated by a monitoring component implanted in the cloud mobile phone and/or second performance index data of the cloud mobile phone generated by a user terminal corresponding to the cloud mobile phone.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
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 perform the performance monitoring method of the cloud phone according to any embodiment of the disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method for monitoring performance of a cloud phone according to any one of the embodiments of the present disclosure.
According to the technology disclosed by the invention, various performance index data of the cloud mobile phone can be automatically acquired, so that the performance monitoring of the cloud mobile phone is more comprehensive, and a new idea is provided for the performance monitoring of the cloud mobile phone.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flowchart of a performance monitoring method for a cloud handset according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another method for monitoring performance of a cloud handset according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a performance monitoring method for a cloud phone according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a performance monitoring method for a cloud phone according to an embodiment of the present disclosure;
fig. 5 is a diagram illustrating a system architecture for monitoring performance of a cloud phone according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a performance monitoring apparatus of a cloud mobile phone according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another performance monitoring apparatus for a cloud handset according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device for implementing a performance monitoring method of a cloud handset according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a flowchart of a performance monitoring method for a cloud handset according to an embodiment of the present disclosure. The embodiment of the disclosure is suitable for the situation of monitoring the performance of the cloud mobile phone. The whole method can be executed by the cloud and the monitoring server in a matching mode. The cloud end preferably bears a plurality of cloud mobile phones in the embodiment, and the versions of the cloud mobile phones are different; the monitoring server is a server with a function of monitoring performance indexes of the cloud mobile phone.
The scheme of the embodiment is applied to the cloud, the method can be executed by a performance monitoring device of the cloud mobile phone, and the device can be realized in a software and/or hardware mode and can be integrated in the cloud. As shown in fig. 1, the performance monitoring method for a cloud phone provided in this embodiment may include:
s101, acquiring first performance index data of the cloud mobile phone through a monitoring component implanted into the cloud mobile phone.
In this embodiment, to any cloud cell-phone in the high in the clouds, a monitoring subassembly can all be implanted for monitor the performance of this cloud cell-phone in real time to collect first performance index data. Optionally, the monitoring component, node _ exporter, does not have any third party dependence, can operate only by downloading and decompressing, is simple to use, and does not need to adjust the cloud mobile phone architecture, and therefore the monitoring component in this embodiment preferably adopts the monitoring component, node _ exporter.
For any cloud mobile phone in the cloud, under the condition that the performance of the cloud mobile phone needs to be monitored, the monitoring component implanted into the cloud mobile phone can be started, and first performance index data of the cloud mobile phone can be collected through the monitoring component. The first performance index may include at least one of a memory, a CPU, a disk, a bandwidth, an I/O read/write, and the like; correspondingly, the first performance index includes at least one item of memory data, CPU data, disk data, bandwidth data, I/O read-write data, and the like. The CPU data may include CPU usage and/or CPU usage, the disk data may include disk footprint, and the memory data may include memory usage, etc.
And S102, controlling the cloud mobile phone to interact with the corresponding user terminal so as to obtain second performance index data of the cloud mobile phone from the user terminal.
Optionally, any cloud mobile phone in the cloud may correspond to one user terminal; the user terminal is a terminal device held by a user, and may be, for example, a real mobile phone, a tablet computer, a desktop computer, or a smart watch.
Illustratively, a human-computer interaction interface can be configured in the user terminal; the human-computer interaction interface is a bridge connecting the cloud mobile phone and the user terminal, and is also a visual interface for displaying data and the like applied to or transmitted by the cloud mobile phone to a user through the user terminal. Further, the human-computer interaction interface may be configured in the user terminal in an independent APP form, may be hosted in any application on the user terminal in an applet form, and the like. Optionally, one user may own one or more cloud handsets, but one user terminal may interact with only one cloud handset in the cloud at the same time.
For any cloud mobile phone in the cloud, under the condition that the performance of the cloud mobile phone needs to be monitored, the cloud mobile phone can be controlled to transmit video data to the corresponding user terminal so as to obtain second performance index data of the cloud mobile phone, wherein the second performance index comprises a frame rate, and the corresponding second performance index data comprises frame rate data; further, the frame rate data here is the change data of the video frame rate transmitted by the cloud mobile phone in the set period.
Specifically, it may be determined whether the cloud mobile phone has established a communication connection with the corresponding user terminal, and under a condition that it is determined that the cloud mobile phone has established a communication connection with the corresponding user terminal, the cloud mobile phone is controlled to transmit video data to the corresponding user terminal periodically; and in the process of transmitting the video data to the corresponding user terminal by the cloud mobile phone, performing performance test on the user terminal to acquire second performance index data of the cloud mobile phone.
For example, in a case that it is determined that the cloud mobile phone is not in communication connection with the corresponding user terminal, the cloud terminal may send a system notification to the corresponding user terminal, so that the user terminal is connected to the cloud mobile phone through a human-computer interaction interface.
S103, writing the first performance index data and/or the second performance index data into a set storage space, so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space.
In this embodiment, the monitoring server is a server having a function of monitoring performance indexes of the cloud mobile phone; in order to reduce the cost of constructing the monitoring service, the open source Prometheus monitoring capability is configured in a server in this embodiment to construct the monitoring service.
Optionally, the set storage space may be a data server which is independent of the monitoring server and the cloud and is specially used for storing performance index data of the cloud mobile phone; or may be a database located in the monitoring service. Further, in the case that a Prometheus monitoring tool is integrated in the monitoring server, the setting storage space is preferably a time sequence database in the monitoring server. The time sequence database is used for storing data carrying time labels. It can be understood that, the time sequence database is introduced in the embodiment, and based on the functions of efficient storage, fast query and the like of the time sequence database, the efficiency of monitoring the performance of the cloud mobile phone is greatly improved.
Optionally, for any cloud mobile phone in the cloud, after the first performance index data and the second performance index data of the cloud mobile phone are obtained, the first performance index data and/or the second performance index data may be processed according to a data format supported by the monitoring server, for example, format conversion, type conversion, and the like, and the processed data is written into the set storage space, so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space.
Further, for any cloud mobile phone in the cloud, after the first performance index data and the second performance index data of the cloud mobile phone are acquired, the acquired first performance index data and/or the acquired second performance index data can be directly displayed in a graph form at the cloud, so that the cloud mobile phone can be monitored. It can be understood that, because the cloud end has a plurality of cloud mobile phones, even hundreds of cloud mobile phones, in order to be able to monitor a plurality of cloud mobile phones simultaneously, the performance of the cloud mobile phones is preferably monitored by the monitoring service end in this embodiment.
It should be noted that, in the current monitoring mode for the performance of any cloud mobile phone, the performance index data is mainly obtained by manually running a script in the cloud mobile phone. The above manner of acquiring the performance indexes of the cloud mobile phones has high labor cost, and under the condition that the number of the cloud mobile phones is large, one person cannot acquire the performance indexes of a plurality of cloud mobile phones at the same time, so that the plurality of cloud mobile phones cannot be monitored at the same time.
In the embodiment, the first performance index data and the second performance index data of the cloud mobile phone can be automatically acquired by configuring the performance testing tool in the user terminal and implanting the monitoring component in the cloud mobile phone; compared with the manual acquisition of the cloud mobile phone performance index data, the efficiency of acquiring the performance index data is improved; meanwhile, the cloud mobile phones in the cloud are mutually independent, and the performance index data of the cloud mobile phones can be acquired in parallel, so that the performance of the cloud mobile phones can be monitored simultaneously.
According to the technical scheme provided by the embodiment of the disclosure, the cloud mobile phone is controlled to interact with the corresponding user terminal, so that one part of performance index data of the cloud mobile phone can be automatically acquired, meanwhile, the other part of performance index data of the cloud mobile phone can be automatically acquired through the monitoring component implanted in the cloud mobile phone, and then various performance index data of the cloud mobile phone can be automatically acquired, so that the performance monitoring of the cloud mobile phone is more comprehensive, and a new thought is provided for the performance monitoring of the cloud mobile phone; meanwhile, compared with the existing method for acquiring the performance index data of the cloud mobile phone by manually operating the script, the performance index data acquisition efficiency is improved, namely the performance monitoring efficiency of the cloud mobile phone is improved.
On the basis of the above embodiment, as an optional mode of the embodiment of the present disclosure, a performance testing tool may be configured in the user terminal connected to the cloud mobile phone, and is used to generate the second performance index data of the cloud mobile phone. The performance testing tool is a tool capable of performing performance analysis tests, and may be a performance dog (i.e., perfDog), for example. Further, the cloud mobile phone is controlled to interact with the corresponding user terminal, and the step of obtaining the second performance index data of the cloud mobile phone from the user terminal may be: controlling the cloud mobile phone to transmit video data to the corresponding user terminal so that a performance testing tool configured in the user terminal generates second performance index data; and acquiring the second performance index data from the user terminal.
Specifically, for any cloud mobile phone in the cloud, under the condition that the cloud mobile phone is determined to be in communication connection with a corresponding user terminal, a performance test request is sent to the user terminal, so that the user terminal starts a performance test tool configured in the user terminal and feeds back a start notification; the cloud terminal controls the cloud mobile phone to transmit video data to the corresponding user terminal within a set period under the condition that the starting notification fed back by the user terminal is determined to be a successful starting notification, so that the corresponding user terminal can display a picture corresponding to the video data to a user through a human-computer interaction interface configured on the corresponding user terminal; and in the interaction process of the cloud mobile phone and the user terminal corresponding to the cloud mobile phone, testing the human-computer interaction interface by a performance testing tool configured in the user terminal to generate second performance index data.
The method may further include, under the condition that it is determined that the cloud mobile phone and the corresponding user terminal have established communication connection, controlling the cloud mobile phone to transmit video data including the test identifier to the corresponding user terminal within a set period, so that the user terminal starts a performance test tool configured thereon after recognizing the test identifier, and during an interaction process between the cloud mobile phone and the user terminal corresponding to the cloud mobile phone, testing a human-computer interaction interface to generate second performance index data.
Further, in the process of interaction between the cloud mobile phone and the user terminal corresponding to the cloud mobile phone, the performance testing tool configured in the user terminal tests the human-computer interaction interface, and bandwidth data and the like of the user terminal can be generated.
The performance testing tool in the user terminal can transmit the second performance index data of the cloud mobile phone, the bandwidth data of the user terminal and the like to the cloud end, and then the cloud end can acquire the second performance index data of the cloud mobile phone and can also acquire the bandwidth data of the user terminal.
Optionally, the frame rate data of the cloud mobile phone can reflect the fluency of the picture transmitted by the cloud mobile phone. Furthermore, the bandwidth data of the user terminal can reflect the definition of the picture transmitted by the cloud mobile phone. That is to say, in the embodiment, frame rate data of the cloud mobile phone is monitored, so that monitoring of the smoothness of the picture can be realized, and meanwhile, bandwidth data of the user terminal can be monitored, so that monitoring of the definition of the picture can be realized.
It should be noted that, in the embodiment, no code or the like needs to be invaded into the cloud mobile phone, and only a lightweight performance testing tool needs to be embedded into the user terminal, so that the second performance index data of the cloud mobile phone can be obtained in the interaction process between the cloud mobile phone and the user terminal, that is, the second performance index data can be obtained without invasion; meanwhile, second performance index data are introduced, and the performance monitoring range of the cloud mobile phone is further widened.
Fig. 2 is a flowchart of another method for monitoring performance of a cloud phone according to an embodiment of the present disclosure, and the embodiment of the present disclosure is applicable to a situation how to monitor performance of a cloud phone. The whole method can be executed by the cloud and the monitoring server in a matching mode. The method can be executed by a performance monitoring device of the cloud mobile phone, and the device can be realized in a software and/or hardware mode and can be integrated in the monitoring server. As shown in fig. 2, the performance monitoring method for a cloud phone provided in this embodiment may include:
s201, responding to the monitoring request, and determining the cloud mobile phone to be monitored and the performance index to be monitored according to the monitoring request.
In this embodiment, the monitoring request is a request sent to the monitoring server by the user when the user has a performance monitoring requirement for any one or more cloud handsets. Optionally, the monitoring server may provide a visual monitoring page to the user. And then the user can fill in related parameters on the monitoring page according to the prompt information on the monitoring page, and click and submit to trigger the generation of the monitoring request.
Optionally, the monitoring request may include identification information of the cloud mobile phone to be monitored and a name of a performance index to be monitored. The identification information is identity information for identifying the cloud mobile phone, and has uniqueness, for example, the identity information may be an IP address of the cloud mobile phone.
Furthermore, the monitoring server can extract the identification information and the performance index name from the monitoring request, can use the cloud mobile phone corresponding to the identification information as the cloud mobile phone to be monitored, and can determine the performance index to be monitored according to the performance index name. Further, if the monitoring request does not include the performance index name, the monitoring server may use all the performance indexes of the cloud mobile phone to be monitored as the performance indexes to be monitored.
In addition, for any cloud mobile phone, the performance index data of the cloud mobile phone may be different at different times; in this embodiment, the set storage space may store performance index data of the cloud mobile phone at different times, that is, current performance index data (that is, performance index data stored in the local database latest) and performance index data in a period of time before the current time (that is, historical performance index data); therefore, time information and the like to be monitored can be specified in the monitoring request. Further, if the time information required to be monitored is not specified in the monitoring request, the time required to be monitored is defaulted to be the current time or the latest storage time stamp in the local database, so that the real-time monitoring of the performance data is realized. The set storage space can be a data server which is independent of the monitoring server and the cloud and is specially used for storing performance index data of the cloud mobile phone; or may be a database located in the monitoring service. Each piece of performance indicator data stored in the set storage space has a storage time stamp.
S202, acquiring performance data to be monitored from a set storage space according to the cloud mobile phone to be monitored and the performance index to be monitored.
Further, a Prometheus monitoring tool is integrated in the monitoring server of this embodiment, and in order to facilitate quick searching, in the case that the Prometheus monitoring tool is integrated in the monitoring server, the setting of the storage space is preferably a time sequence database in the monitoring server. Optionally, the set storage space may store performance index data of the plurality of cloud mobile phones at different times; the performance index data of any cloud mobile phone stored in the set storage space may include first performance index data of the cloud mobile phone generated by a monitoring component implanted in the cloud mobile phone, and/or second performance index data of the cloud mobile phone generated by a user terminal corresponding to the cloud mobile phone.
Illustratively, the first performance data includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data. Furthermore, a performance testing tool can be configured in the user terminal connected with the cloud mobile phone and used for generating second performance index data of the cloud mobile phone; the specific second performance index data is generated by a performance testing tool configured in the user terminal in the interaction process of the cloud mobile phone and the user terminal corresponding to the cloud mobile phone.
It should be noted that, in the embodiment, no code or the like needs to be invaded into the cloud mobile phone, and only a lightweight performance testing tool needs to be embedded into the user terminal, so that the second performance index data of the cloud mobile phone can be obtained in the interaction process between the cloud mobile phone and the user terminal, that is, the second performance index data can be obtained without invasion; meanwhile, the first performance index data and the second performance index data are introduced, so that the performance monitoring range of the cloud mobile phone is further widened, and the performance monitoring of the cloud mobile phone is more comprehensive.
Further, the performance index to be monitored may be any one or more of the performance indexes of the cloud mobile phone to be monitored, such as a CPU, a memory, a disk, a frame rate, and the like.
Optionally, after determining the cloud mobile phone to be monitored and the performance index to be monitored, the relevant data of the performance index to be monitored of the cloud mobile phone to be monitored, that is, the performance data to be monitored, may be acquired from the set storage space. Specifically, a PromQL query grammar can be adopted to encode information such as a cloud mobile phone to be monitored and performance indexes to be monitored so as to obtain a query statement; and acquiring the performance data to be monitored from the set storage space by adopting an inquiry statement.
For example, the set storage space stores performance index data of the cloud mobile phone 1, the cloud mobile phone 2 and the cloud mobile phone 3; if the user wants to monitor the CPU performance index of the cloud mobile phone 1, the CPU data of the cloud mobile phone 1 may be obtained from the set storage space, for example, the current CPU usage amount of the cloud mobile phone 1 may be obtained.
Furthermore, in order to facilitate quick search, performance index data of different cloud mobile phones in a storage space is set and stored in different tables, and then after the cloud mobile phone to be monitored and the performance index to be monitored are determined, the storage position of the performance index data of the cloud mobile phone to be monitored can be located first, and then according to the performance data to be monitored, the performance data to be monitored is obtained from the determined storage position.
And S203, monitoring the performance data to be monitored.
Optionally, after the performance data to be monitored is obtained, the performance data to be monitored may be monitored by using a monitoring rule associated with the cloud mobile phone to be monitored, for example, the performance data to be monitored may be displayed in a graph form. It can be understood that the chart is used for visual display, so that a user can conveniently and visually know the performance change condition of the cloud mobile phone.
According to the technical scheme provided by the embodiment of the disclosure, various performance index data of the cloud mobile phone are stored in the set storage space, any cloud mobile phone and performance index needing to be monitored are dynamically determined according to the actual monitoring requirement of a user, and relevant data of the performance index of the cloud mobile phone needing to be monitored is timely acquired from the set storage space for monitoring. According to the scheme, due to the fact that the storage space is set to store various performance index data of the cloud mobile phone, the performance of the cloud mobile phone can be monitored in real time and comprehensively.
On the basis of the above embodiment, as an optional way of the embodiment of the present disclosure, monitoring performance data to be monitored may be to compare the performance data to be monitored with a set threshold corresponding to a performance index to be monitored; and if the performance data to be monitored exceeds a set threshold value, carrying out early warning prompt.
Optionally, different performance indexes may correspond to different set thresholds; further, the set thresholds corresponding to the performance indexes of the cloud mobile phones of different versions may also be different.
Further, a set threshold corresponding to the performance index to be monitored can be determined according to the version of the cloud mobile phone to be monitored and the performance index to be monitored; then, comparing the performance data to be monitored with a corresponding set threshold; and if the performance data to be monitored exceeds a set threshold value, carrying out early warning prompt. For example, the warning information may be generated and sent to the warning system, so that the warning system sends the warning information to the corresponding user terminal through mails, short messages, instant messaging tools (such as WeChat), voices or the like.
Further, for real-time performance index data, such as disk occupancy and memory occupancy, if the acquired index data is index data at a certain time, the performance index data can be directly compared with a set threshold; if the index data in a period of time is acquired, the average value of the index data in the period of time can be calculated and compared with the set threshold value.
For periodic index data, such as frame rate data, an average value, a maximum value and a minimum value can be calculated, then the average value, the maximum value and the minimum value can be adopted to be respectively compared with the set average value, the set maximum value and the set minimum value, and if any one condition is not met, early warning prompt is carried out.
According to an implementation mode, if the performance index to be monitored of the cloud mobile phone to be monitored is identified to be monitored for multiple times according to the historical monitoring record and multiple early warning prompts exist, the early warning level can be improved at this time, so that a user can know the severity of the existing problem in time and then process the problem in time, such as upgrading the version of the cloud mobile phone.
It should be noted that, in the embodiment, for the performance data exceeding the set threshold, early warning can be performed in time, and the automation degree of the cloud mobile phone performance monitoring is further improved.
Fig. 3 is a flowchart of another method for monitoring performance of a cloud mobile phone according to an embodiment of the present disclosure, and this embodiment provides a method for monitoring performance of cloud mobile phones of different versions based on the foregoing embodiment. As shown in fig. 3, the performance monitoring method for a cloud phone provided in this embodiment may include:
s301, responding to the monitoring request, and selecting at least two cloud mobile phones with different versions from the candidate cloud mobile phones as the cloud mobile phones to be monitored according to version information in the monitoring request.
Optionally, the user may select the version to be compared in the monitoring page under the condition that the user has a requirement for comparing performance indexes of cloud mobile phones of different versions, and the monitoring request may further include version information. The so-called version information may include at least two version numbers.
According to an implementation mode, after the monitoring server acquires the monitoring request, the monitoring server can extract version information from the monitoring request; then, at least two version numbers which need to be compared are determined according to the version information; for each version number, randomly selecting a cloud mobile phone with the version number from the candidate cloud mobile phones as the cloud mobile phone to be monitored.
Or, for each version number, selecting a cloud mobile phone with the version number from the candidate cloud mobile phones as the cloud mobile phone to be monitored according to the historical monitoring frequency. For example, the cloud mobile phone with the version number with the lowest historical monitoring frequency can be used as the cloud mobile phone to be monitored. It can be appreciated that the introduction of historical monitoring frequency enables every cloud handset to be monitored.
Or after at least two version numbers needing to be compared are determined, the number of the cloud mobile phones with the version numbers is determined according to the screen size of the monitoring server and the set comparison mode; and for each version number, randomly selecting the determined number of cloud mobile phones with the version number from the candidate cloud mobile phones as the cloud mobile phones to be monitored. The set comparison mode may be a horizontal chart form parallel comparison, a vertical chart form parallel comparison, or a dynamic play form comparison.
In another implementation manner, the monitoring request includes not only version information but also identification information of an optional cloud mobile phone; after the monitoring server side obtains the monitoring request, the version information and the identification information of the optional cloud mobile phone can be extracted from the monitoring request; determining at least two version numbers to be compared according to the version information; selecting a part of cloud mobile phones from the candidate cloud mobile phones as selectable cloud mobile phones according to the identification information of the selectable cloud mobile phones; and comparing each version number, and randomly selecting one or more cloud mobile phones with the version number from the selectable cloud mobile phones as the cloud mobile phones to be monitored. It can be understood that the optional cloud mobile phone is introduced, the screening range is reduced, and the response speed is further improved.
And S302, determining the performance index to be monitored and the time to be monitored of the cloud mobile phone to be monitored according to the time information and the performance index name in the monitoring request.
In this embodiment, the monitoring request may further include a performance index name, and the monitoring server may further extract the performance index name from the monitoring request, and determine the performance index to be monitored according to the performance index name. For example, if the monitoring request includes a memory, the memory may be used as the performance index to be monitored.
Further, in this embodiment, the set storage space may store performance index data of the cloud mobile phone at different times, and the performance index data of the cloud mobile phone may be different at different times, so that the user may further specify a time to be compared in the monitoring page according to an actual requirement, that is, the monitoring request may further include time information.
Furthermore, the monitoring server can extract time information from the monitoring request, and can determine the time to be monitored according to the time information. For example, the time information in the monitoring request can be directly used as the time to be monitored. For example, the monitoring request includes 8: 00-8: 10, mixing 8: 00-8: 10 as the time to be monitored.
And selecting a part of time in the time information as the time to be monitored according to the storage time stamp of the performance index data to be monitored of each cloud mobile phone to be monitored. For example, the common time for storing the time stamp may be determined, and the intersection between the time information and the common time may be used as the time to be monitored. For example, the public time of the storage timestamp of the performance index data to be monitored of each cloud mobile phone to be monitored is 8: before 05, the monitoring request includes 8: 00-8: 10, mixing 8: 00-8: 05 as the time to be monitored. It can be understood that, by introducing the public time in this embodiment, it can be ensured that the performance index data to be monitored of each cloud mobile phone to be monitored exists within the determined time to be monitored.
And S303, acquiring performance data to be monitored from a set storage space according to the cloud mobile phone to be monitored, the performance index to be monitored and the time to be monitored.
Specifically, for each cloud mobile phone to be monitored, the relevant data of the performance index to be monitored of the cloud mobile phone to be monitored in the time to be monitored can be acquired from the set storage space and used as the performance data to be monitored of the cloud mobile phone to be monitored.
And S304, displaying the performance data to be monitored of the cloud mobile phones to be monitored in different versions in a chart form.
Specifically, after the performance data to be monitored of each cloud mobile phone to be monitored is obtained, the performance data to be monitored of each cloud mobile phone to be monitored can be processed into a chart form according to the size information of the chart in the set comparison mode; and displaying each chart according to the display mode appointed in the set comparison mode. For example, the charts can be presented horizontally, or the charts can be presented vertically, or the charts can be presented in a dynamic playing manner, etc.
According to the technical scheme provided by the embodiment of the disclosure, the performance index data of the cloud mobile phones of different versions are displayed in a graph mode in a comparison mode, so that a user can conveniently and visually know the difference between the performance indexes of the cloud mobile phones of different versions; in addition, the embodiment can monitor the performance of a plurality of cloud mobile phones simultaneously, and compared with the mode that the existing manual operation script monitors the performance of the cloud mobile phones, the efficiency is improved.
Fig. 4 is a flowchart of another method for monitoring performance of a cloud mobile phone according to an embodiment of the present disclosure, and this embodiment provides a method for monitoring performance of the same cloud mobile phone at different times based on the above embodiment. As shown in fig. 4, the performance monitoring method for a cloud phone provided in this embodiment may include:
s401, responding to the monitoring request, and selecting one cloud mobile phone from the candidate cloud mobile phones as the cloud mobile phone to be monitored according to the identification information in the monitoring request.
Optionally, when a user has a requirement for comparing performance indexes of a certain cloud mobile phone at different times, the user may fill identification information of the cloud mobile phone to be monitored in the monitoring page, and may fill the time and the performance indexes to be compared. Furthermore, the monitoring request may include identification information, so that after the monitoring server acquires the monitoring request, the monitoring server may extract the identification information from the monitoring request, and may use the cloud mobile phone whose identification information is the identification information in the monitoring request in the candidate cloud mobile phone as the cloud mobile phone to be monitored.
S402, determining the performance index to be monitored and the time to be monitored of the cloud mobile phone to be monitored according to the performance index name and the at least two comparison times in the monitoring request.
In this embodiment, the monitoring request may further include a performance index name, and the monitoring server may further extract the performance index name from the monitoring request, and determine the performance index to be monitored according to the performance index name. For example, if the monitoring request includes a memory, the memory may be used as the performance index to be monitored.
Further, the monitoring request may further include at least two comparison times, and the monitoring server may further extract the at least two comparison times from the monitoring request, and may directly use the extracted at least two comparison times as the time to be monitored. Optionally, the monitoring request may include the current time and any historical time, for example, the current time is 12, 8/20/2021: 00, historical time 2021, 8 month 19 # 12: 00; alternatively, the monitoring request may include the current time period and any historical time period, such as 12 # 8/20/2021: 00-12: 10, historical event segment 8 month 19 # 12 in 2021: 00-12: 10; alternatively, any two or more historical times and the like may be included in the monitoring request.
Optionally, in an implementation manner, after the monitoring server extracts the at least two comparison times from the monitoring request, if it is identified that the comparison times are the comparison time periods, it is determined whether the durations of the at least two comparison time periods are the same; if the comparison time periods are the same, directly taking at least two comparison time periods as the time to be monitored; and if not, processing at least two comparison time periods, and taking the processed comparison time periods as time periods to be monitored. For example, the processing of the at least two comparison periods may be selecting one of the at least two comparison periods with the shortest duration as a reference period; processing other comparison periods according to the reference period, and the like. For example, the comparison period includes 12, 8/20/2021: 00-13: 00. 12/8/19/2021: 00-12: 30. and 12/8/18/2021: 00-12: 15, then number 12, 8/18/2021: 00-12: 15 as reference period, 12/8/20/2021: 00-13: 00 treatment is 12 # 8/20 in 2021: 00-12: 15, and number 12, 8/19/2021: 00-12: 30 treatment was 12 # 8/19/2021: 00-12: 15. it can be understood that, by introducing the duration of the comparison period in this embodiment, it can be ensured that the data volumes of the performance index data to be monitored of the cloud mobile phone to be monitored, which are obtained within the determined different time to be monitored, are the same.
And S403, acquiring performance data to be monitored from a set storage space according to the cloud mobile phone to be monitored, the performance index to be monitored and the time to be monitored.
Specifically, the relevant data of the performance index to be monitored of the cloud mobile phone to be monitored at different time to be monitored can be obtained from the set storage space and used as the performance data to be monitored of the cloud mobile phone to be monitored.
And S404, displaying the performance data to be monitored at different comparison times in a chart form.
Specifically, after the performance data to be monitored of the cloud mobile phone to be monitored at different comparison times are obtained, the performance data to be monitored at each comparison time can be processed into a chart form according to the size information of the chart in the set comparison mode; and displaying each chart according to the display mode appointed in the set comparison mode. For example, the charts can be presented horizontally, or the charts can be presented vertically, or the charts can be presented in a dynamic playing manner, etc.
According to the technical scheme provided by the embodiment of the disclosure, the performance index data of the same cloud mobile phone at different times are displayed in a graph mode in a comparison mode, so that a user can conveniently and visually know the difference between the performance indexes of the cloud mobile phone at different times.
Fig. 5 is an architecture diagram of a performance monitoring system of a cloud mobile phone according to an embodiment of the present disclosure, and this embodiment provides a preferred example of a method for monitoring performance of a cloud mobile phone by interaction between a cloud and a monitoring server based on any of the above embodiments. In this embodiment, fig. 5 shows only one cloud mobile phone 51, but it is not limited that only one cloud mobile phone is available in the cloud 50, multiple cloud mobile phones may be carried in the cloud, and the process of acquiring performance index data of each cloud mobile phone is the same, and this embodiment is described by taking only one cloud mobile phone 51 as an example. With reference to fig. 5, the specific implementation process is as follows:
a monitoring component, such as a node _ exporter, is implanted in the cloud mobile phone 51, and the monitoring component can monitor the performance of the cloud mobile phone 51 in real time, and then the cloud 50 can obtain the first performance index data of the cloud mobile phone 51 through the monitoring component implanted in the cloud mobile phone 51.
Further, the cloud phone 51 corresponds to a user terminal 52, and a tool capable of performing a performance analysis test, that is, a performance testing tool, such as a performance dog (that is, perfDog), is configured in the user terminal 52. Therefore, the cloud 50 can control the cloud mobile phone 51 to interact with the user terminal 52, so that the performance testing tool in the user terminal 52 generates the second performance index data of the cloud mobile phone 51, and the cloud 50 can acquire the second performance index data of the cloud mobile phone 51 from the user terminal 52.
Then, the cloud 50 may write the first performance index data and/or the second performance index data of the cloud phone 51 into a set storage space, such as a time sequence database of the monitoring server 53. For example, the cloud 50 may control a monitoring component implanted in the cloud mobile phone 51 to write the first performance index data into the set storage space, and may display the obtained second performance index data in a graph form at the cloud 50. Or the acquired second performance index data may be written into the set storage space by setting the communication method.
The monitoring server 53 integrates a monitoring tool Prometheus for implementing the monitoring service, and can provide a visual monitoring page for a user. And then under the condition that the user has the performance monitoring requirement on any one or more cloud mobile phones, relevant parameters can be filled in the monitoring page according to the prompt information on the monitoring page, and the monitoring page is clicked and submitted to trigger the generation of the monitoring request. The monitoring server 53 determines a cloud mobile phone to be monitored (such as the cloud mobile phone 51) and a performance index to be monitored (such as a memory) according to the monitoring request; and acquiring performance data to be monitored from a set storage space according to the cloud mobile phone to be monitored and the performance index to be monitored.
The monitoring server 53 may be provided with a visualization display tool Grafana and a Web UI, and a user may select one visualization tool from Grafana and the Web UI according to actual needs to display performance data to be monitored. For example, a Grafana tool may be selected to present performance data to be monitored in a graphical format.
Further, an alarm component may be integrated in the monitoring server 53, and support the creation of an alarm rule based on PromQL. For example, if the monitoring tool Prometheus determines that the performance data to be monitored exceeds the set threshold corresponding to the performance index to be monitored, an early warning prompt is performed. Specifically, the warning information may be generated and sent to the warning component, so that the warning component sends the warning information to the corresponding user terminal through a mail, a short message, an instant messaging tool (such as a WeChat), a voice, or the like.
It should be noted that, in the embodiment, by configuring a performance testing tool in the user terminal and implanting a monitoring component in the cloud mobile phone, the first performance index data and the second performance index data of the cloud mobile phone can be automatically obtained; compared with the manual acquisition of the cloud mobile phone performance index data, the efficiency of acquiring the performance index data is improved; meanwhile, the cloud mobile phones in the cloud are mutually independent, and the performance index data of the cloud mobile phones can be acquired in parallel, so that the performance of the cloud mobile phones can be monitored simultaneously. In addition, the performance index data is displayed in a visual mode, so that a user can conveniently and visually know the performance change condition of the cloud mobile phone; and an alarm mechanism is introduced, so that early warning can be timely realized.
Fig. 6 is a schematic structural diagram of a performance monitoring apparatus of a cloud mobile phone according to an embodiment of the present disclosure. The embodiment of the disclosure is suitable for the situation of monitoring the performance of the cloud mobile phone. The device can be implemented by software and/or hardware, and can implement the performance monitoring method of the cloud mobile phone according to the embodiment of the disclosure. As shown in fig. 6, the performance monitoring apparatus of the cloud mobile phone includes:
the first data acquisition module 601 is used for acquiring first performance index data of the cloud mobile phone through a monitoring component implanted in the cloud mobile phone;
a second data obtaining module 602, configured to control the cloud mobile phone to interact with a corresponding user terminal, so as to obtain second performance index data of the mobile phone from the user terminal;
the data writing module 603 is configured to write the first performance index data and/or the second performance index data into the set storage space, so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space.
According to the technical scheme provided by the embodiment of the disclosure, the cloud mobile phone is controlled to interact with the corresponding user terminal, so that one part of performance index data of the cloud mobile phone can be automatically acquired, meanwhile, the other part of performance index data of the cloud mobile phone can be automatically acquired through the monitoring component implanted in the cloud mobile phone, and then various performance index data of the cloud mobile phone can be automatically acquired, so that the performance monitoring of the cloud mobile phone is more comprehensive, and a new thought is provided for the performance monitoring of the cloud mobile phone; meanwhile, compared with the existing method for acquiring the performance index data of the cloud mobile phone by manually operating the script, the performance index data acquisition efficiency is improved, namely the performance monitoring efficiency of the cloud mobile phone is improved.
Illustratively, the second data obtaining module 602 is specifically configured to:
controlling the cloud mobile phone to transmit video data to the corresponding user terminal so that a performance testing tool configured in the user terminal generates second performance index data;
and acquiring second performance index data from the user terminal.
For example, in this embodiment, the first performance index data includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data.
For example, in this embodiment, the storage space is set as a time sequence database in the monitoring server.
Fig. 7 is a schematic structural diagram of another performance monitoring apparatus for a cloud handset according to an embodiment of the present disclosure. The embodiment of the disclosure is suitable for the situation of monitoring the performance of the cloud mobile phone. The device can be implemented by software and/or hardware, and can implement the performance monitoring method of the cloud mobile phone according to the embodiment of the disclosure. As shown in fig. 7, the performance monitoring apparatus of the cloud mobile phone includes:
the to-be-monitored index determining module 701 is used for responding to the monitoring request and determining the cloud mobile phone to be monitored and the performance index to be monitored according to the monitoring request;
a to-be-monitored data determining module 702, configured to obtain performance data to be monitored from a local database according to the to-be-monitored cloud phone and the performance index to be monitored;
the monitoring module 703 is configured to monitor performance data to be monitored;
the performance index data of any cloud mobile phone stored in the local database comprises first performance index data of the cloud mobile phone generated by a monitoring component implanted in the cloud mobile phone and/or second performance index data of the cloud mobile phone generated by a user terminal corresponding to the cloud mobile phone.
According to the technical scheme provided by the embodiment of the disclosure, various performance index data of the cloud mobile phone are stored in the set storage space, any cloud mobile phone and performance index needing to be monitored are dynamically determined according to the actual monitoring requirement of a user, and relevant data of the performance index of the cloud mobile phone needing to be monitored is timely acquired from the set storage space for monitoring. According to the scheme, due to the fact that the storage space is set to store various performance index data of the cloud mobile phone, the performance of the cloud mobile phone can be monitored in real time and comprehensively.
For example, in the present embodiment, the second performance index data is generated by a performance testing tool configured in the user terminal during an interaction between the cloud mobile phone and the user terminal corresponding to the cloud mobile phone.
For example, the module 701 for determining an index to be monitored includes:
the first cloud mobile phone to be monitored determining unit is used for selecting at least two cloud mobile phones with different versions from the candidate cloud mobile phones as the cloud mobile phones to be monitored according to the version information in the monitoring request;
and the first to-be-monitored index determining unit is used for determining the to-be-monitored performance index and the to-be-monitored time of the cloud mobile phone to be monitored according to the time information and the performance index name in the monitoring request.
Illustratively, the monitoring module 703 is specifically configured to:
and displaying the performance data to be monitored of the cloud mobile phones to be monitored in different versions in a chart form.
For example, the module 701 for determining an index to be monitored includes:
the second cloud mobile phone to be monitored determining unit is used for selecting one cloud mobile phone from the candidate cloud mobile phones as the cloud mobile phone to be monitored according to the identification information in the monitoring request;
and the second to-be-monitored index determining unit is used for determining the to-be-monitored performance index and the to-be-monitored time of the cloud mobile phone to be monitored according to the performance index name and the at least two comparison times in the monitoring request.
Illustratively, the monitoring module 703 is specifically configured to:
and displaying the performance data to be monitored at different comparison times in a chart form.
Illustratively, the monitoring module 703 is specifically configured to:
comparing the performance data to be monitored with a set threshold corresponding to the performance index to be monitored;
and if the performance data to be monitored exceeds a set threshold value, carrying out early warning prompt.
Illustratively, the first performance data in this embodiment includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data.
Illustratively, the local database in the present embodiment is a time-series database.
In the technical scheme, the performance index data of the cloud mobile phone, the related data of the user terminal and the like are acquired, stored, applied and the like, and the related legal regulations are met, and the public order and good custom are not violated.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 8 illustrates a schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic apparatus 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the electronic device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The computing unit 801 executes the various methods and processes described above, such as a performance monitoring method for a cloud handset. For example, in some embodiments, the performance monitoring method of a cloud handset may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. When loaded into RAM 803 and executed by computing unit 801, the computer programs may perform one or more steps of the performance monitoring methods of the cloud handset described above. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the performance monitoring method of the cloud handset by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (29)

1. A performance monitoring method of a cloud mobile phone comprises the following steps:
acquiring first performance index data of a cloud mobile phone through a monitoring component implanted in the cloud mobile phone;
controlling the cloud mobile phone to interact with a corresponding user terminal so as to acquire second performance index data of the cloud mobile phone from the user terminal;
and writing the first performance index data and/or the second performance index data into a set storage space, so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space.
2. The method for monitoring the performance of the cloud phone according to claim 1, wherein the controlling the cloud phone to interact with the corresponding user terminal so as to obtain the second performance index data of the cloud phone from the user terminal includes:
controlling the cloud mobile phone to transmit video data to a corresponding user terminal so that a performance testing tool configured in the user terminal generates second performance index data;
and acquiring the second performance index data from the user terminal.
3. The performance monitoring method of the cloud mobile phone according to claim 1, wherein the first performance index data includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data.
4. The performance monitoring method of the cloud mobile phone according to claim 1, wherein the set storage space is a time sequence database in the monitoring server.
5. A performance monitoring method of a cloud mobile phone comprises the following steps:
responding to a monitoring request, and determining a cloud mobile phone to be monitored and a performance index to be monitored according to the monitoring request;
acquiring performance data to be monitored from a set storage space according to the cloud mobile phone to be monitored and the performance index to be monitored;
monitoring the performance data to be monitored;
the performance index data of any cloud mobile phone stored in the set storage space comprises first performance index data of the cloud mobile phone generated by a monitoring component implanted in the cloud mobile phone and/or second performance index data of the cloud mobile phone generated by a user terminal corresponding to the cloud mobile phone.
6. The performance monitoring method of the cloud mobile phone according to claim 5, wherein the determining the cloud mobile phone to be monitored and the performance index to be monitored according to the monitoring request includes:
selecting at least two cloud mobile phones with different versions from the candidate cloud mobile phones as the cloud mobile phones to be monitored according to the version information in the monitoring request;
and determining the performance index to be monitored and the time to be monitored of the cloud mobile phone to be monitored according to the time information and the performance index name in the monitoring request.
7. The performance monitoring method of the cloud mobile phone according to claim 6, wherein the monitoring the performance data to be monitored comprises:
and displaying the performance data to be monitored of the cloud mobile phones to be monitored in different versions in a chart form.
8. The performance monitoring method of the cloud mobile phone according to claim 5, wherein the determining the cloud mobile phone to be monitored and the performance index to be monitored according to the monitoring request includes:
selecting one cloud mobile phone from the candidate cloud mobile phones as the cloud mobile phone to be monitored according to the identification information in the monitoring request;
and determining the performance index to be monitored and the time to be monitored of the cloud mobile phone to be monitored according to the performance index name and the at least two comparison times in the monitoring request.
9. The performance monitoring method of the cloud mobile phone according to claim 8, wherein the monitoring the performance data to be monitored includes:
and displaying the performance data to be monitored at different comparison times in a chart form.
10. The performance monitoring method of the cloud mobile phone according to claim 5, wherein the monitoring the performance data to be monitored comprises:
comparing the performance data to be monitored with a set threshold corresponding to a performance index to be monitored;
and if the performance data to be monitored exceeds a set threshold value, carrying out early warning prompt.
11. The performance monitoring method of the cloud phone according to claim 5, wherein the second performance index data is generated by a performance testing tool configured in the user terminal during an interaction process between the cloud phone and the user terminal corresponding to the cloud phone.
12. The performance monitoring method of the cloud mobile phone of claim 5, wherein the first performance data includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data.
13. The performance monitoring method of the cloud mobile phone according to claim 5, wherein the set storage space is a time sequence database.
14. A performance monitoring device of a cloud mobile phone comprises:
the first data acquisition module is used for acquiring first performance index data of the cloud mobile phone through a monitoring component implanted into the cloud mobile phone;
the second data acquisition module is used for controlling the cloud mobile phone to interact with a corresponding user terminal so as to acquire second performance index data of the cloud mobile phone from the user terminal;
and the data writing module is used for writing the first performance index data and/or the second performance index data into a set storage space so that the monitoring server monitors the cloud mobile phone based on the performance index data in the set storage space.
15. The performance monitoring apparatus of the cloud mobile phone according to claim 14, wherein the second data obtaining module is specifically configured to:
controlling the cloud mobile phone to transmit video data to a corresponding user terminal so that a performance testing tool configured in the user terminal generates second performance index data;
and acquiring the second performance index data from the user terminal.
16. The performance monitoring apparatus of the cloud handset of claim 14, wherein the first performance indicator data includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data.
17. The performance monitoring device of the cloud mobile phone of claim 14, wherein the set storage space is a time sequence database in the monitoring server.
18. A performance monitoring device of a cloud mobile phone comprises:
the monitoring system comprises a to-be-monitored index determining module, a monitoring request determining module and a monitoring processing module, wherein the to-be-monitored index determining module is used for responding to the monitoring request and determining a to-be-monitored cloud mobile phone and a to-be-monitored performance index according to the monitoring request;
the to-be-monitored data determining module is used for acquiring to-be-monitored performance data from a set storage space according to the to-be-monitored cloud mobile phone and the to-be-monitored performance index;
the monitoring module is used for monitoring the performance data to be monitored;
the performance index data of any cloud mobile phone stored in the set storage space comprises first performance index data of the cloud mobile phone generated by a monitoring component implanted in the cloud mobile phone and/or second performance index data of the cloud mobile phone generated by a user terminal corresponding to the cloud mobile phone.
19. The performance monitoring device of the cloud mobile phone of claim 18, wherein the to-be-monitored index determining module comprises:
the first cloud mobile phone to be monitored determining unit is used for selecting at least two cloud mobile phones with different versions from the candidate cloud mobile phones as the cloud mobile phones to be monitored according to the version information in the monitoring request;
and the first to-be-monitored index determining unit is used for determining the to-be-monitored performance index and the to-be-monitored time of the cloud mobile phone to be monitored according to the time information and the performance index name in the monitoring request.
20. The performance monitoring apparatus of the cloud phone of claim 19, wherein the monitoring module is specifically configured to:
and displaying the performance data to be monitored of the cloud mobile phones to be monitored in different versions in a chart form.
21. The performance monitoring device of the cloud mobile phone of claim 18, wherein the to-be-monitored index determining module comprises:
the second cloud mobile phone to be monitored determining unit is used for selecting one cloud mobile phone from the candidate cloud mobile phones as the cloud mobile phone to be monitored according to the identification information in the monitoring request;
and the second to-be-monitored index determining unit is used for determining the to-be-monitored performance index and the to-be-monitored time of the cloud mobile phone to be monitored according to the performance index name and the at least two comparison times in the monitoring request.
22. The performance monitoring apparatus of the cloud phone of claim 21, wherein the monitoring module is specifically configured to:
and displaying the performance data to be monitored at different comparison times in a chart form.
23. The performance monitoring apparatus of the cloud phone of claim 18, wherein the monitoring module is specifically configured to:
comparing the performance data to be monitored with a set threshold corresponding to a performance index to be monitored;
and if the performance data to be monitored exceeds a set threshold value, carrying out early warning prompt.
24. The performance monitoring apparatus of the cloud phone according to claim 18, wherein the second performance index data is generated by a performance testing tool configured in a user terminal during an interaction between the cloud phone and the user terminal corresponding to the cloud phone.
25. The performance monitoring apparatus of the cloud handset of claim 18, wherein the first performance data includes at least one of memory data, CPU data, disk data, and bandwidth data; the second performance indicator data comprises frame rate data.
26. The performance monitoring device of the cloud mobile phone of claim 18, wherein the setting storage space is a time sequence database.
27. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of monitoring performance of a cloud handset of any one of claims 1-4 or the method of monitoring performance of a cloud handset of any one of claims 5-13.
28. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of monitoring performance of a cloud handset according to any one of claims 1 to 4, or the method of monitoring performance of a cloud handset according to any one of claims 5 to 13.
29. A computer program product comprising a computer program which, when executed by a processor, implements the method of performance monitoring of a cloud handset of any of claims 1 to 4, or performs the method of performance monitoring of a cloud handset of any of claims 5 to 13.
CN202110988024.2A 2021-08-26 2021-08-26 Performance monitoring method, device, equipment and storage medium of cloud mobile phone Active CN113704063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110988024.2A CN113704063B (en) 2021-08-26 2021-08-26 Performance monitoring method, device, equipment and storage medium of cloud mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110988024.2A CN113704063B (en) 2021-08-26 2021-08-26 Performance monitoring method, device, equipment and storage medium of cloud mobile phone

Publications (2)

Publication Number Publication Date
CN113704063A true CN113704063A (en) 2021-11-26
CN113704063B CN113704063B (en) 2024-05-14

Family

ID=78655154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110988024.2A Active CN113704063B (en) 2021-08-26 2021-08-26 Performance monitoring method, device, equipment and storage medium of cloud mobile phone

Country Status (1)

Country Link
CN (1) CN113704063B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115061886A (en) * 2022-05-20 2022-09-16 北京百度网讯科技有限公司 Performance data processing method, device, equipment and storage medium
CN115102997A (en) * 2022-06-17 2022-09-23 麒麟软件有限公司 System and method for remotely detecting and controlling cloud mobile phone
WO2023155378A1 (en) * 2022-02-16 2023-08-24 北京百度网讯科技有限公司 Method and apparatus for monitoring model
CN116701125A (en) * 2023-07-31 2023-09-05 太初(无锡)电子科技有限公司 Performance data acquisition method of AI chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180060206A1 (en) * 2016-08-26 2018-03-01 Alex Dworkin Cloud collaboration and management application
CN110473354A (en) * 2019-07-31 2019-11-19 湖南微算互联信息技术有限公司 A kind of cloud mobile phone optimal selection method, system, device and storage medium
CN111371954A (en) * 2020-03-11 2020-07-03 广州微算互联信息技术有限公司 Method and device for dynamically adjusting cloud mobile phone resource configuration
CN111459750A (en) * 2020-03-18 2020-07-28 平安科技(深圳)有限公司 Private cloud monitoring method and device based on non-flat network, computer equipment and storage medium
CN111694706A (en) * 2020-05-08 2020-09-22 广州微算互联信息技术有限公司 Cloud mobile phone fault processing method and system and storage medium
CN112953920A (en) * 2021-02-01 2021-06-11 福建多多云科技有限公司 Monitoring management method based on cloud mobile phone
WO2021151279A1 (en) * 2020-06-17 2021-08-05 平安科技(深圳)有限公司 Method and apparatus for cloud monitoring based on edge computing, electronic device, and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180060206A1 (en) * 2016-08-26 2018-03-01 Alex Dworkin Cloud collaboration and management application
CN110473354A (en) * 2019-07-31 2019-11-19 湖南微算互联信息技术有限公司 A kind of cloud mobile phone optimal selection method, system, device and storage medium
CN111371954A (en) * 2020-03-11 2020-07-03 广州微算互联信息技术有限公司 Method and device for dynamically adjusting cloud mobile phone resource configuration
CN111459750A (en) * 2020-03-18 2020-07-28 平安科技(深圳)有限公司 Private cloud monitoring method and device based on non-flat network, computer equipment and storage medium
CN111694706A (en) * 2020-05-08 2020-09-22 广州微算互联信息技术有限公司 Cloud mobile phone fault processing method and system and storage medium
WO2021151279A1 (en) * 2020-06-17 2021-08-05 平安科技(深圳)有限公司 Method and apparatus for cloud monitoring based on edge computing, electronic device, and storage medium
CN112953920A (en) * 2021-02-01 2021-06-11 福建多多云科技有限公司 Monitoring management method based on cloud mobile phone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张敏;朱勇;王方;: "云主机性能测试指标及测试方法研究", 信息技术与标准化, no. 06, 10 June 2018 (2018-06-10) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155378A1 (en) * 2022-02-16 2023-08-24 北京百度网讯科技有限公司 Method and apparatus for monitoring model
CN115061886A (en) * 2022-05-20 2022-09-16 北京百度网讯科技有限公司 Performance data processing method, device, equipment and storage medium
CN115102997A (en) * 2022-06-17 2022-09-23 麒麟软件有限公司 System and method for remotely detecting and controlling cloud mobile phone
CN116701125A (en) * 2023-07-31 2023-09-05 太初(无锡)电子科技有限公司 Performance data acquisition method of AI chip
CN116701125B (en) * 2023-07-31 2023-10-27 太初(无锡)电子科技有限公司 Performance data acquisition method of AI chip

Also Published As

Publication number Publication date
CN113704063B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN113704063B (en) Performance monitoring method, device, equipment and storage medium of cloud mobile phone
CN114157701B (en) Task testing method, device, equipment and storage medium
CN107222331B (en) method and device for monitoring performance of distributed application system, storage medium and equipment
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
CN112631939A (en) Use case configuration method, use case configuration device, and readable storage medium
CN113742174B (en) Cloud mobile phone application monitoring method and device, electronic equipment and storage medium
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN113704058A (en) Business model monitoring method and device and electronic equipment
CN112965799A (en) Task state prompting method and device, electronic equipment and medium
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN117270790A (en) Method, electronic device and computer program product for processing data
KR102464688B1 (en) Method and apparatus for detrmining event level of monitoring result
CN114091909A (en) Collaborative development method, system, device and electronic equipment
CN113901316A (en) Information pushing method and device, electronic equipment and storage medium
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN111581518A (en) Information pushing method and device
CN111176982A (en) Test interface generation method and device
CN106547679B (en) Script management method and script management platform
CN115840604B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN113836291B (en) Data processing method, device, equipment and storage medium
CN114401337A (en) Data sharing method, device and equipment based on cloud mobile phone and storage medium
CN115643091A (en) System log monitoring method, device, equipment and medium
CN115988124A (en) Method and device for determining equipment ID
CN115061886A (en) Performance data processing method, device, equipment and storage medium
CN114363207A (en) Cloud control platform test method, device, equipment, storage medium and program

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
GR01 Patent grant