The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State a kind of suspension problem control display methods and device suitable for mobile terminal of problem.
According to one aspect of the present invention, there is provided a kind of suspension problem interaction control display side suitable for mobile terminal
Method, wherein, this method includes:
Start suspension problem interaction control service;
The application form event triggered in monitoring mobile terminal;
The entry stored during the application form event and the suspension interactive controls are serviced is matched, and is obtained
The entry matched somebody with somebody;
When the suspension problem interaction control service is triggered, by the entry of the matching mobile terminal suspension
It is shown in window.
Alternatively, this method further comprises:
Shown on the suspended window and hide control;
When the hiding control is triggered, suspended window is hidden, and suspended window is shown on the display interface of mobile terminal
Small icon;
When the suspended window small icon is triggered, deploy the suspended window hidden.
Alternatively, this method further comprises:
When receiving the instruction for the viewing area in addition to suspended window for clicking on mobile terminal, suspended window is hidden, and moving
Suspended window small icon is shown on the display interface of dynamic terminal.
Alternatively, the entry by the matching be shown in the suspended window of mobile terminal including:
Start a service in Android system;
Sent to the service and create suspended window message;The service, will be described after establishment suspended window message is received
The suspended window view control of entry is added in the WindowManger of Android system;
Sent to the service and update suspended window message;The service is after renewal suspended window message is received, according to more
Data in new suspended window message update the suspended window view control in WindowManger.
Alternatively, this method further comprises:
Sent to the service and close suspended window message;It is described to service after closing suspended window message is received,
Suspended window view control is removed in WindowManger.
Alternatively, it is described to carry out the entry stored in the application form event and suspension interactive controls service
Matching, the entry matched includes:
When monitoring the application form event triggered in mobile terminal, the application form event is suspended with described automatically
The entry stored in interactive controls service is matched, the entry matched;
Or,
During the problem of receiving related to the application form event from problem query word input interface query word, according to institute
State lookup in the entry that problem query word is stored from suspension interactive controls service corresponding with the application form event
Entry.
According to another aspect of the present invention dress is shown there is provided a kind of suspension problem interaction control suitable for mobile terminal
Put, wherein, the device includes:
Start unit, suitable for starting suspension problem interaction control service;
Monitoring unit, suitable for the application form event triggered in monitoring mobile terminal;
Matching unit, the entry suitable for being stored during the application form event is serviced with the suspension interactive controls is entered
Row matching, the entry matched;
Suspended window display unit, suitable for when the suspension problem interaction control service is triggered, by the note of the matching
Record item is shown in the suspended window of mobile terminal.
Alternatively, the suspended window display unit, is further adapted for showing on the suspended window and hides control, when described
When hiding control is triggered, suspended window is hidden, and shows on the display interface of mobile terminal suspended window small icon, and in institute
When stating suspended window small icon and being triggered, deploy the suspended window hidden.
Alternatively, the suspended window display unit, be further adapted for receive click on mobile terminal in addition to suspended window
Viewing area instruction when, hide suspended window, and show on the display interface of mobile terminal suspended window small icon.
Alternatively, the suspended window display unit, suitable for starting a service in Android system, sends to the service
Suspended window message is created, and renewal suspended window message is sent to the service;
Wherein, the service adds the suspended window view control of the entry after establishment suspended window message is received
It is added in the WindowManger of Android system;The service is after renewal suspended window message is received, according to renewal suspended window
Data in message update the suspended window view control in WindowManger.
Alternatively, the suspended window display unit, is further adapted for sending to the service and closes suspended window message;Its
In, the service removes suspended window view control after closing suspended window message is received in WindowManger;
The suspended window display unit, is further adapted for closing the service.
Alternatively, the matching unit, suitable for monitoring the application form that is triggered in mobile terminal when the monitoring unit
During event, the entry stored during the application form event is serviced with the suspension interactive controls automatically is matched, and is obtained
To the entry of matching;Or, suitable for receiving ask related to the application form event from problem query word input interface
When inscribing query word, searched according to described problem query word in the entry that stores from suspension interactive controls service with it is described
Using the corresponding entry of form event.
Serviced according to this startup suspension problem interaction control of the present invention;The application form triggered in monitoring mobile terminal
Event;The entry stored during the application form event is serviced with the suspension interactive controls is matched, and is matched
Entry;When the suspension problem interaction control service is triggered, by the entry of the matching in the outstanding of mobile terminal
The technical scheme being shown in floating window, due to the entry with application form event matches is carried out into exhibition in the form of suspended window
Show, therefore the relative recording that can be checked in operation application form event in suspended window, apply form without exiting
Event, therefore the operation of user is greatly facilitated, save time and efforts.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Fig. 2 shows that a kind of suspension problem interaction control suitable for mobile terminal according to an embodiment of the invention is shown
The flow chart of method.As shown in figure 1, this method includes:
Step S210, starts suspension problem interaction control service.
The application form event triggered in step S220, monitoring mobile terminal.
Refer to some window applications in mobile terminal using form event in an embodiment of the present invention, such as play,
Application of a certain function of mobile phone etc. is set.
Step S230, the entry progress stored during the application form event and the suspension interactive controls are serviced
Match somebody with somebody, the entry matched.
In an embodiment of the present invention, it is previously stored with the note related to applying form event in the service of suspension interactive controls
Record item.For example there are the clearance strategy of various types of games, the various functions of mobile terminal that guide, various application form events be set
Use strategy etc..
In one embodiment of the invention, each entry for the application form event correlation being previously stored with is with picture and text
The form of class Webpage is present.
Step S240, when the suspension problem interaction control service is triggered, by the entry of the matching in movement
It is shown in the suspended window of terminal.
In one embodiment of the invention, a suspension control, example can be shown on the display interface of mobile terminal
Such as a suspension bead, or other shapes and the suspension small icon of pattern, user can be touched by clicking on the suspension control
Send out suspension problem interaction control service.
In method shown in Fig. 2, due to the entry with application form event matches being shown in the form of suspended window,
Therefore the relative recording that can be checked in operation application form event in suspended window, without exiting using form thing
Part, therefore the operation of user is greatly facilitated, save time and efforts.
For example, when user needs the image-text solution of according to Fig. 1 " the self-defined incoming ring tone of mobile phone " to set hand
During machine the tinkle of bells, the method according to Fig. 2 can be shown in the suspended window shown in Fig. 3.So as to solve image-text solution
Certainly scheme has many steps and user needs to exit application repeatedly when once can not all write down, opens solution and is looked into
The problem of seeing.
Fig. 3 shows the image-text solution of " the self-defined incoming ring tone of mobile phone " according to an embodiment of the invention
Suspended window displaying figure.Referring to Fig. 3, the image-text solution of " the self-defined incoming ring tone of mobile phone " is shown in suspension windows.This
Sample, when user is setting ringing sound of cell phone, directly triggers on the ringing sound of cell phone setting page and opens suspension as shown in Figure 3
Window, the content in suspended window carries out self-defined the tinkle of bells setting.
In one embodiment of the invention, the method shown in Fig. 2 further comprises:Show and hide on the suspended window
Control;When the hiding control is triggered, suspended window is hidden, and show on the display interface of mobile terminal the small figure of suspended window
Mark;When the suspended window small icon is triggered, deploy the suspended window hidden.Or, in an alternative embodiment of the invention
In, the method shown in Fig. 2 also includes:It is hidden when receiving the instruction for the viewing area in addition to suspended window for clicking on mobile terminal
Suspended window is hidden, and suspended window small icon is shown on the display interface of mobile terminal, when the suspended window small icon is triggered,
Again the suspended window hidden is deployed.
For example, with reference to Fig. 3, the "-" button control in the suspended window upper right corner is hiding control, the "×" number in the upper left corner
Button control is to close suspended window button control.When user clicks on "-" button control, suspended window is hidden, and in movement
Suspended window small icon is shown on the display interface of 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, mobile whole
On the display interface at end, the time(23:09)The circular small icon of lower right is suspended window small icon.If clicking on the suspended window
Small icon, then 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 by the application form event with
The entry stored in the suspension interactive controls service is matched, and the entry matched includes:When monitoring is mobile eventually
During the application form event triggered in end, stored in automatically servicing the application form event and the suspension interactive controls
Entry is matched, the entry matched;Or, received and the application form from problem query word input interface
During the problem of event is related query word, the entry stored according to described problem query word from suspension interactive controls service
It is middle to search entry corresponding with the application form event.
That is the triggering of the displaying of suspended window has two kinds of forms:A kind of regarded in the application triggered in mobile terminal is monitored
During window event, the entry of matching is actively found, and is pushed.Monitor that user starts certain trip in mobile phone for example, working as
Play, then backstage finds the strategy of making a breakthrough of the game automatically, and shows a suspension control on the interface of the game, works as user
When triggering the suspension control, the strategy of making a breakthrough found is illustrated in suspended window.Another is user in suspension interactive controls
Problem query word is inputted in the problem of service query word input interface, backstage is interacted according to described problem query word from described suspend
Lookup and corresponding entry in the entry stored in control service, and shown in suspended window.
In one embodiment of the invention, by the entry of the matching described in the step S240 of method shown in Fig. 2
Be shown in the suspended window of mobile terminal including:Start a service in Android system(Service);To the service
Send and create suspended window message;The service is after establishment suspended window message is received, by the suspended window view of the entry
Control is added in the WindowManger of Android system;Sent to the service and update suspended window message;The service is connecing
Receive after renewal suspended window message, regarded according to the data updated in suspended window message come the suspended window updated in WindowManger
Figure control.In one embodiment of the present of invention, the method shown in Fig. 2 also includes:Sent to the service and close suspended window message;
The service removes suspended window view control after closing suspended window message is received in WindowManger.Close described
Service.
Specifically, suspended window passes through Android in one embodiment of the invention(android)In Service carry out pipe
Reason.Start a Service first, then onStartService methods in Service are entered to different types of message
Row processing, mainly has establishment suspended window, updates suspended window, closes three kinds of message of suspended window.Suspended window message is created when receiving
When, suspended window view control is added in WindowManger;When receiving renewal suspended window message, then according to message data
To update the view control in suspended window;When receiving closing message, suspended window view control is removed in WindowManger
Part.Close Service.
Described suspended window is a kind of window in Android in an embodiment of the present invention, by WindowManger Lai
It is managed, operation can be interacted on any UI.WindowManager in Android is mainly used to manage window
Some states, attribute, view increases, deletion, renewal, window order, message collection and processing of mouth etc..
It can be obtained by way of Context.getSystemService (Context.WINDOW_SERVICE)
WindowManager example.
WindowManager is inherited from ViewManager, and the inside is related to three important methods of window management, respectively
It is:
*addView();
*update View Layout();
*remove View();
In Window Manager also have an important static class Layout Params. by it can set and
Obtain some attributes of current window.
Fig. 5 shows that a kind of suspension problem interaction control suitable for mobile terminal according to an embodiment of the invention is shown
The structure chart of device.As shown in figure 5, should include suitable for the suspension problem interaction control display device 500 of mobile terminal:
Start unit 501, suitable for starting suspension problem interaction control service;
Monitoring unit 502, suitable for the application form event triggered in monitoring mobile terminal;In an embodiment of the present invention should
Refer to some window applications in mobile terminal with form event, such as application play, a certain function of mobile phone being set etc..
Matching unit 503, suitable for the record stored in servicing the application form event and the suspension interactive controls
Item is matched, the entry matched;In an embodiment of the present invention, suspension interactive controls service in be previously stored with
Using the related entry of form event.For example there are the clearance strategy of various types of games, the setting of the various functions of mobile terminal to refer to
Use strategy of southern, various application form events etc..
Suspended window display unit 504, suitable for when the suspension problem interaction control service is triggered, by the matching
Entry is shown in the suspended window of mobile terminal.In one embodiment of the invention, can be in the aobvious of mobile terminal
Show one suspension control of display, such as one suspension bead, or other shapes and the suspension small icon of pattern, user on interface
Suspension problem interaction control service can be triggered by clicking on the suspension control.
Device shown in Fig. 5, due to the entry with application form event matches being shown in the form of suspended window,
Therefore the relative recording that can be checked in operation application form event in suspended window, without exiting using form thing
Part, therefore the operation of user is greatly facilitated, save time and efforts.
A kind of displaying of suspended window is as shown in Figure 3.
In one embodiment of the invention, the suspended window display unit 504, is further adapted on the suspended window
Control is hidden in display, when the hiding control is triggered, and hides suspended window, and shows outstanding on the display interface of mobile terminal
Floating window small icon, and when the suspended window small icon is triggered, deploy the suspended window hidden.
In one embodiment of the invention, the suspended window display unit 504, is further adapted for receiving click movement
During the instruction of the viewing area in addition to suspended window of terminal, suspended window is hidden, and shown on the display interface of mobile terminal
Suspended window small icon.A kind of example of suspended window small icon is as shown in Figure 4.
In one embodiment of the invention, the suspended window display unit 504, suitable for starting one in Android system
Service, sends establishment suspended window message, and send renewal suspended window message to the service to described service;
Wherein, the service adds the suspended window view control of the entry after establishment suspended window message is received
It is added in the Window Manger of Android system;The service is after renewal suspended window message is received, according to renewal suspended window
Data in message update the suspended window view control in Window Manger.
In one embodiment of the invention, the suspended window display unit 504, is further adapted for sending to the service
Close suspended window message;Wherein, the service is removed outstanding after closing suspended window message is received in Window Manger
Floating window view control;The suspended window display unit 504, is further adapted for closing the service.
In one embodiment of the invention, the matching unit 503, suitable for monitoring movement eventually when the monitoring unit
During the application form event triggered in end, stored in automatically servicing the application form event and the suspension interactive controls
Entry is matched, the entry matched;Or, suitable for being received and the application from problem query word input interface
During the problem of form event is related query word, the note stored according to described problem query word from suspension interactive controls service
Record and entry corresponding with the application form event is searched in item.
That is the triggering of the displaying of suspended window has two kinds of forms:A kind of regarded in the application triggered in mobile terminal is monitored
During window event, the entry of matching is actively found, and is pushed.Monitor that user starts certain trip in mobile phone for example, working as
Play, then find the strategy of making a breakthrough of the game automatically, and shows a suspension control on the interface of the game, when user's triggering
During the suspension control, the strategy of making a breakthrough found is illustrated in suspended window.Another is that user services in suspension interactive controls
The problem of query word input interface in input problem query word, serviced according to described problem query word from the suspension interactive controls
Lookup and corresponding entry in the entry of middle storage, and shown in suspended window.
In summary, serviced according to this startup suspension problem interaction control of the present invention;Monitor in mobile terminal and trigger
Application form event;The entry progress stored during the application form event and the suspension interactive controls are serviced
Match somebody with somebody, the entry matched;When the suspension problem interaction control service is triggered, the entry of the matching is being moved
The technical scheme being shown in the suspended window of dynamic terminal, due to by with the entry of application form event matches with suspended window
Form is shown, therefore the relative recording that can be checked in operation application form event in suspended window, without moving back
Go out to apply form event, therefore greatly facilitate the operation of user, save time and efforts.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
All as the separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requires, made a summary and accompanying drawing)Disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention
Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed
One of meaning mode can be used in any combination.
The present invention all parts embodiment can be realized with hardware, or with one or more processor run
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)To realize the suspension problem suitable for mobile terminal according to embodiments of the present invention
The some or all functions of some or all parts in interactive controls display device.The present invention is also implemented as being used for
Perform some or all equipment or program of device of method as described herein(For example, computer program and calculating
Machine program product).Such program for realizing the present invention can be stored on a computer-readable medium, or can have one
Or the form of multiple signals.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal,
Or provided in any other form.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and coming real by means of properly programmed computer
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses A1, a kind of suspension problem interaction control display method suitable for mobile terminal, wherein, this method
Including:Start suspension problem interaction control service;The application form event triggered in monitoring mobile terminal;By the application form
The entry that event is stored in being serviced with the suspension interactive controls is matched, the entry matched;Suspended when described
When problem interaction control service is triggered, the entry of the matching is shown in the suspended window of mobile terminal.
A2, the method as described in A1, wherein this method further comprise:Shown on the suspended window and hide control;When
When the hiding control is triggered, suspended window is hidden, and show on the display interface of mobile terminal suspended window small icon;Work as institute
When stating suspended window small icon and being triggered, deploy the suspended window hidden.
A3, the method as described in A1 or A2, wherein, this method further comprises:When receiving, removing for click mobile terminal is outstanding
During the instruction of the viewing area beyond floating window, suspended window is hidden, and show on the display interface of mobile terminal the small figure of suspended window
Mark.
A4, the method as described in any one of A1-A3, wherein, the entry by the matching is in the outstanding of mobile terminal
Be shown in floating window including:Start a service in Android system;Sent to the service and create suspended window message;It is described
The suspended window view control of the entry is added to Android system by service after establishment suspended window message is received
In Window Manger;Sent to the service and update suspended window message;The service is receiving renewal suspended window message
Afterwards, the suspended window view control in Window Manger is updated according to the data in suspended window message are updated.
A5, the method as described in any one of A1-A4, wherein, this method further comprises:Send to close to the service and hang
Floating window message;The service removes suspended window view control after closing suspended window message is received in Window Manger
Part.
A6, the method as described in any one of A1-A5, wherein, it is described to interact the application form event with the suspension
The entry stored in control service is matched, and the entry matched includes:Should when what is triggered in monitoring mobile terminal
During with form event, the entry progress stored in automatically servicing the application form event and the suspension interactive controls
Match somebody with somebody, the entry matched;Or, receive ask related to the application form event from problem query word input interface
When inscribing query word, searched according to described problem query word in the entry that stores from suspension interactive controls service with it is described
Using the corresponding entry of form event.
Originally B7, a kind of suspension problem interaction control display device suitable for mobile terminal are also disclosed, wherein, the device bag
Include:Start unit, suitable for starting suspension problem interaction control service;Monitoring unit, should suitable for what is triggered in monitoring mobile terminal
Use form event;Matching unit, suitable for the record stored in servicing the application form event and the suspension interactive controls
Item is matched, the entry matched;Suspended window display unit, suitable for being touched when the suspension problem interaction control service
During hair, the entry of the matching is shown in the suspended window of mobile terminal.
B8, the device as described in B7, wherein, the suspended window display unit is further adapted for showing on the suspended window
Show hiding control, when the hiding control is triggered, hide suspended window, and show on the display interface of mobile terminal suspension
Window small icon, and when the suspended window small icon is triggered, deploy the suspended window hidden.
B9, the device as described in B7 or B8, wherein, the suspended window display unit is further adapted for receiving click shifting
During the instruction of the viewing area in addition to suspended window of dynamic terminal, suspended window is hidden, and show on the display interface of mobile terminal
Show suspended window small icon.
B10, the device as described in any one of B7-B9, wherein, the suspended window display unit, suitable for starting Android system
In one service, to it is described service send create suspended window message, and to it is described service send update suspended window message;Its
In, the suspended window view control of the entry is added to Android system by the service after establishment suspended window message is received
In the Window Manger of system;The service is after renewal suspended window message is received, according to the number updated in suspended window message
According to updating the suspended window view control in Window Manger.
B11, the device as described in any one of B7-B10, wherein, the suspended window display unit is further adapted for described
Service, which is sent, closes suspended window message;Wherein, the service is after closing suspended window message is received, in Window Manger
Middle removal suspended window view control;The suspended window display unit, is further adapted for closing the service.
B12, the device as described in any one of B7-B11, wherein, the matching unit, suitable for when monitoring unit monitoring
During the application form event triggered into mobile terminal, the application form event and the suspension interactive controls are serviced automatically
The entry of middle storage is matched, the entry matched;Or, suitable for from problem query word input interface receive with
During the problem of application form event is related query word, according to described problem query word from suspension interactive controls service
Entry corresponding with the application form event is searched in the entry of storage.