CN113190430A - Monitoring method, device and system for cloud equipment - Google Patents
Monitoring method, device and system for cloud equipment Download PDFInfo
- Publication number
- CN113190430A CN113190430A CN202010036597.0A CN202010036597A CN113190430A CN 113190430 A CN113190430 A CN 113190430A CN 202010036597 A CN202010036597 A CN 202010036597A CN 113190430 A CN113190430 A CN 113190430A
- Authority
- CN
- China
- Prior art keywords
- equipment
- cloud
- state
- analysis result
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000012544 monitoring process Methods 0.000 title claims abstract description 72
- 238000012360 testing method Methods 0.000 claims abstract description 59
- 230000015654 memory Effects 0.000 claims description 58
- 230000006855 networking Effects 0.000 claims description 35
- 230000008859 change Effects 0.000 claims description 31
- 238000012545 processing Methods 0.000 claims description 17
- 230000007547 defect Effects 0.000 claims description 9
- 238000005457 optimization Methods 0.000 claims description 9
- 238000012502 risk assessment Methods 0.000 claims description 9
- 238000009434 installation Methods 0.000 claims description 7
- 238000011056 performance test Methods 0.000 claims description 7
- 230000000007 visual effect Effects 0.000 claims description 7
- 238000012806 monitoring device Methods 0.000 claims description 3
- 230000036541 health Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 5
- 238000012800 visualization Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application discloses a monitoring method, device and system of cloud equipment. Wherein, the method comprises the following steps: monitoring a plurality of data indexes of first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment; analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide the cloud service; and pushing the analysis result to the second equipment for front-end display. The method and the device solve the technical problem of low testing efficiency caused by the fact that the usability of the cloud sharing equipment cannot be obtained and the unavailable cloud sharing equipment is used for testing.
Description
Technical Field
The application relates to the field of computers, in particular to a monitoring method, a monitoring device and a monitoring system of cloud equipment.
Background
Cloud Testing (Cloud Testing) is a Testing scheme based on Cloud computing, in the scheme, a user can upload a locally written Testing script to a website, and testers can test accessed Cloud sharing equipment through the website and share mobile equipment, so that the utilization rate of the equipment can be improved.
However, when there are many devices that need to be managed or tested, the user experience is directly affected by whether the devices can be used normally. In the prior art, since the available state of the cloud sharing device cannot be known, when testing is performed, if the unavailable cloud sharing device is used for testing, the testing efficiency is reduced.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a monitoring method, a monitoring device and a monitoring system for cloud equipment, and the technical problem of low testing efficiency caused by the fact that unavailable cloud sharing equipment is used for testing due to the fact that the usability of the cloud sharing equipment cannot be obtained is at least solved.
According to an aspect of an embodiment of the present application, a method for monitoring a cloud device is provided, including: monitoring a plurality of data indexes of first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment; analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide the cloud service; and pushing the analysis result to the second equipment for front-end display.
According to an aspect of an embodiment of the present application, a method for monitoring a cloud device is provided, including: receiving an analysis result from the server, wherein the analysis result is used for indicating whether the equipment monitored by the server can continue to provide cloud service, the equipment is shared equipment of the cloud, the analysis result is obtained by analyzing and processing a plurality of data indexes obtained by monitoring the equipment by the server, and the plurality of data indexes are used for describing the running state of the equipment; and displaying the analysis result.
According to another aspect of the embodiments of the present application, there is also provided a monitoring apparatus for a cloud device, including: the monitoring module is used for monitoring a plurality of data indexes of the first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment; the analysis module is used for analyzing and processing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide the cloud service; and the pushing module is used for pushing the analysis result to the second equipment for front-end display.
According to another aspect of the embodiments of the present application, a storage medium is further provided, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the monitoring method for the cloud device.
According to another aspect of the embodiments of the present application, a processor is further provided, where the processor is configured to execute a program, and the monitoring method for the cloud device is executed when the program runs.
According to another aspect of the embodiments of the present application, there is also provided a monitoring system for a cloud device, including: the first equipment is shared equipment of a cloud; the server is used for monitoring a plurality of data indexes of the first equipment, analyzing the data indexes to obtain an analysis result, and pushing the analysis result to the second equipment, wherein the data indexes are used for describing the running state of the first equipment, and the analysis result is used for indicating whether the first equipment can continue to provide cloud service; and the second equipment is used for displaying the analysis result.
In the embodiment of the application, a mode of analyzing data indexes of the sharing device is adopted, a plurality of data indexes of the sharing device (namely, the first device) at the cloud end are monitored through the server, the data indexes are analyzed and processed to determine whether the sharing device at the cloud end can continuously provide cloud service, and finally, an analysis result is pushed to the display device (namely, the second device) to be displayed at the front end.
In the process, the usability of the cloud sharing device can be determined by analyzing the data indexes of the cloud sharing device, so that a user can use the cloud sharing device capable of providing cloud service for testing, and the problem of low testing efficiency caused by the fact that the unavailable cloud sharing device is used for testing is solved.
Therefore, the purpose of detecting the availability of the cloud sharing equipment is achieved by the scheme, the technical effect of improving the testing efficiency is achieved, and the technical problem that the testing efficiency is low due to the fact that the unavailable cloud sharing equipment is used for testing because the availability of the cloud sharing equipment cannot be obtained is solved.
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 diagram of an alternative computing device for implementing a monitoring method for a cloud device according to an embodiment of the present application;
fig. 2 is a flowchart of a monitoring method for a cloud device according to an embodiment of the present application;
fig. 3 is a schematic application diagram of an optional monitoring method for a cloud device according to an embodiment of the present application;
fig. 4 is an interaction diagram of an alternative monitoring method for a cloud device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a monitoring apparatus of a cloud device according to an embodiment of the present application;
fig. 6 is a schematic view of a monitoring system of a cloud device according to an embodiment of the present application; and
FIG. 7 is a block diagram of a computing device according to an embodiment of the present application;
fig. 8 is a flowchart of a monitoring method for a cloud device according to an embodiment of the present application;
FIG. 9 is a schematic view of an alternative visualization interface according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present application, there is also provided an embodiment of a monitoring method for a cloud device, where it is to be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that in the flowchart.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computing device, or a similar computing device. Fig. 1 shows a hardware structure block diagram of a computing device (or mobile device) for implementing a monitoring method of a cloud device. As shown in fig. 1, computing device 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), memory 104 for storing data, and transmission device 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a universal serial BUS (BUS) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, computing device 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuitry may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computing device 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the monitoring method of the cloud device in the embodiment of the present application, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implements the monitoring method of the cloud device. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to computing device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by a communications provider of computing device 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computing device 10 (or mobile device).
It should be noted here that in some alternative embodiments, the computer device (or mobile device) shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that fig. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in the computer device (or mobile device) described above.
In the foregoing operating environment, the application provides a monitoring method for a cloud device, and it should be noted that in this embodiment, an execution main body for executing the monitoring method for the cloud device may be a server. Fig. 2 is a flowchart of a monitoring method for cloud end devices according to an embodiment of the present application, and as can be seen from fig. 2, the method includes the following steps:
step S202, a plurality of data indicators of the first device are monitored, where the first device is a cloud-side shared device, and the plurality of data indicators are used to describe an operating state of the first device.
In step S202, the first device may be a mobile device, for example, a dual-end mobile phone, an internet of things device, and the like. The plurality of data indexes of the first device may include a first type of data indexes and a second type of data indexes, and the first type of data indexes at least include: the temperature change of the first equipment and the electric quantity change of the first equipment, and the second type data index at least comprises the following components: the networking state of the first device changes, the memory of the first device changes, the screen locking state of the first device changes, and the like.
In addition, in the process of detecting or debugging the equipment, a tester does not need to purchase multiple pieces of equipment, and the equipment can be detected or debugged only by using the cloud shared equipment. Because the sharing equipment at the cloud is shared, in practical application, a tester can use the sharing equipment at the cloud for testing only by paying the rental fee of the equipment, so that the testing cost is saved.
In an optional embodiment, a preset application runs in the first device, and the preset application may collect a plurality of data indexes of the first device and send the collected data indexes to the server, so that the server can monitor the plurality of data indexes of the first device.
It should be noted that, by monitoring the data index of the cloud shared device, the server can analyze the data index to determine the availability of the cloud shared device.
Step S204, analyzing the plurality of data indexes to obtain an analysis result, where the analysis result is used to indicate whether the first device can continue to provide the cloud service.
In step S204, the analysis result characterizes a health of the first device, wherein the health characterizes an availability status of the device.
In an optional embodiment, if the server detects that any one of the plurality of data indicators is not satisfactory, it is determined that the first device cannot continue to provide the cloud service. For example, when the server detects that the current temperature of the first device is relatively high (e.g., the current temperature is greater than 45 ℃), it is determined that the first device cannot continue to provide the cloud service.
And step S206, pushing the analysis result to the second equipment for front-end display.
In step S206, the second device may be a device having a display screen, wherein the analysis result may be, but is not limited to, displayed in a browser of the second device.
Optionally, fig. 3 shows an application schematic diagram of the monitoring method for the cloud device based on the foregoing steps S202 to S206, and in fig. 3, the first device is taken as a mobile phone for example. Specifically, a preset application running in the first device collects data indexes of the first device and sends the data indexes to the server. After receiving the data index, the server analyzes the data index to detect whether the first device can continue to provide the cloud, and an analysis result is obtained. Then, the server pushes the data indexes and the analysis result to the second device, and displays each type data index (namely, the first type data index and the second type data index) and the health degree representing whether the first device can continue to provide the cloud service or not in a display screen of the second device. The tester can use the first equipment to test through the content displayed by the display screen of the second equipment, and if the first equipment can continue to provide cloud service, the tester can use the first equipment to test; if the first device cannot continue to provide the cloud service, the tester can check whether other cloud sharing devices can continue to provide the cloud service or not, and test by using the devices capable of continuing to provide the cloud service. Optionally, fig. 9 shows an optional visual interface diagram for displaying the analysis result.
Based on the schemes defined in the foregoing steps S202 to S206, it can be known that, in the embodiment of the present application, a manner of analyzing data indexes of the shared device is adopted, the server monitors a plurality of data indexes of the shared device (i.e., the first device) in the cloud, and analyzes the plurality of data indexes to determine whether the shared device in the cloud can continue to provide the cloud service, and finally, an analysis result is pushed to the display device (i.e., the second device) for front-end display.
It is easy to note that, in the above process, the usability of the cloud sharing device can be determined by analyzing the data indexes of the cloud sharing device, so that the user can use the sharing device capable of providing the cloud service to perform the test during the test, and the problem of low test efficiency caused by using the unavailable cloud sharing device to perform the test is avoided.
Therefore, the purpose of detecting the availability of the cloud sharing equipment is achieved by the scheme, the technical effect of improving the testing efficiency is achieved, and the technical problem that the testing efficiency is low due to the fact that the unavailable cloud sharing equipment is used for testing because the availability of the cloud sharing equipment cannot be obtained is solved.
In an alternative embodiment, as shown in step S202, the plurality of data indicators include: the cloud service system comprises a first type of data index and a second type of data index, wherein the first type of data index is data collected by a preset application at regular time, and the second type of data index is data collected by the preset application after the first device finishes the cloud service. And for different types of data indexes, the server acquires data at different stages.
Specifically, during the period when the first device provides the cloud service, the first type of data index is collected through the preset application, for example, during the period when the first device provides the cloud service, the preset application may collect a temperature change value and an electric quantity change value of the first device when the first device provides the cloud service. After the first device finishes the cloud service, acquiring a second type of data index through a preset application, for example, after the first device is connected with a network, the preset application acquires whether the network currently connected with the first device belongs to a preset network; for another example, after the first device finishes the cloud service, the preset application acquires the memory of the first device, and detects whether the current remaining content is smaller than the preset memory.
Optionally, the server analyzes the temperature change of the first device by detecting whether the current temperature of the first device belongs to the temperature interval, where the temperature change of the first device may be a temperature change of a battery of the first device. Specifically, if the current temperature of the first device is in the first temperature interval, it is determined that the first device is in a normal use state in terms of temperature control; if the current temperature of the first equipment is in a second temperature interval, determining that the first equipment is in a critical state to be adjusted in temperature control, wherein the second temperature interval is higher than the first temperature interval; and if the current temperature of the first equipment is in a third temperature interval, determining that the first equipment enters a state to be adjusted on the aspect of temperature control, wherein the third temperature interval is higher than the second temperature interval.
For example, the first temperature interval is t < 35 ℃, the second temperature interval is 35 ℃ < t <45 ℃, and the third temperature interval is t > <45 ℃, where t is the current temperature, when the current temperature is in the first temperature interval, it indicates that the first device can normally operate, and at this time, the device temperature on the display screen of the corresponding second device can display green, which indicates that the health degree of the first device is green and healthy (i.e., the device normally operates); when the current temperature is in the second temperature interval, the first device can still operate and is in a critical state, and the device temperature on the display screen of the corresponding second device can display yellow at the moment, so that an early warning indicating that the health degree of the first device is yellow (namely the device is in the critical state to be adjusted) is given; when the current temperature is in the third temperature interval, it is indicated that the first device may have a fault if the first device continues to operate again, and is in a state to be adjusted, and at this time, the device temperature on the display screen of the corresponding second device may display red, which indicates that the health degree of the first device is a red alarm (i.e., the device is in the state to be adjusted), and an alarm is performed.
It should be noted that, under different current temperatures, different colors are displayed on the display screen of the second device, so that the tester can intuitively know the temperature change condition of the first device.
Optionally, the server analyzes the power change of the first device by detecting whether the current remaining power of the first device belongs to the power interval. Specifically, if the current remaining power of the first device is in the first power interval, it is determined that the first device is in a normal use state in power control; if the current remaining electric quantity of the first equipment is in a second electric quantity interval, determining that the first equipment is in a critical state to be adjusted in electric quantity control, wherein the second electric quantity interval is lower than the first electric quantity interval; and if the current remaining electric quantity of the first equipment is within a third electric quantity interval, determining that the first equipment enters a state to be adjusted on the aspect of electric quantity control, wherein the third electric quantity interval is lower than the second electric quantity interval.
For example, the first power interval is b > -90, the second power interval is 30< b <90, and the third power interval is b < -30, where b is the current temperature, when the current remaining power of the first device is in the first power interval, it indicates that the first device can normally operate, and at this time, the device power on the display screen of the corresponding second device can display green, which indicates that the health degree of the first device is green and healthy (i.e., the device normally operates); when the current remaining power is in the second power interval, it is indicated that the first device can still operate and is in a critical state, and at this time, the device power on the display screen of the corresponding second device can display yellow, which indicates that the health degree of the first device is yellow and warns (that is, the device is in a critical state to be adjusted); when the current remaining power is in the third power interval, it indicates that the first device may fail if the first device continues to operate again, and is in a state to be adjusted, and at this time, the device power on the display screen of the corresponding second device may display red, which indicates that the health degree of the first device is a red alarm (i.e., the device is in the state to be adjusted), and an alarm is performed.
Optionally, the server analyzes the networking state change of the first device by detecting whether the network configuration of the first device after the cloud service is ended meets a preset condition. Specifically, if the network configuration of the first device after the cloud service is finished meets a first preset condition, it is determined that the first device is in a normal use state in the networking state control, where the first preset condition includes: the hotspot connected by the first device belongs to hotspots within a pre-specified range, the networking component of the first device is in normal communication, the hotspot setting of the first device is modified during the period that the first device provides the cloud service and is restored after the first device finishes the cloud service; if the network configuration of the first device meets a second preset condition after the cloud service is finished, determining that the first device is in a state to be adjusted in the networking state control, wherein the second preset condition comprises one of the following conditions: the hotspot connected by the first device does not belong to a hotspot within a pre-specified range, the networking component of the first device fails, and the hotspot setting of the first device is modified during the period that the cloud service is provided by the first device but is not restored after the cloud service is finished by the first device.
It should be noted that the hotspots within the pre-specified range are generally secure network hotspots, and if the hotspot connected to the first device does not belong to the hotspot within the pre-specified range, an alarm may be given to remind the tester. In addition, when the first device is not connected with the hotspot or the networking component (for example, a WIFI component) fails, the first device is taken off line, that is, the cloud service is ended, and an alarm is given.
In addition, it should be further described that the networking component is a component for which a tester can perform hot spot connection setting, and the tester can connect the first device to a hot spot of a specified IP address service by setting the networking component. If the first device is restored manually or automatically by the device, but the restoration is not successful, and the hotspot of the specified IP address service is unavailable, the first device cannot continue the cloud service. Wherein the first device auto-restore may be an auto-reconnect hotspot.
Optionally, the server analyzes the memory change of the first device by detecting the remaining memory space of the first device after the cloud service is ended and the size of the preset threshold. Specifically, if the remaining memory space of the first device after the cloud service is ended is greater than or equal to a preset threshold, it is determined that the first device is in a normal use state in memory use control; and if the residual memory space of the first equipment after the cloud service is finished is smaller than a preset threshold value, determining that the first equipment is in a state to be adjusted in the memory use control. For example, if the remaining memory space is less than 200M (i.e., a preset threshold), it may be determined that the first device is in a state to be adjusted and the first device is unavailable, and at this time, the server controls the first device to go offline and perform an alarm.
Optionally, the server analyzes the screen locking state of the first device by detecting whether the first device enters the screen locking state after the cloud service is ended. Specifically, if the first device does not enter the screen locking state all the time after the cloud service is finished, it is determined that the first device is in a normal use state in device operation control; and if the first equipment enters a screen locking state after the cloud service is finished, determining that the first equipment is in a state to be adjusted in equipment operation control. For example, when a tester uses a first device and finishes cloud service, a server detects a screen locking state of the first device, if it is detected that a screen sliding password, a digital password or a fingerprint password and the like are set in the first device, it is determined that the first device is in the screen locking state, and at this time, the server controls the first device to be offline and gives an alarm.
It should be noted that after the plurality of data indexes are analyzed, if the server detects that any one of the data indexes is abnormal, it is determined that the first device cannot continue to provide the cloud service.
Optionally, the first device is applied to one of the following scenarios:
scene one: and performing product performance test on the application to be issued by running the application to be issued on the first equipment of the preset type. The preset type of first device may be a first device installed with a preset type of operating system, for example, the operating system is a first device of an Android system. In addition, the application to be published is an application installed on the first device. It should be noted that the scenario one is a scenario in which the first device tests the product.
Scene two: and performing product compatibility test on the application to be issued by running the application to be issued on a plurality of different types of first equipment. Optionally, the plurality of different types of first devices at least include Android system devices, iOS system devices, IoT devices (i.e., internet of things devices), and the like. It should be noted that the scenario two is a scenario in which the first device performs a product compatibility test on the application to be issued.
Scene three: and performing risk assessment on the application to be submitted to the application store on the first equipment of the preset type according to a preset rule base. It should be noted that the scenario three is a scenario in which the first device performs risk assessment on the application to be published.
Scene four: and statically scanning the installation package of the application to be issued on the first equipment of the preset type to determine the product defects and the optimization mode. It should be noted that the third scenario is a scenario in which the first device performs a product defect and an optimization mode on the application to be issued.
In an alternative embodiment, fig. 4 shows an interaction diagram of the monitoring method for the cloud device based on the foregoing steps S202 to S206, and as can be seen from fig. 4, the process mainly includes the following steps:
step S40, the first device sends the data index to the server;
step S42, the server analyzes the data index and determines the health degree of the first equipment according to the analysis result;
step S44, the server pushes the data index and the health degree of the first equipment to the second equipment;
step S46, the second device may display the data index and the health degree pushed by the server, and the server automatically restores the state of the first device to the available state after detecting that the first device is online again, and pushes the available state to the second device, so that the second device can display the state of the first device, and thus, the user can intuitively determine whether the state of the second device is the available state through the second device.
It should be noted that, as can be seen from the foregoing, the present application can fully utilize the open authority of the operating system, capture various data indexes of the mobile device at an appropriate time, determine and judge the availability of the mobile device according to the data indexes, and further judge the health degree of the mobile device. Whether the mobile equipment can provide cloud service for the user can be determined according to the health degree of the mobile equipment, and the availability of the mobile equipment used by a tester every time is ensured.
Moreover, it is also noted that while for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, it is clear to those skilled in the art that the monitoring method for the cloud device according to the above embodiments may be implemented by software plus a necessary general hardware platform, and may of course be implemented by hardware, but the foregoing is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
Example 2
According to an embodiment of the present application, a monitoring method for a cloud device is further provided, in this embodiment, a device having a display screen may serve as the execution main body of this embodiment, and optionally, a second device in fig. 3 may serve as the execution main body of this embodiment. In addition, fig. 8 shows a flowchart of the monitoring method for the cloud device in this embodiment, and as can be seen from fig. 8, the method includes the following steps:
step S802, receiving an analysis result from the server, where the analysis result is used to indicate whether the device monitored by the server can continue to provide the cloud service, the device is a shared device of the cloud, the analysis result is obtained by analyzing and processing a plurality of data indexes obtained by monitoring the device by the server, and the plurality of data indexes are used to describe an operation state of the device.
It should be noted that the device monitored by the server may be the first device in fig. 3, and optionally, the first device may be a mobile device, for example, a dual-end mobile phone, an internet of things device, and the like. The plurality of data metrics of the first device may include a first type of data metrics and a second type of data metrics, the first type of data metrics including at least: the temperature change of the first equipment and the electric quantity change of the first equipment, and the second type data index at least comprises the following components: the networking state of the first device changes, the memory of the first device changes, the screen locking state of the first device changes, and the like.
In addition, in the process of detecting or debugging the equipment, a tester does not need to purchase multiple pieces of equipment, and the equipment can be detected or debugged only by using the cloud shared equipment. Because the sharing equipment at the cloud is shared, in practical application, a tester can use the sharing equipment at the cloud for testing only by paying the rental fee of the equipment, so that the testing cost is saved.
In an optional embodiment, a preset application runs in the first device, and the preset application may collect a plurality of data indexes of the first device and send the collected data indexes to the server, so that the server can monitor the plurality of data indexes of the first device. And if the server detects that any one of the data indexes does not meet the requirement, determining that the first equipment cannot continue to provide the cloud service. For example, when the server detects that the current temperature of the first device is relatively high (e.g., the current temperature is greater than 45 ℃), it is determined that the first device cannot continue to provide the cloud service. Further, after the server analyzes the plurality of data indexes and obtains an analysis result, the server pushes the analysis result to the second device so that the second device displays the analysis result.
It should be noted that, by monitoring the data index of the cloud shared device, the server can analyze the data index to determine the availability of the cloud shared device.
And step S804, displaying the analysis result.
In step S804, the second device displays the analysis result after obtaining the analysis result. Specifically, the second device first acquires the latest change result and the latest usage state of each of the plurality of data indexes from the analysis result, and then displays the latest change result and the latest usage state in the visualization interface. Wherein the latest usage state comprises one of: a usable state, an occupied state.
Alternatively, fig. 9 shows a schematic diagram of an alternative visualization interface, in which the analysis results are displayed in the form of a table in the visualization interface shown in fig. 9. The visualization interface shown in fig. 9 shows the analysis results of the device 1 and the device 2, in fig. 9, 1 indicates a normal use state, and 0 indicates a state to be adjusted.
Specifically, if the current temperature of the first device is in the first temperature interval (e.g., a0 in fig. 9 is in the first temperature interval), it is determined that the first device is in a normal use state in temperature control; if the current temperature of the first equipment is in a second temperature interval, determining that the first equipment is in a critical state to be adjusted in temperature control, wherein the second temperature interval is higher than the first temperature interval; if the current temperature of the first device is within a third temperature interval (e.g., B0 in fig. 9 is within the third temperature interval), it is determined that the first device has entered the to-be-adjusted state on temperature control, where the third temperature interval is higher than the second temperature interval.
If the current remaining power of the first device is in the first power interval (e.g. a1 in fig. 9 is in the first power interval), determining that the first device is in a normal use state in power control; if the current remaining electric quantity of the first equipment is in a second electric quantity interval, determining that the first equipment is in a critical state to be adjusted in electric quantity control, wherein the second electric quantity interval is lower than the first electric quantity interval; if the current remaining power of the first device is within a third power interval (e.g., B1 in fig. 9 is within the third power interval), it is determined that the first device has entered the state to be adjusted in power control, where the third power interval is lower than the second power interval.
If the network configuration of the first device after the cloud service is ended meets a first preset condition (e.g., a2 in fig. 9 meets the first preset condition), determining that the first device is in a normal use state on the networking state control, where the first preset condition includes: the hotspot connected by the first device belongs to hotspots within a pre-specified range, the networking component of the first device is in normal communication, the hotspot setting of the first device is modified during the period that the first device provides the cloud service and is restored after the first device finishes the cloud service; if the network configuration of the first device after the cloud service is ended meets a second preset condition (e.g., B2 in fig. 9 meets the second preset condition), determining that the first device is in the to-be-adjusted state under the networking state control, where the second preset condition includes one of: the hotspot connected by the first device does not belong to a hotspot within a pre-specified range, the networking component of the first device fails, and the hotspot setting of the first device is modified during the period that the cloud service is provided by the first device but is not restored after the cloud service is finished by the first device.
If the remaining memory space of the first device after the cloud service is ended is greater than or equal to a preset threshold (for example, a3 in fig. 9 is greater than or equal to the preset threshold), determining that the first device is in a normal use state on the memory use control; if the remaining memory space of the first device after the cloud service is ended is smaller than the preset threshold (e.g., B3 in fig. 9 is smaller than the preset threshold), it is determined that the first device is in the to-be-adjusted state in the memory usage control.
If the first device does not enter the screen locking state all the time after the cloud service is finished (as indicated by a4 in fig. 9 that the device does not enter the screen locking state), determining that the first device is in a normal use state on the device operation control; if the first device enters the screen locking state after the cloud service is finished (as indicated by B4 in fig. 9, the device enters the screen locking state), it is determined that the first device is in the to-be-adjusted state on the device operation control.
As can be seen from fig. 9, in the application, the visual interface can not only show the usage status of the device, but also display the value or status corresponding to each data index, so that the user can determine whether the device can be normally used through the visual interface, and also determine which indexes lead to the device being in the status to be adjusted when the device is in the status to be adjusted, so that the user can more efficiently test the cloud sharing device. In addition, the visual interface shown in fig. 9 may also show data indexes and use states of multiple devices, and a user may select a suitable device through comparison to perform a test as a cloud sharing device, thereby further improving the test efficiency.
Alternatively, the device (i.e. the first device) may be applied in one of the following scenarios:
scene one: and performing product performance test on the application to be issued by running the application to be issued on the first equipment of the preset type. The preset type of first device may be a first device installed with a preset type of operating system, for example, the operating system is a first device of an Android system. In addition, the application to be published is an application installed on the first device. It should be noted that the scenario one is a scenario in which the first device tests the product.
Scene two: and performing product compatibility test on the application to be issued by running the application to be issued on a plurality of different types of first equipment. Optionally, the plurality of different types of first devices at least include Android system devices, iOS system devices, IoT devices (i.e., internet of things devices), and the like. It should be noted that the scenario two is a scenario in which the first device performs a product compatibility test on the application to be issued.
Scene three: and performing risk assessment on the application to be submitted to the application store on the first equipment of the preset type according to a preset rule base. It should be noted that the scenario three is a scenario in which the first device performs risk assessment on the application to be published.
Scene four: and statically scanning the installation package of the application to be issued on the first equipment of the preset type to determine the product defects and the optimization mode. It should be noted that the third scenario is a scenario in which the first device performs a product defect and an optimization mode on the application to be issued.
In the embodiment of the application, a mode of analyzing data indexes of the sharing device is adopted, a plurality of data indexes of the sharing device (namely, the first device) at the cloud end are monitored through the server, the data indexes are analyzed and processed to determine whether the sharing device at the cloud end can continuously provide cloud service, and finally, an analysis result is pushed to the display device (namely, the second device) to be displayed at the front end.
In the above process, the embodiment can determine the availability of the cloud sharing device by analyzing the data indexes of the cloud sharing device, so that the user can use the sharing device capable of providing the cloud service to test when testing, and the problem of low testing efficiency caused by using the unavailable cloud sharing device to test is avoided.
Therefore, the purpose of detecting the availability of the cloud sharing equipment is achieved by the scheme, the technical effect of improving the testing efficiency is achieved, and the technical problem that the testing efficiency is low due to the fact that the unavailable cloud sharing equipment is used for testing because the availability of the cloud sharing equipment cannot be obtained is solved.
Example 3
According to an embodiment of the present application, there is also provided a monitoring apparatus for cloud equipment, for implementing the monitoring method for cloud equipment, as shown in fig. 5, the apparatus 50 includes: a monitoring module 501, an analyzing module 503, and a pushing module 505.
The monitoring module 501 is configured to monitor multiple data indexes of a first device, where the first device is a cloud-based shared device, and the multiple data indexes are used to describe an operating state of the first device; the analysis module 503 is configured to analyze the multiple data indexes to obtain an analysis result, where the analysis result is used to indicate whether the first device can continue to provide the cloud service; and a pushing module 505, configured to push the analysis result to the second device for front-end display.
It should be noted here that the monitoring module 501, the analyzing module 503, and the pushing module 505 correspond to steps S202 to S206 in embodiment 1, and the three modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in the first embodiment. It should be noted that the modules described above as part of the apparatus may be run in the computing device 10 provided in the first embodiment.
In an alternative embodiment, the plurality of data metrics includes: the monitoring module comprises a first type of data indexes and a second type of data indexes: the device comprises a first acquisition module and a second acquisition module. The first acquisition module is used for acquiring a first type of data indexes through a preset application during the period that the first equipment provides cloud service, wherein the first type of data indexes at least comprise: temperature change of the first device, electric quantity change of the first device; the second acquisition module is used for acquiring second-class data indexes through a preset application after the first device finishes cloud service, wherein the first-class data indexes at least comprise: the networking state of the first device changes, the memory of the first device changes, and the screen locking state of the first device.
In an alternative embodiment, the analysis module comprises: the device comprises a first determination module, a second determination module and a third determination module. The first determining module is used for determining that the first equipment is in a normal use state in temperature control if the current temperature of the first equipment is in a first temperature interval; the second determining module is used for determining that the first equipment is in a critical state to be adjusted in temperature control if the current temperature of the first equipment is in a second temperature interval, wherein the second temperature interval is higher than the first temperature interval; and the third determining module is used for determining that the first equipment enters a state to be adjusted on the aspect of temperature control if the current temperature of the first equipment is in a third temperature interval, wherein the third temperature interval is higher than the second temperature interval.
In an alternative embodiment, the analysis module comprises: a fourth determination module, a fifth determination module, and a sixth determination module. The fourth determining module is used for determining that the first equipment is in a normal use state in the aspect of electric quantity control if the current remaining electric quantity of the first equipment is located in the first electric quantity interval; a fifth determining module, configured to determine that the first device is in a critical state to be adjusted in power control if the current remaining power of the first device is within a second power interval, where the second power interval is lower than the first power interval; and a sixth determining module, configured to determine that the first device has entered a state to be adjusted in power control if the current remaining power of the first device is within a third power interval, where the third power interval is lower than the second power interval.
In an alternative embodiment, the analysis module comprises: a seventh determining module and an eighth determining module. The seventh determining module is configured to determine that the first device is in a normal use state in the networking state control if the network configuration of the first device after the cloud service is ended meets a first preset condition, where the first preset condition includes: the hotspot connected by the first device belongs to hotspots within a pre-specified range, the networking component of the first device is in normal communication, the hotspot setting of the first device is modified during the period that the first device provides the cloud service and is restored after the first device finishes the cloud service; an eighth determining module, configured to determine that the first device is in a to-be-adjusted state in the networking state control if the network configuration of the first device meets a second preset condition after the cloud service is ended, where the second preset condition includes one of: the hotspot connected by the first device does not belong to a hotspot within a pre-specified range, the networking component of the first device fails, and the hotspot setting of the first device is modified during the period that the cloud service is provided by the first device but is not restored after the cloud service is finished by the first device.
In an alternative embodiment, the analysis module comprises: a ninth determination module and a tenth determination module. The ninth determining module is configured to determine that the first device is in a normal use state in the memory use control if a remaining memory space of the first device after the cloud service is ended is greater than or equal to a preset threshold; a tenth determining module, configured to determine that the first device is in a state to be adjusted in the memory usage control if a remaining memory space of the first device after the cloud service is ended is smaller than a preset threshold.
In an alternative embodiment, the analysis module comprises: an eleventh determination module and a twelfth determination module. The eleventh determining module is configured to determine that the first device is in a normal use state in device operation control if the first device does not enter the screen locking state all the time after the cloud service is ended; and the twelfth determining module is configured to determine that the first device is in a state to be adjusted in the device operation control if the first device enters the screen locking state after the cloud service is ended.
Optionally, the first device is applied to one of the following scenarios: the method comprises the steps that a product performance test is carried out on an application to be issued by running the application to be issued on a first device of a preset type; performing product compatibility test on the application to be issued by running the application to be issued on a plurality of first devices of different types; performing risk assessment on an application to be submitted to an application store on a first device of a preset type according to a preset rule base; and statically scanning the installation package of the application to be issued on the first equipment of the preset type to determine the product defects and the optimization mode.
Example 4
According to an embodiment of the present application, there is also provided a monitoring system of a cloud device for implementing the monitoring method of the cloud device, as shown in fig. 6, the system includes: a first device 60, a server 62, and a second device 64.
The first device is a cloud-side sharing device; the server is used for monitoring a plurality of data indexes of the first equipment, analyzing the data indexes to obtain an analysis result, and pushing the analysis result to the second equipment, wherein the data indexes are used for describing the running state of the first equipment, and the analysis result is used for indicating whether the first equipment can continue to provide cloud service; the second device is used for displaying the analysis result.
As can be seen from the above, in the embodiment of the application, a manner of analyzing the data indexes of the sharing device is adopted, the server monitors the plurality of data indexes of the sharing device (i.e., the first device) at the cloud, analyzes and processes the plurality of data indexes to determine whether the sharing device at the cloud can continue to provide the cloud service, and finally, pushes the analysis result to the display device (i.e., the second device) for front-end display.
In the process, the usability of the cloud sharing device can be determined by analyzing the data indexes of the cloud sharing device, so that a user can use the cloud sharing device capable of providing cloud service for testing, and the problem of low testing efficiency caused by the fact that the unavailable cloud sharing device is used for testing is solved.
Therefore, the purpose of detecting the availability of the cloud sharing equipment is achieved by the scheme, the technical effect of improving the testing efficiency is achieved, and the technical problem that the testing efficiency is low due to the fact that the unavailable cloud sharing equipment is used for testing because the availability of the cloud sharing equipment cannot be obtained is solved.
It should be noted that the server in this embodiment may execute the monitoring method of the cloud device in embodiment 1, and relevant contents are already described in embodiment 1, and are not described herein again.
Example 5
Embodiments of the present application may provide a computing device that may be any one of a group of computing devices. Optionally, in this embodiment, the computing device may also be replaced with a terminal device such as a mobile terminal.
Optionally, in this embodiment, the computing device may be located in at least one network device of a plurality of network devices of a computer network.
In this embodiment, the computing device may execute program codes of the following steps in the monitoring method for the cloud device: monitoring a plurality of data indexes of first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment; analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide the cloud service; and pushing the analysis result to the second equipment for front-end display.
Optionally, fig. 7 is a block diagram of a computing device according to an embodiment of the present application. As shown in fig. 7, the computing device 10 may include: one or more processors 702 (only one of which is shown), memory 704, and a peripheral interface 706.
The memory may be used to store software programs and modules, such as program instructions/modules corresponding to the security vulnerability detection method and apparatus in the embodiment of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, the above-mentioned method for detecting a system vulnerability attack is implemented. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memories may further include a memory located remotely from the processor, which may be connected to computing device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: monitoring a plurality of data indexes of first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment; analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide the cloud service; and pushing the analysis result to the second equipment for front-end display.
Optionally, the processor may further execute the program code of the following steps: during the period that the first device provides the cloud service, a first type of data indexes are collected through a preset application, wherein the first type of data indexes at least comprise: temperature change of the first device, electric quantity change of the first device; after the first device finishes cloud service, second-class data indexes are collected through a preset application, wherein the first-class data indexes at least comprise: the networking state of the first device changes, the memory of the first device changes, and the screen locking state of the first device. Wherein the plurality of data metrics comprises: a first type of data metrics and a second type of data metrics.
Optionally, the processor may further execute the program code of the following steps: if the current temperature of the first equipment is in the first temperature interval, determining that the first equipment is in a normal use state in temperature control; if the current temperature of the first equipment is in a second temperature interval, determining that the first equipment is in a critical state to be adjusted in temperature control, wherein the second temperature interval is higher than the first temperature interval; and if the current temperature of the first equipment is in a third temperature interval, determining that the first equipment enters a state to be adjusted on the aspect of temperature control, wherein the third temperature interval is higher than the second temperature interval.
Optionally, the processor may further execute the program code of the following steps: if the current remaining electric quantity of the first equipment is in the first electric quantity interval, determining that the first equipment is in a normal use state in electric quantity control; if the current remaining electric quantity of the first equipment is in a second electric quantity interval, determining that the first equipment is in a critical state to be adjusted in electric quantity control, wherein the second electric quantity interval is lower than the first electric quantity interval; and if the current remaining electric quantity of the first equipment is within a third electric quantity interval, determining that the first equipment enters a state to be adjusted on the aspect of electric quantity control, wherein the third electric quantity interval is lower than the second electric quantity interval.
Optionally, the processor may further execute the program code of the following steps: if the network configuration of the first device after the cloud service is finished meets a first preset condition, determining that the first device is in a normal use state in the networking state control, wherein the first preset condition comprises: the hotspot connected by the first device belongs to hotspots within a pre-specified range, the networking component of the first device is in normal communication, the hotspot setting of the first device is modified during the period that the first device provides the cloud service and is restored after the first device finishes the cloud service; if the network configuration of the first device meets a second preset condition after the cloud service is finished, determining that the first device is in a state to be adjusted in the networking state control, wherein the second preset condition comprises one of the following conditions: the hotspot connected by the first device does not belong to a hotspot within a pre-specified range, the networking component of the first device fails, and the hotspot setting of the first device is modified during the period that the cloud service is provided by the first device but is not restored after the cloud service is finished by the first device.
Optionally, the processor may further execute the program code of the following steps: if the residual memory space of the first equipment after the cloud service is finished is larger than or equal to a preset threshold value, determining that the first equipment is in a normal use state in memory use control; and if the residual memory space of the first equipment after the cloud service is finished is smaller than a preset threshold value, determining that the first equipment is in a state to be adjusted in the memory use control.
Optionally, the processor may further execute the program code of the following steps: if the first equipment does not enter the screen locking state all the time after the cloud service is finished, determining that the first equipment is in a normal use state in equipment operation control; and if the first equipment enters a screen locking state after the cloud service is finished, determining that the first equipment is in a state to be adjusted in equipment operation control.
Optionally, the first device is applied to one of the following scenarios: the method comprises the steps that a product performance test is carried out on an application to be issued by running the application to be issued on a first device of a preset type; performing product compatibility test on the application to be issued by running the application to be issued on a plurality of first devices of different types; performing risk assessment on an application to be submitted to an application store on a first device of a preset type according to a preset rule base; and statically scanning the installation package of the application to be issued on the first equipment of the preset type to determine the product defects and the optimization mode.
Optionally, the processor may further execute the program code of the following steps: receiving an analysis result from the server, wherein the analysis result is used for indicating whether the equipment monitored by the server can continue to provide cloud service, the equipment is shared equipment of the cloud, the analysis result is obtained by analyzing and processing a plurality of data indexes obtained by monitoring the equipment by the server, and the plurality of data indexes are used for describing the running state of the equipment; and displaying the analysis result.
Optionally, the processor may further execute the program code of the following steps: obtaining a latest change result and a latest usage state of each data index in the plurality of data indexes from the analysis result, wherein the latest usage state comprises one of the following: a usable state, an occupied state; and displaying the latest change result and the latest use state in a visual interface.
It will be understood by those skilled in the art that the structure shown in fig. 7 is merely an illustration, and the computing device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 7 is a diagram illustrating a structure of the electronic device. For example, computing device 10 may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 6
Embodiments of the present application also provide a storage medium. Optionally, in this embodiment, the storage medium may be configured to store a program code executed by the monitoring method of the cloud device provided in the first embodiment.
Optionally, in this embodiment, the storage medium may be located in any one of computing devices in a computing device group in a computer network, or in any one of mobile terminals in a mobile terminal group.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: monitoring a plurality of data indexes of first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment; analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide the cloud service; and pushing the analysis result to the second equipment for front-end display.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: during the period that the first device provides the cloud service, a first type of data indexes are collected through a preset application, wherein the first type of data indexes at least comprise: temperature change of the first device, electric quantity change of the first device; after the first device finishes cloud service, second-class data indexes are collected through a preset application, wherein the first-class data indexes at least comprise: the networking state of the first device changes, the memory of the first device changes, and the screen locking state of the first device. Wherein the plurality of data metrics comprises: a first type of data metrics and a second type of data metrics.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: if the current temperature of the first equipment is in the first temperature interval, determining that the first equipment is in a normal use state in temperature control; if the current temperature of the first equipment is in a second temperature interval, determining that the first equipment is in a critical state to be adjusted in temperature control, wherein the second temperature interval is higher than the first temperature interval; and if the current temperature of the first equipment is in a third temperature interval, determining that the first equipment enters a state to be adjusted on the aspect of temperature control, wherein the third temperature interval is higher than the second temperature interval.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: if the current remaining electric quantity of the first equipment is in the first electric quantity interval, determining that the first equipment is in a normal use state in electric quantity control; if the current remaining electric quantity of the first equipment is in a second electric quantity interval, determining that the first equipment is in a critical state to be adjusted in electric quantity control, wherein the second electric quantity interval is lower than the first electric quantity interval; and if the current remaining electric quantity of the first equipment is within a third electric quantity interval, determining that the first equipment enters a state to be adjusted on the aspect of electric quantity control, wherein the third electric quantity interval is lower than the second electric quantity interval.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: if the network configuration of the first device after the cloud service is finished meets a first preset condition, determining that the first device is in a normal use state in the networking state control, wherein the first preset condition comprises: the hotspot connected by the first device belongs to hotspots within a pre-specified range, the networking component of the first device is in normal communication, the hotspot setting of the first device is modified during the period that the first device provides the cloud service and is restored after the first device finishes the cloud service; if the network configuration of the first device meets a second preset condition after the cloud service is finished, determining that the first device is in a state to be adjusted in the networking state control, wherein the second preset condition comprises one of the following conditions: the hotspot connected by the first device does not belong to a hotspot within a pre-specified range, the networking component of the first device fails, and the hotspot setting of the first device is modified during the period that the cloud service is provided by the first device but is not restored after the cloud service is finished by the first device.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: if the residual memory space of the first equipment after the cloud service is finished is larger than or equal to a preset threshold value, determining that the first equipment is in a normal use state in memory use control; and if the residual memory space of the first equipment after the cloud service is finished is smaller than a preset threshold value, determining that the first equipment is in a state to be adjusted in the memory use control.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: if the first equipment does not enter the screen locking state all the time after the cloud service is finished, determining that the first equipment is in a normal use state in equipment operation control; and if the first equipment enters a screen locking state after the cloud service is finished, determining that the first equipment is in a state to be adjusted in equipment operation control.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the method comprises the steps that a product performance test is carried out on an application to be issued by running the application to be issued on a first device of a preset type; performing product compatibility test on the application to be issued by running the application to be issued on a plurality of first devices of different types; performing risk assessment on an application to be submitted to an application store on a first device of a preset type according to a preset rule base; and statically scanning the installation package of the application to be issued on the first equipment of the preset type to determine the product defects and the optimization mode.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: receiving an analysis result from the server, wherein the analysis result is used for indicating whether the equipment monitored by the server can continue to provide cloud service, the equipment is shared equipment of the cloud, the analysis result is obtained by analyzing and processing a plurality of data indexes obtained by monitoring the equipment by the server, and the plurality of data indexes are used for describing the running state of the equipment; and displaying the analysis result.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: obtaining a latest change result and a latest usage state of each data index in the plurality of data indexes from the analysis result, wherein the latest usage state comprises one of the following: a usable state, an occupied state; and displaying the latest change result and the latest use state in a visual interface.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.
Claims (16)
1. A monitoring method of cloud equipment is characterized by comprising the following steps:
monitoring a plurality of data indexes of first equipment, wherein the first equipment is shared equipment of a cloud end, and the data indexes are used for describing the running state of the first equipment;
analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide cloud service;
and pushing the analysis result to second equipment for front-end display.
2. The method of claim 1, wherein the plurality of data metrics comprises: a first type of data indicator and a second type of data indicator, monitoring the plurality of data indicators of the first device comprising:
during the period that the first device provides cloud service, the first type of data indexes are collected through a preset application, wherein the first type of data indexes at least comprise: a change in temperature of the first device, a change in power of the first device;
after the first device finishes cloud service, collecting the second type of data indexes through the preset application, wherein the second type of data indexes at least comprise: the networking state of the first device changes, the memory of the first device changes, and the screen locking state of the first device.
3. The method of claim 2, wherein analyzing the plurality of data metrics to obtain the analysis result comprises:
if the current temperature of the first equipment is in a first temperature interval, determining that the first equipment is in a normal use state in temperature control;
if the current temperature of the first equipment is in a second temperature interval, determining that the first equipment is in a critical state to be adjusted in temperature control, wherein the second temperature interval is higher than the first temperature interval;
and if the current temperature of the first equipment is in a third temperature interval, determining that the first equipment enters a state to be adjusted on the aspect of temperature control, wherein the third temperature interval is higher than the second temperature interval.
4. The method of claim 2, wherein analyzing the plurality of data metrics to obtain the analysis result comprises:
if the current remaining electric quantity of the first equipment is in a first electric quantity interval, determining that the first equipment is in a normal use state in electric quantity control;
if the current remaining electric quantity of the first equipment is in a second electric quantity interval, determining that the first equipment is in a critical state to be adjusted in electric quantity control, wherein the second electric quantity interval is lower than the first electric quantity interval;
and if the current remaining electric quantity of the first equipment is within a third electric quantity interval, determining that the first equipment enters a state to be adjusted on electric quantity control, wherein the third electric quantity interval is lower than the second electric quantity interval.
5. The method of claim 2, wherein analyzing the plurality of data metrics to obtain the analysis result comprises:
if the network configuration of the first device after the cloud service is finished meets a first preset condition, determining that the first device is in a normal use state on the networking state control, wherein the first preset condition comprises: the hotspot connected by the first device belongs to a hotspot within a pre-specified range, the networking component of the first device normally communicates, and the hotspot setting of the first device is modified during the cloud service provided by the first device and is restored after the cloud service is finished by the first device;
determining that the first device is in a state to be adjusted in networking state control if the network configuration of the first device meets a second preset condition after the cloud service is ended, wherein the second preset condition comprises one of the following conditions: the hotspot connected by the first device does not belong to a hotspot within a pre-specified range, a networking component of the first device fails, and the hotspot setting of the first device is modified during the cloud service provision of the first device but is not restored after the cloud service is finished by the first device.
6. The method of claim 2, wherein analyzing the plurality of data metrics to obtain the analysis result comprises:
if the residual memory space of the first equipment after the cloud service is finished is larger than or equal to a preset threshold value, determining that the first equipment is in a normal use state on memory use control;
and if the residual memory space of the first equipment after the cloud service is finished is smaller than a preset threshold value, determining that the first equipment is in a state to be adjusted in memory use control.
7. The method of claim 2, wherein analyzing the plurality of data metrics to obtain the analysis result comprises:
if the first equipment does not enter a screen locking state all the time after the cloud service is finished, determining that the first equipment is in a normal use state in equipment operation control;
and if the first equipment enters a screen locking state after the cloud service is finished, determining that the first equipment is in a state to be adjusted in equipment operation control.
8. The method according to any of claims 1 to 7, characterized in that the first device is applied in one of the following scenarios:
the method comprises the steps that a product performance test is carried out on an application to be issued by running the application to be issued on a preset type of first equipment;
performing product compatibility test on the application to be issued by running the application to be issued on a plurality of different types of first equipment;
performing risk assessment on the application to be submitted to the application store on the first equipment of a preset type according to a preset rule base;
and statically scanning the installation package of the application to be issued on the first equipment of the preset type to determine the product defects and the optimization mode.
9. A monitoring method of cloud equipment is characterized by comprising the following steps:
receiving an analysis result from a server, wherein the analysis result is used for indicating whether equipment monitored by the server can continue to provide cloud service, the equipment is shared equipment of a cloud, the analysis result is obtained by analyzing and processing a plurality of data indexes obtained by monitoring the equipment by the server, and the data indexes are used for describing the running state of the equipment;
and displaying the analysis result.
10. The method of claim 9, wherein the plurality of data metrics comprises: a first type of data metrics and a second type of data metrics, the first type of data metrics including at least: a change in temperature of the device, a change in power of the device; the second type data index at least comprises: the networking state of the device changes, the memory of the device changes, and the screen locking state of the device.
11. The method of claim 9, wherein displaying the analysis results comprises:
obtaining a latest change result and a latest usage status of each of the plurality of data indicators from the analysis result, wherein the latest usage status comprises one of: a usable state, an occupied state;
and displaying the latest change result and the latest use state in a visual interface.
12. The method according to claim 9, characterized in that the device is applied in one of the following scenarios:
the method comprises the steps that a product performance test is carried out on an application to be issued by running the application to be issued on a preset type of equipment;
performing product compatibility test on the application to be issued by running the application to be issued on a plurality of different types of equipment;
performing risk assessment on the application to be submitted to the application store on the preset type of equipment according to a preset rule base;
and statically scanning the installation package of the application to be issued on the preset type of equipment to determine the product defects and the optimization mode.
13. A monitoring device of cloud equipment is characterized by comprising:
the system comprises a monitoring module, a processing module and a display module, wherein the monitoring module is used for monitoring a plurality of data indexes of first equipment, the first equipment is shared equipment of a cloud, and the data indexes are used for describing the running state of the first equipment;
the analysis module is used for analyzing the data indexes to obtain an analysis result, wherein the analysis result is used for indicating whether the first equipment can continue to provide cloud service;
and the pushing module is used for pushing the analysis result to second equipment for front-end display.
14. A storage medium, comprising a stored program, wherein when the program runs, a device in the storage medium is controlled to execute the monitoring method of the cloud device according to any one of claims 1 to 8 or the monitoring method of the cloud device according to any one of claims 9 to 12.
15. A processor, configured to execute a program, wherein the program executes the method for monitoring the cloud device according to any one of claims 1 to 8 or the method for monitoring the cloud device according to any one of claims 9 to 12.
16. A monitoring system of cloud equipment is characterized by comprising:
the first equipment is shared equipment of a cloud end;
the server is used for monitoring a plurality of data indexes of first equipment, analyzing the data indexes to obtain an analysis result, and pushing the analysis result to second equipment, wherein the data indexes are used for describing the running state of the first equipment, and the analysis result is used for indicating whether the first equipment can continue to provide cloud service;
and the second equipment is used for displaying the analysis result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010036597.0A CN113190430A (en) | 2020-01-14 | 2020-01-14 | Monitoring method, device and system for cloud equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010036597.0A CN113190430A (en) | 2020-01-14 | 2020-01-14 | Monitoring method, device and system for cloud equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113190430A true CN113190430A (en) | 2021-07-30 |
Family
ID=76972633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010036597.0A Pending CN113190430A (en) | 2020-01-14 | 2020-01-14 | Monitoring method, device and system for cloud equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113190430A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB201418088D0 (en) * | 2014-10-13 | 2014-11-26 | Copernicus Technology Ltd And Universal Synaptics Corp | Health monitoring and indication system for intermittent Fault detection test equipment |
CN105183564A (en) * | 2015-09-30 | 2015-12-23 | 北京奇虎科技有限公司 | Equipment scheduling method, device and system based on cloud testing platform |
CN105279017A (en) * | 2015-09-30 | 2016-01-27 | 北京奇虎科技有限公司 | Cloud test platform based task distribution method, apparatus and system |
CN109756397A (en) * | 2019-01-08 | 2019-05-14 | 深圳市网心科技有限公司 | A kind of hardware sharing method, system and relevant device |
-
2020
- 2020-01-14 CN CN202010036597.0A patent/CN113190430A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB201418088D0 (en) * | 2014-10-13 | 2014-11-26 | Copernicus Technology Ltd And Universal Synaptics Corp | Health monitoring and indication system for intermittent Fault detection test equipment |
CN105183564A (en) * | 2015-09-30 | 2015-12-23 | 北京奇虎科技有限公司 | Equipment scheduling method, device and system based on cloud testing platform |
CN105279017A (en) * | 2015-09-30 | 2016-01-27 | 北京奇虎科技有限公司 | Cloud test platform based task distribution method, apparatus and system |
CN109756397A (en) * | 2019-01-08 | 2019-05-14 | 深圳市网心科技有限公司 | A kind of hardware sharing method, system and relevant device |
Non-Patent Citations (3)
Title |
---|
LIU, CH (LIU, CHIEN-HUNG): "A compatibility testing platform for android multimedia applications", MULTIMEDIA TOOLS AND APPLICATIONS, vol. 78, no. 4, 25 April 2019 (2019-04-25), pages 4885 - 4904, XP036741682, DOI: 10.1007/s11042-018-6268-y * |
崔文聪 等: "应用自动化测试工具提高移动客户端测试效率的实践", 现代电视技术, no. 203, 15 May 2018 (2018-05-15), pages 138 - 143 * |
常晓荣;张春光;王思宁;张俊伟;吴佳梅;: "电网云测试服务平台的设计与应用", 电信科学, no. 07, 20 July 2017 (2017-07-20) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108683562B (en) | Anomaly detection positioning method and device, computer equipment and storage medium | |
CN107480066B (en) | Code coverage rate statistical method, device, storage medium, processor and terminal | |
CN103568863B (en) | Real-time monitoring and diagnosing system and method for battery management system of electric vehicle | |
CN108900319B (en) | Fault detection method and device | |
CN113033722B (en) | Sensor data fusion method and device, storage medium and computing equipment | |
CN110138637B (en) | Test data processing method and device, computer equipment and storage medium | |
CN111983492A (en) | Battery health analysis method, device and equipment | |
CN111008026A (en) | Cluster management method, device and system | |
CN113225760B (en) | Network testing method and equipment | |
CN117061335A (en) | Cloud platform equipment health management and control method and device, storage medium and electronic equipment | |
CN114138771B (en) | Abnormal data processing method and device and electronic equipment | |
CN114167132A (en) | Power consumption detection method and device of wireless terminal, electronic equipment and storage medium | |
CN111654405B (en) | Method, device, equipment and storage medium for fault node of communication link | |
CN113190430A (en) | Monitoring method, device and system for cloud equipment | |
CN112822073A (en) | Test method, device, system, electronic equipment and readable storage medium | |
CN112434904A (en) | Electric power data communication verification system in electric power network | |
CN115623464B (en) | Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter | |
CN115757169A (en) | Interface automation test-based judgment method and device and storage medium | |
CN115801618A (en) | Method, device, platform, equipment and medium for testing stability of microservice application | |
CN115373916A (en) | Abnormality detection method, abnormality detection device, electronic apparatus, and computer-readable storage medium | |
CN113835961A (en) | Alarm information monitoring method, device, server and storage medium | |
CN110290545A (en) | A kind of online keepalive method of wireless telecom equipment | |
CN118041753B (en) | Fault analysis method, device and equipment of eSIM terminal equipment and storage medium | |
CN117648561A (en) | Method, device, nonvolatile storage medium and computer equipment for checking data | |
CN111855155B (en) | Detection method and detection device for display fault and readable 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 |