CN111966562A - Monitoring method and device of cloud platform and readable storage medium - Google Patents

Monitoring method and device of cloud platform and readable storage medium Download PDF

Info

Publication number
CN111966562A
CN111966562A CN202010703179.2A CN202010703179A CN111966562A CN 111966562 A CN111966562 A CN 111966562A CN 202010703179 A CN202010703179 A CN 202010703179A CN 111966562 A CN111966562 A CN 111966562A
Authority
CN
China
Prior art keywords
window
target
cloud platform
elements
triggered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010703179.2A
Other languages
Chinese (zh)
Other versions
CN111966562B (en
Inventor
李彦龙
裴继辉
孟晓宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shiboyun Information Technology Co ltd
Original Assignee
Beijing Shiboyun Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shiboyun Information Technology Co ltd filed Critical Beijing Shiboyun Information Technology Co ltd
Priority to CN202010703179.2A priority Critical patent/CN111966562B/en
Priority claimed from CN202010703179.2A external-priority patent/CN111966562B/en
Publication of CN111966562A publication Critical patent/CN111966562A/en
Application granted granted Critical
Publication of CN111966562B publication Critical patent/CN111966562B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a monitoring method and device for a cloud platform and a readable storage medium. The method comprises the following steps: monitoring whether a window pops up on the cloud platform; if yes, identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation; and if the window is a target window which needs to be triggered by the cloud platform to execute the closing operation, triggering the target window to execute the closing processing operation. Therefore, the type of the window popped up by the cloud platform can be automatically monitored and identified, if the window is identified to be the window needing to be triggered to be closed on the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window, and compared with the prior art, the method and the device for automatically closing the error prompt window popped up on the cloud platform have the positive effects of simplicity and high efficiency, and ensure that the working performance of the cloud platform is not influenced.

Description

Monitoring method and device of cloud platform and readable storage medium
Technical Field
The disclosure relates to the technical field of cloud computing, in particular to a monitoring method and device of a cloud platform and a readable storage medium.
Background
The existing cloud streaming technology can realize that game application, VR application and the like are operated on a cloud platform, the cloud platform collects and codes application pictures and audio generated by application operation and then sends the application pictures and audio to a user terminal in a video stream form, the user terminal decodes and plays the application pictures and audio, the user terminal collects an application control instruction generated by control operation of a user, and the control instruction is uploaded to an application process of a cloud server to respond.
When the application crashes due to program bugs (bugs) of the application or error operation of a user in the running process, an error prompt window pops up on the cloud platform, and the error prompt window pops up by the cloud game process or by an operating system.
In the related technology, a cloud platform administrator can periodically search for an error prompt window appearing on a cloud platform and manually close the error prompt window, and if the method is used, the problems of large workload of workers and low efficiency exist under the condition that the number of deployed servers is large; and if the error prompt window is not closed in time, more and more system resources are consumed along with the accumulation of the error prompt window, and the working performance of the cloud platform is further influenced.
Disclosure of Invention
In view of this, the present disclosure provides a monitoring method and apparatus for a cloud platform, and a readable storage medium, so as to ensure stability of working performance of the cloud platform.
Specifically, the present disclosure is realized by the following technical solutions:
in a first aspect, an embodiment of the present disclosure provides a method for monitoring a cloud platform, where the method is applied to the cloud platform, and the method includes:
monitoring whether a window pops up on the cloud platform;
if yes, identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation;
and if the window is a target window which needs to be triggered by the cloud platform to execute closing operation, triggering the target window to execute closing processing operation.
In a second aspect, an embodiment of the present disclosure provides a monitoring apparatus for a cloud platform, where the apparatus includes:
the monitoring module is used for monitoring whether a window pops up when the window is operated on the cloud platform;
the identification module is used for identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation;
and the window closing module is used for triggering the target window to execute the operation of closing processing.
In a third aspect, the disclosed embodiments provide a machine-readable storage medium having stored thereon several computer instructions, which when executed implement the method according to the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides an electronic device, including: a machine-readable storage medium and a processor, the machine-readable storage medium: storing instruction code, the processor: communicating with a machine-readable storage medium, reading and executing instruction code in the machine-readable storage medium, to implement a method as described in the first aspect.
The monitoring method, the monitoring device and the readable storage medium of the cloud platform provided by the embodiment of the disclosure monitor whether a window pops up when running on the cloud platform, and identify whether the window is a target window which needs to be triggered by the cloud platform to execute a closing operation after the window pops up; and if the window is a target window which needs to be triggered by the cloud platform to execute the closing operation, the cloud platform triggers the target window to execute the closing processing operation. Furthermore, in the application, the type of the window popped up by the cloud platform is automatically monitored and identified, if the window is identified as the window which needs to be triggered to be closed on the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window, compared with the prior art, the method and the device can timely close the error prompt window popped up on the cloud platform, have the positive effects of simplicity and high efficiency, and ensure that the working performance of the cloud platform is not affected.
Drawings
Fig. 1 is a schematic diagram of an application scenario architecture of a monitoring method for a cloud platform according to an exemplary embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a monitoring method for a cloud platform according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart diagram illustrating a method of identifying a target window in accordance with an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating a method for matching an extracted feature element with a target feature element according to an exemplary embodiment of the disclosure;
fig. 5 is a schematic structural diagram of a monitoring apparatus of a cloud platform according to an exemplary embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a schematic diagram of an application scenario architecture of a monitoring method for a cloud platform according to an exemplary embodiment of the present disclosure; referring to fig. 1, in the system architecture, an application process runs on a cloud platform, in the running process of the application process, the cloud platform receives an application process running control instruction, which is sent by a user terminal and is triggered by a control operation of a user, through a network, executes corresponding logic processing by calling the application process, responds to the operation instruction to generate application data, the cloud platform renders the application data to obtain an application picture, collects the application picture and audio output by a cloud game to an audio system, codes the collected game picture and audio and then transmits the coded game picture and audio to the user terminal in real time through the network in the form of a video stream, and the user terminal decodes and displays the received video stream.
An application process is crashed due to program bugs (bugs) of the application process or error operation of a user in the running process, an error prompt window is popped up on a cloud platform when the application process is crashed, the error prompt window is popped up by the cloud game process or by a certain process of an operating system aiming at different applications, or the error prompt window is popped up by the application process and the certain process of the operating system at the same time, the error prompt window popped up by the application process (the window and the application process are the same process at this time, or the process of the application process and the window is a parent-child process), the terminal and the cloud platform are always in an application connection state before the error prompt window is closed, and at this time, because the application process is crashed, the cloud platform does not perform rendering and acquisition coding work of the application picture any more, in the mode, after waiting for a period of time, the user can automatically quit the application process because the terminal is still in the black screen state, and the user experience can be seriously influenced; and after the application process exits, the user terminal immediately disconnects the application connection with the cloud platform, so that the user can restart one application process to continue using the application, and the error prompt window popped up on the cloud platform under the scene needs to be manually closed by a cloud platform administrator at regular intervals.
In order to close the error prompt window in time, the application provides a monitoring method and device of a cloud platform and a readable storage medium. The present application is described in detail below with reference to specific examples.
Fig. 2 is a flowchart illustrating a monitoring method for a cloud platform according to an exemplary embodiment of the present disclosure; referring to FIG. 2, the method includes the following steps S10-S30:
and S10, monitoring whether a window pops up on the cloud platform.
The window may be a window popped up from a screen display window of the application process, or may be a window popped up from a display desktop.
The monitoring method provided in the embodiment of the application is applied to a cloud platform, and the cloud platform monitors whether a window pops up on the cloud platform in real time or at regular time (for example, monitoring once every 20 ms).
Illustratively, the cloud platform monitors whether a window pops up at present by calling a window enumeration function of an operating system to perform a window enumeration mode.
And S20, if yes, identifying whether the window is a target window which needs to be triggered by the cloud platform to execute a closing operation.
The window which needs to be triggered by the cloud platform to execute the closing operation refers to a crash prompt window of the application process, a crash prompt window of the operating system and the like.
And S30, if the window is a target window which needs to be triggered by the cloud platform to execute closing operation, triggering the target window to execute closing processing operation.
Optionally, the cloud platform triggers the target window object to execute the window closing operation by sending a closing message to the handle corresponding to the target window object.
In an embodiment of the present application, before triggering the target window to execute the closing process, the method further includes the following steps a10-a 20:
and step A10, obtaining an image of the target window.
In this embodiment, the image of the target window may be obtained by capturing a screen of the target window.
And A20, correspondingly storing the image and the information of the target window.
Exemplarily, the image of the target window is named according to a format containing information such as an application name and current time information and then is stored, so that the follow-up query of workers is facilitated; and the cloud platform deletes the information of the image and the window regularly.
In the embodiment of the application, the cloud platform automatically monitors and identifies the type of the popped-up window, if the window is identified as a window which needs to be triggered to be closed on the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window, and then can timely close the popped-up error (crash) prompt window on the cloud platform, so that the method has the positive effects of simplicity and high efficiency, and the working performance of the cloud platform is not influenced by window accumulation.
FIG. 3 is a flow chart diagram illustrating a method of identifying a target window in accordance with an exemplary embodiment of the present disclosure; referring to fig. 3, in the step S20, identifying whether the window is a target window that needs to be triggered by the cloud platform to perform a closing operation includes the following steps:
s201, extracting characteristic elements contained in the window.
In the embodiment of the present application, the above feature elements may include: the text element and the image element may be only a text element or only an image element.
S202, matching the extracted feature elements with target feature elements, and if feature elements which are consistent with the target feature elements in matching exist, identifying the window as a target window which needs to be triggered by the cloud platform to execute closing operation.
The target feature element is a symbolic element contained in a window that needs to be triggered by the cloud platform to perform a closing operation.
For example, the target feature element may refer to a keyword for characterizing that a window containing the keyword is a crash prompt window, and the keyword is, for example, "error", "warning", "crash", "oop", "crash", "stop", or the like. The target feature element may be an icon containing an exclamation mark, cross mark, or other error warning effect.
And S203, if not, identifying that the window is not a target window which needs to be triggered by the cloud platform to be closed.
In the embodiment of the application, if the window does not contain the feature elements matched and consistent with the target feature elements, the window is determined not to need to be triggered by the cloud platform to execute the closing operation, and the cloud platform does not execute the operation of triggering the window to close.
In the embodiment of the application, the cloud platform can identify and close a popped error prompt window (whether popped by an application process or an operating system), the target characteristic element can be a common characteristic element in the error prompt window popped by the application process or the operating system, and further, the cloud platform can not distinguish who pops the error prompt window, and the window can be triggered to be closed after the error prompt window is identified.
FIG. 4 is a schematic diagram illustrating a method for matching an extracted feature element with a target feature element according to an exemplary embodiment of the disclosure; referring to fig. 4, since the user experience is seriously affected when a window popped up by an application process is closed by mistake, in the embodiment of the present application, in order to further more accurately identify an error prompt window popped up by the application process itself, in the step S202, the extracted feature elements are matched with target feature elements, and if there are feature elements that are matched with the target feature elements, the window is identified as a target window that needs to be triggered by the cloud platform to perform a closing operation; the method specifically comprises the following steps S2021-S2024:
s2021, if the process of the window is the monitored application process or a sub-process of the monitored application process, searching a target feature element set adapted to the applied process, and if the target feature element set is searched, matching the extracted feature element with a first target feature element in the target feature element set.
In this embodiment, for example, in the application adaptation process, a feature element set corresponding to the application is set according to a test result of the application in a test link, where the feature element set includes an identifier of the application and a first target feature element used for characterizing a crash prompt window.
S2022, if the feature elements are matched and consistent with the first target feature elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute a closing operation.
In this embodiment, the extracted feature elements of the window are matched with the first feature elements in the target feature element set one by one, and if the feature elements of the window include feature elements consistent with the first target feature elements, the window is determined to be a target window that needs to be triggered by the cloud platform to execute a closing operation.
In an optional embodiment, to further improve the accuracy of identification, when the feature elements of the extracted window are matched with the first target feature element in the target feature element set, it is determined whether the window is a target window that needs to be triggered by the cloud platform to execute a closing operation according to the degree of matching.
Illustratively, the ratio of the number of the hit first target characteristic elements in all elements in the set is calculated, and if the ratio is greater than a specified ratio, the window is determined to be a target window which needs to be triggered by the cloud platform to execute a closing operation.
For another example, the first target feature elements included in the set are analyzed and set in advance according to experience values or big data, and include positive feature elements whose characterization windows need to be triggered by the cloud platform to execute a closing operation and negative feature elements whose characterization windows need not be triggered by the cloud platform to execute a closing operation, the positive feature elements and the negative feature elements are respectively provided with corresponding probability scores, the probability scores of the positive feature elements are positive values, and the probability scores of the negative feature elements are negative values, so that when the extracted feature elements of the window are matched with the first feature elements in the target feature set, the probability scores of the hit first feature elements are summed, and whether the window is the target window which needs to be triggered by the cloud platform to execute a closing operation is determined according to the obtained result values.
And if the characteristic elements which are matched with the first target characteristic elements and are consistent do not exist in the characteristic elements, identifying that the window is not a target window which needs to be triggered by the cloud platform to be closed.
S2023, if the target feature element set matched with the application process is not found, matching the extracted feature elements with second target feature elements in the general feature element set.
In the embodiment of the application, for the situation that the feature element set corresponding to the cloud game cannot be obtained according to the test result, if the feature element set corresponding to the application cannot be set during application adaptation, when whether the window is a target window which needs to be triggered by a cloud platform to execute a closing operation is identified, the extracted feature elements of the window are matched with second target feature elements in the general feature element set.
The general feature element set comprises general feature elements which characterize the windows as crash prompt windows (including the crash prompt windows popped up by the application process and the crash prompt windows popped up by the operating system), and further, if the windows are not popped up by the application process, matching is carried out through the feature elements in the general feature element set.
And S2024, if the feature elements are matched and consistent with the second target feature elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute a closing operation.
In the embodiment of the application, when the application general characteristic element set identifies whether the window is a target window, if the window is finally identified as the target window, before the target window is triggered to execute a closing operation, screenshot is performed on the target window, and the obtained image, time information, application information, an identifier of the target characteristic element set which is not matched with the application process and the like are correspondingly stored. And then, the management personnel can conveniently refer to the application, and a target characteristic element set matched with the application is formulated according to the stored historical collapse data of the application.
In this embodiment of the application, if there is no feature element that matches with the second target feature element in the feature elements, it is identified that the window is not a target window that needs to be triggered by the cloud platform to perform a closing operation, and the target window is not triggered to perform the closing operation.
In another possible embodiment of the present application, after triggering the target window to perform the closing processing operation, the cloud platform further performs the following step B10:
and step B10, updating the statistical times of the application pop-up crash windows, and reporting the application information and the corresponding crash information to a central management website if the times of the application pop-up crash windows exceed a specified value.
In this embodiment, if the application pops up the crash prompt window, the crash times of the application (including each process of the application) are counted in real time, and when the crash times of the application exceed a specified value, information (such as the crash times, a name, a deployed server, and the like) of the application is uploaded to a central management website, so that a manager can monitor the running condition of the application.
In the method, the cloud platform uploads the information of the application to the central management website and also uploads the stored images, time information and the like of the crash prompt window. Or the cloud platform responds to a crash information acquisition request of the central management website about the application, and uploads the stored images, time information and the like of the crash prompt window to the central management website for a manager to check and analyze.
In another possible embodiment of the present application, after sending the close message to the handle corresponding to the target window object, the cloud platform detects whether the target window is successfully closed, and if not, prompts or controls to force the process of the target window to exit.
Optionally, the cloud platform also prompts the manager that the target window is not closed successfully by sending a prompt message to the central management website. The cloud platform triggers the process forced exit of the target window in a mode of sending a forced exit message to the target window object or calls a process management function of an operating system to control the process forced exit of the target window.
Fig. 5 is a schematic structural diagram of a monitoring apparatus of a cloud platform according to an exemplary embodiment of the present disclosure; referring to fig. 5, the apparatus includes:
a monitoring module 401, configured to monitor whether a window pops up while running on the cloud platform;
an identifying module 402, configured to identify whether the window is a target window that needs to be triggered by the cloud platform to perform a closing operation;
a window closing module 403, configured to trigger the target window to execute an operation of closing processing.
Optionally, the identifying module 402 is specifically configured to:
extracting characteristic elements contained in the window;
matching the extracted feature elements with target feature elements, and if feature elements which are consistent with the target feature elements in matching exist, identifying the window as a target window which needs to be triggered by the cloud platform to execute closing operation;
and if not, identifying that the window is not a target window which needs to be triggered by the cloud platform to execute the closing operation.
Optionally, the identifying module 402 is specifically configured to:
if the process of the window is an application process or a sub-process of the application process, searching a target characteristic element set matched with the applied process, and if the target characteristic element set is searched, matching the extracted characteristic element with a first target characteristic element in the target characteristic element set;
if the characteristic elements which are matched with the first target characteristic elements in a consistent manner exist in the characteristic elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute a closing operation;
if the target characteristic element set matched with the application process is not found, matching the extracted characteristic elements with second target characteristic elements in a general characteristic element set;
and if the characteristic elements which are matched with the second target characteristic elements in a consistent manner exist in the characteristic elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute a closing operation.
Optionally, the apparatus further includes:
and an updating module (not shown in the figure) configured to update the statistical number of times that the crash window is popped up by the application, and report the information of the application and the corresponding crash information to a central management website if the number of times that the crash window is popped up by the application exceeds a specified value.
Optionally, the feature element includes:
text elements and/or image elements.
Optionally, the apparatus further includes:
an obtaining module (not shown in the figure) for obtaining an image of the target window;
and a storage module (not shown in the figure) for correspondingly storing the image and the information of the target window.
Optionally, the window closing module 403 is specifically configured to:
and sending a closing message to a handle corresponding to the target window object, and triggering the target window object to execute window closing operation.
Optionally, the apparatus further comprises:
and a detection module (not shown in the figure) for detecting whether the target window is successfully closed, and if not, prompting or controlling to make the process of the target window exit forcibly.
In another embodiment of the present disclosure, a machine-readable storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the monitoring method for a cloud platform described above are implemented. The method and the device have the advantages that the type of the window popped up by the cloud platform is automatically monitored and recognized, if the window is recognized as the window needing to be triggered to be closed on the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window, compared with the prior art, the method and the device can timely close the error prompt window popped up on the cloud platform, the positive effect of simplicity and high efficiency is achieved, and the working performance of the cloud platform is not affected.
Fig. 6 is a schematic structural diagram of an electronic device shown in an embodiment of the present disclosure. Referring to fig. 6, the electronic device 500 includes at least a memory (machine-readable storage medium) 502 and a processor 501; the memory 502 is connected to the processor 501 through a communication bus 503, and is used for storing instruction codes executable by the processor 501; the processor 501 is configured to read and execute instruction codes from the memory 502 to implement the steps of the monitoring method of the cloud platform according to any of the above embodiments. The method and the device have the advantages that the type of the window popped up by the cloud platform is automatically monitored and recognized, if the window is recognized as the window needing to be triggered to be closed on the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window, compared with the prior art, the method and the device can timely close the error prompt window popped up on the cloud platform, the positive effect of simplicity and high efficiency is achieved, and the working performance of the cloud platform is not affected.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and 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 modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Computers suitable for executing computer programs include, for example, general and/or special purpose microprocessors, or any other type of central processing unit. Generally, a central processing unit will receive instructions and data from a read-only memory and/or a random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer does not necessarily have such a device. Moreover, a computer may be embedded in another device, e.g., a mobile telephone, a Personal Digital Assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device such as a Universal Serial Bus (USB) flash drive, to name a few.
Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., an internal hard disk or a removable disk), magneto-optical disks, and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features specific to particular embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. In other instances, features described in connection with one embodiment may be implemented as discrete components or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Further, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A monitoring method of a cloud platform is characterized by comprising the following steps:
monitoring whether a window pops up on the cloud platform;
if yes, identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation;
and if the window is a target window which needs to be triggered by the cloud platform to execute closing operation, triggering the target window to execute closing processing operation.
2. The method of claim 1, wherein the identifying whether the window is a target window that needs to be triggered by the cloud platform to perform a close operation comprises:
extracting characteristic elements contained in the window;
matching the extracted feature elements with target feature elements, and if feature elements which are consistent with the target feature elements in matching exist, identifying the window as a target window which needs to be triggered by the cloud platform to execute closing operation;
and if not, identifying that the window is not a target window which needs to be triggered by the cloud platform to execute the closing operation.
3. The method according to claim 2, wherein the matching the extracted feature elements with target feature elements, and if there are feature elements matching with the target feature elements, identifying the window as a target window that needs to be triggered by the cloud platform to perform a closing operation includes:
if the process of the window is the monitored application process or a sub-process of the monitored application process, searching a target characteristic element set matched with the monitored application process, and if the target characteristic element set is searched, matching the extracted characteristic element with a first target characteristic element in the target characteristic element set;
if the characteristic elements which are matched with the first target characteristic elements in a consistent manner exist in the characteristic elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute a closing operation;
if the target characteristic element set matched with the application process is not found, matching the extracted characteristic elements with second target characteristic elements in a general characteristic element set;
and if the characteristic elements which are matched with the second target characteristic elements in a consistent manner exist in the characteristic elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute a closing operation.
4. The method of claim 3, wherein after the processing operation that triggers the target window to close, the method further comprises:
and updating the statistical times of the application pop-up crash windows, and reporting the information of the application and the corresponding crash information to a central management website if the times of the application pop-up crash windows exceed a specified value.
5. The method according to any one of claims 1-4, wherein the feature elements comprise:
text elements and/or image elements.
6. The method according to any one of claims 1-4, wherein before the operation of triggering the target window to perform the closing process, the method comprises:
obtaining an image of the target window;
and correspondingly storing the image and the information of the target window.
7. The method according to any one of claims 1-4, wherein the performing the closing operation of the target window comprises:
and sending a closing message to a handle corresponding to the target window object, and triggering the target window object to execute window closing operation.
8. The method of claim 7, wherein after sending a close message to the handle corresponding to the target window object, the method further comprises:
and detecting whether the target window is closed successfully or not, and if not, prompting or controlling to make the process of the target window quit forcibly.
9. A monitoring device of a cloud platform, the device comprising:
the monitoring module is used for monitoring whether a window pops up when the window is operated on the cloud platform;
the identification module is used for identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation;
and the window closing module is used for triggering the target window to execute the operation of closing processing.
10. A machine-readable storage medium having stored thereon computer instructions which, when executed, perform the method of any one of claims 1-8.
CN202010703179.2A 2020-07-21 Cloud platform monitoring method and device and readable storage medium Active CN111966562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010703179.2A CN111966562B (en) 2020-07-21 Cloud platform monitoring method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010703179.2A CN111966562B (en) 2020-07-21 Cloud platform monitoring method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111966562A true CN111966562A (en) 2020-11-20
CN111966562B CN111966562B (en) 2024-07-02

Family

ID=

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125149A1 (en) * 2002-12-30 2004-07-01 Eugene Lapidous Method and apparatus for managing display of popup windows
CN102591718A (en) * 2012-02-06 2012-07-18 中标软件有限公司 Touch screen intelligent terminal and multitask window management method for same
CN104461542A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Method and device for pop-up box warning processing
CN105677535A (en) * 2016-01-04 2016-06-15 广东威创视讯科技股份有限公司 Window exception handling method and device
CN106126562A (en) * 2016-06-15 2016-11-16 广东欧珀移动通信有限公司 A kind of pop-up hold-up interception method and terminal
CN107273145A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of method of managing software and device, terminal
CN107797841A (en) * 2017-11-21 2018-03-13 广东欧珀移动通信有限公司 Window control method, apparatus, terminal device and storage medium
CN108427633A (en) * 2017-02-15 2018-08-21 腾讯科技(深圳)有限公司 The processing method and processing device of display interface
CN108628657A (en) * 2018-05-09 2018-10-09 深圳壹账通智能科技有限公司 Pop-up processing method, device, computer equipment and storage medium
CN109558233A (en) * 2018-11-29 2019-04-02 北京北信源信息安全技术有限公司 Window process management method, device, storage medium and server
CN109753425A (en) * 2017-11-06 2019-05-14 腾讯科技(深圳)有限公司 Pop-up processing method and processing device
CN110413476A (en) * 2019-06-20 2019-11-05 平安普惠企业管理有限公司 Webpage collapses monitor method, device, computer equipment and storage medium
CN111078236A (en) * 2019-12-18 2020-04-28 中国建设银行股份有限公司 Automatic software installation method and system, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125149A1 (en) * 2002-12-30 2004-07-01 Eugene Lapidous Method and apparatus for managing display of popup windows
CN102591718A (en) * 2012-02-06 2012-07-18 中标软件有限公司 Touch screen intelligent terminal and multitask window management method for same
CN104461542A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Method and device for pop-up box warning processing
CN105677535A (en) * 2016-01-04 2016-06-15 广东威创视讯科技股份有限公司 Window exception handling method and device
CN107273145A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of method of managing software and device, terminal
CN106126562A (en) * 2016-06-15 2016-11-16 广东欧珀移动通信有限公司 A kind of pop-up hold-up interception method and terminal
CN108427633A (en) * 2017-02-15 2018-08-21 腾讯科技(深圳)有限公司 The processing method and processing device of display interface
CN109753425A (en) * 2017-11-06 2019-05-14 腾讯科技(深圳)有限公司 Pop-up processing method and processing device
CN107797841A (en) * 2017-11-21 2018-03-13 广东欧珀移动通信有限公司 Window control method, apparatus, terminal device and storage medium
CN108628657A (en) * 2018-05-09 2018-10-09 深圳壹账通智能科技有限公司 Pop-up processing method, device, computer equipment and storage medium
CN109558233A (en) * 2018-11-29 2019-04-02 北京北信源信息安全技术有限公司 Window process management method, device, storage medium and server
CN110413476A (en) * 2019-06-20 2019-11-05 平安普惠企业管理有限公司 Webpage collapses monitor method, device, computer equipment and storage medium
CN111078236A (en) * 2019-12-18 2020-04-28 中国建设银行股份有限公司 Automatic software installation method and system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US20160170818A1 (en) Adaptive fault diagnosis
US7805630B2 (en) Detection and mitigation of disk failures
CN106485261B (en) Image recognition method and device
US20180210774A1 (en) Image based fault state determination
JP2007241872A (en) Program for monitoring change in computer resource on network
CN107357731A (en) Process produces monitoring, analysis and the processing method of core dump problems
CN111130944B (en) System monitoring method and system
CN111666915A (en) Monitoring method, device, equipment and storage medium
CN114756406A (en) Processing method and device for application program crash and electronic equipment
CN114996103A (en) Page abnormity detection method and device, electronic equipment and storage medium
CN111966562B (en) Cloud platform monitoring method and device and readable storage medium
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
CN115331204A (en) Fatigue driving recognition method, system, electronic device and storage medium
US20230359514A1 (en) Operation-based event suppression
CN111966562A (en) Monitoring method and device of cloud platform and readable storage medium
CN110210215B (en) Virus detection method and related device
JP2007241873A (en) Program for monitoring change in computer resource on network
CN110598797A (en) Fault detection method and device, storage medium and electronic device
CN115659351A (en) Information security analysis method, system and equipment based on big data office
CN110601879B (en) Method and device for forming Zabbix alarm process information and storage medium
CN114281628A (en) System fault detection method and device, electronic equipment and storage medium
CN110443910B (en) Method, system, device and storage medium for monitoring state of unmanned device
CN115310139A (en) File monitoring and early warning system, method, computing equipment and computer storage medium
CN113778836B (en) Cloud native application health monitoring method, device, equipment and readable storage medium
CN110750418B (en) Information processing method, electronic equipment and information processing system

Legal Events

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