Information processing method
By obtaining parameters that characterize the computer environment and operation, and automatically determining and displaying or executing target information and events, the problem of users having difficulty selecting functions in complex functional systems is solved, and work efficiency and user experience are improved.
Patent Information
- Application Number
- CN202411217668.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-06
AI Technical Summary
In the complex computer functional system, it is difficult for users to quickly select or execute the required functions, resulting in inefficiency.
By obtaining parameters that characterize the environment and operation of the electronic device, target information and events, including target scenarios and target functions, automatically output display or execution to adapt to the device operation.
Improves the user's work efficiency in computer operations. By automatically analyzing and recommending appropriate input unit key combinations, the user's need to remember complex key combinations is reduced and the utilization rate of the keyboard Fn key is improved.
Smart Images

Figure CN119088231A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information processing technology, and in particular, relates to an information processing method. Background Art
[0002] With the rapid development of computer technology and network technology, computer functions are becoming more and more extensive, such as data processing and management, network and communication, entertainment and multimedia, scientific research and engineering calculations, business and office applications, education and learning, etc. These functions make computers an indispensable tool in modern society. How to quickly select or execute the functions required by users from the complex functional system is crucial to improving work efficiency.
[0003] Application Contents
[0004] In view of the above problems, an object of the embodiments of the present application is to provide an information processing method.
[0005] The technical solution adopted in the embodiment of the present application is:
[0006] An information processing method, comprising:
[0007] Obtaining a first parameter and / or a second parameter; the first parameter represents the environment in which the electronic device is located, and the second parameter represents the operation of the electronic device;
[0008] Determine target information based on the first parameter and / or the second parameter; the target information includes a target scene and a target event, and after the target event is executed, the operation of the electronic device can adapt to the target scene;
[0009] The output displays the target information or executes the target event.
[0010] As a preferred embodiment, obtaining the first parameter and / or the second parameter includes:
[0011] obtaining a first trigger signal;
[0012] In response to the first trigger signal indicating that the first input unit of the input device is triggered, a first parameter and / or a second parameter is obtained; the input device is an input module of the electronic device, the input device includes a plurality of input units, the first input unit is a first type input unit of the plurality of input units, and the first type input unit needs to be combined with other input units to trigger an enabling function;
[0013] The target event determined based on the parameters includes at least input unit information and function information. After the target input unit represented by the input unit information is triggered, the electronic device can execute the target function represented by the function information; the target input unit is a combination of the first input unit and other input units.
[0014] As a preferred embodiment, obtaining the first parameter and / or the second parameter includes:
[0015] obtaining a first trigger signal;
[0016] In response to the first trigger signal indicating that the second input unit of the input device is triggered, the first parameter and / or the second parameter are obtained; the input device is an input module of the electronic device, the input device includes a plurality of input units, the second input unit is a second type input unit of the plurality of input units, the second type input unit needs to be combined with other input units to trigger an enabling function and can also enable a function when triggered alone;
[0017] The output displays the target information, including:
[0018] If the operation of the electronic device cannot adapt to the target scene after the second input unit is triggered, output and display the target information;
[0019] The target event includes at least input unit information and function information. After the target input unit represented by the input unit information is triggered, the electronic device can execute the target function represented by the function information. The target input unit is a combination of other input units and the second input unit.
[0020] As a preferred embodiment, the output displays the target information, including:
[0021] If the operation of the electronic device cannot adapt to the target scene after the second input unit is triggered and the other input units are in a disabled state, the target information is output and displayed.
[0022] As a preferred embodiment, it also includes:
[0023] If the operation of the electronic device can adapt to the target scene after the second input unit is triggered;
[0024] Or, if the other input unit is in an enabled state, the target function is executed but the target information is not output or displayed.
[0025] As a preferred embodiment, after the outputting and displaying the target information, the method further comprises:
[0026] obtaining a second trigger signal;
[0027] In response to the second trigger signal indicating that the target input unit is triggered, the target function is executed.
[0028] As a preferred embodiment, the determining target information based on the first parameter and / or the second parameter includes:
[0029] The first parameter and / or the second parameter are input into a first model; the first model can predict the target scenario of the electronic device, the target input unit that should be triggered and the target function to be executed in order for the electronic device to operate in the target scenario based on the environment and / or operation status of the electronic device;
[0030] The target information output by the first model is obtained.
[0031] As a preferred embodiment, obtaining the first parameter and / or the second parameter, and determining the target information based on the first parameter and / or the second parameter includes one of the following:
[0032] In response to the first trigger signal indicating that the first input unit or the second input unit is triggered, calling the second model to control the acquisition device of the electronic device to acquire the first parameter and / or the second parameter, and processing the first parameter and / or the second parameter to output the target information;
[0033] In response to the first trigger signal indicating that the first input unit or the second input unit is triggered, the third model is called to control the acquisition device of the electronic device to acquire the first parameter and / or the second parameter, and the first parameter and / or the second parameter is input into the first model to obtain the target information output by the first model.
[0034] As a preferred embodiment, determining the target information based on the first parameter and the second parameter includes:
[0035] Determining the target scene as the brightness of the environment in which the electronic device is located is lower than a target threshold based on the first parameter, the first parameter including the ambient brightness;
[0036] Determining, based on the second parameter, that the target event is adding a target display effect on a third input unit of an input device of the electronic device, wherein the second parameter includes a device operation parameter;
[0037] The executing the target event includes:
[0038] The target display effect is added to the third input unit.
[0039] As a preferred embodiment, it includes:
[0040] Determining the target scene as the brightness of the environment in which the electronic device is located is lower than a target threshold based on the first parameter, the first parameter including the ambient brightness;
[0041] The information processing method further includes:
[0042] Obtaining a third parameter; wherein the third parameter represents a target position of the operating body on the input device of the electronic device;
[0043] Determining, based on the third parameter, that the target event is adding a target display effect to at least one fourth input unit at the target position;
[0044] The executing the target event includes:
[0045] The target display effect is added on the at least one fourth input unit.
[0046] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application.
[0047] The overview of various implementations or examples of the technology described in this application is not a comprehensive disclosure of the entire scope or all features of the disclosed technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In the drawings, which are not necessarily drawn to scale, the same reference numerals may describe similar components in different views. The drawings generally illustrate various embodiments by way of example and not limitation, and together with the specification and claims, serve to illustrate the claimed embodiments. Where appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts.
[0049] Figure 1 This is a flowchart of the information processing method according to an embodiment of the present application;
[0050] Figure 2 This is a flowchart of obtaining the first parameter and / or the second parameter in the information processing method of Embodiment 1 of the present application;
[0051] Figure 3 This is a flowchart of obtaining the first parameter and / or the second parameter in the information processing method of Embodiment 2 of the present application;
[0052] Figure 4 A flowchart of outputting and displaying the target information in the information processing method in Embodiment 1 of the present application;
[0053] Figure 5 A flowchart of outputting and displaying the target information in the information processing method in Embodiment 2 of the present application;
[0054] Figure 6 This is a flowchart of determining target information based on the first parameter and / or the second parameter in the information processing method in Embodiment 1 of the present application;
[0055] Figure 7 This is a flowchart of determining target information based on the first parameter and / or the second parameter in the information processing method of Embodiment 2 of the present application;
[0056] Figure 8 This is a flowchart of determining target information based on the first parameter and the second parameter in the information processing method in Embodiment 1 of the present application;
[0057] Fig. 9 This is a flowchart of determining target information based on the first parameter and the second parameter in the information processing method of Embodiment 2 of the present application;
[0058] Fig.10 This is a schematic diagram of an electronic device outputting and displaying the target information according to an embodiment of the present application. DETAILED DESCRIPTION
[0059] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0060] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0061] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0062] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0063] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0064] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0065] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0066] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0067] With the rapid development of computer technology and network technology, computer functions are becoming more and more extensive, such as data processing and management, network and communication, entertainment and multimedia, scientific research and engineering calculations, business and office applications, education and learning, etc. These functions make computers an indispensable tool in modern society. How to quickly select or execute the functions required by users from the complex functional system is crucial to improving work efficiency.
[0068] In order to solve the above technical problems, the present application provides an information processing method, such as Figure 1 As shown, the information processing method includes:
[0069] S100: Obtain a first parameter and / or a second parameter; the first parameter represents the environment in which the electronic device is located, and the second parameter represents the operation status of the electronic device;
[0070] In this embodiment, the first parameter used to characterize the environment of the electronic device may be characteristics such as light intensity; the second parameter used to characterize the operating status of the electronic device may be other operating parameters such as CPU temperature, fan noise and remaining battery power.
[0071] In this embodiment, the first parameter and / or the second parameter may be obtained by using a corresponding acquisition module configured in the electronic device to respectively acquire the first parameter or the second parameter. The specific type of acquisition module may be determined according to the acquired parameters.
[0072] S200: Determine target information based on the first parameter and / or the second parameter; the target information includes a target scene and a target event, and after the target event is executed, the operation of the electronic device can adapt to the target scene;
[0073] In this embodiment, the target event can be understood as an operation instruction that the electronic device needs to execute or other instructions that can trigger the electronic device to perform some specific actions, and the target scene can be understood as the surrounding environment of the electronic device.
[0074] S300: Output and display the target information or execute the target event.
[0075] In this embodiment, the output display target information can be displayed through a display terminal equipped by the electronic device itself to facilitate user viewing and operation, and can also be displayed through a display terminal configured by other devices.
[0076] The information processing method provided in this application encounters some common problems during the use of electronic devices. The electronic devices can recommend and display processing methods to users based on their specific usage conditions and / or the environmental conditions in which they are located, or automatically execute to solve the problems encountered by the electronic devices.
[0077] As an optional embodiment, Figure 2 As shown, obtaining the first parameter and / or the second parameter also includes:
[0078] S101: Obtain a first trigger signal;
[0079] The trigger signal here can be generated by a simple input action. Taking the electronic device as a laptop computer as an example, the trigger signal can be obtained by pressing a key on the keyboard, or pressing the left or right button of the mouse.
[0080] S102: In response to the first trigger signal indicating that the first input unit of the input device is triggered, obtaining a first parameter and / or a second parameter; the input device is an input module of the electronic device, the input device includes a plurality of input units, the first input unit is a first type input unit among the plurality of input units, and the first type input unit needs to be combined with other input units to trigger an enabling function;
[0081] In this embodiment, the step of obtaining the parameters is performed only after the first input unit is triggered, such as being pressed. It can be understood that when the input device is a keyboard, it may include but is not limited to a mechanical keyboard, a capacitive keyboard, a membrane keyboard, a virtual keyboard (such as a screen keyboard, a projection keyboard), etc. It should be noted that the first type of input unit can be understood as a special key that does not have any function. When the first type of input unit is triggered, the electronic device will not generate any response. When the first type of input unit is combined with other input units (which can be understood as some second type of input units with specific functions) and is triggered, the electronic device will play some new functions.
[0082] In this embodiment, the first type of input unit needs to be triggered after being combined with other input units, which can be understood as the first type of input unit and the other input units are triggered at the same time.
[0083] Specifically, in this embodiment, the electronic device is a laptop computer as an example to illustrate the above work, the input unit is a keyboard, and the input unit is a key on the keyboard. The first type of input unit can be understood as the Fn key on the keyboard. The Fn key is a modifier key used on the keyboard. Its function is mainly to determine a key with two meanings in a compact layout in a combination key manner. It can form a combination key with the F1-F12 keys on the keyboard to make up for the shortage of computer keys.
[0084] For example, use Fn+F1-F12 to achieve some other functions, such as: adjusting brightness, volume, playback control (play / pause / previous song / next song), etc.
[0085] S103: Determine target information including a target scene and a target event based on parameters, and output and display the target information; the target event at least includes input unit information and function information, and after the target input unit represented by the input unit information is triggered, the electronic device can execute the target function represented by the function information; the input unit is a combination of the first input unit and other input units.
[0086] In this embodiment, the function information can be understood as the function that can be performed after the combination of the first input unit and other input units, or what changes can be brought to the electronic device. For example, Fn+SPACE is to adjust the keyboard backlight of the electronic device, and Fn+R is to adjust the screen refresh rate of the electronic device.
[0087] When the electronic device outputs and displays the input unit information, the corresponding function information will be displayed on one side of the input unit information, such as Fn+SPACE (keyboard backlight adjustment) and other display forms, which are not specifically limited in this application.
[0088] When the first input unit of the input device is triggered, the application obtains the first parameter and / or the second parameter, and then determines and displays the target information based on the obtained parameters. This target information shows the target input unit that the user can operate, and also shows the target function performed by the electronic device after the target input unit is triggered. It is particularly suitable for some computer users to improve the operating efficiency of the electronic device by operating the Fn combination key. For example, after adopting the information processing method of the application, the user does not need to remember the complex Fn hotkey combination. The user can press the Fn key at any time. The system automatically analyzes the computer's usage and environmental factors, and automatically presents the Fn combination key, which improves the utilization rate of the keyboard Fn key.
[0089] As an optional embodiment, Figure 3 As shown, obtaining the first parameter and / or the second parameter also includes:
[0090] S104: Obtaining a first trigger signal;
[0091] S105: In response to the first trigger signal indicating that the second input unit of the input device is triggered, obtaining the first parameter and / or the second parameter; the input device is an input module of the electronic device, the input device includes a plurality of input units, the second input unit is a second type input unit among the plurality of input units, the second type input unit needs to be combined with other input units to trigger an enabling function and can also enable a function when triggered alone;
[0092] In this embodiment, the second type of input unit used to trigger and generate the first trigger signal needs to be combined with other input units to trigger the enabling function and can also be triggered alone. It can be understood that triggering the second type of input unit alone can play the first function, and the second type of input unit combined with other input units can play the second function. The first function and the second function are different.
[0093] For example, the function keys on a computer keyboard, namely F1 to F10, in some devices, the function of F1 is that if you are in a selected program and need help, then press F1. If you are not in any program now, but in the Explorer or desktop, then press F1 to display the Windows help program. The functions of the above F1 to F10 will not be introduced one by one, and the functions of different devices may be different.
[0094] S106: Determine target information including a target scene and a target event based on the parameters; the target event at least includes input unit information and function information, and after a target input unit represented by the input unit information is triggered, the electronic device can execute a target function represented by the function information, and the target input unit is a combination of other input units and the second input unit;
[0095] S107: if the operation of the electronic device cannot adapt to the target scene after the second input unit is triggered, output and display the target information;
[0096] Specifically, in this embodiment, assuming that the target scene is when the ambient light is weak, after the F1 key is triggered alone, the electronic device only performs the function of appearing the windows help program, rather than increasing the brightness of the screen. Therefore, after the second input unit is triggered, the operation of the electronic device cannot adapt to the target scene. In this case, it means that the user may not want to trigger the F1 key, but the combination key associated with the F1 key, such as "Fn+F1", then "Fn+F1" will be output to the user, prompting the user that the input may be wrong.
[0097] On this basis, after seeing the screen prompt, the user will realize that he has made an error in input and may enter the correct function key again. If the device recommends "Fn+F1" to adjust the screen brightness, the user will directly press "Fn+F1" after judgment. If the device recommends "Fn+F1" not to adjust the screen brightness, the user will press the combination key to adjust the screen brightness, such as "Fn+Spacebar". Of course, it is understandable that in order to further improve the user experience, the device needs to output the target information only when it determines that the function corresponding to the recommended combination key matches the target scene. In this way, the user can achieve the desired effect by only pressing the combination key displayed on the screen.
[0098] In addition, when the device determines that the function corresponding to the recommended key combination does not match the target scene, it can further determine and output the function key that matches the target scene, so that the user can achieve the desired effect by only pressing the key combination displayed on the screen. For example, suppose that the key that can be used to adjust the screen brightness is "Fn+Spacebar". After the second input unit is triggered and the operation of the electronic device cannot adapt to the target scene, the electronic device will output the display target information, that is, display Fn+Spacebar to adjust the screen brightness. Fig.10 As shown, the user is reminded that they should trigger the Fn+Spacebar key combination to adjust the screen brightness.
[0099] As an optional embodiment, Figure 4 As shown, the output displays the target information, including:
[0100] S301: If the operation of the electronic device cannot adapt to the target scene after the second input unit is triggered and the other input units are in a disabled state, output and display the target information.
[0101] In this embodiment, assuming that the target scene is that the ambient light is weak, the F1 key cannot adjust the screen brightness when pressed, and the combination key formed by Fn+F1 (i.e., input combination unit information) can be used to adjust the screen brightness. If it is detected that Fn is in a disabled state at this time, then the device infers that the user actually wants to trigger the combination key formed by Fn+F1, but the user may not have enabled the Fn key. Therefore, it is necessary to output the target information on the screen to prompt the user to press "Fn+F1".
[0102] As an optional embodiment, outputting and displaying the target information further includes:
[0103] S302: If the operation of the electronic device can adapt to the target scene after the second input unit is triggered, the target function is executed but the target information is not output or displayed;
[0104] S303: If other input units are in an enabled state, the target function is executed but the target information is not output or displayed.
[0105] Specifically, in this embodiment, assuming that the target scene is that the ambient light is weak, the F1 key can be pressed to adjust the screen brightness. At this time, the function corresponding to the F1 key can be directly executed without other operations. In another scenario, when Fn is enabled, if the user only presses the F1 key, then the function corresponding to the F1 key can be directly executed without other operations. Because when the user enables the Fn key, if the user does not press the Fn key but only presses the F1 key, it can be considered that the user wants to execute the function of the F1 key, rather than the combination key function formed by Fn+F1.
[0106] As an optional embodiment, Figure 5 As shown, after outputting and displaying the target information, it also includes:
[0107] S400: Obtain a second trigger signal;
[0108] S500: In response to the second trigger signal indicating that the target input unit is triggered, execute the target function.
[0109] In this embodiment, the second trigger signal can be obtained by the user pressing a physical key such as a computer keyboard according to the displayed target input unit, thereby simultaneously triggering a combination key formed by the first type of input unit and the other input units or a combination key formed by the second type of input unit and the other input units.
[0110] Of course, in some other embodiments, virtual keys can also be called up at the bottom of the screen of the electronic device, and the user can control the mouse to move the pointer on the screen and click on the virtual key to trigger a combination key formed by the first type of input unit and the other input unit or a combination key formed by the second type of input unit and the other input unit.
[0111] As an optional embodiment, Figure 6 As shown, determining target information based on the first parameter and / or the second parameter includes:
[0112] S201: inputting the first parameter and / or the second parameter into a first model; the first model can predict the target scenario of the electronic device, the input unit that should be triggered and the function to be executed in order for the electronic device to operate in the scenario based on the environment and / or operation status of the electronic device;
[0113] In this embodiment, the first model can generate models, including but not limited to large models or large language models, which are deep learning models with huge parameter amounts, usually containing billions or even trillions of parameters. These models are pre-trained on massive data through the paradigm of "large-scale pre-training + fine-tuning", and then fine-tuned according to specific tasks to adapt to different application scenarios.
[0114] Specifically, in this embodiment, we can analyze the relevant characteristics of existing combination keys (hot keys). Since there are many combination keys (hot keys), we can analyze some popular combination keys (hot keys) to illustrate the process and identify the relevant factors of each combination key (hot key). For example, the key factor corresponding to the Fn+Space combination key is X. ambient_light : Ambient light changes, X keyboard_type : Is it an RGB keyboard? X mode : Office, Games, Multimedia, Meetings, Learning; The key factor corresponding to the Fn+Q key combination is X mode : Office, Games, Multimedia, Meetings, Study, X cpu_temperature :CPU temperature, X fan_speed :Fan speed, X fan_noise :Fan noise, X battery_remaining : Remaining battery power; the key factor corresponding to the Fn+M key combination is X mode : Office, Games, Multimedia, Meetings, Study, X touchpad : Keyboard input and touchpad touch occur almost simultaneously; the key factor corresponding to the Fn+N key combination is X service : The user has visited the service webpage or inquired about the service phone number; the key factor corresponding to the Fn+R key combination is X mode :Whether it is a game scene, a high refresh rate can greatly improve the smoothness and response speed of the picture, especially for game players, so that they can better enjoy the fun of the game.
[0115] The above-identified related factors are used as the first parameter and / or the second parameter as the model input, including ambient light changes, keyboard type, machine mode, CPU temperature, fan speed, fan noise, battery remaining power and service requirements. The model output includes the expected mode of the device at a certain time: Y mode ; Expected ambient light change: Y ambient_light , Estimated touchpad mistouch frequency or usage requirements: Y touchpad_usage , Estimated touchpad mistouch frequency or usage requirements: Y touchpad_usage , Estimated refresh rate preference: Y refresh_rate, Estimated refresh rate preference: Y refresh_rate 、Expected power mode: Y power_mode And expected service demand: Y service .
[0116] In this way, when the user presses the Fn key, the key factors are input into the model as input parameters. After analysis, the model outputs a suitable key combination and displays it on the user's screen for the user to trigger. This can improve the accuracy of recommendations for users.
[0117] S202: Obtain the target information output by the first model.
[0118] As an optional embodiment, Figure 7 As shown, obtaining the first parameter and / or the second parameter, and determining the target information based on the first parameter and / or the second parameter includes one of the following:
[0119] S203: in response to the first trigger signal indicating that the first input unit or the second input unit is triggered, calling the second model to control the acquisition device of the electronic device to acquire the first parameter and / or the second parameter, and processing the first parameter and / or the second parameter to output the target information;
[0120] Different from the first model in the above embodiment, in this embodiment, the second model can not only process the first parameter and output the target information, but also control the electronic device to automatically collect the first parameter and / or the second parameter.
[0121] S204: In response to the first trigger signal indicating that the first input unit or the second input unit is triggered, the third model is called to control the acquisition device of the electronic device to acquire the first parameter and / or the second parameter, and the first parameter and / or the second parameter is input into the first model to obtain the target information output by the first model.
[0122] Different from the first model in the above embodiment, in this embodiment, the third model and the first model have different functions. When the electronic device responds to the first trigger signal, the third model controls the electronic device to collect the first parameter and / or the second parameter, and then inputs the collected first parameter and / or the second parameter into the first model, and outputs the target information through the first model.
[0123] With the popularity of electronic devices, keyboards are important devices for human-computer interaction, and their backlight design provides great convenience for users to use the keyboard in dim environments. However, most existing keyboard backlight control systems only rely on the brightness of ambient light to decide whether to turn on the backlight, lacking consideration of user usage scenarios and habits, resulting in poor user experience.
[0124] In order to solve the above problem, as an optional embodiment, Figure 8 As shown, determining target information based on the first parameter and the second parameter includes:
[0125] S500: Determine, based on a first parameter, that the target scene is a scene in which the brightness of an environment in which the electronic device is located is lower than a target threshold, wherein the first parameter includes the brightness of the environment;
[0126] In this embodiment, the electronic device may obtain the first parameter through a light sensing module or other sensors that can be used to sense the brightness of the surrounding environment.
[0127] In this embodiment, the target threshold value can be determined according to specific working conditions.
[0128] S501: Determine, based on a second parameter, that the target event is to add a target display effect on a third input unit of an input device of the electronic device, wherein the second parameter includes a device operation parameter;
[0129] In this embodiment, the target display effect may be turning on the backlight on the third input unit or other identification that allows the user to accurately identify the third input unit and turn it on or off.
[0130] S502: The executing the target event includes: adding the target display effect on the third input unit.
[0131] The information processing method of the present application can automatically add a target display effect to the third input unit according to the ambient brightness of the laptop computer and its own operating parameters, so that the user can clearly perceive the position of the input unit to be triggered before inputting, thereby improving the user experience.
[0132] When a user is using a computer, the computer can increase the brightness of the third input unit or turn on the backlight based on the specific ambient brightness, for example, when the computer's surrounding brightness is detected to be low, so that the user can identify the third input unit.
[0133] Alternatively, the computer can add a target display effect to the Enter key (third input unit) or the Space key (third input unit) based on its specific operating conditions. For example, when the computer is running a word file, when the computer detects or estimates that the user is about to perform an Enter operation or a Space operation, the computer can add a target display effect to the Enter key (third input unit) or the Space key (third input unit).
[0134] As an optional embodiment, Fig. 9 As shown, the information processing method of the present application also includes:
[0135] S601: Obtain a third parameter; the third parameter represents a target position of the operating body on the input device of the electronic device;
[0136] In this embodiment, the third parameter may specifically be to detect whether the user's hand is operating above the input device. The electronic device may obtain the third parameter through other sensors such as a hand sensing module that can detect whether the user's hand is operating.
[0137] S602: Determine, based on the third parameter, that the target event is to add a target display effect to at least one fourth input unit at the target position;
[0138] S603: The executing the target event includes adding the target display effect on the at least one fourth input unit.
[0139] In this embodiment, adding the target display effect to the at least one fourth input unit can be understood as: when the electronic device identifies which fourth input unit the user wants to trigger, the target display effect can be added to the fourth input unit to be triggered. Alternatively, if the electronic device cannot identify which specific fourth input unit to trigger, the target display effect can be added to several fourth input units contained in the area corresponding to the operating body on the keyboard, so as to facilitate the user to identify and trigger.
[0140] In addition, in some embodiments, determining the target event based on the third parameter may further include inputting the parameter into a fourth model, and the fourth model may determine whether to add a target display effect to the input unit according to the ambient brightness and the user's usage scenario (game, video, document editing, etc.). If necessary, the target display effect is added to the input unit; if not, the target display effect is not added to the input unit.
[0141] Specifically, considering the complexity, training time and interpretability of the fourth model, a relatively simple logistic regression model is used to predict whether to add a target display effect to the input unit. Logistic regression is a generalized linear regression model used to solve binary classification problems. It makes predictions by calculating the probability of a certain result occurring under given input features.
[0142] The input of the logistic regression model includes the following parameter keys: kb_val , button position: X kb_position , ambient light intensity: X light_intensity , key press time: X kb_input_time , Type of currently activated application: X app_type , Is the backlight on: X kbl_onoff :, through the above parameter input, after a period of user habit learning, when it is sensed that the operating body is close to the keyboard, the model will predict whether to increase the probability of the target display effect for the fourth input unit.
[0143] In a logistic regression model, the output is usually a probability value. The default threshold is set to 0.5 at the factory, that is, if the probability predicted by the model is greater than or equal to 0.5, we consider that the event has occurred. In the implementation, a sensitivity scale (default 0.5) can be set to allow the user to adjust it, and remind the user that the smaller the value, the higher the frequency of the fourth input unit increasing the target display effect, and vice versa.
[0144] For example, the hand sensing module senses the user's hand on the keyboard, and the light sensing module senses the ambient brightness. After receiving these two pieces of information, the control system of the electronic device combines the current user usage scenario (games, videos, document editing, etc.) and inputs them into a pre-trained logistic regression model. The model predicts whether the user needs a backlight based on this information. If necessary, the control system turns on the backlight module; if not, it remains off.
[0145] In this way, a model that can predict whether a user needs a backlight is trained through user data, such as keyboard operation frequency, ambient light changes, and the position of the user's hand on the keyboard. Through continuous learning and optimization, the model can more accurately predict user needs. When a human hand is detected, the backlight of the corresponding key position is intelligently turned on (if the system does not support the lighting of the key position, the entire backlight is turned on). According to the user's usage scenarios and habits, combined with ambient light, the keyboard backlight is intelligently predicted and controlled to turn on and off, which greatly improves the user experience while saving energy and protecting the environment.
[0146] The above description is intended to be illustrative rather than restrictive, and those skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present disclosure. Moreover, the above examples (or one or more of them) may be used in combination with each other, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations.
Claims
1. An information processing method, include: Obtaining a first parameter and / or a second parameter; The first parameter represents the environment in which the electronic device is located, and the second parameter represents the operation status of the electronic device; determining target information based on the first parameter and / or the second parameter; The target information includes a target scene and a target event, and after the target event is executed, the operation of the electronic device can adapt to the target scene; The output displays the target information or executes the target event.
2. The information processing method according to claim 1, obtaining the first parameter and / or the second parameter, include: obtaining a first trigger signal; In response to the first trigger signal indicating that the first input unit of the input device is triggered, a first parameter and / or a second parameter is obtained; the input device is an input module of the electronic device, the input device includes a plurality of input units, the first input unit is a first type input unit of the plurality of input units, and the first type input unit needs to be combined with other input units to trigger an enabling function; The target event determined based on the parameters includes at least input unit information and function information. After the target input unit represented by the input unit information is triggered, the electronic device can execute the target function represented by the function information; the target input unit is a combination of the first input unit and other input units.
3. The information processing method according to claim 1, obtaining the first parameter and / or the second parameter, include: obtaining a first trigger signal; In response to the first trigger signal indicating that the second input unit of the input device is triggered, the first parameter and / or the second parameter are obtained; the input device is an input module of the electronic device, the input device includes a plurality of input units, the second input unit is a second type input unit of the plurality of input units, the second type input unit needs to be combined with other input units to trigger an enabling function and can also enable a function when triggered alone; The output displays the target information, including: If the operation of the electronic device cannot adapt to the target scene after the second input unit is triggered, output and display the target information; The target event includes at least input unit information and function information. After the target input unit represented by the input unit information is triggered, the electronic device can execute the target function represented by the function information. The target input unit is a combination of other input units and the second input unit.
4. The information processing method according to claim 3, wherein the output displays the target information. include: If the operation of the electronic device cannot adapt to the target scene after the second input unit is triggered and the other input units are in a disabled state, the target information is output and displayed.
5. The information processing method according to claim 3, further comprising: include: If the operation of the electronic device can adapt to the target scene after the second input unit is triggered; Or, if the other input unit is in an enabled state, the target function is executed but the target information is not output or displayed.
6. The information processing method according to any one of claims 2 to 4, wherein after outputting and displaying the target information, include: obtaining a second trigger signal; In response to the second trigger signal indicating that the target input unit is triggered, the target function is executed.
7. The information processing method according to any one of claims 2 to 5, wherein the target information is determined based on the first parameter and / or the second parameter. include: inputting the first parameter and / or the second parameter into a first model; The first model can predict the target scenario for the operation of the electronic device, the target input unit that should be triggered and the target function that should be executed in order for the electronic device to operate in the target scenario based on the environment and / or operation status of the electronic device; The target information output by the first model is obtained.
8. The information processing method according to any one of claims 2 to 5, wherein obtaining the first parameter and / or the second parameter, and determining the target information based on the first parameter and / or the second parameter comprises one of the following: In response to the first trigger signal indicating that the first input unit or the second input unit is triggered, calling the second model to control the acquisition device of the electronic device to acquire the first parameter and / or the second parameter, and processing the first parameter and / or the second parameter to output the target information; In response to the first trigger signal indicating that the first input unit or the second input unit is triggered, the third model is called to control the acquisition device of the electronic device to acquire the first parameter and / or the second parameter, and the first parameter and / or the second parameter is input into the first model to obtain the target information output by the first model.
9. The information processing method according to claim 1, determining target information based on the first parameter and the second parameter, include: Determining the target scene as the brightness of the environment in which the electronic device is located is lower than a target threshold based on the first parameter, the first parameter including the ambient brightness; Determining, based on the second parameter, that the target event is adding a target display effect on a third input unit of an input device of the electronic device, wherein the second parameter includes a device operation parameter; The executing the target event includes: The target display effect is added to the third input unit.
10. The information processing method according to claim 1, obtaining a first parameter, include: Determining the target scene as the brightness of the environment in which the electronic device is located is lower than a target threshold based on the first parameter, the first parameter including the ambient brightness; The information processing method further includes: Obtaining a third parameter; wherein the third parameter represents a target position of the operating body on the input device of the electronic device; Determining, based on the third parameter, that the target event is adding a target display effect to at least one fourth input unit at the target position; The executing the target event includes: The target display effect is added on the at least one fourth input unit.
