WO2013149530A1 - 显示信息的方法、移动终端和计算机可读存储介质 - Google Patents

显示信息的方法、移动终端和计算机可读存储介质 Download PDF

Info

Publication number
WO2013149530A1
WO2013149530A1 PCT/CN2013/072183 CN2013072183W WO2013149530A1 WO 2013149530 A1 WO2013149530 A1 WO 2013149530A1 CN 2013072183 W CN2013072183 W CN 2013072183W WO 2013149530 A1 WO2013149530 A1 WO 2013149530A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
memory information
information
occupied
local end
Prior art date
Application number
PCT/CN2013/072183
Other languages
English (en)
French (fr)
Inventor
张军柯
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2013149530A1 publication Critical patent/WO2013149530A1/zh
Priority to US14/498,882 priority Critical patent/US20150019764A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a method for displaying information, a mobile terminal, and a computer readable storage medium. Background technique
  • the memory usage is stored in a folder on the mobile terminal. If the user needs to know the memory usage of the mobile terminal, the user can query the specific folder, so that the user can know the mobile terminal. Memory usage.
  • the user needs to query the memory occupancy of the mobile terminal in a specific folder, and the user may need to open several applications in the search process to find the The folder, which knows the memory usage of the mobile terminal, requires more user intervention and consumes a long operation time, and because it is for a certain folder search, the query process is cumbersome, resulting in low query efficiency.
  • the embodiment of the present invention provides a method for displaying information, a mobile terminal, and a computer readable storage medium.
  • the technical solution is as follows:
  • a method of displaying information comprising: The mobile terminal monitors the execution status of the local application in real time;
  • the current memory information of the local end is obtained; the mobile terminal displays the current memory information of the local end.
  • the current memory information of the local end includes: the currently used memory information occupied by the application, or the memory information occupied by the currently executed application and the total memory information occupied by the local end.
  • the obtaining the current memory information of the local end includes:
  • the mobile terminal invokes thread information of an currently executed application
  • the memory information occupied by the currently executed application stored in the first encoding manner is converted into information that can be displayed by the local end.
  • the obtaining the current memory information of the local end includes:
  • the total memory information that has been occupied by the local end stored in the second encoding mode is converted into the information that the local end can display.
  • the mobile terminal displays the current memory information of the local end, including:
  • the mobile terminal displays the current memory information of the local end in the form of a floating window.
  • a mobile terminal including a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one by one or more processors
  • more than one program includes instructions for: monitoring the execution status of the application of the mobile terminal in real time; acquiring the current memory information of the mobile terminal when monitoring any of the application performing operations; the display is configured For displaying the current memory information of the mobile terminal.
  • the current memory information of the mobile terminal includes: memory information occupied by the currently executed application, or memory information occupied by the currently executed application and total memory information occupied by the mobile terminal.
  • the memory of the mobile terminal further includes an instruction for: calling thread information of the currently executed application; acquiring the current stored in the first encoding manner according to the thread information of the currently executed application
  • the memory information occupied by the executed application will be the first encoding side
  • the memory information occupied by the currently executed application stored is converted into information that the mobile terminal can display.
  • the memory of the mobile terminal further includes: an instruction for: acquiring, from a memory interface of the mobile terminal, total memory information that is stored by the mobile terminal stored in a second encoding manner; The total memory information that has been occupied by the mobile terminal stored in the second encoding mode is converted into information that the mobile terminal can display.
  • the memory of the mobile terminal further includes an instruction for: displaying the current memory information of the mobile terminal in the form of a floating window.
  • a computer readable storage medium storing one or more programs, the one or more programs being used by one or more processors to perform a sliding control method, the method comprising: The execution status of the application of the mobile terminal is monitored in real time; when any one of the applications is monitored, the current memory information of the mobile terminal is acquired; and the current memory information of the mobile terminal is displayed.
  • the current memory information of the local end includes: the currently used memory information occupied by the application, or the memory information occupied by the currently executed application and the total memory information occupied by the local end.
  • the step of acquiring the current memory information of the local end includes: the mobile terminal calling the thread information of the currently executed application; and acquiring the current stored in the first encoding manner according to the thread information of the currently executed application
  • the memory information occupied by the executed application is converted into the information that can be displayed by the currently executed application stored in the first encoding manner.
  • the step of obtaining the current memory information of the local end includes: retrieving, from the memory interface of the mobile terminal, total memory information that has been occupied by the local end stored in the second encoding manner; The total memory information that has been occupied by the local end is converted into information that the local end can display.
  • the step of the mobile terminal displaying the current memory information of the local end includes: the mobile terminal displaying the current memory information of the local end in the form of a floating window.
  • the mobile terminal monitors the execution state of the local application in real time; and when it detects that any one of the applications has performed the operation, obtains the current memory information of the local end;
  • the terminal displays the current memory information of the local end.
  • the application when executed, the current memory information of the local end is obtained and displayed, thereby avoiding the process of the user querying through multiple folders, but intuitively making the mobile terminal user aware of the current memory information usage, which is greatly reduced. Less operating time and improved efficiency for querying memory usage.
  • Embodiment 1 is a flowchart of a method for displaying information provided in Embodiment 1 of the present invention
  • Embodiment 2 is a flowchart of a method for displaying information provided in Embodiment 2 of the present invention
  • Embodiment 3 is a schematic diagram of an application interface provided in Embodiment 2 of the present invention.
  • Embodiment 4 is a schematic diagram of another application interface provided in Embodiment 2 of the present invention.
  • FIG. 5 is a schematic diagram of a mobile terminal provided in Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. detailed description
  • a method for displaying information including:
  • the mobile terminal monitors an execution status of the local application in real time
  • the mobile terminal displays current memory information of the local end.
  • the current memory information of the local end includes: the currently used memory information occupied by the application, or the memory information occupied by the currently executed application and the local end occupied. Total memory information.
  • the acquiring the current memory information of the local end includes:
  • the mobile terminal invokes thread information of an currently executed application
  • the memory information occupied by the currently executed application stored in the first encoding manner is converted into information that can be displayed at the local end.
  • the acquiring the current memory information of the local end includes:
  • the total memory information that has been occupied by the local end stored in the second encoding mode is converted into the information that the local end can display.
  • the displaying, by the mobile terminal, the current memory information of the local end in the embodiment includes: displaying, by the mobile terminal, the current memory information of the local end in a floating window.
  • the mobile terminal in this embodiment includes a mobile phone or a tablet computer, and the like, which is not specifically limited in this embodiment.
  • the execution status of the application of the local end is monitored in real time by the mobile terminal; when the operation of any application is monitored, the current memory information of the local end is obtained; and the mobile terminal displays the current memory information of the local end.
  • the application when executed, the current memory information of the local end is obtained and displayed, which avoids the process of the user querying through multiple folders, but intuitively enables the mobile terminal user to know the current memory information usage, thereby greatly reducing the operation time. Improves the efficiency of queries against memory usage. .
  • a method for displaying information is provided.
  • the mobile terminal monitors the execution status of the application at the local end in real time. After the mobile terminal starts any application, the status bar of the application displays the current application.
  • the memory information so that the mobile terminal user can know the memory condition of the executed application at any time.
  • the mobile terminal in this embodiment may be a mobile phone or another handheld device, which is not specifically limited in this embodiment. In the example, the mobile phone is taken as an example for explanation.
  • the specific method for displaying information provided in this embodiment includes:
  • the mobile phone monitors the execution status of the local application in real time.
  • the execution state of the application includes: an operation of the mobile phone to start an application, and after the application is started, the mobile phone further performs the function selection operation in the application, which is not specifically limited in this embodiment. If the mobile phone starts the chat software, after the chat software is opened, a friend in the buddy list is further selected to send information, and the above mobile phones are all in the state of mobile phone monitoring.
  • the application can refer to any application installed on the mobile phone or an application that comes with the mobile phone system.
  • the source code of the application in the mobile phone is improved, and the mobile phone monitors the execution status of the local application in real time. If the mobile phone starts the local application, the mobile phone immediately acquires the execution status of the application, thereby obtaining the current local state.
  • the memory information where the current local memory information includes: memory information occupied by the currently executed application, or memory information occupied by the currently executed application and total memory information occupied by the mobile phone.
  • the mobile phone when the mobile phone monitors the execution of the application, the mobile phone can only obtain the memory information occupied by the application.
  • the mobile phone acquires the memory information occupied by the application and also acquires the total occupied by the mobile phone. Memory information, so users can more easily know the memory usage on the phone.
  • obtaining the current local memory information in this step includes obtaining the memory information occupied by the currently executed application and the total memory information occupied by the mobile phone.
  • the obtaining the memory information occupied by the currently executed application includes: calling, by the mobile phone, thread information of the currently executed application; acquiring the currently executed application stored in the first encoding manner according to the thread information of the currently executed application.
  • the memory information occupied by the currently executed application stored in the first encoding manner is converted into information that can be displayed by the mobile phone, and the memory information occupied by the currently executed application is obtained.
  • the memory information of the application is recorded in its thread, but the memory information recorded in the thread adopts the first encoding mode.
  • the memory information stored in the first coding mode needs to be converted and converted into information that can be displayed by the mobile phone.
  • the specific conversion mode belongs to the prior art, and is not described in this embodiment.
  • obtaining the total memory information occupied by the mobile phone includes: retrieving, from the memory interface of the mobile phone, total memory information that has been occupied by the mobile phone stored in the second encoding manner; The total memory information that has been occupied is converted into information that the mobile phone can display, and the total memory information that the mobile phone has been occupied is obtained.
  • the mobile phone has a memory interface, and the interface records the memory information that the mobile phone has occupied, similar to the memory information recorded in the thread, and the memory information recorded by the interface is the second encoding mode, if the mobile phone directly
  • the memory information stored in the second encoding mode may be garbled and cannot be recognized by the user.
  • the specific conversion method also belongs to the prior art. This embodiment will not be described again.
  • the first coding mode and the second coding mode may be the same or different, which is not specifically limited in this embodiment.
  • the mobile phone displays local current memory information.
  • the local memory information is obtained, and the memory information is further displayed on the status bar of the mobile phone.
  • the mobile phone may display the current memory information in the form of a floating window on the status bar of the mobile phone, or directly add a window on the status bar to display the current memory information.
  • the current memory information is obtained, the current The value of the memory information is returned to the status bar and displayed in the window of the status bar, or is returned to the floating window for display, which is not specifically limited in this embodiment.
  • the floating window or the window for displaying can be created when the application is opened, and the specific displayed memory information can be updated according to the operating frequency of the application, and the trigger is acquired when the currently open application performs an operation. Local current memory information.
  • the display position of the memory information may be on the status bar at the top of the mobile phone screen, or on the status bar below the mobile phone, in the center position of the status bar, or in the left or right side of the status bar.
  • This embodiment is not specifically limited.
  • the order of the display of the memory information is not specifically limited in this embodiment, for example, the current order may be currently executed.
  • the current local memory information may further include total memory information of the mobile phone, and when the mobile phone acquires the current memory information of the local end, the mobile phone obtains the total memory information of the mobile phone, and may also obtain the total memory information of the mobile phone. It is displayed on the status bar, which is not specifically limited in this embodiment.
  • the mobile phone starts the chat software, and after the chat software is started, the software occupies the position in the status bar of the interface.
  • the total memory information that the memory and mobile phone have been occupied 10M/100M
  • the application interface is converted to as shown in Figure 4.
  • the memory information displayed at this time is: 11M/101M .
  • the user can learn about the existing memory usage in detail, and does not require the user to find the usage of the memory information in the folder in the mobile terminal, so that the mobile terminal user can know the current memory information usage.
  • the user experience is greatly improved when the user uses the mobile terminal, which is beneficial to the management of the memory by the mobile terminal user.
  • the beneficial effects of the embodiment include: the mobile terminal monitors the execution status of the local application in real time; and when the application is monitored, the current memory information of the local end is obtained; the mobile terminal displays the local end Current memory information.
  • the mobile terminal monitors the execution status of the local application in real time; and when the application is monitored, the current memory information of the local end is obtained; the mobile terminal displays the local end Current memory information.
  • the application is executed, the current memory information of the local end is obtained and displayed, thereby avoiding the process of the user querying through multiple folders, but intuitively
  • the mobile terminal user is informed of the current memory information usage, which greatly reduces the operation time and improves the efficiency of querying the memory usage.
  • the memory that has been occupied by the mobile phone is simultaneously displayed, so that the user can further understand the usage of the mobile phone memory, facilitate the management of the user's mobile phone memory, and display the memory information in the form of a floating window, which is convenient to implement.
  • Example 3
  • a mobile terminal includes: a monitoring module 301, an obtaining module 302, and a display module 303.
  • the monitoring module 301 is configured to monitor an execution status of the application of the mobile terminal in real time
  • the obtaining module 302 is configured to acquire current memory information of the mobile terminal when monitoring that any one of the applications has performed an operation;
  • the display module 303 is configured to display current memory information of the mobile terminal.
  • the current memory information of the mobile terminal includes: memory information occupied by the currently executed application, or memory information occupied by the currently executed application and a total occupied by the mobile terminal. Memory information.
  • the obtaining module 302 includes:
  • a calling unit configured to call thread information of an currently executed application
  • a first obtaining unit configured to acquire, according to the thread information of the currently executed application, memory information occupied by the currently executed application stored in a first encoding manner
  • a first converting unit configured to convert the memory information occupied by the currently executed application stored in the first encoding manner into information that the mobile terminal can display.
  • the obtaining module 302 includes:
  • a second acquiring unit configured to retrieve, from a memory interface of the mobile terminal, total memory information that is occupied by the mobile terminal stored in a second encoding manner
  • the display module 303 is specifically configured to:
  • the current memory information of the mobile terminal is displayed in the form of a floating window.
  • the mobile terminal in this embodiment includes a mobile phone or a tablet computer, and the like, which is not specifically limited in this embodiment.
  • the mobile terminal is a mobile phone, and the mobile terminal further includes: Frequency circuit, audio circuit and power circuit;
  • the radio frequency circuit is configured to establish communication between the mobile phone and the wireless network, and implement data reception and transmission between the mobile phone and the wireless network;
  • the audio circuit is configured to collect sound and convert the collected sound into sound data, so that the mobile phone sends the sound data to the wireless network through the radio frequency circuit, and/or pass the mobile phone through the radio frequency circuit
  • the sound data received by the wireless network is restored to sound and played to the user;
  • the power circuit is used to supply power to each circuit or device of the mobile phone to ensure normal operation of the mobile phone.
  • the terminal device may be a mobile phone, a human-machine interactive terminal, an e-book or other terminal device having a display function.
  • the mobile phone further includes: a casing, a circuit board, a microphone, and a speaker to complete the basic functions of the mobile phone. The following describes the casing, the circuit board, the microphone, and the speaker separately:
  • the circuit board is disposed inside the outer casing.
  • the microphone is configured to collect sound and convert the collected sound into sound data, so that the mobile phone sends the sound data to the wireless network through the radio frequency circuit;
  • the speaker is configured to restore sound data received by the mobile phone from the wireless network through the radio frequency circuit to sound and play the sound to a user.
  • the technical solution provided by the embodiment of the present invention has the beneficial effects that: the mobile terminal monitors the execution state of the local application in real time; and when it detects that any one of the applications has performed the operation, obtains the current memory information of the local end; The terminal displays the current memory information of the local end. In this way, when the application is executed, the current memory information of the local end is obtained and displayed, and the user does not need to find the usage of the memory information in the folder in the mobile terminal, so that the mobile terminal user can know the current usage of the memory information, thereby greatly improving the user's use.
  • the experience of the mobile terminal is beneficial to the management of the memory by the mobile terminal user.
  • the mobile terminal provided in this embodiment may be the same as the method embodiment, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • a person skilled in the art can understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be controlled by program instructions, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
  • the mobile terminal 600 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless transmission module 170, A processor 180 including one or more processing cores, and a power supply 190 and the like.
  • RF Radio Frequency
  • FIG. 6 does not constitute a limitation on the mobile terminal 600, and may include more or less components than those illustrated, or combine some components, or different component arrangements. . among them:
  • the RF circuit 110 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile terminal 600 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • Input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the user can click on the specified area to trigger the acquisition and display of the memory information.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. It should be noted that, in FIG. 6, only the mobile terminal 600 has the touch-sensitive surface 131 as an example of the mobile terminal 600, and the mobile terminal 600 may not have the touch-sensitive surface 131.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of mobile terminal 600, which can be comprised of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • Mobile terminal 600 may also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile terminal 600 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile terminal 600, gyroscope, barometer, hygrometer, thermometer, infrared
  • sensors such as sensors will not be described here.
  • the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the mobile terminal 600.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, sent to the mobile terminal 110 via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
  • the audio circuit 160 may also include an earphone jack to provide communication of the peripheral earphones with the mobile terminal 600.
  • the wireless transmission module 170 is preferably a wireless (fidelity fidelity) module, and the WiFi is a short-range wireless transmission technology.
  • the mobile terminal 600 can help the user to send and receive emails, browse web pages, and access streaming media through the wireless transmission module 170. Provide users with wireless broadband Internet access.
  • FIG. 6 shows the wireless transmission module 170, it can be understood that it does not belong to the essential configuration of the mobile terminal 600, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the mobile terminal 600, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the mobile terminal 600 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores.
  • the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 180.
  • the mobile terminal 600 further includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the mobile terminal 600 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit 140 of the mobile terminal 600 may be a touch screen display
  • the mobile terminal 600 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured Executing one or more programs by one or more processors includes instructions for performing the following operations: monitoring the mobile terminal in real time The execution state of the application;
  • the current memory information of the mobile terminal includes: memory information occupied by the currently executed application, or memory information occupied by the currently executed application and a total occupied by the mobile terminal. Memory information.
  • the memory of the mobile terminal further includes an instruction for: performing, by calling, thread information of the currently executed application
  • the memory information occupied by the currently executed application stored in the first encoding mode is converted into information that the mobile terminal can display.
  • the memory of the mobile terminal further includes: an instruction to: retrieve, from a memory interface of the mobile terminal, a total of the mobile terminal stored in a second coding manner that has been occupied by the mobile terminal Memory information
  • the total memory information that has been occupied by the mobile terminal stored in the second encoding mode is converted into information that the mobile terminal can display.
  • the memory of the mobile terminal further includes an instruction to: display the current memory information of the mobile terminal in a floating window.
  • a computer readable storage medium which may be a computer readable storage medium included in the memory in the above embodiment; There is a computer readable storage medium that is not assembled into the terminal.
  • the computer readable storage medium stores one or more programs, the one or more programs being used by one or more processors to perform a sliding control method, the method comprising: monitoring a mobile terminal application in real time Execution status
  • the current memory information of the local end includes: The memory information occupied by the application, or the memory information occupied by the currently executing application and the total memory information occupied by the local end.
  • the step of acquiring the current memory information of the local end includes:
  • the mobile terminal invokes thread information of an currently executed application
  • the memory information occupied by the currently executed application stored in the first encoding manner is converted into information that can be displayed by the local end.
  • the step of acquiring the current memory information of the local end includes:
  • the total memory information that has been occupied by the local end stored in the second encoding mode is converted into the information that the local end can display.
  • the step of the mobile terminal displaying the current memory information of the local terminal includes:
  • the mobile terminal displays the current memory information of the local end in the form of a floating window.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种显示信息的方法、移动终端和计算机可读存储介质,属于通信技术领域。所述方法包括:移动终端实时监控本端的应用程序的执行状态;当监控到任意一个应用程序执行操作时,获取本端当前的内存信息;所述移动终端显示所述本端当前的内存信息。本发明在应用程序执行时获取本端当前的内存信息并显示,不需要用户在移动终端的文件夹中查找内存信息的使用情况,避免了用户通过多个文件夹进行查询的过程,而是直观的使得移动终端用户获知当前内存信息使用情况,大大减少了操作时间,提高了针对内存占用情况查询的效率。

Description

显示信息的方法、 移动终端和计算机可读存储介质
本申请要求于 2012年 4月 1日提交中国专利局、申请号为 2012100944945、 发明名称为 "显示信息的方法和移动终端" 的中国专利申请的优先权, 其全部 内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术领域, 特别涉及一种显示信息的方法、 移动终端和计 算机可读存储介质。 背景技术
随着移动终端的普及, 如手机或是手持设备, 用户对移动终端的各种要求 也相应的提高, 如为了方便用户对移动终端内存的管理, 用户希望能够方便的 获知移动终端的内存占用情况, 这样如果内存占用过多, 用户就能够及时清理 内存, 实现用户对移动终端的管理。
现有技术中, 在移动终端上将内存的占用情况存储到一个文件夹中, 如果 用户需要获知移动终端的内存占用情况, 用户可以到该特定的文件夹查询, 这 样用户就可以获知该移动终端的内存占用情况。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 用户需 要到特定的文件夹中查询移动终端的内存占用情况, 用户在查找过程中可能需 要打开几个应用程序才能找到该文件夹, 获知移动终端的内存占用情况, 需要 用户介入操作比较多, 消耗的操作时间长, 且由于是针对某个文件夹的查找, 查询过程繁瑣, 导致查询的效率较低。 发明内容
为了减少操作时间, 提高针对内存占用情况查询的效率, 本发明实施例提 供了一种显示信息的方法、 移动终端和计算机可读存储介质。 所述技术方案如 下:
一方面, 提供了一种显示信息的方法, 所述方法包括: 移动终端实时监控本端的应用程序的执行状态;
当监控到任意一个应用程序执行操作时, 获取本端当前的内存信息; 所述移动终端显示所述本端当前的内存信息。
所述本端当前的内存信息包括: 当前执行的所述应用程序占用的内存信 息, 或, 当前执行的所述应用程序占用的内存信息和本端已被占用的总的内存 信息。
所述获取本端当前的内存信息, 包括:
所述移动终端调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所 述当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换 为本端能够显示的信息。
所述获取本端当前的内存信息, 包括:
从所述移动终端的内存接口上调取以第二编码方式存储的本端已被占用 的总的内存信息;
将以第二编码方式存储的本端已被占用的总的内存信息转换为所述本端 能够显示的信息。
所述移动终端显示所述本端当前的内存信息, 包括:
所述移动终端以悬浮窗的形式显示所述本端当前的内存信息。
另一方面, 提供了一种移动终端, 移动终端包括有存储器, 以及一个或者 一个以上的程序, 其中一个或者一个以上程序存储于存储器中, 且经配置以由 一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操 作的指令: 实时监控移动终端的应用程序的执行状态; 当监控到任意一个应用 程序执行操作时, 获取所述移动终端当前的内存信息; 所述显示器被配置为 用于显示所述移动终端当前的内存信息。
所述移动终端当前的内存信息包括: 当前执行的所述应用程序占用的内存 信息, 或, 当前执行的所述应用程序占用的内存信息和所述移动终端已被占用 的总的内存信息。
所述移动终端的存储器中, 还包含用于执行以下操作的指令: 调用当前执 行的应用程序的线程信息; 根据所述当前执行的应用程序的线程信息获取以第 一编码方式存储的所述当前执行的应用程序占用的内存信息; 将以第一编码方 式存储的所述当前执行的应用程序占用的内存信息转换为所述移动终端能够 显示的信息。
所述移动终端的存储器中, 还包含用于执行以下操作的指令: 从所述移动 终端的内存接口上调取以第二编码方式存储的所述移动终端已被占用的总的 内存信息; 以第二编码方式存储的所述移动终端已被占用的总的内存信息转换 为所述移动终端端能够显示的信息。
所述移动终端的存储器中, 还包含用于执行以下操作的指令: 以悬浮窗的 形式显示所述移动终端当前的内存信息。 一种计算机可读存储介质, 所述计算机可读存储介质存储有一个或者一个 以上程序, 所述一个或者一个以上程序被一个或者一个以上的处理器用来执行 一个滑动控制方法,所述方法包括:实时监控移动终端的应用程序的执行状态; 当监控到任意一个应用程序执行操作时, 获取所述移动终端当前的内存信息; 显示所述移动终端当前的内存信息。
所述本端当前的内存信息包括: 当前执行的所述应用程序占用的内存信 息, 或, 当前执行的所述应用程序占用的内存信息和本端已被占用的总的内存 信息。
所述获取本端当前的内存信息的步骤, 包括: 所述移动终端调用当前执行 的应用程序的线程信息; 根据所述当前执行的应用程序的线程信息获取以第一 编码方式存储的所述当前执行的应用程序占用的内存信息; 将以第一编码方式 存储的所述当前执行的应用程序占用的内存信息转换为本端能够显示的信息。
所述获取本端当前的内存信息的步骤, 包括: 从所述移动终端的内存接口 上调取以第二编码方式存储的本端已被占用的总的内存信息; 将以第二编码方 式存储的本端已被占用的总的内存信息转换为所述本端能够显示的信息。
所述移动终端显示所述本端当前的内存信息的步骤, 包括: 所述移动终端 以悬浮窗的形式显示所述本端当前的内存信息。
本发明实施例提供的技术方案带来的有益效果是: 移动终端实时监控本端 的应用程序的执行状态; 当监控到任意一个应用程序有执行操作时, 获取本端 当前的内存信息; 所述移动终端显示所述本端当前的内存信息。 这样在应用程 序执行时获取本端当前的内存信息并显示,避免了用户通过多个文件夹进行查 询的过程, 而是直观的使得移动终端用户获知当前内存信息使用情况, 大大减 少了操作时间, 提高了针对内存占用情况查询的效率。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例 1中提供的一种显示信息的方法的流程图;
图 2是本发明实施例 2中提供的一种显示信息的方法的流程图;
图 3是本发明实施例 2中提供的一种应用程序界面的示意图;
图 4是本发明实施例 2中提供的另一种应用程序界面的示意图;
图 5是本发明实施例 3中提供的一种移动终端的示意图;
图 6是本发明实施例提供的一种移动终端的结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。
实施例 1
参见图 1 , 本实施例中提供了一种显示信息的方法, 包括:
101、 移动终端实时监控本端的应用程序的执行状态;
102、 当监控到任意一个应用程序执行操作时, 获取本端当前的内存信息;
103、 所述移动终端显示所述本端当前的内存信息。
本实施例中可选地, 所述本端当前的内存信息包括: 当前执行的所述应用 程序占用的内存信息, 或, 当前执行的所述应用程序占用的内存信息和本端已 被占用的总的内存信息。
优选地, 所述获取本端当前的内存信息, 包括:
所述移动终端调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所 述当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换 为本端能够显示的信息。 可选地, 所述获取本端当前的内存信息, 包括:
从所述移动终端的内存接口上调取以第二编码方式存储的本端已被占用 的总的内存信息;
将以第二编码方式存储的本端已被占用的总的内存信息转换为所述本端 能够显示的信息。
可选地, 本实施例中所述移动终端显示所述本端当前的内存信息, 包括: 所述移动终端以悬浮窗的形式显示所述本端当前的内存信息。
本实施例中的移动终端包括手机或平板电脑等, 对此本实施例不做具体限 定。
本实施例通过移动终端实时监控本端的应用程序的执行状态; 当监控到任 意一个应用程序有执行操作时, 获取本端当前的内存信息; 所述移动终端显示 所述本端当前的内存信息。 这样在应用程序执行时获取本端当前的内存信息并 显示, 避免了用户通过多个文件夹进行查询的过程, 而是直观的使得移动终端 用户获知当前内存信息使用情况, 大大减少了操作时间, 提高了针对内存占用 情况查询的效率。。 实施例 2
本实施例中提供了一种显示信息的方法, 移动终端实时监控本端的应用程 序的执行状态, 在移动终端启动任意一个应用程序后, 在该应用程序的状态栏 上会显示当前应用程序所占用的内存信息, 这样移动终端用户就能随时获知所 执行的应用程序的内存情况, 本实施例中的移动终端可以是手机也可以是其它 手持设备, 对此本实施例不做具体限定, 本实施例中以手机为例进行说明。
参见图 2, 具体的本实施例中提供的显示信息的方法包括:
201、 手机实时监控本地的应用程序的执行状态。
本步骤中, 应用程序的执行状态包括: 手机启动一个应用程序的操作, 应 用程序启动后, 手机在该应用程序中再进一步执行功能选择的操作等, 对此本 实施例不做具体限定。 如手机启动了聊天软件, 在该聊天软件打开后, 进一步 选择好友列表中的一个好友发送信息, 上述手机这些都属于手机监控的状态。
其中,应用程序可以是指手机上安装的任一个应用程序或手机系统自带的 应用程序。
202、 当手机监控到本地的任意一个应用程序执行操作时, 获取本地当前 的内存信息。
本实施例中, 对手机中应用程序的源代码进行改进, 手机实时监控本地应 用程序的执行状态, 如果手机启动本地的应用程序, 手机会立即获取该应用程 序的执行状态,从而获取本地当前的内存信息,其中本地当前的内存信息包括: 当前执行的应用程序占用的内存信息, 或, 当前执行的应用程序占用的内存信 息和手机已占用的总的内存信息。 本实施例中, 手机在监控到应用程序的执行 时, 可以只获取该应用程序占用的内存信息, 可选地, 手机在获取该应用程序 占用的内存信息的同时也获取手机已占用的总的内存信息, 这样用户就可以更 方便的获知手机上内存的使用情况。
根据本地当前的内存信息的具体内容, 本步骤中获取本地当前的内存信息 包括获取当前执行的应用程序占用的内存信息和手机已占用的总的内存信息。 其中获取当前执行的应用程序占用的内存信息包括: 手机调用当前执行的应用 程序的线程信息; 根据所述当前执行的应用程序的线程信息获取以第一编码方 式存储的所述当前执行的应用程序占用的内存信息; 将以第一编码方式存储的 所述当前执行的应用程序占用的内存信息转换为手机能够显示的信息, 获得所 述当前执行的应用程序占用的内存信息。 其中应用程序的内存信息在其线程中 都有记录, 但是线程中记录的内存信息采用的是第一编码方式, 手机如果直接 显示以第一编码方式存储的内存信息可能会出现乱码, 用户不能识别, 所以需 要将第一编码方式存储的内存信息进行转换, 转换为手机能够显示的信息, 具 体的转换方式属于现有技术, 对此本实施例不再赘述。
本步骤 202中, 获取手机已占用的总的内存信息包括: 从手机的内存接口 上调取以第二编码方式存储的手机已被占用的总的内存信息; 将以第二编码方 式存储的手机已被占用的总的内存信息转换为手机能够显示的信息, 获得手机 已被占用的总的内存信息。 本实施例中, 手机中有个内存接口, 该接口记录了 手机已被占用的内存信息, 同线程中记录的内存信息相似, 该接口记录的内存 信息采用的是第二编码方式, 手机如果直接显示以第二编码方式存储的内存信 息可能会出现乱码, 用户不能识别, 所以需要将第二编码方式存储的内存信息 进行转换, 转换为手机能够显示的信息, 具体的转换方式也属于现有技术, 对 此本实施例不再赘述。 其中第一编码方式与第二编码方式可能相同也可能不 同, 对此本实施例不做具体限定。
203、 手机显示本地当前的内存信息。 本实施例中, 手机监控到应用程序的执行操作时, 获取本地当前的内存信 息, 并进一步将该内存信息显示在手机的状态栏上。 其中, 手机可以将当前的 内存信息以悬浮窗的形式显示在手机状态栏上, 也可以直接在状态栏上添加一 个窗口, 用来显示当前的内存信息, 当获取到当前内存信息后, 将当前内存信 息的值返回给状态栏并在状态栏的窗口中进行显示, 或是返回给悬浮窗口进行 显示, 对此本实施例不做具体限定。
需要说明的是, 该悬浮窗或用于显示的窗口可以在应用程序打开时创建, 其具体显示的内存信息可以根据应用程序的操作频率进行更新, 当当前打开的 应用程序执行操作时, 触发获取本地当前的内存信息。
本实施例中, 内存信息的显示位置可以在手机屏幕上方的状态栏上, 也可 以在手机下方的状态栏上, 可以在状态栏的居中位置, 也可以在状态栏的左方 或是右方, 对此本实施例不做具体限定。 具体的如果手机当前的内存信息包括 当前执行的应用程序占用的内存信息和手机已占用的总的内存信息, 内存信息 显示的排列顺序本实施例也不做具体限定,如排列顺序可以是当前执行的应用 程序占用的内存信息 /手机已占用的总的内存信息,或手机已占用的总的内存信 息 /当前执行的应用程序占用的内存信息。
本实施例中,可选地,本地当前的内存信息还可以包括手机总的内存信息, 手机在获取本端当前的内存信息时, 同时获取手机总的内存信息, 可以把手机 总的内存信息也显示在状态栏上, 对此本实施例不做具体限定。
为了使本领域技术人员更加理解本实施例中提供的方法, 现举例如下: 如图 3所示, 手机启动了聊天软件, 该聊天软件启动后, 在界面的状态栏 位置显示该软件所占的内存和手机已被占用的总的内存信息: 10M/100M, 当 用户在好友列表中选择一个好友发送消息时, 应用程序界面转换为图 4所示, 此时显示的内存信息为: 11M/101M。 通过状态栏上内存信息的显示, 用户可 以详细的了解现有的内存使用情况, 不需要用户在移动终端中的文件夹中查找 内存信息的使用情况, 方便移动终端用户获知当前内存信息使用情况, 大大提 高了用户使用该移动终端时的体验感, 有利于移动终端用户对内存的管理。
本实施例中的有益效果包括: 移动终端实时监控本端的应用程序的执行状 态; 当监控到任意一个应用程序有执行操作时, 获取本端当前的内存信息; 所 述移动终端显示所述本端当前的内存信息。这样在应用程序执行时获取本端当 前的内存信息并显示, 避免了用户通过多个文件夹进行查询的过程, 而是直观 的使得移动终端用户获知当前内存信息使用情况, 大大减少了操作时间, 提高 了针对内存占用情况查询的效率。 进一步地, 本实施例中将手机已被占用的内 存同时显示, 可以使用户更进一步地了解手机内存的使用情况, 方便用户的手 机内存的管理, 并以悬浮窗口的形式显示内存信息, 实现方便。 实施例 3
参见图 5 , 本实施例中提供了一种移动终端, 所述移动终端包括: 监控模 块 301、 获取模块 302和显示模块 303。
监控模块 301 , 用于实时监控移动终端的应用程序的执行状态;
获取模块 302, 用于当监控到任意一个应用程序有执行操作时, 获取所述 移动终端当前的内存信息;
显示模块 303 , 用于显示所述移动终端当前的内存信息。
可选地, 所述移动终端当前的内存信息包括: 当前执行的所述应用程序占 用的内存信息, 或, 当前执行的所述应用程序占用的内存信息和所述移动终端 已被占用的总的内存信息。
优选地, 所述获取模块 302, 包括:
调用单元, 用于调用当前执行的应用程序的线程信息;
第一获取单元, 用于根据所述当前执行的应用程序的线程信息获取以第一 编码方式存储的所述当前执行的应用程序占用的内存信息;
第一转换单元, 用于将以第一编码方式存储的所述当前执行的应用程序占 用的内存信息转换为所述移动终端能够显示的信息。
可选地, 所述获取模块 302, 包括:
第二获取单元, 用于从所述移动终端的内存接口上调取以第二编码方式存 储的所述移动终端已被占用的总的内存信息;
将第二转换单元, 用于以第二编码方式存储的所述移动终端已被占用的总 的内存信息转换为所述移动终端端能够显示的信息。
所述显示模块 303具体用于:
以悬浮窗的形式显示所述移动终端当前的内存信息。
本实施例中的移动终端包括手机或平板电脑等, 对此本实施例不做具体限 定。
优选地, 该移动终端为手机, 该移动终端在上述模块的基础上还包括: 射 频电路、 音频电路和电源电路;
所述射频电路, 用于建立手机与无线网络的通信, 实现手机与无线网络的 数据接收和发送;
所述音频电路, 用于采集声音并将采集的声音转化为声音数据, 以便所述 手机通过所述射频电路向无线网络发送所述声音数据 ,和 /或将所述手机通过所 述射频电路从无线网络接收的声音数据, 还原为声音并向用户播放该声音; 所述电源电路, 用于为所述手机的各个电路或器件供电, 保证手机的正常 工作。
上述终端设备可以为手机、 人机交互终端、 电子书或其他具有显示功能的 终端设备。 在终端设备为手机的情下, 该手机还包括: 外壳, 电路板、 麦克风、 和扬声器以便完成手机的基本功能, 下面对外壳, 电路板、 麦克风、 和扬声器 分别进行介绍:
所述电路板安置在所述外壳内部。
所述麦克风, 用于采集声音并将采集的声音转化为声音数据, 以便所述手 机通过所述射频电路向无线网络发送所述声音数据;
所述扬声器, 用于将所述手机通过所述射频电路从无线网络接收的声音数 据, 还原为声音并向用户播放该声音。
本发明实施例提供的技术方案带来的有益效果是: 移动终端实时监控本端 的应用程序的执行状态; 当监控到任意一个应用程序有执行操作时, 获取本端 当前的内存信息; 所述移动终端显示所述本端当前的内存信息。 这样在应用程 序执行时获取本端当前的内存信息并显示, 不需要用户在移动终端中的文件夹 中查找内存信息的使用情况, 方便移动终端用户获知当前内存信息使用情况, 大大提高了用户使用该移动终端时的体验感,有利于移动终端用户对内存的管 理。
本实施例提供的移动终端, 具体可以与方法实施例属于同一构思, 其具体 实现过程详见方法实施例, 这里不再赘述。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序指令控制相关的硬件完成, 所述的程序可以存 储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁 盘或光盘等。 移动终端 600可以包括 RF ( Radio Frequency, 射频 )电路 110、 包括有一 个或一个以上计算机可读存储介质的存储器 120、输入单元 130、显示单元 140、 传感器 150、 音频电路 160、 无线传输模块 170、 包括一个或者一个以上处理核 心的处理器 180、 以及电源 190等部件。 本领域技术人员可以理解, 图 6中示 出的移动终端结构并不构成对移动终端 600的限定, 可以包括比图示更多或更 少的部件, 或者组合某些部件, 或者不同的部件布置。 其中:
RF电路 110可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站的下行信息接收后, 交由一个或者一个以上处理器 180处理; 另外, 将 涉及上行的数据发送给基站。 通常, RF电路 110包括但不限于天线、 至少一 个放大器、 调谐器、 一个或多个振荡器、 用户身份模块(SIM )卡、 收发信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器)、 双工器等。 此外, RF 电路 110还可以通过无线通信与网络和其他设备通信。 所述无线通信可以使用 任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication, 全球移动通讯系统)、 GPRS (General Packet Radio Service , 通 用分组无线服务)、 CDMA(Code Division Multiple Access , 码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、 LTE(Long Term Evolution,长期演进)、 电子邮件、 SMS (Short Messaging Service, 短消息服 务)等。
存储器 120可用于存储软件程序以及模块, 处理器 180通过运行存储在存 储器 120的软件程序以及模块, 从而执行各种功能应用以及数据处理。 存储器 120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存 储数据区可存储根据移动终端 600的使用所创建的数据(比如音频数据、 电话 本等)等。 此外, 存储器 120可以包括高速随机存取存储器, 还可以包括非易 失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存储 器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理器 180和输 入单元 130对存储器 120的访问。
输入单元 130可用于接收输入的数字或字符信息, 以及产生与用户设置以 及功能控制有关的键盘、 鼠标、 操作杆、 光学或者轨迹球信号输入。 可选地, 输入单元 130可包括触敏表面 131以及其他输入设备 132。 触敏表面 131 , 也 称为触摸显示屏或者触控板, 可收集用户在其上或附近的触摸操作(比如用户 使用手指、 触笔等任何适合的物体或附件在触敏表面 131上或在触敏表面 131 附近的操作), 并根据预先设定的程式驱动相应的连接装置。 可选的, 触敏表 面 131可包括触摸检测装置和触摸控制器两个部分。 其中, 触摸检测装置检测 用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触 摸控制器从触摸检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处 理器 180, 并能接收处理器 180发来的命令并加以执行。 而对于本发明实施例 来说, 可以通过用户对指定区域的点击以触发内存信息的获取和显示。 此外, 可以采用电阻式、 电容式、红外线以及表面声波等多种类型实现触敏表面 131。 除了触敏表面 131 , 输入单元 130还可以包括其他输入设备 132。 具体地, 其 他输入设备 132可以包括但不限于物理键盘、 功能键(比如音量控制按键、 开 关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。 需要说明的是, 图 6 中仅以该移动终端 600具有触敏表面 131作为移动终端 600的一个示例, 该移 动终端 600也可以不具有触敏表面 131。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及移动 终端 600的各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构成。 显示单元 140可包括显示面板 141 , 可选的, 可以 采用 LCD(Liquid Crystal Display, 液晶显示器)、 OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板 141。 进一步的, 触敏表面 131 可覆盖显示面板 141 , 当触敏表面 131检测到在其上或附近的触摸操作后, 传 送给处理器 180以确定触摸事件的类型, 随后处理器 180根据触摸事件的类型 在显示面板 141上提供相应的视觉输出。
移动终端 600还可包括至少一种传感器 150, 比如光传感器、 运动传感器 以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中, 环境光传感器可根据环境光线的明暗来调节显示面板 141的亮度,接近传感器 可在移动终端 600移动到耳边时, 关闭显示面板 141和 /或背光。作为运动传感 器的一种,重力加速度传感器可检测各个方向上(一般为三轴 )加速度的大小, 静止时可检测出重力的大小及方向, 可用于识别手机姿态的应用 (比如横竖屏 切换、 相关游戏、 磁力计姿态校准)、 振动识别相关功能(比如计步器、 敲击) 等; 至于移动终端 600还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线 传感器等其他传感器, 在此不再赘述。
音频电路 160、 扬声器 161 , 传声器 162可提供用户与移动终端 600之间 的音频接口。 音频电路 160可将接收到的音频数据转换后的电信号, 传输到扬 声器 161 , 由扬声器 161转换为声音信号输出; 另一方面, 传声器 162将收集 的声音信号转换为电信号, 由音频电路 160接收后转换为音频数据, 再将音频 数据输出处理器 180处理后, 经 RF电路 110以发送给比如另一移动终端, 或 者将音频数据输出至存储器 120以便进一步处理。 音频电路 160还可能包括耳 塞插孔, 以提供外设耳机与移动终端 600的通信。
无线传输模块 170优选为 WiFi(wireless fidelity, 无线保真)模块, WiFi属 于短距离无线传输技术, 移动终端 600通过无线传输模块 170可以帮助用户收 发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网 访问。 虽然图 6示出了无线传输模块 170, 但是可以理解的是, 其并不属于移 动终端 600的必须构成, 完全可以根据需要在不改变发明的本质的范围内而省 略。
处理器 180是移动终端 600的控制中心, 利用各种接口和线路连接整个手 机的各个部分,通过运行或执行存储在存储器 120内的软件程序和 /或模块, 以 及调用存储在存储器 120内的数据,执行移动终端 600的各种功能和处理数据, 从而对手机进行整体监控。 可选的, 处理器 180可包括一个或多个处理核心; 优选的, 处理器 180可集成应用处理器和调制解调处理器, 其中, 应用处理器 主要处理操作系统、 用户界面和应用程序等, 调制解调处理器主要处理无线通 信。 可以理解的是, 上述调制解调处理器也可以不集成到处理器 180中。
移动终端 600还包括给各个部件供电的电源 190 (比如电池), 优选的, 电 源可以通过电源管理系统与处理器 180逻辑相连,从而通过电源管理系统实现 管理充电、 放电、 以及功耗管理等功能。 电源 190还可以包括一个或一个以上 的直流或交流电源、再充电系统、 电源故障检测电路、 电源转换器或者逆变器、 电源状态指示器等任意组件。
尽管未示出, 移动终端 600还可以包括摄像头、 蓝牙模块等, 在此不再赘 述。 具体在本实施例中, 移动终端 600的显示单元 140可以是触摸屏显示器, 该移动终端 600还包括有存储器, 以及一个或者一个以上的程序, 其中一个或 者一个以上程序存储于存储器中, 且经配置以由一个或者一个以上处理器执行 述一个或者一个以上程序包含用于进行以下操作的指令: 实时监控移动终端的 应用程序的执行状态;
当监控到任意一个应用程序执行操作时, 获取所述移动终端当前的内存信 息;
显示所述移动终端当前的内存信息。
可选地, 所述移动终端当前的内存信息包括: 当前执行的所述应用程序占 用的内存信息, 或, 当前执行的所述应用程序占用的内存信息和所述移动终端 已被占用的总的内存信息。
可选地, 所述移动终端的存储器中, 还包含用于执行以下操作的指令: 调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所 述当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换 为所述移动终端能够显示的信息。
可选地, 所述移动终端的存储器中, 还包含用于执行以下操作的指令: 从所述移动终端的内存接口上调取以第二编码方式存储的所述移动终端 已被占用的总的内存信息;
以第二编码方式存储的所述移动终端已被占用的总的内存信息转换为所 述移动终端端能够显示的信息。
可选地, 所述移动终端的存储器中, 还包含用于执行以下操作的指令: 以悬浮窗的形式显示所述移动终端当前的内存信息。 作为另一方面, 本发明再一实施例还提供了一种计算机可读存储介质, 该 计算机可读存储介质可以是上述实施例中的存储器中所包含的计算机可读存 储介质; 也可以是单独存在, 未装配入终端中的计算机可读存储介质。 所述计 算机可读存储介质存储有一个或者一个以上程序, 所述一个或者一个以上程序 被一个或者一个以上的处理器用来执行一个滑动控制方法, 所述方法包括: 实时监控移动终端的应用程序的执行状态;
当监控到任意一个应用程序执行操作时, 获取所述移动终端当前的内存信 息;
显示所述移动终端当前的内存信息。 4ϋ殳上述为第一种可能的实施方式, 则在第一种可能的实施方式作为基础 而提供的第二种可能的实施方式中, 所述本端当前的内存信息包括: 当前执行 的所述应用程序占用的内存信息, 或, 当前执行的所述应用程序占用的内存信 息和本端已被占用的总的内存信息。 在第二种可能的实施方式作为基础而提供的第三种可能的实施方式中, 所 述获取本端当前的内存信息的步骤, 包括:
所述移动终端调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所 述当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换 为本端能够显示的信息。 在第二种可能的实施方式作为基础而提供的第四种可能的实施方式中, 所 述获取本端当前的内存信息的步骤, 包括:
从所述移动终端的内存接口上调取以第二编码方式存储的本端已被占用 的总的内存信息;
将以第二编码方式存储的本端已被占用的总的内存信息转换为所述本端 能够显示的信息。
在上述任一的实施方式作为基础而提供的第五种可能的实施方式中, 所述 移动终端显示所述本端当前的内存信息的步骤, 包括:
所述移动终端以悬浮窗的形式显示所述本端当前的内存信息。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。

Claims

权 利 要 求 书
1、 一种显示信息的方法, 其特征在于, 所述方法包括:
移动终端实时监控本端的应用程序的执行状态;
当监控到任意一个应用程序执行操作时, 获取本端当前的内存信息; 所述移动终端显示所述本端当前的内存信息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述本端当前的内存信息包 括: 当前执行的所述应用程序占用的内存信息, 或, 当前执行的所述应用程序 占用的内存信息和本端已被占用的总的内存信息。
3、 根据权利要求 2所述的方法, 其特征在于, 所述获取本端当前的内存信 息的步骤, 包括:
所述移动终端调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所述 当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换为 本端能够显示的信息。
4、 根据权利要求 2所述的方法, 其特征在于, 所述获取本端当前的内存信 息的步骤, 包括:
从所述移动终端的内存接口上调取以第二编码方式存储的本端已被占用的 总的内存信息;
将以第二编码方式存储的本端已被占用的总的内存信息转换为所述本端能 够显示的信息。
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 所述移动终端显示 所述本端当前的内存信息的步骤, 包括:
所述移动终端以悬浮窗的形式显示所述本端当前的内存信息。
6、 一种移动终端, 其特征在于, 移动终端包括: 存储器
处理器
显示器; 及
一个或一个以上的程序模块存储在所述存储器中, 并被处理器执行, 以实 现显示信息的方法, 该一个或一个以上的程序模块包括:
实时监控移动终端的应用程序的执行状态的模块;
当监控到任意一个应用程序执行操作时, 获取所述移动终端当前的内存信 息的模块; 及
将所述移动终端当前的内存信息显示于所述显示器上的模块。
7、 根据权利要求 6所述的移动终端, 其特征在于, 所述移动终端当前的内 存信息包括: 当前执行的所述应用程序占用的内存信息, 或, 当前执行的所述 应用程序占用的内存信息和所述移动终端已被占用的总的内存信息。
8、 根据权利要求 7所述的移动终端, 其特征在于, 所述一个或一个以上的 程序模块还包括:
调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所述 当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换为 所述移动终端能够显示的信息。
9、 根据权利要求 7所述的移动终端, 其特征在于, 所述一个或一个以上的 程序模块还包括:
从所述移动终端的内存接口上调取以第二编码方式存储的所述移动终端已 被占用的总的内存信息;
以第二编码方式存储的所述移动终端已被占用的总的内存信息转换为所述 移动终端端能够显示的信息。
10、根据权利要求 7-9任一项所述的移动终端, 其特征在于, 所述一个或一 个以上的程序模块还包括: 以悬浮窗的形式显示所述移动终端当前的内存信息。
11、 一种计算机可读存储介质, 其特征在于, 所述计算机可读存储介质存 储有一个或者一个以上程序, 所述一个或者一个以上程序被一个或者一个以上 的处理器用来执行一个滑动控制方法, 所述方法包括:
实时监控移动终端的应用程序的执行状态;
当监控到任意一个应用程序执行操作时, 获取所述移动终端当前的内存信 息;
将所述移动终端当前的内存信息显示在一个显示器上。
12、 根据权利要求 11所述的计算机可读存储介质, 其特征在于, 所述本端 当前的内存信息包括: 当前执行的所述应用程序占用的内存信息, 或, 当前执 行的所述应用程序占用的内存信息和本端已被占用的总的内存信息。
13、 根据权利要求 12所述的计算机可读存储介质, 其特征在于, 所述获取 本端当前的内存信息的步骤, 包括:
所述移动终端调用当前执行的应用程序的线程信息;
根据所述当前执行的应用程序的线程信息获取以第一编码方式存储的所述 当前执行的应用程序占用的内存信息;
将以第一编码方式存储的所述当前执行的应用程序占用的内存信息转换为 本端能够显示的信息。
14、 根据权利要求 12所述的计算机可读存储介质, 其特征在于, 所述获取 本端当前的内存信息的步骤, 包括:
从所述移动终端的内存接口上调取以第二编码方式存储的本端已被占用的 总的内存信息;
将以第二编码方式存储的本端已被占用的总的内存信息转换为所述本端能 够显示的信息。
15、 根据权利要求 11-14任一项所述的计算机可读存储介质, 其特征在于, 所述移动终端显示所述本端当前的内存信息的步骤, 包括: 所述移动终端以悬浮窗的形式显示所述本端当前的内存信息。
PCT/CN2013/072183 2012-04-01 2013-03-05 显示信息的方法、移动终端和计算机可读存储介质 WO2013149530A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/498,882 US20150019764A1 (en) 2012-04-01 2014-09-26 Information displaying method, mobile terminal device and non-transitory computer readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210094494.5A CN103365760B (zh) 2012-04-01 2012-04-01 显示信息的方法和移动终端
CN201210094494.5 2012-04-01

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/498,882 Continuation US20150019764A1 (en) 2012-04-01 2014-09-26 Information displaying method, mobile terminal device and non-transitory computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2013149530A1 true WO2013149530A1 (zh) 2013-10-10

Family

ID=49299975

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072183 WO2013149530A1 (zh) 2012-04-01 2013-03-05 显示信息的方法、移动终端和计算机可读存储介质

Country Status (3)

Country Link
US (1) US20150019764A1 (zh)
CN (1) CN103365760B (zh)
WO (1) WO2013149530A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103605614B (zh) * 2013-11-29 2017-05-31 贝壳网际(北京)安全技术有限公司 一种用于移动终端的内存清理方法及装置
CN104077104B (zh) * 2014-07-11 2019-10-11 上海斐讯数据通信技术有限公司 一种移动终端通知栏的通知的显示与查看方法
CN105404578B (zh) * 2014-09-10 2019-04-12 腾讯科技(深圳)有限公司 用于显示应用程序所占用的内存的方法和装置
CN104360931A (zh) * 2014-12-08 2015-02-18 上海斐讯数据通信技术有限公司 应用占用内存的显示方法及装置、移动终端
CN104572459B (zh) * 2014-12-29 2017-12-12 北京奇虎科技有限公司 一种信息提醒方法和装置
CN105138361B (zh) * 2015-08-19 2018-12-14 北京金山安全软件有限公司 一种移动终端执行操作指令的方法及装置
CN105912450B (zh) * 2016-04-13 2019-12-13 北京小米移动软件有限公司 应用的状态信息显示方法及装置
CN105955862A (zh) * 2016-04-15 2016-09-21 乐视控股(北京)有限公司 一种异常问题的监测定位方法及装置
CN106021070A (zh) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 服务器集群监测方法及装置
CN107544723B (zh) * 2016-06-28 2020-12-08 阿里巴巴集团控股有限公司 一种应用程序的交互方法、装置及系统
CN109376056A (zh) * 2018-10-17 2019-02-22 Oppo广东移动通信有限公司 异常日志分析方法、装置、存储介质、移动终端及服务器
CN112306790B (zh) * 2019-07-29 2023-05-02 深圳Tcl数字技术有限公司 一种内存数据获取方法、装置、智能终端及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (zh) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 应用程序实时监控系统及方法
CN102063363A (zh) * 2010-01-26 2011-05-18 深圳市同洲电子股份有限公司 一种内存占用情况统计装置及内存占用情况统计方法
CN102073591A (zh) * 2011-01-14 2011-05-25 福建星网视易信息系统有限公司 嵌入式系统内存占用状况检测方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7155583B2 (en) * 2004-02-25 2006-12-26 Research In Motion Limited Memory management system and method for a mobile device
US8904359B2 (en) * 2008-03-06 2014-12-02 International Business Machines Corporation On-demand monitoring of memory usage
EP2390756A1 (en) * 2010-05-25 2011-11-30 Samsung Electronics Co., Ltd. Method and apparatus for managing an application being executed in a portable terminal
KR20120049604A (ko) * 2010-11-09 2012-05-17 삼성전자주식회사 모바일 디바이스의 메모리 관리 방법 및 장치

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (zh) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 应用程序实时监控系统及方法
CN102063363A (zh) * 2010-01-26 2011-05-18 深圳市同洲电子股份有限公司 一种内存占用情况统计装置及内存占用情况统计方法
CN102073591A (zh) * 2011-01-14 2011-05-25 福建星网视易信息系统有限公司 嵌入式系统内存占用状况检测方法及系统

Also Published As

Publication number Publication date
CN103365760A (zh) 2013-10-23
CN103365760B (zh) 2017-10-24
US20150019764A1 (en) 2015-01-15

Similar Documents

Publication Publication Date Title
WO2013149530A1 (zh) 显示信息的方法、移动终端和计算机可读存储介质
CN106686396B (zh) 一种切换直播间的方法和系统
CN104518953B (zh) 删除消息的方法、即时通信终端及系统
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
WO2016150331A1 (zh) 一种运行游戏客户端的方法和装置
US20160110005A1 (en) Tapping Control Method and Terminal
TWI520043B (zh) 消息查看方法、裝置和移動終端
WO2017008569A1 (zh) 消息更新方法、装置及终端
US20170364257A1 (en) Gesture control method, gesture control device and gesture control system
CN106375179B (zh) 一种显示即时通信消息的方法和装置
WO2016119580A1 (zh) 一种开启终端的语音输入功能的方法、装置和终端
US10084729B2 (en) Apparatuses and methods for web page sharing
WO2014206101A1 (zh) 一种基于手势的会话处理方法、装置及终端设备
WO2014206143A1 (zh) 未读消息数目显示方法、装置和设备
US20150082379A1 (en) Page display method, apparatus and terminal
WO2015043194A1 (zh) 虚拟键盘显示方法、装置及终端
CN106406924B (zh) 应用程序启动和退出画面的控制方法、装置及移动终端
WO2018040813A1 (zh) 音视频通信方法、终端、服务器及存储介质
KR20220092602A (ko) 애플리케이션 공유 방법, 전자기기 및 컴퓨터 판독가능 저장 매체
WO2015043200A1 (en) Method and apparatus for controlling applications and operations on a terminal
WO2015024372A1 (zh) 发起通信的方法、装置及移动终端
CN110072013B (zh) 终端控制方法及装置
CN108881778B (zh) 一种基于可穿戴设备的视频输出方法及可穿戴设备
WO2014166263A1 (en) Communication method, system, server and client device for user-interactive system
CN105739856B (zh) 一种执行对象操作处理的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13772064

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 09/12/2014)

122 Ep: pct application non-entry in european phase

Ref document number: 13772064

Country of ref document: EP

Kind code of ref document: A1