Embodiment
Embodiments provide a kind of method of Query Information, as shown in Figure 1, the method, by unlatching first application program, suspends and shows the hover button of described first application program; Open the second application program, show the display interface of described second application program; Click described hover button by user, show the query interface of described first application program; By the query interface of described first application program, obtain the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously.The display interface of two methods program shows simultaneously, do not disturb between the first application program simultaneously shown and the second application program, still corresponding operating can be carried out, for user provides service, specifically comprise: the first application program provides the service of Query Information for user, and be shown to user, solve user in time and run in use second application program the problem needing Query Information.As shown in Figure 1, the method comprises:
Steps A 1, opens the first application program, the hover button of described first application program of display that suspends;
Wherein, the first application program can be to provide the program of inquiry service usually, such as: translation application, or the application program of inquiry weather.Mainly be described in detail for translation application in follow-up citing, but the first application program is not limited to translation application.
Wherein, the unlatching of the first application program can be opened when starting up of terminal, also can be manually opened by user.After unlatching first application program, the first application program exists with the form of hover button, when user needs to use the first application program further, clicks this hover button and carries out relevant inquiring.Suspension display is herein appreciated that the mark as display in mobile phone or electricity, be presented at fixed position always, or, suspension display herein also can be understood as hiding display, as: the terminal of Android (Android) system, wherein, some application program opened is not display icon always, just when drop-down top, display application program is the state of opening, or display application program has message etc.
Steps A 2, opens the second application program, shows the display interface of described second application program;
It will be appreciated that, second application program can provide the App of news, the App of literature is provided to wait for, usually in the second application program, occur that user needs the word translated, or, have the content that user feels uncertain, therefore, user needs when not affecting use the second application program, is inquired about by first application program with query function.
Steps A 3, clicks described hover button by user, shows the query interface of described first application program;
Wherein, the pixel of the query interface of the first application program of display can improve, and is shown as high brightness, is user-friendly to.
The program of inquiry service is normally provided based on the first application program, therefore, the query interface of the first application program can be input frame, after user inputs information to be checked, information to be checked is inquired about by equipment, is shown to user's Query Result by the output interface of the first application program.
Steps A 4, by the query interface of described first application program, obtains the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously.
It will be appreciated that, in steps A 4, " display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously " two " show " simultaneously, can be understood as left and right, two interfaces split screen to show simultaneously, also can be understood as upper and lower split screen to show simultaneously, it is also understood that as: the query interface of the first application program or output interface are by the mode of transparent (or translucent), on the display interface being suspended in the second application program.By showing simultaneously, make user need not repeatedly switch application program, the service that two different application programs provide can be seen on one display simultaneously, convenient and swift.
Wherein, the output interface of the first application program, is specifically as follows: transperent suspension window, is suspended in the display interface of described second application program.
By the explanation of the above-mentioned method to a kind of Query Information shown in Fig. 1, the method, by unlatching first application program, suspends and shows the hover button of described first application program; Open the second application program, show the display interface of described second application program; Click described hover button by user, show the query interface of described first application program; By the query interface of described first application program, obtain the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously, user switch application program can be inquired about repeatedly, get Query Result more accurately.
Preferably, the query interface of the first application program, the specifically input frame of the first application program in the method for a kind of Query Information shown in above-mentioned Fig. 1;
The output interface of described first application program, is specially: transperent suspension window, is suspended in the display interface of described second application program.
Preferably, in the method shown in above-mentioned Fig. 1, after steps A 4, the method can also comprise:
Steps A 5, by described transperent suspension window, obtains the instruction checking details of user's input;
Steps A 6, according to the described instruction checking details, obtains the details of described Query Result, and by the details of Query Result described in the full frame interface display of described first application program.
Preferably, in the method shown in above-mentioned Fig. 1, after steps A 4, the method can also comprise:
Steps A 7, records the inquiry times of described information to be checked.
Preferably, based on the inquiry times of above-mentioned steps A7 record, when user uses this first application program to inquire about next time, the method can further include:
Steps A 8, described click described hover button by user after, before showing the query interface of described first application program, according to the inquiry times of described record, show the information of having inquired about according to number of times order from more to less.
Preferably, in the method shown in above-mentioned Fig. 1, the display interface of described second application program and the query interface of described first application program show simultaneously, specifically comprise:
The display interface of described second application program and the query interface of described first application program are: split screen shows up and down, or the display of left and right split screen, or the query interface of described first application program is suspended in the display interface of described second application program.
The embodiment of the present invention additionally provides a kind of method of Query Information, as shown in Figure 2, wherein, shown in Fig. 2, shown in method to Fig. 1, method is similar, and difference is, method shown in Fig. 2 is a kind of preferred specific implementation, in method shown in Fig. 2, the first application program can be specifically translation application, second application program is untranslated application program, can be specifically English read storehouse or other, information to be checked described in this embodiment is content to be translated.
As shown in Figure 2, the method specifically comprises:
Step B1, opens the first application program, the hover button of the described translation application of display that suspends;
Step B2, opens the second application program, shows the display interface of described untranslated application program;
It will be appreciated that, untranslated application program can provide the App of news, the App of literature is provided to wait for, usually in untranslated application program, occur that user needs the word translated, or, have the content that user feels uncertain, therefore, user needs, when not affecting use untranslated application program, to be inquired about by the translation application with query function.
Step B3, clicks described hover button by user, shows the query interface of described translation application;
Step B4, by the query interface of described translation application, obtains the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described translation application; Wherein, the display interface of described untranslated application program and the query interface of described translation application show simultaneously, or the display interface of described untranslated application program and the output interface of described translation application show simultaneously.
By the explanation of the above-mentioned method to a kind of Query Information shown in Fig. 2, the method, by opening translation application, suspends and shows the hover button of described translation application; Open untranslated application program, show the display interface of described untranslated application program; Click described hover button by user, show the query interface of described translation application; By the query interface of described translation application, obtain the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described translation application; Wherein, the display interface of described untranslated application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described untranslated application program and described first application program shows simultaneously, user switch application program can be inquired about repeatedly, get Query Result more accurately.
As shown in Figure 3, a kind of terminal, described terminal comprises: first opens unit 301, second opens unit 302, display unit 303, the first acquiring unit 304, query unit 305;
Described first opens unit 301, for opening the first application program;
Wherein, the first application program can be to provide the program of inquiry service usually, such as: translation application, or the application program of inquiry weather.Mainly be described in detail for translation application in follow-up citing, but the first application program is not limited to translation application.
Wherein, the unlatching of the first application program can be opened when starting up of terminal, also can be manually opened by user.After unlatching first application program, the first application program exists with the form of hover button, when user needs to use the first application program further, clicks this hover button and carries out relevant inquiring.Suspension display is herein appreciated that the mark as display in mobile phone or electricity, be presented at fixed position always, or, suspension display herein also can be understood as hiding display, as: the terminal of Android (Android) system, wherein, some application program opened is not display icon always, just when drop-down top, display application program is the state of opening, or display application program has message etc.
Described second opens unit 302, for opening the second application program;
It will be appreciated that, second application program can provide the App of news, the App of literature is provided to wait for, usually in the second application program, occur that user needs the word translated, or, have the content that user feels uncertain, therefore, user needs when not affecting use the second application program, is inquired about by first application program with query function.
Described first acquiring unit 304, for the query interface by described first application program, obtains the information to be checked of described user input;
Described query unit 305, for inquiring about acquisition Query Result;
Described display unit 303, for, the hover button of described first application program of display that suspends; Show the display interface of described second application program; Click described hover button by user, show the query interface of described first application program; Described Query Result is shown by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously.
It is to be understood that " display interface of described second application program and the query interface of described first application program show simultaneously; or the output interface of the display interface of described second application program and described first application program shows simultaneously " two " show " simultaneously, can be understood as left and right, two interfaces split screen to show simultaneously, also can be understood as upper and lower split screen to show simultaneously, it is also understood that as: the query interface of the first application program or output interface are by the mode of transparent (or translucent), on the display interface being suspended in the second application program.By showing simultaneously, make user need not repeatedly switch application program, the service that two different application programs provide can be seen on one display simultaneously, convenient and swift.
Wherein, the output interface of the first application program, is specifically as follows: transperent suspension window, is suspended in the display interface of described second application program.
By the above-mentioned explanation to a kind of terminal shown in Fig. 3, this terminal, by unlatching first application program, suspends and shows the hover button of described first application program; Open the second application program, show the display interface of described second application program; Click described hover button by user, show the query interface of described first application program; By the query interface of described first application program, obtain the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously, user switch application program can be inquired about repeatedly, get Query Result more accurately.
Preferably, in above-mentioned Fig. 3, the query interface of described first application program of described display unit display, the specifically input frame of the first application program;
The output interface of described first application program of described display unit display, is specially: transperent suspension window, is suspended in the display interface of described second application program.
Preferably, in above-mentioned Fig. 3, described terminal also comprises: second acquisition unit, the 3rd acquiring unit,
Described second acquisition unit, after showing described Query Result, by described transperent suspension window, obtains the instruction checking details of user's input for described display unit by the output interface of described first application program;
Described 3rd acquiring unit, for checking the instruction of details described in basis, obtains the details of described Query Result;
Described display unit, also for the details of Query Result described in the full frame interface display by described first application program.
Preferably, in above-mentioned Fig. 3, described terminal also comprises:
Record cell, after showing described Query Result, records the inquiry times of described information to be checked for the described output interface by described first application program.
Preferably, in above-mentioned Fig. 3, described display unit, also for after clicking described hover button by user, before showing the query interface of described first application program, according to the inquiry times of described record, show the information of having inquired about according to number of times order from more to less.
Preferably, in above-mentioned Fig. 3, the display interface of the second application program described in described display unit and the query interface of described first application program show simultaneously, specifically comprise:
The display interface of described second application program and the query interface of described first application program are: split screen shows up and down, or the display of left and right split screen, or the query interface of described first application program is suspended in the display interface of described second application program.
Preferably, in above-mentioned Fig. 3, described first application program is translation application, and described second application program is untranslated application program, and described information to be checked is content to be translated.
In above-mentioned Fig. 3, the detailed description of said terminal can the explanation of method in reference diagram 1,2, does not repeat herein.
As shown in Figure 4, the embodiment of the present invention also provides a kind of terminal, specifically:
This terminal can comprise processor 401, the storer 402 of one or more computer-readable recording mediums, the radio frequency (RadioFrequency that more than or processes core, RF) circuit 403, wireless communication module are as parts such as bluetooth module and/or Wireless Fidelity (WiFi, WirelessFidelity) module 404 etc. (for WIFI module 404 in Fig. 4), power supply 405, sensor 406, input block 407 and display units 408.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 4, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
Processor 401 is control centers of this terminal, utilize the various piece of various interface and the whole terminal of connection, software program in storer 402 and/or module is stored in by running or performing, and call the data be stored in storer 402, perform various function and the process data of terminal, thus integral monitoring is carried out to terminal.Optionally, processor 401 can comprise one or more process core; Preferably, processor 401 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 401.
Storer 402 can be used for storing software program and module, and processor 401 is stored in software program and the module of storer 402 by running, thus performs the application of various function and data processing.Storer 402 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data etc. created according to the use of terminal.In addition, storer 402 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 402 can also comprise Memory Controller, to provide the access of processor 401 pairs of storeies 402.
RF circuit 403 can be used in the process of receiving and sending messages, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to more than one or one processor 401 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 403 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, low noise amplifier (LNA, LowNoiseAmplifier), diplexer etc.In addition, RF circuit 403 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GSM, GlobalSystemofMobilecommunication), general packet radio service (GPRS, GeneralPacketRadioService), CDMA (CDMA, CodeDivisionMultipleAccess), Wideband Code Division Multiple Access (WCDMA) (WCDMA, WidebandCodeDivisionMultipleAccess), Long Term Evolution (LTE, LongTermEvolution), Email, Short Message Service (SMS, ShortMessagingService) etc.
WiFi belongs to short range wireless transmission technology, and terminal is sent and received e-mail by WiFi module 404 and accessed streaming video etc., and it can provide wireless broadband internet access.Although Fig. 4 shows WiFi module 404, be understandable that, it does not belong to must forming of terminal, can omit in the scope of essence not changing invention as required completely.
Terminal also comprises the power supply 405 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 401 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 405 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
This terminal also can comprise at least one sensor 406, such as optical sensor, motion sensor and other sensors.This terminal is other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
This terminal also can comprise input block 407, and this input block 407 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, in a specific embodiment, input block 407 can comprise Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 401, and the order that energy receiving processor 601 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface.Except Touch sensitive surface, input block 407 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
This terminal also can comprise display unit 408, this display unit 408 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 408 can comprise display panel, optionally, the form such as liquid crystal display (LCD, LiquidCrystalDisplay), Organic Light Emitting Diode (OLED, OrganicLight-EmittingDiode) can be adopted to configure display panel.Further, Touch sensitive surface can cover display panel, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 401 to determine the type of touch event, provide corresponding vision to export with preprocessor 401 on a display panel according to the type of touch event.Although in the diagram, Touch sensitive surface and display panel be as two independently parts realize inputting and input function, in certain embodiments, can by Touch sensitive surface and display panel integrated and realize input and output function.
Although not shown, terminal can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 401 in terminal can according to following instruction, executable file corresponding for the process of one or more application program is loaded in storer 402, and the application program be stored in storer 402 is run by processor 401, thus realize various function, as follows:
Open the first application program, notice display unit 408 suspends and shows the hover button of described first application program; Open the second application program, notice display unit 408 shows the display interface of described second application program; Click described hover button by user, notice display unit 408 shows the query interface of described first application program; By the query interface of described first application program, obtain the information to be checked of described user input; Inquiry obtains Query Result, and notifies that display unit 408 shows described Query Result by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously.
Preferably, the query interface of described first application program, the specifically input frame of the first application program;
The output interface of described first application program, is specially: transperent suspension window, is suspended in the display interface of described second application program.
Preferably, after described notice display unit 408 shows described Query Result by the output interface of described first application program, described processor 401 also for:
By described transperent suspension window, obtain the instruction checking details of user's input;
According to the described instruction checking details, obtain the details of described Query Result, and notice display unit 408 is by the details of Query Result described in the full frame interface display of described first application program.
Preferably, after described notice display unit 408 shows described Query Result by the output interface of described first application program, described processor 401 also for:
Record the inquiry times of described information to be checked.
Preferably, described click described hover button by user after, notice is before display unit 408 shows the query interface of described first application program, described processor 401 also for:
According to the inquiry times of described record, show the information of having inquired about according to number of times order from more to less.
Preferably, the display interface of described second application program and the query interface of described first application program show simultaneously, specifically comprise:
The display interface of described second application program and the query interface of described first application program are: split screen shows up and down, or the display of left and right split screen, or the query interface of described first application program is suspended in the display interface of described second application program.
Preferably, described first application program is translation application, and described second application program is untranslated application program, and described information to be checked is content to be translated.
By the above-mentioned explanation to a kind of terminal shown in Fig. 4, this terminal, by unlatching first application program, suspends and shows the hover button of described first application program; Open the second application program, show the display interface of described second application program; Click described hover button by user, show the query interface of described first application program; By the query interface of described first application program, obtain the information to be checked of described user input; Inquiry obtains Query Result, and shows described Query Result by the output interface of described first application program; Wherein, the display interface of described second application program and the query interface of described first application program show simultaneously, or the output interface of the display interface of described second application program and described first application program shows simultaneously, user switch application program can be inquired about repeatedly, get Query Result more accurately.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
Above a kind of map-indication method provided by the present invention and terminal are described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.