Application of monitoring methods, devices and systems
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2026-08-14
AI Technical Summary
[0003]在应用账号的自动化管理过程中,可能出现以下需要人工介入处理的异常情况:1,由于社交应用的风控策略,可能会不定期的要求服务商的应用账号重新登录或弹出风控提示信息(比如提示账号异常,需要进行实名验证);2、由于云手机的环境因素,可能出现社交应用在运行过程中闪退的情况;3、其他异常情况,比如,某些社交应用在登录账号后,需要人工点击“进入”按钮后才能正常执行其他任务,但是可能出现点击事件并未生效,因而导致应用界面停留在进入页面的情况
Smart Images

Figure CN122570264A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an application monitoring method, apparatus, and system. Background Technology
[0002] In Social Customer Relationship Management (SCRM) systems, the automated management and operation of a large number of application accounts is crucial. For example, it involves remotely controlling designated applications (such as instant messaging and other social applications) on multiple cloud phones to complete specified tasks in batches and automatically. These tasks could include instructing multiple social application accounts to send messages to customers or post updates (such as on social media platforms like WeChat Moments).
[0003] During the automated management of application accounts, the following abnormal situations requiring manual intervention may occur: 1. Due to the risk control strategies of social applications, the service provider may be required to log in to the application account again from time to time or a risk control prompt message may pop up (such as a prompt that the account is abnormal and real-name verification is required); 2. Due to the environmental factors of cloud phones, social applications may crash during operation; 3. Other abnormal situations, such as some social applications requiring manual clicking of the "enter" button after logging in before other tasks can be performed normally, but the click event may not take effect, thus causing the application interface to remain on the entry page.
[0004] In related technologies, when remotely controlling applications in multiple cloud phones to perform tasks, it is difficult to handle abnormal situations in a timely manner, resulting in low task execution efficiency and low task success rate. Summary of the Invention
[0005] This disclosure provides an application monitoring method, apparatus, and system.
[0006] According to a first aspect of this disclosure, an application monitoring method is provided, executed by a server, comprising: receiving window information of a specified application on a cloud phone during task execution; determining the state of the specified application on the cloud phone using regular expression matching rules and the window information; and, if the state of the specified application on the cloud phone is abnormal, outputting an abnormal prompt message or an abnormal handling instruction according to the state of the specified application.
[0007] In some embodiments, determining the state of a specified application on the cloud phone using regular expression matching rules and the window information includes: determining the regular expression matching rules that the window information conforms to; and determining the state of the specified application on the cloud phone based on the regular expression matching rules that the window information conforms to.
[0008] In some embodiments, the step of outputting an error message or an error handling instruction based on the state of the specified application includes: outputting an error message when the state of the specified application is a first abnormal state, wherein the first abnormal state includes at least one of a risk control pop-up window and a state pending real-name authentication.
[0009] In some embodiments, the step of outputting an exception prompt message or exception handling instruction according to the state of the specified application includes: when the state of the specified application is a second exception state, outputting an exception handling instruction to the cloud phone to instruct the cloud phone to handle the exception, wherein the second exception state includes at least one of crash and not logged in.
[0010] In some embodiments, the application monitoring method further includes: after determining the status of a specified application on the cloud phone, saving the status information of the specified application on the cloud phone to a storage module; and obtaining the status information from the storage module to identify and process abnormal states based on the status information.
[0011] In some embodiments, the window information includes the class name of the focused application and window state information.
[0012] In some embodiments, the designated application is a social application, and the task is a task to send information to a target user or a task to post account activity information.
[0013] According to a second aspect of this disclosure, an application monitoring apparatus is proposed, comprising: a module for performing the application monitoring method as described above.
[0014] According to a third aspect of this disclosure, an application monitoring apparatus is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the application monitoring method as described above based on instructions stored in the memory.
[0015] According to a fourth aspect of this disclosure, an application monitoring system is proposed, comprising: a server including the application monitoring device as described above; and a cloud phone configured to collect window information of a specified application on the cloud phone during task execution using a collection script, and to send the window information to the server.
[0016] In some embodiments, the cloud phone is configured to: invoke a window analysis command in the operating system to obtain window information of the cloud phone; and select window information of the specified application during task execution from the window information of the cloud phone according to the package name of the specified application.
[0017] In some embodiments, the cloud phone is further configured to: use the collection script to collect the unique device identifier of the cloud phone and send the unique device identifier to the server.
[0018] According to a fifth aspect of this disclosure, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, implement the application monitoring method as described above.
[0019] According to a sixth aspect of this disclosure, a computer program product is proposed that stores computer program instructions which, when executed by a processor, implement the application monitoring method as described above.
[0020] Other features and advantages of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0021] The accompanying drawings, which form part of this specification, illustrate embodiments of this disclosure and, together with the specification, serve to explain the principles of this disclosure.
[0022] Figure 1 This is a flowchart illustrating an application monitoring method according to some embodiments of the present disclosure;
[0023] Figure 2 This is a flowchart illustrating an application monitoring method according to other embodiments of this disclosure;
[0024] Figure 3 This is a schematic diagram of the structure of an application monitoring device according to some embodiments of the present disclosure;
[0025] Figure 4 This is a schematic diagram of the structure of an application monitoring system according to some embodiments of the present disclosure;
[0026] Figure 5 This is a schematic diagram of the structure of an application monitoring device according to other embodiments of this disclosure;
[0027] Figure 6 This is a schematic diagram of the structure of a computer system according to some embodiments of the present disclosure.
[0028] This disclosure can be more clearly understood with reference to the accompanying drawings and the following detailed description. Detailed Implementation
[0029] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.
[0030] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0031] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0032] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0033] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0034] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0035] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0036] In related technologies, when remotely controlling applications in multiple cloud phones to perform tasks, there are problems with low task execution efficiency and low task success rate.
[0037] To address these issues, some technologies have proposed using screenshots and OCR technology to identify anomalies in cloud phones. However, the processing efficiency of anomaly identification based on this method is very low, which in turn affects task execution efficiency and success rate.
[0038] In view of this, this disclosure proposes an application monitoring method that can efficiently and accurately identify and handle abnormal states of specified applications in cloud phones during task execution, thereby improving the task execution efficiency and success rate of specified applications in cloud phones.
[0039] Figure 1 This is a flowchart illustrating an application monitoring method according to some embodiments of this disclosure. Figure 1 In the illustrated embodiment, the application monitoring method can be executed by the server, including steps 11 to 13.
[0040] Step 11: Receive window information from the cloud phone during the execution of a task by a specified application on the cloud phone.
[0041] Cloud phones are virtualized mobile device services, typically provided by cloud computing providers. They allow users to access and operate virtual mobile devices via the internet, just like operating a physical phone. Cloud phones can be used for various purposes, including application testing, mobile gaming, and enterprise mobile management.
[0042] The specified application can be any application on the cloud phone. For example, the specified application can be a social application on the cloud phone. In this example, while remotely controlling the social application on the cloud phone to perform a task, the window information of the specified application on the cloud phone can be reported to the server through the cloud phone.
[0043] The window information for a specified application may include the class name of the focused application, the window state, and other information.
[0044] In some embodiments, the application monitoring method further includes receiving a unique device identifier from the cloud phone. This allows the server to determine which specific device the cloud phone belongs to based on the unique device identifier, facilitating subsequent anomaly handling for that device.
[0045] Step 12: Use regular expression matching rules and window information to determine the status of the specified application on the cloud phone.
[0046] In this embodiment, multiple regular expression matching rules are pre-constructed based on the window characteristics of a specified application in a cloud phone under different states. Different regular expression matching rules correspond to different states of the specified application. For example, the multiple regular expression matching rules include at least one of the following: a regular expression matching rule corresponding to the risk control pop-up state, a regular expression matching rule corresponding to the pending real-name authentication state, a regular expression matching rule corresponding to the not logged-in state, and a regular expression matching rule corresponding to the crash state. In specific implementation, the regular expression matching rules can be represented using regular expressions.
[0047] When performing step 12, you can first determine the regular expression matching rule that the window information conforms to from multiple regular expression matching rules; then, based on the regular expression matching rule that the window information conforms to, determine the status of the specified application on the cloud terminal.
[0048] In some examples, in step 12, the regular expression matching rules that the window information conforms to are determined as follows: multiple regular expression matching rules are matched sequentially with the window information of the specified application on the cloud phone; if a regular expression matching rule matches the window information successfully, it indicates that the window information has the window characteristics defined by that regular expression matching rule, and that regular expression matching rule is taken as the regular expression matching rule that the window information conforms to, and the matching process ends; if a regular expression matching rule fails to match the window information, the next regular expression matching rule is matched with the window information until a regular expression matching rule that matches the window information successfully is found.
[0049] In some examples, in step 12, the status of a specified application on the cloud terminal is determined as follows: based on the regular expression matching rules that the window information conforms to, and the correspondence between the pre-set regular expression matching rules and status codes, the status of the specified application on the cloud terminal is determined.
[0050] For example, suppose the pre-set correspondence between regular expression matching rules and status codes includes regular expression matching rule 1 corresponding to status code "relNameCheck", regular expression matching rule 2 corresponding to status code "riskAccount", and regular expression matching rule 3 corresponding to status code "veryfyStep". If the regular expression matching rule that successfully matches the window information of the specified application on the cloud phone is regular expression matching rule 1, then according to the above correspondence, the status code of the specified application on the cloud terminal is determined to be relNameCheck. This status code indicates that the status of the specified application on the cloud terminal is pending real-name authentication.
[0051] Step 13: If the specified application on the cloud phone is in an abnormal state, output an abnormal prompt message or an abnormal handling instruction according to the state of the specified application.
[0052] The specified application on the cloud phone may be in a normal state or an abnormal state. An abnormal state may include at least one of the following: a risk control pop-up, pending real-name authentication, app crash, or not logged in. When the specified application on the cloud phone is in an abnormal state, abnormal prompts or handling instructions can be output to allow for timely intervention and processing of the abnormal state.
[0053] Step 13 can be implemented in several ways. Two examples are described below.
[0054] In the first implementation, step 13 includes: when the specified application on the cloud phone is in an abnormal state, outputting an abnormal prompt message to the operation and maintenance terminal. This facilitates notifying relevant business personnel for manual intervention.
[0055] For example, when a specified application on a cloud phone is in an abnormal state such as "pending real-name authentication," an error message is output to instruct business personnel to log in to the cloud phone and complete the real-name authentication of the specified application account. By outputting the error message to the operations and maintenance terminal, relevant business personnel can promptly detect and handle abnormalities that occur during the execution of tasks by the specified application on the cloud phone.
[0056] In the second implementation, step 13 includes: outputting abnormal status information when the specified application is in a first abnormal state. The first abnormal state may include at least one of a risk control pop-up window or a pending real-name authentication state. For example, when a social application on a cloud phone is in a risk control pop-up window state, the server notifies business personnel to handle the situation by sending an email.
[0057] Furthermore, in the second embodiment, step 13 may further include: when the specified application is in a second abnormal state, outputting an exception handling instruction to the cloud terminal to instruct the cloud terminal to handle the exception. The second abnormal state may include at least one of a crash or a not-logged-in state. For example, when a social application on a cloud phone is not logged in, the server will assign a task to the cloud phone to automatically log in to the social application (account). By adopting different handling methods for different types of abnormal states, exception handling efficiency can be further improved.
[0058] In this embodiment of the disclosure, by receiving window information reported by the cloud phone, the status of a specified application on the cloud phone is determined by using regular expression matching rules and window information. Compared with related technologies, this method can more efficiently and accurately identify the status of a specified application in the cloud phone during task execution, and efficiently and accurately handle abnormal statuses, thereby improving the task execution efficiency and success rate of the specified application on the cloud phone.
[0059] Figure 2 This is a flowchart illustrating an application monitoring method according to other embodiments of this disclosure. For example... Figure 2 As shown, the application monitoring method includes steps 21 to 25.
[0060] Step 21: Cloud phone collects window information.
[0061] In this step, the cloud phone uses a collection script to collect window information of a specified application on the cloud phone during task execution. The collection script can be pre-pushed to the cloud phone by the server via a command delivery interface. For example, in a scenario where multiple cloud phones are remotely controlled to perform tasks on social media application accounts, the collection scripts on each cloud phone can collect window information for each application separately. The tasks performed by the social media application accounts could be sending messages to target users or posting account updates.
[0062] In some examples, the data collection script's functions include information collection and information reporting. In these examples, the data collection steps performed using the script include: the cloud phone calling window analysis commands in the operating system to obtain the cloud phone's window information; and selecting window information of a specified application during task execution from the cloud phone's window information based on the specified application's package name.
[0063] For example, a cloud phone can obtain its window information by calling the `dumpsys window` command. This window information includes window hierarchy, window attributes, and window states. For instance, the window hierarchy includes the hierarchical relationship between windows. Typically, the top-level window is the system window, such as the status bar and navigation bar. Application windows are usually displayed below the system windows. Each application's window also has its own layout hierarchy, such as the Activity window and its various contained views. These views can be view objects corresponding to user interface elements such as buttons and text boxes. For instance, window attributes include geometric properties such as window size and position, as well as attributes such as window transparency and window type. For instance, window states include the window's visibility and focus status.
[0064] For example, when the specified application is a social application, after obtaining the window information of the cloud phone, the window information can be filtered in the following ways: Based on the package name of the social application, filter the application's window information from the cloud phone's window details; based on the reverse matching command, filter out window features we are not interested in from the application's window information, thus retaining the application's key window features. For example, key window features include the class name of the focused application and window state information (such as window state keywords).
[0065] Furthermore, in the above example, the data collection steps performed using the data collection script may also include: the cloud phone using the data collection script to collect its unique device identifier. For example, the cloud phone can obtain its unique device identifier by calling a device identifier read command.
[0066] In other examples, the data collection script, in addition to information collection and reporting functions, also includes functions for ending the historical process of the data collection script and log processing. For example, the step of ending the historical process of the data collection script includes: the data collection script obtains the historical process of the currently executing data collection script and terminates that historical process. This automatically terminates the historical process of the data collection script, avoiding the simultaneous execution of multiple script processes. For example, the step of log processing includes: within the loop processing logic of the data collection script, reading the time of the last log cleanup via a shell command; comparing the time of the last log cleanup with the current time; if the difference between the current time and the time of the last log cleanup is greater than or equal to a set time threshold, then executing the log cleanup logic and recording the time of this log cleanup.
[0067] Step 22: The cloud phone sends window information to the server.
[0068] In some examples, the cloud phone collects window information and its unique device identifier using a collection script. This collected information can then be reported to the server using the Curl command. Curl is a powerful command-line tool widely used for network requests and data transmission.
[0069] Step 23: The server uses regular expression matching rules and window information to determine the status of a specified application in the cloud phone.
[0070] In this embodiment of the disclosure, multiple regular expression matching rules are pre-set. Different regular expression matching rules correspond to different status codes.
[0071] For example, pre-set regular expression matching rules for normal states and for abnormal states. The regular expression matching rules for abnormal states can include at least one of the following: regular expression matching rules for risk control pop-up states, regular expression matching rules for pending real-name authentication states, regular expression matching rules for not logged in states, and regular expression matching rules for pending mobile phone number verification code states. Specifically, the risk control pop-up state refers to the appearance of a risk control pop-up window on the current interface of the specified application; the pending real-name authentication state refers to the specified application being currently on the real-name authentication interface; the not logged-in state refers to the specified application not being logged into an account; and the pending mobile phone number verification code state refers to the specified application being currently on the interface for entering a mobile phone number verification code.
[0072] In some examples, in step 23, the server matches multiple regular expression matching rules with the window information of a specified application in the cloud phone in a preset order. The matching process ends only when a regular expression matching rule that successfully matches the window information of the specified application on the cloud phone is found. After determining the regular expression matching rule that successfully matches the window information of the specified application on the cloud phone, the status of the specified application on the cloud phone is determined based on the successfully matched regular expression matching rule and the correspondence between the regular expression matching rule and the status code of the specified application.
[0073] Step 24: Status information storage.
[0074] In this step, the state information of the specified application on the cloud phone is saved to the storage module (e.g., Redis caching service or other storage module).
[0075] Step 25: Periodically read and process status information.
[0076] In this step, the server uses a scheduled task to periodically read and process the status information of specified applications on multiple cloud phones stored in the storage module.
[0077] In some examples, for the status information of a specified application on each cloud phone, the following processing is performed: when the status information indicates that the status of the specified application (account) on the cloud phone is abnormal, an exception prompt message or exception handling instruction is output.
[0078] In some embodiments, the application monitoring method further includes: calculating the frequency of occurrence of various abnormal states based on the state information of specified applications on multiple cloud phones stored in the database; and adjusting pre-configured regular expression matching rules based on the frequency of occurrence of various states.
[0079] For example, if a state occurs at a frequency lower than a set frequency threshold, the regular expression matching rule corresponding to that state is deleted from the pre-set regular expression matching rules.
[0080] For example, the matching order of regular expression matching rules can be set according to the frequency of occurrence of various states from high to low. For instance, assuming that the frequency of the "not logged in" state is higher than that of the "awaiting real-name authentication" state, then when executing step S23, the window information of the specified application on the cloud phone is first matched with the regular expression matching rule corresponding to the "not logged in" state, and then the window information of the specified application on the cloud phone is matched with the regular expression matching rule corresponding to the "awaiting real-name authentication" state.
[0081] In this embodiment of the disclosure, by adjusting the pre-configured regular expression matching rules according to the frequency of occurrence of various states, it is helpful to further improve the efficiency of abnormal state identification, thereby further improving the task execution efficiency and task execution success rate of the specified application of the cloud phone.
[0082] In this embodiment of the disclosure, the above process can efficiently and accurately identify and process the abnormal state of a specified application in a cloud phone during task execution, thereby improving the task execution efficiency and success rate of the specified application in the cloud phone.
[0083] Figure 3 This is a schematic diagram of the structure of an application monitoring device according to some embodiments of this disclosure. For example... Figure 3 As shown, the application monitoring device 30 is used to execute the application monitoring method as described above, including a receiving module 31, a determining module 32, and an output module 33.
[0084] The receiving module 31 is configured to receive window information from a specified application on the cloud phone during the execution of a task.
[0085] The determination module 32 is configured to use regular expression matching rules and window information to determine the status of a specified application on the cloud phone.
[0086] Output module 33 is configured to output an exception message or exception handling instruction based on the status of a specified application on the cloud phone when the application is in an abnormal state.
[0087] In this embodiment of the disclosure, the above-mentioned device can efficiently and accurately identify and process the abnormal state of a specified application in a cloud phone during task execution, thereby improving the task execution efficiency and success rate of the specified application in the cloud phone.
[0088] Figure 4 This is a schematic diagram of the structure of an application monitoring system according to some embodiments of this disclosure. For example... Figure 4 As shown, the application monitoring system 40 includes a cloud phone 41 and a server 42.
[0089] Cloud phone 41 is configured to use a collection script to collect window information of a specified application on the cloud phone during task execution and send the window information to the server.
[0090] In some embodiments, the cloud phone 41 is configured to: invoke a window analysis command in the operating system to obtain window information of the cloud phone; and select window information of a specified application during task execution from the window information of the cloud phone according to the package name of the specified application.
[0091] In some embodiments, the cloud phone 41 is further configured to: use a collection script to collect the unique device identifier of the cloud phone and send the unique device identifier to the server 42.
[0092] Server 42, including the application monitoring device as described above, is configured to: receive window information of a specified application on the cloud phone during task execution; determine the status of the specified application on the cloud phone using regular expression matching rules and window information; and output an exception prompt message or exception handling instruction based on the status of the specified application when the status of the specified application on the cloud phone is abnormal.
[0093] In this embodiment of the disclosure, the above system can efficiently and accurately identify and process the abnormal state of a specified application in a cloud phone during task execution, thereby improving the task execution efficiency and success rate of the specified application in the cloud phone.
[0094] Figure 5 This is a structural schematic diagram of an application monitoring device according to other embodiments of this disclosure. For example... Figure 5 As shown, the application monitoring device 50 includes a memory 51 and a processor 52 coupled to the memory 51. The memory 51 is used to store instructions for executing embodiments of the application monitoring method. The processor 52 is configured to execute the application monitoring method in any of the embodiments of this disclosure based on the instructions stored in the memory 51.
[0095] Figure 6 This is a schematic diagram of the structure of a computer system according to some embodiments of the present disclosure. For example... Figure 6 As shown, the application monitoring device can be represented in the form of a general computing device. The computer system 60 includes a memory 61, a processor 62, and a bus 63 connecting different system components.
[0096] The memory 61 may include, for example, system memory, non-volatile storage media, etc. The system memory may store, for example, an operating system, applications, a boot loader, and other programs. The system memory may include volatile storage media, such as random access memory (RAM) and / or cache memory. The non-volatile storage media may store, for example, instructions for executing at least one embodiment of the application monitoring method. Non-volatile storage media include, but are not limited to, disk storage, optical storage, flash memory, etc.
[0097] The processor 62 can be implemented using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete hardware components such as discrete gates or transistors. Accordingly, each module, such as the receiving module, the determining module, or the output module, can be implemented by the central processing unit (CPU) running instructions in memory to execute the corresponding steps, or by dedicated circuitry to execute the corresponding steps.
[0098] Bus 63 can use any of the various bus architectures. For example, bus architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, and the Peripheral Component Interconnect (PCI) bus.
[0099] These interfaces 64, 65, and 66 in computer system 60, as well as memory 61 and processor 62, can be connected via bus 63. Input / output interface 64 provides a connection interface for input / output devices such as monitors, mice, and keyboards. Network interface 65 provides a connection interface for various networked devices. Storage interface 66 provides a connection interface for external storage devices such as floppy disks, USB flash drives, and SD cards.
[0100] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations thereof, can be implemented by computer-readable program instructions.
[0101] These computer-readable program instructions are provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable device to produce a machine, such that execution of the instructions by the processor produces means for implementing the functions specified in one or more boxes of the flowchart and / or block diagram.
[0102] These computer-readable program instructions may also be stored in a computer-readable storage medium. These instructions cause a computer to work in a particular manner to produce an article of manufacture, including instructions that implement the functions specified in one or more boxes in a flowchart and / or block diagram.
[0103] This disclosure may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects.
[0104] The application monitoring methods, apparatus, and systems according to this disclosure have now been described in detail. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art can fully understand how to implement the technical solutions disclosed herein based on the above description.
Claims
1. An application monitoring method, executed by a server, comprising: Receive window information from the cloud phone during the execution of a task by a specified application on the cloud phone; The status of a specified application on the cloud phone is determined using regular expression matching rules and the window information. When a specified application on the cloud phone is in an abnormal state, an abnormal prompt message or an abnormal handling instruction is output according to the state of the specified application.
2. The application monitoring method according to claim 1, wherein, The step of determining the status of a specified application on the cloud phone using regular expression matching rules and the window information includes: Determine the regular expression matching rules that the window information conforms to; The status of a specified application on the cloud phone is determined based on the regular expression matching rules that the window information conforms to.
3. The application monitoring method according to claim 1, wherein, The step of outputting exception prompts or exception handling instructions based on the status of the specified application includes: When the specified application is in a first abnormal state, an abnormal prompt message is output, wherein the first abnormal state includes at least one of the following: a risk control pop-up window appears, or a state pending real-name authentication.
4. The application monitoring method according to claim 1, wherein, The step of outputting exception prompts or exception handling instructions based on the status of the specified application includes: When the specified application is in a second abnormal state, an abnormal handling instruction is output to the cloud phone to instruct the cloud phone to handle the abnormality, wherein the second abnormal state includes at least one of crash and not logged in.
5. The application monitoring method according to claim 1 further includes: After determining the status of the specified application on the cloud phone, the status information of the specified application on the cloud phone is saved to the storage module; The status information is obtained from the storage module so as to identify and process abnormal states based on the status information.
6. The application monitoring method according to any one of claims 1 to 5, wherein, The window information includes the class name of the focused application and the window state information.
7. The application monitoring method according to any one of claims 1 to 5, wherein, The specified application is a social application, and the task is either to send information to the target user or to post account activity information.
8. An application monitoring device, comprising: A module for performing the application monitoring method as described in any one of claims 1 to 7.
9. An application monitoring device, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the application monitoring method as described in any one of claims 1 to 7 based on instructions stored in the memory.
10. An application monitoring system, comprising: The server includes the application monitoring device as described in claim 8 or 9; The cloud phone is configured to use a collection script to collect window information of a specified application on the cloud phone during task execution, and send the window information to the server.
11. The application monitoring system according to claim 10, wherein, The cloud phone is configured as follows: The window analysis command in the operating system is invoked to obtain the window information of the cloud phone; Based on the package name of the specified application, select the window information of the specified application during the execution of the task from the window information of the cloud phone.
12. The application monitoring system according to claim 10, wherein, The cloud phone is also configured to: Using the aforementioned acquisition script, the unique device identifier of the cloud phone is acquired and sent to the server.
13. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the application monitoring method as described in any one of claims 1 to 7.
14. A computer program product having stored computer program instructions thereon, which, when executed by a processor, implement the application monitoring method as described in any one of claims 1 to 7.