Multifunctional key control method, terminal, storage medium and product
By setting multi-function buttons on the smart terminal, in response to the key function mode entered by the application, the problem of the number of keys and single functions of the smart terminal is solved, achieving a more efficient, convenient and intelligent user experience, and saving design and production costs.
Patent Information
- Application Number
- CN202411872797.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-03-28
AI Technical Summary
In the limited size design of smart terminals, multiple single-function buttons will destroy the overall visual beauty, and the functions are single, making the user experience not smart enough.
By setting at least one multifunction button on the smart terminal, in response to the smart terminal entering the preset application, the multifunction button is controlled to enter the corresponding key function mode, and responding to the preset operation command to perform the application operation.
It realizes diversification of key functions, reduces the number of keys, improves user experience, saves design and production costs, and optimizes the mobile phone appearance design and antenna design.
Smart Images

Figure CN119728833A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent terminals, and in particular to a multi-function key control method, terminal, storage medium and product. Background Art
[0002] With the popularization of mobile terminal products, mobile phone products have developed rapidly, their functions have become more and more powerful, and they have become indispensable devices in people's lives. In recent years, the appearance of mobile phones of various manufacturers has been pursuing simple design, but considering the convenience of users' actual operation, in addition to the power button and volume button, other function buttons are also designed on both sides of the mobile phone, such as mute button, camera button, etc.
[0003] However, designing multiple buttons within a limited size will destroy the overall visual beauty of the phone, and the functions of these buttons are very simple, and the user experience is not smart enough. Summary of the invention
[0004] The main purpose of this application is to provide a multi-function button control method, terminal, storage medium and product, aiming to reduce the number of buttons on smart terminals, realize the diversification of button functions, and enable users to have a more efficient, convenient and intelligent user experience when using smart terminals.
[0005] To achieve the above object, the present application proposes a multi-function button control method, which is applied to a smart terminal, wherein the smart terminal is provided with at least one multi-function button, and the method comprises:
[0006] In response to the smart terminal entering a preset application, controlling the multi-function button to enter a corresponding button function mode;
[0007] In response to applying a preset operation instruction to the multi-function button, the preset application is caused to perform a corresponding application operation.
[0008] In one embodiment, after the step of controlling the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application, the method further includes:
[0009] Determine an application function mode supported by the preset application;
[0010] Based on the determined application function mode, the step of: responding to applying a preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation.
[0011] In one embodiment, the preset operation instruction includes a first button operation instruction, and the response to applying the preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation includes:
[0012] In the case where the preset application supports a pop-up function mode, in response to a first key operation instruction applied to the multi-function key, a pop-up function of the preset application is triggered, and a first application function list is displayed through a pop-up window on the interface of the preset application;
[0013] Determine a first application function selected by a user in the first application function list, so that the preset application performs a first application operation corresponding to the first application function selected by the user.
[0014] In one embodiment, the preset application includes a multi-level application operation, and the method further includes:
[0015] After the application operation of the previous level is completed, in response to the first key operation instruction applied to the multi-function key again, the pop-up window function of the next level of the preset application is triggered, and the second application function list of the next level is displayed through a pop-up window on the interface of the preset application;
[0016] Determine a second application function of a next level selected by a user in the second application function list of the next level, so that the preset application performs a second application operation of the next level corresponding to the second application function of the next level selected by the user.
[0017] In one embodiment, the preset operation instruction includes a second button operation instruction, and the response to applying the preset operation instruction to the multi-function button so that the preset application performs the corresponding application operation includes:
[0018] In a case where the preset application does not support the pop-up function mode, in response to the second key operation instruction applied to the multi-function key, the preset application executes a corresponding third application operation.
[0019] In one embodiment, the step of determining the application function mode supported by the preset application is:
[0020] Identify whether the preset application has a preset classification mark;
[0021] In a case where the preset application has a preset classification mark, it is determined that the preset application supports an application function mode corresponding to the classification mark.
[0022] In one embodiment, before the step of identifying whether the preset application has a preset classification mark, the method further includes:
[0023] When installing each application on the smart terminal, configure a corresponding identification bit for each application;
[0024] According to the application function modes supported by different applications, corresponding classification marks are configured on the identification bits.
[0025] In one embodiment, the method further comprises:
[0026] In response to the smart terminal exiting the preset application, controlling the multi-function button to exit the corresponding button function mode; and / or
[0027] In response to applying a default function operation instruction to the multi-function button, the multi-function button is controlled to enter a preset default function mode.
[0028] In one embodiment, before the step of controlling the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application, the method further includes:
[0029] In response to the setting instruction of the multi-function button in the setting menu of the smart terminal, the default function operation of the multi-function button in the default function mode and the extended function operation in the button function mode are set. The button function mode is provided with preset operations and corresponding application operations of the multi-function button for different preset applications, and the default function operation is different from the preset operation.
[0030] In one embodiment, the preset operation of the multi-function button includes: one or more of long press, short press, single press, continuous multiple presses, and combined button operations; the default function operation includes: one or more of long press and short press operations.
[0031] The present application also proposes a multi-function button device, which is applied to a smart terminal, wherein the smart terminal is provided with at least one multi-function button, and the device comprises:
[0032] A control module, configured to control the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application;
[0033] The execution module is used to respond to applying a preset operation instruction to the multi-function button so that the preset application executes a corresponding application operation.
[0034] The present application also proposes an intelligent terminal, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the multi-function key control method as described above.
[0035] The present application also proposes a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the multi-function key control method as described above are implemented.
[0036] The present application also proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the multi-function key control method described above are implemented.
[0037] One or more technical solutions proposed in this application have at least the following technical effects: by setting at least one multi-function button on the smart terminal, in response to the smart terminal entering the preset application, the multi-function button is controlled to enter the corresponding button function mode; in response to applying a preset operation instruction to the multi-function button, the preset application is made to perform the corresponding application operation. In this way, the function of a button is expanded to multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Among them, the auxiliary buttons can be reduced to one, which can not only save design costs and production costs, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0040] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the multi-function button control method of the present application;
[0041] Figure 2 A schematic diagram of a flow chart provided for the second embodiment of the multi-function button control method of the present application;
[0042] Figure 3 A schematic diagram of a flow chart provided for the third embodiment of the multi-function button control method of the present application;
[0043] Figure 4 A schematic diagram of a flow chart provided for the fourth embodiment of the multi-function button control method of the present application;
[0044] Figure 5 A complete flow chart of the multi-function button control method provided in the embodiment of the present application;
[0045] Figure 6 This is a schematic diagram of the module structure of the multi-function button control device according to an embodiment of the present application;
[0046] Figure 7A schematic diagram of the terminal structure of the hardware operating environment involved in the multi-function button control method in the embodiment of the present application;
[0047] Figure 8 Schematic diagram of the system framework involved in the multi-function button control method in the embodiment of the present application.
[0048] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0050] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0051] The main solution of the embodiment of the present application is: by setting at least one multi-function button on the smart terminal, in response to the smart terminal entering the preset application, control the multi-function button to enter the corresponding button function mode; in response to applying a preset operation instruction to the multi-function button, the preset application performs the corresponding application operation. In this way, the function of a button is expanded to multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Among them, the auxiliary button can be reduced to one, which can not only save design cost and production cost, but also is conducive to the design of the appearance of smart terminals such as mobile phones, and provides a better environment for mobile phone antenna design.
[0052] In the prior art, in addition to the power button and volume button, other function buttons are designed on both sides of the phone, such as the mute button and camera button, considering the convenience of actual user operation. However, designing multiple buttons within a limited size will destroy the overall visual beauty of the phone, affect the design of the antenna, and increase the material cost and production cost of the phone. Moreover, the functions of these buttons are very simple, and the user experience is not smart enough. For example, the mute button can only enter or exit the mute mode, the camera button can only enter the shooting interface and take pictures, and the combination button can only perform fixed operations, such as screenshots.
[0053] The present application provides a solution that can realize multiple functions through one function button, that is, the function of one button can be expanded into multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Moreover, the auxiliary buttons can be reduced to one, which can not only save design and production costs, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design.
[0054] Based on this, the embodiment of the present application provides a multi-function button control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the multi-function button control method of the present application.
[0055] In this embodiment, the multi-function button control method includes steps S10 to S20, each of which is explained in detail below.
[0056] like Figure 1 As shown, the first embodiment of the present application proposes a multi-function button control method, which is applied to a smart terminal, wherein the smart terminal is provided with at least one multi-function button, and the method includes:
[0057] Step S10, in response to the smart terminal entering a preset application, controlling the multi-function button to enter a corresponding button function mode;
[0058] The execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone and other smart terminals, or an electronic device capable of realizing the above functions. The following takes a mobile phone as an example to illustrate this embodiment.
[0059] The technical solution of this embodiment can expand the function of a button into multiple functions according to the different functions to be implemented by the application (APP), thereby reducing the number of buttons on the smart terminal, realizing the diversification of button functions, and allowing users to obtain a more efficient, convenient and intelligent user experience when using the smart terminal.
[0060] Taking a mobile phone as an example, at least one multi-function button can be set on the mobile phone during design. The multi-function button can be a physical button or a virtual button. This embodiment takes a physical button as an example. At the same time, according to different application scenarios of the mobile phone, different functions are preset by the multi-function button to facilitate users to achieve more convenient operations.
[0061] As an implementation mode, the multi-function button can have two function modes (or two working states), one is a default function mode, and the other is a button function mode that can realize extended functions, or called an extended function mode.
[0062] For the default function mode of the multi-function button, you can set the corresponding default function operation in the system.
[0063] For example, when the phone screen wakes up, this multi-function button can trigger an action and enter the default function mode. The default function can be preset in the settings menu in advance, such as mute, flashlight, calculator, etc.
[0064] Taking the mute function as an example, assuming that the default function mode of the multi-function button is the mute mode, when the phone screen wakes up, long press the multi-function button to enter or exit the mute mode.
[0065] For the key function mode of the multi-function key, preset operations corresponding to different applications, that is, extended function operations, can be pre-set according to different applications.
[0066] Among them, the default function operation is different from the extended function operation. In this way, when the user uses the preset application on the smart terminal, he can use the extended function operation of the multi-function button that is different from the default function operation, and then implement the corresponding application operation in the preset application. For example, the default function operation of the multi-function button is the mute function operation, and the extended function operation can have corresponding application operations according to different applications, such as the photo taking and preview operations of the camera application.
[0067] Taking a mobile phone as an example, as an implementation method, the default function mode of a multi-function button and a button function mode with extended functions can be set in the setting menu of the mobile phone, as well as the default function operation of the multi-function button in the default function mode and the extended function operation in the button function mode can be set, wherein the button function mode sets the preset operation (i.e., the extended function operation) and the corresponding application operation of the multi-function button for different preset applications.
[0068] As an implementation method, the preset operation of the multi-function button (i.e., the extended function operation) may include: one or more of long press, short press, single press, continuous multiple presses, and combination button operations; the default function operation may include: one or more of long press, short press, or other press operations. For example, the default function operation of the multi-function button in the default function mode is set to long press, and the preset operation of the multi-function button in the button function mode is set to short press.
[0069] Among them, when configuring the key function mode of the multi-function key, the corresponding key function mode can be set according to the functional characteristics of different applications. In this way, when the smart terminal enters the preset application, the multi-function key can be controlled to enter the corresponding key function mode.
[0070] For example, when a user operates a mobile phone, if he clicks to enter an application in the mobile phone, the mobile phone will respond to the operation instruction after receiving the user's operation instruction to click to enter the application, and control the multi-function button to enter the button function mode corresponding to the current application, so that the user can use the multi-function button to operate and control the application function in the current application.
[0071] Step S20, in response to applying a preset operation instruction to the multi-function button, the preset application executes a corresponding application operation.
[0072] When a user enters an application using a smart terminal, he or she can use the multi-function button to operate and control the application functions in the application, thereby enabling the user to have a more efficient, convenient and intelligent user experience when using the smart terminal.
[0073] As mentioned above, the preset operation of the multi-function button (i.e., the extended function operation) may include: one or more of long press, short press, single press, continuous multiple presses, and combination button operations; the default function operation may include: one or more of long press, short press, or other press operations. For example, the default function operation of the multi-function button in the default function mode is set to long press, and the preset operation of the multi-function button in the button function mode is set to short press.
[0074] Taking a mobile phone as an example, assuming that the default function mode of the multi-function button is silent mode, and the default function operation of the multi-function button is set to a long press operation, and the preset operation of the button function mode after the multi-function button enters the application is set to a short press operation, then when the mobile phone screen wakes up, long press the multi-function button to enter or exit silent mode; when the user operates the mobile phone to enter the preset APP, he can short press this multi-function button to control the APP to execute the corresponding application operation, thereby realizing the extended function operation of the multi-function button on the preset APP.
[0075] Take mobile phone photography as an example, and set the default function operation of the multi-function button of the mobile phone in the default function mode to a long press operation, and the preset operation in the button function mode to a short press operation.
[0076] When the user chooses to enter the photo preview function, short pressing the multi-function button can execute the photo preview function; or, when the user chooses the picture editing function after taking a photo, short pressing the multi-function button can perform editing operations such as adjusting or repairing the picture.
[0077] In addition, after the user selects the photo preview function, short press the multi-function button to pop up the AI function pop-up window related to photo taking, and the user can select different AI functions, such as color enhancement, de-reflection, and depth of field increase. After the user takes a photo, a preview image is obtained. At this time, the user short presses the multi-function button to pop up the relevant AI function menu, such as AI elimination and closed-eye repair.
[0078] Through the above scheme, this embodiment sets at least one multi-function button in the smart terminal, responds to the smart terminal entering the preset application, controls the multi-function button to enter the corresponding button function mode; responds to applying a preset operation instruction to the multi-function button, so that the preset application performs the corresponding application operation. In this way, the function of a button is expanded to multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Among them, the auxiliary button can be reduced to one, which can not only save design cost and production cost, but also is conducive to the design of the appearance of smart terminals such as mobile phones, and provides a better environment for mobile phone antenna design.
[0079] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 In step S10, in response to the smart terminal entering a preset application, after controlling the multi-function button to enter a corresponding extended function mode, the multi-function button control method further includes step S1001.
[0080] Step S1001, determining the application function mode supported by the preset application;
[0081] Correspondingly, step S20, in response to applying a preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation, may include:
[0082] Step S2001, based on the determined application function mode, in response to applying a preset operation instruction to the multi-function button, so that the preset application performs a corresponding application operation.
[0083] Compared with the first embodiment, this embodiment also includes distinguishing execution based on whether the preset application supports the corresponding application function mode (such as the AI pop-up function).
[0084] Among them, the application function mode can be distinguished according to different application scenarios. For example, if the application function supports AI function or AI pop-up function or ordinary pop-up function, then the application can be defined as supporting AI function mode, AI pop-up function mode, or ordinary pop-up function mode accordingly.
[0085] In addition, the preset operation (ie, extended function operation) of the multi-function button may be set accordingly according to the application function mode supported by the application.
[0086] As mentioned above, the preset operation of the multi-function button (i.e., the extended function operation) may include: one or more of long press, short press, single press, continuous multiple presses, and combination button operations; the default function operation may include: one or more of long press, short press, or other press operations. For example, the default function operation of the multi-function button in the default function mode is set to long press, and the preset operation of the multi-function button in the button function mode is set to short press, single press, continuous multiple presses, etc.
[0087] In addition, the following settings can also be used: if the preset application supports a certain application function mode (such as a pop-up function mode), the corresponding preset operation of the multi-function button is set to a short press operation; if the preset application does not support a certain application function mode (such as a pop-up function mode), the corresponding preset operation of the multi-function button is set to a single press or multiple consecutive presses.
[0088] The following takes whether an application supports the pop-up function mode as an example, and defines the preset operation of the multi-function button corresponding to the pop-up function mode supported by the application as the first button operation, and defines the preset operation of the multi-function button corresponding to the pop-up function mode not supported by the application as the second button operation.
[0089] The first button operation is exemplified by a short press operation, and the second button operation is exemplified by a multiple press operation.
[0090] Among them, as an implementation mode, if the preset application supports the pop-up function mode, the smart terminal responds to applying a preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation, including:
[0091] In the case where the preset application supports a pop-up function mode, in response to a first key operation instruction applied to the multi-function key, a pop-up function of the preset application is triggered, and a first application function list is displayed through a pop-up window on the interface of the preset application;
[0092] Determine a first application function selected by a user in the first application function list, so that the preset application performs a first application operation corresponding to the first application function selected by the user.
[0093] Take mobile phone photography as an example, and set the default operation of the multi-function button of the mobile phone in the button function mode to a short press operation.
[0094] When the user chooses to enter the photo preview function, short press the multi-function button to trigger the photo pop-up function. A function pop-up window related to photo taking will pop up, and the corresponding photo preview function list will be displayed through the function pop-up window, such as color enhancement, de-glare, increased depth of field, etc.
[0095] For example, taking the gallery as an example, when the user is previewing a picture, short pressing the multi-function button will pop up an AI function pop-up window related to the gallery, such as portrait cutout, AI elimination, text extraction, text translation, etc.
[0096] For example, taking the food ordering software as an example, after the user enters the application, short press the multi-function button, and the phone can pop up the AI function pop-up window related to this application, such as one-click ordering, discount comparison, etc. Through this multi-function button, the AI functions supported by the preset application can be provided to the user more conveniently and efficiently, making it easier for the user to choose and operate.
[0097] Furthermore, for a preset application including multi-level application operations, multi-level pop-up function operations and multi-level application operations may also be used.
[0098] Wherein, as an implementation mode, the preset application includes multi-level application operations, and the method further includes:
[0099] After the application operation of the previous level is completed, in response to the first key operation instruction applied to the multi-function key again, the pop-up window function of the next level of the preset application is triggered, and the second application function list of the next level is displayed through a pop-up window on the interface of the preset application;
[0100] Determine a second application function of a next level selected by a user in the second application function list of the next level, so that the preset application performs a second application operation of the next level corresponding to the second application function of the next level selected by the user.
[0101] Taking a mobile phone as an example, when the user operates the mobile phone to enter the preset application, a short press of the multi-function button can trigger the corresponding AI function selection pop-up window according to the preset application. The user can select different AI functions according to their needs without having to search for the AI function button in the secondary or tertiary menu of the application, thereby simplifying user operations and enabling users to get a more efficient, convenient and intelligent user experience when using smart terminals.
[0102] Taking the camera mode as an example, when the user enters the photo preview through the mobile phone, short press the multi-function button at this time, the mobile phone can pop up the AI function pop-up window related to photo shooting, and display the corresponding photo preview AI function list through the AI function pop-up window. The user can select different AI functions, such as color enhancement, de-reflection, increase depth of field, etc. After the user takes a photo, a preview image is obtained. At this time, short press the multi-function button again to pop up the relevant AI function menu list, such as AI elimination and closed eye repair.
[0103] It should be noted that, for different applications, different function pop-up windows and different application function lists may be set according to different application functions of the applications.
[0104] Among them, as an implementation mode, if the preset application does not support the pop-up function mode, the smart terminal responds to applying a preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation, which may include:
[0105] In the case where the preset application does not support the pop-up function mode, in response to the second key operation instruction (such as a multiple press operation instruction) applied to the multi-function key, the preset application is caused to execute a corresponding third application operation.
[0106] Taking mobile phone photography as an example, when the user chooses to enter the photo preview function, pressing the multi-function button multiple times can execute the photo preview function; or, when the user chooses the picture editing function after taking the photo, pressing the multi-function button multiple times can perform editing operations such as adjustment or repair of the picture.
[0107] That is to say, for preset applications that do not support pop-up functions, users can expand other operations on this multi-function button. In the application management interface of the settings menu, set the multi-function key function of such preset applications in advance, and then you can use the multi-function button to perform corresponding different operations after entering the preset application. For example, single-click, double-click, combination of buttons, etc. Taking the video playback software as an example, after the application is started, the user can quickly capture the screenshot by single-clicking the multi-function button, and record the screen by double-clicking the multi-function button, thereby providing users with a convenient operation method.
[0108] Similarly, you only need to preset the corresponding functions of the multi-function buttons in different applications in the application management interface of the settings menu in advance, and you can use the multi-function button to conveniently select the corresponding application functions or other corresponding different operations after entering the application. Among them, the default function is not limited to the mute function, but can also be other functions, such as turning on the flashlight, calculator, etc. The operation of the preset function key is not limited to a short press, but can also be a double click, a triple click, or a combination of a function key and a power key or an up and down volume key. In this way, a multi-function button can be fully utilized to realize multiple function operations. While always maintaining the default function of the multi-function button, the operation of the function key can be expanded when used in different applications, which not only improves the user experience and maximizes the function of a button, but also reduces the number of buttons on the mobile phone, saves design and production costs, and improves the appearance design of the mobile phone, and also provides better space for antenna design, thereby improving the signal reception quality.
[0109] Further, in a feasible implementation manner, the step S1001 of determining the application function mode supported by the preset application may include steps A11 to A12:
[0110] A11, identifying whether the preset application has a preset classification mark;
[0111] A12: When there is a preset classification mark for the preset application, determine that the preset application supports an application function mode corresponding to the classification mark.
[0112] Specifically, when each application is installed on a smart terminal, a corresponding identification bit can be configured for each application. According to the application function modes supported by different applications, a corresponding classification mark can be configured on the identification bit. For example, the application function mode corresponding to classification mark A is a mode that supports pop-up function modes, and the application function mode corresponding to classification mark B is a mode that does not support pop-up function modes. Thus, the corresponding application function mode supported by the preset application can be determined by identifying the classification mark, thereby improving the reliability and feasibility of the smart terminal's recognition of the application function mode.
[0113] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the second embodiment can be referred to the above introduction, and will not be repeated in the following. Figure 3 In step S20, in response to applying a preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation, the multi-function button control method further includes step S30.
[0114] Step S30, in response to the smart terminal exiting the preset application, controlling the multi-function button to exit the corresponding button function mode; and / or in response to applying a default function operation instruction to the multi-function button, controlling the multi-function button to enter a preset default function mode.
[0115] Specifically, during the use of a preset application, the user can exit the preset application as needed. When the smart terminal exits the preset application, the multi-function button exits the corresponding button function mode and then returns to the default function mode.
[0116] In addition, in this embodiment, there may be multiple situations for entering the default function mode of the multi-function button. One situation is that when the screen of the smart terminal is awakened, for example, when the screen of the mobile phone is awakened, this multi-function button can trigger an action and enter the default function mode. The default function can be preset in the settings menu in advance, for example, it can be mute, turn on the flashlight, calculator, etc.
[0117] Taking the mute function as an example, assuming that the default function mode of the multi-function button is the mute mode, when the phone screen wakes up, long press the multi-function button to enter or exit the mute mode.
[0118] In another case, when the smart terminal exits the preset application, the multi-function button exits the corresponding button function mode and then returns to the default function mode.
[0119] There is another situation that, during the use of a preset application, if the user applies a default function operation instruction to the multi-function button, the multi-function button can also be controlled to enter a preset default function mode.
[0120] Taking the camera mode as an example, the user enters the photo preview through the mobile phone. At this time, short press the multi-function key, and the mobile phone can pop up the AI function pop-up window related to photo shooting. The corresponding photo preview AI function list is displayed through the AI function pop-up window. The user can select different AI functions, such as color enhancement, de-reflection, and increased depth of field. After the user takes a photo, a preview image is obtained. At this time, short press the multi-function key again to pop up a list of related AI function menus, such as AI elimination and closed-eye repair. In photo mode, this multi-function button always keeps the default function valid, that is, long press the multi-function key to enter or exit silent mode. When the user exits the photo mode, the phone enters the standby interface. At this time, the short press operation is invalid, and the long press operation still maintains the original default function.
[0121] For example, in the case of video playback software, after the application is started, the user can quickly take a screenshot by single-clicking the multi-function button, and can record the screen by double-clicking the multi-function button, thus providing users with a convenient operation method. When the user exits the video playback mode, single-click and double-click become invalid, and the long-press operation always maintains the original default function.
[0122] In other words, regardless of whether the mobile phone enters the preset application or not, long pressing this multi-function button can maintain the default function, so that one multi-function button can be fully utilized to realize multiple function operations. While always maintaining the default function of the multi-function button, the operation of the function key is expanded when used in different applications. This not only improves the user experience and maximizes the function of a button, but also reduces the number of buttons on the mobile phone, saves design and production costs, and improves the appearance design of the mobile phone, but also provides better space for antenna design and improves signal reception quality.
[0123] Based on the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the third embodiment can refer to the above introduction, and will not be repeated in the following. Figure 4 In step S10, before the step of controlling the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application, the multi-function button control method further includes step S100.
[0124] Step S100, in response to the setting instruction of the multi-function button in the setting menu of the smart terminal, the default function operation of the multi-function button in the default function mode and the extended function operation in the button function mode are set, and the button function mode is set with the preset operation of the multi-function button and the corresponding application operation for different preset applications, and the default function operation is different from the preset operation.
[0125] Specifically, as an implementation method, the multi-function button can have two functional modes (or two working states), one is a default functional mode, and the other is a button functional mode that can realize extended functions, or called an extended functional mode.
[0126] For the default function mode of the multi-function button, you can set the corresponding default function operation in the system.
[0127] For example, when the phone screen wakes up, this multi-function button can trigger an action and enter the default function mode. The default function can be preset in the settings menu in advance, such as mute, flashlight, calculator, etc.
[0128] Taking the mute function as an example, assuming that the default function mode of the multi-function button is the mute mode, when the phone screen wakes up, long press the multi-function button to enter or exit the mute mode.
[0129] For the key function mode of the multi-function key, preset operations corresponding to different applications can be set according to different applications, that is, extended function operations.
[0130] Among them, the default function operation is different from the extended function operation. In this way, when the user uses the preset application on the smart terminal, he can use the extended function operation of the multi-function button that is different from the default function operation, and then implement the corresponding application operation in the preset application. For example, the default function operation of the multi-function button is the mute function operation, and the extended function operation can have corresponding application operations according to different applications, such as the photo taking and preview operations of the camera application.
[0131] Taking a mobile phone as an example, as an implementation method, the default function mode of a multi-function button and a button function mode with extended functions can be set in the setting menu of the mobile phone, as well as the default function operation of the multi-function button in the default function mode and the extended function operation in the button function mode can be set, wherein the button function mode sets the preset operation (i.e., the extended function operation) and the corresponding application operation of the multi-function button for different preset applications.
[0132] As an implementation method, the preset operation of the multi-function button (i.e., the extended function operation) may include: one or more of long press, short press, single press, continuous multiple presses, and combination button operations; the default function operation may include: one or more of long press, short press, or other press operations. For example, the default function operation of the multi-function button in the default function mode is set to long press, and the preset operation of the multi-function button in the button function mode is set to short press.
[0133] Among them, when configuring the key function mode of the multi-function key, the corresponding key function mode can be set according to the functional characteristics of different applications. In this way, when the smart terminal enters the preset application, the multi-function key can be controlled to enter the corresponding key function mode.
[0134] For example, when a user operates a mobile phone, if he clicks to enter an application in the mobile phone, the mobile phone will respond to the operation instruction after receiving the user's operation instruction to click to enter the application, and control the multi-function button to enter the button function mode corresponding to the current application, so that the user can use the multi-function button to operate and control the application function in the current application.
[0135] Through the above scheme, this embodiment sets at least one multi-function button in the smart terminal, and sets the default function operation in the default function mode of the multi-function button, and the extended function operation in the button function mode. The button function mode is set with the preset operation and the corresponding application operation of the multi-function button for different preset applications, and the default function operation is different from the preset operation; in response to the smart terminal entering the preset application, the multi-function button is controlled to enter the corresponding button function mode; in response to applying the preset operation instruction to the multi-function button, the preset application performs the corresponding application operation. In this way, the function of a button is expanded into multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Among them, the auxiliary button can be reduced to one, which can not only save design cost and production cost, but also be beneficial to the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design.
[0136] An implementation process of this embodiment can refer to Figure 5 shown.
[0137] The default function of the multi-function button is long press to be effective. Preset applications that support AI functions trigger AI function pop-up windows through short presses. Preset applications that do not support AI functions can use short presses, double clicks, or other key combinations to implement corresponding functions. Taking short presses as an example, the specific processing flow is as follows:
[0138] S101: The user wakes up the screen.
[0139] S102: Determine whether the mobile phone enters a preset APP;
[0140] S201: If the preset APP is not entered, the multi-function button retains the default function, and a long press is effective, while a short press is ineffective.
[0141] S103: The mobile phone enters a preset APP and determines whether the preset APP supports the AI function;
[0142] S104: If the preset APP supports the AI function and is triggered by a short press, a pop-up window of the AI function of the preset APP is displayed for the user to select.
[0143] S105: If the preset APP does not support the AI function, a short press is triggered, and the operation is completed according to the preset function of the multi-function button corresponding to the preset APP in the setting menu.
[0144] It should be noted that the technical solutions of the above embodiments can be reasonably combined and implemented according to actual conditions, and this embodiment does not limit this.
[0145] In addition, to achieve the above purpose, the present application also proposes a multi-function key control device, such as Figure 6 As shown, the device comprises:
[0146] The control module 10 is used to control the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application;
[0147] The execution module 20 is used to respond to applying a preset operation instruction to the multi-function button so that the preset application executes a corresponding application operation.
[0148] The multi-function button control device provided by the present application adopts the multi-function button control method in the above embodiment, and can expand the function of a button into multiple functions according to different APPs, so that users can get a more efficient, more convenient and more intelligent user experience when using smart terminals. Among them, the auxiliary buttons can be reduced to one, which can not only save design costs and production costs, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design. Compared with the prior art, the beneficial effects of the multi-function button control device provided by the present application are the same as the beneficial effects of the multi-function button control method provided in the above embodiment, and the other technical features in the multi-function button control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0149] In addition, to achieve the above objectives, the present application also proposes an intelligent terminal, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the multi-function key control method described above.
[0150] Reference below Figure 7, which shows a schematic diagram of the structure of an intelligent terminal suitable for implementing the embodiments of the present application. The intelligent terminal in the embodiments of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The smart terminal shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0151] like Figure 7 As shown, the intelligent terminal may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the intelligent terminal are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the intelligent terminal to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an intelligent terminal with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0152] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0153] The smart terminal provided by the present application adopts the multi-function button control method in the above embodiment, and can expand the function of a button into multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using the smart terminal. Among them, the auxiliary button can be reduced to one, which can not only save design cost and production cost, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design. Compared with the prior art, the beneficial effects of the smart terminal provided by the present application are the same as the beneficial effects of the multi-function button control method provided in the above embodiment, and the other technical features in the smart terminal are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0154] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0155] In addition, the implementation system framework of the technical solution of this application can refer to Figure 8 As shown, it mainly includes the following parts:
[0156] Main control unit: can be a mobile phone processor, responsible for executing various instructions and data operations;
[0157] Storage unit: may include a memory for storing an operating system, pre-installed applications, user data, etc.;
[0158] Input unit: may include a touch screen and a multi-functional physical key, used for inputting signals;
[0159] Display unit: may include a display screen for displaying images and colors, and combined with a touch screen to achieve human-computer interaction;
[0160] Camera unit: can be a camera, responsible for taking photos and videos, and other auxiliary functions;
[0161] Radio frequency unit: may include a radio frequency module, which is responsible for the modulation and demodulation of radio frequency signals.
[0162] In addition, to achieve the above-mentioned purpose, the present application also proposes a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the multi-function key control method described above are implemented.
[0163] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0164] The computer-readable storage medium may be included in the smart terminal, or may exist independently without being installed in the smart terminal.
[0165] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the smart terminal, the smart terminal: controls the multi-function button to enter the corresponding button function mode in response to the smart terminal entering a preset application; responds to applying a preset operation instruction to the multi-function button so that the preset application executes the corresponding application operation.
[0166] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0167] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0168] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0169] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned multi-function button control method, and can expand the function of a button into multiple functions according to different APPs, so that users can get a more efficient, more convenient, and smarter user experience when using smart terminals. Among them, the auxiliary buttons can be reduced to one, which can not only save design costs and production costs, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the multi-function button control method provided in the above-mentioned embodiment, which will not be repeated here.
[0170] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the multi-function button control method described above are implemented.
[0171] The computer program product provided by the present application can expand the function of a button into multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Among them, the auxiliary buttons can be reduced to one, which can not only save design costs and production costs, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the multi-function button control method provided in the above embodiment, which will not be repeated here.
[0172] One or more technical solutions proposed in this application have at least the following technical effects: by setting at least one multi-function button on the smart terminal, in response to the smart terminal entering the preset application, the multi-function button is controlled to enter the corresponding button function mode; in response to applying a preset operation instruction to the multi-function button, the preset application is made to perform the corresponding application operation. In this way, the function of a button is expanded to multiple functions according to different APPs, so that users can get a more efficient, more convenient and smarter user experience when using smart terminals. Among them, the auxiliary buttons can be reduced to one, which can not only save design costs and production costs, but also facilitate the design of the appearance of smart terminals such as mobile phones, and provide a better environment for mobile phone antenna design.
[0173] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A multi-function button control method, characterized in that: Applied to a smart terminal, the smart terminal is provided with at least one multi-function button, the method comprises: In response to the smart terminal entering a preset application, controlling the multi-function button to enter a corresponding button function mode; In response to applying a preset operation instruction to the multi-function button, the preset application executes a corresponding application operation.
2. The method according to claim 1, characterized in that After the step of controlling the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application, the method further includes: Determine an application function mode supported by the preset application; Based on the determined application function mode, the step of: responding to applying a preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation.
3. The method according to claim 2, characterized in that The preset operation instruction includes a first button operation instruction, and the response to applying the preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation includes: In the case where the preset application supports a pop-up function mode, in response to a first key operation instruction applied to the multi-function key, a pop-up function of the preset application is triggered, and a first application function list is displayed through a pop-up window on the interface of the preset application; Determine a first application function selected by a user in the first application function list, so that the preset application performs a first application operation corresponding to the first application function selected by the user.
4. The method according to claim 3, characterized in that The preset application includes multi-level application operations, and the method further includes: After the application operation of the previous level is completed, in response to the first key operation instruction applied to the multi-function key again, the pop-up window function of the next level of the preset application is triggered, and the second application function list of the next level is displayed through a pop-up window on the interface of the preset application; Determine a second application function of a next level selected by a user in the second application function list of the next level, so that the preset application performs a second application operation of the next level corresponding to the second application function of the next level selected by the user.
5. The method according to claim 2, characterized in that The preset operation instruction includes a second button operation instruction, and the response to applying the preset operation instruction to the multi-function button so that the preset application performs a corresponding application operation includes: In a case where the preset application does not support the pop-up function mode, in response to the second key operation instruction applied to the multi-function key, the preset application executes a corresponding third application operation.
6. The method according to claim 2, characterized in that The step of determining the application function mode supported by the preset application: Identify whether the preset application has a preset classification mark; In a case where the preset application has a preset classification mark, it is determined that the preset application supports an application function mode corresponding to the classification mark.
7. The method according to claim 6, characterized in that Before the step of identifying whether the preset application has a preset classification mark, the method further includes: When installing each application on the smart terminal, configure a corresponding identification bit for each application; According to the application function modes supported by different applications, corresponding classification marks are configured on the identification bits.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: In response to the smart terminal exiting the preset application, controlling the multi-function button to exit the corresponding button function mode; and / or In response to applying a default function operation instruction to the multi-function button, the multi-function button is controlled to enter a preset default function mode.
9. The method according to claim 8, characterized in that Before the step of controlling the multi-function button to enter a corresponding button function mode in response to the smart terminal entering a preset application, the method further includes: In response to the setting instruction of the multi-function button in the setting menu of the smart terminal, the default function operation of the multi-function button in the default function mode and the extended function operation in the button function mode are set. The button function mode is provided with preset operations and corresponding application operations of the multi-function button for different preset applications, and the default function operation is different from the preset operation.
10. The method according to claim 9, characterized in that The preset operations of the multi-function button include: one or more of long press, short press, single press, continuous multiple presses, and combined button operations; the default function operation includes: one or more of long press and short press operations.
11. An intelligent terminal, characterized in that: The intelligent terminal comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the multi-function key control method according to any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the multi-function button control method according to any one of claims 1 to 10 are implemented.
13. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the multi-function key control method according to any one of claims 1 to 10 are implemented.