Interface control method, intelligent terminal and computer readable storage medium
By monitoring click events and adjusting the interface, the key event response of the straight-board key press machine is simulated, which solves the problem that the smartphone interface is difficult to adapt to the habits of the elderly, and realizes convenient operation mode conversion, improving the user experience of the elderly.
Patent Information
- Application Number
- CN202011568915.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-12-25
AI Technical Summary
The existing smartphone interface is difficult to adapt to the habits of the elderly, especially when switching from a straight-board key press to a smartphone, the operation method is inconvenient. The existing improvements only make adjustments to the display content and do not solve the fundamental problem.
Provide an interface control method, by monitoring click events, determining the click object and adjusting the display screen interface, simulating the key event response of the straight board key machine, including shortcut keys, menu keys and notification keys, replacing the original navigation bar, realizing the straight board keys similar operation modes.
It improves the convenience of switching from a straight-board key press to a smartphone, makes the operation method closer to the straight-board key press, satisfies users' usage habits, and enhances the user experience of the elderly.
Smart Images

Figure CN112685112B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent terminals, and in particular to an interface control method, an intelligent terminal and a computer-readable storage medium. Background Art
[0002] With the popularity of smart phones, the role of smart phones in people's lives is becoming more and more important. For example, the dissemination of a lot of information and fast services are all based on smart phones. However, there is a huge difference in the button configuration between smart phones and the original straight-bar keypad phones, also known as feature phones and elderly phones. The current buttons of smart phones mainly include physical buttons and virtual buttons. Virtual buttons generally correspond to a fixed program, and physical buttons correspond to the main interface, exit and cleanup functions.
[0003] There are also smartphones on the market that address the problem that the elderly are not used to the existing smartphone interface. The main features are enlarged fonts, huge software thumbnails, etc. However, these methods only improve the display content, and the operation still uses the current smartphone operation method, which does not fundamentally solve the problem that the elderly are not used to using smartphones. In the current Android native system, the bottom navigation bar of the display interface was originally designed for touch-screen smartphones and cannot correspond to the buttons and interface of straight-screen keypad phones. Summary of the invention
[0004] The main purpose of the present invention is to provide an interface control method, an intelligent terminal and a computer-readable storage medium, aiming to solve the above-mentioned problems.
[0005] To achieve the above object, the present invention provides an interface control method, which comprises the following steps:
[0006] Monitor events on the current display screen;
[0007] When a click event is monitored, determining a click object corresponding to the click event, wherein the click object includes a menu bar, the menu bar includes shortcut keys, a menu key and a notification key, and the menu bar is located at the position of the navigation bar of the display screen;
[0008] According to the click object, the display interface of the display screen is adjusted to generate a response result corresponding to the click event.
[0009] Optionally, in the interface control method, the display screen includes a shortcut icon corresponding to the shortcut key, a menu icon corresponding to the menu key, and a notification icon corresponding to the notification key.
[0010] Optionally, the interface control method, wherein the step of adjusting the display interface of the display screen according to the click object to generate a response result corresponding to the click event, specifically includes:
[0011] When the click object is the shortcut key, switching the display interface to a preset shortcut interface to generate a first response result;
[0012] When the click object is the menu key, the display interface is switched to a preset menu interface, and a second response result is generated;
[0013] When the click object is the notification button, the display interface is switched to a preset notification interface, and a third response result is generated.
[0014] Optionally, in the interface control method, the first response result is the same as the response result of the right shortcut key in the hard keyboard of the straight keypad to the key event, and the first response result is the response result of the shortcut key to the click event;
[0015] The second response result is the same as the response result of the middle key in the hard keyboard of the straight keypad to the key event, and the second response result is the response result of the menu key to the click event;
[0016] The third response result is the same as the response result of the left shortcut in the hard keyboard of the straight keypad machine to the key event, and the third response result is the response result of the notification key to the click event.
[0017] Optionally, in the interface control method, wherein the click object includes an input box; and adjusting the display interface of the display screen according to the click object to generate a response result corresponding to the click event specifically includes:
[0018] When the click object is an input box, the display interface is controlled to pop up a keyboard interface, and a response result corresponding to the click event is generated, wherein the keyboard interface is located above or below the menu bar.
[0019] Optionally, in the interface control method, the menu bar further includes an input selection key and an input type selection list, and the input selection key includes an input type display key, an input type hide key and an input type update key.
[0020] Optionally, the interface control method, wherein the step of adjusting the display interface of the display screen according to the click object, specifically includes:
[0021] When the click object is the input type display key, controlling the display screen to display the input type display list;
[0022] When the click object is the input type hidden key, controlling the display screen to hide the input type display list;
[0023] When the click object is the input type update key, the display screen is controlled to switch to a preset input type update interface.
[0024] Optionally, in the interface control method, the shortcut interface includes an optional menu, the optional menu includes a preset application list, and the click object includes an application label in the application list; and adjusting the display interface of the display screen according to the click object specifically includes:
[0025] When the display interface is the shortcut interface, the display interface is switched to the application interface corresponding to the application tag according to the application tag corresponding to the click object.
[0026] In addition, to achieve the above-mentioned purpose, the present invention also provides a smart terminal, wherein the smart terminal includes: a memory, a processor, and an interface control program stored in the memory and executable on the processor, and when the interface control program is executed by the processor, the steps of the interface control method described above are implemented.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an interface control program, and when the interface control program is executed by a processor, the steps of the interface control method described above are implemented.
[0028] The present embodiment provides an interface control method, a smart terminal and a computer-readable storage medium, wherein the original navigation bar in the display screen is replaced by a menu bar, and the menu bar includes three buttons: a shortcut key, a menu key and a notification key, and these three buttons correspond to the right shortcut key, the middle key and the left shortcut key in the straight-bar keypad machine, respectively. When the user clicks on these three virtual buttons, the operations corresponding to the right shortcut key, the middle key and the left shortcut key are respectively executed, and the subsequent business processing flow is executed to improve the convenience of switching from the straight-bar keypad machine to the smart phone, and make the operation method closer to the straight-bar keypad machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a flow chart of a preferred embodiment of the interface control method provided by the present invention;
[0030] Figure 2 is a schematic diagram of a menu bar in a preferred embodiment of the interface control method of the present invention;
[0031] Figure 3It is a framework design flow chart of a preferred embodiment of the interface control method provided by the present invention;
[0032] Figure 4 It is a schematic diagram of a hard keyboard of a straight-bar keypad provided by the interface control method of the present invention;
[0033] Figure 5 Schematic diagram of the operating environment of a preferred embodiment of the intelligent terminal of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0035] The interface control method described in the preferred embodiment of the present invention can be executed by a smart terminal. This embodiment takes a smart phone as an example to describe the interface control process. Figure 1 The interface control method comprises the following steps:
[0036] Step S100, monitoring events on the current display screen.
[0037] Specifically, addEventListener() and other monitoring methods are used to monitor the current display screen of the smart terminal, so as to obtain the event to be monitored. Since users are used to pressing keys when using a straight-bar keypad, which is converted to clicking on a smart phone, in this embodiment, the event type to be monitored is a click event.
[0038] Step S200, when a click event is monitored, determine the click object corresponding to the click event, wherein the click object includes a menu bar, the menu bar includes shortcut keys, menu keys and notification keys, and the menu bar is located at the position of the navigation bar of the display screen.
[0039] Specifically, when a click event is monitored, it means that the user is currently clicking on the screen of the smart terminal. If the object clicked by the user is an icon of an application on the display screen, the corresponding application is directly awakened; if the object clicked by the user is a menu bar on the display screen, the corresponding operation is performed.
[0040] The click object corresponding to the click event can be determined based on the click coordinates corresponding to the click event. When monitoring the click event, the click coordinates on the display screen corresponding to the click event are obtained, and then the click object corresponding to the click event is determined based on the click coordinates on the display screen and the application coordinates corresponding to each application and the menu bar on the display screen.
[0041] In this embodiment, the display screen includes a menu bar, which includes shortcut keys, menu keys and notification keys. The menu bar is located at the position of the navigation bar of the display screen to replace the original navigation bar. The display screen includes a shortcut mark corresponding to the shortcut key, a menu mark corresponding to the menu key and a notification mark corresponding to the notification key. The notification mark can be in the form of a pattern or in the form of a Figure 2 The text form shown, wherein the virtual key corresponding to the text Notification is the notification key, the virtual key corresponding to the text Menu is the menu key, and the virtual key corresponding to the text Shortcuts is the shortcut key.
[0042] In order to realize the menu bar's response to click events, the current display screen's framework is modified and redefined, and the framework definition includes framework design and interface definition. Ensure that the bottom menu bar can be displayed on any application's interface.
[0043] like Figure 3 As shown, the framework (Framework) of the interface control program is predefined. The framework design preferably adopted in this embodiment includes four layers. The first layer is the user interface (User Interface) of the application (Application, App). The second layer is to implement different operations for the user through the Activity mechanism and Dialog mechanism that comes with the Android system, and control the menu bar program to perform certain operations. The third layer is the menu bar initialization layer, which initializes the menu bar through the contentView class in the Android system, and can implement operations such as obtaining, adding, and removing the menu bar. The fourth layer is the menu bar program. The menu bar program contains multiple calling interfaces. These calling interfaces are mainly used to set the screen displayed when executing the monitored click event. As shown in the following table (interface description table), through the interface of the menu bar (Menu Bar), the response results of the menu bar to each virtual button can be set. In addition, these calling interfaces can also be used to set the display effect of each virtual button. In this embodiment, the virtual buttons of the menu bar are set to imitate the button mode of a straight-bar key machine, such as Figure 4 As shown, the traditional straight-bar keypad includes a left soft key (LSF), a right soft key (RSF), a call key, an end key, a D-pad, a center soft key (CSK), and up, down, left, and right keys.
[0044]
[0045]
[0046]
[0047] Step S300: adjusting the display interface of the display screen according to the click object, and generating a response result corresponding to the click event.
[0048] Specifically, after determining the click object, the corresponding operation is performed to adjust the display interface of the display screen and generate different response results. The response result is the interface style, interface content, etc. displayed after the display interface is switched. For example, if the click object is application A, application A is awakened, and the display interface is switched to the display interface of application A, then the interface and response result of application A are displayed.
[0049] When the click object is the shortcut key, the display interface is switched to a preset shortcut interface to generate a first response result. The first response result is the same as the response result of the right shortcut key in the hard keyboard of a straight key machine to the key event, and the first response result is the response result of the shortcut key to the click event.
[0050] The shortcut interface includes an optional menu, the optional menu includes a preset application list, and the click object includes an application label in the application list. The application list can be presented in a list view or in a grid view. When the display interface is the shortcut interface, according to the application label corresponding to the click object, the display interface is switched to the application interface corresponding to the application label.
[0051] When the click object is the menu key, the display interface is switched to a preset menu interface, and a second response result is generated. The second response result is the same as the response result of the middle key in the hard keyboard of the straight-line key machine to the key event. The second response result is the response result of the menu key to the click event.
[0052] When the click object is the notification key, the display interface is switched to a preset notification interface, and a third response result is generated. The third response result is the same as the response result of the left shortcut in the hard keyboard of the straight-bar key machine to the key event. The third response result is the response result of the notification key to the click event.
[0053] Therefore, in this embodiment, when the clicked object is the menu bar, the corresponding virtual key is used to execute the same response result as that of the key in the bar key set. That is, the shortcut key in the smart terminal is equivalent to the right shortcut key in the bar key machine, the menu key is equivalent to the middle key in the duty key machine, and the notification key is equivalent to the left shortcut key in the bar key machine. And the subsequent business processing flow of the response is carried out. Through the corresponding relationship with the hard keyboard in the bar key machine, the smart terminal conforms to the interface style and usage habits of the bar key machine to meet the user's adaptation of the usage mode when switching between the bar key machine and the smart phone.
[0054] Furthermore, in addition to the navigation bar and the application, the display screen may also include a virtual keyboard. Therefore, the click object includes an input box. When the click object is an input box, the display interface is controlled to pop up a keyboard interface, and a response result corresponding to the click event is generated, that is, the response result is a display interface including the interface. The keyboard interface is located above or below the menu bar.
[0055] Furthermore, in this embodiment, the menu bar interface includes an input selection key and an input type selection list related interface. When the keyboard interface is displayed, the menu bar includes an input selection key and an input type selection list, and the input selection key includes an input type display key, an input type hiding key, and an input type update key. The input selection key is used to display, hide, and update the input type selection list, and the input type selection list is used to display selectable input types, such as Wubi, Pinyin, Jiugongge, Chinese, English, etc.
[0056] Therefore, when the click object is the input type display key, the display screen is controlled to display the input type display list; when the click object is the input type hiding key, the display screen is controlled to hide the input type display list. When the click object is the input type update key, it means that the current input type selection list does not contain the input method required by the user, so the display screen is controlled to switch to the preset input type update interface for the user to add the input method he wants.
[0057] Furthermore, if Figure 5 Based on the above interface control method, the present invention also provides a smart terminal, which includes a processor 10, a memory 20 and a display 30. Figure 5 Only some components of the smart terminal are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
[0058] In some embodiments, the memory 20 may be an internal storage unit of the smart terminal, such as a hard disk or memory of the smart terminal. In other embodiments, the memory 20 may also be an external storage device of the smart terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the smart terminal. Further, the memory 20 may also include both an internal storage unit of the smart terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the smart terminal, such as the program code of the installed smart terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, an interface control program 40 is stored on the memory 20, and the interface control program 40 can be executed by the processor 10, thereby realizing the interface control method in the present application.
[0059] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the interface control method.
[0060] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the smart terminal and to display a visual user interface. The components 10-30 of the smart terminal communicate with each other via a system bus.
[0061] In one embodiment, when the processor 10 executes the interface control program 40 in the memory 20, the following steps are implemented:
[0062] Monitor events on the current display screen;
[0063] When a click event is monitored, determining a click object corresponding to the click event, wherein the click object includes a menu bar, the menu bar includes shortcut keys, a menu key and a notification key, and the menu bar is located at the position of the navigation bar of the display screen;
[0064] According to the click object, the display interface of the display screen is adjusted to generate a response result corresponding to the click event.
[0065] The display screen includes a shortcut mark corresponding to the shortcut key, a menu mark corresponding to the menu key, and a notification mark corresponding to the notification key.
[0066] The step of adjusting the display interface of the display screen according to the click object to generate a response result corresponding to the click event specifically includes:
[0067] When the click object is the shortcut key, switching the display interface to a preset shortcut interface to generate a first response result;
[0068] When the click object is the menu key, the display interface is switched to a preset menu interface, and a second response result is generated;
[0069] When the click object is the notification button, the display interface is switched to a preset notification interface, and a third response result is generated.
[0070] The first response result is the same as the response result of the right shortcut key in the hard keyboard of the straight keypad to the key event, and the first response result is the response result of the shortcut key to the click event;
[0071] The second response result is the same as the response result of the middle key in the hard keyboard of the straight keypad to the key event, and the second response result is the response result of the menu key to the click event;
[0072] The third response result is the same as the response result of the left shortcut in the hard keyboard of the straight keypad machine to the key event, and the third response result is the response result of the notification key to the click event.
[0073] The click object includes an input box; and adjusting the display interface of the display screen according to the click object to generate a response result corresponding to the click event specifically includes:
[0074] When the click object is an input box, the display interface is controlled to pop up a keyboard interface, and a response result corresponding to the click event is generated, wherein the keyboard interface is located above or below the menu bar.
[0075] Wherein, the menu bar further includes an input selection key and an input type selection list, and the input selection key includes an input type display key, an input type hiding key and an input type update key.
[0076] The adjusting the display interface of the display screen according to the click object specifically includes:
[0077] When the click object is the input type display key, controlling the display screen to display the input type display list;
[0078] When the click object is the input type hidden key, controlling the display screen to hide the input type display list;
[0079] When the click object is the input type update key, the display screen is controlled to switch to a preset input type update interface.
[0080] The shortcut interface includes an optional menu, the optional menu includes a preset application list, and the click object includes an application label in the application list; and adjusting the display interface of the display screen according to the click object specifically includes:
[0081] When the display interface is the shortcut interface, the display interface is switched to the application interface corresponding to the application tag according to the application tag corresponding to the click object.
[0082] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an interface control program, and when the interface control program is executed by a processor, the steps of the interface control method described above are implemented.
[0083] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0084] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. An interface control method, characterized in that: The interface control method comprises: Monitor events on the current display screen; When a click event is monitored, determining a click object corresponding to the click event, wherein the click object includes a menu bar, the menu bar includes shortcut keys, a menu key and a notification key, and the menu bar is located at the position of the navigation bar of the display screen; Modify and redefine the frame of the display screen, the frame definition including frame design and interface definition, so that the bottom menu bar is displayed on the interface of any application; The fourth layer of the framework is a menu bar program, which includes a plurality of calling interfaces, through which the screen displayed when a click event is monitored, and the response result of each virtual key is set through the interface of the menu bar; The calling interface is also used to set the display effect of each virtual key; According to the click object, the display interface of the display screen is adjusted to generate a response result corresponding to the click event; The adjusting the display interface of the display screen according to the click object specifically includes: When the click object is an input type display key, controlling the display screen to display the input type display list; When the click object is an input type hiding key, controlling the display screen to hide the input type display list; When the click object is an input type update key, controlling the display screen to switch to a preset input type update interface; The click object includes an input box; and adjusting the display interface of the display screen according to the click object to generate a response result corresponding to the click event specifically includes: When the click object is an input box, the display interface is controlled to pop up a keyboard interface, and a response result corresponding to the click event is generated, wherein the keyboard interface is located above or below the menu bar.
2. The interface control method according to claim 1, characterized in that: The display screen includes a shortcut mark corresponding to the shortcut key, a menu mark corresponding to the menu key, and a notification mark corresponding to the notification key.
3. The interface control method according to claim 1, characterized in that: The step of adjusting the display interface of the display screen according to the click object to generate a response result corresponding to the click event specifically includes: When the click object is the shortcut key, switching the display interface to a preset shortcut interface to generate a first response result; When the click object is the menu key, the display interface is switched to a preset menu interface, and a second response result is generated; When the click object is the notification button, the display interface is switched to a preset notification interface, and a third response result is generated.
4. The interface control method according to claim 3, characterized in that: The first response result is the same as the response result of the right shortcut key in the hard keyboard of the straight keypad to the key event, and the first response result is the response result of the shortcut key to the click event; The second response result is the same as the response result of the middle key in the hard keyboard of the straight keypad to the key event, and the second response result is the response result of the menu key to the click event; The third response result is the same as the response result of the left shortcut in the hard keyboard of the straight keypad machine to the key event, and the third response result is the response result of the notification key to the click event.
5. The interface control method according to claim 1, characterized in that: The menu bar further includes an input selection key and an input type selection list, wherein the input selection key includes an input type display key, an input type hiding key and an input type updating key.
6. The interface control method according to claim 1, characterized in that: The shortcut interface includes an optional menu, the optional menu includes a preset application list, and the click object includes an application label in the application list; The adjusting the display interface of the display screen according to the click object specifically includes: When the display interface is the shortcut interface, the display interface is switched to the application interface corresponding to the application tag according to the application tag corresponding to the click object.
7. An intelligent terminal, characterized in that: The intelligent terminal comprises: a memory, a processor, and an interface control program stored in the memory and executable on the processor, wherein the interface control program implements the steps of the interface control method according to any one of claims 1 to 6 when executed by the processor.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an interface control program, and when the interface control program is executed by a processor, the steps of the interface control method according to any one of claims 1 to 6 are implemented.
