WO2015184777A1 - Display method and device - Google Patents

Display method and device Download PDF

Info

Publication number
WO2015184777A1
WO2015184777A1 PCT/CN2014/095189 CN2014095189W WO2015184777A1 WO 2015184777 A1 WO2015184777 A1 WO 2015184777A1 CN 2014095189 W CN2014095189 W CN 2014095189W WO 2015184777 A1 WO2015184777 A1 WO 2015184777A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
running
state
status
unit
Prior art date
Application number
PCT/CN2014/095189
Other languages
French (fr)
Chinese (zh)
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 WO2015184777A1 publication Critical patent/WO2015184777A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present invention relates to the field of terminal display technologies, and in particular, to a display method and apparatus.
  • a mobile terminal generally supports multi-tasking operation, and a multi-tasking operation can support multiple applications to run simultaneously in the background. Since each application needs to occupy system resources when running in the background, the more applications that run, the fewer remaining system resources, and the fewer system resources remaining, the slower the system runs. Therefore, when the user opens multiple applications without being closed, the system resources are not released, and the system will become slower, affecting the user experience. In the related solution, when the user feels slow, enter the program interface of the optimized application to view the application running in the background, and then end the application running in the background.
  • the main object of the present invention is to solve the technical problem of cumbersome operation of displaying the operating state of an application.
  • a display method for displaying an operating state of an application of a mobile terminal comprising the following steps:
  • the obtained status icon is displayed as the application identifier of the application in the browsing interface.
  • the method further includes: Step:
  • the method further includes:
  • the step of determining the current running state of the application includes:
  • the running state of the application is a high consumption state.
  • the method further includes:
  • the running state is stored in association with each other; or the obtained plurality of status icons and the default application identifier are stored in association with various operating states of the application.
  • a display device for displaying an operating state of an application of a mobile terminal, the device including running a status query unit, a status icon acquisition unit, and an application identification display unit, wherein
  • the running status query unit is configured to: determine a current running state of the application
  • the status icon acquiring unit is configured to: obtain a status icon corresponding to the current running status of the application according to a preset correspondence between the running state of the application and the status icon;
  • the application identifier display unit is configured to display the acquired status icon as an application identifier of the application in the browsing interface.
  • the display device of the running state of the application of the mobile terminal further includes an application identifier obtaining unit and an application acquiring unit, where:
  • the application identifier obtaining unit is configured to: obtain an application identifier displayed in the current browsing interface;
  • the application obtaining unit is configured to: obtain an application corresponding to the acquired application identifier.
  • the device further includes an input detection unit and a process termination unit, wherein:
  • the input detecting unit is configured to: receive a status icon input in the browsing interface;
  • the process termination unit is configured to: if the input operation conforms to the preset operation, end the running of the application in the background, refresh the running state of the application, and invoke the status icon corresponding to the running state after the refresh as the The application identifier of the application is displayed within the browsing interface.
  • the running status query unit includes an operation information acquiring unit, an occupation information acquiring unit, and an operating state determining unit, where:
  • the operation information acquiring unit is configured to: obtain running information of the current background running
  • the occupation information acquisition unit is configured to: obtain the occupation information of the application occupation system resource according to the acquired operation information;
  • the operation status determining unit is configured to: if the acquired occupation information of the application is empty, determine that the running status of the application is not running; and if the acquired occupation information is not empty and does not reach the preset Determining the condition, determining that the running state of the application is a normal consumption state; and determining that the running state of the application is a high consumption state if the acquired occupancy information is not empty and the preset determination condition is reached.
  • the display device of the running state of the application of the mobile terminal further includes a preset state icon storage unit, where
  • the preset status icon storage unit is configured to respectively assign a status icon to each running state of the application.
  • the device further includes a default identifier obtaining unit, a picture processing unit, and a newly added state icon storage unit, where:
  • the default identifier obtaining unit is configured to: obtain a default application identifier of the application or a screenshot of the application at runtime;
  • the image processing unit is configured to: perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons;
  • the newly added state icon storage unit is configured to: store the obtained plurality of state icons in association with the plurality of operating states of the application; or select the obtained plurality of state icons and the default application identifier and the The various operating states of the application are stored in association.
  • a computer program comprising program instructions which, when executed by a computer, cause the computer to perform any of the above display methods.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • the method and device for displaying the running state of the application of the mobile terminal provided by the embodiment of the present invention will change the application identifier according to the running state of the application, so that the application identifier transmits the running information of the corresponding application, so that the user can
  • the browsing interface can view the running status of the application during the process of browsing the application identification, and has the effect of displaying the running state of the application without cumbersome operations.
  • FIG. 1 is a schematic flow chart of a first embodiment of a display method according to the present invention.
  • FIG. 2 is a schematic flow chart of a second embodiment of a display method according to the present invention.
  • FIG. 3 is a schematic flow chart of a third embodiment of a display method according to the present invention.
  • FIG. 4 is a schematic flow chart of a fourth embodiment of a display method according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a display method according to the present invention.
  • FIG. 6 is a schematic flow chart of a sixth embodiment of a display method according to the present invention.
  • Figure 7 is a modular block diagram of a first embodiment of a display device of the present invention.
  • FIG. 8 is a modular block diagram of an operation status inquiry unit of the display device shown in FIG. 7;
  • Figure 9 is a modular block diagram of a second embodiment of a display device of the present invention.
  • Embodiments of the present invention provide a display method.
  • FIG. 1 is a schematic flow chart of a first embodiment of a display method according to the present invention.
  • the display method includes the following steps:
  • step S100 the current running state of the application is determined.
  • the application is an application that implements certain functions in a system installed in a mobile terminal, such as a camera program, a WeChat client, and a Baidu map program.
  • the running status includes not running in the background, running in the background, running in the background and taking up more system memory and running in the background and taking up less system memory.
  • the current running state of the application can be actively queried through the framework interface of the system; or the state can be reported by the application itself.
  • the system of the mobile terminal usually includes multiple applications, and each application has its corresponding running state.
  • the application that needs to be determined in the embodiment may determine one, multiple or all applications according to preset conditions. Operating status.
  • Step S200 Acquire a status icon corresponding to the current running state of the application according to a preset correspondence between the running state of the application and the status icon.
  • the running state between the running state and the status icon of each application in the mobile terminal is preset. Correspondence relationship.
  • Step S300 displaying the acquired status icon as an application identifier of the application in the browsing interface.
  • the browsing interface is used to display the application identity of the application. Specifically, the browsing interface may only display the application identifier; the application identifier may be displayed in one area, and the folder containing multiple application identifiers may be displayed in another area; and the plurality of application browsing pages may be reduced and displayed on the same browsing interface on the same screen. Among them, each application browsing page includes several application identifiers.
  • the browsing interface can usually be displayed through the Launcher (Application Launcher).
  • the Launcher can read the application ID of the application within the system. When the number of applications is large, some of the application identifiers are stored on the main application browsing page, and another part of the application identifiers are stored on the secondary application browsing page (if not enough, continue to increase the application browsing page).
  • the browsing interface displays the application browsing page, first loads the main application browsing page, thereby displaying the application identifier in the main application browsing page in the browsing interface; when receiving the operation of switching to the secondary application browsing page, the Launcher is loaded
  • the application page is displayed to display the application identifier in the secondary application browsing page in the browsing interface.
  • the folder is displayed when the browsing interface loads the application browsing page, and when the user clicks the folder, the browsing interface displays the application identifier included in the folder. .
  • the running state of an application has been determined, the corresponding status icon of the application is obtained according to the running state, and the status icon is stored in the cache as the application identifier of the program, and is used by the Launcher to be displayed in the browsing interface.
  • the display method provided in this embodiment will change the application identifier according to the running state of the application, so that the application identifier transmits the operation information of the corresponding application, so that the user can view the application identifier in the browsing interface.
  • the running state of the application has the effect of displaying the running state of the application without cumbersome operations.
  • FIG. 2 is a schematic flow chart of a second embodiment of a display method according to the present invention.
  • step S100 the method further includes the steps of:
  • Step S400 Acquire an application identifier displayed in the current browsing interface.
  • Step S500 obtaining a corresponding application according to the acquired application identifier.
  • the application identifiers of the corresponding applications are also more, so that multiple application identifiers are grouped and stored in different application browsing pages. Since the browsing interface of the mobile terminal intelligently displays the application identifier in one application browsing page each time, even if all the application identifiers are refreshed according to their running status, only the application identifier in the current browsing interface can be displayed. Therefore, a more reasonable solution is to refresh only the application identifier in the current browsing interface according to its running state. Specifically, when the browsing interface is completely displayed, the application included in the currently used browsing interface can be obtained through the framework interface of the mobile terminal system; of course, the browsing interface can be switched from displaying the previous application browsing page to displaying.
  • the application identifier to be displayed in the current browsing interface can be obtained through the framework interface of the mobile terminal system, so as to identify the corresponding application according to the application identifiers. Then, the acquired applications are taken as objects, and step S100 and subsequent steps are performed.
  • the browsing interface stays in an application browsing page for a long time, the application included in the browsing interface may be continued, and step S100 and subsequent steps are repeatedly performed.
  • the display method provided in this embodiment refreshes the application identifier in the current browsing interface with respect to the application identifier of all the applications, thereby having the effect of less workload and higher work efficiency.
  • FIG. 3 is a schematic flowchart of a sixth embodiment of a display method according to the present invention.
  • step 300 the method further includes:
  • Step S600 Receive a user input operation of a status icon in the browsing interface.
  • the input operation of the user may be received through the touch screen, such as a click of a preset position, a double click, a long press, a linear slide, or a curve slide. It is generally possible to receive a separate operation or a combination of operations as described above by the user.
  • step S700 it is determined whether the received input operation conforms to the preset operation; if yes, step S800 is performed; if not, step S100 is performed after the preset time is delayed.
  • Step S800 ending the running of the application in the background, and refreshing the running state of the application, and calling the status icon corresponding to the running status after the refresh as the application identifier of the application is displayed in the browsing interface.
  • the preset operation may be a double tap at a preset position, a long press, a two-finger slide, or a specified curve slide.
  • an application identifier that is long-pressed in the normal consumption state or an application identifier that is in a high-consumption state pops up an option, and then selects an application that ends the application corresponding to the application identifier in the background of the system. Then, the application identifier after the operation is refreshed to display accurate status information.
  • the application included in the application browsing page may be used as an object, and step S100 and subsequent steps are repeatedly performed. Steps to achieve the effect of updating the application identity in a timely manner.
  • the application identifier carries the running state information of the corresponding application, so that when the user views the browsing interface, the running state of the application in the current interface can be known. Further, the running application is terminated by providing a control scheme within the browsing interface, thereby enabling the user to quickly end the running application.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a display method according to the present invention.
  • step 100 includes the following steps:
  • step 101 the running information of the current background running is obtained.
  • the mobile terminal system can perform multi-tasking operation, and enters the background operation when the application is started.
  • the application running page is loaded for viewing and operation.
  • the running information of the application running in the background can be actively queried through the framework interface of the system; or the running information of the application can be reported by the application.
  • the operational information may include the application ID, name, hardware call status, memory usage, and CPU usage.
  • Step 102 Acquire occupation information of the system occupied by the application according to the obtained operation information.
  • the obtained running information includes: WeChat client, Baidu map program and camera program are currently running.
  • the WeChat client occupies 50M of memory, is using the handset, microphone and distance sensor;
  • Baidu map program takes up 30M of memory and is using the positioning system;
  • the camera program occupies 10M of memory and is using the rear camera.
  • Step 103 Determine whether the occupation information of the obtained application is empty, and if yes, execute step S104; if no, execute step S105.
  • Step S104 determining that the running state of the application is an inactive state.
  • the current browsing interface includes the application identifier of the Taobao client, but the information of the Taobao client is not found in the acquired occupation information, that is, whether the occupation information of the Taobao client is empty, it can be judged that the Taobao client is not running.
  • the application identifier corresponding to the Taobao client will adopt the system default identifier, or the status identifier corresponding to the running state is not running.
  • step S105 it is determined whether the occupation information of the application is up to a preset condition; if yes, step S106 is performed; if not, step S107 is performed.
  • the preset determination condition may be preset by the system or may be set by the user.
  • the preset determination condition may include a threshold or a plurality of thresholds.
  • the memory occupancy 40M is a threshold
  • the CPU usage is 30% is another threshold
  • the camera state 0 (0 is unoccupied, 1 is occupied) is another threshold.
  • the value in the relevant resource occupation information of an application exceeds one of the thresholds, exceeds two of the thresholds, or three thresholds exceeds, it is determined that the determination condition is reached.
  • Step S106 determining that the running state of the application is a high consumption state.
  • Step S107 determining that the running state of the application is a normal consumption state.
  • the running state of the application is divided into three by running the running information in the background: an unoperating state, a normal consumption state, and a high consumption state. These three states can visually show the application, so that users can quickly understand the current application's operation.
  • FIG. 5 is a schematic flowchart of a fifth embodiment of a display method according to the present invention.
  • step S900 is added. Specifically, in this embodiment, before step 400, the method further includes:
  • Step S900 assigning a plurality of status icons to each running state of the application.
  • the running state of each application includes three states, three icons are stored corresponding to the three states for subsequent calls.
  • FIG. 6 is a schematic flowchart of a sixth embodiment of a display method according to the present invention.
  • step 400 the method further includes:
  • step S1000 a default application identifier of the application or a screenshot of the application at runtime is obtained.
  • Step S1100 Perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons.
  • Step S1200 storing the obtained status icons in association with various operating states of the application, or storing the obtained status icons and the default application identifiers with multiple operating states of the application. An associated storage.
  • the application carries a default application identifier.
  • the default application identifier is obtained, and the default application identifier is highlighted, added, framed, or color-shifted to obtain more image processing methods.
  • Status icons When the application is running, you can also take a screenshot of the application runtime, and highlight, add symbols, frame or color cast the image to obtain multiple status icons.
  • Embodiments of the present invention also provide a display device.
  • FIG. 7 there is shown a modular block diagram of a first embodiment of a display device of the present invention.
  • the display device includes:
  • the running status query unit 10 is configured to determine the current running status of the application.
  • the application is an application that implements certain functions in a system installed in a mobile terminal, such as a camera program, a WeChat client, and a Baidu map program.
  • the running status includes not running in the background, running in the background, running in the background and taking up more system memory and running in the background and taking up less system memory.
  • the current running state of the application can be actively queried through the framework interface of the system; or the state can be reported by the application itself.
  • the system of the mobile terminal usually includes multiple applications, and each application has its corresponding running state.
  • the application that needs to be determined in the embodiment may determine one, multiple or all applications according to preset conditions. Operational state state.
  • the status icon acquisition unit 20 is configured to acquire a status icon corresponding to the current running status of the application according to the preset correspondence between the running status of the application and the status icon.
  • the correspondence between the running states of the applications in the mobile terminal and the status icons is set in advance.
  • the application identifier display unit 30 is configured to display the acquired status icon as an application identifier of the application in the browsing interface.
  • the browsing interface is used to display the application identity of the application. Specifically, the browsing interface may only display the application identifier; the application identifier may be displayed in one area, and the folder containing multiple application identifiers may be displayed in another area; and the plurality of application browsing pages may be reduced and displayed on the same browsing interface on the same screen. Among them, each application browsing page includes several application identifiers.
  • the browsing interface can usually be displayed through the Launcher (Application Launcher).
  • the Launcher can read the application ID of the application within the system. When the number of applications is large, some of the application identifiers are stored on the main application browsing page, and another part of the application identifiers are stored on the secondary application browsing page (if not enough, continue to increase the application browsing page).
  • the browsing interface displays the application browsing page, first loads the main application browsing page, thereby displaying the application identifier in the main application browsing page in the browsing interface; when receiving the operation of switching to the secondary application browsing page, the Launcher is loaded
  • the application page is displayed to display the application identifier in the secondary application browsing page in the browsing interface.
  • the folder is displayed when the browsing interface loads the application browsing page, and when the user clicks the folder, the browsing interface displays the application identifier included in the folder. .
  • the running status of an application has been determined, if there are more applications, the application identifier of the corresponding application is also more, so that multiple application identifiers are grouped and stored in different application browsing pages.
  • the browsing interface of the mobile terminal intelligently displays the application identifier in one application browsing page each time, even if all the application identifiers are refreshed according to their running status, only the application identifier in the current browsing interface can be displayed. Therefore, a more reasonable solution is to refresh only the application identifier in the current browsing interface according to its running state.
  • the application included in the currently used browsing interface can be obtained through the framework interface of the mobile terminal system; of course, the browsing interface can be switched from displaying the previous application browsing page to displaying.
  • the application identifier to be displayed in the current browsing interface can be obtained through the framework interface of the mobile terminal system, so as to identify the corresponding application according to the application identifiers.
  • the browsing interface stays in an application browsing page for a long time, the application that is included in the browsing interface can be continued, and the determining operation state and subsequent steps are repeatedly performed.
  • the display device provided in this embodiment has the effect of less workload and higher work efficiency by refreshing only the application identifier in the current browsing interface with respect to refreshing the application identifiers of all the applications.
  • the display device further includes:
  • the input detecting unit 60 is configured to receive a user input operation of a status icon in the browsing interface.
  • the input operation of the user may be received through the touch screen, such as a click of a preset position, a double click, a long press, a linear slide, or a curve slide. It is generally possible to receive a separate operation or a combination of operations as described above by the user.
  • the process termination unit 70 is configured to end the running of the application in the background, refresh the running state of the application, and invoke the status icon corresponding to the running state after the refresh, if the received input operation meets the preset operation.
  • the application identifier of the application is displayed within the browsing interface.
  • the preset operation may be a double tap at a preset position, a long press, a two-finger slide, or a specified curve slide.
  • an application identifier that is long-pressed in the normal consumption state or an application identifier that is in a high-consumption state pops up an option, and then selects an application that ends the application corresponding to the application identifier in the background of the system. Then, the application identifier after the operation is refreshed to display accurate status information.
  • the application included in the application browsing page may be used as an object, and the determined running state and subsequent operations are repeatedly performed. The steps to achieve the effect of updating the application identity in a timely manner.
  • the application identifier carries the running state information of the corresponding application, so that when viewing the browsing interface, the user can understand the running state of the application in the current interface. Further, the running application is terminated by providing a control scheme within the browsing interface, thereby enabling the user to quickly end the running application.
  • the running status query unit 10 includes:
  • the operation information obtaining unit 101 is configured to acquire running information of the current background running.
  • the mobile terminal system can perform multi-tasking operation, and enters the background operation when the application is started.
  • the running browsing interface of the application is loaded for viewing and operation.
  • the running information of the application running in the background can be actively queried through the framework interface of the system; or the running information of the application can be reported by the application.
  • the operational information may include the application ID, name, hardware call status, memory usage, and CPU usage.
  • the occupation information acquisition unit 102 is configured to acquire occupation information of the application occupation system resource according to the acquired operation information.
  • the obtained running information includes: WeChat client, Baidu map program and camera program are currently running.
  • the WeChat client occupies 50M of memory, is using the handset, microphone and distance sensor;
  • Baidu map program takes up 30M of memory and is using the positioning system;
  • the camera program occupies 10M of memory and is using the rear camera.
  • the operation status determining unit 103 is configured to determine that the running status of the application is not in the running state if the acquired occupation information of the application is empty, and is further configured to: if the acquired occupation information is not empty and does not reach the preset determination The condition determines that the running state of the application is a normal consumption state; and if the occupied information obtained is not empty and reaches a preset determination condition, determining that the running state of the application is a high consumption state.
  • the current browsing interface includes the application identifier of the Taobao client, but the information of the Taobao client is not found in the acquired occupation information, that is, whether the occupation information of the Taobao client is empty, it can be judged that the Taobao client is not running.
  • the application identifier corresponding to the Taobao client will adopt the system default identifier, or the status identifier corresponding to the running state is not running.
  • the preset determination condition may be preset by the system or may be set by the user.
  • the preset determination condition may include a threshold or a plurality of thresholds.
  • the memory occupancy 40M is a threshold
  • the CPU usage is 30% is another threshold
  • the camera state 0 (0 is unoccupied, 1 is occupied) is another threshold.
  • the relevant resource of an application occupies the value in the information, it exceeds one of the thresholds and exceeds two of them.
  • the threshold or the three thresholds are both exceeded, it is determined that the determination condition is reached.
  • the determination condition is reached, it is determined that the operating state of the application is a high consumption state, otherwise it is a normal consumption state.
  • this is only an example.
  • the actual design judgment conditions more reasonable judgment conditions can be designed according to the situation.
  • the running state of the application is divided into three by running the running information in the background: an unoperating state, a normal consumption state, and a high consumption state. These three states can visually show the application, so that users can quickly understand the current application's operation.
  • the display device further includes:
  • the preset status icon storage unit 80 is configured to store a plurality of status icons respectively corresponding to various operating states of the application.
  • a status icon is assigned to each of the operating states for subsequent calls.
  • FIG. 9 there is shown a modular block diagram of a second embodiment of the display device of the present invention.
  • This embodiment removes the preset state icon storage unit 80 on the basis of the first embodiment, and adds:
  • the default identifier obtaining unit 90 is configured to obtain a default application identifier of the application or a screenshot of the application at runtime;
  • the image processing unit 100 is configured to perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons.
  • a new state icon storage unit 110 configured to store the obtained plurality of state icons in association with the plurality of operating states of the application, or to obtain the obtained plurality of state icons and the default application identifier and the The various operating states of the application are stored in association.
  • the application carries a default application identifier.
  • the default application identifier is obtained, and the default application identifier is highlighted, added, framed, or color-shifted to obtain more image processing methods.
  • Status icons When the application is running, you can also take a screenshot of the application runtime, and highlight, add symbols, frame or color cast the image to obtain multiple status icons.
  • the embodiment of the invention also discloses a computer program, comprising program instructions, which when executed by a computer, enable the computer to execute any of the above display methods.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the method and the device of the embodiment of the present invention can be used to display the running state of the application of the mobile terminal, and can also display the running state of the application of the other terminal, and details are not described herein again.
  • the display method and device provided by the embodiment of the present invention will change the application identifier according to the running state of the application, so that the application identifier transmits the running information of the corresponding application, so that the user can browse the application identifier in the browsing interface.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

A display method and device for the running status of an application of a mobile terminal. The display method for the running status of an application of a mobile terminal comprises the steps of: determining a current running status of an application; according to a preset correlation between the running status of the application and a status icon, acquiring the status icon corresponding to the current running status of the application; and taking the acquired status icon as an application identifier of the application, and displaying same in a browser interface. By means of the display method and device, the running status of an application can be displayed without a complex operation.

Description

一种显示方法和装置Display method and device 技术领域Technical field
本发明涉及终端显示技术领域,尤其涉及一种显示方法和装置。The present invention relates to the field of terminal display technologies, and in particular, to a display method and apparatus.
背景技术Background technique
相关技术中,移动终端通常支持多任务运行,多任务运行能够支持多个应用在后台同时运行。由于每个应用在后台运行时都需要占用系统资源,则当运行的应用越多,则剩余的系统资源就越少,剩余的系统资源越少,则系统运行越缓慢。因此当用户开启了多个应用而未关闭时,系统资源得不到释放,则系统将变慢,影响用户体验。相关的解决方案中,当用户觉得变慢时,进入优化应用的程序界面来查看后台运行的应用,然后结束后台运行的应用。In the related art, a mobile terminal generally supports multi-tasking operation, and a multi-tasking operation can support multiple applications to run simultaneously in the background. Since each application needs to occupy system resources when running in the background, the more applications that run, the fewer remaining system resources, and the fewer system resources remaining, the slower the system runs. Therefore, when the user opens multiple applications without being closed, the system resources are not released, and the system will become slower, affecting the user experience. In the related solution, when the user feels slow, enter the program interface of the optimized application to view the application running in the background, and then end the application running in the background.
但是相关的解决方案并不理想,具体地,用户需要进入优化应用的程序界面内,才能知晓哪些应用正在运行,以及这些应用的运行状态。相关的显示应用的运行状态的信息的操作繁琐,影响了用户体验。However, the related solutions are not ideal. Specifically, users need to enter the program interface of the optimized application to know which applications are running and the running status of these applications. The associated operation of displaying information on the operational status of the application is cumbersome and affects the user experience.
发明内容Summary of the invention
本发明的主要目的在于解决显示应用的运行状态的操作繁琐的技术问题。The main object of the present invention is to solve the technical problem of cumbersome operation of displaying the operating state of an application.
为实现上述目的,采用如下技术方案:In order to achieve the above objectives, the following technical solutions are adopted:
一种显示方法,用于显示移动终端的应用的运行状态,该方法包括以下步骤:A display method for displaying an operating state of an application of a mobile terminal, the method comprising the following steps:
确定所述应用当前的运行状态;Determining a current operating state of the application;
根据预设的所述应用的运行状态与状态图标之间的对应关系,获取所述应用当前的运行状态所对应的状态图标;Obtaining, according to a preset correspondence between the running state of the application and the status icon, a status icon corresponding to the current running state of the application;
将所获取的状态图标作为所述应用的应用标识在浏览界面内显示。The obtained status icon is displayed as the application identifier of the application in the browsing interface.
可选地,在所述确定应用当前的运行状态的步骤之前,该方法还包括步 骤:Optionally, before the step of determining the current running state of the application, the method further includes: Step:
获取当前浏览界面内显示的应用标识;Obtain an application identifier displayed in the current browsing interface;
获得与所获取的应用标识对应的应用。Obtain an application corresponding to the acquired application identifier.
可选地,在所述将所获取的状态图标作为所述应用的应用标识在浏览界面内显示的步骤之后,该方法还包括:Optionally, after the step of displaying the acquired status icon as the application identifier of the application in the browsing interface, the method further includes:
接收所述浏览界面内输入的状态图标;Receiving a status icon input in the browsing interface;
若所述输入操作符合预设操作,则结束所述应用在后台的运行,并刷新所述应用的运行状态,以及调用刷新后运行状态所对应的状态图标作为所述应用的应用标识在所述浏览界面内显示。If the input operation conforms to the preset operation, ending the running of the application in the background, and refreshing the running state of the application, and calling the status icon corresponding to the running status after the refresh as the application identifier of the application. Displayed in the browsing interface.
可选地,确定所述应用当前的运行状态的步骤包括:Optionally, the step of determining the current running state of the application includes:
获取当前后台运行的运行信息;Get the running information of the current background running;
根据所获取的运行信息获取所述应用占用系统资源的占用信息;Obtaining occupation information of the system occupied system resource according to the obtained operation information;
若获取的所述应用的占用信息为空,则确定所述应用的运行状态为未运行状态;If the acquired occupation information of the application is empty, determining that the running state of the application is an inactive state;
若获取的占用信息不为空且未达到预设判定条件,则确定所述应用的运行状态为普通消耗状态;If the acquired occupation information is not empty and the preset determination condition is not reached, determining that the running state of the application is a normal consumption state;
若获取的占用信息不为空且达到预设判定条件,则确定所述应用的运行状态为高消耗状态。If the acquired occupation information is not empty and the preset determination condition is reached, it is determined that the running state of the application is a high consumption state.
可选地,在确定所述应用当前的运行状态的步骤之前,该方法还包括:Optionally, before the step of determining the current running state of the application, the method further includes:
对所述应用的每一种运行状态分别分配一个状态图标;或者,Assigning a status icon to each of the operating states of the application; or,
获取所述应用的默认应用标识或者所述应用在运行时的截图;对获取的默认应用标识或截图进行图片处理以获得若干个状态图标;将所获得的若干个状态图标与所述应用的多种运行状态一一关联储存;或者将所获得的若干个状态图标以及所述默认应用标识与所述应用的多种运行状态一一关联储存。Obtaining a default application identifier of the application or a screenshot of the application at runtime; performing image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons; and obtaining the obtained plurality of status icons and the application The running state is stored in association with each other; or the obtained plurality of status icons and the default application identifier are stored in association with various operating states of the application.
一种显示装置,用于显示移动终端的应用的运行状态,该装置包括运行 状态查询单元、状态图标获取单元和应用标识显示单元,其中,A display device for displaying an operating state of an application of a mobile terminal, the device including running a status query unit, a status icon acquisition unit, and an application identification display unit, wherein
所述运行状态查询单元设置成:确定所述应用当前的运行状态;The running status query unit is configured to: determine a current running state of the application;
所述状态图标获取单元设置成:根据预设的所述应用的运行状态与状态图标之间的对应关系,获取所述应用当前的运行状态所对应的状态图标;The status icon acquiring unit is configured to: obtain a status icon corresponding to the current running status of the application according to a preset correspondence between the running state of the application and the status icon;
所述应用标识显示单元设置成:将所获取的状态图标作为所述应用的应用标识在浏览界面内显示。The application identifier display unit is configured to display the acquired status icon as an application identifier of the application in the browsing interface.
可选地,所述移动终端的应用的运行状态的显示装置还包括应用标识获取单元和应用获取单元,其中:Optionally, the display device of the running state of the application of the mobile terminal further includes an application identifier obtaining unit and an application acquiring unit, where:
所述应用标识获取单元设置成:获取当前浏览界面内显示的应用标识;The application identifier obtaining unit is configured to: obtain an application identifier displayed in the current browsing interface;
所述应用获取单元设置成:获得与所获取的应用标识对应的应用。The application obtaining unit is configured to: obtain an application corresponding to the acquired application identifier.
可选地,该装置还包括输入检测单元和进程终结单元,其中:Optionally, the device further includes an input detection unit and a process termination unit, wherein:
所述输入检测单元设置成:接收所述浏览界面内输入的状态图标;The input detecting unit is configured to: receive a status icon input in the browsing interface;
所述进程终结单元设置成:若所述输入操作符合预设操作,则结束所述应用在后台的运行,并刷新所述应用的运行状态,以及调用刷新后运行状态所对应的状态图标作为所述应用的应用标识在所述浏览界面内显示。The process termination unit is configured to: if the input operation conforms to the preset operation, end the running of the application in the background, refresh the running state of the application, and invoke the status icon corresponding to the running state after the refresh as the The application identifier of the application is displayed within the browsing interface.
可选地,所述运行状态查询单元包括运行信息获取单元、占用信息获取单元和运行状态判断单元,其中:Optionally, the running status query unit includes an operation information acquiring unit, an occupation information acquiring unit, and an operating state determining unit, where:
所述运行信息获取单元设置成:获取当前后台运行的运行信息;The operation information acquiring unit is configured to: obtain running information of the current background running;
所述占用信息获取单元设置成:根据所获取的运行信息获取所述应用占用系统资源的占用信息;The occupation information acquisition unit is configured to: obtain the occupation information of the application occupation system resource according to the acquired operation information;
所述运行状态判断单元设置成:若获取的所述应用的占用信息为空,则确定所述应用的运行状态为未运行状态;还用于若获取的占用信息不为空且未达到预设判定条件,则确定所述应用的运行状态为普通消耗状态;以及用于若获取的占用信息不为空且达到预设判定条件,则确定所述应用的运行状态为高消耗状态。The operation status determining unit is configured to: if the acquired occupation information of the application is empty, determine that the running status of the application is not running; and if the acquired occupation information is not empty and does not reach the preset Determining the condition, determining that the running state of the application is a normal consumption state; and determining that the running state of the application is a high consumption state if the acquired occupancy information is not empty and the preset determination condition is reached.
可选地,所述移动终端的应用的运行状态的显示装置还包括预设状态图标储存单元,其中, Optionally, the display device of the running state of the application of the mobile terminal further includes a preset state icon storage unit, where
所述预设状态图标储存单元设置成:对所述应用的每一种运行状态分别分配一个状态图标。The preset status icon storage unit is configured to respectively assign a status icon to each running state of the application.
可选地,该装置还包括默认标识获取单元、图片处理单元和新增状态图标储存单元,其中:Optionally, the device further includes a default identifier obtaining unit, a picture processing unit, and a newly added state icon storage unit, where:
所述默认标识获取单元设置成:获取所述应用的默认应用标识或者应用在运行时的截图;The default identifier obtaining unit is configured to: obtain a default application identifier of the application or a screenshot of the application at runtime;
所述图片处理单元设置成:对获取的默认应用标识或截图进行图片处理以获得若干个状态图标;The image processing unit is configured to: perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons;
所述新增状态图标储存单元设置成:将所获得的若干个状态图标与所述应用的多种运行状态一一关联储存;或者将所获得的若干个状态图标以及所述默认应用标识与所述应用的多种运行状态一一关联储存。The newly added state icon storage unit is configured to: store the obtained plurality of state icons in association with the plurality of operating states of the application; or select the obtained plurality of state icons and the default application identifier and the The various operating states of the application are stored in association.
一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的显示方法。A computer program comprising program instructions which, when executed by a computer, cause the computer to perform any of the above display methods.
一种载有所述计算机程序的载体。A carrier carrying the computer program.
本发明实施例所提供的移动终端的应用的运行状态的显示方法和装置,将根据应用的运行状态而变换应用标识,使得应用标识即传递了其对应的应用的运行信息,从而使得用户可以在浏览界面浏览应用标识的过程中就能查看应用的运行状态,具有不需要繁琐操作即可显示应用的运行状态的效果。The method and device for displaying the running state of the application of the mobile terminal provided by the embodiment of the present invention will change the application identifier according to the running state of the application, so that the application identifier transmits the running information of the corresponding application, so that the user can The browsing interface can view the running status of the application during the process of browsing the application identification, and has the effect of displaying the running state of the application without cumbersome operations.
附图概述BRIEF abstract
图1为本发明的显示方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a display method according to the present invention;
图2为本发明的显示方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a display method according to the present invention;
图3为本发明的显示方法第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of a display method according to the present invention;
图4为本发明的显示方法第四实施例的流程示意图; 4 is a schematic flow chart of a fourth embodiment of a display method according to the present invention;
图5为本发明的显示方法第五实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a display method according to the present invention; FIG.
图6为本发明的显示方法第六实施例的流程示意图;6 is a schematic flow chart of a sixth embodiment of a display method according to the present invention;
图7为本发明的显示装置第一实施例的模块化框图;Figure 7 is a modular block diagram of a first embodiment of a display device of the present invention;
图8为图7所示的显示装置的运行状态查询单元的模块化框图;8 is a modular block diagram of an operation status inquiry unit of the display device shown in FIG. 7;
图9为本发明的显示装置第二实施例的模块化框图。Figure 9 is a modular block diagram of a second embodiment of a display device of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的较佳实施方式Preferred embodiment of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供一种的显示方法。Embodiments of the present invention provide a display method.
参照图1,图1为本发明的显示方法第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flow chart of a first embodiment of a display method according to the present invention.
在本实施例中,该的显示方法包括以下步骤:In this embodiment, the display method includes the following steps:
步骤S100,确定应用当前的运行状态。In step S100, the current running state of the application is determined.
应用为安装于移动终端的系统内的实现一定功能的应用程序,例如照相机程序、微信客户端和百度地图程序等。运行状态包括未在后台运行、正在后台运行、正在后台运行且占用系统内存较多和正在后台运行且占用系统内存较少等状态。在移动终端的系统内,可以通过系统的框架接口主动查询应用当前的运行状态;也可以由应用自行上报其状态。移动终端的系统内通常包括多个应用,每个应用都具有其对应的运行状态;本实施例中所述的需要进行确定的应用,可以根据预设条件来确定一个、多个或全部应用的运行状态。The application is an application that implements certain functions in a system installed in a mobile terminal, such as a camera program, a WeChat client, and a Baidu map program. The running status includes not running in the background, running in the background, running in the background and taking up more system memory and running in the background and taking up less system memory. In the system of the mobile terminal, the current running state of the application can be actively queried through the framework interface of the system; or the state can be reported by the application itself. The system of the mobile terminal usually includes multiple applications, and each application has its corresponding running state. The application that needs to be determined in the embodiment may determine one, multiple or all applications according to preset conditions. Operating status.
步骤S200,根据预设的所述应用的运行状态与状态图标之间的对应关系,获取所述应用当前的运行状态所对应的状态图标。Step S200: Acquire a status icon corresponding to the current running state of the application according to a preset correspondence between the running state of the application and the status icon.
本实施例中,预先设置移动终端中各应用的运行状态与状态图标之间的 对应关系。In this embodiment, the running state between the running state and the status icon of each application in the mobile terminal is preset. Correspondence relationship.
步骤S300,将所获取的状态图标作为所述应用的应用标识在浏览界面内显示。Step S300, displaying the acquired status icon as an application identifier of the application in the browsing interface.
浏览界面用于展示应用的应用标识。具体地,浏览界面可以仅展示应用标识;也可以一区域展示应用标识,另一区域展示包含多个应用标识的文件夹;还可以将多个应用浏览页缩小后同屏展示于当前浏览界面,其中,每个应用浏览页中包括若干个应用标识。通常可以通过Launcher(应用启动程序)来显示浏览界面。Launcher能读取系统内应用的应用标识。当应用的数量较多时,一部分应用标识存于主应用浏览页上,另外一部分应用标识存于次应用浏览页上(若还不够,继续增加应用浏览页)。Launcher启动而使得浏览界面显示应用浏览页时,首先加载主应用浏览页,从而在浏览界面中显示主应用浏览页内的应用标识;当接收到切换至次应用浏览页的操作时,Launcher加载次应用浏览页,从而在浏览界面中显示次应用浏览页内的应用标识。当应用浏览页当中具有包括多个应用图标的文件夹时,当浏览界面加载该应用浏览页时将显示该文件夹,当用户点击该文件夹时,浏览界面显示该文件夹中包含的应用标识。当某一应用的运行状态已经确定,则根据该运行状态获得该应用相应的状态图标,并将该状态图标作为该程序的应用标识存入缓存,以供Launcher调用以显示于浏览界面内。The browsing interface is used to display the application identity of the application. Specifically, the browsing interface may only display the application identifier; the application identifier may be displayed in one area, and the folder containing multiple application identifiers may be displayed in another area; and the plurality of application browsing pages may be reduced and displayed on the same browsing interface on the same screen. Among them, each application browsing page includes several application identifiers. The browsing interface can usually be displayed through the Launcher (Application Launcher). The Launcher can read the application ID of the application within the system. When the number of applications is large, some of the application identifiers are stored on the main application browsing page, and another part of the application identifiers are stored on the secondary application browsing page (if not enough, continue to increase the application browsing page). When the launcher starts, the browsing interface displays the application browsing page, first loads the main application browsing page, thereby displaying the application identifier in the main application browsing page in the browsing interface; when receiving the operation of switching to the secondary application browsing page, the Launcher is loaded The application page is displayed to display the application identifier in the secondary application browsing page in the browsing interface. When the application browsing page has a folder including a plurality of application icons, the folder is displayed when the browsing interface loads the application browsing page, and when the user clicks the folder, the browsing interface displays the application identifier included in the folder. . When the running state of an application has been determined, the corresponding status icon of the application is obtained according to the running state, and the status icon is stored in the cache as the application identifier of the program, and is used by the Launcher to be displayed in the browsing interface.
本实施例所提供的显示方法,将根据应用的运行状态而变换应用标识,使得应用标识即传递了其对应的应用的运行信息,从而使得用户可以在浏览界面浏览应用标识的过程中就能查看应用的运行状态,具有不需要繁琐操作即可显示应用的运行状态的效果。The display method provided in this embodiment will change the application identifier according to the running state of the application, so that the application identifier transmits the operation information of the corresponding application, so that the user can view the application identifier in the browsing interface. The running state of the application has the effect of displaying the running state of the application without cumbersome operations.
参照图2,图2为本发明的显示方法第二实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flow chart of a second embodiment of a display method according to the present invention.
本实施例以第一实施例为基础,增加了步骤S400和步骤S500。具体地在步骤S100之前还包括步骤:This embodiment is based on the first embodiment, and steps S400 and S500 are added. Specifically, before step S100, the method further includes the steps of:
步骤S400,获取当前浏览界面内显示的应用标识。Step S400: Acquire an application identifier displayed in the current browsing interface.
步骤S500,根据所获取的应用标识获得对应的应用。 Step S500, obtaining a corresponding application according to the acquired application identifier.
当应用较多时,则对应应用的应用标识也较多,从而将多个应用标识分组后储存于不同的应用浏览页。由于移动终端的浏览界面每次智能显示一个应用浏览页内的应用标识,因此,即使将全部应用标识都根据其运行状态刷新,也仅能展示当前浏览界面内的应用标识。因此更合理的方案是仅将当前浏览界面内的应用标识根据其运行状态来进行刷新。具体地,当浏览界面完全显示时,此时即可通过移动终端系统的框架接口获取应当前用浏览界面中所包含的应用;当然也可以在浏览界面从显示前一应用浏览页切换至显示后一应用浏览页时,此时即可通过移动终端系统的框架接口获取该当前浏览界面中即将显示的应用标识,从而根据这些应用标识所对应的应用。然后再将所获取的这些应用为对象,执行步骤S100以及后续的步骤。当然,浏览界面长久停留在一个应用浏览页时,可以继续以该浏览界面包含的应用为对象,重复执行步骤S100以及后续的步骤。When there are many applications, the application identifiers of the corresponding applications are also more, so that multiple application identifiers are grouped and stored in different application browsing pages. Since the browsing interface of the mobile terminal intelligently displays the application identifier in one application browsing page each time, even if all the application identifiers are refreshed according to their running status, only the application identifier in the current browsing interface can be displayed. Therefore, a more reasonable solution is to refresh only the application identifier in the current browsing interface according to its running state. Specifically, when the browsing interface is completely displayed, the application included in the currently used browsing interface can be obtained through the framework interface of the mobile terminal system; of course, the browsing interface can be switched from displaying the previous application browsing page to displaying. When the application browses the page, the application identifier to be displayed in the current browsing interface can be obtained through the framework interface of the mobile terminal system, so as to identify the corresponding application according to the application identifiers. Then, the acquired applications are taken as objects, and step S100 and subsequent steps are performed. Of course, when the browsing interface stays in an application browsing page for a long time, the application included in the browsing interface may be continued, and step S100 and subsequent steps are repeatedly performed.
相对于对所有的应用的应用标识进行刷新,本实施例所提供的的显示方法,通过仅对当前浏览界面内的应用标识进行刷新,从而具有工作量较少,工作效率更高的效果。The display method provided in this embodiment refreshes the application identifier in the current browsing interface with respect to the application identifier of all the applications, thereby having the effect of less workload and higher work efficiency.
参照图3,图3为本发明的显示方法第六实施例的流程示意图。Referring to FIG. 3, FIG. 3 is a schematic flowchart of a sixth embodiment of a display method according to the present invention.
本实施例以第二实施例为基础,增加了步骤S600、步骤S700和步骤S800。具体的,本实施例中,在步骤300之后还包括:This embodiment is based on the second embodiment, and steps S600, S700, and S800 are added. Specifically, in this embodiment, after step 300, the method further includes:
步骤S600,接收用户对所述浏览界面内的状态图标的输入操作。Step S600: Receive a user input operation of a status icon in the browsing interface.
可以是通过触摸屏接收用户的输入操作,例如预设位置的单击、双击、长按、直线滑动或曲线滑动等操作。通常可以接收到用户输入上述的单独的操作或者组合操作。The input operation of the user may be received through the touch screen, such as a click of a preset position, a double click, a long press, a linear slide, or a curve slide. It is generally possible to receive a separate operation or a combination of operations as described above by the user.
步骤S700,判断所接收到的输入操作是否符合预设操作;若是,则执行步骤S800;若否,则延迟预设时间后执行步骤S100。In step S700, it is determined whether the received input operation conforms to the preset operation; if yes, step S800 is performed; if not, step S100 is performed after the preset time is delayed.
步骤S800,结束所述应用在后台的运行,并刷新所述应用的运行状态,以及调用刷新后运行状态所对应的状态图标作为所述应用的应用标识在所述浏览界面内显示。Step S800, ending the running of the application in the background, and refreshing the running state of the application, and calling the status icon corresponding to the running status after the refresh as the application identifier of the application is displayed in the browsing interface.
预设操作可以是在预设位置的双击、长按、双指滑动或指定曲线滑动等。 例如:长按普通消耗状态的应用标识或高消耗装的应用标识则弹出选项,再选择结束该应用标识对应的应用在系统的后台运行的进程。然后,再对该操作后的应用标识进行刷新,以展示准确的状态信息。The preset operation may be a double tap at a preset position, a long press, a two-finger slide, or a specified curve slide. For example, an application identifier that is long-pressed in the normal consumption state or an application identifier that is in a high-consumption state pops up an option, and then selects an application that ends the application corresponding to the application identifier in the background of the system. Then, the application identifier after the operation is refreshed to display accurate status information.
当未接收到输入操作或未接收到符合预设操作的输入操作,并且浏览界面长久的停留在一个应用浏览页时,可以以该应用浏览页包含的应用为对象,重复执行步骤S100以及后续的步骤,从而达到及时更新应用标识的效果。When the input operation is not received or the input operation that meets the preset operation is not received, and the browsing interface stays on an application browsing page for a long time, the application included in the application browsing page may be used as an object, and step S100 and subsequent steps are repeatedly performed. Steps to achieve the effect of updating the application identity in a timely manner.
本实施例所提供的显示方法,应用标识携带了其对应的应用的运行状态信息,因此用户在查看浏览界面时,即可了解当前界面内应用的运行状态。进一步,通过在浏览界面内提供控制方案来结束运行的应用,从而使得用户能够快速地结束运行的应用。In the display method provided by the embodiment, the application identifier carries the running state information of the corresponding application, so that when the user views the browsing interface, the running state of the application in the current interface can be known. Further, the running application is terminated by providing a control scheme within the browsing interface, thereby enabling the user to quickly end the running application.
参照图4,图4为本发明的显示方法第四实施例的流程示意图。Referring to FIG. 4, FIG. 4 is a schematic flowchart of a fourth embodiment of a display method according to the present invention.
本实施例以第三实施例为基础,对其中的步骤S100进行了细化。具体的,本实施例中,步骤100包括以下步骤:This embodiment is based on the third embodiment, and the step S100 is refined. Specifically, in this embodiment, step 100 includes the following steps:
步骤101,获取当前后台运行的运行信息。In step 101, the running information of the current background running is obtained.
移动终端系统能进行多任务运行,当应用启动后即进入后台运行,当需要操作某一应用时,加载该应用的运行页面进行查看和操作。在移动终端的系统内,可以通过系统的框架接口主动查询应用当前在后台运行时的运行信息;也可以由应用自行上报其运行信息。运行信息可以包括应用的ID、名称、硬件调用情况、内存占用情况和CPU使用情况等。The mobile terminal system can perform multi-tasking operation, and enters the background operation when the application is started. When an application needs to be operated, the application running page is loaded for viewing and operation. In the system of the mobile terminal, the running information of the application running in the background can be actively queried through the framework interface of the system; or the running information of the application can be reported by the application. The operational information may include the application ID, name, hardware call status, memory usage, and CPU usage.
步骤102,根据所获取的运行信息获取所述应用占用系统资源的占用信息。Step 102: Acquire occupation information of the system occupied by the application according to the obtained operation information.
通过获取的运行信息,可以了解正在后台运行的应用,以及该应用占用的系统资源的占用信息。例如:Through the obtained running information, you can understand the application that is running in the background and the occupation information of the system resources occupied by the application. E.g:
获取的运行信息内包括:当前正在运行微信客户端、百度地图程序和相机程序。其中微信客户端占用内存50M,正在使用听筒、麦克风以及距离传感器;百度地图程序占用内存30M,正在使用定位系统;相机程序占用内存10M,正在使用后置摄像头。 The obtained running information includes: WeChat client, Baidu map program and camera program are currently running. The WeChat client occupies 50M of memory, is using the handset, microphone and distance sensor; Baidu map program takes up 30M of memory and is using the positioning system; the camera program occupies 10M of memory and is using the rear camera.
步骤103,判断获取到所述应用的占用信息是否为空,若是,执行步骤S104;若否,则执行步骤S105。Step 103: Determine whether the occupation information of the obtained application is empty, and if yes, execute step S104; if no, execute step S105.
步骤S104,确定所述应用的运行状态为未运行状态。Step S104, determining that the running state of the application is an inactive state.
若当前浏览界面内包括淘宝客户端的应用标识,但是在获取的占用信息中并没有发现淘宝客户端的信息,即淘宝客户端的占用信息是否为空,因此,可以判断淘宝客户端并没有运行。则后续步骤中,对应该淘宝客户端的应用标识将采用系统默认标识,或者采用运行状态为未运行时对应的状态标识。If the current browsing interface includes the application identifier of the Taobao client, but the information of the Taobao client is not found in the acquired occupation information, that is, whether the occupation information of the Taobao client is empty, it can be judged that the Taobao client is not running. In the subsequent steps, the application identifier corresponding to the Taobao client will adopt the system default identifier, or the status identifier corresponding to the running state is not running.
步骤S105,判断获取到所述应用的占用信息是否达到预设条件;若是,则执行步骤S106;若否,则执行步骤S107。In step S105, it is determined whether the occupation information of the application is up to a preset condition; if yes, step S106 is performed; if not, step S107 is performed.
预设判定条件可以是系统预设的,也可以是用户设置的。预设判定条件可以包括一个阈值或多个阈值,例如,内存占用量40M为一阈值,CPU占用率30%为另一阈值,摄像头状态0(0为未占用,1为占用)为再一阈值。当某一应用的相关资源占用信息内的数值,超过其中一个阈值、超过其中两个阈值或三个阈值都超过时判定为达到判定条件。The preset determination condition may be preset by the system or may be set by the user. The preset determination condition may include a threshold or a plurality of thresholds. For example, the memory occupancy 40M is a threshold, the CPU usage is 30% is another threshold, and the camera state 0 (0 is unoccupied, 1 is occupied) is another threshold. . When the value in the relevant resource occupation information of an application exceeds one of the thresholds, exceeds two of the thresholds, or three thresholds exceeds, it is determined that the determination condition is reached.
步骤S106,确定所述应用的运行状态为高消耗状态。Step S106, determining that the running state of the application is a high consumption state.
步骤S107,确定所述应用的运行状态为普通消耗状态。Step S107, determining that the running state of the application is a normal consumption state.
当达到判定条件,则判定该应用的运行状态为高消耗状态,否则为普通消耗状态。当然,这仅仅是示例,在实际设计判断条件时,可以根据情况设计更合理的判断条件。When the determination condition is reached, it is determined that the operating state of the application is a high consumption state, otherwise it is a normal consumption state. Of course, this is only an example. When the actual design judgment conditions, more reasonable judgment conditions can be designed according to the situation.
本实施例中,通过获取后台运行的运行信息,将应用的运行状态分为三个:未运行状态、普通消耗状态和高消耗状态。这三种状态,能够直观的展示应用的情况,使得用户能迅速了解当前应用的运行情况。In this embodiment, the running state of the application is divided into three by running the running information in the background: an unoperating state, a normal consumption state, and a high consumption state. These three states can visually show the application, so that users can quickly understand the current application's operation.
参照图5,图5为本发明的显示方法第五实施例的流程示意图。Referring to FIG. 5, FIG. 5 is a schematic flowchart of a fifth embodiment of a display method according to the present invention.
本实施例以第二实施例为基础,增加了步骤S900。具体的,本实施例中,在步骤400之前还包括:This embodiment is based on the second embodiment, and step S900 is added. Specifically, in this embodiment, before step 400, the method further includes:
步骤S900,对应应用的每一种运行状态分配一个多个状态图标。 Step S900, assigning a plurality of status icons to each running state of the application.
若每个应用的运行状态包括三种状态,则对应这三种状态储存三个状图标,以供后续调用。If the running state of each application includes three states, three icons are stored corresponding to the three states for subsequent calls.
参照图6,图6为本发明的显示方法第六实施例的流程示意图。Referring to FIG. 6, FIG. 6 is a schematic flowchart of a sixth embodiment of a display method according to the present invention.
本实施例以第二实施例为基础,增加了步骤S1000、步骤S1100和步骤S1200。具体的,本实施例中,在步骤400之前还包括:This embodiment is based on the second embodiment, and steps S1000, S1100, and S1200 are added. Specifically, in this embodiment, before step 400, the method further includes:
步骤S1000,获取应用的默认应用标识或者应用在运行时的截图。In step S1000, a default application identifier of the application or a screenshot of the application at runtime is obtained.
步骤S1100,对获取的默认应用标识或截图进行图片处理以获得若干个状态图标。Step S1100: Perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons.
步骤S1200,将所获得的若干个状态图标与所述应用的多种运行状态一一关联储存;或者将所获得的若干个状态图标以及所述默认应用标识与所述应用的多种运行状态一一关联储存。Step S1200, storing the obtained status icons in association with various operating states of the application, or storing the obtained status icons and the default application identifiers with multiple operating states of the application. An associated storage.
通常应用都携带有一个默认的应用标识,本实施例中,通过获得这个默认的应用标识,并对该默认的应用标识进行加亮、加符号、加框或偏色等图片处理方式来获得多个状态图标。当应用运行时,也可以获取该应用运行时的截图,并将该截图进行加亮、加符号、加框或偏色等图片处理方式来获得多个状态图标。Generally, the application carries a default application identifier. In this embodiment, the default application identifier is obtained, and the default application identifier is highlighted, added, framed, or color-shifted to obtain more image processing methods. Status icons. When the application is running, you can also take a screenshot of the application runtime, and highlight, add symbols, frame or color cast the image to obtain multiple status icons.
本发明实施例还提供了一种的显示装置。Embodiments of the present invention also provide a display device.
请参看图7,图7示出了本发明的显示装置第一实施例的模块化框图。Referring to Figure 7, there is shown a modular block diagram of a first embodiment of a display device of the present invention.
所述的显示装置包括:The display device includes:
运行状态查询单元10,用于确定应用当前的运行状态。The running status query unit 10 is configured to determine the current running status of the application.
应用为安装于移动终端的系统内的实现一定功能的应用程序,例如照相机程序、微信客户端和百度地图程序等。运行状态包括未在后台运行、正在后台运行、正在后台运行且占用系统内存较多和正在后台运行且占用系统内存较少等状态。在移动终端的系统内,可以通过系统的框架接口主动查询应用当前的运行状态;也可以由应用自行上报其状态。移动终端的系统内通常包括多个应用,每个应用都具有其对应的运行状态;本实施例中所述的需要进行确定的应用,可以根据预设条件来确定一个、多个或全部应用的运行状 态。The application is an application that implements certain functions in a system installed in a mobile terminal, such as a camera program, a WeChat client, and a Baidu map program. The running status includes not running in the background, running in the background, running in the background and taking up more system memory and running in the background and taking up less system memory. In the system of the mobile terminal, the current running state of the application can be actively queried through the framework interface of the system; or the state can be reported by the application itself. The system of the mobile terminal usually includes multiple applications, and each application has its corresponding running state. The application that needs to be determined in the embodiment may determine one, multiple or all applications according to preset conditions. Operational state state.
状态图标获取单元20,用于根据预设的所述应用的运行状态与状态图标之间的对应关系,获取所述应用当前的运行状态所对应的状态图标。The status icon acquisition unit 20 is configured to acquire a status icon corresponding to the current running status of the application according to the preset correspondence between the running status of the application and the status icon.
本实施例中,预先设置移动终端中各应用的运行状态与状态图标之间的对应关系。In this embodiment, the correspondence between the running states of the applications in the mobile terminal and the status icons is set in advance.
应用标识显示单元30,用于将所获取的状态图标作为所述应用的应用标识在浏览界面内显示。The application identifier display unit 30 is configured to display the acquired status icon as an application identifier of the application in the browsing interface.
浏览界面用于展示应用的应用标识。具体地,浏览界面可以仅展示应用标识;也可以一区域展示应用标识,另一区域展示包含多个应用标识的文件夹;还可以将多个应用浏览页缩小后同屏展示于当前浏览界面,其中,每个应用浏览页中包括若干个应用标识。通常可以通过Launcher(应用启动程序)来显示浏览界面。Launcher能读取系统内应用的应用标识。当应用的数量较多时,一部分应用标识存于主应用浏览页上,另外一部分应用标识存于次应用浏览页上(若还不够,继续增加应用浏览页)。Launcher启动而使得浏览界面显示应用浏览页时,首先加载主应用浏览页,从而在浏览界面中显示主应用浏览页内的应用标识;当接收到切换至次应用浏览页的操作时,Launcher加载次应用浏览页,从而在浏览界面中显示次应用浏览页内的应用标识。当应用浏览页当中具有包括多个应用图标的文件夹时,当浏览界面加载该应用浏览页时将显示该文件夹,当用户点击该文件夹时,浏览界面显示该文件夹中包含的应用标识。当某一应用的运行状态已经确定,则根当应用较多时,则对应应用的应用标识也较多,从而将多个应用标识分组后储存于不同的应用浏览页。由于移动终端的浏览界面每次智能显示一个应用浏览页内的应用标识,因此,即使将全部应用标识都根据其运行状态刷新,也仅能展示当前浏览界面内的应用标识。因此更合理的方案是仅将当前浏览界面内的应用标识根据其运行状态来进行刷新。具体地,当浏览界面完全显示时,此时即可通过移动终端系统的框架接口获取应当前用浏览界面中所包含的应用;当然也可以在浏览界面从显示前一应用浏览页切换至显示后一应用浏览页时,此时即可通过移动终端系统的框架接口获取该当前浏览界面中即将显示的应用标识,从而根据这些应用标识所对应的应用。然后再将所获取的这些应用为 对象,执行确定运行状态及后续的步骤。当然,浏览界面长久停留在一个应用浏览页时,可以继续以该浏览界面包含的应用为对象,重复执行确定运行状态及后续的步骤。The browsing interface is used to display the application identity of the application. Specifically, the browsing interface may only display the application identifier; the application identifier may be displayed in one area, and the folder containing multiple application identifiers may be displayed in another area; and the plurality of application browsing pages may be reduced and displayed on the same browsing interface on the same screen. Among them, each application browsing page includes several application identifiers. The browsing interface can usually be displayed through the Launcher (Application Launcher). The Launcher can read the application ID of the application within the system. When the number of applications is large, some of the application identifiers are stored on the main application browsing page, and another part of the application identifiers are stored on the secondary application browsing page (if not enough, continue to increase the application browsing page). When the launcher starts, the browsing interface displays the application browsing page, first loads the main application browsing page, thereby displaying the application identifier in the main application browsing page in the browsing interface; when receiving the operation of switching to the secondary application browsing page, the Launcher is loaded The application page is displayed to display the application identifier in the secondary application browsing page in the browsing interface. When the application browsing page has a folder including a plurality of application icons, the folder is displayed when the browsing interface loads the application browsing page, and when the user clicks the folder, the browsing interface displays the application identifier included in the folder. . When the running status of an application has been determined, if there are more applications, the application identifier of the corresponding application is also more, so that multiple application identifiers are grouped and stored in different application browsing pages. Since the browsing interface of the mobile terminal intelligently displays the application identifier in one application browsing page each time, even if all the application identifiers are refreshed according to their running status, only the application identifier in the current browsing interface can be displayed. Therefore, a more reasonable solution is to refresh only the application identifier in the current browsing interface according to its running state. Specifically, when the browsing interface is completely displayed, the application included in the currently used browsing interface can be obtained through the framework interface of the mobile terminal system; of course, the browsing interface can be switched from displaying the previous application browsing page to displaying. When the application browses the page, the application identifier to be displayed in the current browsing interface can be obtained through the framework interface of the mobile terminal system, so as to identify the corresponding application according to the application identifiers. Then get the acquired apps as The object, performing the determination of the running state and subsequent steps. Of course, when the browsing interface stays in an application browsing page for a long time, the application that is included in the browsing interface can be continued, and the determining operation state and subsequent steps are repeatedly performed.
相对于对所有的应用的应用标识进行刷新,本实施例所提供的的显示装置,通过仅对当前浏览界面内的应用标识进行刷新,从而具有工作量较少,工作效率更高的效果。The display device provided in this embodiment has the effect of less workload and higher work efficiency by refreshing only the application identifier in the current browsing interface with respect to refreshing the application identifiers of all the applications.
本实施例中,所述的显示装置还包括:In this embodiment, the display device further includes:
输入检测单元60,用于接收用户对所述浏览界面内的状态图标的输入操作。The input detecting unit 60 is configured to receive a user input operation of a status icon in the browsing interface.
可以是通过触摸屏接收用户的输入操作,例如预设位置的单击、双击、长按、直线滑动或曲线滑动等操作。通常可以接收到用户输入上述的单独的操作或者组合操作。The input operation of the user may be received through the touch screen, such as a click of a preset position, a double click, a long press, a linear slide, or a curve slide. It is generally possible to receive a separate operation or a combination of operations as described above by the user.
进程终结单元70,用于若所接收到的输入操作符合预设操作,则结束所述应用在后台的运行,并刷新所述应用的运行状态,以及调用刷新后运行状态所对应的状态图标作为所述应用的应用标识在所述浏览界面内显示。The process termination unit 70 is configured to end the running of the application in the background, refresh the running state of the application, and invoke the status icon corresponding to the running state after the refresh, if the received input operation meets the preset operation. The application identifier of the application is displayed within the browsing interface.
预设操作可以是在预设位置的双击、长按、双指滑动或指定曲线滑动等。例如:长按普通消耗状态的应用标识或高消耗装的应用标识则弹出选项,再选择结束该应用标识对应的应用在系统的后台运行的进程。然后,再对该操作后的应用标识进行刷新,以展示准确的状态信息。The preset operation may be a double tap at a preset position, a long press, a two-finger slide, or a specified curve slide. For example, an application identifier that is long-pressed in the normal consumption state or an application identifier that is in a high-consumption state pops up an option, and then selects an application that ends the application corresponding to the application identifier in the background of the system. Then, the application identifier after the operation is refreshed to display accurate status information.
当未接收到输入操作或未接收到符合预设操作的输入操作,并且浏览界面长久的停留在一个应用浏览页时,可以以该应用浏览页包含的应用为对象,重复执行确定运行状态以及后续的步骤,从而达到及时更新应用标识的效果。When the input operation is not received or the input operation conforming to the preset operation is not received, and the browsing interface stays on an application browsing page for a long time, the application included in the application browsing page may be used as an object, and the determined running state and subsequent operations are repeatedly performed. The steps to achieve the effect of updating the application identity in a timely manner.
本实施例所提供的显示装置,应用标识携带了其对应的应用的运行状态信息,因此用户在查看浏览界面时,即可了解当前界面内应用的运行状态。进一步,通过在浏览界面内提供控制方案来结束运行的应用,从而使得用户能够快速地结束运行的应用。 In the display device provided in this embodiment, the application identifier carries the running state information of the corresponding application, so that when viewing the browsing interface, the user can understand the running state of the application in the current interface. Further, the running application is terminated by providing a control scheme within the browsing interface, thereby enabling the user to quickly end the running application.
请结合参看图8,本实施例中,所述运行状态查询单元10包括:Referring to FIG. 8, in this embodiment, the running status query unit 10 includes:
运行信息获取单元101,用于获取当前后台运行的运行信息。The operation information obtaining unit 101 is configured to acquire running information of the current background running.
移动终端系统能进行多任务运行,当应用启动后即进入后台运行,当需要操作某一应用时,加载该应用的运行浏览界面进行查看和操作。在移动终端的系统内,可以通过系统的框架接口主动查询应用当前在后台运行时的运行信息;也可以由应用自行上报其运行信息。运行信息可以包括应用的ID、名称、硬件调用情况、内存占用情况和CPU使用情况等。The mobile terminal system can perform multi-tasking operation, and enters the background operation when the application is started. When an application needs to be operated, the running browsing interface of the application is loaded for viewing and operation. In the system of the mobile terminal, the running information of the application running in the background can be actively queried through the framework interface of the system; or the running information of the application can be reported by the application. The operational information may include the application ID, name, hardware call status, memory usage, and CPU usage.
占用信息获取单元102,用于根据所获取的运行信息获取所述应用占用系统资源的占用信息。The occupation information acquisition unit 102 is configured to acquire occupation information of the application occupation system resource according to the acquired operation information.
通过获取的运行信息,可以了解正在后台运行的应用,以及该应用占用的系统资源的占用信息。例如:Through the obtained running information, you can understand the application that is running in the background and the occupation information of the system resources occupied by the application. E.g:
获取的运行信息内包括:当前正在运行微信客户端、百度地图程序和相机程序。其中微信客户端占用内存50M,正在使用听筒、麦克风以及距离传感器;百度地图程序占用内存30M,正在使用定位系统;相机程序占用内存10M,正在使用后置摄像头。The obtained running information includes: WeChat client, Baidu map program and camera program are currently running. The WeChat client occupies 50M of memory, is using the handset, microphone and distance sensor; Baidu map program takes up 30M of memory and is using the positioning system; the camera program occupies 10M of memory and is using the rear camera.
运行状态判断单元103,用于若获取的所述应用的占用信息为空,则确定所述应用的运行状态为未运行状态;还用于若获取的占用信息不为空且未达到预设判定条件,则确定所述应用的运行状态为普通消耗状态;以及用于若获取的占用信息不为空且达到预设判定条件,则确定所述应用的运行状态为高消耗状态。The operation status determining unit 103 is configured to determine that the running status of the application is not in the running state if the acquired occupation information of the application is empty, and is further configured to: if the acquired occupation information is not empty and does not reach the preset determination The condition determines that the running state of the application is a normal consumption state; and if the occupied information obtained is not empty and reaches a preset determination condition, determining that the running state of the application is a high consumption state.
若当前浏览界面内包括淘宝客户端的应用标识,但是在获取的占用信息中并没有发现淘宝客户端的信息,即淘宝客户端的占用信息是否为空,因此,可以判断淘宝客户端并没有运行。则后续步骤中,对应该淘宝客户端的应用标识将采用系统默认标识,或者采用运行状态为未运行时对应的状态标识。If the current browsing interface includes the application identifier of the Taobao client, but the information of the Taobao client is not found in the acquired occupation information, that is, whether the occupation information of the Taobao client is empty, it can be judged that the Taobao client is not running. In the subsequent steps, the application identifier corresponding to the Taobao client will adopt the system default identifier, or the status identifier corresponding to the running state is not running.
预设判定条件可以是系统预设的,也可以是用户设置的。预设判定条件可以包括一个阈值或多个阈值,例如,内存占用量40M为一阈值,CPU占用率30%为另一阈值,摄像头状态0(0为未占用,1为占用)为再一阈值。当某一应用的相关资源占用信息内的数值,超过其中一个阈值、超过其中两个 阈值或三个阈值都超过时判定为达到判定条件。当达到判定条件,则判定该应用的运行状态为高消耗状态,否则为普通消耗状态。当然,这仅仅是示例,在实际设计判断条件时,可以根据情况设计更合理的判断条件。The preset determination condition may be preset by the system or may be set by the user. The preset determination condition may include a threshold or a plurality of thresholds. For example, the memory occupancy 40M is a threshold, the CPU usage is 30% is another threshold, and the camera state 0 (0 is unoccupied, 1 is occupied) is another threshold. . When the relevant resource of an application occupies the value in the information, it exceeds one of the thresholds and exceeds two of them. When the threshold or the three thresholds are both exceeded, it is determined that the determination condition is reached. When the determination condition is reached, it is determined that the operating state of the application is a high consumption state, otherwise it is a normal consumption state. Of course, this is only an example. When the actual design judgment conditions, more reasonable judgment conditions can be designed according to the situation.
本实施例中,通过获取后台运行的运行信息,将应用的运行状态分为三个:未运行状态、普通消耗状态和高消耗状态。这三种状态,能够直观的展示应用的情况,使得用户能迅速了解当前应用的运行情况。In this embodiment, the running state of the application is divided into three by running the running information in the background: an unoperating state, a normal consumption state, and a high consumption state. These three states can visually show the application, so that users can quickly understand the current application's operation.
本实施例中,所述的显示装置还包括:In this embodiment, the display device further includes:
预设状态图标储存单元80,用于对应应用的多种运行状态分别储存多个状态图标。The preset status icon storage unit 80 is configured to store a plurality of status icons respectively corresponding to various operating states of the application.
若每个应用的运行状态包括三种状态,则对应这每种运行状态分配一个状态图标,以供后续调用。If the running state of each application includes three states, a status icon is assigned to each of the operating states for subsequent calls.
请参看图9,图9示出本发明的显示装置第二实施例的模块化框图。Referring to Figure 9, there is shown a modular block diagram of a second embodiment of the display device of the present invention.
本实施例以第一实施例的基础,去掉预设状态图标储存单元80,新增:This embodiment removes the preset state icon storage unit 80 on the basis of the first embodiment, and adds:
默认标识获取单元90,用于获取应用的默认应用标识或者应用在运行时的截图;The default identifier obtaining unit 90 is configured to obtain a default application identifier of the application or a screenshot of the application at runtime;
图片处理单元100,用于对获取的默认应用标识或截图进行图片处理以获得若干个状态图标;The image processing unit 100 is configured to perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons.
新增状态图标储存单元110,用于将所获得的若干个状态图标与所述应用的多种运行状态一一关联储存;或者将所获得的若干个状态图标以及所述默认应用标识与所述应用的多种运行状态一一关联储存。a new state icon storage unit 110, configured to store the obtained plurality of state icons in association with the plurality of operating states of the application, or to obtain the obtained plurality of state icons and the default application identifier and the The various operating states of the application are stored in association.
通常应用都携带有一个默认的应用标识,本实施例中,通过获得这个默认的应用标识,并对该默认的应用标识进行加亮、加符号、加框或偏色等图片处理方式来获得多个状态图标。当应用运行时,也可以获取该应用运行时的截图,并将该截图进行加亮、加符号、加框或偏色等图片处理方式来获得多个状态图标。Generally, the application carries a default application identifier. In this embodiment, the default application identifier is obtained, and the default application identifier is highlighted, added, framed, or color-shifted to obtain more image processing methods. Status icons. When the application is running, you can also take a screenshot of the application runtime, and highlight, add symbols, frame or color cast the image to obtain multiple status icons.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的显示方法。 The embodiment of the invention also discloses a computer program, comprising program instructions, which when executed by a computer, enable the computer to execute any of the above display methods.
本发明实施例还公开了一种载有所述计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the computer program.
本发明所述有的实施例的方法和装置都可以用于显示移动终端的应用的运行状态,也可以显示其他终端的应用的运行状态,在此不再赘述。The method and the device of the embodiment of the present invention can be used to display the running state of the application of the mobile terminal, and can also display the running state of the application of the other terminal, and details are not described herein again.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例所提供的的显示方法和装置,将根据应用的运行状态而变换应用标识,使得应用标识即传递了其对应的应用的运行信息,从而使得用户可以在浏览界面浏览应用标识的过程中就能查看应用的运行状态,具有不需要繁琐操作即可显示应用的运行状态的效果。因此本发明具有很强的工业实用性。 The display method and device provided by the embodiment of the present invention will change the application identifier according to the running state of the application, so that the application identifier transmits the running information of the corresponding application, so that the user can browse the application identifier in the browsing interface. You can view the running status of the application and have the effect of displaying the running status of the application without cumbersome operations. Therefore, the present invention has strong industrial applicability.

Claims (13)

  1. 一种显示方法,用于显示移动终端的应用的运行状态,该方法包括以下步骤:A display method for displaying an operating state of an application of a mobile terminal, the method comprising the following steps:
    确定所述应用当前的运行状态;Determining a current operating state of the application;
    根据预设的所述应用的运行状态与状态图标之间的对应关系,获取所述应用当前的运行状态所对应的状态图标;Obtaining, according to a preset correspondence between the running state of the application and the status icon, a status icon corresponding to the current running state of the application;
    将所获取的状态图标作为所述应用的应用标识在浏览界面内显示。The obtained status icon is displayed as the application identifier of the application in the browsing interface.
  2. 如权利要求1所述的显示方法,其中,在所述确定应用当前的运行状态的步骤之前,该方法还包括步骤:The display method according to claim 1, wherein before the step of determining an application current state of operation, the method further comprises the steps of:
    获取当前浏览界面内显示的应用标识;Obtain an application identifier displayed in the current browsing interface;
    获得与所获取的应用标识对应的应用。Obtain an application corresponding to the acquired application identifier.
  3. 如权利要求1或2所述的显示方法,其中,在所述将所获取的状态图标作为所述应用的应用标识在浏览界面内显示的步骤之后,该方法还包括:The display method according to claim 1 or 2, wherein after the step of displaying the acquired status icon as the application identifier of the application in the browsing interface, the method further comprises:
    接收所述浏览界面内输入的状态图标;Receiving a status icon input in the browsing interface;
    若所述输入操作符合预设操作,则结束所述应用在后台的运行,并刷新所述应用的运行状态,以及调用刷新后运行状态所对应的状态图标作为所述应用的应用标识在所述浏览界面内显示。If the input operation conforms to the preset operation, ending the running of the application in the background, and refreshing the running state of the application, and calling the status icon corresponding to the running status after the refresh as the application identifier of the application. Displayed in the browsing interface.
  4. 如权利要求1所述的显示方法,其中,确定所述应用当前的运行状态的步骤包括:The display method of claim 1, wherein the determining the current operating state of the application comprises:
    获取当前后台运行的运行信息;Get the running information of the current background running;
    根据所获取的运行信息获取所述应用占用系统资源的占用信息;Obtaining occupation information of the system occupied system resource according to the obtained operation information;
    若获取的所述应用的占用信息为空,则确定所述应用的运行状态为未运行状态;If the acquired occupation information of the application is empty, determining that the running state of the application is an inactive state;
    若获取的占用信息不为空且未达到预设判定条件,则确定所述应用的运行状态为普通消耗状态;If the acquired occupation information is not empty and the preset determination condition is not reached, determining that the running state of the application is a normal consumption state;
    若获取的占用信息不为空且达到预设判定条件,则确定所述应用的运行状态为高消耗状态。 If the acquired occupation information is not empty and the preset determination condition is reached, it is determined that the running state of the application is a high consumption state.
  5. 如权利要求1所述的显示方法,其中,在确定所述应用当前的运行状态的步骤之前,该方法还包括:The display method according to claim 1, wherein before the step of determining the current running state of the application, the method further comprises:
    对所述应用的每一种运行状态分别分配一个状态图标;或者,Assigning a status icon to each of the operating states of the application; or,
    获取所述应用的默认应用标识或者所述应用在运行时的截图;对获取的默认应用标识或截图进行图片处理以获得若干个状态图标;将所获得的若干个状态图标与所述应用的多种运行状态一一关联储存;或者将所获得的若干个状态图标以及所述默认应用标识与所述应用的多种运行状态一一关联储存。Obtaining a default application identifier of the application or a screenshot of the application at runtime; performing image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons; and obtaining the obtained plurality of status icons and the application The running state is stored in association with each other; or the obtained plurality of status icons and the default application identifier are stored in association with various operating states of the application.
  6. 一种显示装置,用于显示移动终端的应用的运行状态,该装置包括运行状态查询单元、状态图标获取单元和应用标识显示单元,其中,a display device, configured to display an operation state of an application of a mobile terminal, where the device includes an operation status query unit, a status icon acquisition unit, and an application identification display unit, where
    所述运行状态查询单元设置成:确定所述应用当前的运行状态;The running status query unit is configured to: determine a current running state of the application;
    所述状态图标获取单元设置成:根据预设的所述应用的运行状态与状态图标之间的对应关系,获取所述应用当前的运行状态所对应的状态图标;The status icon acquiring unit is configured to: obtain a status icon corresponding to the current running status of the application according to a preset correspondence between the running state of the application and the status icon;
    所述应用标识显示单元设置成:将所获取的状态图标作为所述应用的应用标识在浏览界面内显示。The application identifier display unit is configured to display the acquired status icon as an application identifier of the application in the browsing interface.
  7. 如权利要求1所述的显示装置,其中,所述移动终端的应用的运行状态的显示装置还包括应用标识获取单元和应用获取单元,其中:The display device according to claim 1, wherein the display device of the operating state of the application of the mobile terminal further comprises an application identification acquiring unit and an application obtaining unit, wherein:
    所述应用标识获取单元设置成:获取当前浏览界面内显示的应用标识;The application identifier obtaining unit is configured to: obtain an application identifier displayed in the current browsing interface;
    所述应用获取单元设置成:获得与所获取的应用标识对应的应用。The application obtaining unit is configured to: obtain an application corresponding to the acquired application identifier.
  8. 如权利要求7所述的显示装置,其中,该装置还包括输入检测单元和进程终结单元,其中:The display device of claim 7, wherein the device further comprises an input detecting unit and a process terminating unit, wherein:
    所述输入检测单元设置成:接收所述浏览界面内输入的状态图标;The input detecting unit is configured to: receive a status icon input in the browsing interface;
    所述进程终结单元设置成:若所述输入操作符合预设操作,则结束所述应用在后台的运行,并刷新所述应用的运行状态,以及调用刷新后运行状态所对应的状态图标作为所述应用的应用标识在所述浏览界面内显示。 The process termination unit is configured to: if the input operation conforms to the preset operation, end the running of the application in the background, refresh the running state of the application, and invoke the status icon corresponding to the running state after the refresh as the The application identifier of the application is displayed within the browsing interface.
  9. 如权利要求6所述的显示装置,其中,所述运行状态查询单元包括运行信息获取单元、占用信息获取单元和运行状态判断单元,其中:The display device according to claim 6, wherein the operation status query unit comprises an operation information acquisition unit, an occupancy information acquisition unit, and an operation state determination unit, wherein:
    所述运行信息获取单元设置成:获取当前后台运行的运行信息;The operation information acquiring unit is configured to: obtain running information of the current background running;
    所述占用信息获取单元设置成:根据所获取的运行信息获取所述应用占用系统资源的占用信息;The occupation information acquisition unit is configured to: obtain the occupation information of the application occupation system resource according to the acquired operation information;
    所述运行状态判断单元设置成:若获取的所述应用的占用信息为空,则确定所述应用的运行状态为未运行状态;还用于若获取的占用信息不为空且未达到预设判定条件,则确定所述应用的运行状态为普通消耗状态;以及用于若获取的占用信息不为空且达到预设判定条件,则确定所述应用的运行状态为高消耗状态。The operation status determining unit is configured to: if the acquired occupation information of the application is empty, determine that the running status of the application is not running; and if the acquired occupation information is not empty and does not reach the preset Determining the condition, determining that the running state of the application is a normal consumption state; and determining that the running state of the application is a high consumption state if the acquired occupancy information is not empty and the preset determination condition is reached.
  10. 如权利要求6所述的显示装置,其中,所述移动终端的应用的运行状态的显示装置还包括预设状态图标储存单元,其中,The display device of claim 6, wherein the display device of the operating state of the application of the mobile terminal further comprises a preset state icon storage unit, wherein
    所述预设状态图标储存单元设置成:对所述应用的每一种运行状态分别分配一个状态图标。The preset status icon storage unit is configured to respectively assign a status icon to each running state of the application.
  11. 如权利要求6所述的显示装置,其中,该装置还包括默认标识获取单元、图片处理单元和新增状态图标储存单元,其中:The display device of claim 6, wherein the device further comprises a default identification acquisition unit, a picture processing unit, and a new state icon storage unit, wherein:
    所述默认标识获取单元设置成:获取所述应用的默认应用标识或者应用在运行时的截图;The default identifier obtaining unit is configured to: obtain a default application identifier of the application or a screenshot of the application at runtime;
    所述图片处理单元设置成:对获取的默认应用标识或截图进行图片处理以获得若干个状态图标;The image processing unit is configured to: perform image processing on the obtained default application identifier or screenshot to obtain a plurality of status icons;
    所述新增状态图标储存单元设置成:将所获得的若干个状态图标与所述应用的多种运行状态一一关联储存;或者将所获得的若干个状态图标以及所述默认应用标识与所述应用的多种运行状态一一关联储存。The newly added state icon storage unit is configured to: store the obtained plurality of state icons in association with the plurality of operating states of the application; or select the obtained plurality of state icons and the default application identifier and the The various operating states of the application are stored in association.
  12. 一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行权利要求1-5中任一项所述的显示方法。A computer program comprising program instructions which, when executed by a computer, cause the computer to perform the display method of any of claims 1-5.
  13. 一种载有权利要求11所述计算机程序的载体。 A carrier carrying the computer program of claim 11.
PCT/CN2014/095189 2014-11-14 2014-12-26 Display method and device WO2015184777A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410649896.6A CN105630531B (en) 2014-11-14 2014-11-14 Method and device for displaying running state of application of mobile terminal
CN201410649896.6 2014-11-14

Publications (1)

Publication Number Publication Date
WO2015184777A1 true WO2015184777A1 (en) 2015-12-10

Family

ID=54766033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095189 WO2015184777A1 (en) 2014-11-14 2014-12-26 Display method and device

Country Status (2)

Country Link
CN (1) CN105630531B (en)
WO (1) WO2015184777A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250224A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 The management method of a kind of application program and device
CN106293335A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 Application program grading management method and system
CN106502872B (en) * 2016-09-30 2019-11-29 维沃移动通信有限公司 A kind of display methods and terminal of application state information
CN106502873B (en) * 2016-09-30 2019-12-13 维沃移动通信有限公司 Application program state information display method and terminal
CN106775386B (en) * 2016-11-30 2019-11-15 努比亚技术有限公司 Rimless mobile terminal and its touch control method
CN109240893B (en) * 2018-07-18 2021-06-25 平安科技(深圳)有限公司 Application running state query method and terminal equipment
CN109407920B (en) * 2018-09-27 2021-05-25 维沃移动通信有限公司 Status icon display method, status icon processing method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876904A (en) * 2010-02-09 2010-11-03 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, and method and device for outputting running state of application programs
CN102647515A (en) * 2012-03-26 2012-08-22 青岛海信移动通信技术股份有限公司 Terminal state displaying control method and device
CN103019680A (en) * 2012-11-20 2013-04-03 东莞宇龙通信科技有限公司 Mobile terminal and application icon display method for same
US20130219337A1 (en) * 2012-02-16 2013-08-22 Chi Mei Communication Systems, Inc. Electronic device, storage medium and method for arranging icons of applications of the electronic device
CN103412708A (en) * 2013-07-31 2013-11-27 华为技术有限公司 Terminal equipment and task management method applied to same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989167A (en) * 2009-08-06 2011-03-23 中兴通讯股份有限公司 Method and device for acquiring status information
CN101644988A (en) * 2009-08-27 2010-02-10 大连海事大学 Running state information interaction platform system of users and towering machines
CN102004687A (en) * 2010-11-04 2011-04-06 东莞宇龙通信科技有限公司 Mobile terminal and program running state display method of same
WO2014077637A1 (en) * 2012-11-15 2014-05-22 Samsung Electronics Co., Ltd. User function operation method and electronic device supporting the same
CN103092685A (en) * 2012-12-21 2013-05-08 广东欧珀移动通信有限公司 Method and device for closing application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876904A (en) * 2010-02-09 2010-11-03 宇龙计算机通信科技(深圳)有限公司 Mobile terminal, and method and device for outputting running state of application programs
US20130219337A1 (en) * 2012-02-16 2013-08-22 Chi Mei Communication Systems, Inc. Electronic device, storage medium and method for arranging icons of applications of the electronic device
CN102647515A (en) * 2012-03-26 2012-08-22 青岛海信移动通信技术股份有限公司 Terminal state displaying control method and device
CN103019680A (en) * 2012-11-20 2013-04-03 东莞宇龙通信科技有限公司 Mobile terminal and application icon display method for same
CN103412708A (en) * 2013-07-31 2013-11-27 华为技术有限公司 Terminal equipment and task management method applied to same

Also Published As

Publication number Publication date
CN105630531A (en) 2016-06-01
CN105630531B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
WO2015184777A1 (en) Display method and device
EP2854372B1 (en) Method and device for displaying pushed information
KR100790078B1 (en) Apparatus and method for fast access to applications in mobile communication terminal
JP5945074B2 (en) Method, device, and mobile terminal for API intercept related applications
CN105373326B (en) Data processing system and method
TWI582680B (en) A system and method for operating application icons
US20180335823A1 (en) Method and Apparatus for Reducing Power Consumption of Terminal Device
CN103064580A (en) Method of hiding application on desktop and calling out hidden application
EP2763131A1 (en) Method and electronic device for configuring screen
US20170269823A1 (en) Control Display Method and Device, and Terminal
CN108762611A (en) A kind of management method of application icon, device and readable storage medium storing program for executing
CN104903856A (en) Application icon adaptive adjustment method and terminal
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
CN106775213B (en) A kind of method and terminal switching desktop
CN106095461A (en) The method and device of display module in interface
CN108304107A (en) A kind of display application drawing calibration method, terminal and computer readable storage medium
JP2020523692A (en) Page browsing method, device and electronic device
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
JP6412651B2 (en) Task display method, apparatus, program, and recording medium
EP2448367A1 (en) Method and terminal for displaying cell phone menu with personalized setting
EP3068097A1 (en) Method and device for filtering information
CN106814935B (en) Application icon display method of terminal and terminal
CN113840089A (en) Camera function switching method and device, terminal equipment and storage medium
US20140129957A1 (en) Personalized user interface on mobile information device
CN104978202A (en) Activity attribute extension method and apparatus

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: 14893709

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14893709

Country of ref document: EP

Kind code of ref document: A1