Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of a kind of suspension problem control display packing and device that is suitable for mobile terminal that overcomes the problems referred to above or address the above problem is at least in part provided.
According to one aspect of the present invention, a kind of suspension problem interactive controls display packing that is suitable for mobile terminal is provided, wherein, the method comprises:
Start the service of suspension problem interactive controls;
The application form event triggering in monitoring mobile terminal;
Described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling;
When the service of described suspension problem interactive controls is triggered, the entry of described coupling is shown in the suspended window of mobile terminal.
Alternatively, the method further comprises:
On described suspended window, show and hide control;
When described hiding control is triggered, hides suspended window, and on the display interface of mobile terminal, show suspended window small icon;
When described suspended window small icon is triggered, launch hiding suspended window.
Alternatively, the method further comprises:
When receiving the instruction of the viewing area except suspended window of clicking mobile terminal, hide suspended window, and on the display interface of mobile terminal, show suspended window small icon.
Alternatively, described the entry of described coupling shown and comprised in the suspended window of mobile terminal:
Start a service in Android system;
To described service, send and create suspended window message; Described service, after receiving establishment suspended window message, is added the suspended window view control of described entry in the WindowManger of Android system to;
To described service, send and upgrade suspended window message; Described service, after receiving renewal suspended window message, is upgraded the suspended window view control in WindowManger according to the data of upgrading in suspended window message.
Alternatively, the method further comprises:
To described service, send and close suspended window message; Described service is closed after suspended window message receiving, and removes suspended window view control in WindowManger.
Alternatively, described described application form event is mated with the entry of storage in the service of described suspension interactive controls, the entry that obtains coupling comprises:
When application form event that monitoring triggers in mobile terminal, automatically described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of mating;
Or,
While receiving the problem query word relevant to described application form event from problem query word input interface, according to searching the entry corresponding with described application form event in the entry of described problem query word storage from described suspension interactive controls service.
According to another aspect of the present invention, a kind of suspension problem interactive controls display device that is suitable for mobile terminal is provided, wherein, this device comprises:
Start unit, is suitable for starting the service of suspension problem interactive controls;
Monitoring means, is suitable for monitoring the application form event triggering in mobile terminal;
Matching unit, is suitable for described application form event to mate with the entry of storage in described suspension interactive controls service, obtains the entry of coupling;
Suspended window display unit, is suitable for, when the service of described suspension problem interactive controls is triggered, the entry of described coupling being shown in the suspended window of mobile terminal.
Alternatively, described suspended window display unit, be further adapted for and on described suspended window, show hiding control, when described hiding control is triggered, hide suspended window, and on the display interface of mobile terminal, show suspended window small icon, and when described suspended window small icon is triggered, launch hiding suspended window.
Alternatively, described suspended window display unit, is further adapted for when receiving the instruction of the viewing area except suspended window of clicking mobile terminal, hides suspended window, and on the display interface of mobile terminal, shows suspended window small icon.
Alternatively, described suspended window display unit, is suitable for starting a service in Android system, sends and creates suspended window message, and send and upgrade suspended window message to described service to described service;
Wherein, described service, after receiving establishment suspended window message, is added the suspended window view control of described entry in the WindowManger of Android system to; Described service, after receiving renewal suspended window message, is upgraded the suspended window view control in WindowManger according to the data of upgrading in suspended window message.
Alternatively, described suspended window display unit, is further adapted for to described service and sends and close suspended window message; Wherein, described service is closed after suspended window message receiving, and removes suspended window view control in WindowManger;
Described suspended window display unit, is further adapted for the described service of closing.
Alternatively, described matching unit, be suitable for when described monitoring means monitors the application form event triggering in mobile terminal, automatically described application form event mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; Or, while being suitable for receiving the problem query word relevant to described application form event from problem query word input interface, according to searching the entry corresponding with described application form event in the entry of described problem query word storage from described suspension interactive controls service.
According to this startup suspension problem interactive controls service of the present invention; The application form event triggering in monitoring mobile terminal; Described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; When the service of described suspension problem interactive controls is triggered, the technical scheme that the entry of described coupling is shown in the suspended window of mobile terminal, owing to showing with the form of suspended window with the entry of application form event matches, therefore can when operational applications form event, check the relative recording item in suspended window, and do not need to exit application form event, therefore greatly facilitate user's operation, saved time and efforts.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Fig. 2 shows a kind of according to an embodiment of the invention process flow diagram that is suitable for the suspension problem interactive controls display packing of mobile terminal.As shown in Figure 1, the method comprises:
Step S210, starts the service of suspension problem interactive controls.
Step S220, the application form event triggering in monitoring mobile terminal.
Apply in an embodiment of the present invention some window application in form event general reference mobile terminal, such as playing, arrange application of a certain function of mobile phone etc.
Step S230, mates described application form event with the entry of storage in described suspension interactive controls service, obtain the entry of coupling.
In an embodiment of the present invention, pre-stored in suspension interactive controls service have an entry relevant to application form event.For example there is the attack strategy of being open to the custom of various types of games, use attack strategy that guide, various application form events are set of the various functions of mobile terminal etc.
In one embodiment of the invention, each entry that the pre-stored application form event having is relevant exists with the form of picture and text class Webpage.
Step S240 when the service of described suspension problem interactive controls is triggered, shows the entry of described coupling in the suspended window of mobile terminal.
In one embodiment of the invention, can on the display interface of mobile terminal, show a suspension control, a for example suspension bead, or the suspension small icon of other shapes and pattern, user can trigger suspension problem interactive controls and serves by clicking this suspension control.
Shown in Fig. 2 in method, owing to showing with the form of suspended window with the entry of application form event matches, therefore can when operational applications form event, check the relative recording item in suspended window, and do not need to exit application form event, therefore greatly facilitate user's operation, saved time and efforts.
For example, when user need to arrange ringing sound of cell phone according to the picture and text class solution of " the self-defined incoming ring tone of mobile phone " shown in Fig. 1, according to the method shown in Fig. 2, can in the suspended window shown in Fig. 3, show.Thereby solved that picture and text class solution has a lot of steps and user need to exit application can not once all write down time repeatedly, opened the problem that solution is checked.
Fig. 3 shows according to an embodiment of the invention the suspended window exploded view of the picture and text class solution of " the self-defined incoming ring tone of mobile phone ".Referring to Fig. 3, in suspension window, show the picture and text class solution of " the self-defined incoming ring tone of mobile phone ".Like this, when user is when arranging ringing sound of cell phone, directly at ringing sound of cell phone, arrange on the page and trigger and open suspended window as shown in Figure 3, according to the content in suspended window, carry out self-defined the tinkle of bells setting.
In one embodiment of the invention, the method shown in Fig. 2 further comprises: on described suspended window, show and hide control; When described hiding control is triggered, hides suspended window, and on the display interface of mobile terminal, show suspended window small icon; When described suspended window small icon is triggered, launch hiding suspended window.Or, in another embodiment of the present invention, method shown in Fig. 2 also comprises: when receiving the instruction of the viewing area except suspended window of clicking mobile terminal, hide suspended window, and on the display interface of mobile terminal, show suspended window small icon, when described suspended window small icon is triggered, again launch hiding suspended window.
For example, referring to Fig. 3, "-" in the suspended window upper right corner number button control is hiding control, and " * " in the upper left corner number button control is to close suspended window button control.When user clicks "-" number button control, suspended window is hidden, and shows suspended window small icon on the display interface of mobile terminal, as shown in Figure 4.
Fig. 4 shows the schematic diagram of suspended window small icon according to an embodiment of the invention.Referring to Fig. 4, on the display interface of mobile terminal, the time (23:09), bottom-right circular small icon was suspended window small icon.If click this suspended window small icon, can show suspended window as shown in Figure 3.
In one embodiment of the invention, described in the step S230 of method shown in Fig. 2, described application form event is mated with the entry of storage in described suspension interactive controls service, the entry that obtains coupling comprises: when application form event that monitoring triggers in mobile terminal, automatically described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; Or, while receiving the problem query word relevant to described application form event from problem query word input interface, according to searching the entry corresponding with described application form event in the entry of described problem query word storage from described suspension interactive controls service.
The triggering that is the displaying of suspended window has two kinds of forms: a kind of is when monitoring the application form event triggering in mobile terminal, initiatively finds the entry of coupling, and pushes.For example, when monitoring user, started certain game in mobile phone, backstage finds the attack strategy of making a breakthrough of this game automatically, and on the interface of this game, shows a suspension control, when user triggers this suspension control, the attack strategy of making a breakthrough finding is illustrated in suspended window.Another kind is that user inputs problem query word in the problem query word input interface of suspension interactive controls service, in the entry that store from described suspension interactive controls service according to described problem query word on backstage, search and corresponding entry, and show in suspended window.
In one embodiment of the invention, described in the step S240 of method shown in Fig. 2, the entry of described coupling is shown and comprised in the suspended window of mobile terminal: start the service (Service) in Android system; To described service, send and create suspended window message; Described service, after receiving establishment suspended window message, is added the suspended window view control of described entry in the WindowManger of Android system to; To described service, send and upgrade suspended window message; Described service, after receiving renewal suspended window message, is upgraded the suspended window view control in WindowManger according to the data of upgrading in suspended window message.In one embodiment of the present of invention, the method shown in Fig. 2 also comprises: to described service, send and close suspended window message; Described service is closed after suspended window message receiving, and removes suspended window view control in WindowManger.Close described service.
Specifically, suspended window is managed by the Service in Android (android) in one embodiment of the invention.First start a Service, then the onStartService method in Service is processed dissimilar message, mainly contains and creates suspended window, upgrades suspended window, closes three kinds of message of suspended window.When receiving establishment suspended window message, in WindowManger, add suspended window view control; When receiving renewal suspended window message, according to message data, upgrade the view control in suspended window; When receiving while closing message, in WindowManger, remove suspended window view control.Close Service.
Described suspended window is a kind of window in Android in an embodiment of the present invention, by WindowManger, is managed, and can on any UI, carry out interactive operation.WindowManager in Android is mainly used to some states, attribute, view increase, deletion, renewal, window order, message collection and the processing etc. of management window.
By the mode of Context.getSystemService (Context.WINDOW_SERVICE), can obtain the example of WindowManager.
WindowManager inherits from ViewManager, and the inside relates to three important method of window management, respectively:
*addView();
*update?View?Layout();
*remove?View();
In Window Manager, also have an important static class Layout Params. can arrange and obtain some attributes of current window by it.
Fig. 5 shows a kind of according to an embodiment of the invention structural drawing that is suitable for the suspension problem interactive controls display device of mobile terminal.As shown in Figure 5, this suspension problem interactive controls display device 500 that is suitable for mobile terminal comprises:
Start unit 501, is suitable for starting the service of suspension problem interactive controls;
Monitoring means 502, is suitable for monitoring the application form event triggering in mobile terminal; Apply in an embodiment of the present invention some window application in form event general reference mobile terminal, such as playing, arrange application of a certain function of mobile phone etc.
Matching unit 503, is suitable for described application form event to mate with the entry of storage in described suspension interactive controls service, obtains the entry of coupling; In an embodiment of the present invention, pre-stored in suspension interactive controls service have an entry relevant to application form event.For example there is the attack strategy of being open to the custom of various types of games, use attack strategy that guide, various application form events are set of the various functions of mobile terminal etc.
Suspended window display unit 504, is suitable for, when the service of described suspension problem interactive controls is triggered, the entry of described coupling being shown in the suspended window of mobile terminal.In one embodiment of the invention, can on the display interface of mobile terminal, show a suspension control, a for example suspension bead, or the suspension small icon of other shapes and pattern, user can trigger suspension problem interactive controls and serves by clicking this suspension control.
Device shown in Fig. 5, owing to showing with the form of suspended window with the entry of application form event matches, therefore can when operational applications form event, check the relative recording item in suspended window, and do not need to exit application form event, therefore greatly facilitate user's operation, saved time and efforts.
A kind of displaying of suspended window as shown in Figure 3.
In one embodiment of the invention, described suspended window display unit 504, be further adapted for and on described suspended window, show hiding control, when described hiding control is triggered, hide suspended window, and on the display interface of mobile terminal, show suspended window small icon, and when described suspended window small icon is triggered, launch hiding suspended window.
In one embodiment of the invention, described suspended window display unit 504, is further adapted for when receiving the instruction of the viewing area except suspended window of clicking mobile terminal, hides suspended window, and on the display interface of mobile terminal, shows suspended window small icon.A kind of example of suspended window small icon as shown in Figure 4.
In one embodiment of the invention, described suspended window display unit 504, is suitable for starting a service in Android system, sends and creates suspended window message, and send and upgrade suspended window message to described service to described service;
Wherein, described service, after receiving establishment suspended window message, is added the suspended window view control of described entry in the Window Manger of Android system; Described service, after receiving renewal suspended window message, is upgraded the suspended window view control in Window Manger according to the data of upgrading in suspended window message.
In one embodiment of the invention, described suspended window display unit 504, is further adapted for to described service and sends and close suspended window message; Wherein, described service is closed after suspended window message receiving, and removes suspended window view control in Window Manger; Described suspended window display unit 504, is further adapted for the described service of closing.
In one embodiment of the invention, described matching unit 503, be suitable for when described monitoring means monitors the application form event triggering in mobile terminal, automatically described application form event mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; Or, while being suitable for receiving the problem query word relevant to described application form event from problem query word input interface, according to searching the entry corresponding with described application form event in the entry of described problem query word storage from described suspension interactive controls service.
The triggering that is the displaying of suspended window has two kinds of forms: a kind of is when monitoring the application form event triggering in mobile terminal, initiatively finds the entry of coupling, and pushes.For example, when monitoring user, in mobile phone, started certain game, automatically found the attack strategy of making a breakthrough of this game, and on the interface of this game, show a suspension control, when user triggers this suspension control, the attack strategy of making a breakthrough finding has been illustrated in suspended window.Another kind is that user inputs problem query word in the problem query word input interface of suspension interactive controls service, according to searching and corresponding entry in the entry of described problem query word storage from described suspension interactive controls service, and show in suspended window.
In sum, according to this startup suspension problem interactive controls service of the present invention; The application form event triggering in monitoring mobile terminal; Described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; When the service of described suspension problem interactive controls is triggered, the technical scheme that the entry of described coupling is shown in the suspended window of mobile terminal, owing to showing with the form of suspended window with the entry of application form event matches, therefore can when operational applications form event, check the relative recording item in suspended window, and do not need to exit application form event, therefore greatly facilitate user's operation, saved time and efforts.
It should be noted that:
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the suspension problem interactive controls display device that is suitable for mobile terminal of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of suspension problem interactive controls display packing that is suitable for mobile terminal, wherein, the method comprises: start the service of suspension problem interactive controls; The application form event triggering in monitoring mobile terminal; Described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; When the service of described suspension problem interactive controls is triggered, the entry of described coupling is shown in the suspended window of mobile terminal.
A2, the method as described in A1, wherein the method further comprises: on described suspended window, show and hide control; When described hiding control is triggered, hides suspended window, and on the display interface of mobile terminal, show suspended window small icon; When described suspended window small icon is triggered, launch hiding suspended window.
A3, the method as described in A1 or A2, wherein, the method further comprises: when receiving the instruction of the viewing area except suspended window of clicking mobile terminal, hide suspended window, and on the display interface of mobile terminal, show suspended window small icon.
A4, the method as described in A1-A3 any one wherein, are describedly shown that the entry of described coupling comprise: start a service in Android system in the suspended window of mobile terminal; To described service, send and create suspended window message; Described service, after receiving establishment suspended window message, is added the suspended window view control of described entry in the Window Manger of Android system; To described service, send and upgrade suspended window message; Described service, after receiving renewal suspended window message, is upgraded the suspended window view control in Window Manger according to the data of upgrading in suspended window message.
A5, the method as described in A1-A4 any one, wherein, the method further comprises: to described service, send and close suspended window message; Described service is closed after suspended window message receiving, and removes suspended window view control in Window Manger.
A6, the method as described in A1-A5 any one, wherein, described described application form event is mated with the entry of storage in the service of described suspension interactive controls, the entry that obtains coupling comprises: when application form event that monitoring triggers in mobile terminal, automatically described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; Or, while receiving the problem query word relevant to described application form event from problem query word input interface, according to searching the entry corresponding with described application form event in the entry of described problem query word storage from described suspension interactive controls service.
This also discloses B7, a kind of suspension problem interactive controls display device that is suitable for mobile terminal, and wherein, this device comprises: start unit, is suitable for starting the service of suspension problem interactive controls; Monitoring means, is suitable for monitoring the application form event triggering in mobile terminal; Matching unit, is suitable for described application form event to mate with the entry of storage in described suspension interactive controls service, obtains the entry of coupling; Suspended window display unit, is suitable for, when the service of described suspension problem interactive controls is triggered, the entry of described coupling being shown in the suspended window of mobile terminal.
B8, the device as described in B7, wherein, described suspended window display unit, be further adapted for and on described suspended window, show hiding control, when described hiding control is triggered, hides suspended window, and on the display interface of mobile terminal, show suspended window small icon, and when described suspended window small icon is triggered, launch hiding suspended window.
B9, the device as described in B7 or B8, wherein, described suspended window display unit, is further adapted for when receiving the instruction of the viewing area except suspended window of clicking mobile terminal, hide suspended window, and on the display interface of mobile terminal, show suspended window small icon.
B10, the device as described in B7-B9 any one, wherein, described suspended window display unit, is suitable for starting a service in Android system, sends and creates suspended window message, and send and upgrade suspended window message to described service to described service; Wherein, described service, after receiving establishment suspended window message, is added the suspended window view control of described entry in the Window Manger of Android system; Described service, after receiving renewal suspended window message, is upgraded the suspended window view control in Window Manger according to the data of upgrading in suspended window message.
B11, the device as described in B7-B10 any one, wherein, described suspended window display unit, is further adapted for to described service and sends and close suspended window message; Wherein, described service is closed after suspended window message receiving, and removes suspended window view control in Window Manger; Described suspended window display unit, is further adapted for the described service of closing.
B12, the device as described in B7-B11 any one, wherein, described matching unit, be suitable for when described monitoring means monitors the application form event triggering in mobile terminal, automatically described application form event is mated with the entry of storage in described suspension interactive controls service, obtain the entry of coupling; Or, while being suitable for receiving the problem query word relevant to described application form event from problem query word input interface, according to searching the entry corresponding with described application form event in the entry of described problem query word storage from described suspension interactive controls service.