CN111966562B - Cloud platform monitoring method and device and readable storage medium - Google Patents

Cloud platform monitoring method and device and readable storage medium Download PDF

Info

Publication number
CN111966562B
CN111966562B CN202010703179.2A CN202010703179A CN111966562B CN 111966562 B CN111966562 B CN 111966562B CN 202010703179 A CN202010703179 A CN 202010703179A CN 111966562 B CN111966562 B CN 111966562B
Authority
CN
China
Prior art keywords
window
target
cloud platform
elements
closing operation
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.)
Active
Application number
CN202010703179.2A
Other languages
Chinese (zh)
Other versions
CN111966562A (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
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

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 of 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 operation. Therefore, the type of the window popped up by the cloud platform can be automatically monitored and identified, if the window is identified as the window which needs to be triggered to be closed at the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window.

Description

Cloud platform monitoring method and device 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 applications, VR applications and the like are run on a cloud platform, the cloud platform collects and encodes application pictures and audios generated by the running of the applications and then transmits the application pictures and audios to a user terminal in a video stream mode, the user terminal decodes and plays the application pictures and audios, the user terminal collects application control instructions triggered and generated by control operations of users, and the control instructions are uploaded to an application process of a cloud server to respond.
When the application crashes due to program loopholes (bugs) of the application or due to wrong operations of users in the running process, an error prompt window is popped up on the cloud platform, and the error prompt window is popped up by the cloud game process or by an operating system.
In the related art, a cloud platform manager can regularly search an error prompt window appearing on a cloud platform and manually close the error prompt window, and if the mode is that the number of deployed servers is huge, the problem that the workload of staff is large and the efficiency is low exists; 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, so that the working performance of the cloud platform is affected.
Disclosure of Invention
In view of the above, the present disclosure provides a method and apparatus for monitoring 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 implemented by the following technical scheme:
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 the closing operation.
In a second aspect, an embodiment of the present disclosure provides a monitoring device for a cloud platform, where the device includes:
The monitoring module is used for monitoring whether a window pops up or not in 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 closing processing operation.
In a third aspect, embodiments of the present disclosure provide a machine-readable storage medium having stored thereon computer instructions which, when executed, implement a method as described in 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: store instruction code, processor: in communication with a machine-readable storage medium, reading and executing instruction code in the machine-readable storage medium, implementing the method as described in the first aspect.
According to the monitoring method and device for the cloud platform and the readable storage medium, whether a window pops up or not is monitored, and whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation is identified after the window pops up is monitored; 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. 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 needing to be triggered to be closed at the cloud platform side, the cloud platform can automatically trigger the closing operation of the target window.
Drawings
Fig. 1 is an application scenario architecture schematic diagram of a monitoring method of a cloud platform according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of a method for monitoring a cloud platform according to an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart of a method of identifying a target window according to an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a method for matching extracted feature elements with target feature elements according to an exemplary embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a monitoring device of a cloud platform according to an exemplary embodiment of the present disclosure;
Fig. 6 is a schematic structural view of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying 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 or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these 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 "at … …" or "in response to a determination" depending on the context.
Fig. 1 is an application scenario architecture schematic diagram of a monitoring method of 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 sent by a user terminal and triggered by a control operation of a user through a network, the cloud platform executes corresponding logic processing by calling the application process to respond to the operation instruction to generate application data, the cloud platform renders the application data to obtain an application picture, the cloud platform collects the application picture, collects 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 a video stream form, and the user terminal decodes and displays the received video stream.
The method comprises the steps that an application process is possibly crashed due to program loopholes (bugs) of the application process or due to error operations of users, an error prompt window is popped up on a cloud platform when the application process crashes, the error prompt window is possibly popped up by the cloud game process or by a certain process of an operating system for different applications, or is popped up simultaneously by the application process and the certain process of the operating system, the error prompt window popped up by the application process (at the moment, the window and the application process are the same process or the application process and the window are father-son processes), the terminal and the cloud platform are always in an application connection state before the error prompt window is closed, the cloud platform does not execute rendering and collecting coding work of an application picture at the moment, and then video streams are not issued to the terminal, the terminal is always in a black screen state, after the mode, the user is waiting for a period of time, the user is still in the black screen state, and seriously exits the application process, and the user is seriously operated by himself, so that user experience can be influenced; the user terminal can immediately disconnect the application connection with the cloud platform after the application process exits, so that the user can continue to use the application by restarting one path of application process, and the error prompt window popped up on the cloud platform in the scene needs to be closed manually at regular intervals by a cloud platform manager.
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 will be described in detail with reference to the following examples.
FIG. 2 is a flow chart of a method for monitoring a cloud platform according to an exemplary embodiment of the present disclosure; referring to fig. 2, the method includes the steps S10 to S30 of:
and S10, monitoring whether a window pops up on the cloud platform.
The window may be a window popped up in a screen display window of an application process, or may be a window popped up on a display desktop.
The monitoring method provided by the embodiment of the application is applied to the cloud platform, and the cloud platform monitors whether a window pops up on the cloud platform in real time or at regular time (such as monitoring once every 20 ms).
By way of example, the cloud platform monitors whether a window pops up currently or not by calling a window enumeration function of an operating system to enumerate windows.
And S20, if so, identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation.
The window needing to be triggered by the cloud platform to execute the closing operation refers to a crash prompt window of an application process, a crash prompt window of an operating system and the like.
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 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 operation of closing the target window, the method further includes the following steps a10-a20:
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 screenshot of the target window.
And step A20, storing the image and the information of the target window correspondingly.
The image of the target window is named according to a format containing information such as an application name, current time information and the like and then stored, so that the subsequent staff can inquire conveniently; and, the cloud platform periodically deletes the information of the images and windows.
In the embodiment of the application, the cloud platform automatically monitors and identifies the type of the popped window, if the window is identified as the window needing to be triggered to be closed at the cloud platform side, the cloud platform automatically triggers the closing operation of the target window, so that the popped error (collapse) prompt window on the cloud platform can be closed in time, the method has the positive effects of simplicity and high efficiency, and the working performance of the cloud platform is ensured not to be influenced by window accumulation.
FIG. 3 is a flow chart of a method of identifying a target window according to an exemplary embodiment of the present disclosure; referring to fig. 3, in the above step S20, it is identified whether the window is a target window that needs to be triggered by the cloud platform to execute a closing operation, and specifically 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 text elements only or image elements only.
S202, matching the extracted characteristic elements with target characteristic elements, and if the characteristic elements matched with the target characteristic elements are consistent, 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 flag element contained in a window which needs to be triggered by the cloud platform to perform a closing operation.
Illustratively, the target feature element may refer to keywords that are used to characterize the window containing the keywords as a collapse hint window, such as "error", "alarm", "collapse", "oop", "crash", "stop", and the like. The target feature element may be an icon including an error warning function such as a mark, a cross, etc.
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 considered to be the operation that the cloud platform does not need to trigger to close, and the cloud platform does not execute the operation that the window is triggered to close.
In the embodiment of the application, the cloud platform can identify and close the popped error prompt window (whether the application process or the operating system pops up), the target characteristic elements can be common characteristic elements in the popped error prompt window of the application process and the operating system, and then the cloud platform can not distinguish who pops up the error prompt window, and the window can be triggered to close after the error prompt window is identified.
FIG. 4 is a schematic diagram of a method for matching extracted feature elements with target feature elements according to an exemplary embodiment of the present disclosure; referring to fig. 4, since the user experience is seriously affected when the window popped up by the application process is closed by mistake, in the embodiment of the present application, in order to further and more accurately identify the error prompt window popped up by the application process, in the step S202, the extracted feature element is matched with the target feature element, and if there is a feature element consistent with the matching of the target feature element, the window is identified as the target window that needs to be triggered by the cloud platform to execute the closing operation; specifically, the method comprises the following steps S2021-S2024:
S2021, if the process of the window is the monitored application process or the subprocess of the monitored application process, searching a target characteristic element set matched with the monitored application process, and if so, matching the extracted characteristic element with a first target characteristic element in the target characteristic element set.
In this embodiment, illustratively, in an application adaptation process, a set of feature elements corresponding to an application is set according to a test result of the application in a test link, where the set of feature elements includes an identifier of the application and a first target feature element for characterizing a crash prompt window.
S2022, if the feature elements are matched and consistent with the first target feature element, identifying the window as a target window which needs to be triggered by the cloud platform to execute 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 judged to be a target window that needs to be triggered by the cloud platform to execute the closing operation.
In an optional embodiment, to further improve the accuracy of the identification, when the feature element of the extracted window is matched with the first target feature element in the target feature element set, whether the window is a target window that needs to be triggered by the cloud platform to perform the closing operation is determined according to the matching degree.
Illustratively, a ratio of the number of hit first target feature elements to 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 that needs to be triggered by the cloud platform to perform a closing operation.
For another example, the first target feature elements included in the set of analysis settings of experience values or big data in advance include positive feature elements, which represent windows as positive feature elements requiring the cloud platform to trigger to execute the closing operation, and negative feature elements, which represent windows as negative feature elements, which do not require the cloud platform to trigger to execute the closing operation, respectively, the positive feature elements and the negative feature elements are provided with corresponding probability score values, the probability score values of the positive feature elements are positive values, the probability score values of the negative feature elements are negative values, and then when the extracted feature elements of the windows are matched with the first feature elements in the target feature set, the probability score values of the hit first feature elements are summed, and whether the windows are target windows requiring the cloud platform to trigger to execute the closing operation is judged according to the obtained result values.
And if the feature elements are not matched with the first target feature element, identifying the window as a target window which is not required to be triggered by the cloud platform to be closed.
S2023, if the target characteristic element set matched with the application process is not found, matching the extracted characteristic element with a second target characteristic element in the general characteristic element set.
In the embodiment of the application, aiming at the situation that the characteristic element set corresponding to the cloud game cannot be obtained according to the test result, if the characteristic element set corresponding to the application cannot be set during application adaptation, when identifying whether the window is a target window which needs to be triggered by the cloud platform to execute closing operation, the extracted characteristic elements of the window are matched with second target characteristic elements in the general characteristic element set.
The universal characteristic element set contains universal characteristic elements which are characterized in that the window is a crash prompt window (which can be the crash prompt window popped up by an application process or the crash prompt window popped up by an operating system), and if the window is not popped up by the application process, the characteristic elements in the universal characteristic element set are matched.
S2024, if the feature elements matched and consistent with the second target feature elements exist in the feature elements, identifying the window as a target window which needs to be triggered by the cloud platform to execute closing operation.
In the embodiment of the application, when the application universal characteristic element set identifies whether the window is the target window, if the window is finally identified as the target window, before the target window is triggered to execute closing operation, the target window is subjected to screenshot, and the obtained image, time information, application information, identification of the target characteristic element set which is not matched with the application process and the like of the target window are correspondingly stored. And furthermore, the manager can conveniently refer to the application, and a target characteristic element set adapted to the application is formulated according to the stored historical collapse data of the application.
In the embodiment of the application, if the feature element matched with the second target feature element does not exist in the feature elements, the window is identified not to be the target window which is required to be triggered by the cloud platform to perform the 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 execute the closing processing operation, the cloud platform further executes the following step B10:
And step B10, updating the statistics times of the application popup crash windows, and if the application popup crash windows exceed the specified numerical value, reporting the application information and the corresponding crash information to a central management website.
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, names, deployed servers 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 uploads the stored image, time information and the like of the collapse prompt window. Or the cloud platform responds to a crash information acquisition request of the central management website about the application, and uploads the saved images, time information and the like of the crash prompt window to the central management website for viewing and analysis by management staff.
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 closed successfully, and if not, prompts or controls to make the process of the target window exit forcedly.
Optionally, the cloud platform also prompts the manager that the target window is not closed successfully by sending prompt information to the central management website. The cloud platform sends a forced exit message to the target window object to trigger the process forced exit of the target window or call a process management function of the operating system to control the process forced exit of the target window.
Fig. 5 is a schematic structural diagram of a monitoring device 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 running on the cloud platform pops up;
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;
And a window closing module 403, configured to trigger the target window to execute the closing process.
Optionally, the identification module 402 is specifically configured to:
Extracting characteristic elements contained in the window;
Matching the extracted characteristic elements with target characteristic elements, and if the characteristic elements matched with the target characteristic elements are consistent, identifying the window as a target window which is required to be triggered by the cloud platform to execute closing operation;
And if not, identifying the window as a target window which is required to be triggered by the cloud platform to execute the closing operation.
Optionally, the identification module 402 is specifically configured to:
if the process of the window is an application process or a subprocess of the application process, searching a target characteristic element set matched with the applied process, and if so, matching the extracted characteristic element with a first target characteristic element in the target characteristic element set;
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 closing operation;
If the target characteristic element set matched with the application process is not found, matching the extracted characteristic element with a second target characteristic element in the general characteristic element set;
And 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 closing operation.
Optionally, the apparatus further includes:
And the updating module (not shown in the figure) is used for updating the statistics times of the application popup crash windows, and if the times of the application popup crash windows exceed the specified values, reporting the information of the application and the corresponding crash information to a central management website.
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) is used for storing the image and the information of the target window correspondingly.
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 includes:
And the detection module (not shown in the figure) is used for detecting whether the target window is closed successfully, and if not, prompting or controlling the process of the target window to be forced to exit.
In another embodiment of the present disclosure, there is also provided a machine-readable storage medium, on which is stored a computer program, which when executed by a processor, implements the steps of the method for monitoring a cloud platform described above. The cloud platform can automatically trigger the closing operation of the target window if the window is identified as the window needing to be triggered to be closed at the cloud platform side, and compared with the prior art, the cloud platform can timely close the error prompt window popped up on the cloud platform, has the positive effects of simplicity and high efficiency, and ensures that the working performance of the cloud platform is not affected.
Fig. 6 is a schematic structural view of an electronic device according to 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 one of the foregoing embodiments. The cloud platform can automatically trigger the closing operation of the target window if the window is identified as the window needing to be triggered to be closed at the cloud platform side, and compared with the prior art, the cloud platform can timely close the error prompt window popped up on the cloud platform, has the positive effects of simplicity and high efficiency, and ensures that the working performance of the cloud platform is not affected.
The implementation process of the functions and roles of each unit in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the disclosed solution. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Computers suitable for executing computer programs include, for example, general purpose and/or special purpose microprocessors, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from a read only memory and/or a random access memory. The essential elements of a computer include a central processing unit for carrying out or executing instructions and one or more memory devices for storing instructions and data. Typically, 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, etc. However, a computer does not have to have such a device. Furthermore, the computer may be embedded in another device, such as a mobile phone, 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, for example, semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disk or removable disks), 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 of specific 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. On the other hand, the various features described in the individual embodiments may also be implemented separately in the various embodiments or in any suitable subcombination. Furthermore, although features may be 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, although 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. Furthermore, the processes depicted in the accompanying drawings are not necessarily required to be in the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The foregoing description of the preferred embodiments of the present disclosure is not intended to limit the disclosure, but rather to cover all modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present disclosure.

Claims (8)

1. A method for monitoring a cloud platform, the method comprising:
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;
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 operation;
The identifying whether the window is a target window which needs to be triggered by the cloud platform to execute a closing operation includes:
Extracting characteristic elements contained in the window;
Matching the extracted characteristic elements with target characteristic elements, and if the characteristic elements matched with the target characteristic elements are consistent, identifying the window as a target window which is required to be triggered by the cloud platform to execute closing operation;
if not, identifying that the window is not a target window which needs to be triggered by the cloud platform to execute closing operation;
the step of matching the extracted characteristic elements with target characteristic elements, and if the characteristic elements matched with the target characteristic elements are consistent, identifying the window as a target window which needs to be triggered by the cloud platform to execute closing operation comprises the following steps:
if the process of the window is a monitored application process or a subprocess of the monitored application process, searching a target characteristic element set matched with the monitored application process, and if so, matching the extracted characteristic element with a first target characteristic element in the target characteristic element set;
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 closing operation;
If the target characteristic element set matched with the application process is not found, matching the extracted characteristic element with a second target characteristic element in the general characteristic element set;
And 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 closing operation.
2. The method of claim 1, wherein after the processing operation that triggers the target window to perform closing, the method further comprises:
Updating the statistics times of the application popup crash windows, and if the application popup crash windows exceeds the appointed numerical value, reporting the information of the application and the corresponding crash information to a central management website.
3. The method according to any one of claims 1-2, wherein the feature elements comprise:
Text elements and/or image elements.
4. The method according to any one of claims 1-2, wherein prior to the operation triggering the target window to perform a closing process, the method comprises:
obtaining an image of the target window;
And correspondingly storing the image and the information of the target window.
5. The method according to any one of claims 1-2, wherein said performing a 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.
6. The method of claim 5, 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, if not, prompting or controlling to forcedly exit the process of the target window.
7. A monitoring device for a cloud platform, the device comprising:
The monitoring module is used for monitoring whether a window pops up or not in 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;
The window closing module is used for triggering the target window to execute the closing processing operation;
The identification module is specifically configured to:
Extracting characteristic elements contained in the window;
Matching the extracted characteristic elements with target characteristic elements, and if the characteristic elements matched with the target characteristic elements are consistent, identifying the window as a target window which is required to be triggered by the cloud platform to execute closing operation;
if not, identifying that the window is not a target window which needs to be triggered by the cloud platform to execute closing operation;
the step of matching the extracted characteristic elements with target characteristic elements, and if the characteristic elements matched with the target characteristic elements are consistent, identifying the window as a target window which needs to be triggered by the cloud platform to execute closing operation comprises the following steps:
if the process of the window is a monitored application process or a subprocess of the monitored application process, searching a target characteristic element set matched with the monitored application process, and if so, matching the extracted characteristic element with a first target characteristic element in the target characteristic element set;
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 closing operation;
If the target characteristic element set matched with the application process is not found, matching the extracted characteristic element with a second target characteristic element in the general characteristic element set;
And 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 closing operation.
8. A machine-readable storage medium having stored thereon computer instructions which when executed perform the method of any of claims 1-6.
CN202010703179.2A 2020-07-21 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 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 2020-07-21 Cloud platform monitoring method and device and readable storage medium

Publications (2)

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

Family

ID=73362452

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN111966562B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273145A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of method of managing software and device, terminal
CN108628657A (en) * 2018-05-09 2018-10-09 深圳壹账通智能科技有限公司 Pop-up processing method, device, computer equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7278114B2 (en) * 2002-12-30 2007-10-02 Viewspace Technologies Method and apparatus for managing display of popup windows
CN102591718B (en) * 2012-02-06 2014-01-15 中标软件有限公司 Touch screen intelligent terminal and multitask window management method for same
CN104461542B (en) * 2014-12-10 2018-02-02 北京国双科技有限公司 The treating method and apparatus of pop-up box alarm
CN105677535A (en) * 2016-01-04 2016-06-15 广东威创视讯科技股份有限公司 Window exception handling method and device
CN106126562B (en) * 2016-06-15 2018-09-04 广东欧珀移动通信有限公司 A kind of pop-up hold-up interception method and terminal
CN108427633B (en) * 2017-02-15 2021-08-06 腾讯科技(深圳)有限公司 Display interface processing method and device
CN109753425B (en) * 2017-11-06 2021-04-02 腾讯科技(深圳)有限公司 Popup window processing method and device
CN107797841B (en) * 2017-11-21 2021-11-05 Oppo广东移动通信有限公司 Window control method and device, terminal equipment and storage medium
CN109558233A (en) * 2018-11-29 2019-04-02 北京北信源信息安全技术有限公司 Window process management method, device, storage medium and server
CN110413476B (en) * 2019-06-20 2022-12-13 平安普惠企业管理有限公司 Webpage crash monitoring method and 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273145A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 A kind of method of managing software and device, terminal
CN108628657A (en) * 2018-05-09 2018-10-09 深圳壹账通智能科技有限公司 Pop-up processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111966562A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN108427633B (en) Display interface processing method and device
US8516499B2 (en) Assistance in performing action responsive to detected event
CN106485261B (en) Image recognition method and device
CN111309357B (en) Cloud game software updating method and device, storage medium and cloud game system
CN110705476A (en) Data analysis method and device, electronic equipment and computer storage medium
WO2017048288A1 (en) Image based fault state determination
CN109548691A (en) A kind of pet recognition methods, device, medium and electronic equipment
CN111770353A (en) Live broadcast monitoring method and device, electronic equipment and storage medium
CN111130944B (en) System monitoring method and system
CN111666915A (en) Monitoring method, device, equipment and storage medium
CN111966562B (en) Cloud platform monitoring method and device and readable storage medium
CN114756406A (en) Processing method and device for application program crash and electronic equipment
CN110688319A (en) Application keep-alive capability test method and related device
CN110727473A (en) Resource control method, device, system, storage medium and electronic equipment
CN115331204A (en) Fatigue driving recognition method, system, electronic device and storage medium
CN107784043A (en) The monitoring method of data warehouse data table, apparatus and system
CN113419886A (en) Method, apparatus and computer-readable storage medium for handling program crash
CN113326730A (en) Indoor elderly safety monitoring method and system, electronic equipment and medium
CN108170605A (en) Submission method, client and the computer readable storage medium of bug information
CN110210215B (en) Virus detection method and related device
JP2007241873A (en) Program for monitoring change in computer resource on network
CN107786561B (en) Application use duration management and control method and client
CN113806625A (en) Conference room reservation method and device
CN111562974A (en) Method, device and equipment for acquiring offline data and storage medium
CN113988483B (en) Risk operation behavior control method, risk operation behavior model training method and electronic equipment

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