Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Example one
Referring to fig. 1, a flowchart of a handover method according to a first embodiment of the present invention is shown.
The switching method of the embodiment of the invention comprises the following steps:
step 101: target parameters generated in the historical operation process are collected.
The target parameters may include, but are not limited to: the system comprises a system font parameter, a theme parameter for indicating whether an online theme is started, the weekly usage frequency of each application program, a first preset number of application programs with the usage frequency ranked in the top, and the like. The specific setting of the target parameter can be set by a person skilled in the art according to actual requirements, and is not particularly limited in the embodiment of the present invention.
Step 102: and judging whether the second mode switching condition is met or not according to the target parameters.
The second mode may be an elderly people communication mode. In the specific implementation process, whether each target parameter meets the second mode switching condition can be respectively judged.
Step 103: and if so, switching from the first mode to the second mode.
And after the target parameters meet the second mode switching condition, switching to the second mode. The old man can operate the system more conveniently after switching to the second mode. In a specific implementation process, after determining that the target parameter meets a second mode switching condition, judging whether the mobile terminal starts a mode intelligent switching function, if not, outputting prompt information to prompt a user to switch to the second mode, and displaying a quick switching button, wherein the user can trigger the mobile terminal to switch from a current first mode to the second mode by clicking the quick switching button; if so, the first mode can be automatically switched to the second mode.
According to the switching method provided by the embodiment of the invention, the target parameters generated in the historical operation process are collected, whether the mobile terminal meets the second mode switching condition or not is judged according to the target parameters, and if the mobile terminal meets the second mode, such as the elderly people communication mode, the mobile terminal can be determined whether the mobile terminal user is the elderly people or not according to the historical operation of the user, so that the second mode is switched intelligently, the manual switching of the user is not needed, and the utilization rate of the elderly people communication mode in the mobile terminal can be improved.
Example two
Referring to fig. 2, a flowchart of a handover method according to a second embodiment of the present invention is shown.
The switching method of the embodiment of the invention comprises the following steps:
step 201: target parameters generated in the historical operation process are collected.
Wherein, the target parameter may include: the system comprises a system font parameter, a theme parameter for indicating whether an online theme is started, the weekly usage frequency of each application program, and a first preset number of application programs with the usage frequency ranked in the top. In the embodiments of the present invention, the target parameters include the specific parameters listed above as an example, and in the specific implementation process, the target parameters may include only one or some of the parameters listed above, or may include other parameters besides the specific parameters listed above. The specific setting of the target parameter can be set by a person skilled in the art according to actual requirements, and is not particularly limited in the embodiment of the present invention.
Step 202: and judging whether the second mode switching condition is met or not according to the target parameters.
The second mode is a system mode suitable for elderly people, such as an elderly people communication mode.
One way to determine whether the second mode switching condition is satisfied, preferably according to the target parameter, is as follows:
judging whether the system font parameters are matched with preset font parameters or not to obtain a first judgment result;
the preset font parameters can be set to be ultra-large fonts, because the postures of the old people are mostly adjusted to be the ultra-large fonts when the old people preview the display interface, whether the system fonts are the ultra-large fonts or not can be used as an important factor for judging whether the users are the old people or not.
Judging whether the theme parameters are matched with preset theme parameters or not to obtain a second judgment result;
the preset theme parameter is a theme reference for indicating that the online theme is not opened. The user can draw a personalized mobile terminal desktop by opening the online theme of the mobile terminal, and the old people cannot use the function, so that whether the user is the old people or not can be taken as another important factor by judging whether the online theme is opened or not.
Judging whether the total number of the application programs with the weekly frequency higher than the first frequency is smaller than the first number or not, and whether the total number of the application programs with the weekly frequency higher than the second frequency is smaller than the second number or not to obtain a third judgment result;
judging whether the coincidence rate of the application programs with the first preset number of application programs in the front of the application program in the use times sequence and the application programs contained in the application program desktop in the old man mode is higher than the preset coincidence rate or not to obtain a fourth judgment result; the preset coincidence rate can be set by a person skilled in the art according to actual requirements, for example: set to 50%, 60%, or 80%, etc.
And if the first judgment result, the second judgment result, the third judgment result and the fourth judgment result are all yes, determining that the second mode switching condition is met. And if at least one of the four judgment results is yes, determining that the second mode switching condition is not met.
It should be noted that, in the specific implementation process, if three of the first determination result, the second determination result, the third determination result, and the fourth determination result are yes, it is determined that the second mode switching condition is satisfied.
Step 203: and if so, switching from the first mode to the second mode.
And when the target parameter is determined to meet the second mode switching condition, the mobile terminal can automatically switch the system from the current first mode to the second mode and also can output second person mode switching prompt information, and the mobile terminal receives a response event to the prompt information and switches from the first mode to the second mode. According to the method for outputting the switching prompt information, the user selects whether to switch to the second mode according to actual requirements, and the problem that the user is inconvenient to operate when the user blindly switches to the second mode can be avoided.
Step 204: displaying icons corresponding to the application programs with the first preset number of the use times ranked in the front on an application program desktop.
The first preset number may be set by a person skilled in the art according to actual requirements, for example: set to 12, 9 or 6 etc. In the embodiment of the present invention, the first preset number is 12 as an example for explanation. As shown in fig. 3, when icons corresponding to a first preset number of applications are displayed, the icons are sorted according to the number of times of use, and then the order corresponding to the icon is displayed while the icon is displayed. Icons corresponding to the first preset number of application programs can be displayed on the same desktop or displayed in a desktop manner, icons corresponding to the 6 application programs which are sequenced in the front are displayed on the first desktop, and icons corresponding to the 6 application programs which are sequenced in the back are displayed on the second desktop. Fig. 3 illustrates an example in which icons corresponding to 12 applications are displayed simultaneously. Specifically, the icon located at Top1 is used the most among the icons participating in the ranking, and the icon located at Top12 is used the least among the images participating in the ranking. Furthermore, an "Icon all application" button, which is a button for triggering display of icons corresponding to all applications, and an "Icon addition" button, which is a button for adding icons corresponding to applications, are displayed on the application desktop.
After the mode is switched to the second mode, the display sequence of the application icons in the application desktop is changed adaptively, so that the old people can select the application programs, and through the application desktop display mode shown in fig. 3, the user can conveniently and rapidly search the icons corresponding to the common application programs without executing complicated interface switching search operation.
Step 205: and displaying the contact information of a second preset number which is ranked at the top by the number of clicks on the contact interface.
The target parameters in the embodiment of the present invention may further include: and the contact information with the second preset number is sorted at the top by the clicking times. The contact information may be a contact name and/or a communication number of the contact. The contact is a call contact, namely a contact establishing a call with a mobile terminal user in the historical use process.
The second preset number may be set by a person skilled in the art according to actual requirements, for example: set to 6, 8 or 10 etc. In the embodiment of the present invention, the second predetermined number is 8 as an example. As shown in fig. 4, when the second preset number of pieces of contact information are displayed, the clicked times of the pieces of contact information are sorted from high to low, and then the pieces of contact information are displayed according to the sorted times. Specifically, the number of clicks of the contact information located in Top1 is the largest among the contact information participating in the ranking, and the number of clicks of the contact information located in Top8 is the smallest among the contact information participating in the ranking.
After the mode is switched to the second mode, the display sequence of the contact information in the contact interface is also changed adaptively, so that the old can select the frequently-used contacts conveniently.
It should be noted thatstep 204 and step 205 are not executed in a sequential order.
According to the switching method provided by the embodiment of the invention, the target parameters generated in the historical operation process are collected, whether the mobile terminal meets the second mode switching condition is judged according to the target parameters, and if the mobile terminal meets the second mode, whether the mobile terminal user is an old man can be determined according to the historical operation of the user, so that the second mode such as the old man communication mode is intelligently switched, the manual switching of the user is not needed, and the utilization rate of the old man communication mode in the mobile terminal can be improved. In addition, the switching method provided by the embodiment of the invention adaptively changes the display of the application program desktop and the contact person interface after switching to the second mode, so that a user can conveniently select the application program and the contact person.
EXAMPLE III
Referring to fig. 5, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown. The mobile terminal can implement the details of the handover method in the foregoing embodiments and achieve the same effects.
The mobile terminal of the embodiment of the invention comprises: the acquisition module 301 is used for acquiring target parameters generated in the historical operation process; a determining module 302, configured to determine whether a second mode switching condition is met according to the target parameter; a switching module 303, configured to switch from a first mode to the second mode if the target parameter is satisfied, where the target parameter includes: the system comprises a system font parameter, a theme parameter for indicating whether an online theme is started, the weekly usage frequency of each application program and a first preset number of application programs with the usage frequency ranked in the top.
Preferably, the determining module 302 includes: the first judging submodule 3021 is configured to judge whether the system font parameter matches a preset font parameter, so as to obtain a first judgment result; the second judging submodule 3022 is configured to judge whether the theme parameter matches a preset theme parameter, so as to obtain a second judgment result; the third judging submodule 3023 is configured to judge whether the total number of the application programs whose weekly frequency is higher than the first frequency is smaller than the first number, and whether the total number of the application programs whose weekly frequency is higher than the second frequency is smaller than the second number, to obtain a third judgment result; a fourth judging submodule 3024, configured to judge whether a coincidence rate between the first preset number of application programs ranked in the previous number of used times and the application programs included in the application program desktop in the second mode is higher than a preset coincidence rate, so as to obtain a fourth judgment result; a determining submodule 3025, configured to determine that a second mode switching condition is satisfied if the first determination result, the second determination result, the third determination result, and the fourth determination result are all yes. The first judgment submodule, the second judgment submodule, the third judgment submodule and the fourth judgment submodule have no fixed execution sequence, and the four judgment submodules can be flexibly executed in sequence or in parallel.
Preferably, the mobile terminal further includes: a first display module 304, configured to display icons corresponding to a first preset number of applications with the top-ranked number of used times on an application desktop after the switching module 303 switches from the first mode to the second mode; wherein the target parameters further include: the contact information with the second preset number is sorted at the front by the clicking times; and a second display module 305, configured to display, on the contact interface, the contact information of a second preset number, which is sorted before the clicked number.
Preferably, the switching module 303 includes: the output submodule 3031 is used for outputting second mode switching prompt information if the second mode switching prompt information is met; and the receiving submodule 3032 is configured to receive a response event to the prompt message, and switch from the first mode to the second mode.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
According to the mobile terminal provided by the embodiment of the invention, the target parameters generated in the historical operation process are collected, whether the mobile terminal meets the second mode switching condition is judged according to the target parameters, and if the mobile terminal meets the second mode, whether the mobile terminal user is an old man can be determined according to the historical operation of the user, so that the second mode is switched intelligently, the user does not need to switch manually, and the utilization rate of the old man communication mode in the mobile terminal can be improved.
Example four
Referring to fig. 6, a hardware structure diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where themobile terminal 900 includes, but is not limited to: aradio frequency unit 901, anetwork module 902, anaudio output unit 903, aninput unit 904, asensor 905, adisplay unit 906, auser input unit 907, aninterface unit 908, amemory 909, aprocessor 910, and apower supply 911. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Aprocessor 910, configured to collect target parameters generated in a historical operation process; judging whether a second mode switching condition is met or not according to the target parameter; if yes, switching from a first mode to the second mode, wherein the target parameters comprise: the system comprises a system font parameter, a theme parameter for indicating whether an online theme is started, the weekly usage frequency of each application program and a first preset number of application programs with the usage frequency ranked in the top.
According to the mobile terminal provided by the embodiment of the invention, the target parameters generated in the historical operation process are collected, whether the mobile terminal meets the second mode switching condition is judged according to the target parameters, and if the mobile terminal meets the second mode, whether the mobile terminal user is an old man can be determined according to the historical operation of the user, so that the second mode is switched intelligently, the user does not need to switch manually, and the utilization rate of the old man communication mode in the mobile terminal can be improved.
It should be understood that, in the embodiment of the present invention, theradio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by theprocessor 910; in addition, the uplink data is transmitted to the base station. Generally, theradio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via thenetwork module 902, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
Theaudio output unit 903 may convert audio data received by theradio frequency unit 901 or thenetwork module 902 or stored in thememory 909 into an audio signal and output as sound. Also, theaudio output unit 903 may also provide audio output related to a specific function performed by the mobile terminal 900 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 904 is used to receive audio or video signals. Theinput Unit 904 may include a Graphics Processing Unit (GPU) 9041 and amicrophone 9042, and theGraphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on thedisplay unit 906. The image frames processed by thegraphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via theradio frequency unit 901 or thenetwork module 902. Themicrophone 9042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 901 in case of the phone call mode.
Themobile terminal 900 also includes at least onesensor 905, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of thedisplay panel 9061 according to the brightness of ambient light, and a proximity sensor that can turn off thedisplay panel 9061 and/or backlight when themobile terminal 900 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); thesensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
Thedisplay unit 906 is used to display information input by the user or information provided to the user. TheDisplay unit 906 may include aDisplay panel 9061, and theDisplay panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, theuser input unit 907 includes atouch panel 9071 andother input devices 9072. Thetouch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near thetouch panel 9071 using a finger, a stylus, or any other suitable object or accessory). Thetouch panel 9071 may include two parts, a touch detection device 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 910, receives a command from theprocessor 910, and executes the command. In addition, thetouch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Theuser input unit 907 may includeother input devices 9072 in addition to thetouch panel 9071. Specifically, theother input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
Further, thetouch panel 9071 may be overlaid on thedisplay panel 9061, and when thetouch panel 9071 detects a touch operation on or near thetouch panel 9071, the touch panel is transmitted to theprocessor 910 to determine the type of the touch event, and then theprocessor 910 provides a corresponding visual output on thedisplay panel 9061 according to the type of the touch event. Although in fig. 6, thetouch panel 9071 and thedisplay panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, thetouch panel 9071 and thedisplay panel 9061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
Theinterface unit 908 is an interface through which an external device is connected to themobile terminal 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Theinterface unit 908 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within themobile terminal 900 or may be used to transmit data between themobile terminal 900 and external devices.
Thememory 909 may be used to store software programs as well as various data. Thememory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
Theprocessor 910 is a control center of the mobile terminal, 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 executing software programs and/or modules stored in thememory 909 and calling data stored in thememory 909, thereby performing overall monitoring of the mobile terminal.Processor 910 may include one or more processing units; preferably, theprocessor 910 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated intoprocessor 910.
Themobile terminal 900 may also include a power supply 911 (e.g., a battery) for powering the various components, and preferably, thepower supply 911 is logically connected to theprocessor 910 through a power management system that provides power management functions to manage charging, discharging, and power consumption.
In addition, themobile terminal 900 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including aprocessor 910, amemory 909, and a computer program stored in thememory 909 and capable of running on theprocessor 910, where the computer program is executed by theprocessor 910 to implement each process of the foregoing switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.