Key control method and device, computer equipment, electrical equipment and storage medium

By acquiring and displaying the rice cooker's custom key database, the problem of misoperation caused by the rice cooker's memory function is solved, enabling more intuitive function settings and operations for the user, and improving the user experience.

CN118733831AInactive Publication Date: 2024-10-01GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410770661.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The memory function of the rice cooker can easily lead to misoperation by the user, especially when the user habitually presses the ‘OK/Start’ button, causing the function settings to not meet actual needs.

Method used

By obtaining the custom key database, determining whether the custom key has a mapping value, and displaying the corresponding content on the display, the user can understand the last used function and avoid misoperation; at the same time, the user can perform operations through the mapping value of the custom key Corresponding control program operation reduces the number of key presses for function selection.

Benefits of technology

It effectively avoids misoperations caused by users' habitual button pressing, improves user experience, and simplifies the function selection process, allowing users to understand and use the rice cooker's function settings more intuitively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733831A_ABST
    Figure CN118733831A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electrical equipment, and discloses a key control method and device, computer equipment, electrical equipment and a storage medium, and the key control method comprises the following steps: when the electrical equipment is started, obtaining a user-defined key database; judging whether the user-defined key has a mapping value or not according to the user-defined key database; and when the user-defined key has the mapping value, replacing the display content identifying the user-defined key in the display screen with the content related to the mapping value. Therefore, after the electrical equipment is started, a user can know the mapping value of the user-defined key at the moment through the display content of the user-defined key in the display screen, and misoperation caused by the fact that the user mistakenly adopts a control program corresponding to the mapping value of the user-defined key to control the electrical equipment is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical equipment, and in particular to a key control method, device, computer equipment, electrical equipment and storage medium. Background Art

[0002] At present, some rice cookers have introduced a memory function to match user habits and reduce the number of button presses for function selection. That is, the function used last is memorized and automatically preset to that function the next time the rice cooker is turned on. The user only needs to press the "OK / Start" button to start cooking. However, the problem with this solution is that when the user uses a popular function, the rice cooker will remember and set it to the popular function the next time it is turned on. If the user is not careful, he or she may habitually press the "OK / Start" button, resulting in misoperation. Summary of the invention

[0003] In view of this, the present invention provides a key control method, device, computer equipment, electrical equipment and storage medium to solve the problem that the memory function of the current rice cooker is prone to misoperation.

[0004] In a first aspect, the present invention provides a key control method, which includes the following steps: when the electrical device is turned on, obtaining a custom key database; judging whether there is a mapping value for the custom key based on the custom key database; when the custom key has a mapping value, replacing the display content identifying the custom key in the display screen with content related to the mapping value.

[0005] The key control method provided by the present invention obtains a custom key database when the electrical device is turned on; determines whether a mapping value exists for the custom key according to the custom key database; and when a mapping value exists for the custom key, replaces the display content identifying the custom key in the display screen with content related to the mapping value. Thus, when the electrical device is turned on, the user can know the mapping value of the custom key at this time through the display content of the custom key in the display screen. When the electrical device memorizes the function last used by the electrical device through the mapping function of the custom key, if the function last used by the electrical device is an unpopular function, the user can know the function last used by the electrical device according to the display content of the custom key. If the function last used is not needed to work this time, the custom key can be not triggered, thereby avoiding the user's habitual pressing of the "OK / Start" key to cause erroneous operation. It should be noted that the custom key can memorize the function last used by the electrical device through the mapping function, and can also memorize the function specified by the user and required to be memorized through the mapping function.

[0006] In an optional implementation, the key control method further includes the following steps: when a trigger operation on a custom key is received, executing a control program corresponding to the mapping value.

[0007] The key control method provided by the present invention can not only display the mapping value of the custom key to avoid misoperation; but also when the user needs to use the mapping value of the custom key to work, the control program corresponding to the mapping value of the custom key can be used to control the electrical equipment, thereby reducing the number of key presses for user function selection and improving the user experience.

[0008] In an optional implementation, the key control method further includes the following steps: when a mapping instruction for a custom key is received, obtaining a target value; and using the target value as the mapping value and saving it in the custom key database.

[0009] That is, when a mapping instruction for a custom key is received, the target value can be used as the mapping value and saved in the custom key database, so that when the electrical device is turned on next time, the display content identifying the custom key in the display screen can be replaced with content related to the mapping value. In an optional embodiment, when a mapping instruction for a custom key is received, obtaining the target value includes: when a mapping instruction for a custom key is received, obtaining a trigger key before receiving the mapping instruction; determining a key value corresponding to the trigger key; and using the key value corresponding to the trigger key as the target value.

[0010] When a mapping instruction for a custom key is received, the target value can be determined conveniently and accurately.

[0011] In an optional implementation, after mapping the target value to the custom key, the method further includes: replacing the display content of the custom key in the display screen with content related to the target value.

[0012] That is to say, after the target value is mapped to the custom key, the display content of the custom key in the display screen is replaced with content related to the target value. In this way, the user can know that the custom key has been mapped and the mapping value of the custom key through the display content of the custom key in the display screen, thereby improving the user experience.

[0013] In the second aspect, the present invention also provides a key control device, which includes an acquisition module, a judgment module and a display module. The acquisition module is used to acquire a custom key database when the electrical device is turned on; the judgment module is used to judge whether there is a mapping value for the custom key based on the custom key database; the display module is used to replace the display content of the custom key in the display screen with content related to the mapping value when the custom key has a mapping value.

[0014] In a third aspect, the present invention further provides a computer device, comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the key control method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0015] In a fourth aspect, the present invention further provides an electrical device, including the computer device of the third aspect.

[0016] In a fifth aspect, the present invention further provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the key control method of the first aspect or any corresponding embodiment thereof.

[0017] In a sixth aspect, the present invention further provides a computer program product, comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the key control method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 is a flow chart of a key control method according to an embodiment of the present invention;

[0020] Figure 2 is a flow chart of another key control method according to an embodiment of the present invention;

[0021] Figure 3 is a flow chart of another key control method according to an embodiment of the present invention;

[0022] Figure 4 is a flow chart of another key control method according to an embodiment of the present invention;

[0023] Figure 5 is a flow chart of an example of a key control method according to an embodiment of the present invention;

[0024] Figure 6 is a schematic diagram of an initial display interface of an electric rice cooker according to an embodiment of the present invention;

[0025] Figure 7 is a schematic diagram of a custom process of an electric rice cooker according to an embodiment of the present invention;

[0026] Figure 8 is a schematic diagram of a display interface of an electric rice cooker after customization according to an embodiment of the present invention;

[0027] Fig. 9 is a structural block diagram of a key control device according to an embodiment of the present invention;

[0028] Fig.10 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0030] According to an embodiment of the present invention, a key control method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0031] In this embodiment, a key control method is provided, which can be used in computer equipment. Figure 1 is a flow chart of a key control method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0032] Step S101: when the electrical device is turned on, a custom key database is obtained.

[0033] A custom key and a custom key database are added to the electrical device, wherein the custom key database can be empty or can store a mapping value of the custom key (ie, the custom key has an assignment), and the stored mapping value of the custom key can be adjusted. For example, the custom database can be stored in a data storage module of a computer device.

[0034] Specifically, by mapping the function of the electrical device when it was last used to the custom key, that is, saving the function of the electrical device when it was last used in the custom key database, the electrical device can remember the function when it was last used.

[0035] By mapping the function to be memorized to the custom key, that is, saving the function to be memorized in the custom key database, the electrical device can memorize the function to be memorized.

[0036] That is to say, the custom key can memorize the function used last time on the electrical device through the mapping function, and can also memorize the function specified by the user and needs to be memorized through the mapping function.

[0037] Step S102: Determine whether a mapping value exists for the custom key according to the custom key database.

[0038] Specifically, if the custom key database is empty, then the custom key has a mapping value; if the custom key database stores a mapping value, then the custom key has a mapping value.

[0039] For example, when the electrical appliance is an electric rice cooker, the mapping value can reflect the cooking function, such as "quick cooking", "fine cooking", "wood-cooked rice", etc.; it can also reflect the taste, such as "hard", "moderate", "soft", etc.; it can also reflect the type of rice, such as "long-grain rice", "short-grain rice", etc.

[0040] Step S103: When a mapping value exists for the custom key, the display content identifying the custom key in the display screen is replaced with content related to the mapping value.

[0041] Specifically, when the custom key database is empty, the display content of the custom key in the display screen is custom; when the custom key database stores a mapping value, the display content of the custom key in the display screen is content related to the mapping value.

[0042] For example, after the electrical device is turned on, the assignment of the custom key is obtained from the data storage module. If there is an assignment, an instruction is sent to the display control module to display the custom key as the function; if there is no assignment, it will display custom. When it is detected that the user presses the custom key, the heating control module can directly perform heating according to the corresponding logic without the need to select a function, thereby improving the user experience.

[0043] The key control method provided by the embodiment of the present invention obtains a custom key database when the electrical device is turned on; determines whether a mapping value exists for the custom key according to the custom key database; and when a mapping value exists for the custom key, replaces the display content identifying the custom key in the display screen with content related to the mapping value. Thus, after the electrical device is turned on, the user can know the mapping value of the custom key at this time through the display content of the custom key in the display screen. When the electrical device memorizes the function last used by the electrical device through the mapping function of the custom key, if the function last used by the electrical device is an unpopular function, the user can know the function last used by the electrical device according to the display content of the custom key. If the function used last time is not needed to work this time, the custom key can be not triggered, thereby avoiding the user's habitual pressing of the "OK / Start" key to cause misoperation.

[0044] It should be noted that in some electrical appliances (such as rice cookers), although the custom key can memorize the functions specified by the user and need to be memorized, after the custom key is mapped, the display content of the custom key in the display screen is still custom. Therefore, when the user has not used the electrical appliance for a long time, or the electrical appliance is used by other people, the user cannot know the function of the custom key memory, which causes trouble to the user. In the embodiment of the present invention, when the electrical appliance is turned on, by obtaining the custom key database, it can be determined whether the custom key has a mapping value according to the custom key database. When the custom key has a mapping value, the display content identifying the custom key in the display screen is replaced with content related to the mapping value; thus, the user can know the mapping value of the custom key at this time through the display content of the custom key in the display screen, so that when the user has not used the electrical appliance for a long time, or the user is changed, the current user of the electrical appliance can still obtain the mapping value of the custom key at this time, thereby improving the user experience.

[0045] In this embodiment, a key control method is provided, which can be used in computer equipment. Figure 2 is a flow chart of another key control method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0046] Step S201: When the electrical device is turned on, obtain the custom key database. Figure 1 Step S201 of the illustrated embodiment will not be described in detail here.

[0047] Step S202: Determine whether a mapping value exists for the custom key according to the custom key database. Figure 1 Step S201 of the illustrated embodiment will not be described in detail here.

[0048] Step S203: When a mapping value exists for a custom key, replace the display content identifying the custom key in the display screen with content related to the mapping value. Figure 1 Step S201 of the illustrated embodiment will not be described in detail here.

[0049] Step S204: When a trigger operation on a custom key is received, a control program corresponding to the mapping value is executed.

[0050] That is to say, after the user can know the mapping value of the custom key through the display content of the custom key on the display screen, the user can determine whether to use the mapping value of the custom key for cooking according to actual needs. When a trigger operation on the custom key is received, it can be determined that the user uses the mapping value of the custom key for cooking. At this time, the control program corresponding to the mapping value of the custom key can be used to control the electrical equipment.

[0051] The key control method provided in the embodiment of the present invention can not only display the mapping value of the custom key to avoid misoperation; but also when the user needs to use the mapping value of the custom key to work, the control program corresponding to the mapping value of the custom key can be used to control the electrical equipment, thereby reducing the number of key presses for user function selection and improving the user experience.

[0052] In this embodiment, a key control method is provided, which can be used in computer equipment. Figure 3 FIG. 1 is a flow chart of another key control method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0053] Step S301: when a mapping instruction for a custom key is received, a target value is obtained.

[0054] Specifically, the target value can be obtained by selecting buttons on the display screen of the rice cooker. For example, the buttons on the display screen of the rice cooker may include buttons reflecting cooking functions, such as "quick cooking", "fine cooking", "firewood rice", etc.; buttons reflecting taste, such as "hard", "moderate", "soft", etc.; buttons reflecting rice types, such as "long-grain rice", "short-grain rice", etc.

[0055] Step S302: Map the target value to the custom key, and save the target value as the mapping value in the custom key database.

[0056] The target value is mapped to the custom key, that is, the target value is used as the execution function of the custom key. When the user triggers the custom key, the control program corresponding to the target value is executed.

[0057] Step S303: When the electrical device is turned on, obtain the custom key database. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0058] The above steps S301 to S302 may be steps executed during the last working process of the electrical device; steps S303 to S306 may be considered as the current working process of the electrical device.

[0059] It should be noted that the user can map the custom keys before the electrical device starts working, during the working process of the electrical device, or after the electrical device starts working.

[0060] Step S304: Determine whether a mapping value exists for the custom key according to the custom key database. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0061] Step S305: When a mapping value exists for a custom key, replace the display content identifying the custom key in the display screen with content related to the mapping value. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0062] Step S306: When a trigger operation on a custom key is received, a control program corresponding to the mapping value is executed. Figure 2 Step S204 of the illustrated embodiment will not be described in detail here.

[0063] The key control method provided in the embodiment of the present invention can obtain the mapping value of the custom key (which can be the function used last time by the electrical device, or a function specified by the user that needs to be remembered) through the display content of the custom key in the display screen. If the mapping value of the custom key is an unpopular function, the user can know the mapping value of the custom key based on the display content of the custom key. If the mapping value of the custom key is not needed to work this time, the custom key can be not triggered. This can avoid the user's habitual pressing of the "OK / Start" key to cause erroneous operation. It can also ensure that when the user has not used the electrical device for a long time or has changed the user, the current user of the electrical device can still obtain the mapping value of the custom key, thereby improving the user experience.

[0064] In this embodiment, a key control method is provided, which can be used in computer equipment. Figure 4 is a flowchart of another key control method according to an embodiment of the present invention. Figure 5 FIG. 1 is a flow chart of an example of a key control method according to an embodiment of the present invention. Figure 4 and Figure 5 As shown, the process includes the following steps:

[0065] Step S401: when a mapping instruction for a custom key is received, a target value is obtained.

[0066] In an optional implementation, when a mapping instruction for a custom key is received, obtaining a target value includes the following steps:

[0067] Step S4011: when a mapping instruction for a custom key is received, the trigger key before the mapping instruction is received is obtained.

[0068] Figure 6 1 is an example schematic diagram of an initial display interface of an electric rice cooker according to an embodiment of the present invention. When a user turns on the electric rice cooker, the initial display interface of the electric rice cooker is as follows: Figure 6 As shown, at this time, the custom key has no value assigned, and the text of the custom key on the display screen is displayed as custom.

[0069] When the user needs to map functions (here we take the soup-making function as an example), Figure 7 As shown, the following operations can be performed: Use the "<" and / or ">" arrow keys to adjust the function to "cook soup", at which time the LED flashes, indicating that it is in "cook soup" mode, and long press the "Function" key and the "Custom" key for a preset number of seconds. When the computer device receives an instruction to long press the "Function" key and the "Custom" key for a preset number of seconds, it can be considered that a mapping instruction for the custom key has been received. Further, when the user long presses the "Function" key and the "Custom" key for a preset number of seconds, it is necessary to obtain the trigger key of the user before receiving the mapping instruction, that is, Figure 7 That is, when the user wants to map a value to a custom key, first adjust the target value through the regular function selection menu, and then press the "Function" key and the "Custom" key at the same time for the preset seconds to complete the mapping.

[0070] It should be noted that when the user switches the function to "make soup" through the "<" and / or ">" direction keys, it is possible that the user needs to make soup, or it is possible that the user needs to map a custom key. Therefore, it is necessary to distinguish whether the user needs to make soup or map a custom key through different operations of the user on the display screen. For example, when the user short presses the "Start" button, it can be considered that the user needs to make soup; when the user long presses the "Function" key and the "Custom" key at the same time for a preset number of seconds, it can be considered that the user needs to map a custom key. It should be noted that the operation that needs to be mapped to the custom key can be changed according to the actual situation to better suit the user's operating habits, such as double-clicking a single key or short pressing a single key, and is not limited to the long press of a combination key.

[0071] Step S4012: Determine the key value corresponding to the trigger key.

[0072] As described above, when the user presses the "Function" key and the "Custom" key for a preset number of seconds, it can be considered that the user needs to map the custom key, so the function mapped to the custom key needs to be determined. For example, when the trigger key pressed by the user before receiving the mapping instruction is the "Soup" key, it can be considered that the user needs to map the soup function to the custom key.

[0073] Step S4013: taking the key value corresponding to the trigger key as the target value.

[0074] For example, let's take making soup as the target value.

[0075] Step S402: Map the target value to the custom key, and save the target value as the mapping value in the custom key database.

[0076] The target value is mapped to the custom key, that is, the target value is used as the execution function of the custom key. When the user triggers the custom key, the control program corresponding to the target value is executed.

[0077] Step S403: replacing the display content of the custom key in the display screen with content related to the target value.

[0078] That is to say, the text on the display will change according to the key value of the custom key, showing the corresponding function. Figure 8 As shown, according to the new key value of the custom key, the text displayed on the display screen is changed to "cook soup".

[0079] Step S404: When the electrical device is turned on, obtain the custom key database. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0080] Step S405: Determine whether a mapping value exists for the custom key according to the custom key database. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0081] Step S406: When a mapping value exists for a custom key, replace the display content identifying the custom key in the display screen with content related to the mapping value. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.

[0082] Step S407: When a trigger operation on a custom key is received, a control program corresponding to the mapping value is executed. Figure 2 Step S204 of the illustrated embodiment will not be described in detail here.

[0083] That is to say, when the user wants to use the soup-making function next time, he or she can directly press the "soup-making" key (custom key), and the heating module will control the heating according to the logic of soup-making without pressing the "confirm" key.

[0084] When the user wants to update the function mapped on the custom key, the steps are the same as above. First adjust to the target value, then long press the "Function" and "Custom" keys at the same time to complete the mapping and update the text display.

[0085] It should be noted that the custom keys of the rice cooker can not only be used to memorize various functions, such as Figure 7It can be used to cook porridge, rice gruel, soup, hot rice, and steam; it can also be used to memorize taste, such as soft, hard, or moderate; it can also be used to memorize rice types, such as long-grain rice and short-grain rice. After the user adjusts the habitual taste, rice type, and function, press the "Function" key and the "Custom" key at the same time to memorize the overall state of the current rice cooker. When the custom key is pressed next time, the heating module will cook according to the three memorized parameters, reducing the number of button selections. In other words, the target value can be one value or several values. For example, for an electric rice cooker, the target value can be one or more of the following: function, taste, and rice type.

[0086] Figure 7 The original shortcut keys on the rice cooker, such as "quick cooking" and "fine cooking", are all replaced with the above-mentioned custom keys. Users can customize each shortcut key to prevent the phenomenon that the original shortcut keys are not often used but occupy the prime position, and better match the different usage habits of users. In other words, there can be one or more custom keys in the electrical equipment. The mapping value of one custom key can be saved in the custom key database, and the mapping values ​​of multiple custom keys can also be saved.

[0087] As can be seen from this, the embodiment of the present invention adds a custom button for the electric cooker. When the user needs to map a certain function in the menu to this button, first utilize the conventional function selection mode to transfer to this function, then long press "menu" key and "custom" key predetermined seconds to complete mapping simultaneously. The custom button is through a display module, such as LCD, TFT or OLED etc. to complete display changes, and displays customization when there is no mapping, and is displayed as this function after mapping. That is, the embodiment of the present invention improves the memory mode of the electric cooker, adds a custom button and displays variable, to achieve the purpose of simplifying the function selection step, better matching the user's usage habits.

[0088] In the present embodiment, a key control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0089] This embodiment provides a key control device, such as Fig. 9 As shown, including:

[0090] The first acquisition module 901 is used to acquire the custom key database when the electrical device is turned on;

[0091] A determination module 902 is used to determine whether a mapping value exists for a custom key according to a custom key database;

[0092] The display module 903 is used to replace the display content of the custom key in the display screen with content related to the mapping value when the custom key has a mapping value.

[0093] In some optional implementations, the key control device further includes a function execution module. When a trigger operation on a custom key is received, the function execution module is used to execute a control program corresponding to the mapping value.

[0094] In some optional embodiments, the key control device further includes a second acquisition module and a mapping module. When receiving a mapping instruction for a custom key, the second acquisition module is used to acquire a target value; the mapping module is used to map the target value to the custom key and save the target value as a mapping value in a custom key database.

[0095] In some optional embodiments, when a mapping instruction for a custom key is received, the second acquisition module is specifically used to: acquire the trigger key before receiving the mapping instruction; determine the key value corresponding to the trigger key; and use the key value corresponding to the trigger key as the target value.

[0096] In some optional implementations, after mapping the target value to the custom key, the display module 903 is further configured to: replace the display content of the custom key in the display screen with content related to the target value.

[0097] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0098] The key control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0099] The embodiment of the present invention also provides a computer device having the above Fig. 9 The key controls shown.

[0100] The embodiment of the present invention further provides an electrical device, including the above-mentioned computer device. For example, the computer device may be an electric rice cooker.

[0101] See also Fig.10 , Fig.10 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.10As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.10 A processor 10 is taken as an example.

[0102] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0103] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0104] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0105] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0106] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0107] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0108] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0109] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0110] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A key control method, characterized in that: The method comprises: When the electrical device is turned on, the custom key database is obtained; Determine whether a mapping value exists for the custom key according to the custom key database; When the mapping value exists for the custom key, the display content identifying the custom key in the display screen is replaced with content related to the mapping value.

2. The method according to claim 1, characterized in that Also includes: When a trigger operation on the custom key is received, a control program corresponding to the mapping value is executed.

3. The method according to claim 1, characterized in that Also includes: When a mapping instruction for a custom key is received, the target value is obtained; The target value is mapped to the custom key, and the target value is used as the mapping value and saved in the custom key database.

4. The method according to claim 3, characterized in that When a mapping instruction for a custom key is received, obtaining a target value includes: When a mapping instruction for the custom key is received, obtaining a trigger key before the mapping instruction is received; Determine the key value corresponding to the trigger key; The key value corresponding to the trigger key is used as the target value.

5. The method according to claim 3, characterized in that: After mapping the target value to the custom key, the method further includes: The display content of the custom key in the display screen is replaced with content related to the target value.

6. A key control device, characterized in that: The device comprises: An acquisition module, used for acquiring a custom key database when the electrical device is turned on; A judgment module, used for judging whether there is a mapping value for the custom key according to the custom key database; The display module is used to replace the display content of the custom key in the display screen with content related to the mapping value when the custom key has the mapping value.

7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the key control method according to any one of claims 1 to 5 by executing the computer instructions.

8. An electrical device, characterized in that: A computer device comprising the method of claim 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the key control method according to any one of claims 1 to 5.

10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to enable a computer to execute the key control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Washing machine control method capable of realizing custom washing mode and washing machine

    CN102912590A

  • Function menu display method and device and electric cooking pot

    CN107198433A