Nothing Special   »   [go: up one dir, main page]

CN104615931A - Prompt dialog box display control method and device - Google Patents

Prompt dialog box display control method and device Download PDF

Info

Publication number
CN104615931A
CN104615931A CN201410840259.7A CN201410840259A CN104615931A CN 104615931 A CN104615931 A CN 104615931A CN 201410840259 A CN201410840259 A CN 201410840259A CN 104615931 A CN104615931 A CN 104615931A
Authority
CN
China
Prior art keywords
program
type
running status
prompting frame
frame display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410840259.7A
Other languages
Chinese (zh)
Inventor
王舒捷
万钰臻
余明阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410840259.7A priority Critical patent/CN104615931A/en
Publication of CN104615931A publication Critical patent/CN104615931A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/032Protect output to user by software means

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a prompt dialog box display control method and device. The method comprises the steps of receiving a prompt dialog box displaying request and analyzing the prompt dialog box displaying request to obtain a program for triggering the prompt dialog box displaying request; judging whether the type and operating state of the program meet the intercept condition and intercepting the prompt dialog box request if yes. Therefore, by the adoption of the prompt dialog box display control method, the prompt dialog box display request can be intercepted intelligently according to the type and operating state of the program triggering the prompt dialog box request, so that the phenomenon that a corresponding prompt dialog box is displayed as soon as the prompt dialog box displaying request is received is avoided, misunderstanding of a user caused by displaying of the prompt dialog box is avoided, data loss and property loss of the user are avoided, and data safety and property safety are guaranteed for the user.

Description

Prompting frame display control method and device
Technical field
The disclosure relates to field of computer technology, particularly relates to a kind of prompting frame display control method and device.
Background technology
Prompting frame is used for showing information to user, and disappears after a short time.Such as, described prompting frame can be the Toast prompting frame in android system.
Toast prompting frame is a kind of easy message notifying frame in android system, and Toast prompting frame is floating display information in current display interface, and user can not click the message notifying frame of this display of floating.And the limited time of Toast prompting frame display, disappear after continuing a bit of time.The thought of Toast prompting frame is exactly not noticeable as far as possible, also shows information to user simultaneously and wishes that user sees information.
As long as android system receives the request of the display Toast prompting frame that application program sends, system will show the Toast prompting frame relevant to this application program.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of prompting frame display control method and device, and technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of prompting frame display control method is provided, comprises:
Receive prompting frame display request;
Resolve described prompting frame display request, obtain the program initiating described prompting frame display request;
Judge whether type and the running status of described program meet interception condition;
When the type and running status of determining described program meet described interception condition, tackle described prompting frame display request.
In conjunction with first aspect, in the first possible implementation of first aspect, describedly judge whether the type of described program and running status meet interception condition, comprising:
Determine the type of described program, the type of described program comprises system program and application program;
If the type of described program is described application program, then determine the running status of described application program, described running status comprises front stage operation state and background operation state;
If the running status of described application program is background operation state, determine that the type of described program and running status meet interception condition;
If the running status of described application program is front stage operation state, determine that the type of described program and running status do not meet interception condition.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, judge whether the type of described program and running status meet interception condition, comprising:
Determine the running status of described program;
If the running status of described program is background operation state, determine the type of described program;
If the type of described journey is application program, determine that the type of described program and running status meet interception condition;
If the type of described program is system program, determine that the type of described program and running status do not meet interception condition.
In conjunction with the first possible implementation of first aspect, in the third possible implementation of first aspect, describedly judge whether the type of described program and running status meet interception condition, comprising:
Determine the type of described program, the type of described program comprises system program and application program;
If the type of described program is system program, determine that described program does not meet interception condition;
If the type of described program is application program, judge the running status of described program, described running status comprises front stage operation state and background operation state;
If the running status of described application program is front stage operation state, determine that described application program does not meet interception condition;
If determine, the running status of described application program is background operation state, judges whether described application program residing state when initiating described prompting frame display request is the emergency circumstance;
If described application program residing state when initiating described prompting frame display request is not the emergency circumstance, determine that the type of described program and running status meet interception condition;
If described in operate in backstage the state of application program when initiating described prompting frame display request be the emergency circumstance, determine that the type of described program and running status do not meet interception condition.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described method also comprises:
If the type of described program and running status do not meet interception condition, show the prompting frame that described prompting frame display request is corresponding.
According to the second aspect of disclosure embodiment, a kind of prompting frame display control unit is provided, comprises:
Receiver module, for receiving prompting frame display request;
Parsing module, for resolving described prompting frame display request, obtains the program initiating described prompting frame display request;
Whether judge module, meet interception condition for the type and running status judging described program;
Blocking module, during for meeting described interception condition when the type and running status of determining described program, tackles described prompting frame display request.
In conjunction with second aspect, in the first possible implementation of second aspect, described judge module comprises: first determines that submodule, second determines that submodule, the 3rd determines that submodule and the 4th determines submodule;
Described first determines submodule, and for determining the type of the program initiating described prompting frame display request, the type of described program comprises system program and application program;
Described second determines submodule, if be application program for described program, determine the running status of described application program, described running status comprises front stage operation state and background operation state;
Described 3rd determines submodule, if be background operation state for the running status of described application program, determines that the type of described program and running status meet interception condition;
4th determines submodule, if be front stage operation state for the running status of described application program, determines that the type of described program and running status do not meet interception condition.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described judge module comprises: the 5th determines that submodule, the 6th determines that submodule, the 7th determines that submodule and the 8th determines submodule;
Described 5th determines submodule, for determining the running status of described program;
Described 6th determines submodule, if be background operation state for the running status of described program, determines the type of described program;
Described 7th determines submodule, if be application program for the type of described journey, determines that the type of described program and running status meet interception condition;
Described 8th determines submodule, if be system program for the type of described program, determines that the type of described program and running status do not meet interception condition.
In conjunction with second aspect, in the third possible implementation of second aspect, described judge module comprises:
9th determines submodule, and for determining the type of described program, the type of described program comprises system program and application program;
Tenth determines submodule, if be system program for the type of described program, determines that described program does not meet interception condition;
First judges submodule, if be application program for the type of described program, judge the running status of described program, described running status comprises front stage operation state and background operation state;
11 determines submodule, if be front stage operation state for the running status of described application program, determines that described application program does not meet interception condition;
Second judges submodule, if be background operation state for the running status of described application program, judges whether described application program residing state when initiating described prompting frame display request is the emergency circumstance;
12 determines submodule, if be not the emergency circumstance for described application program residing state when initiating described prompting frame display request, determines that the type of described program and running status meet interception condition;
13 determines submodule, if the state of described program when initiating described prompting frame display request is the emergency circumstance, determines that the type of described program and running status do not meet interception condition.
In conjunction with first, second or the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described device also comprises:
Display module, during for not meeting interception condition when the type and running status of determining described program, shows the prompting frame that described prompting frame display request is corresponding.
According to the third aspect of disclosure embodiment, a kind of terminal device is provided, comprises: processor; For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive prompting frame display request;
Resolve described prompting frame display request, obtain the program initiating described prompting frame display request;
Judge whether type and the running status of described program meet interception condition;
When the type and running status of determining described program meet described interception condition, tackle described prompting frame display request.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: receive prompting frame display request, and resolves the program that this prompting frame display request obtains initiating this prompting frame display request.Then, judge whether the type of this program and running status meet interception condition, if application program meets interception condition, then tackle described prompting frame display request.As shown in the above, described prompting frame display control method according to type and the running status initiating the program that prompting frame display is asked, can carry out intelligent intercept to prompting frame display request.Thus the phenomenon once the prompting frame receiving prompting frame display request just display correspondence can be avoided to occur.Avoid because display reminding frame causes user to misread, cause the data of user, loss that property causes, ensure data, the property safety of user.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of prompting frame display control method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of the another kind of prompting frame display control method according to an exemplary embodiment;
Fig. 3 is the process flow diagram of another the prompting frame display control method according to an exemplary embodiment;
Fig. 4 is a kind of prompting frame display control unit block diagram according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of judge module 130 according to an exemplary embodiment;
Fig. 6 is the block diagram of the another kind of judge module 130 according to an exemplary embodiment;
Fig. 7 is the block diagram of the another kind of judge module 130 according to an exemplary embodiment;
Fig. 8 is the another kind of prompting frame display control unit block diagram according to an exemplary embodiment;
Fig. 9 is the block diagram of a kind of device 800 according to an exemplary embodiment.
By above-mentioned accompanying drawing, illustrate the embodiment that the disclosure is clear and definite more detailed description will be had hereinafter.These accompanying drawings be not in order to limited by any mode the disclosure design scope, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of prompting frame display control method according to an exemplary embodiment, and the method is used in mobile terminal, such as, and smart mobile phone, panel computer etc.Described prompting frame can comprise the Toast prompting frame in android system, and as shown in Figure 1, described method can comprise the following steps:
In step s 110, prompting frame display request is received.
In the present embodiment, described prompting frame can comprise Toast prompting frame, and the method is described for Toast prompting frame.
Toast prompting frame is floating display information in the current display interface of mobile terminal, such as, the information that prompting user short message has successfully sent is shown by Toast prompting frame exactly, floating display reminding information in current display interface, do not need user to do any process to this information, and displaying time is ofer short duration.
When program needs to send Toast prompting frame, send prompting frame display request to system, in this prompting frame display request, comprise the relevant information of the program sending this request, such as, the information such as title, version number of program.
In the step s 120, resolve described prompting frame display request, obtain the program initiating described prompting frame display request.
Mobile terminal resolves described prompting frame display request, obtains the information of the program sending this prompting frame display request.
In step s 130, which, judge whether type and the running status of described program meet interception condition; If meet interception condition, perform step S140; If do not meet interception condition, perform step S150.
In the disclosure one exemplary embodiment, can set different interception grades, interception higher grade interception condition is stricter; Interception lower grade interception condition is looser.Such as, can set two interception grades is common interception and strict interception respectively.
For common interception, can tackle the application program operating in backstage, when this application program initiates prompting frame display request simultaneously, this application program is not the emergency circumstance, interception prompting frame display request.Under this kind of application scenarios, interception condition is that the application program initiating prompting frame display request operates in backstage, and this application program is not the emergency circumstance when initiating prompting frame display request.
For strict interception, the prompting frame display request that every application program operating in backstage is initiated all is tackled without exception.Under this kind of application scenarios, interception condition is the prompting frame display request that the application program operating in backstage is initiated.
Certainly, other interception condition can also be set according to actual needs in other embodiment of the present disclosure.
In step S140, tackle described prompting frame display request.
Tackle described prompting frame display request and refer to the Toast prompting frame do not shown corresponding to described prompting frame display request.
In step S150, show the prompting frame that described prompting frame display request is corresponding.
The prompting frame display control method that the present embodiment provides, mobile terminal receives prompting frame display request, and resolves the program that this prompting frame display request obtains initiating this prompting frame display request.Then, judge whether the type of this program and running status meet interception condition, if program meets interception condition, then tackle described prompting frame display request.As shown in the above, described prompting frame display control method according to type and the running status initiating the program that prompting frame display is asked, can carry out intelligent intercept to prompting frame display request.Thus can avoid occurring just showing the phenomenon of corresponding Toast prompting frame once receive prompting frame display request, and then avoid, due to the loss that display Toast prompting frame causes the data of user, property causes, ensureing data, the property safety of user.
Fig. 2 is the process flow diagram of the another kind of prompting frame display control method according to an exemplary embodiment, and the method is applied in mobile terminal, and as shown in Figure 2, the method can comprise the following steps:
In step S210, receive prompting frame display request.
In step S220, resolve described prompting frame display request, obtain the program initiating described prompting frame display request.
In step S230, determine the type of described program; Described type comprises system program and application program.
System program in Andriod system is the program supporting Andriod system, is the indispensable program of system cloud gray model; Described application program refers to the program that third party provides, such as, and music APP, weather APP etc.
If the type of described program is application program, then perform step S240; If the type of described program is system program, then perform step S260.
In step S240, determine the running status of described program; The running status of described program comprises front stage operation state and background operation state.
If application program is at running background, then perform step S250; If application program is at front stage operation, then perform step S260.
In another exemplary embodiment of the present disclosure, first can perform step S240, then perform step S230, namely first determine the running status of the program initiating prompting frame display request, when determining that program operates in foreground, performing step S260; If program operates in backstage, then the type of determining program; If program is system program, then perform step S260; If program is application program, then perform step S250.
In step s 250, determine that described program meets interception condition, and tackle described prompting frame display request.
When the application program determining to operate in backstage initiates described prompting frame display request, determine that described program meets interception condition, tackle described prompting frame display request.
In step S260, determine that described program does not meet interception condition, the prompting frame that display reminding frame display request is corresponding.
When the application program determined system program or operate in foreground initiates described prompting frame display request, determine not meet described interception condition.
System program acquiescence be safe, can not malice to user initiate prompting frame display request, therefore, can not intercepting system program initiate prompting frame display request; In addition, if the prompting frame display request that the application program operating in foreground is initiated can not cause the misunderstanding of user, therefore, the prompting frame display request of the application program initiation operating in foreground can not be tackled.
The prompting frame display control method that the present embodiment provides, after receiving prompting frame display request, first judges the type of the program initiating this prompting frame display request; If application program then continues the running status judging this application program; If this application program operates in backstage, then tackle described prompting frame display request.If the program initiating prompting frame display request is system program, or operates in the application program on foreground, then show corresponding Toast prompting frame.The prompting frame display request that the method is initiated for the application program operating in backstage is tackled without exception, like this, farthest can ensure the data of user, the safety of property.
Fig. 3 is the process flow diagram of another the prompting frame display control method according to an exemplary embodiment, and the method can comprise the following steps:
In step S310, receive prompting frame display request.
In step s 320, the program that described prompting frame display request obtains initiating described prompting frame display request is resolved.
In step S330, determine the type of described program; The type of described program comprises system program and application program.
If described program is application program, then perform step S340; If the type of described program is system program, then perform step S370.
In step S340, determine the running status of described program; Described running status comprises front stage operation state and background operation state.
If described program is at running background, then perform step S350; If described program is at front stage operation, then perform step S370.
In step S350, judge that described program initiates whether residing state when the display of described prompting frame is asked is the emergency circumstance;
The described emergency circumstance refers to, whether the operation initiating prompting frame display request when the application program operating in backstage is emergency operation, or this application program exists alternately indirectly and between user.Such as, be in the music program of online broadcast state, when entering from the environment with WiFi network the environment not having WiFi network, music program just can be listened to the music at usage data flow online by Toast prompting frame reminding user is current.Under this kind of application scenarios, system thinks that the operation of the Toast prompting frame request that music program is initiated is emergency operation, or system thinks to exist alternately between music program and user, then allow the Toast prompting frame of this application program of display.
If the prompting frame display request that the application program operating in backstage is initiated, and, be not in a state of emergency when this application program initiates described prompting frame display request, then perform step S360; If the application program initiating the backstage of prompting frame display request is in a state of emergency, then perform step S370.
In step S360, tackle described prompting frame display request.
In step S370, show the prompting frame that described prompting frame display request is corresponding.
The prompting frame display control method that the present embodiment provides, after receiving prompting frame display request, first judges the type of the program initiating this prompting frame display request, if application program then continues the running status judging this application program; If this application program operate in backstage, then continue to judge the operation of this application program be whether emergency operation or and user between exist alternately; If the operation of this application program is not emergency operation, and and user between do not exist mutual, then tackle the prompting frame display request that this application program is initiated.In sum, the method is not that the prompting frame display request initiated once the application program determining to operate in backstage just tackles; But can dynamic conditioning interception condition, according to operate in backstage application program need dynamic conditioning.Like this, the data of user, the safety of property can be ensured, the demand of the application program display Toast prompting frame operating in backstage can be met again, improve the degree of intelligence of interception Toast prompting frame.
Corresponding to above-mentioned prompting frame display control method embodiment, the disclosure additionally provides prompting frame display control unit.
Fig. 4 is a kind of prompting frame display control unit block diagram according to an exemplary embodiment, and this application of installation is in mobile terminal, and as shown in Figure 4, this device can comprise receiver module 110, parsing module 120, judge module 130 and blocking module 140.
Receiver module 110 is configured to, and receives prompting frame display request.
Parsing module 120 is configured to, and resolves described prompting frame display request, obtains the program initiating described prompting frame display request.
Judge module 130 is configured to, and judges whether the type of described program and running status meet interception condition.
Blocking module 140 is configured to, and when the type and running status of determining described program meet described interception condition, tackles described prompting frame display request.
The prompting frame display control unit that the present embodiment provides, receives prompting frame display request, and resolves the program that this prompting frame display request obtains initiating this prompting frame display request.Then, judge whether the type of this program and running status meet interception condition, if application program meets interception condition, then tackle described prompting frame display request.As shown in the above, described prompting frame display control method according to type and the running status initiating the program that prompting frame display is asked, can carry out intelligent intercept to prompting frame display request.Thus the phenomenon once the prompting frame receiving prompting frame display request just display correspondence can be avoided to occur.Avoid because display reminding frame causes user to misread, cause the data of user, loss that property causes, ensure data, the property safety of user.
Fig. 5 is the block diagram of a kind of judge module 130 according to an exemplary embodiment, and described judge module comprises: first determines that submodule 210, second determines that submodule 220, the 3rd determines that submodule 230 and the 4th determines submodule 240.
First determines that submodule 210 is configured to, and determines the type of the program initiating described prompting frame display request.The type of described program comprises system program and application program.
Second determines that submodule 220 is configured to, if described program is application program, determine the running status of described application program, described running status comprises front stage operation state and background operation state.
3rd determines that submodule 230 is configured to, if the running status of described application program is background operation state, determines that the type of described program and running status meet interception condition.
4th determines that submodule 240 is configured to, if the running status of described application program is front stage operation state, determines that the type of described program and running status do not meet interception condition.
The judge module that the present embodiment provides, first judges the type of the program initiating prompting frame display request; If application program then continues the running status judging this application program; If this application program operates in backstage, then tackle described prompting frame display request.If the program initiating prompting frame display request is system program, or operates in the application program on foreground, then show corresponding prompting frame.The prompting frame display request that the method is initiated for the application program operating in backstage is tackled without exception, like this, farthest can ensure the data of user, the safety of property.
Fig. 6 is the block diagram of the another kind of judge module 130 according to an exemplary embodiment, and described judge module comprises: the 5th determines that submodule 310, the 6th determines that submodule 320, the 7th determines that submodule 330 and the 8th determines submodule 340;
Described 5th determines that submodule 310 is configured to, and determines the running status of described program.
Described 6th determines that submodule 320 is configured to, if the running status of described program is background operation state, determines the type of described program.
Described 7th determines that submodule 330 is configured to, if the type of described journey is application program, determines that the type of described program and running status meet interception condition.
Described 8th determines that submodule 340 is configured to, if the type of described program is system program, determines that the type of described program and running status do not meet interception condition.
Fig. 7 is the block diagram of the another kind of judge module 130 according to an exemplary embodiment, as shown in Figure 7, described judge module 130 can comprise: the 9th determines that submodule 410, the tenth determines that submodule 420, first judges that submodule the 430, the 11 determines that submodule 440, second judges that submodule the 450, the 12 determines that submodule 460 and the 13 determines submodule 470.
9th determines that submodule 410 is configured to, and determines the type of described program, and the type of described program comprises system program and application program;
Tenth determines that submodule 420 is configured to, if the type of described program is system program, determines that described program does not meet interception condition;
First judges that submodule 430 is configured to, if the type of described program is application program, judge the running status of described program, described running status comprises front stage operation state and background operation state;
11 determines that submodule 440 is configured to, if the running status of described application program is front stage operation state, determines that described application program does not meet interception condition;
Second judges that submodule 450 is configured to, if the running status of described application program is background operation state, judges whether described application program residing state when initiating described prompting frame display request is the emergency circumstance;
12 determines that submodule 460 is configured to, if described application program residing state when initiating described prompting frame display request is not the emergency circumstance, determines that the type of described program and running status meet interception condition;
13 determines that submodule 470 is configured to, if the state of described program when initiating described prompting frame display request is the emergency circumstance, determines that the type of described program and running status do not meet interception condition.
The judge module that the present embodiment provides, after receiving prompting frame display request, first judges the type of the program initiating this prompting frame display request, if application program then continues the running status judging this application program; If this application program operate in backstage, then continue to judge the operation of this application program be whether emergency operation or and user between exist alternately; If the operation of this application program is not emergency operation, and and user between do not exist mutual, then tackle the prompting frame display request that this application program is initiated.In sum, the method is not that the prompting frame display request initiated once the application program determining to operate in backstage just tackles; But can dynamic conditioning interception condition, according to operate in backstage application program need dynamic conditioning.Like this, the data of user, the safety of property can be ensured, the demand of the application program display reminding frame operating in backstage can be met again, improve the degree of intelligence of interception prompting frame.
Fig. 8 is the another kind of prompting frame display control unit block diagram according to an exemplary embodiment, and this device can also comprise display module 510 on basis embodiment illustrated in fig. 4;
Display module 510 is configured to, and when the type of described program and running status do not meet interception condition, shows the prompting frame that described prompting frame display request is corresponding.
Fig. 9 is the block diagram of a kind of device 800 for realizing prompting frame display control method according to an exemplary embodiment.Such as, device 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
As shown in Figure 9, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of prompting frame display control method, described method comprises:
Receive prompting frame display request;
Resolve described prompting frame display request, obtain the program initiating described prompting frame display request;
Judge whether type and the running status of described program meet interception condition;
When the type and running status of determining described program meet described interception condition, tackle described prompting frame display request.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (11)

1. a prompting frame display control method, is characterized in that, comprising:
Receive prompting frame display request;
Resolve described prompting frame display request, obtain the program initiating described prompting frame display request;
Judge whether type and the running status of described program meet interception condition;
When the type and running status of determining described program meet described interception condition, tackle described prompting frame display request.
2. method according to claim 1, is characterized in that, judges whether the type of described program and running status meet interception condition, comprising:
Determine the type of described program, the type of described program comprises system program and application program;
If the type of described program is described application program, then determine the running status of described application program, described running status comprises front stage operation state and background operation state;
If the running status of described application program is background operation state, determine that the type of described program and running status meet interception condition;
If the running status of described application program is front stage operation state, determine that the type of described program and running status do not meet interception condition.
3. method according to claim 1, is characterized in that, judges whether the type of described program and running status meet interception condition, comprising:
Determine the running status of described program; If the running status of described program is background operation state, determine the type of described program; If the type of described journey is application program, determine that the type of described program and running status meet interception condition;
If the type of described program is system program, determine that the type of described program and running status do not meet interception condition.
4. method according to claim 1, is characterized in that, describedly judges whether the type of described program and running status meet interception condition, comprising:
Determine the type of described program, the type of described program comprises system program and application program;
If the type of described program is system program, determine that described program does not meet interception condition;
If the type of described program is application program, judge the running status of described program, described running status comprises front stage operation state and background operation state;
If the running status of described application program is front stage operation state, determine that described application program does not meet interception condition;
If determine, the running status of described application program is background operation state, judges whether described application program residing state when initiating described prompting frame display request is the emergency circumstance;
If described application program residing state when initiating described prompting frame display request is not the emergency circumstance, determine that the type of described program and running status meet interception condition;
If described in operate in backstage the state of application program when initiating described prompting frame display request be the emergency circumstance, determine that the type of described program and running status do not meet interception condition.
5. the method according to any one of claim 2-4, is characterized in that, described method also comprises:
If the type of described program and running status do not meet interception condition, show the prompting frame that described prompting frame display request is corresponding.
6. a prompting frame display control unit, is characterized in that, comprising:
Receiver module, for receiving prompting frame display request;
Parsing module, for resolving described prompting frame display request, obtains the program initiating described prompting frame display request;
Whether judge module, meet interception condition for the type and running status judging described program;
Blocking module, during for meeting described interception condition when the type and running status of determining described program, tackles described prompting frame display request.
7. device according to claim 6, is characterized in that, described judge module comprises: first determines that submodule, second determines that submodule, the 3rd determines that submodule and the 4th determines submodule;
Described first determines submodule, and for determining the type of the program initiating described prompting frame display request, the type of described program comprises system program and application program;
Described second determines submodule, if be application program for described program, determine the running status of described application program, described running status comprises front stage operation state and background operation state;
Described 3rd determines submodule, if be background operation state for the running status of described application program, determines that the type of described program and running status meet interception condition;
4th determines submodule, if be front stage operation state for the running status of described application program, determines that the type of described program and running status do not meet interception condition.
8. device according to claim 6, is characterized in that, described judge module comprises: the 5th determines that submodule, the 6th determines that submodule, the 7th determines that submodule and the 8th determines submodule;
Described 5th determines submodule, for determining the running status of described program;
Described 6th determines submodule, if be background operation state for the running status of described program, determines the type of described program;
Described 7th determines submodule, if be application program for the type of described journey, determines that the type of described program and running status meet interception condition;
Described 8th determines submodule, if be system program for the type of described program, determines that the type of described program and running status do not meet interception condition.
9. device according to claim 6, is characterized in that, described judge module comprises:
9th determines submodule, and for determining the type of described program, the type of described program comprises system program and application program;
Tenth determines submodule, if be system program for the type of described program, determines that described program does not meet interception condition;
First judges submodule, if be application program for the type of described program, judge the running status of described program, described running status comprises front stage operation state and background operation state;
11 determines submodule, if be front stage operation state for the running status of described application program, determines that described application program does not meet interception condition;
Second judges submodule, if be background operation state for the running status of described application program, judges whether described application program residing state when initiating described prompting frame display request is the emergency circumstance;
12 determines submodule, if be not the emergency circumstance for described application program residing state when initiating described prompting frame display request, determines that the type of described program and running status meet interception condition;
13 determines submodule, if be the emergency circumstance for the state of described program when initiating described prompting frame display request, determines that the type of described program and running status do not meet interception condition.
10. the device according to any one of claim 7-9, is characterized in that, described device also comprises:
Display module, during for not meeting interception condition when the type and running status of determining described program, shows the prompting frame that described prompting frame display request is corresponding.
11. 1 kinds of terminal devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Receive prompting frame display request;
Resolve described prompting frame display request, obtain the program initiating described prompting frame display request;
Judge whether type and the running status of described program meet interception condition;
When the type and running status of determining described program meet described interception condition, tackle described prompting frame display request.
CN201410840259.7A 2014-12-30 2014-12-30 Prompt dialog box display control method and device Pending CN104615931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410840259.7A CN104615931A (en) 2014-12-30 2014-12-30 Prompt dialog box display control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410840259.7A CN104615931A (en) 2014-12-30 2014-12-30 Prompt dialog box display control method and device

Publications (1)

Publication Number Publication Date
CN104615931A true CN104615931A (en) 2015-05-13

Family

ID=53150370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410840259.7A Pending CN104615931A (en) 2014-12-30 2014-12-30 Prompt dialog box display control method and device

Country Status (1)

Country Link
CN (1) CN104615931A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN105260247A (en) * 2015-11-20 2016-01-20 小米科技有限责任公司 Method and device for controlling terminal application
CN105487758A (en) * 2015-12-11 2016-04-13 小米科技有限责任公司 Method and device for popup control of application software, and terminal equipment
CN106993084A (en) * 2017-02-28 2017-07-28 努比亚技术有限公司 The method, device and mobile terminal that a kind of control information is shown
CN107908448A (en) * 2017-11-01 2018-04-13 北京小米移动软件有限公司 The processing method and device of Toast message

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945341A (en) * 2012-10-23 2013-02-27 北京奇虎科技有限公司 Method and device for intercepting popup
CN102968590A (en) * 2012-10-23 2013-03-13 北京奇虎科技有限公司 Pop window suppression method and system
CN103116722A (en) * 2013-02-06 2013-05-22 北京奇虎科技有限公司 Processing method, processing device and processing system of notification board information
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN103744658A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Method for prompting starting of roller floating layer and electronic device
CN103944862A (en) * 2013-01-18 2014-07-23 珠海市君天电子科技有限公司 Advertisement supervision method and advertisement supervision device
CN104036030A (en) * 2014-06-27 2014-09-10 上海二三四五网络科技股份有限公司 Pop-up advertisement blocking method and system based on browser and related browser

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN102945341A (en) * 2012-10-23 2013-02-27 北京奇虎科技有限公司 Method and device for intercepting popup
CN102968590A (en) * 2012-10-23 2013-03-13 北京奇虎科技有限公司 Pop window suppression method and system
CN103944862A (en) * 2013-01-18 2014-07-23 珠海市君天电子科技有限公司 Advertisement supervision method and advertisement supervision device
CN103116722A (en) * 2013-02-06 2013-05-22 北京奇虎科技有限公司 Processing method, processing device and processing system of notification board information
CN103744658A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Method for prompting starting of roller floating layer and electronic device
CN104036030A (en) * 2014-06-27 2014-09-10 上海二三四五网络科技股份有限公司 Pop-up advertisement blocking method and system based on browser and related browser

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN105260247A (en) * 2015-11-20 2016-01-20 小米科技有限责任公司 Method and device for controlling terminal application
CN105487758A (en) * 2015-12-11 2016-04-13 小米科技有限责任公司 Method and device for popup control of application software, and terminal equipment
CN105487758B (en) * 2015-12-11 2019-04-30 小米科技有限责任公司 Application software pop-up control method, device and terminal device
CN106993084A (en) * 2017-02-28 2017-07-28 努比亚技术有限公司 The method, device and mobile terminal that a kind of control information is shown
CN107908448A (en) * 2017-11-01 2018-04-13 北京小米移动软件有限公司 The processing method and device of Toast message

Similar Documents

Publication Publication Date Title
CN104238875A (en) Application corner mark addition method and device
CN104881104A (en) Intelligent equipment, intelligent equipment performance improvement method and intelligent equipment performance improvement device
CN105160239A (en) Application program access restriction method and apparatus
CN105530372A (en) Message display method and apparatus and terminal device
CN105117211A (en) Method and device for message prompts
CN105224349A (en) The deletion reminding method of application program and device
CN104766005A (en) Management method and device for application software access authority
CN104915123A (en) Terminal display method and device
CN104580730A (en) Alarm clock prompting method and device
CN105117033A (en) Connection method and device of external equipment
CN104899610A (en) Picture classification method and device
CN105068958A (en) Switching control method and device
CN104834559A (en) Notification message display method and device
CN104618511A (en) Intelligent device detection method and device
CN104468971A (en) Method and device for connecting playing source
CN105071473A (en) USB charging method and device
CN105224494A (en) Method for handover control and device
CN104537380A (en) Clustering method and device
CN104331228A (en) Screen locking method and device
CN105282446A (en) Camera management method and device
CN105430715A (en) Method and apparatus for controlling WIFI scanning
CN104615931A (en) Prompt dialog box display control method and device
CN104516647A (en) Notification message processing method and device
CN105138564A (en) Data file reading method and apparatus
CN104767857A (en) Telephone calling method and device based on cloud name cards

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513