Disclosure of Invention
An object of embodiments of the present invention is to provide a mobile terminal, a control method thereof, and a computer-readable storage medium, which can automatically adjust display parameters of a display interface according to a moving speed of the mobile terminal, thereby improving convenience of operation.
In order to solve the above technical problem, an embodiment of the present invention provides a method for controlling a mobile terminal, including: acquiring the moving speed of the mobile terminal; and adjusting the display parameters of the display interface of the mobile terminal according to the moving speed.
an embodiment of the present invention further provides a mobile terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the control method of the mobile terminal described above.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the control method of the mobile terminal described above.
Compared with the prior art, the embodiment of the invention can acquire the scene where the user is located by acquiring the moving speed of the mobile terminal, for example, when the speed is higher, the user may be running, riding and the like, when the moving speed is higher, the user may be driving, and the display parameters of the display interface of the mobile terminal are adjusted according to the moving speed, so that the display parameters of the display interface of the mobile terminal are automatically adjusted according to different scenes of the user, the current display interface is adapted to the current application scene of the user, the convenience of the user in operating the current display interface is improved, meanwhile, the inconvenience of manually adjusting the user interface is avoided, and the convenience of using the mobile terminal is further improved.
In addition, the adjusting the display parameters of the display interface of the mobile terminal according to the moving speed includes: and adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed. At least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal is adjusted according to the moving speed, namely, the APP icons which are frequently used at the current moving speed are displayed, so that a user can conveniently use the desired APP in different scenes; through quantity and size of adjusting APP icon under different moving speed, be favorable to the more accurate APP that the click of user gets into wanting to use.
In addition, the adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed includes: and after the mobile speed is judged to be larger than a first preset threshold value, increasing the APP icons and/or fonts in the display interface of the mobile terminal.
In addition, after determining that the moving speed is greater than the first preset threshold, the method further includes: and after judging that the moving speed is smaller than a second preset threshold value, detecting whether the mobile terminal is in an earphone mode, and reducing the volume of the mobile terminal after detecting that the mobile terminal is in the earphone mode. The method and the device have the advantages that whether the mobile terminal is in the earphone mode or not is detected after the moving speed is larger than a first preset threshold and smaller than a second preset threshold, the volume of the mobile terminal is reduced after the mobile terminal is detected to be in the earphone mode, the volume of the mobile terminal in the earphone mode is reduced in running, riding and other scenes, and the safety is improved.
In addition, the adjusting the type of the APP icon in the display interface of the mobile terminal according to the moving speed includes: after the mobile speed is judged to be larger than a first preset threshold value, the icon of the non-voice APP is hidden on the display interface of the mobile terminal. So set up, can be under scenes such as running, by bike, driving, avoid the user to use the emergence of the normal road conditions scheduling problem of observing that the non-pronunciation APP leads to, improve the security.
In addition, after determining that the moving speed is greater than the first preset threshold, the method further includes: and after the moving speed is judged to be smaller than a third preset threshold value, hiding the icon of the non-voice APP in a display interface of the mobile terminal.
In addition, before adjusting at least one of the type, the number, and the size of the APP icons in the display interface of the mobile terminal, the method further includes: outputting prompt information for prompting a user whether to adjust a display interface; and after obtaining confirmation information used for representing that the user agrees to adjust the display interface, adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed. By outputting prompt information for prompting a user whether to adjust the display interface and only after obtaining confirmation information for representing that the user agrees to adjust the display interface, adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed, the user can determine whether to adjust the APP icons in the display interface of the mobile terminal, and personalized requirements of the user are met.
In addition, the outputting prompt information for prompting the user whether to adjust the display interface includes: and displaying the prompt words or outputting voice prompt words on the display interface.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a method for controlling a mobile terminal, as shown in fig. 1, specifically including the steps of:
S11: and acquiring the moving speed of the mobile terminal.
In this step, the moving speed of the mobile terminal may be obtained and obtained by a speed sensor, an acceleration sensor, and the like built in the mobile terminal.
S12: and adjusting the display parameters of the display interface of the mobile terminal according to the moving speed.
In particular, different movement speeds characterize different application scenarios, e.g. a movement speed of less than 3m/s, characterizing that the user is walking or in a stationary scenario; the moving speed is more than 3m/s and less than 10m/s, and the running of the user is represented; the moving speed is more than 10m/s and less than 35m/s, which indicates that the user is riding the moped; the moving speed is larger than 35m/s, the fact that the user is driving the automobile is represented, the display parameters of the display interface of the mobile terminal are adjusted according to the moving speed, and the display parameters of the display interface are adjusted in a targeted mode under different scenes, so that the mobile terminal can be better adapted to different application scenes, and the safety of the user and the convenience degree of operation are guaranteed to the greatest extent.
In this step, at least one of the type, the number, and the size of the APP icons in the display interface of the mobile terminal can be adjusted according to the moving speed, for example, only the APP icons commonly used at the current moving speed are displayed, so that the user can conveniently use the desired APP in different scenes, and by increasing the number and the size of the APP icons when the moving speed is large, the user can more accurately click to enter the desired APP.
It can be understood that the user may also select a motion scene by himself, so as to adjust the display parameters of the display interface of the mobile terminal according to different motion scenes, and a specific manner of adjusting the display parameters of the display interface of the mobile terminal is similar to the foregoing, and is not described herein again.
compared with the prior art, the embodiment of the invention can acquire the scene where the user is located by acquiring the moving speed of the mobile terminal, for example, when the speed is higher, the user may be running, riding and the like, when the moving speed is higher, the user may be driving, and the display parameters of the display interface of the mobile terminal are adjusted according to the moving speed, so that the display parameters of the display interface of the mobile terminal are automatically adjusted according to different scenes of the user, the current display interface is adapted to the current application scene of the user, the convenience of the user in operating the current display interface is improved, meanwhile, the inconvenience of manually adjusting the user interface is avoided, and the convenience of using the mobile terminal is further improved.
a second embodiment of the present invention relates to a control method of a mobile terminal. The second embodiment is a further refinement of the first embodiment, and specifically describes a specific manner of adjusting different display parameters of the display interface of the mobile terminal when the moving speed is in different speed ranges, and the specific manner of adjusting the different display parameters. In addition, those skilled in the art can understand that the ending effect achieved by the present embodiment is similar to that achieved by the first embodiment, and is not described herein again.
As shown in fig. 2, the method for controlling a mobile terminal in this embodiment specifically includes the following steps:
S21: and acquiring the moving speed of the mobile terminal.
Step S21 in this embodiment is similar to step S11 in the first embodiment, and is not repeated here.
s22: and judging whether the moving speed is greater than a first preset threshold value, if so, executing the step S23, and if not, ending the process.
The first preset threshold may be set in a self-defined manner, for example, the first preset threshold may be set to be 3m/s, if the moving speed is greater than the first preset threshold, it indicates that the user is in a running state, a riding-assisted vehicle state, or a driving vehicle state, and if the moving speed is less than the first preset threshold, it indicates that the user is in a walking state or a still state.
It should be mentioned that after it is determined that the moving speed is greater than the first preset threshold, APP icons and/or fonts in the display interface of the mobile terminal may also be increased, where the moving speed is greater than the first preset threshold to represent that the user is in a motion scene such as running, riding a moped, driving an automobile, and the first preset threshold may be set by user, for example, the first preset threshold may be set to 3 m/s.
s23: and judging whether the moving speed is smaller than a second preset threshold value, if so, executing the step S24, and if not, executing the step S27.
the second preset threshold is greater than the first preset threshold, and the specific value of the second preset threshold may be set by user, for example, the second preset threshold may be set to 35m/s, if the moving speed is greater than the second preset threshold, it represents that the user is driving an automobile, and if the moving speed is greater than the first preset threshold and less than the second preset threshold, it represents that the user is in a running state or a riding state.
S24: and judging whether the moving speed is smaller than a third preset threshold value, if so, executing the step S25, and if not, executing the step S26.
The third preset threshold is smaller than the second preset threshold and larger than the first preset threshold, and the specific value of the third preset threshold may be set by user-defined, for example, the third preset threshold may be set to 10m/s, if the moving speed is greater than the first preset threshold and smaller than the third preset threshold, it represents that the user is in a running state, and if the moving speed is greater than the third preset threshold and smaller than the second preset threshold, it represents that the user is in a riding state.
S25: and hiding the non-voice APP icon on a display interface of the mobile terminal.
In this step, the moving speed is greater than the first preset threshold value and less than the third preset threshold value, for example, the moving speed is less than 10m/s and greater than 3m/s, the representation user is in the running state, because the mobile terminal shakes greatly under the running state, at this moment, the user generally only uses the APP of the voice type, when the user is in the running state, the icon of the non-voice APP is hidden on the display interface of the mobile terminal, thereby reducing the number of the APP icons, and facilitating the user to find the desired APP icon.
Of course, when the moving speed is less than the second preset threshold and greater than the third preset threshold (for example, the moving speed is 35m/s and greater than 10m/s), the icon of the non-voice APP may be hidden on the display interface of the mobile terminal, which may achieve similar technical effects, and is not described herein again. In addition, the non-voice APP icon can be hidden in the display interface of the mobile terminal in other motion states (running, riding a moped, driving a car, etc.), and the present invention is not limited herein.
S26: upon detecting that the mobile terminal is in the headset mode, the volume of the mobile terminal is reduced.
In this step, the moving speed is smaller than the second threshold and larger than a third preset threshold, for example, the moving speed is smaller than 35m/s and larger than 10m/s, which represents that the user is riding the moped, and since the external noise is larger and the speed is faster when the user rides the moped, the volume of the mobile terminal is reduced at this time, so that the user can hear the horn sounds of other vehicles more clearly, and the safety is improved.
It should be noted that, when the moving speed is greater than the first threshold, it may also be detected whether the mobile terminal is in the headset mode, and after detecting that the mobile terminal is in the headset mode, the volume of the mobile terminal may be reduced, that is, the volume of the mobile terminal in the headset mode may be reduced as long as the user is in a running state, a riding-assisted vehicle state, a driving-in-vehicle state, or other motion state. Or, when the moving speed is greater than the first threshold and less than the second preset threshold, detecting whether the mobile terminal is in the headset mode, and after detecting that the mobile terminal is in the headset mode, reducing the volume of the mobile terminal, that is, reducing the volume of the mobile terminal in the headset mode when the user is in the running state or the riding state, but also reducing the volume of the mobile terminal in the headset mode in other motion states (running, riding, driving a car, etc.), which is not limited herein.
S27: the method and the device reduce the types and the number of APP icons in a display interface of the mobile terminal.
Specifically, when the moving speed is greater than a second preset threshold, for example, the moving speed is greater than 35m/s, which indicates that the user is in a scene of driving a car, by reducing the types and the number of APP icons in the display interface of the mobile terminal (for example, only displaying software such as music, telephone, social software and the like for social communication or only using hearing), the user can find a desired APP icon conveniently. Of course, the types and the number of APP icons in the display interface of the mobile terminal can be reduced in other exercise states (running, riding a moped, driving a car, etc.), and specifically, which APP icons can be set according to needs can be reduced, which is not limited here.
It can be understood that, in the running, riding a moped, driving a car, or other sports state, operations such as "increasing APP icons and/or fonts in the display interface of the mobile terminal", "hiding non-voice APP icons in the display interface of the mobile terminal", "reducing the volume of the mobile terminal after detecting that the mobile terminal is in the earphone mode", "reducing the type and number of APP icons in the display interface of the mobile terminal" may be performed simultaneously, or only one or more of them may be performed, which is not limited herein.
compared with the prior art, the embodiment of the invention can acquire the scene where the user is located by acquiring the moving speed of the mobile terminal, for example, when the speed is higher, the user may be running, riding and the like, when the moving speed is higher, the user may be driving, and the display parameters of the display interface of the mobile terminal are adjusted according to the moving speed, so that the display parameters of the display interface of the mobile terminal are automatically adjusted according to different scenes of the user, the current display interface is adapted to the current application scene of the user, the convenience of the user in operating the current display interface is improved, meanwhile, the inconvenience of manually adjusting the user interface is avoided, and the convenience of using the mobile terminal is further improved.
a third embodiment of the present invention relates to a control method of a mobile terminal. The third embodiment is substantially the same as the first embodiment, and the main difference is that in this embodiment, before adjusting at least one of the type, number, and size of APP icons in the display interface of the mobile terminal, the method further includes: outputting prompt information for prompting a user whether to adjust a display interface; and after obtaining confirmation information used for representing that the user agrees to adjust the display interface, adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed. By outputting prompt information for prompting a user whether to adjust the display interface and only after obtaining confirmation information for representing that the user agrees to adjust the display interface, adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed, the user can determine whether to adjust the APP icons in the display interface of the mobile terminal, and personalized requirements of the user are met.
As shown in fig. 3, the method for controlling a mobile terminal in this embodiment specifically includes the following steps:
S31: and acquiring the moving speed of the mobile terminal.
In this step, the moving speed of the mobile terminal may be obtained and obtained by a speed sensor, an acceleration sensor, and the like built in the mobile terminal.
S32: and outputting prompt information for prompting the user whether to adjust the display interface.
Specifically, a prompt may be displayed or a voice prompt may be output on the display interface, for example, a voice prompt or a text prompt of "speed XX, whether to adjust display interface parameters (also may be whether to enter running mode, riding mode, driving mode, etc.)"? "is played.
S33: after the confirmation information used for representing that the user agrees to adjust the display interface is acquired, at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal is adjusted according to the moving speed.
Specifically, if the mobile terminal receives a positive command (which may be a voice command for sending or a command input by a user by pressing a key, a touch screen, or the like) such as "YES", or "ok", at least one of the type, the number, and the size of the APP icons in the display interface of the mobile terminal is adjusted according to the moving speed, where the specific adjustment manner is similar to that in the first embodiment and the second embodiment, and is not described herein again; if the mobile terminal receives negative commands such as ' NO ', ' don't need ' and the like (which can be voice commands for sending or commands input by pressing keys, a touch screen and the like by a user), the process is ended, and the APP icon in the display interface of the mobile terminal is not adjusted.
Optionally, after the prompt information is output, within a preset time, for example, within 30 seconds, no command is received (the foregoing "positive command" or "negative command"), and then at least one of the type, number, and size of the APP icons in the display interface of the mobile terminal is forcibly adjusted according to the moving speed, so as to improve the security.
of course, after the confirmation information indicating that the user agrees to adjust the display interface is obtained, other parameters of the mobile terminal may also be adjusted according to the moving speed, for example, the volume of the mobile terminal in the earphone mode, the size of the font in the display interface of the mobile terminal, and the like, which is not limited herein.
Compared with the prior art, the embodiment of the invention can acquire the moving speed of the mobile terminal, so that the scene where the user is located can be known, for example, when the speed is higher, the user can run, ride a bicycle and the like, when the moving speed is higher, the user can drive the bicycle, and the display parameters of the display interface of the mobile terminal are adjusted according to the moving speed, so that the display parameters of the display interface of the mobile terminal are automatically adjusted according to different scenes of the user, the current display interface is adaptive to the current application scene of the user, the convenience of the user in operating the current display interface is improved, meanwhile, the inconvenience of manually adjusting the user interface is avoided, and the convenience of using the mobile terminal is further improved; in addition, by outputting prompt information for prompting the user whether to adjust the display interface and only after obtaining confirmation information for representing that the user agrees to adjust the display interface, adjusting at least one of the type, the number and the size of the APP icons in the display interface of the mobile terminal according to the moving speed, the user can determine whether to adjust the APP icons in the display interface of the mobile terminal, and personalized requirements of the user are met.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fourth embodiment of the present invention relates to a mobile terminal, as shown in fig. 4, including:
At least one processor 401; and the number of the first and second groups,
a memory 402 communicatively coupled to the at least one processor 401; wherein the content of the first and second substances,
The memory 402 stores instructions executable by the at least one processor 401, the instructions being executed by the at least one processor 401 to enable the at least one processor 401 to perform the above-described control method of the mobile terminal.
Where the memory 402 and the processor 401 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 401 and the memory 402 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 401 may be transmitted over a wireless medium via an antenna, which may receive the data and transmit the data to the processor 401.
The processor 401 is responsible for managing the bus and general processing and may provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 402 may be used to store data used by processor 401 in performing operations.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.