CN106708705B - Terminal background process monitoring method and system - Google Patents

Terminal background process monitoring method and system Download PDF

Info

Publication number
CN106708705B
CN106708705B CN201510417469.XA CN201510417469A CN106708705B CN 106708705 B CN106708705 B CN 106708705B CN 201510417469 A CN201510417469 A CN 201510417469A CN 106708705 B CN106708705 B CN 106708705B
Authority
CN
China
Prior art keywords
background process
software
mobile phone
display
information
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
CN201510417469.XA
Other languages
Chinese (zh)
Other versions
CN106708705A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510417469.XA priority Critical patent/CN106708705B/en
Publication of CN106708705A publication Critical patent/CN106708705A/en
Application granted granted Critical
Publication of CN106708705B publication Critical patent/CN106708705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to a method and a system for monitoring a background process of a terminal, which are used for acquiring information of software to be monitored of the terminal; detecting whether a background process of monitored software of a terminal is terminated accidentally or not in real time; if yes, acquiring content related to the accidentally terminated background process and generating prompt information; and displaying prompt information on a display interface of the terminal. When the accidental termination of the background process of the monitored software of the terminal is detected, acquiring the content related to the accidentally terminated background process and generating prompt information to display on a display interface of the terminal. The user can know the accidental termination of the background process of the software at the first time without any professional knowledge learning and understanding, so that the relevant bugs can be repaired in time, and the testing convenience is improved.

Description

Terminal background process monitoring method and system
Technical Field
The invention relates to the technical field of terminal monitoring, in particular to a method and a system for monitoring a background process of a terminal.
Background
Software installed in terminals such as mobile phones and computers generally has two types of processes: foreground processes (interface processes that interact with the user) and background processes (user unaware, periodically performing tasks or waiting to handle something happening). The foreground process and the background process are communicated with each other to finish the operation of a user in the interface, the accidental termination of the foreground interface process can be intuitively perceived by the user, for example, the interface is suddenly closed, and the accidental termination of the background process cannot be intuitively perceived by the user.
In the aspect of monitoring the accidental termination of the background process, the traditional method for monitoring the background process of the terminal conducts a large number of repeated tests on the terminal and searches for a necessary path for the accidental termination of the bug by the background process. Because a large number of repeated tests are needed, the cost of reproducing the bug is high, and the bug is inconvenient to repair because the fact that the background process is terminated can be found only after a long-time test. The traditional method for monitoring the background process of the terminal has the defect of low test convenience.
Disclosure of Invention
Therefore, it is necessary to provide a method and a system for monitoring a background process of a terminal with high test convenience, aiming at the problem of low test convenience.
A method for monitoring a background process of a terminal comprises the following steps:
acquiring information of software to be monitored of a terminal;
detecting whether a background process of monitored software of a terminal is terminated accidentally or not in real time;
if yes, acquiring content related to the accidentally terminated background process and generating prompt information;
and displaying the prompt information on a display interface of the terminal.
A terminal background process monitoring system comprises:
the acquisition module is used for acquiring the information of the software to be monitored of the terminal;
the detection module is used for detecting whether the background process of the monitored software of the terminal is terminated accidentally in real time;
the processing module is used for acquiring the content related to the accidentally terminated background process and generating prompt information when the accidental termination of the background process of the monitored software is detected;
and the display module is used for displaying the prompt information on a display interface of the terminal.
According to the terminal background process monitoring method and system, when the background process of the monitored software of the terminal is detected to be terminated accidentally, the content related to the accidentally terminated background process is obtained, prompt information is generated and displayed on the display interface of the terminal. The user can know the accidental termination of the background process of the software at the first time without any professional knowledge learning and understanding, so that the relevant bugs can be repaired in time.
Drawings
FIG. 1 is a flowchart illustrating a method for monitoring a background process of a terminal according to an embodiment;
FIG. 2 is a flowchart illustrating displaying a prompt on a display interface of a terminal according to an embodiment;
FIG. 3 is a flowchart of a method for monitoring a background process of a terminal in another embodiment;
FIG. 4 is a block diagram of a background process monitoring system of a terminal in an embodiment;
FIG. 5 is a block diagram of a display module according to an embodiment;
FIG. 6 is a block diagram of a background process monitoring system of a terminal in another embodiment;
FIG. 7 is a block diagram of a computer system in one embodiment.
Detailed Description
A terminal background process monitoring method is provided, and a terminal can be specifically a mobile phone, a notebook computer, a desktop computer and other equipment. As shown in fig. 1, the method for monitoring the background process of the terminal includes the following steps:
step S130: and acquiring the information of the software to be monitored of the terminal. The software that the terminal needs to be monitored can be preset software or software that is selected and determined by a user input instruction, and the information of the monitored software specifically can include contents such as a software name and a background process name. Specifically, software is a collection of computer data and instructions organized in a particular order, including programs and various documentation and the like, and a process is an execution activity of a program on a computer that is initiated when a program is run. For a certain software, a plurality of programs may be included, each program correspondingly starts a process when running, and the process correspondingly started when running different programs may be a foreground process or a background process. Therefore, after the software needing to be monitored is determined, the corresponding software name and the background process name can be directly obtained.
Step S140: and detecting whether the background process of the monitored software of the terminal is terminated accidentally or not in real time. The unexpected termination refers to a phenomenon that the background process is terminated when the background process does not receive a related instruction, for example, the background process in which some software is running does not receive an exit instruction input by a user but suddenly exits, and the like. And monitoring the background process of the monitored software, judging whether the unexpected termination occurs, if so, performing the step S150, otherwise, returning to the step S140, and detecting the background process of the monitored software again. By detecting the background process of the monitored software in real time, if the background process is terminated unexpectedly, the background process can be found in time.
Step S150: content associated with an unexpectedly terminated background process is obtained and a prompt message is generated. When the background process of the monitored software is detected to be terminated accidentally, the related content is extracted to generate prompt information for informing a user that the background process is terminated accidentally. The related content of the background process specifically comprises a software name, a name of the background process which is accidentally terminated, the time when the accidental termination occurs, a log saving path of the accidental termination of the background process and the like, wherein the log of the accidental termination of the background process is used for recording an accidental termination event of the corresponding background process, and the log saving path of the accidental termination of the background process refers to a storing path of the log of the accidental termination of the background process. Correspondingly, the prompt information in this embodiment includes at least one of a software name, a name of the background process that is terminated accidentally, a time when the background process is terminated accidentally, and a log saving path when the background process is terminated accidentally, and the specific content of the prompt information can be set according to actual conditions, so that the applicability of the terminal background process monitoring method is improved.
Step S170: and displaying prompt information on a display interface of the terminal. Prompt information is displayed on a display interface to inform a user of accidental termination of the background process, so that the user can conveniently inquire and overhaul in time, and the test convenience is improved. In one embodiment, the prompt message includes a software name, a name of the background process in which the unexpected termination occurs, a time at which the unexpected termination occurs, and a log saving path for the unexpected termination of the background process. As shown in fig. 2, step S170 includes step S172 and step S174.
Step S172: and displaying the software name and the name of the background process terminated accidentally on a display interface of the terminal. Displaying the software name and the name of the background process corresponding to the background process which is accidentally terminated on a display interface, for example, outputting' detection of accidental termination of the background process: software name a, background process name B ", or similar textual information. And outputting the related information of the background process which is terminated accidentally, reminding a user that the background process is terminated accidentally, and facilitating the user to judge whether to check the detailed information further.
Step S174: and after receiving the detail viewing instruction, displaying the time of the accidental termination and the log saving path of the accidental termination of the background process on a display interface. Specifically, a link or a virtual button similar to a word for clicking to view detailed information is output while the software name and the background process name are output, and a user can complete input of a detail viewing instruction by clicking the link or the virtual button. And after receiving a detail viewing instruction input by a user, displaying the time of the accidental termination and the accidental termination log saving path of the background process on a display interface so that the user can view the detailed information of the accidental termination event.
In this embodiment, only two kinds of preliminary information, namely, the software name and the background process name, are displayed first when the prompt information is displayed, and if the user selects to view the detailed information, the time when the unexpected termination occurs and the log saving path when the background process unexpectedly terminates are displayed. The user can judge whether to look over details according to the preliminary information, inconvenience to user operation caused by excessive information displayed at one time is avoided, and operation convenience is improved.
The position and the display mode of the prompt message displayed on the display interface can be adjusted according to the actual situation. In one embodiment, step S170 includes step 176 or step 177.
Step 176: and displaying the prompt information on the full screen of a display interface of the terminal. And displaying the prompt information on the full screen of the display interface, so that the user can conveniently check the prompt information.
Step 177: and displaying prompt information in a display area preset on a display interface of the terminal. The display is carried out in a display area preset in the display interface, so that the influence of the displayed information on the normal software operation of a user can be avoided, and the inconvenience is caused to the operation of opening or closing certain software and the like.
The above two specific embodiments for displaying the prompt information are provided, and the user can select a specific display mode according to the actual situation, so that the operation convenience is improved.
Further, in one embodiment, after step 177, step S170 may further include step 178.
Step 178: and changing the position of the display area according to the received movement instruction. The user can input a movement instruction by touching and dragging the display area, and the end position of the user dragging operation is used as the change position of the display area. Specifically, the touch point of the user on the display area may be moved to the end position of the dragging operation, so as to ensure the accuracy of the position movement of the display area. The embodiment provides a display position adjusting function, and a user can adjust the position of the display area according to actual conditions, so that inconvenience caused by normal software operation is avoided, and operation convenience is improved.
According to the terminal background process monitoring method, when the background process of the monitored software of the terminal is detected to be terminated accidentally, the related content of the accidentally terminated background process is obtained, and prompt information is generated and displayed on the display interface of the terminal. The user can know the accidental termination of the background process of the software at the first time without any professional knowledge learning and understanding, so that the relevant bugs can be repaired in time.
When the background process is terminated unexpectedly in the software installed in the mobile phone, the related information of the unexpected termination event cannot be quickly checked from a long system log, and if the background process is restarted and recovered to be normal after being terminated for a short time, whether the background process is terminated abnormally or not is difficult to detect. The method for monitoring the terminal background process is applied to the mobile phone, the background process of the software can be monitored in real time, if the background process is terminated accidentally, the accidental termination event can be known in time no matter whether the background process is restarted, and the convenience and accuracy of the test are improved.
In one embodiment, as shown in fig. 3, before step S130, the terminal background process monitoring method includes step S110 and step S120.
Step S110: and displaying all software installed in the terminal on a display interface of the terminal. All the software installed in the terminal is acquired and displayed on a display interface, specifically, the names of all the software are displayed, or icons of all the software or other identification information capable of distinguishing the software are displayed, so that a user can conveniently screen the software.
Step S120: and receiving a selection instruction input by a user, and taking the software selected by the selection instruction as the monitored software. Taking the example of displaying the icons of all the software in step S110, the user may perform software screening by clicking the corresponding icon, and monitor the software obtained by screening as the monitored software for the subsequent steps. The user can select the software to be monitored according to the actual situation, and the test convenience is further improved.
In one embodiment, after step S120, the terminal background process monitoring method further includes a step of storing the name of the software selected by the selection instruction. Specifically, the name of the software selected by the selection instruction can be stored in the monitoring list, when the terminal is started again, the software corresponding to the name of the software in the monitoring list is directly used as the monitored software for monitoring, the user does not need to input the selection instruction again for software screening, and testing convenience is improved. It can be understood that the user may also perform step S110 after inputting the reset instruction to clear the monitoring list, and re-screen the software that needs to be monitored.
In one embodiment, with reference to fig. 3, after step S150 and before step S170, the terminal background process monitoring method further includes step S160 and step S180.
Step S160: and outputting information display reminding information on a display interface of the terminal, and judging whether a confirmation instruction input by a user according to the information display reminding information is received. For example, a display interface may output a message like "detect unexpected termination of the background process, display prompt message? If the user clicks the virtual button, it is determined that a confirmation instruction input by the user is received, step S170 is performed, and prompt information is output for the user to view, otherwise, step S180 is performed.
Step S180: and storing the prompt information into a prompt list. Specifically, the display prompting message output on the display interface may further include a virtual button with the text "no", and the user may trigger the step S180 by clicking the virtual button. It can be understood that, in other embodiments, it may also be that the confirmation instruction is not received after the information display reminding information displays the preset time length as the trigger condition of step S180, and the specific value of the preset time length may be adjusted according to the actual situation.
In the embodiment, after the content related to the unexpectedly terminated background process is acquired and the prompt message is generated, the message is output at the display interface to display the prompt message so that the user can select whether to check the prompt message, if not, the prompt message is stored in the prompt list so that the user can check the prompt message when the user is idle, and the operation convenience is improved. It can be understood that after the prompt message is stored in the prompt list, the prompt message can also be output regularly to display the prompt message to prompt the user to check, and the time interval of the prompt message can also be adjusted according to the actual situation.
In one embodiment, the hint information includes an unexpected termination of the log save path by the background process. After step S180, the terminal background process monitoring method further includes step S190 and step S192.
Step S190: and judging whether a log saving path checking instruction input by a user is received. When the prompt information is output in step S170, the unexpected termination of the log saving path by the background process may be set to be in a state of a link or a virtual button, and the user completes the input of the log saving path viewing instruction by clicking the link or the virtual button. And if the log saving path viewing instruction input by the user is detected, performing step S192, otherwise, stopping.
Step S192: and outputting a corresponding background process accidental termination log on a display interface of the terminal. After a log saving path checking instruction input by a user is received, the related background process accidental termination log is directly displayed on a display interface, so that the user can check the accidental termination event without searching from a large number of system logs according to the background process accidental termination log saving path, and the test convenience is further improved.
The invention also provides a terminal background process monitoring system, as shown in fig. 4, which includes an obtaining module 130, a detecting module 140, a processing module 150 and a display module 170.
The obtaining module 130 is used for obtaining information of software that the terminal needs to be monitored. The software that the terminal needs to be monitored can be preset software or software that is selected and determined by a user input instruction, and the information of the monitored software specifically can include contents such as a software name and a background process name. Specifically, software is a collection of computer data and instructions organized in a particular order, including programs and various documentation and the like, and a process is an execution activity of a program on a computer that is initiated when a program is run. For a certain software, a plurality of programs may be included, each program correspondingly starts a process when running, and the process correspondingly started when running different programs may be a foreground process or a background process. Therefore, after the software needing to be monitored is determined, the corresponding software name and the background process name can be directly obtained.
The detection module 140 is used for detecting whether the background process of the monitored software of the terminal is terminated accidentally in real time. The unexpected termination refers to a phenomenon that the background process is terminated when the background process does not receive a related instruction, for example, the background process in which some software is running does not receive an exit instruction input by a user but suddenly exits, and the like. And monitoring the background process of the monitored software, and judging whether the accidental termination occurs. It is to be understood that the detection module 140 may also detect the background process of the monitored software again if the unexpected termination of the background process is not detected. By detecting the background process of the monitored software in real time, if the background process is terminated unexpectedly, the background process can be found in time.
The processing module 150 is configured to, when detecting that the background process of the monitored software terminates unexpectedly, obtain content related to the unexpectedly terminated background process and generate a prompt message. When the background process of the monitored software is detected to be terminated accidentally, the related content is extracted to generate prompt information for informing a user that the background process is terminated accidentally. The related content of the background process specifically comprises a software name, a name of the background process which is accidentally terminated, the time when the accidental termination occurs, a log saving path of the accidental termination of the background process and the like, wherein the log of the accidental termination of the background process is used for recording an accidental termination event of the corresponding background process, and the log saving path of the accidental termination of the background process refers to a storing path of the log of the accidental termination of the background process. Correspondingly, the prompt information in this embodiment includes at least one of a software name, a name of the background process that is terminated accidentally, a time when the background process is terminated accidentally, and a log saving path when the background process is terminated accidentally, and the specific content of the prompt information can be set according to actual conditions, so that the applicability of the terminal background process monitoring method is improved.
The display module 170 is configured to display a prompt message on a display interface of the terminal. Prompt information is displayed on a display interface to inform a user of accidental termination of the background process, so that the user can conveniently inquire and overhaul in time, and the test convenience is improved. In one embodiment, the prompt message includes a software name, a name of the background process in which the unexpected termination occurs, a time at which the unexpected termination occurs, and a log saving path for the unexpected termination of the background process. As shown in fig. 5, the display module 170 includes a first display unit 172 and a second display unit 174.
The first display unit 172 is used for displaying the software name and the name of the background process terminated unexpectedly on the display interface of the terminal. Displaying the software name and the name of the background process corresponding to the background process which is accidentally terminated on a display interface, for example, outputting' detection of accidental termination of the background process: software name a, background process name B ", or similar textual information. And outputting the related information of the background process which is terminated accidentally, reminding a user that the background process is terminated accidentally, and facilitating the user to judge whether to check the detailed information further.
The second display unit 174 is configured to display, on the display interface, the time when the unexpected termination occurs and the background process unexpected termination log saving path after receiving the detail viewing instruction. Specifically, a link or a virtual button similar to a word for clicking to view detailed information is output while the software name and the background process name are output, and a user can complete input of a detail viewing instruction by clicking the link or the virtual button. And after receiving a detail viewing instruction input by a user, displaying the time of the accidental termination and the accidental termination log saving path of the background process on a display interface so that the user can view the detailed information of the accidental termination event.
In this embodiment, only two kinds of preliminary information, namely, the software name and the background process name, are displayed first when the prompt information is displayed, and if the user selects to view the detailed information, the time when the unexpected termination occurs and the log saving path when the background process unexpectedly terminates are displayed. The user can judge whether to look over details according to the preliminary information, inconvenience to user operation caused by excessive information displayed at one time is avoided, and operation convenience is improved.
The position and the display mode of the prompt message displayed on the display interface can be adjusted according to the actual situation. In one embodiment, the display module 170 includes a full screen display unit or an area display unit.
The full-screen display unit is used for displaying the prompt information in a full screen mode on a display interface of the terminal. And displaying the prompt information on the full screen of the display interface, so that the user can conveniently check the prompt information.
The area display unit is used for displaying prompt information in a display area preset on a display interface of the terminal. The display is carried out in a display area preset in the display interface, so that the influence of the displayed information on the normal software operation of a user can be avoided, and the inconvenience is caused to the operation of opening or closing certain software and the like.
The above two specific embodiments for displaying the prompt information are provided, and the user can select a specific display mode according to the actual situation, so that the operation convenience is improved.
Further, in one embodiment, the display module 170 may further include a setting unit, where the setting unit is configured to change a position of the display area according to the received movement instruction after the area display unit displays the prompt message in the display area preset on the display interface of the terminal. The user can input a movement instruction by touching and dragging the display area, and the end position of the user dragging operation is used as the change position of the display area. Specifically, the touch point of the user on the display area may be moved to the end position of the dragging operation, so as to ensure the accuracy of the position movement of the display area. The embodiment provides a display position adjusting function, and a user can adjust the position of the display area according to actual conditions, so that inconvenience caused by normal software operation is avoided, and operation convenience is improved.
According to the terminal background process monitoring system, when the background process of the monitored software of the terminal is detected to be terminated accidentally, the content related to the accidentally terminated background process is obtained, and prompt information is generated and displayed on the display interface of the terminal. The user can know the accidental termination of the background process of the software at the first time without any professional knowledge learning and understanding, so that the relevant bugs can be repaired in time.
When the background process is terminated unexpectedly in the software installed in the mobile phone, the related information of the unexpected termination event cannot be quickly checked from a long system log, and if the background process is restarted and recovered to be normal after being terminated for a short time, whether the background process is terminated abnormally or not is difficult to detect. The terminal background process monitoring system is applied to the mobile phone, the background process of the software can be monitored in real time, if the background process is terminated accidentally, the accidental termination event can be known in time no matter whether the background process is restarted, and the test convenience and accuracy are improved.
In one embodiment, as shown in fig. 6, the terminal background process monitoring system further includes a software display module 110 and a software selection module 120.
The software display module 110 is used for displaying all software installed in the terminal on the display interface of the terminal before the obtaining module 130 obtains the information that the terminal needs the monitored software. All the software installed in the terminal is acquired and displayed on a display interface, specifically, the names of all the software are displayed, or icons of all the software or other identification information capable of distinguishing the software are displayed, so that a user can conveniently screen the software.
The software selecting module 120 is configured to receive a selection instruction input by a user, and use the software selected by the selection instruction as the monitored software. Taking the example that the software display module 110 displays icons of all software, a user can perform software screening by clicking a corresponding icon, and monitor the software obtained by screening as monitored software for subsequent steps. The user can select the software to be monitored according to the actual situation, and the test convenience is further improved.
In one embodiment, the terminal background process monitoring system further includes a software name storage module, where the software name storage module is configured to receive a selection instruction input by a user at the software selection module 120, and store a name of software selected by the selection instruction after the software selected by the selection instruction is used as monitored software. Specifically, the name of the software selected by the selection instruction can be stored in the monitoring list, when the terminal is started again, the software corresponding to the name of the software in the monitoring list is directly used as the monitored software for monitoring, the user does not need to input the selection instruction again for software screening, and testing convenience is improved. It can be understood that the user may also clear the monitoring list by sending a reset instruction to the software name storage module, and the software display module 110 displays all the software installed in the terminal on the display interface of the terminal again, and re-screens the software that needs to be monitored.
In one embodiment, with continued reference to fig. 6, the terminal background process monitoring system further includes an information reminding module 160 and an information storage module 180.
The information reminding module 160 is configured to output the information display reminding information on the display interface of the terminal after the processing module 150 obtains the content related to the unexpectedly terminated background process and generates the reminding information, and determine whether a confirmation instruction input by the user according to the information display reminding information is received. For example, a display interface may output a message like "detect unexpected termination of the background process, display prompt message? "and generates a virtual button with the word" yes ", and if the user clicks the virtual button, the user considers that a confirmation instruction input by the user is received, and the display module 170 displays the prompt message on the display interface of the terminal.
The information storage module 180 is configured to store the prompt message into the prompt list when a confirmation instruction input by the user according to the message display prompt message is not received. Specifically, the display prompting message output on the display interface may further include a virtual button with the text "no", and the user may trigger the prompting message storage operation by clicking the virtual button. It can be understood that, in other embodiments, the fact that the confirmation instruction is not received after the information display reminding information is displayed for the preset time period may also be used as a trigger condition for the reminding information storage operation, and the specific value of the preset time period may be adjusted according to the actual situation.
In the embodiment, after the content related to the unexpectedly terminated background process is acquired and the prompt message is generated, the message is output at the display interface to display the prompt message so that the user can select whether to check the prompt message, if not, the prompt message is stored in the prompt list so that the user can check the prompt message when the user is idle, and the operation convenience is improved. It can be understood that after the prompt message is stored in the prompt list, the prompt message can also be output regularly to display the prompt message to prompt the user to check, and the time interval of the prompt message can also be adjusted according to the actual situation.
In one embodiment, the hint information includes an unexpected termination of the log save path by the background process. The terminal background process monitoring system further comprises a judging module 190 and a log displaying module 192.
The judging module 190 is configured to judge whether a log saving path checking instruction input by a user is received after the display module 170 displays the prompt information on the display interface of the terminal. When the display module 170 outputs the prompt information, the log saving path terminated unexpectedly by the background process may be set to be in a state of a link or a virtual button, and the user completes the input of the log saving path viewing instruction by clicking the link or the virtual button.
The log display module 192 is configured to display a corresponding background process unexpected termination log on a display interface of the terminal after receiving a log saving path viewing instruction input by a user. After a log saving path checking instruction input by a user is received, the related background process accidental termination log is directly displayed on a display interface, so that the user can check the accidental termination event without searching from a large number of system logs according to the background process accidental termination log saving path, and the test convenience is further improved.
FIG. 7 is a block diagram of a computer system 1000 upon which embodiments of the present invention may be implemented. The computer system 1000 is only one example of a suitable computing environment for the invention and is not intended to suggest any limitation as to the scope of use of the invention. Neither should the computer system 1000 be interpreted as having a dependency or requirement relating to a combination of one or more components of the exemplary computer system 1000 illustrated.
The computer system 1000 shown in FIG. 7 is one example of a computer system suitable for use with the invention. Other architectures with different subsystem configurations may also be used. Such as well known desktop, notebook, personal digital assistant, smart phone, tablet, portable media player, and the like, may be suitable for use with some embodiments of the present invention. But are not limited to, the devices listed above.
As shown in fig. 7, the computer system 1000 includes a processor 1010, a memory 1020, and a system bus 1022. Various system components including the memory 1020 and the processor 1010 are connected to the system bus 1022. The processor 1010 is hardware for executing computer program instructions through basic arithmetic and logical operations in a computer system. Memory 1020 is a physical device used for temporarily or permanently storing computing programs or data (e.g., program state information). The system bus 1020 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus. The processor 1010 and the memory 1020 may be in data communication via a system bus 1022. Wherein memory 1020 includes Read Only Memory (ROM) or flash memory (neither shown), and Random Access Memory (RAM), which typically refers to main memory loaded with an operating system and application programs.
The computer system 1000 also includes a display interface 1030 (e.g., a graphics processing unit), a display device 1040 (e.g., a liquid crystal display), an audio interface 1050 (e.g., a sound card), and an audio device 1060 (e.g., speakers). Display device 1040 and audio device 1060 are media devices for experiencing multimedia content.
Computer system 1000 typically includes a storage device 1070. Storage device 1070 may be selected from a variety of computer readable media, which refers to any available media that may be accessed by computer system 1000, including both removable and non-removable media. For example, computer-readable media includes, but is not limited to, flash memory (micro SD cards), CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer system 1000.
Computer system 1000 also includes input device 1080 and input interface 1090 (e.g., an IO controller). A user may enter commands and information into computer system 1000 through input device 1080, such as a keyboard, a mouse, a touch-panel device on display device 1040. Input device 1080 is typically connected to system bus 1022 through an input interface 1090, but may be connected by other interface and bus structures, such as a Universal Serial Bus (USB).
Computer system 1000 may logically connect with one or more network devices in a network environment. The network device may be a personal computer, a server, a router, a smartphone, a tablet, or other common network node. The computer system 1000 is connected to a network device through a Local Area Network (LAN) interface 1100 or a mobile communication unit 1110. A Local Area Network (LAN) refers to a computer network formed by interconnecting within a limited area, such as a home, a school, a computer lab, or an office building using a network medium. WiFi and twisted pair wiring ethernet are the two most commonly used technologies to build local area networks. WiFi is a technology that enables computer systems 1000 to exchange data between themselves or to connect to a wireless network via radio waves. The mobile communication unit 1110 is capable of making and receiving calls over a radio communication link while moving throughout a wide geographic area. In addition to telephony, the mobile communication unit 1110 also supports internet access in a 2G, 3G or 4G cellular communication system providing mobile data services.
It should be noted that other computer systems, including more or less subsystems than computer system 1000, can also be suitable for use with the invention. For example, the computer system 1000 may include a bluetooth unit capable of exchanging data over short distances, an image sensor for taking pictures, and an accelerometer for measuring acceleration.
As described in detail above, the computer system 1000 adapted to the present invention can perform the designated operations of the terminal background process monitoring method. The computer system 1000 performs these operations in the form of software instructions executed by the processor 1010 in a computer-readable medium. These software instructions may be read into memory 1020 from storage device 1070 or from another device via local network interface 1100. The software instructions stored in memory 1020 cause processor 1010 to perform the terminal background process monitoring method described above. Furthermore, the present invention can be implemented by hardware circuits or by a combination of hardware circuits and software instructions. Thus, implementations of the invention are not limited to any specific combination of hardware circuitry and software.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A method for monitoring a background process of mobile phone software is characterized by comprising the following steps:
displaying all software installed by the mobile phone on a display interface of the mobile phone;
receiving a selection instruction input by a user, and taking the software selected by the selection instruction as monitored software;
acquiring information of software to be monitored of the mobile phone;
monitoring the background process of the monitored software, and judging whether the accidental termination occurs; the background process is used for communicating with the foreground process to finish the operation of a user in an interface, and the user can not sense the process of periodically executing tasks;
when the background process is detected to be terminated accidentally, acquiring the content related to the accidentally terminated background process and generating prompt information;
displaying the prompt information on a display interface of the mobile phone, wherein the prompt information comprises: displaying the software name and the name of the background process terminated accidentally on a display interface of the mobile phone; after a detail viewing instruction is received, displaying the time of accidental termination and a log saving path of accidental termination of a background process on the display interface;
and returning to the step of monitoring the background process of the monitored software when the unexpected termination of the background process is not detected.
2. The method for monitoring the background process of the mobile phone software as claimed in claim 1, wherein after the step of receiving the selection instruction input by the user and using the software selected by the selection instruction as the monitored software, the method further comprises the step of storing the name of the software selected by the selection instruction.
3. The method for monitoring the background process of the mobile phone software according to claim 1, wherein the step of displaying the prompt message on the display interface of the mobile phone comprises the following steps:
displaying the prompt information on a display interface of the mobile phone in a full screen mode; or
And displaying the prompt information in a display area preset on a display interface of the mobile phone.
4. The method for monitoring the background process of the mobile phone software according to claim 1, wherein after the content related to the unexpectedly terminated background process is acquired and the prompt message is generated, before the prompt message is displayed on the display interface of the mobile phone, the method further comprises the following steps:
outputting information display reminding information on a display interface of the mobile phone, and judging whether a confirmation instruction input by a user according to the information display reminding information is received or not;
if yes, displaying the prompt message on a display interface of the mobile phone;
if not, the prompt message is stored in a reminding list.
5. The method for monitoring the background process of the mobile phone software according to claim 1, wherein the prompt message comprises an unexpected termination log saving path of the background process; after the prompt message is displayed on the display interface of the mobile phone, the method further comprises the following steps:
judging whether a log saving path checking instruction input by a user is received;
and if so, displaying a corresponding background process accidental termination log on a display interface of the mobile phone.
6. A mobile phone software background process monitoring system is characterized by comprising:
the software display module is used for displaying all software installed on the mobile phone on a display interface of the mobile phone;
the software selection module is used for receiving a selection instruction input by a user and taking the software selected by the selection instruction as monitored software;
the acquisition module is used for acquiring the information of the software to be monitored of the mobile phone;
the detection module is used for monitoring the background process of the monitored software and judging whether the accidental termination occurs; the background process is used for communicating with the foreground process to finish the operation of a user in an interface, and the user can not sense the process of periodically executing tasks;
the processing module is used for acquiring the content related to the accidentally terminated background process and generating prompt information when the accidental termination of the background process of the monitored software is detected;
the display module is used for displaying the prompt message on a display interface of the mobile phone, and comprises: displaying a software name, a background process name which is terminated accidentally and a link or a virtual button for inputting a detail viewing instruction on a display interface of the mobile phone; after a detail viewing instruction input by clicking the link or the virtual button is received, displaying the time of accidental termination and a log saving path of accidental termination of a background process on the display interface;
the detection module is further configured to return to the step of monitoring the background process of the monitored software when the unexpected termination of the background process is not detected.
7. The mobile phone software background process monitoring system according to claim 6, further comprising:
and the software name storage module is used for receiving the selection instruction input by the user at the software selection module, and storing the name of the software selected by the selection instruction after the software selected by the selection instruction is used as the monitored software.
8. The mobile phone software background process monitoring system according to claim 6, wherein the display module comprises:
a full screen display unit, configured to display the prompt information in a full screen manner on a display interface of the mobile phone; and the area display unit is used for displaying the prompt information in a display area preset on a display interface of the mobile phone.
9. The mobile phone software background process monitoring system according to claim 6, further comprising:
the information reminding module is used for outputting information display reminding information on a display interface of the mobile phone after the processing module acquires the content related to the accidentally terminated background process and generates the reminding information, and judging whether a confirmation instruction input by a user according to the information display reminding information is received or not;
the information storage module is used for storing the prompt information into a prompt list when a confirmation instruction input by a user according to the information display prompt information is not received;
and the display module displays the prompt message on a display interface of the mobile phone when receiving a confirmation instruction input by a user according to the message display prompt message.
10. The mobile phone software background process monitoring system according to claim 6, wherein the prompt message includes an unexpected termination log saving path of the background process; the mobile phone software background process monitoring system further comprises:
the judging module is used for judging whether a log saving path checking instruction input by a user is received or not after the display module displays the prompt information on the display interface of the mobile phone;
and the log display module is used for displaying the corresponding background process unexpected termination log on a display interface of the mobile phone after receiving a log saving path viewing instruction input by a user.
11. A computer system comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1 to 5.
12. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
CN201510417469.XA 2015-07-15 2015-07-15 Terminal background process monitoring method and system Active CN106708705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510417469.XA CN106708705B (en) 2015-07-15 2015-07-15 Terminal background process monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510417469.XA CN106708705B (en) 2015-07-15 2015-07-15 Terminal background process monitoring method and system

Publications (2)

Publication Number Publication Date
CN106708705A CN106708705A (en) 2017-05-24
CN106708705B true CN106708705B (en) 2020-06-16

Family

ID=58898810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510417469.XA Active CN106708705B (en) 2015-07-15 2015-07-15 Terminal background process monitoring method and system

Country Status (1)

Country Link
CN (1) CN106708705B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577494B (en) * 2017-08-30 2020-12-22 微梦创科网络科技(中国)有限公司 Method and device for image-text live broadcast based on multi-process competition
CN110956715A (en) * 2018-09-27 2020-04-03 上海博泰悦臻网络技术服务有限公司 Driving recording method, driving recording system, cloud server and vehicle
CN112306849A (en) * 2019-07-31 2021-02-02 深圳Tcl数字技术有限公司 Application program testing method and system, intelligent terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1470992A (en) * 2002-07-23 2004-01-28 华为技术有限公司 Positioning method of recording general progress anomal recede using sharing core-object
US6742134B1 (en) * 2000-05-20 2004-05-25 Equipe Communications Corporation Maintaining a local backup for data plane processes
CN1741478A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Background monitoring system and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742134B1 (en) * 2000-05-20 2004-05-25 Equipe Communications Corporation Maintaining a local backup for data plane processes
CN1470992A (en) * 2002-07-23 2004-01-28 华为技术有限公司 Positioning method of recording general progress anomal recede using sharing core-object
CN1741478A (en) * 2004-08-27 2006-03-01 华为技术有限公司 Background monitoring system and method thereof

Also Published As

Publication number Publication date
CN106708705A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US9280451B2 (en) Testing device
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
WO2018103402A1 (en) Wireless fidelity (wifi) scan method and related product
CN109302423B (en) Vulnerability scanning capability testing method and device
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
CN107741902B (en) Program application detection method and program application detection device
WO2017206476A1 (en) Method, device and apparatus for detecting cpu occupation
CN104809054B (en) Realize the method and system of program test
CN106708705B (en) Terminal background process monitoring method and system
CN112817831A (en) Application performance monitoring method, device, computer system and readable storage medium
CN104156305A (en) Application program testing method and device
CN112650433A (en) Interface screenshot method and device and electronic equipment
CN109032911B (en) Frame rate detection method and device for mobile device and electronic device
CN111309743A (en) Report pushing method and device
US20140282057A1 (en) System for applying applications of different operating systems in one electronic device and method thereof
CN107122305B (en) Software testing device and method
CN106535102B (en) A kind of mobile terminal locating method and mobile terminal
CN110941549B (en) Memory leak detection method, device, medium and electronic equipment
CN110275753B (en) Value added service acquisition method, device and equipment of application program
CN110020264B (en) Method and device for determining invalid hyperlinks
CN107515821B (en) Control testing method and device
US10469603B2 (en) Using a historical record of actions taken by a group of users to identify responsive actions in a computing system
CN109684525B (en) Document display method and device, storage medium and test equipment
CN105278934B (en) Method and system for processing appearance of windows update popup window
WO2019153986A1 (en) Application display method, application, storage medium, and electronic device

Legal Events

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