CN112527173A - Electrical equipment function setting method and related equipment - Google Patents

Electrical equipment function setting method and related equipment Download PDF

Info

Publication number
CN112527173A
CN112527173A CN201910880515.8A CN201910880515A CN112527173A CN 112527173 A CN112527173 A CN 112527173A CN 201910880515 A CN201910880515 A CN 201910880515A CN 112527173 A CN112527173 A CN 112527173A
Authority
CN
China
Prior art keywords
data
key
instruction
electrical equipment
key operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910880515.8A
Other languages
Chinese (zh)
Inventor
曾成鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Original Assignee
Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd filed Critical Foshan Shunde Midea Electrical Heating Appliances Manufacturing Co Ltd
Priority to CN201910880515.8A priority Critical patent/CN112527173A/en
Publication of CN112527173A publication Critical patent/CN112527173A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J27/00Cooking-vessels
    • A47J27/08Pressure-cookers; Lids or locking devices specially adapted therefor
    • A47J27/0802Control mechanisms for pressure-cookers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Abstract

The invention discloses a method for setting functions of electrical equipment and related equipment, wherein the method comprises the following steps: acquiring and storing first data, wherein the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment; and sending a first instruction to the electrical equipment according to the first data, wherein the first instruction is used for instructing the electrical equipment to execute program data for realizing a function corresponding to the key operation when receiving the key event corresponding to the key operation.

Description

Electrical equipment function setting method and related equipment
Technical Field
The invention relates to the technical field of electrical equipment, in particular to a method for setting functions of electrical equipment and related equipment.
Background
In the electrical equipment, a man-machine interaction interface is generally provided for a user through an operation panel, and when the user triggers a key on the operation panel, the electrical equipment executes a function corresponding to the triggered key.
At present, the panel function configuration of electrical equipment is generally fixed when the electrical equipment leaves a factory, and a fixedly-burnt electric control program is used. Under the fixed electric control program and panel functions, a user cannot customize the functions according to the needs of the user, and the expandability of the operation panel of the electrical equipment is limited. Although some schemes exist in the art for changing the panel function by a user, the changing operation is generally not intuitive and convenient, and the limitation that the corresponding function can be changed by pressing a key is large.
Therefore, how to conveniently and flexibly realize the function setting of the electrical equipment becomes a technical problem which needs to be solved urgently at the present stage.
Disclosure of Invention
In view of the above, the present invention provides a method for setting functions of an electrical device and a related device.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the embodiment of the invention provides a method for setting functions of electrical equipment, which comprises the following steps:
acquiring and storing first data, wherein the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
and sending a first instruction to the electrical equipment according to the first data, wherein the first instruction is used for instructing the electrical equipment to execute program data for realizing a function corresponding to the key operation when receiving the key event corresponding to the key operation.
In the foregoing solution, the sending the first instruction to the electrical device includes:
sending a first instruction including the first data to the electrical equipment to enable the electrical equipment to generate second data based on the first data, wherein the second data includes a corresponding relation between the key operation and the program data, and the program data is data stored in the electrical equipment in advance.
In the foregoing solution, the sending the first instruction to the electrical device includes:
when a first key operation sent by the electrical equipment is received, determining a first function corresponding to the first key operation based on the corresponding relation, and sending a first instruction comprising first program data for realizing the first function to the electrical equipment; alternatively, the first and second electrodes may be,
and determining program data corresponding to the functions corresponding to the key operations based on the corresponding relation, and sending a first instruction comprising at least one group of key operations and corresponding program data to the electrical equipment.
In the above scheme, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
The embodiment of the invention also provides an electrical equipment function setting method, which is applied to electrical equipment and comprises the following steps:
obtaining a first instruction, wherein the first instruction is generated based on first data, the first data is from input operation detected by input equipment, and the input operation is used for setting a corresponding relation between key operation and functions of the electrical equipment;
and executing program data for realizing the function corresponding to the key operation when the key event corresponding to the key operation is received based on the instruction of the first instruction.
In the foregoing solution, the obtaining the first instruction includes:
and obtaining a first instruction comprising the first data, and generating second data based on the first data, wherein the second data comprises the corresponding relation between the key operation and the program data, and the program data is data stored in the electric equipment in advance.
In the foregoing solution, the obtaining the first instruction includes:
sending a first key operation; obtaining a first instruction, wherein the first instruction comprises first program data for realizing a first function corresponding to the first key operation; alternatively, the first and second electrodes may be,
a first instruction including at least one group of key operations and corresponding program data is obtained.
In the above scheme, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
An embodiment of the present invention further provides an electrical device function setting device, including: an acquisition module and a processing module, wherein,
the acquisition module is used for acquiring and storing first data, and the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
the processing module is configured to send a first instruction to the electrical device according to the first data, where the first instruction is used to instruct the electrical device to execute program data for implementing a function corresponding to the key operation when the electrical device receives a key event corresponding to the key operation.
In the foregoing scheme, the processing module is specifically configured to:
sending a first instruction including the first data to the electrical equipment to enable the electrical equipment to generate second data based on the first data, wherein the second data includes a corresponding relation between the key operation and the program data, and the program data is data stored in the electrical equipment in advance.
In the foregoing scheme, the processing module is specifically configured to:
when a first key operation sent by the electrical equipment is received, determining a first function corresponding to the first key operation based on the corresponding relation, and sending a first instruction comprising first program data for realizing the first function to the electrical equipment; alternatively, the first and second electrodes may be,
and determining program data corresponding to the functions corresponding to the key operations based on the corresponding relation, and sending a first instruction comprising at least one group of key operations and corresponding program data to the electrical equipment.
In the above scheme, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
An embodiment of the present invention further provides an electrical device, including: a communication module and an execution module, wherein,
the communication module is used for obtaining a first instruction, the first instruction is generated based on first data, the first data is input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
and the execution module is used for executing program data for realizing the function corresponding to the key operation when receiving the key event corresponding to the key operation based on the indication of the first instruction.
In the above scheme, the communication module is specifically configured to:
and obtaining a first instruction comprising the first data, and generating second data based on the first data, wherein the second data comprises the corresponding relation between the key operation and the program data, and the program data is data stored in the electric equipment in advance.
In the above scheme, the communication module is specifically configured to:
sending a first key operation; obtaining a first instruction, wherein the first instruction comprises first program data for realizing a first function corresponding to the first key operation; alternatively, the first and second electrodes may be,
a first instruction including at least one group of key operations and corresponding program data is obtained.
In the above scheme, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
An embodiment of the present invention further provides an electrical device function setting device, where the device includes: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the method of any of the above aspects when running the computer program.
An embodiment of the present invention further provides an electrical device, where the device includes: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the method of any of the above aspects when running the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method in any one of the above schemes.
According to the method for setting the functions of the electrical equipment and the related equipment, provided by the embodiment of the invention, first data is obtained and stored, wherein the first data comprises the corresponding relation between key operation and the functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment; sending a first instruction to the electrical equipment according to the first data, wherein the first instruction is used for instructing the electrical equipment to execute program data for realizing a function corresponding to the key operation when receiving a key event corresponding to the key operation; therefore, the user can set the corresponding relation between the key operation and the function of the electrical equipment based on the input equipment according to the self requirement, and the electrical equipment can realize the corresponding function according to the corresponding relation set by the user, so that the function of the electrical equipment can be set simply and quickly, the function configuration of the panel in the electrical equipment is more flexible, and the use cost of the electrical equipment is saved.
Drawings
Fig. 1 is a schematic flow chart of a method for setting functions of electrical equipment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an electrical device function setting method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a component of an electrical device function setting system according to a specific example of the present invention;
fig. 4 is a schematic flowchart of a method for setting functions of electrical equipment according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of an electrical device function setting method according to a second embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples.
Fig. 1 is a schematic flow chart of a method for setting functions of electrical equipment according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101, obtaining and storing first data, wherein the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
and 102, sending a first instruction to the electrical equipment according to the first data, wherein the first instruction is used for instructing the electrical equipment to execute program data for realizing a function corresponding to the key operation when receiving a key event corresponding to the key operation.
The method for setting the functions of the electrical equipment provided by the embodiment can be applied to the equipment. As an embodiment, the device may be an appliance function setting server; as another embodiment, the device may be any cloud connected to the internet, and the cloud is specifically a single or multiple computer devices capable of providing stable access capability, so as to provide computing, storage, and transmission capabilities for implementing the method. As another specific embodiment, the device may also be a mobile terminal, including but not limited to at least one of the following: mobile phones, notebook computers, tablet computers; at this time, the user can set the functions of the electrical equipment through the mobile terminal.
The electrical equipment can be a household electrical appliance with function keys; further, the household appliance may include a cooking appliance such as an electric rice cooker, a soymilk maker, a pressure cooker, or the like.
As an implementation manner, the input device may be a device (or referred to as an electrical device function setting device) that is independent of the device to which the method provided by the embodiment is applied, and at this time, the method provided by the embodiment involves three-party interaction of an electrical device function setting device (such as a server and a cloud), an input device (such as a mobile terminal), and an electrical device (such as a cooking appliance); as another implementation manner, the input device may also belong to a part of a device to which the method provided in this embodiment is applied, in this case, the method provided in this embodiment involves interaction between an electrical device function setting device (such as a mobile terminal) and an electrical device (such as a cooking appliance), where the electrical device function setting device may be used as an input device, so as to provide a function of inputting the first data for a user.
In practical applications, the first data may be set by a user according to the needs of the user, and input through an input device, for example, through APP input on a mobile terminal. In an embodiment where the input device is a device other than the electrical device function setting device, the first data is sent to the electrical device function setting device via the input device.
In an embodiment, the sending the first instruction to the electrical device includes: sending a first instruction including the first data to the electrical equipment to enable the electrical equipment to generate second data based on the first data, wherein the second data includes a corresponding relation between the key operation and the program data, and the program data is data stored in the electrical equipment in advance.
It can be understood that the above embodiment is applicable to the case where program data for implementing the function corresponding to the key operation is stored in the electrical equipment in advance, and at this time, the electrical equipment function setting device only needs to send the obtained first data to the electrical equipment.
In another embodiment, the sending the first instruction to the electrical device includes: when a first key operation sent by the electrical equipment is received, determining a first function corresponding to the first key operation based on the corresponding relation, and sending a first instruction comprising first program data for realizing the first function to the electrical equipment; or determining program data corresponding to the function corresponding to the key operation based on the corresponding relation, and sending a first instruction comprising at least one group of key operation and the corresponding program data to the electrical equipment.
It is to be understood that the above-described embodiments are applicable to a case where program data for realizing a function corresponding to the key operation is stored on the side of the electric appliance function setting device, or to a case where the program data is obtained by the electric appliance function setting device; at this time, the electrical equipment function setting device sends the first instruction to the electrical equipment according to the first data and the program data.
In one embodiment, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
Here, when the key operation includes a single key pressing operation, the key operation may specifically be a key identification of the single key that is pressed, such as a key ID (identification number); by the key ID, the electric appliance and the server can distinguish the keys.
When the key operation includes a gesture operation, the gesture operation may include a plurality of associated single keys, so that functions corresponding to the plurality of single keys are combined together to complete an overall function, thereby saving multiple function selections. Taking the electrical equipment as an example of a cooking appliance, a user can freely set the arrangement mode of the key identification by randomly combining single keys into various gesture operations, so that the cooking process can be completed through gesture operations (such as one-time sliding operations). Specifically, for example, the cooking needs to press a start key, a function selection key, a rice type selection key, a cooking mode selection key and a start cooking key, and by combining program data corresponding to the function keys together, a gesture operation corresponds to the combined program data, so that during subsequent use, a user can command the cooking appliance to realize the functions from start to start cooking only by sliding out the gesture operation, and finally the cooking process is completed.
It should be noted that the embodiment of the present invention is not limited to the case where one gesture operation corresponds to a combination of multiple sets of program data, and the gesture operation may also correspond to only one set of program data; therefore, when the user uses the key operation, the user can select single-key pressing operation or gesture operation according to own preference, the setting selection of the user is enriched, and the function configuration of the panel in the electrical equipment is more flexible.
In an embodiment, the method may further comprise the step of persisting the first data; namely, the corresponding relation between the key operation and the function is stored persistently by the electrical equipment function setting equipment.
As an embodiment, the sending the first instruction to the electrical device includes: when a first key operation sent by the electric equipment is received, a first function corresponding to the first key operation is determined based on the corresponding relation, and a first instruction including first program data for realizing the first function is sent to the electric equipment. It is to be understood that this embodiment is applicable to a case where the electric appliance is connectable online with the electric appliance function setting device. Specifically, when the electrical equipment receives a first key event, sending a first key operation corresponding to the first key event to the electrical equipment function setting equipment; the electrical equipment function setting equipment receives a first key operation corresponding to the first key event and sent by the electrical equipment, determines a first function corresponding to the first key operation according to the corresponding relation, determines first program data corresponding to the first function, and sends the first program data to the electrical equipment so that the electrical equipment executes the first program data. Therefore, in this embodiment, the program data corresponding to the key operation is stored in the electrical device function setting device, and the electrical device acquires and executes the corresponding program data through the electrical device function setting device each time a key event is received.
As another embodiment, the sending the first instruction to the electrical device includes: and determining program data corresponding to the functions corresponding to the key operations based on the corresponding relation, and sending a first instruction comprising at least one group of key operations and corresponding program data to the electrical equipment. It can be understood that this embodiment is applicable to the case where the electrical device needs to be in an offline state, that is, the electrical device cannot be connected with the electrical device function setting device in real time. Specifically, the electrical equipment sends a function setting request to the electrical equipment function setting equipment, and the electrical equipment function setting equipment sends a first instruction including at least one group of key operations and corresponding program data to the electrical equipment when receiving the function setting request sent by the electrical equipment; preferably, all key operations and corresponding program data involved in the first data are sent to the electrical appliance. In a specific embodiment, a first instruction is sent to the electrical equipment, so that the electrical equipment stores at least one group of key operations and corresponding program data included in the first instruction; in other words, the program data corresponding to the key operation is stored in the electrical equipment, and after the electrical equipment function setting device completes the function setting of the electrical equipment, the electrical equipment can receive the key event and execute the corresponding program data in an offline state.
In an embodiment, the method further comprises: and acquiring program data for realizing the function corresponding to the key operation. The method specifically comprises the following steps: acquiring and storing a plurality of program data and corresponding relations between the program data and functions in advance; when first data including a corresponding relation between key operations and functions is obtained, program data corresponding to each function in the first data are obtained from the plurality of program data saved in advance. It can be understood that the pre-stored program data and the corresponding relationship between the program data and the function can be edited in advance by a designer of the electrical equipment and stored in the electrical equipment function setting device; the number of the program data can be larger than that of the key operations, so that the requirement that a user selects a required function from the functions corresponding to the plurality of pre-stored program data can be met. Correspondingly, displaying functions corresponding to the plurality of pre-stored program data and key identifiers of keys which can be set by executing functions in the electrical equipment on the input equipment for inputting the first data for the user to select; the number of functions may be greater than the number of key identifications.
In addition, the mobile terminal can be further provided with a function feedback module, and a user can feed back the use condition and the improvement suggestion to a background designer based on the function feedback module, or feed back which functions are needed by the user and are not provided currently; when the background designer receives the feedback information and considers that the function expansion and improvement are necessary, the program data corresponding to the function can be added or modified. In an embodiment, the method further comprises: obtaining feedback information from a mobile terminal (i.e. the input device), obtaining at least one set of second functions and corresponding second program data based on the feedback information; and sending a first instruction to the mobile terminal so that the mobile terminal provides an interface capable of setting the corresponding relation between the key identification of the electrical equipment and the second function based on the mobile terminal.
Fig. 2 is a schematic flow chart of an electrical device function setting method according to another embodiment of the present invention; as shown in fig. 2, the method includes:
step 201, obtaining a first instruction, where the first instruction is generated based on first data, the first data is from an input operation detected by an input device, and the input operation is used for setting a corresponding relationship between a key operation and a function of the electrical equipment;
step 202, based on the instruction of the first instruction, executing program data for implementing the function corresponding to the key operation when the key event corresponding to the key operation is received.
The method for setting the function of the electrical equipment provided by the embodiment is applied to the electrical equipment; in an embodiment, the electrical device may be a household appliance; further, the household appliance may include a cooking appliance, such as an electric rice cooker.
In practical application, an operation panel of the electrical equipment may have at least one key, where the key has a key identifier corresponding to the key, and the key operation indicates that the key corresponding to the key identifier is pressed; or the operation panel of the electrical equipment comprises a touch screen, the touch screen provides an interface for inputting key operation, and a user can perform single-key pressing operation and gesture operation on the touch screen. When a user performs a first key operation on an operation panel, the electrical equipment receives a first key event corresponding to the first key operation.
As one embodiment, the obtaining the first instruction includes: and obtaining a first instruction comprising the first data, and generating second data based on the first data, wherein the second data comprises the corresponding relation between the key operation and the program data, and the program data is data stored in the electric equipment in advance.
As one embodiment, the obtaining the first instruction includes: sending a first key operation; and obtaining a first instruction, wherein the first instruction comprises first program data for realizing a first function corresponding to the first key operation. It is to be understood that this embodiment is applicable to a case where the electrical appliance is connectable online with the electrical appliance function setting device.
As another embodiment, the obtaining the first instruction includes: a first instruction including at least one group of key operations and corresponding program data is obtained. It can be understood that this embodiment is applicable to the case where the electrical device needs to be in an offline state, that is, the electrical device cannot be connected with the electrical device function setting device online in real time.
In a specific embodiment, the method further comprises: and saving the at least one group of key operation and the corresponding program data in the first instruction. In other words, the program data corresponding to the key operation is stored in the electrical equipment, and after the electrical equipment function setting device completes the function setting of the electrical equipment, the electrical equipment can receive the key event and execute the corresponding program data in an offline state. Preferably, the at least one set of key operations and corresponding program data included in the first instruction are persisted.
An embodiment of the present invention further provides an electrical device function setting device, including: an acquisition module and a processing module, wherein,
the acquisition module is used for acquiring and storing first data, and the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
the processing module is configured to send a first instruction to the electrical device according to the first data, where the first instruction is used to instruct the electrical device to execute program data for implementing a function corresponding to the key operation when the electrical device receives a key event corresponding to the key operation.
In an embodiment, the processing module is specifically configured to:
sending a first instruction including the first data to the electrical equipment to enable the electrical equipment to generate second data based on the first data, wherein the second data includes a corresponding relation between the key operation and the program data, and the program data is data stored in the electrical equipment in advance.
In an embodiment, the processing module is specifically configured to:
when a first key operation sent by the electrical equipment is received, determining a first function corresponding to the first key operation based on the corresponding relation, and sending a first instruction comprising first program data for realizing the first function to the electrical equipment; alternatively, the first and second electrodes may be,
and determining program data corresponding to the functions corresponding to the key operations based on the corresponding relation, and sending a first instruction comprising at least one group of key operations and corresponding program data to the electrical equipment.
In one embodiment, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
An embodiment of the present invention further provides an electrical device, including: a communication module and an execution module, wherein,
the communication module is used for obtaining a first instruction, the first instruction is generated based on first data, the first data is input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
and the execution module is used for executing program data for realizing the function corresponding to the key operation when receiving the key event corresponding to the key operation based on the indication of the first instruction.
In an embodiment, the communication module is specifically configured to:
and obtaining a first instruction comprising the first data, and generating second data based on the first data, wherein the second data comprises the corresponding relation between the key operation and the program data, and the program data is data stored in the electric equipment in advance.
In an embodiment, the communication module is specifically configured to:
sending a first key operation; obtaining a first instruction, wherein the first instruction comprises first program data for realizing a first function corresponding to the first key operation; alternatively, the first and second electrodes may be,
a first instruction including at least one group of key operations and corresponding program data is obtained.
In one embodiment, the key operation includes a single key pressing operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
In practical application, the communication module may specifically be an internet of things module, and the internet of things module includes at least one of the following: the Bluetooth module, the Wi-Fi module, the 2G module, the 3G module, the narrowband Internet of things (NB-IoT) module, the Zigbee module and the long-distance radio (LoRa) module.
In each embodiment of the present invention, the key identifier may be an identifier corresponding to all keys on the electrical equipment one to one, or may be an identifier corresponding to some keys on the electrical equipment one to one; namely, the embodiment of the invention can realize the self-defining function setting of all the keys on the electrical equipment and can also realize the self-defining function setting of part of the keys on the electrical equipment; the electrical equipment comprises a panel module of the full self-defined function setting key and also can comprise a panel module of a part of self-defined function setting keys. In an embodiment where the electrical device stores the second data, when the electrical device is set to a non-first-time function, after obtaining the second data sent by the server, the method further includes: deleting program data corresponding to the key identification stored in the electrical equipment; and saving the second data.
The positive effects produced by the present invention will be described in further detail with reference to specific examples.
Fig. 3 is a schematic structural diagram of a component of an electrical device function setting system according to a specific example of the present invention; as shown in fig. 3, the electrical device function setting system includes: the system comprises electric equipment, a server and a mobile terminal; the electrical equipment may specifically include a panel module and an internet of things module.
The internet of things module is used for directly or indirectly connecting with the internet or external equipment, and comprises but not limited to a Bluetooth module, a Wi-Fi module, a 2G module, a 3G module, an NB-IoT module, Zigbee, LoRa and the like.
The panel module is a key control area of the electrical equipment and provides an operation interface for operating functions of the electrical equipment for a user; in the invention, the panel keys can provide a group of keys with functions capable of being set by user definition, the keys are all provided with IDs for identification, and the electrical equipment and the server can determine the keys through the IDs of the keys.
Fig. 4 shows a method for setting functions of an electrical device according to a first embodiment of the present invention. In the first embodiment, the electrical equipment can be connected with the server on line, and the mobile terminal can perform function setting on at least one user-defined function key on a panel module in the electrical equipment and store data in the server; the server records the mapping relation between the function and the key ID; when the electrical equipment receives the key event, the ID of the pressed key is fed back to the server; and the server pushes the corresponding program to the electrical equipment according to the key ID.
Fig. 5 shows a method for setting functions of an electrical device according to a second embodiment of the present invention. The second embodiment is suitable for the electrical equipment needing to be in an off-line state, the mobile terminal can perform function setting on at least one user-defined function key on the panel module and store data to the server, and the server records the mapping relation between functions and key IDs; the server sends the programs corresponding to all the keys to the electrical equipment and completes persistent storage on the electrical equipment; and when the electrical equipment receives the key event, executing a corresponding function according to the program corresponding to the key.
As a specific example, the invention provides an electric cooker with a fully-customized operation panel, wherein the operation panel is provided with keys, and the keys can be used for setting corresponding functions in a user-defined manner.
The setting method of the electric cooker comprises the following steps: providing a full-air key white panel when leaving a factory; the user may define panel functions through the APP, such as: the key 1 is used for cooking, the key 2 is used for cooking porridge, and the key 3 is used for heat preservation; after the user finishes the setting, the key 1 is triggered, and the rice cooker starts a cooking program. So, can be according to user's self needs, simply, swiftly set up electric rice cooker button function for panel function configuration is nimble more in the electric rice cooker.
The invention also provides the electric cooker with the fully-customized operation panel, in practical application, the key 1 (cooking function) in the electric cooker operation panel is out of order due to excessive use, and cannot be used; the user defines the panel function through APP, and sets the key 2 as cooking and the key 3 as porridge cooking; after the user finishes the setting, the key 2 is triggered, and the rice cooker starts a cooking program. So, when the button damaged, through changing the button function for electric rice cooker can also continue to use, has practiced thrift electrical equipment's use cost.
It can be understood that, at present, the frequency of the panel functions on most electrical appliances used by different users is different, and usually only one or a few keys are often used, resulting in severe loss of only the keys corresponding to the functions, when one or a few keys are damaged, the user needs to replace the whole panel, and at this time, other keys which are not commonly used are still newer, resulting in certain waste. The method for setting the functions of the electrical equipment can enable a user to define the keys by himself, and the functions of the electrical equipment can be set simply and quickly according to the needs of the user, so that the function configuration of the panel in the electrical equipment is flexible, and the use cost of the electrical equipment is saved.
An embodiment of the present invention further provides a server, where the server includes: the device comprises a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is used for executing the steps of the electrical equipment function setting method in the embodiment of the invention when the computer program is run.
In an exemplary embodiment, the server may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
An embodiment of the present invention further provides an electrical device, where the device includes: the device comprises a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is used for executing the steps of the electrical equipment function setting method in the embodiment of the invention when the computer program is run.
In an exemplary embodiment, the electrical Device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
The embodiment of the invention also provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the electrical equipment function setting methods in the embodiments of the invention.
The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated module of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. that are within the spirit and principle of the present invention should be included in the present invention.

Claims (19)

1. An electrical device function setting method, characterized by comprising:
acquiring and storing first data, wherein the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
and sending a first instruction to the electrical equipment according to the first data, wherein the first instruction is used for instructing the electrical equipment to execute program data for realizing a function corresponding to the key operation when receiving the key event corresponding to the key operation.
2. The method of claim 1, wherein the sending the first instruction to the appliance device comprises:
sending a first instruction including the first data to the electrical equipment to enable the electrical equipment to generate second data based on the first data, wherein the second data includes a corresponding relation between the key operation and the program data, and the program data is data stored in the electrical equipment in advance.
3. The method of claim 1, wherein the sending the first instruction to the appliance device comprises:
when a first key operation sent by the electrical equipment is received, determining a first function corresponding to the first key operation based on the corresponding relation, and sending a first instruction comprising first program data for realizing the first function to the electrical equipment; alternatively, the first and second electrodes may be,
and determining program data corresponding to the functions corresponding to the key operations based on the corresponding relation, and sending a first instruction comprising at least one group of key operations and corresponding program data to the electrical equipment.
4. The method according to claim 1, wherein the key operation comprises a single key press operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
5. An electrical equipment function setting method is applied to electrical equipment, and the method comprises the following steps:
obtaining a first instruction, wherein the first instruction is generated based on first data, the first data is from input operation detected by input equipment, and the input operation is used for setting a corresponding relation between key operation and functions of the electrical equipment;
and executing program data for realizing the function corresponding to the key operation when the key event corresponding to the key operation is received based on the instruction of the first instruction.
6. The method of claim 5, wherein obtaining the first instruction comprises:
and obtaining a first instruction comprising the first data, and generating second data based on the first data, wherein the second data comprises the corresponding relation between the key operation and the program data, and the program data is data stored in the electric equipment in advance.
7. The method of claim 5, wherein obtaining the first instruction comprises:
sending a first key operation; obtaining a first instruction, wherein the first instruction comprises first program data for realizing a first function corresponding to the first key operation; alternatively, the first and second electrodes may be,
a first instruction including at least one group of key operations and corresponding program data is obtained.
8. The method according to claim 5, wherein the key operation comprises a single key press operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
9. An electric appliance function setting device characterized by comprising: an acquisition module and a processing module, wherein,
the acquisition module is used for acquiring and storing first data, and the first data comprises a corresponding relation between key operation and functions; the first data come from input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
the processing module is configured to send a first instruction to the electrical device according to the first data, where the first instruction is used to instruct the electrical device to execute program data for implementing a function corresponding to the key operation when the electrical device receives a key event corresponding to the key operation.
10. The device according to claim 9, wherein the processing module is specifically configured to:
sending a first instruction including the first data to the electrical equipment to enable the electrical equipment to generate second data based on the first data, wherein the second data includes a corresponding relation between the key operation and the program data, and the program data is data stored in the electrical equipment in advance.
11. The device according to claim 9, wherein the processing module is specifically configured to:
when a first key operation sent by the electrical equipment is received, determining a first function corresponding to the first key operation based on the corresponding relation, and sending a first instruction comprising first program data for realizing the first function to the electrical equipment; alternatively, the first and second electrodes may be,
and determining program data corresponding to the functions corresponding to the key operations based on the corresponding relation, and sending a first instruction comprising at least one group of key operations and corresponding program data to the electrical equipment.
12. The apparatus according to claim 9, wherein the key operation includes a single key press operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
13. An electrical device, comprising: a communication module and an execution module, wherein,
the communication module is used for obtaining a first instruction, the first instruction is generated based on first data, the first data is input operation detected by input equipment, and the input operation is used for setting the corresponding relation between key operation and functions of the electrical equipment;
and the execution module is used for executing program data for realizing the function corresponding to the key operation when receiving the key event corresponding to the key operation based on the indication of the first instruction.
14. The electrical equipment of claim 13, wherein the communication module is specifically configured to:
and obtaining a first instruction comprising the first data, and generating second data based on the first data, wherein the second data comprises the corresponding relation between the key operation and the program data, and the program data is data stored in the electric equipment in advance.
15. The electrical equipment of claim 13, wherein the communication module is specifically configured to:
sending a first key operation; obtaining a first instruction, wherein the first instruction comprises first program data for realizing a first function corresponding to the first key operation; alternatively, the first and second electrodes may be,
a first instruction including at least one group of key operations and corresponding program data is obtained.
16. The electrical device according to claim 13, wherein the key operations include a single key press operation and a gesture operation; and when the key operation comprises a gesture operation, the function corresponding to the gesture operation corresponds to at least one group of program data.
17. An electric appliance function setting apparatus, characterized in that the apparatus comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1-4 when running the computer program.
18. An electrical device, characterized in that the device comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 5-8 when running the computer program.
19. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4; alternatively, the computer program realizes the steps of the method of any one of claims 5 to 8 when executed by a processor.
CN201910880515.8A 2019-09-18 2019-09-18 Electrical equipment function setting method and related equipment Pending CN112527173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910880515.8A CN112527173A (en) 2019-09-18 2019-09-18 Electrical equipment function setting method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910880515.8A CN112527173A (en) 2019-09-18 2019-09-18 Electrical equipment function setting method and related equipment

Publications (1)

Publication Number Publication Date
CN112527173A true CN112527173A (en) 2021-03-19

Family

ID=74975002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910880515.8A Pending CN112527173A (en) 2019-09-18 2019-09-18 Electrical equipment function setting method and related equipment

Country Status (1)

Country Link
CN (1) CN112527173A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983867A (en) * 2012-12-03 2013-03-20 广东欧珀移动通信有限公司 Method and system for self-defining press key function of remote controller
CN104110882A (en) * 2014-02-20 2014-10-22 芜湖美的厨卫电器制造有限公司 Water heater and control method thereof
CN104807134A (en) * 2014-01-26 2015-07-29 广东美的制冷设备有限公司 Operation mode self-defining control method and system for air conditioner
CN108039990A (en) * 2017-12-12 2018-05-15 美的集团股份有限公司 Household electrical appliances operation method, system, household electrical appliances and computer-readable recording medium
CN109391831A (en) * 2017-08-07 2019-02-26 阿里巴巴集团控股有限公司 A kind of press keys setup method, device, equipment and storage medium
CN109932911A (en) * 2017-12-15 2019-06-25 佛山市顺德区美的电热电器制造有限公司 A kind of customizing method and household electrical appliance, storage medium of keypress function

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983867A (en) * 2012-12-03 2013-03-20 广东欧珀移动通信有限公司 Method and system for self-defining press key function of remote controller
CN104807134A (en) * 2014-01-26 2015-07-29 广东美的制冷设备有限公司 Operation mode self-defining control method and system for air conditioner
CN104110882A (en) * 2014-02-20 2014-10-22 芜湖美的厨卫电器制造有限公司 Water heater and control method thereof
CN109391831A (en) * 2017-08-07 2019-02-26 阿里巴巴集团控股有限公司 A kind of press keys setup method, device, equipment and storage medium
CN108039990A (en) * 2017-12-12 2018-05-15 美的集团股份有限公司 Household electrical appliances operation method, system, household electrical appliances and computer-readable recording medium
CN109932911A (en) * 2017-12-15 2019-06-25 佛山市顺德区美的电热电器制造有限公司 A kind of customizing method and household electrical appliance, storage medium of keypress function

Similar Documents

Publication Publication Date Title
KR20160041899A (en) Conversation merging method and mobile terminal
US20140123073A1 (en) Method, Apparatus, and Mobile Terminal for Operation Interface Management
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
CN107196846B (en) Group chat method and mobile terminal
CN106547451B (en) Multi-open application program method, multi-open application program device and terminal
CN106201219A (en) The quick call method of function of application and system
CN105335048A (en) Electron equipment with concealed application icon and application icon conceal method
CN110768877B (en) Voice control instruction processing method and device, electronic equipment and readable storage medium
AU2019203256B2 (en) Fingerprint event processing method, apparatus, and terminal
EP2998857A1 (en) Control method and device for displaying screen background
KR20150125573A (en) Electronic device and Method for communication with a contact thereof
CN104219553A (en) Method and device for remote control of intelligent set top box
CN105116996A (en) Control method for smart watch and smart watch
CN106095422B (en) Application control method and device and terminal equipment
CN105808042A (en) Information processing method and electronic device
CN106354273B (en) A kind of method and smart machine manipulating smart machine
CN111512278A (en) Method for processing application of terminal equipment and terminal equipment
CN106033194A (en) Intelligent smoke ventilator control system
CN112527173A (en) Electrical equipment function setting method and related equipment
CN112506407B (en) File sharing method and device
CN107518756B (en) Control method and device of cooking appliance
CN111741164B (en) Sound mode switching method and device and computer readable storage medium
CN114568948A (en) Cooking control method, device and system
CN112947101A (en) Control method and device of household appliance
CN106997273B (en) Information input method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319

RJ01 Rejection of invention patent application after publication