Interactive control method and device

By responding to target events in an electronic device and determining the matching target key, the problem of cumbersome operations in the prior art and inability to obtain application status in real time is solved, and the real-time state of target events is reflected through target keys is realized, which improves the user experience.

CN114721559BActive Publication Date: 2025-02-25LENOVO (BEIJING) LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210312171.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2025-02-25
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

When existing electronic devices process multiple applications, it is difficult to obtain the status information of each application in real time, and the operation is cumbersome and the real-time status cannot be obtained.

Method used

By responding to the target event, determine the matching target key, which has different interaction modes. Based on the current state of the target event, the control target key enters a matching interactive mode to reflect the different states of the target event.

Benefits of technology

The real-time state of target events is realized through the target button, which improves the user experience and simplifies the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114721559B_ABST
    Figure CN114721559B_ABST
Patent Text Reader

Abstract

The present application discloses an interactive control method and device, including: in response to detecting a target event, determining a target button that matches the target event; based on the current state of the target event, controlling the target button to enter a target interaction mode that matches the current state of the event. The target button has different interaction modes, which realizes that different states of the target event are reflected by the target button, and the target button can enter a target interaction mode corresponding to the target event, which realizes that the real-time state of the target event is reflected by the target button, thereby improving the experience effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and more specifically to an interactive control method and device. Background Art

[0002] Electronic devices usually process different applications simultaneously. If the relevant status information of each application is to be obtained, it is necessary to frequently switch between the currently processed application and the pending application. The operation is cumbersome and the real-time status of each application cannot be obtained. Summary of the invention

[0003] In view of this, this application provides the following technical solutions:

[0004] An interactive control method, comprising:

[0005] In response to monitoring a target event, determining a target key that matches the target event, the target key having a different interaction mode;

[0006] Based on the current state of the target event, the target button is controlled to enter a target interaction mode that matches the current state of the event.

[0007] Optionally, the target event includes at least two sub-events, and determining a target key matching the target event includes:

[0008] Determine the target key corresponding to each of the sub-events based on the activation order of each of the sub-events;

[0009] or,

[0010] Based on the correspondence between the positions of each of the sub-events in the target area and the positions of the candidate keys, a target key corresponding to each of the sub-events is determined from the candidate keys.

[0011] Optionally, the target interaction mode includes a target display mode, wherein, based on the current event state of the target event, controlling the target button to enter a target interaction mode matching the current state of the event includes:

[0012] Determining an event identifier corresponding to each of the sub-events;

[0013] Based on the current state of each of the sub-events, the target button is controlled to display the image corresponding to the event identifier according to the target display mode matching the current state of the event.

[0014] Optionally, the method further comprises:

[0015] In response to an operation on the target button, the current event state of the target event corresponding to the target button is controlled to switch to a target state matching the operation.

[0016] Optionally, determining a target key that matches the target event includes:

[0017] Acquire attribute features of information to be output that matches the target event;

[0018] Based on the attribute feature, a target key matching the target event is determined.

[0019] Optionally, the attribute feature includes a numerical feature of the information to be output, wherein determining a target key matching the target event based on the attribute feature includes:

[0020] Based on the numerical feature of the information to be output, a key that can meet the numerical feature is determined as a target key that matches the target event, so that output information matching the numerical feature is output through the target key.

[0021] Optionally, the determining, based on the numerical feature of the information to be output, that a key that satisfies the numerical feature is a target key that matches the target event includes:

[0022] Based on the numerical feature of the information to be displayed, a group of digital keys are determined as the target keys, wherein each of the digital keys corresponds to the current numerical range of the numerical feature when outputting.

[0023] Optionally, it also includes:

[0024] In response to detecting a target event, generating prompt information, the prompt information being used to prompt whether to start an interaction mode that matches the target key with the target event;

[0025] If the feedback information obtained based on the prompt information meets the target condition, the target button is controlled to interact according to the target interaction mode matching the current state of the event.

[0026] Optionally, the interaction mode includes a trigger mode, and the determining a target key matching the target event includes:

[0027] Acquire state characteristics of the target event under different event states;

[0028] Based on the state characteristics, determining a switching mode;

[0029] Determine a target key that satisfies a trigger mode corresponding to the switching mode.

[0030] An interactive control device, comprising:

[0031] a determination unit, configured to determine, in response to detecting a target event, a target key that matches the target event, wherein the target key has different interaction modes;

[0032] A control unit is used to control the target button to enter a target interaction mode matching the current state of the event based on the current state of the event of the target event.

[0033] An electronic device executes any of the interactive control methods described above.

[0034] A storage medium stores a computer program, wherein the computer program, when executed by a processor, implements any of the above-mentioned interactive control methods.

[0035] Through the above technical solutions, it can be known that the present application discloses an interactive control method and device, including: in response to detecting a target event, determining a target button that matches the target event; based on the current state of the target event, controlling the target button to enter a target interaction mode that matches the current state of the event. Among them, the target button has different interaction modes, which realizes that different states of the target event are reflected by the target button, and the target button can enter a target interaction mode corresponding to the target event, which realizes that the real-time state of the target event is reflected by the target button, and improves the experience effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0037] Figure 1 A flowchart of an interactive control method provided in an embodiment of the present application;

[0038] Figure 2 A schematic diagram of the position of a sub-event and a target button provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of a digital key display provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of the structure of an interactive control device provided in an embodiment of the present application;

[0041] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] In an embodiment of the present application, an interactive control method is provided, which can be applied to a scenario where an electronic device processes multiple events, so as to obtain the current state information of each event. Figure 1 , the method may include the following steps:

[0044] S101 . In response to detecting a target event, determining a target key that matches the target event.

[0045] It can be based on the user's trigger operation to monitor various events of the current electronic device, and determine the events that meet the monitoring conditions as target events, wherein the monitoring conditions can be set based on the current application scenario or the configuration information generated by the user. Specifically, the target event refers to the event processed by the current electronic device, which can include events that the electronic device is processing, and can also include events to be processed by the electronic device, and these events are all in the startup state. For example, the target event can be a display event, and the display event can correspond to the display information of different application programs (APPs). For example, different APPs are opened in the display interface of the current electronic device, and each APP generates corresponding display information. The display interface of each APP can be maximized or minimized, that is, these display interfaces can be used as display events when maximized or minimized.

[0046] When the target event is detected, the target button that matches the target event is determined, wherein the target button has different interaction modes, and the interaction mode can reflect the current state of the target event. Specifically, the interaction mode may include a display mode, a trigger mode, etc. In order not to increase the hardware structure of the original electronic device, the target button can be a button with an input function, such as a button in the keyboard corresponding to the electronic device, a button for controlling display parameters on the display screen, or a volume button on a mobile phone. In this way, the existing buttons can be reused, reducing the development cost and the complexity of the structure of the electronic device.

[0047] In one embodiment, a group of keys may be pre-determined as candidate keys, and after a target event is detected, a target key corresponding to the target event may be further determined from the pre-determined candidate keys. Specifically, a target key corresponding to each target event may be randomly determined from the candidate keys.

[0048] In another embodiment, the target key corresponding to the target event can be determined according to the event characteristics of the target event, the characteristics of the information to be output, etc. Specifically, the determining of the target key matching the target event includes: obtaining the attribute characteristics of the information to be output matching the target event, and determining the target key matching the target event based on the attribute characteristics.

[0049] The information to be output refers to the information that needs to be output by the current target event. Even if the target event is minimized, the information to be output can be reflected through the target key. For example, when installing a certain software, the installation progress is usually displayed. If the interface is minimized, the installation progress information cannot be obtained. The installation progress information can be reflected through the key that can display numerical information. For example, when the installation progress is between 40% and 50%, the number 5 on the control keyboard is displayed.

[0050] If there are multiple target events, the target key can also be determined by the start order of each target event, or the layout arrangement order, etc. This will be specifically described in the subsequent embodiments of this application and will not be described in detail here.

[0051] S102: Based on the current state of the target event, control the target button to enter a target interaction mode that matches the current state of the event.

[0052] The target button has different interaction modes, which can be different display modes or different trigger modes. The target interaction mode of the target button can be determined according to the current state of the target event, and the target button can be controlled to enter the target interaction mode. For example, the current target event is a display event, which can be specifically the display of the browser information input interface. If the browser is not currently inputting relevant information, you can choose to hide or minimize the interface. If you reopen the interface, you need to close or minimize the interface information currently being processed, and then open the browser interface, which is cumbersome. In the embodiment of the present application, the current state of the target event can be reflected by the target button. For example, the different states of the target event can be distinguished by the display information configured by the target button in the target interaction mode, such as displaying red to indicate that the target event is currently being executed, and displaying blue to indicate that the target event is currently waiting to be executed.

[0053] Correspondingly, the target interaction mode also corresponds to the subsequent triggering mode of the target event, that is, the current state of the target event can be switched, mainly by triggering the target button to control the target event to switch from the current state to the target state. This achieves the purpose of using the target button to quickly call the target event, and solves the problem of poor experience caused by cumbersome operations.

[0054] For example, the target event is a display event, and the current state of the display event is to hide the display interface of the display event. The target button is displayed in blue to inform the user that the display event is in a hidden state. When the user clicks the target button, the display event can be triggered to switch from the hidden state to the displayed state, that is, the display interface corresponding to the display event is displayed in the display area of ​​the current electronic device.

[0055] The embodiment of the present application discloses an interactive control method, including: in response to detecting a target event, determining a target button that matches the target event; based on the current state of the target event, controlling the target button to enter a target interaction mode that matches the current state of the event. The target button has different interaction modes, which realizes that different states of the target event are reflected by the target button, and the target button can enter a target interaction mode corresponding to the target event, which realizes that the real-time state of the target event is reflected by the target button, thereby improving the experience effect.

[0056] The specific implementation of the interactive control method in the embodiment of the present application is described below.

[0057] In a scenario where a target event includes multiple sub-events, in order to facilitate real-time acquisition of the status of each sub-event and quick operation of each sub-event, a corresponding target button can be determined for each sub-event, thereby facilitating the distinction between the sub-events.

[0058] In one embodiment, when the target event includes at least two sub-events, determining the target key that matches the target event includes: determining the target key corresponding to each sub-event based on the activation sequence of each sub-event.

[0059] In this embodiment, a group of candidate keys may be prepared in advance, and then a target key matching each sub-event may be selected from the candidate keys according to the start-up order of each sub-event. The candidate keys may be keys pre-set by the current electronic device, or a group of keys selected by the user of the current electronic device. When determining the candidate keys, keys that are not frequently used by the user are usually selected, such as keys representing special symbols, or keys that do not have shortcut operations themselves. For example, the sub-event is a display event for different applications, and specifically, it may include the display of a browser page, the display of a video page, and the display of a document page. The order in which the user starts each display interface after turning on the electronic device is used as the start-up order of the sub-event. For example, if the user first starts the browser display page, then the document page, and finally the video page, the corresponding candidate keys include F1, F2, F3, F4, and F5. According to the start-up order, F1 can be obtained as the target key for the browser display event, F2 is the target key for the document page display event, and F3 is the display key for the video page. Correspondingly, the target key of each sub-event can also be determined based on the priority information of each sub-event, wherein the priority information can be the priority order for each sub-event pre-configured by the user, or the priority of each sub-event can be determined based on the information of the user's current operation. For example, if a sub-event is frequently operated, the priority of this sub-event is higher than other sub-events.

[0060] In another embodiment, the target key corresponding to each sub-event can be determined in the candidate keys based on the correspondence between the position of each sub-event in the target area and the position of the candidate keys. Wherein, the target area can be the area where each sub-event is presented, such as the area of ​​each sub-event in the target display interface of the electronic device. Specifically, it can be the area of ​​the sub-event on the desktop of the electronic device, and the area where each sub-event is presented in the taskbar through the minimization operation; it can also be an area arranged in a fixed mode through a specified operation, such as the thumbnail area of ​​each application when each sub-event is the corresponding application (APP). In this embodiment, the candidate key is the key of the keyboard area corresponding to the target area, and the target key is the key corresponding to the position of the sub-event in the target area in the candidate key.

[0061] See also Figure 2 , is a schematic diagram of the location of a sub-event and a target button provided in an embodiment of the present application. Figure 2 In the example, each sub-event corresponds to an application, for example, the sub-events include APP-01, APP-02 and APP-03, and the target area is the APP thumbnail area in the display area of ​​the electronic device, such as Figure 2 201 in which the candidate key region is a key region corresponding to the APP thumbnail region in the electronic device keyboard, such as Figure 2202 of . Figure 2 From the correspondence between the APP thumbnail area 201 and the button area 202, it can be concluded that the icon representing APP-01 corresponds to the F4 key in the button area, the icon representing APP-02 corresponds to the F5 key in the button area, and the icon representing APP-03 corresponds to the F6 key in the button area. Then, the F4 key is the target key for APP-01, the F5 key is the target key for APP-02, and the F6 key is the target key for APP-03. The state of each APP can be displayed through the target key corresponding to it, and the state of the corresponding APP can also be changed by triggering the target key.

[0062] Further, when the target interaction mode includes a target display mode, the controlling the target button to enter a target interaction mode matching the current state of the event based on the current event state of the target event includes:

[0063] Determining an event identifier corresponding to each of the sub-events;

[0064] Based on the current state of each of the sub-events, the target button is controlled to display the image corresponding to the event identifier according to the target display mode matching the current state of the event.

[0065] The event identifier of a sub-event is information used to distinguish it from other sub-events, such as the name identifier of the sub-event or the icon information of the sub-event. Specifically, if the name identifier of the sub-event includes the letter "A", the target button can display the letter "A" in the corresponding target display mode so that the user can clearly know the specific sub-event information corresponding to the target event. For another example, if the image in the icon information of the sub-event is red, the target button can be displayed in red in the corresponding target display mode.

[0066] Still Figure 2 Taking the application scenario shown as an example, if the icon of APP-01 is red, the icon of APP-02 is green, and the icon of APP-03 is yellow, after the target button corresponding to each APP is determined, the corresponding target button will be displayed in the same color as the corresponding APP icon to prompt the user of the correspondence. At this time, if the user presses the corresponding target button, the corresponding APP will be called up.

[0067] In the embodiment of the present application, not only can the state of the target event corresponding to the determined target button be displayed, such as the target button flashing indicates that the corresponding target event is being executed, such as the target button is always on indicates that the corresponding target event is in a state of waiting to be executed. The event state of the target event corresponding to the target button can also be switched, such as switching the executed state to the waiting state, and switching the waiting state to the closed state. Specifically, in response to operating the target button, the current state of the event of the target event corresponding to the target button is controlled to switch to the target state matching the operation. Performing different operations on the target button can switch the corresponding target event to different states. For example, single-clicking the target button can switch the target event to the closed state, and double-clicking the target button can call up the target event minimized to the taskbar to the current display main interface.

[0068] Because the target button usually has its own input function, in order to prevent misoperation, a trigger button can be set first, and the trigger button is used as the starting condition for starting the target button to receive the operation. The method also includes: in response to monitoring the trigger operation of the trigger button, obtaining the operation of the target button; parsing the operation to obtain the parsing result, and controlling the current state of the target event to switch to the target state matching the parsing result.

[0069] Still Figure 2 Taking the application scenario shown as an example, the trigger button can be the "Esc" button. When the user slides from the Esc button to other target buttons, the display screen of the electronic device will display the icon of the APP corresponding to each target button in the order in which the user slides to the target button. When the user stops sliding on a target button, the APP corresponding to the button will be called up. For example, when the user slides from Esc to F4, the icon of APP-01 will be displayed on the screen for 3 seconds to remind the user of the current corresponding APP. At this time, if the user lets go, APP-01 will be called up; similarly, when the user slides from Esc to F5, the icon of APP-02 will be displayed on the screen for 3 seconds to remind the user of the current corresponding APP. At this time, if the user lets go, APP-02 will be called up.

[0070] It can be seen that in Figure 2 In the application scenario shown, the icon color of the target button and the corresponding target event can be matched to facilitate subsequent user identification. When the user presses the corresponding target button, the APP corresponding to the button will switch to the target state that matches the pressing operation. It should be noted that Figure 2In the process, each APP is initially displayed in the APP thumbnail area. If the user does not use the button displayed in the thumbnail area by calling the APP, the system background will monitor whether the user clicks the trigger button. When the Esc keyboard event is received and the F4 hot key is received again within 1s, the screen shortcut menu corresponding to APP-01 is displayed on the desktop, and the operation event of the F5 target key is continued to be monitored. If not, APP-01 is called up, and so on.

[0071] In another application scenario, some target events will display a floating window on the display interface, and some status information will be displayed through the floating window. For example, if the target event is an installation event for an application, the installation progress information will be displayed through the floating window. However, the existence of the floating window will block part of the display interface, affecting the user's use. Therefore, in the embodiment of the present application, the corresponding target button can be selected to display the information in the above floating window. Since the information in the floating window is generally numerical information to be output, the target button matching the target event based on the attribute characteristics in the embodiment of the present application includes: based on the numerical characteristics of the information to be output, determining the button that can meet the numerical characteristics as the target button matching the target event, so that the output information matching the numerical characteristics is output through the target button. Further, based on the numerical characteristics of the information to be output, determining the button that can meet the numerical characteristics as the target button matching the target event includes: based on the numerical characteristics of the information to be displayed, determining a group of digital buttons as the target buttons, wherein each button in the digital buttons corresponds to the current numerical range of the numerical characteristics when outputting.

[0072] For example, the information to be output is installation progress information. As the installation time increases, the value of the information to be output will change, that is, the numerical feature gradually increases. For example, the installation progress information at the first moment is "10% installed", and the installation progress information at the second moment is "40% installed". The percentages in the installation progress can be corresponded to the number keys on the electronic device keyboard, such as number key 1 corresponds to 10%, number key 2 corresponds to 20%, ..., number key 9 corresponds to 90%. Because the range corresponding to each number key is a wider range of values, the corresponding range of values ​​can also be determined by setting the number keys to display different colors. For example, see Figure 3 , is a schematic diagram of a digital key display provided in an embodiment of the present application, in Figure 3In the figure, the solid black frame represents green, and the dotted black frame represents white. The color of the keyboard light of the number keys from 1 to 0 is white or green. White means that the percentage has not reached the value represented by this key, and green means that the percentage has reached the value represented by this key. It can also be that in the initial state, the keyboard lights from 1 to 0 are off. When the percentage reaches 10%, the keyboard light of key 1 lights up; when the percentage reaches 20%, the keyboard light of key 2 lights up, and so on.

[0073] This implementation can be applied in the application scenarios of file transfer, computer management application clearing cache information, querying processor occupancy, querying memory space usage, disk occupancy, etc., and the corresponding trigger button can also be set, that is, after being triggered by the trigger button, the corresponding numerical features are displayed through the numeric keys. For example, press the shortcut key "ctrl+fn+c" to directly display the CPU (central processing unit) occupancy through the numeric keys. In this way, when the application is executing a time-consuming task, the user can quickly know the current task progress without switching back to the corresponding application, without affecting the simultaneous processing of other tasks.

[0074] In the embodiment of the present application, in order not to change the original structure of the electronic device, the input key in the input device of the electronic device is used as the corresponding target key. Usually, the input key has a corresponding input function. In order not to affect the normal input function of the user, whether the target key executes the corresponding interaction mode can be realized based on the user's choice. That is, in response to the detection of the target event, a prompt message is generated, and the prompt message is used to prompt whether to start the target key and the target event The interactive mode that matches the target event; if the feedback information obtained based on the prompt information meets the target condition, the target key is controlled to interact according to the target interactive mode that matches the current state of the event. Among them, the target condition refers to the feedback information that satisfies the condition for starting the target key to enter the interaction. For example, when it is detected that the user has opened multiple application interfaces at the same time, a prompt message such as "whether to start the shortcut key operation" will be generated. If the user chooses to start, the corresponding target key will be matched for each application, and the state of the monitored target event will be displayed with the target key, and the event state of the target event can be changed by touching the target key.

[0075] Specifically, when the user's feedback information is received to launch a quick operation, each target button can be associated with the application in the order in which the applications are launched, and the application icon and the actual working status can be displayed on the target button. For example, different working states can be distinguished by the display brightness. At the same time, each click of the target button can adjust the status of the corresponding application, such as full-screen display status, maximized status, normal status, minimized status, etc.

[0076] In one embodiment, the interaction mode that can be implemented by the target button also includes a trigger mode, wherein determining a target button that matches the target event includes: obtaining state characteristics of the target event under different event states; determining a switching method based on the state characteristics; and determining a target button that satisfies the trigger mode corresponding to the switching method.

[0077] Because different target buttons can be displayed or triggered in different ways, for example, some target buttons can only display two colors, and some target buttons can only display one color, but have different display states, such as flashing, gradient, always on, etc. If the state feature analysis of the target event shows that the target event has many switchable modes, then the trigger mode of the target button that needs to be matched can satisfy the switching mode, that is, the target button can be triggered in more ways. Correspondingly, if the target event also has many states, it is necessary to select a button that can reflect multiple states through different display information as the target button.

[0078] In the embodiment of the present application, an interactive control method is disclosed. In response to detecting a target event, a target button matching the target event is determined; based on the current state of the target event, the target button is controlled to enter a target interaction mode matching the current state of the event. The target button has different interaction modes, which realizes that different states of the target event are reflected by the target button, and the target button can enter a target interaction mode corresponding to the target event, which realizes that the real-time state of the target event is reflected by the target button, thereby improving the experience effect.

[0079] In another embodiment of the present application, an interactive control device is also provided. Figure 4 ,include:

[0080] A determination unit 401 is used for determining a target key that matches the target event in response to monitoring the target event, wherein the target key has different interaction modes;

[0081] The control unit 402 is used to control the target button to enter a target interaction mode matching the current state of the event based on the current state of the event of the target event.

[0082] An interactive control device disclosed in an embodiment of the present application includes: a determination unit determines a target button matching the target event in response to detecting a target event; and a control unit controls the target button to enter a target interaction mode matching the current state of the event based on the current state of the target event. The target button has different interaction modes, which realizes that different states of the target event are reflected by the target button, and the target button can enter a target interaction mode corresponding to the target event, which realizes that the real-time state of the target event is reflected by the target button, thereby improving the experience effect.

[0083] In one implementation, the target event includes at least two sub-events, and the determining unit includes:

[0084] A first determining subunit, configured to determine a target key corresponding to each of the sub-events based on a start sequence of the sub-events;

[0085] or,

[0086] The second determining subunit is used to determine a target key corresponding to each of the sub-events in the candidate keys based on the corresponding relationship between the position of each of the sub-events in the target area and the position of the candidate keys.

[0087] Optionally, the target interaction mode includes a target display mode, wherein the control unit includes:

[0088] A third determining subunit, configured to determine an event identifier corresponding to each of the sub-events;

[0089] The first control subunit is used to control the target button to display the image corresponding to the event identifier according to the target display mode matching the current state of the event based on the current state of each sub-event.

[0090] Furthermore, the device also includes:

[0091] A switching control unit is used to control the current state of the target event corresponding to the target key to switch to a target state matching the operation in response to an operation on the target key.

[0092] Optionally, the determining unit includes:

[0093] A first acquisition subunit is used to acquire attribute features of the information to be output that matches the target event;

[0094] The fourth determining subunit is used to determine a target key that matches the target event based on the attribute feature.

[0095] Optionally, the attribute feature includes a numerical feature of the information to be output, wherein the fourth determining subunit is used to:

[0096] Based on the numerical feature of the information to be output, a key that can meet the numerical feature is determined as a target key that matches the target event, so that output information matching the numerical feature is output through the target key.

[0097] Further, the determining, based on the numerical feature of the information to be output, a key that satisfies the numerical feature as a target key that matches the target event includes:

[0098] Based on the numerical feature of the information to be displayed, a group of digital keys are determined as the target keys, wherein each of the digital keys corresponds to the current numerical range of the numerical feature when outputting.

[0099] Optionally, the device further comprises:

[0100] A generating unit, configured to generate prompt information in response to detecting a target event, wherein the prompt information is used to prompt whether to start an interaction mode in which a target key matches the target event;

[0101] The control unit is further configured to control the target button to interact in a target interaction mode that matches the current state of the event if the feedback information obtained based on the prompt information meets the target condition.

[0102] Optionally, the interaction mode includes a trigger mode, and the determining unit includes:

[0103] A second acquisition subunit is used to acquire state characteristics of the target event in different event states;

[0104] a fifth determining subunit, configured to determine a switching mode based on the state characteristics;

[0105] The sixth determining subunit is used to determine a target key that satisfies a trigger mode corresponding to the switching mode.

[0106] It should be noted that the specific implementation of each unit and sub-unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0107] In this embodiment, an electronic device is also provided, which can execute any of the above information processing methods. Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. It should be noted that the structure of the electronic device can be determined and combined based on a specific application scenario. Figure 5 This is just an optional example.

[0108] Specifically, Figure 5 The corresponding electronic device may include the following structure:

[0109] The memory 501 is used to store the application program and the data generated by the operation of the application program;

[0110] The processor 502 is configured to execute the application program to implement:

[0111] In response to monitoring a target event, determining a target key that matches the target event, the target key having a different interaction mode;

[0112] Based on the current state of the target event, the target button is controlled to enter a target interaction mode that matches the current state of the event.

[0113] It can be seen from the above technical solution that in an electronic device provided by an embodiment of the present application, in response to detecting a target event, a target key matching the target event is determined; based on the current state of the target event, the target key is controlled to enter a target interaction mode matching the current state of the event. Among them, the target key has different interaction modes, which realizes that different states of the target event are reflected by the target key, and the target key can enter a target interaction mode corresponding to the target event, which realizes that the real-time state of the target event is reflected by the target key, and improves the experience effect.

[0114] It should be noted that the specific implementation of the processor in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0115] Correspondingly, in an embodiment of the present invention, a storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the interactive control method as described in any one of the above items is implemented.

[0116] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0117] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0118] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0119] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An interactive control method, comprising: In response to monitoring a target event, determining a target key that matches the target event, the target key having a different interaction mode; Based on the current state of the target event, control the target button to enter a target interaction mode that matches the current state of the event, wherein the target interaction mode includes different display modes or different trigger modes; If the target event includes at least two sub-events, determining a target key matching the target event includes: Determine the target key corresponding to each of the sub-events based on the activation order of each of the sub-events; or, Based on the correspondence between the positions of each of the sub-events in the target area and the positions of the candidate keys, a target key corresponding to each of the sub-events is determined from the candidate keys.

2. The method according to claim 1, wherein the target interaction mode comprises a target display mode, wherein: The controlling the target button to enter a target interaction mode matching the current state of the event based on the current event state of the target event includes: Determining an event identifier corresponding to each of the sub-events; Based on the current state of each of the sub-events, the target button is controlled to display the image corresponding to the event identifier according to the target display mode matching the current state of the event.

3. The method according to claim 1, further comprising: In response to an operation on the target button, the current event state of the target event corresponding to the target button is controlled to switch to a target state matching the operation.

4. The method according to claim 1, wherein determining a target key that matches the target event comprises: Acquire attribute features of information to be output that matches the target event; Based on the attribute feature, a target key matching the target event is determined.

5. The method according to claim 4, wherein the attribute characteristics include numerical characteristics of the information to be output, wherein: The step of determining a target key that matches the target event based on the attribute feature includes: Based on the numerical feature of the information to be output, a key that can meet the numerical feature is determined as a target key that matches the target event, so that output information matching the numerical feature is output through the target key.

6. The method according to claim 5, wherein the step of determining, based on the numerical feature of the information to be output, a key that satisfies the numerical feature as a target key that matches the target event comprises: Based on the numerical feature of the information to be output, a group of digital keys are determined as the target keys, wherein each of the digital keys corresponds to the current numerical range of the numerical feature when outputting.

7. The method according to claim 1, further comprising: In response to detecting a target event, generating prompt information, the prompt information being used to prompt whether to start an interaction mode that matches the target key with the target event; If the feedback information obtained based on the prompt information meets the target condition, the target button is controlled to interact according to the target interaction mode matching the current state of the event.

8. The method according to claim 1, wherein the interaction mode comprises a trigger mode, and the determining a target key matching the target event comprises: Acquire state characteristics of the target event under different event states; Based on the state characteristics, determining a switching mode; Determine a target key that satisfies a trigger mode corresponding to the switching mode.

9. An interactive control device, comprising: a determination unit, configured to determine, in response to detecting a target event, a target key that matches the target event, wherein the target key has different interaction modes; A control unit, configured to control the target button to enter a target interaction mode matching the current state of the event based on the current state of the event, wherein the target interaction mode includes different display modes or different trigger modes; If the target event includes at least two sub-events, determining a target key matching the target event includes: Determine the target key corresponding to each of the sub-events based on the activation order of each of the sub-events; or, Based on the correspondence between the positions of each of the sub-events in the target area and the positions of the candidate keys, a target key corresponding to each of the sub-events is determined from the candidate keys.

Citation Information

Patent Citations

  • Portable electronic device and method for notifying state of same

    CN102119524A

  • Mobile terminal

    CN105511775A

  • Keyboard, information prompting method and storage medium

    CN112328092A