Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
A display method of a mobile terminal includes: when a screen of a mobile terminal is lightened, acquiring current position information of the mobile terminal; searching an application program set corresponding to the current position information from a preset database; displaying icons of all the application programs in the application program set on a screen of the mobile terminal.
As shown in fig. 1, fig. 1 is a schematic flowchart of a display method of a mobile terminal provided in an embodiment of the present application, and a specific flow of the display method of the mobile terminal may be as follows:
101. when a screen of a mobile terminal is lighted, current position information of the mobile terminal is acquired.
In this embodiment, the fact that the screen of the mobile terminal is lighted means that the mobile terminal is changed from a screen-on state to a screen-on state, and the change of the state can be triggered by the operation of the user on the mobile terminal. The current position information of the mobile terminal refers to the relevant information of the current position of the mobile terminal, and the mobile terminal can acquire the current position information through a GPS or a communication network.
102. And searching an application program set corresponding to the current position information from a preset database.
In this embodiment, the database stores various location information and corresponding application sets thereof, where the location information and the corresponding application sets may be set by a user in advance, or may be set by the mobile terminal according to the usual usage habits of the user, for example, by setting the applications frequently used by the user at a certain specific location correspondingly.
Wherein the database comprises a location database and an application database. The location database stores various location information, the application program database stores various application program sets, and the various location information and the various application program sets establish a one-to-one association relationship, for example, the storage location of a certain location information in the location database is the same as the storage location of the corresponding application program set in the application program database.
Specifically,step 102 includes:
searching all position information containing the current position information from the position database;
and searching an application program set corresponding to all the position information from the application program database to obtain the application program set corresponding to the current position information.
It should be noted that the size of the location areas covered by the various location information in the location database is not limited, and the location areas covered by different location information may have an intersection, that is, different location information may cover the same location. The current location information of the mobile terminal is generally obtained by positioning the mobile terminal, that is, the location area covered by the current location information of the mobile terminal is generally smaller than or equal to the location area covered by various location information stored in the location database.
After the current position information of the mobile terminal is obtained, whether each piece of position information stored in the position database contains the current position information of the mobile terminal is detected in sequence, namely whether a position area covered by each piece of position information stored in the position database contains a position area covered by the current position information of the mobile terminal is detected in sequence, and if yes, the position information is obtained. All the location information including the current location information of the mobile terminal can be found from the location database through detection. And further, the application program set corresponding to the position information is searched from the application program database, namely the application program set corresponding to the current position information of the mobile terminal can be used.
Specifically, the searching for the application program set corresponding to all the location information from the application program database to obtain the application program set corresponding to the current location information specifically includes:
searching an application program set corresponding to each position information from the application program database;
and performing logic and operation on all the searched application program sets to obtain the application program set corresponding to the current position information.
It should be noted that different sets of applications in the application database may have an intersection, i.e. different sets of applications may have the same application. After all the position information corresponding to the current position information of the mobile terminal is found, acquiring a corresponding application program set from the application program database according to the corresponding relation between each position information in the position database and each application program set in the application program database, and performing logic and operation on all the acquired application program sets, wherein the operation result is the application program set corresponding to the current position information of the mobile terminal.
103. Displaying icons of all the application programs in the application program set on a screen of the mobile terminal.
In this embodiment, after the application set corresponding to the current location information of the mobile terminal is obtained, the application program that needs to be displayed at the current location of the mobile terminal can be known, and only the icon of the corresponding application program is displayed on the screen of the mobile terminal.
Therefore, according to the display method of the mobile terminal, when the screen of the mobile terminal is lightened, the corresponding application program set can be obtained according to the current position information of the mobile terminal so as to display the application programs in the application program set, all the application programs in the mobile terminal do not need to be displayed, waste of the display space of the mobile terminal is avoided, and efficiency of searching the application programs by a user is improved.
As shown in fig. 2, fig. 2 is another schematic flow chart of a display method of a mobile terminal provided in the embodiment of the present application, and the specific flow may be as follows:
201. and setting a position database and an application program database in the mobile terminal, and setting a corresponding relation between the position database and the application program database.
For example,step 201 includes:
receiving an operation instruction of a user, setting at least one piece of position information on a first setting menu of the mobile terminal according to the operation instruction, and setting an application program set corresponding to each piece of position information on a second setting menu of the mobile terminal;
storing the location information set on the first setting menu in the location database;
storing the set of applications set on the second setting menu in the application database.
It should be noted that the mobile terminal may provide a first setting menu for setting the location information, and the user may set N pieces of location information through the first setting menu, where if the storage locations of the N pieces of location information in the location database are location 1, location 2, …, and location N in sequence, N ≧ 1. Meanwhile, the mobile terminal may provide a second setting menu for setting the application sets, and the user may set the application set corresponding to each location information through the second setting menu, and the storage location of the application set in the application database corresponds to the storage location of the corresponding location information in the location database, for example, the location information stored in the location 1 in the location database corresponds to the application set stored in the location 1 in the application database.
Each piece of position information stored in the position database comprises information of a designated position or position information formed by logic relations of at least one designated position; each application program set stored in the application program database comprises a specified application program or a plurality of application programs formed by the logic relation of at least one specified application program; the logical relationship comprises at least one of OR, NOT, AND.
For example, a certain location information in the location database is: the position information is position information formed by two specified positions through a logical relation or a cloud airport; another location information in the location database is: the position information is composed of two designated positions which are firstly formed by logical relations and then are not formed by logical relations, and the position information represents all positions except the Baoan airport and the white cloud airport.
For example, a certain set of applications in the application database is: the application program set is two application programs formed by two appointed application programs through a logical relation; another set of applications in the application database is: the application program set is a plurality of application programs formed by first performing logical relationship rather than logical relationship and then performing logical relationship on two designated application programs, and represents all installed application programs except the micro-letter and the micro-blog.
202. When a screen of a mobile terminal is lighted, current position information of the mobile terminal is acquired.
For example, when a user moves to a baean airport with a mobile terminal, a screen of the mobile terminal is lighted, and the current position of the mobile terminal is acquired as the baean airport through positioning.
203. And searching an application program set corresponding to the current position information from a position database and an application program database.
For example, location 1 in the location database stores location information as: at baoan airport or a cloud airport, the position information stored at position 2 is: home, location 6 stores location information as: not at home. The set of applications stored in location 1 in the application database is: WeChat and Payment treasure, the application program set stored in the position 2 is as follows: non-WeChat, the set of applications stored at location 6 is: and (4) non-microblog.
When the current position information of the mobile terminal is a public security airport, the position information stored in the position 1 and the position 6 in the position database both comprise the public security airport, the application program set corresponding to the position 1 is acquired as a WeChat and Payment treasure, and the application program set corresponding to the position 6 is acquired as a non-microblog. Assuming that the installed applications in the mobile terminal include WeChat, microblog, Payment treasure, know, Youkou and Jingdong, the set of applications corresponding to location 6 is actually WeChat, Payment treasure, know, Youkou and Jingdong. Therefore, the logical and operation results of the two application program sets of the position 1 and the position 6 are WeChat, Pay Bao, Zhi, you Ku and Jingdong, that is, the application program set corresponding to the mobile terminal at the Baoan airport is WeChat and Pay Bao.
204. Displaying icons of all the application programs in the application program set on a screen of the mobile terminal.
For example, when the set of applications corresponding to the mobile terminal at the baoan airport is WeChat, Pay Bao, Zhi Zi and Jingdong, the applications displayed on the screen of the mobile terminal are WeChat, Pay Bao, Zhi Zi and Jingdong.
According to the display device of the mobile terminal, when the screen of the mobile terminal is lightened, the corresponding application program set can be obtained according to the current position information of the mobile terminal, so that the application programs in the application program set can be displayed, all the application programs in the mobile terminal do not need to be displayed, the waste of the display space of the mobile terminal is avoided, the display of the application programs is more humanized, the efficiency of searching the application programs by a user is improved, and the user experience is improved.
According to the method described in the above embodiments, the present embodiment will be further described from the perspective of a display device of a mobile terminal, which may be integrated in the mobile terminal, which may include a mobile phone, a tablet computer, and the like.
Referring to fig. 3, fig. 3 specifically describes a display device of a mobile terminal according to an embodiment of the present application, where the display device of the mobile terminal may include: the device comprises anacquisition module 10, asearch module 20 and adisplay module 30, wherein:
(1)acquisition module 10
The acquiringmodule 10 is configured to acquire current location information of the mobile terminal when a screen of the mobile terminal is lit.
In this embodiment, the fact that the screen of the mobile terminal is lighted means that the mobile terminal is changed from a screen-on state to a screen-on state, and the change of the state can be triggered by the operation of the user on the mobile terminal. The current position information of the mobile terminal refers to the relevant information of the current position of the mobile terminal, and the mobile terminal can acquire the current position information through a GPS or a communication network.
(2)Lookup module 20
And the searchingmodule 20 is configured to search an application set corresponding to the current location information from a preset database.
In this embodiment, the database stores various location information and corresponding application sets thereof, where the location information and the corresponding application sets may be set by a user in advance, or may be set by the mobile terminal according to the usual usage habits of the user, for example, by setting the applications frequently used by the user at a certain specific location correspondingly.
Wherein the database comprises a location database and an application database. The location database stores various location information, the application program database stores various application program sets, and the various location information and the various application program sets establish a one-to-one association relationship, for example, the storage location of a certain location information in the location database is the same as the storage location of the corresponding application program set in the application program database.
Specifically, the search module specifically includes:
the first searching unit is used for searching all the position information containing the current position information from the position database; and the number of the first and second groups,
and the second searching unit is used for searching the application program set corresponding to all the position information from the application program database so as to obtain the application program set corresponding to the current position information.
It should be noted that the size of the location areas covered by the various location information in the location database is not limited, and the location areas covered by different location information may have an intersection, that is, different location information may cover the same location. The current location information of the mobile terminal is generally obtained by positioning the mobile terminal, that is, the location area covered by the current location information of the mobile terminal is generally smaller than or equal to the location area covered by various location information stored in the location database.
After the current position information of the mobile terminal is obtained, whether each piece of position information stored in the position database contains the current position information of the mobile terminal is detected in sequence, namely whether a position area covered by each piece of position information stored in the position database contains a position area covered by the current position information of the mobile terminal is detected in sequence, and if yes, the position information is obtained. All the location information including the current location information of the mobile terminal can be found from the location database through detection. And further, the application program set corresponding to the position information is searched from the application program database, namely the application program set corresponding to the current position information of the mobile terminal can be used.
Further, the second lookup unit includes:
the searching subunit is used for searching the application program set corresponding to each piece of position information from the application program database; and the number of the first and second groups,
and the operation subunit is used for performing logic and operation on all the searched application program sets to obtain the application program set corresponding to the current position information.
It should be noted that different sets of applications in the application database may have an intersection, i.e. different sets of applications may have the same application. After all the position information corresponding to the current position information of the mobile terminal is found, acquiring a corresponding application program set from the application program database according to the corresponding relation between each position information in the position database and each application program set in the application program database, and performing logic and operation on all the acquired application program sets, wherein the operation result is the application program set corresponding to the current position information of the mobile terminal.
(3)Display module 30
Adisplay module 30, configured to display icons of all the applications in the application set on a screen of the mobile terminal.
In this embodiment, after the application set corresponding to the current location information of the mobile terminal is obtained, the application program that needs to be displayed at the current location of the mobile terminal can be known, and only the icon of the corresponding application program is displayed on the screen of the mobile terminal.
Further, the apparatus further comprises:
the setting module is used for receiving an operation instruction of a user, setting at least one piece of position information on a first setting menu of the mobile terminal according to the operation instruction, and setting an application program set corresponding to each piece of position information on a second setting menu of the mobile terminal;
the first storage module is used for storing the position information set on the first setting menu in the position database; and the number of the first and second groups,
and the second storage module is used for storing the application program set arranged on the second setting menu in the application program database.
According to the display device of the mobile terminal, when the screen of the mobile terminal is lightened, the corresponding application program set can be obtained according to the current position information of the mobile terminal, so that the application programs in the application program set can be displayed, all the application programs in the mobile terminal do not need to be displayed, the waste of the display space of the mobile terminal is avoided, the display of the application programs is more humanized, the efficiency of searching the application programs by a user is improved, and the user experience is improved.
In addition, the embodiment of the application further provides a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer and other devices. As shown in fig. 4, themobile terminal 400 includes aprocessor 401, amemory 402. Theprocessor 401 is electrically connected to thememory 402.
Theprocessor 401 is a control center of themobile terminal 400, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in thememory 402 and calling data stored in thememory 402, thereby integrally monitoring the mobile terminal.
In this embodiment, theprocessor 401 in the mobile terminal 400 loads instructions corresponding to processes of one or more application programs into thememory 402 according to the following steps, and theprocessor 401 runs the application programs stored in thememory 402, thereby implementing various functions:
when a screen of a mobile terminal is lightened, acquiring current position information of the mobile terminal;
searching an application program set corresponding to the current position information from a preset database;
displaying icons of all the application programs in the application program set on a screen of the mobile terminal.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. The mobile terminal 300 may include components such asRF circuitry 310,memory 320 including one or more computer-readable storage media,input unit 330,display unit 340,sensors 350,audio circuitry 360,speaker 361,microphone 362,transmission module 370, aprocessor 380 including one or more processing cores, and apower supply 390. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
TheRF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth.RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for micro), and other short message protocols for instant messaging, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
Thememory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and theprocessor 380 executes various functional applications and data processing by running the software programs and modules stored in thememory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. Thememory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, thememory 320 may further include memory located remotely from theprocessor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Theinput unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, theinput unit 330 may include a touch-sensitive surface 331 as well asother input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touchsensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 380, and can receive and execute commands sent by theprocessor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. Theinput unit 330 may compriseother input devices 332 in addition to the touchsensitive surface 331. In particular,other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Thedisplay unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. TheDisplay unit 340 may include aDisplay panel 341, and optionally, theDisplay panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 mayoverlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate toprocessor 380 to determine the type of touch event, andprocessor 380 then provides a corresponding visual output ondisplay panel 341 in accordance with the type of touch event. Although in FIG. 5, touch-sensitive surface 331 anddisplay panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 anddisplay panel 341 may be integrated for input and output functions.
The mobile terminal 300 may also include at least onesensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of thedisplay panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off thedisplay panel 341 and/or the backlight when the mobile terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and may be used for applications of recognizing gestures of a mobile phone (e.g., horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (e.g., pedometer, tapping), and the like, and as for the mobile terminal 300, other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like may be further configured, which are not described herein again.
Anaudio circuit 360, aspeaker 361, and amicrophone 362, themicrophone 362 providing an audio interface between a user and the mobile terminal 300. Theaudio circuit 360 may transmit the electrical signal converted from the received audio data to thespeaker 361, and the audio signal is converted by thespeaker 361 and output; on the other hand, themicrophone 362 converts the collected sound signal into an electrical signal, which is received by theaudio circuit 360 and converted into audio data, which is then processed by the audiodata output processor 380 and then transmitted to, for example, another terminal via theRF circuit 310, or the audio data is output to thememory 320 for further processing. Theaudio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.
The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 5 shows thetransmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.
Theprocessor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in thememory 320 and calling data stored in thememory 320, thereby integrally monitoring the mobile phone. Optionally,processor 380 may include one or more processing cores; in some embodiments,processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated intoprocessor 380.
The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to theprocessor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. Thepower supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when a screen of a mobile terminal is lightened, acquiring current position information of the mobile terminal;
searching an application program set corresponding to the current position information from a preset database;
displaying icons of all the application programs in the application program set on a screen of the mobile terminal.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the display methods of the mobile terminal provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the display methods of the mobile terminal provided in the embodiments of the present invention, the beneficial effects that can be achieved by any of the display methods of the mobile terminal provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.