CN115731684B - Control method and device of wireless key switch equipment - Google Patents
Control method and device of wireless key switch equipment Download PDFInfo
- Publication number
- CN115731684B CN115731684B CN202211297143.4A CN202211297143A CN115731684B CN 115731684 B CN115731684 B CN 115731684B CN 202211297143 A CN202211297143 A CN 202211297143A CN 115731684 B CN115731684 B CN 115731684B
- Authority
- CN
- China
- Prior art keywords
- key
- user
- electric equipment
- parameters
- target
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000004044 response Effects 0.000 claims abstract description 21
- 238000012790 confirmation Methods 0.000 claims abstract description 20
- 238000013507 mapping Methods 0.000 claims description 14
- 230000007547 defect Effects 0.000 abstract description 5
- 238000013473 artificial intelligence Methods 0.000 abstract description 3
- 230000000875 corresponding effect Effects 0.000 description 137
- 238000004590 computer program Methods 0.000 description 11
- 230000001276 controlling effect Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Input From Keyboards Or The Like (AREA)
- Selective Calling Equipment (AREA)
Abstract
The disclosure provides a control method and a device of wireless key switch equipment, and relates to the technical field of artificial intelligence. The specific implementation scheme is as follows: under the condition that the operation is multiple key operations, judging whether the multiple key operations are misoperation according to a preset reference operation parameter and a current operation parameter; under the condition that the operation is misoperation, acquiring user habit parameters corresponding to a user; determining a current candidate control instruction according to user habit parameters and operation parameters of a user; displaying prompt information corresponding to the control instruction in a display screen in the wireless key switch equipment; and in response to receiving the appointed confirmation operation of the user on the prompt information, sending the control instruction of the target electric equipment to the corresponding target electric equipment so as to control the target electric equipment. Therefore, the user does not need to input again, the defect that key operation cannot be responded due to false touch or false touch is overcome, and great convenience is provided for the user.
Description
Technical Field
The disclosure relates to the technical field of artificial intelligence, and in particular relates to a control method and device of wireless key switch equipment.
Background
Along with the gradual integration of the technology of the Internet of things into various aspects of social life, great convenience is brought to the social life.
An intelligent home (home automation) is taken as a prominent representative of the technology of the internet of things, and can improve the safety, convenience, comfort and artistry of the home by constructing an efficient management system of residential facilities and family schedule matters, and realize an environment-friendly and energy-saving living environment.
The intelligent home is mainly to connect various devices in home, such as audio and video devices, lighting systems, curtain control, air conditioner control, security and protection systems, digital cinema systems, video and audio servers, video and audio cabinet systems, network home appliances and the like, so as to provide various functions and means of home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control, infrared forwarding, programmable timing control and the like. Since the number of household appliances in the home is large, the control switches required are also very large.
At present, control switches of some intelligent home in the market can concentrate a plurality of household electric equipment on one control device for control, and the control device can control a plurality of electric equipment through wireless signals in a wireless communication mode.
However, the comprehensive control switch often has a plurality of physical keys, the switch panel is very complex, a user often needs to perform multiple key operations when controlling a certain electric equipment, and once a certain key operation is wrong, the user needs to perform input again, so that time is wasted. Sometimes, a user wants to start one electric appliance, but the user cannot input errors, and even starts other electric appliances, so that the user brings interference to the home and consumes electric energy. Therefore, how to improve the intelligentization degree of the key control switch, so as to reduce the adverse effects caused by misoperation when the current user performs multiple key operations, is a problem to be solved currently.
Disclosure of Invention
The disclosure provides a control method and a control device of wireless key switch equipment.
According to a first aspect of the present disclosure, there is provided a control method of a wireless key switch apparatus, including:
in response to determining that key operation of a user in a key control area of wireless key switch equipment is received, acquiring operation parameters corresponding to the key operation;
judging whether the current key operation of the user is a plurality of key operations according to the operation parameters corresponding to the key operation;
Judging whether the multiple key operations are misoperation according to preset reference key operation parameters and current operation parameters under the condition that the key operations are the multiple key operations;
acquiring user habit parameters corresponding to the user under the condition that the key operation is misoperation;
based on the user habit parameters and the operation parameters of the user, acquiring candidate electric equipment control instructions;
displaying prompt information corresponding to the candidate electric equipment control instruction in a display screen in the wireless key switch equipment;
and in response to receiving the appointed confirmation touch operation of the user on the prompt information in the touch area of the display screen, sending the control instruction of the target electric equipment to the corresponding target electric equipment so as to control the target electric equipment.
According to a second aspect of the present disclosure, there is provided a control apparatus of a wireless key switching device, comprising:
the first acquisition module is used for acquiring operation parameters corresponding to key operation in response to determining that the key operation of a user in a key control area of the wireless key switch equipment is received;
The first judging module is used for judging whether the current key operation of the user is a plurality of key operations according to the operation parameters corresponding to the key operation;
the second judging module is used for judging whether the multiple key operations are misoperation according to preset reference key operation parameters and current operation parameters under the condition that the key operations are the multiple key operations;
the second acquisition module is used for acquiring user habit parameters corresponding to the user under the condition that the key operation is misoperation;
the third acquisition module is used for acquiring candidate electric equipment control instructions based on the user habit parameters and the operation parameters of the user;
the display module is used for displaying prompt information corresponding to the candidate electric equipment control instruction in a display screen in the wireless key switch equipment;
and the sending module is used for responding to the received appointed confirmation touch operation of the user on the prompt information in the touch area of the display screen, and sending the control instruction of the target electric equipment to the corresponding target electric equipment so as to control the target electric equipment.
An electronic device according to an embodiment of a third aspect of the present disclosure includes: the wireless key switch device comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the control method of the wireless key switch device according to the embodiment of the first aspect of the present disclosure when the processor executes the program.
A non-transitory computer-readable storage medium according to an embodiment of a fourth aspect of the present disclosure has stored thereon a computer program which, when executed by a processor, implements a control method of a wireless key switching device according to an embodiment of the first aspect of the present disclosure.
A computer program product according to an embodiment of a fifth aspect of the present disclosure, when instructions in the computer program product are executed by a processor, performs a control method of a wireless key switch device according to an embodiment of the first aspect of the present disclosure.
The following beneficial effects can be achieved through the present disclosure:
in the embodiment of the disclosure, the device firstly obtains an operation parameter corresponding to key operation in response to determining that key operation of a user in a key control area of a wireless key switch device is received, then judges whether the current operation of the user is multiple key operation according to the operation parameter corresponding to key operation, then judges whether the multiple key operation is misoperation according to a preset reference operation parameter and the current operation parameter under the condition that the operation is multiple key operation, then obtains a user habit parameter corresponding to the user under the condition that the operation is misoperation, then obtains a candidate electric equipment control instruction based on the user habit parameter of the user and the operation parameter, then displays prompt information corresponding to the electric equipment control instruction in a display screen in the wireless key switch device, and then sends a target electric equipment control instruction to a corresponding target electric equipment in response to receiving appointed confirmation operation of the prompt information by the user in a touch control area of the display screen so as to control the target electric equipment. In summary, by analyzing the operation parameters, it can be determined whether the current operation is multiple key operations, and then after determining that the multiple key operations are misoperation, the current candidate electric equipment control instruction is obtained by analysis according to the user habit parameters and the operation parameters, so that effective and scientific reference can be provided for the user, prompt information of the referenceable electric equipment control instruction is provided for the user according to historical experience, and then after the user confirms, the control instruction is sent to the electric equipment, so as to control the electric equipment. The user confirms the key, so that the user does not need to input again, the defect that the key operation cannot be responded due to the false touch or the false touch is overcome, and great convenience is provided for the user.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a flowchart of a control method of a wireless key switching apparatus provided according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a control method of yet another wireless key switch apparatus provided according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a control apparatus of a wireless key switching device according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device used to implement an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Control methods and apparatuses of wireless key switch devices according to embodiments of the present disclosure are described below with reference to the accompanying drawings.
It should be noted that, the execution body of the control method of the wireless key switch device in this embodiment is a control device of the wireless key switch device, and the device may be implemented in a software and/or hardware manner, and the device may be configured in an electronic device.
The control method of the wireless key switch device proposed in the present disclosure will be described below with the control device of the wireless key switch device as an execution subject, and will be hereinafter simply referred to as "device".
Fig. 1 is a flowchart illustrating a control method of a wireless key switch device according to an embodiment of the disclosure.
As shown in fig. 1, the present disclosure provides a control method of a wireless key switch device, wherein the method includes:
step 101, in response to determining that the key operation of the user in the key control area of the wireless key switch device is received, obtaining an operation parameter corresponding to the key operation.
The wireless key switch device may be a switch device having a wireless communication function and capable of controlling a plurality of electric devices through key operation.
The key control area may be a key area corresponding to each key in the wireless key switch device.
The key may be a physical key or a touch key, and the key control area may be a physical key control area or a touch key control area.
The key operation may be a clicking operation, a pressing operation, a touching operation, or the like, which is not limited herein.
The operation parameter may be key time (key start time and key end time), key duration, key area, key pressure, key identification of the key, and the like, which are not limited herein.
Optionally, the operation parameters may further include a fingerprint of the user, which is not limited herein. In the embodiment of the disclosure, when personal information of a user, such as fingerprint, voiceprint or face information, is acquired, user authorization is required in advance, so that the personal information is acquired in a legal and compliant manner.
It should be noted that, when the device obtains the operation parameters corresponding to the key operation, the following manner may be adopted:
and responding to the detection that the user presses a confirmation key in the key control area, and obtaining operation parameters corresponding to the key operation, wherein the key operation of the confirmation key meets preset key conditions.
The confirmation key may be a key used in the key control area to confirm the user's historical key operation, or may be a Enter key, which may include the identifiers of "OK", "confirm" and "Enter", which are not limited herein.
The key condition may be that the key pressure of the user on the confirmation key is greater than a preset pressure threshold, the key area is greater than a preset area threshold, and the key duration needs to be greater than a preset time threshold.
For example, if the pressure threshold is X1, the area threshold is S1, and the time threshold is C1, and if the device detects that the user presses the confirmation key, and the key pressure on the confirmation key is greater than X1, the key area is greater than S1, and the key time length is greater than C1, then the user can be considered that the key operation on the confirmation key satisfies the preset key condition, and the device can obtain the operation parameters corresponding to the key operation.
Therefore, the operation parameters are obtained only when the fact that the key operation of the user on the confirmation key meets the preset key condition is detected, so that the key operation of the user is detected more scientifically and accurately, and the possibility of false triggering and false judgment is reduced.
Note that the key operation may be performed one or more times. The operation parameters may be operation parameters corresponding to a single key operation, or may be operation parameters corresponding to each key operation in multiple key operations.
As an example, after receiving a single key operation of a user, the device may record an operation parameter corresponding to a certain key operation as follows:
type of key: number of pressing operations, key presses: primary, key pressure: A. key area: B. key initial time: t1, key end time: t2, key duration: T2-T1, key user: and thirdly, stretching.
As an example, after receiving multiple key operations of a user, the apparatus may record operation parameters corresponding to the multiple key operations as follows:
number of key presses: and 2 times, recording that the first time is N1 and the second time is N2.
N1 key type: pressing operation, N2 key type: a pressing operation;
n1 key pressure: a1 N2 key pressure: a2;
area of N1 key: b1 Area of N2 key: b2;
n1 key initial time: t1, N2 key initial time: t3;
n1 key end time: t2, N2 key end time: t4;
n1 key duration: time duration of T2-T1, N2 key: T4-T3;
n1 key user: zhang three, N2 key user: and thirdly, stretching.
It should be noted that the above examples are only illustrative, and are not meant to limit the present disclosure.
Step 102, judging whether the current operation of the user is multiple key operations according to the operation parameters corresponding to the key operations.
Optionally, the device may calculate the number of times the user presses the key control area according to the key time included in the operation parameter, and then may determine that the current key operation is multiple key operations when the number of times of pressing the key is greater than or equal to a preset key number threshold.
Optionally, if the device determines the number of times of the current key according to the key time included in the operation parameter, for example, if it is determined that the current key time includes 3 segments, i.e., T1-T2, T3-T4, and T5-T6, respectively, the current key time may be determined to be 3 times. Wherein T1, T3, T5 are key start times, T2, T4, T6 are key end times, wherein the key start times are the initial times when the user places the fingers on the keys, and the key end times are the end times when the user leaves the fingers from the keys.
Wherein the operating parameters do not include the operating parameters of the user to the confirm key.
The preset key number threshold may be 2 or 3, which is not limited herein.
For example, if the current number of keys is 4 and the threshold number of keys is 3, the current user operation may be determined to be multiple key operations, which is not limited herein.
Step 103, in the case that the operation is multiple key operations, judging whether the multiple key operations are misoperation according to the preset reference operation parameters and the current operation parameters.
The misoperation may be a key operation caused by a false touch or a false touch of a mode.
The reference operation parameter may be an operation parameter index for indicating that the operation parameter is valid, where the reference operation parameter includes a reference key time, a reference key pressure, and a reference key area, which are not limited herein. It can be understood that if the key time of the current user to any key is longer than the reference key time, the current key time is indicated to be effective, if the key pressure of the current user to any key is greater than the reference key pressure, the current key pressure is indicated to be effective, and if the key area of the current user to any key is greater than the reference key area, the current key area is indicated to be effective.
For example, the reference key area may be set to 75% of the key area.
Wherein the reference key time may be 0.8 seconds.
Wherein, the preset conditions are: in the multiple key operations, the key time corresponding to each key operation is larger than the reference key time, the key pressure corresponding to each key operation is larger than the reference key pressure, and the key area corresponding to each key operation is larger than the reference key area.
Optionally, the device may determine, according to the operation parameter, a key time, a key pressure, and a key area corresponding to each key operation in the plurality of key operations, and then compare the key time, the key pressure, and the key area corresponding to each key operation in the plurality of key operations with a reference key time, a reference key pressure, and a reference key area in the reference key operation parameter, so as to determine a comparison result, and then determine that the key operation is a misoperation if the comparison result does not meet a preset condition.
For example, if the reference key time, the reference key pressure, and the reference key area are 3,4, and 6, respectively, and the current multiple key operations are 3 times, respectively, A1, A2, and A3, wherein the key time, the key pressure, and the key area corresponding to A1 are 4, 6, and 7, respectively; the key time, key pressure and key area corresponding to A2 are 3,4,8, and 7,4,8 respectively, and the current key operation can be considered as normal operation.
As another example, if the reference key time, the reference key pressure, and the reference key area are 3,4, and 6, respectively, and the current multiple key operations are 3 times, respectively, A1, A2, and A3, wherein the key time, the key pressure, and the key area corresponding to A1 are 1, 6, and 7, respectively; the key time, the key pressure and the key area corresponding to A2 are respectively 3,4 and 8, and the key pressure and the key area corresponding to A3 are respectively 7,4,8, and the current key operation can be determined to be misoperation because the key time corresponding to A1 is smaller than the reference key time.
The above examples are merely illustrative, and are not limited thereto.
It can be understood that, that is, any one of the key time, the key pressure and the key area corresponding to any one of the key operations does not satisfy the preset reference operation parameter, the current multiple key operation can be determined to be the misoperation.
Step 104, obtaining user habit parameters corresponding to the user when the operation is misoperation.
After confirming that the operation is an incorrect operation, the device may acquire a user habit parameter corresponding to the current user.
In the embodiment of the disclosure, the user habit parameter may be a habit parameter analyzed according to a history operation of the user, which is stored in a database of the wireless key switch device in advance.
It should be noted that, because the key habits of each user are different, such as the strength of the key, the area of the key, the time of the key, and the speed of the key, the user habit parameters corresponding to each user may be different.
Optionally, after the confirming operation is an misoperation, the device may acquire identification information of the current user, where the identification information is used to characterize the identity of the user, for example, the identity of the user may be determined according to a fingerprint of the user on a key, or a camera may be started to acquire an image of the current user, so as to analyze a human body posture of the user, further obtain a human body feature of the user, or may also segment and intercept a facial image of the user according to the image of the user and perform face recognition, so as to confirm the identity of the user according to a face.
It should be noted that, only the user habit parameters of the user who has entered the user identification in advance, that is, only the user habit parameters stored in the database are the user habit parameters of the user of the target group, are stored in the database. After any user enters personal identity information, such as fingerprint information or face information, in the wireless key switch device, the wireless key switch device can send an authorization request prompt to the user, so that user habit parameters of the user can be automatically determined and stored under the condition that user confirmation is acquired.
Optionally, after the device analyzes the identity of the current user, the device can match the identification information of the user in the database, so that the user habit parameters corresponding to the user can be obtained under the condition that the database contains the identification information of the current user.
Step 105, based on the user habit parameters and the operation parameters of the user, obtaining the candidate electric equipment control instruction.
Specifically, the device can match the user habit parameters and the operation parameters of the user, so that the current candidate electric equipment control instruction can be determined according to the matching result.
The candidate electric equipment control instruction needs to be confirmed through a user, so that the device can send the control instruction to the electric equipment after the user confirms the control instruction. The candidate electric equipment control instruction can be one or more.
The electric equipment control command is used for controlling the electric equipment to execute command actions, such as opening, closing or working in a specified mode, specified power or specified working time.
Optionally, the device may first determine, according to a key identifier, a key time and a key pressure corresponding to each key operation included in the operation parameter, a target average key speed, a target average key pressure, a target average key operation duration and a key sequence corresponding to the current multiple key operations, then determine, according to the key time included in the operation parameter, a time period to which the current key time belongs, then determine, based on a preset mapping relationship, a first user habit parameter corresponding to the time period, and then match the operation parameter with a second user habit parameter corresponding to each electric equipment in the first user habit parameter, so as to determine a degree of matching between the operation parameter and each second user habit parameter.
It should be noted that, different users have different operating habits on the keys, some people have smaller pressing force on the keys, such as old people and children, some people have larger pressing force on the keys, the areas of the keys are also different, such as the areas of the keys of children are smaller, and in addition, when the user performs the keys of a plurality of keys, the speeds of the keys are often different. Moreover, the same user may have different control over the electric device in different time periods, for example, the user may usually open a curtain at 8 to 10 a.m., turn on a lamp and a television at work, usually turn on a water heater at night, and have a habit of controlling and selecting the temperature of the water heater and the air conditioner, for example, setting the air conditioner to 20 degrees celsius, and controlling the curtain, which are only illustrative.
The first user habit parameter may be a user habit parameter corresponding to the current time period.
The average day may be divided into 12 time periods, or 6 time periods, and is not limited herein. If the current key press time is 8 points 30 and 8 points to 10 points are a time period, the device can acquire the first user habit parameter corresponding to the time period from 8 points to 10 points.
The second user habit parameters may be user habit parameters corresponding to each electric device.
It should be noted that, users usually have different key habits when controlling different electric devices, such as controlling the on and off of the lamp, and need to touch fewer keys, and for electric devices with many modes such as sound equipment, water heater, monitoring, etc., the number of times of keys is usually more, the operation time is also longer, and the key rate is also different.
Therefore, in the present disclosure, in order to prevent a user from easily making errors when performing multiple key operations, an average key speed, an average key pressure, an average key operation duration, and a key sequence corresponding to the multiple key operations are selected as user habit parameters to characterize a user's use habit.
The average key speed is used for representing the key speed of a user to any electric equipment, the average key pressure is used for representing the key pressure of the user to any electric equipment, the average key operation duration is used for representing the key operation time of the user to any electric equipment, and the key sequence is used for representing the key sequence of keys required by the user when the user triggers any electric equipment to start.
Optionally, the device may first determine, according to the key identifier, the key time, and the key pressure corresponding to each key operation included in the operation parameter, a target average key speed, a target average key pressure, a target average key operation duration, and a key sequence corresponding to the current multiple key operations.
For example, the current multiple key operations of the user are 4 times, the key identifiers are 1,2,3 and 4 respectively, the key sequence is 1-2-3-4, the starting time of the first key is t1, the ending time of the fourth key is t4, the target average key speed is (t 4-t 1)/4, the key pressure of the first key is p1, and the key duration is S1; the ending time of the second key is p2, and the key duration is S2; the key pressure of the third key is p3, and the key duration is S3; the end time of the fourth key is p4, the key duration is S4, the target average key pressure is (p4+p3+p2+p1)/4, and the target average operation duration is (s4+s3+s2+s1)/4, which is not limited herein.
Further, the device may calculate a cosine similarity between the operation parameter and a second user habit parameter corresponding to each electric device in the first user habit parameters, and use the cosine similarity as the matching degree.
Further, the device may determine, according to a mapping relationship between a second user habit parameter and an electric equipment control instruction stored in advance, a candidate electric equipment control instruction corresponding to the second user habit parameter under a condition that a matching degree between the second user habit parameter and an operation parameter is greater than a preset matching degree threshold, where the second user habit parameter includes an average key speed, a target average key pressure, a target average key operation duration, and a key sequence corresponding to a single control operation of the user on any electric equipment in a unit time period.
It should be noted that, in the present disclosure, a mapping relationship table between the second user habit parameters and the electric equipment control instructions may be stored in advance, that is, the operation parameters corresponding to the key operation when the user sends the control instructions to the electric equipment each time may be recorded, so as to further analyze and obtain the second user habit parameters corresponding to the electric equipment control instructions of each electric equipment.
Wherein, a consumer may correspond to a plurality of consumer control commands.
In the disclosure, the device may perform matching based on the operation parameter and the second user habit parameter corresponding to each electric equipment, so as to determine the second user habit parameter with the matching degree greater than the preset threshold.
For example, if the matching degree between the operation parameter S1 and the second user habit parameters W1, W2, W3 is greater than the preset matching degree threshold, the device may further determine that the electric equipment control instructions corresponding to the second user habit parameters W1, W2, W3 are candidate electric equipment control instructions. It should be noted that, the candidate electric device control instruction corresponding to W1 may be used for controlling the electric device V1 to start, the candidate electric device control instruction corresponding to W2 may be used for controlling the electric device V2 to operate according to the mode p1, and the candidate electric device control instruction corresponding to W3 may be used for controlling the electric device V2 to operate according to the mode p 2.
And 106, displaying prompt information corresponding to the candidate electric equipment control instruction in a display screen in the wireless key switch equipment.
The prompt information may be information for indicating the user to confirm. For example, if the control command of the electric equipment is that the control device T is started, the prompt information corresponding to the control command is "confirm to start the device T", which is not limited herein. The device can generate corresponding prompt information and a corresponding window according to the control command of the electric equipment, so that a user can intuitively obtain the current prompt information.
It should be noted that, there may be one or more electric device control instructions, which require the user to confirm, for example, to turn on the lamp a or turn on the lamp B, and the device may screen out the candidate electric device control instruction closest to the current key operation based on the habit parameters and the operation parameters of the user.
Optionally, the device may directly send the candidate electric device control instruction to the corresponding electric device, so as to control the electric device.
Or, the content corresponding to the control instruction of the electric equipment can be displayed in the display screen, so that the user can know that the user belongs to misoperation at present, and reasonable selection is provided for the user, so that the user confirms the information, and the user does not need to input again.
For example, if the user R wants to control the start of the a device, the start of the a device needs the user to perform the X key operation, and because the user touches by mistake, the X key operation is made into the Y key operation, and there is no control instruction corresponding to the Y key operation, that is, the Y key operation cannot control any device start, the device may obtain, after determining that the current Y key operation is the misoperation, a consumer control instruction closest to the Y key operation according to the user habit parameter corresponding to the user R, where the closest consumer control instruction may be one or more, for example, E1, E2, E3, and the device may display E1, E2, E3 on the display screen, and if E1 is the control of the start of the a device, the user may select to confirm the prompt information corresponding to E1, thereby the device may directly send E1 to the a device to control the start of the a device.
It should be noted that the foregoing examples are merely illustrative, and the disclosure is not limited thereto.
And step 107, in response to receiving the appointed confirmation touch operation of the user on the prompt information in the touch area of the display screen, sending the control instruction of the target electric equipment to the corresponding target electric equipment so as to control the target electric equipment.
The designation confirmation operation may be a click operation or a slide operation of a designated key in the key region.
For example, if the current prompt message is "confirm starting device T", a prompt window corresponding to the prompt message is displayed in the display screen, and the user can confirm in the key region, for example, click a designated key, or slide the key, so that the device can confirm that the control instruction corresponding to the prompt message is the target electric equipment control instruction to be executed.
The target electric equipment control command may include target electric equipment to be controlled and corresponding control parameters, such as start time, start mode, start power and working time. For different electric devices, the corresponding control parameters are also different, for example, a starting mode, a starting temperature and the like can be included in the control instructions corresponding to the air conditioner and the water heater, and the method is not limited herein.
Specifically, the device can send a target electric equipment control instruction to the target electric equipment based on the currently arranged wireless transmitting device, namely, the control instruction is sent to an execution end arranged in a power supply circuit of the target electric equipment in a wireless signal mode, the execution end of the target electric equipment comprises a wireless receiving device and a relay, the device can send the control instruction of the target electric equipment for switching on a circuit or the control instruction of a circuit for switching off the circuit from the control end, the control instruction of the target electric equipment is transmitted to the execution end of the target electric equipment through the wireless signal, and the relay of the execution end makes corresponding actions.
In the embodiment of the disclosure, the device firstly obtains an operation parameter corresponding to key operation in response to determining that key operation of a user in a key control area of a wireless key switch device is received, then judges whether the current operation of the user is multiple key operation according to the operation parameter corresponding to key operation, then judges whether the multiple key operation is misoperation according to a preset reference operation parameter and the current operation parameter under the condition that the operation is multiple key operation, then obtains a user habit parameter corresponding to the user under the condition that the operation is misoperation, then obtains a candidate electric equipment control instruction based on the user habit parameter of the user and the operation parameter, then displays prompt information corresponding to the electric equipment control instruction in a display screen in the wireless key switch device, and then sends a target electric equipment control instruction to a corresponding target electric equipment in response to receiving appointed confirmation operation of the prompt information by the user in a touch control area of the display screen so as to control the target electric equipment. In summary, by analyzing the operation parameters, it can be determined whether the current operation is multiple key operations, and then after determining that the multiple key operations are misoperation, the current candidate electric equipment control instruction is obtained by analysis according to the user habit parameters and the operation parameters, so that effective and scientific reference can be provided for the user, prompt information of the referenceable electric equipment control instruction is provided for the user according to historical experience, and then after the user confirms, the control instruction is sent to the electric equipment, so as to control the electric equipment. The user confirms the key, so that the user does not need to input again, the defect that the key operation cannot be responded due to the false touch or the false touch is overcome, and great convenience is provided for the user.
Fig. 2 is a flowchart illustrating a control method of a wireless key switch device according to another embodiment of the disclosure.
As shown in fig. 2, the present disclosure provides a control method of a wireless key switch device, wherein the method includes:
step 201, in response to sensing a specified operation of any user based on the wireless key switch device, acquiring and storing identification information uniquely corresponding to any user, and inputting any user into the wireless key switch device based on the identification information.
The designating operation triggers a designating key for the user.
The specific key can be a key pre-associated with a specific instruction, if the specific key is triggered by a user, the device requests to acquire the identification information uniquely corresponding to any user, and any user is input into the wireless key switch equipment based on the identification information.
Optionally, the device may send a prompt to the any user in the display screen to prompt the user to enter the identification information, or may acquire the face information of the any user through the image capturing device. The identification information can be fingerprints or human body characteristics or human face information.
Step 202, according to the designated period, obtaining the key operation data of any user to the wireless key switch equipment.
The specified period may be one week or half month, or one month, which is not limited herein. The key operation data of any user in the appointed period can be obtained periodically for analysis, so that the user habit parameters of the user can be updated according to the appointed period.
And 203, analyzing key operation data of any user to determine the operation characteristics of any user on each selected electric equipment in a specified period, wherein the selected electric equipment is the preselected electric equipment in each electric equipment controlled by the wireless key switch equipment.
It should be noted that, for each electric device that the wireless key switch device may be remotely controlled, some devices may be selected as electric devices, that is, only a part of electric devices may be recorded with corresponding features. It should be noted that the selected electric equipment may be electric equipment which has relatively important, relatively high use frequency and relatively close relation to home safety. Which may be specified in the user's pre-equipment or may be determined by the apparatus based on the frequency of use.
The key operation data can be the key operation data of all electric equipment in a specified period.
Specifically, the key operation data of any user is analyzed to determine the number of times of use of each selected electric equipment by any user in a specified period, and the key operation initial time, the key operation ending time, the key operation duration, the key pressure and the key speed of the user corresponding to each selected electric equipment in key operation.
For example, if the number of uses of the selected electric device by the user is 10 in a specified period, the device may obtain the key operation initial time, the key operation end time, the key operation duration, the key pressure, and the user key speed for each of the 10 key operations. If the initial time of the key operation corresponding to the first key operation of the user is T1, the initial time of the key operation corresponding to the first key operation is T2, the key operation duration is T2-T1, the key pressure is the average key pressure corresponding to the plurality of key operations corresponding to the first key operation, and if the number of times of the key operation corresponding to the first key operation is 4, the key speed of the user may be (T2-T1)/4, which is not limited herein.
Further, according to the number of times of use of each selected electric equipment by any user in a specified period, and the key operation initial time, the key operation end time, the key operation duration, the key pressure and the user key speed corresponding to each selected electric equipment, the average key speed, the average key pressure and the average key operation duration of each user in each unit time period in a plurality of unit time periods are determined, and then the average key speed, the average key pressure and the average key operation duration of each user in each unit time period in the specified period can be determined as the operation characteristics corresponding to any user in the specified period.
Step 204, configuring or updating the current corresponding user habit parameters of any user according to the operation characteristics of the user on each selected electric equipment.
It should be noted that, if after the user enters a specific period of the unique corresponding identification information, for example, 15 days, the device may acquire the operation characteristics of the user within 15 days, so that the user habit parameters corresponding to the user in the database may be configured according to the operation characteristics.
It should be noted that, if the time between the current time and the time when the user inputs the unique corresponding identification information is at least 2 specified periods, the device may update the user habit parameters corresponding to the any user configured in the database.
It should be noted that, since people's habits often change, the user habit parameters can be timely adjusted by updating the data according to the specified period, so that the availability, reliability and effectiveness of the data are ensured, and the accuracy and effectiveness of misoperation analysis are further improved.
In step 205, in response to determining that the key operation of the user in the key control area of the wireless key switch device is received, an operation parameter corresponding to the key operation is obtained.
Step 206, judging whether the current key operation of the user is multiple key operations according to the operation parameters corresponding to the key operation.
In step 207, in the case that the key operation is multiple key operations, it is determined whether the multiple key operations are misoperation according to the preset reference key operation parameters and the current operation parameters.
It should be noted that, the specific implementation of the steps 205, 206, 207 may refer to the above embodiments, and are not limited herein.
Step 208, in the case that the key operation is a misoperation, acquiring a user image of the user based on the image capturing device at the preset position.
The number of the image capturing devices at the preset positions can be multiple, so that user images of the user can be obtained from the positions of the measuring points, and effective information, such as face images, which can be used for identifying the user can be contained in the user images.
Step 209, performing face recognition on the user image to determine whether the user is a target user, wherein the database of the wireless key switch device stores identification information of a plurality of users and user habit parameters of the plurality of users in advance.
The target user may be a user who has previously stored identification information in a database, and the database includes user habit parameters corresponding to the target user.
Because the face information of the user is already recorded in the database in advance, the device can confirm the identity of the user by carrying out face recognition on the image of the user.
In step 210, in the case that the user is a target user, target identification information corresponding to the user is determined.
It should be noted that, because the target user is a user that stores the identification information in the database in advance, the device can query and obtain the identity information corresponding to the face feature of the user according to the face recognition result of the user, so as to determine the target identification information, such as the ID, associated with the identity information.
Step 211, obtaining the user habit parameters corresponding to the target identification information according to the preset mapping relation between the user identification information and the user habit parameters.
Specifically, the device may obtain, according to a preset mapping relationship, a user habit parameter corresponding to the identifier of the user, for example, a user habit parameter corresponding to the ID of the user.
The user habit parameters comprise historical use habit parameters of the user on each electric equipment in each unit time period.
Step 212, obtaining candidate electric equipment control instructions based on user habit parameters and operation parameters of the user.
Step 213, displaying prompt information corresponding to the candidate electric equipment control instruction in a display screen in the wireless key switch equipment.
Step 214, in response to receiving the touch operation of the user for confirming the designation of the prompt information in the touch area of the display screen, the target electric equipment control instruction is sent to the corresponding target electric equipment so as to control the target electric equipment.
It should be noted that, the specific implementation of the steps 212, 213, 214 may refer to the above embodiments, and are not limited herein.
In summary, the device can determine the operation characteristics corresponding to the any user in the specified period according to the average key speed, the average key pressure and the average key operation duration of the any user in each unit time period in the specified period, so that the determination of the user habit parameters is very scientific and accurate, the reliability degree is relatively high, the user habit parameters can be updated in time, the user habit parameters can be adjusted in time, the availability and reliability and effectiveness of data are ensured, and the accuracy and effectiveness of misoperation analysis are further improved. In addition, different habit parameters can be determined for different users in a personalized way, the pertinence is improved, and the reliability of the habit parameters of the users is guaranteed, so that the problem that the users need to input again due to mistaken touch and mistaken touch when performing multiple key operations is solved, and great convenience is brought to the users.
Fig. 3 is a block diagram of a control apparatus of a wireless key switching device according to an embodiment of the present disclosure.
As shown in fig. 3, the control apparatus 300 of the wireless key switching device may include:
a first obtaining module 310, configured to obtain an operation parameter corresponding to a key operation in response to determining that the key operation of a user in a key control area of the wireless key switch device is received;
a first judging module 320, configured to judge whether the current key operation of the user is a plurality of key operations according to the operation parameters corresponding to the key operation;
a second judging module 330, configured to judge whether the multiple key operations are misoperation according to a preset reference key operation parameter and a current operation parameter when the key operation is the multiple key operations;
a second obtaining module 340, configured to obtain a user habit parameter corresponding to the user when the key operation is a misoperation;
a third obtaining module 350, configured to obtain a candidate electric equipment control instruction based on the user habit parameter and the operation parameter of the user;
the display module 360 is configured to display, on a display screen in the wireless key switch device, prompt information corresponding to the candidate electric equipment control instruction;
And the sending module 370 is configured to send the target electric equipment control instruction to a corresponding target electric equipment in response to receiving the specified confirmation touch operation of the user on the prompt information in the touch area of the display screen, so as to control the target electric equipment.
Optionally, the second obtaining module includes:
a first acquisition unit configured to acquire a user image of the user based on an image pickup device at a preset position;
the judging unit is used for carrying out face recognition on the user image so as to judge whether the user is a target user, wherein the database of the wireless key switch equipment is pre-stored with identification information of a plurality of users and user habit parameters of the plurality of users;
a first determining unit, configured to determine target identification information corresponding to the user when the user is the target user;
the second acquisition unit is used for acquiring the user habit parameters corresponding to the target identification information according to the preset mapping relation between the user identification information and the user habit parameters.
Optionally, the judging unit further includes:
the third acquisition unit is used for responding to the fact that the appointed operation of any user based on the wireless key switch equipment is sensed, acquiring and storing the identification information uniquely corresponding to the any user, and inputting the any user into the wireless key switch equipment based on the identification information;
A fourth obtaining unit, configured to obtain key operation data of the wireless key switch device by the any user according to a specified period;
the second determining unit is used for analyzing the key operation data of any user to determine the operation characteristics of the selected electric equipment of the user in the appointed period, wherein the selected electric equipment is the preselected electric equipment in the electric equipment controlled by the wireless key switch equipment;
and the updating unit is used for configuring or updating the user habit parameters currently corresponding to any user according to the operation characteristics of the user on each selected electric equipment.
Optionally, the second determining unit is specifically configured to:
analyzing the key operation data of any user to determine the use times of each selected electric equipment by any user in the appointed period, and key operation initial time, key operation ending time, key operation duration, key pressure and user key speed corresponding to key operation of each selected electric equipment;
determining the average key speed, the average key pressure and the average key operation duration of each user to each selected electric equipment in each unit time period in a plurality of unit time periods according to the using times of any user to each selected electric equipment in the designated period, and the key operation initial time, the key operation ending time, the key operation duration, the key pressure and the user key speed corresponding to each selected electric equipment in the key operation;
And determining the average key speed, the average key pressure and the average key operation duration of each user in each unit time period of the selected electric equipment in the appointed period as the operation characteristics corresponding to the any user in the appointed period.
Optionally, the first judging module is specifically configured to:
calculating the number of times of the user to the key control area according to the key time contained in the operation parameter;
and under the condition that the key times are larger than or equal to a preset key times threshold value, determining that the current key operation is a plurality of key operations.
Optionally, the second judging module is specifically configured to:
determining key time, key pressure and key area corresponding to each key operation in the plurality of key operations according to the operation parameters;
comparing the key time, key pressure and key area corresponding to each key operation in the plurality of key operations with the reference key time, the reference key pressure and the reference key area in the reference key operation parameters to determine a comparison result;
And under the condition that the comparison result does not meet the preset condition, determining that the key operation is misoperation, wherein the preset condition is as follows: in the multiple key operations, the key time corresponding to each key operation is larger than the reference key time, the key pressure corresponding to each key operation is larger than the reference key pressure, and the key area corresponding to each key operation is larger than the reference key area.
Optionally, the third obtaining module is specifically configured to:
determining a target average key speed, a target average key pressure, a target average key operation duration and a key sequence corresponding to the current multiple key operations according to key identifiers, key times and key pressures corresponding to the key operations contained in the operation parameters;
determining a time period to which the current key time belongs according to the key time contained in the operation parameter;
determining a first user habit parameter corresponding to the time period based on a preset mapping relation;
matching the operation parameters with second user habit parameters corresponding to each electric equipment in the first user habit parameters to determine the matching degree of the operation parameters and the second user habit parameters;
Under the condition that the matching degree between any second user habit parameter and the operation parameter is larger than a preset matching degree threshold value, determining a candidate electric equipment control instruction corresponding to any second user habit parameter according to a mapping relation between the pre-stored second user habit parameter and the electric equipment control instruction,
the second user habit parameters comprise average key speeds corresponding to single control operation of any electric equipment by a user in a unit time period, the target average key pressure, the target average key operation duration and the key sequence.
In the embodiment of the disclosure, the device firstly obtains an operation parameter corresponding to key operation in response to determining that key operation of a user in a key control area of a wireless key switch device is received, then judges whether the current operation of the user is multiple key operation according to the operation parameter corresponding to key operation, then judges whether the multiple key operation is misoperation according to a preset reference operation parameter and the current operation parameter under the condition that the operation is multiple key operation, then obtains a user habit parameter corresponding to the user under the condition that the operation is misoperation, then obtains a candidate electric equipment control instruction based on the user habit parameter of the user and the operation parameter, then displays prompt information corresponding to the electric equipment control instruction in a display screen in the wireless key switch device, and then sends a target electric equipment control instruction to a corresponding target electric equipment in response to receiving appointed confirmation operation of the prompt information by the user in a touch control area of the display screen so as to control the target electric equipment. In summary, by analyzing the operation parameters, it can be determined whether the current operation is multiple key operations, and then after determining that the multiple key operations are misoperation, the current candidate electric equipment control instruction is obtained by analysis according to the user habit parameters and the operation parameters, so that effective and scientific reference can be provided for the user, prompt information of the referenceable electric equipment control instruction is provided for the user according to historical experience, and then after the user confirms, the control instruction is sent to the electric equipment, so as to control the electric equipment. The user confirms the key, so that the user does not need to input again, the defect that the key operation cannot be responded due to the false touch or the false touch is overcome, and great convenience is provided for the user.
Fig. 4 illustrates a schematic block diagram of an example electronic device 400 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 4, the apparatus 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In RAM 403, various programs and data required for the operation of device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in device 400 are connected to I/O interface 405, including: an input unit 406 such as a keyboard, a mouse, etc.; an output unit 407 such as various types of displays, speakers, and the like; a storage unit 408, such as a magnetic disk, optical disk, etc.; and a communication unit 409 such as a network card, modem, wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the respective methods and processes described above, for example, the control method of the wireless key switching device. For example, in some embodiments, the method of controlling a wireless key switch device may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409. When a computer program is loaded into RAM 403 and executed by computing unit 401, one or more steps of the control method of the wireless key switching device described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to perform the control method of the wireless key switch device in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (9)
1. A control method of a wireless key switch apparatus, comprising:
in response to determining that key operation of a user in a key control area of wireless key switch equipment is received, acquiring operation parameters corresponding to the key operation;
judging whether the current key operation of the user is a plurality of key operations according to the operation parameters corresponding to the key operation;
judging whether the multiple key operations are misoperation according to preset reference key operation parameters and current operation parameters under the condition that the key operations are the multiple key operations;
Acquiring user habit parameters corresponding to the user under the condition that the key operation is misoperation;
based on the user habit parameters and the operation parameters of the user, acquiring candidate electric equipment control instructions;
displaying prompt information corresponding to the candidate electric equipment control instruction in a display screen in the wireless key switch equipment;
in response to receiving the appointed confirmation touch operation of the user on the prompt information in the touch area of the display screen, sending a target electric equipment control instruction to a corresponding target electric equipment so as to control the target electric equipment;
the obtaining a candidate electric equipment control instruction based on the user habit parameter and the operation parameter of the user comprises the following steps:
determining a target average key speed, a target average key pressure, a target average key operation duration and a key sequence corresponding to the current multiple key operations according to key identifiers, key times and key pressures corresponding to the key operations contained in the operation parameters;
determining a time period to which the current key time belongs according to the key time contained in the operation parameter;
Determining a first user habit parameter corresponding to the time period based on a preset mapping relation;
matching the operation parameters with second user habit parameters corresponding to each electric equipment in the first user habit parameters to determine the matching degree of the operation parameters and the second user habit parameters;
under the condition that the matching degree between any second user habit parameter and the operation parameter is larger than a preset matching degree threshold value, determining a candidate electric equipment control instruction corresponding to any second user habit parameter according to a mapping relation between the pre-stored second user habit parameter and the electric equipment control instruction,
the second user habit parameters comprise average key speeds corresponding to single control operation of any electric equipment by a user in a unit time period, the target average key pressure, the target average key operation duration and the key sequence.
2. The method of claim 1, wherein the obtaining the user habit parameters corresponding to the user comprises:
acquiring a user image of the user based on a camera device at a preset position;
Performing face recognition on the user image to judge whether the user is a target user, wherein identification information of a plurality of users and user habit parameters of the plurality of users are prestored in a database of the wireless key switch equipment;
determining target identification information corresponding to the user under the condition that the user is the target user;
and acquiring the user habit parameters corresponding to the target identification information according to the preset mapping relation between the user identification information and the user habit parameters.
3. The method of claim 2, further comprising, prior to said face recognition of said user image to determine whether said user is a target user:
acquiring and storing identification information uniquely corresponding to any user in response to sensing a specified operation of any user based on the wireless key switch equipment, and inputting the any user into the wireless key switch equipment based on the identification information;
according to a specified period, key operation data of any user on the wireless key switch equipment is obtained;
analyzing the key operation data of any user to determine the operation characteristics of the selected electric equipment by any user in the appointed period, wherein the selected electric equipment is the preselected electric equipment in the electric equipment controlled by the wireless key switch equipment;
And configuring or updating the user habit parameters currently corresponding to any user according to the operation characteristics of the user on each selected electric equipment.
4. The method of claim 3, wherein analyzing the key operation data of the any user to determine the operational characteristics of the any user on each target powered device in the specified period comprises:
analyzing the key operation data of any user to determine the use times of each selected electric equipment by any user in the appointed period, and key operation initial time, key operation ending time, key operation duration, key pressure and user key speed corresponding to key operation of each selected electric equipment;
determining the average key speed, the average key pressure and the average key operation duration of each user to each selected electric equipment in each unit time period in a plurality of unit time periods according to the using times of any user to each selected electric equipment in the designated period, and the key operation initial time, the key operation ending time, the key operation duration, the key pressure and the user key speed corresponding to each selected electric equipment in the key operation;
And determining the average key speed, the average key pressure and the average key operation duration of each user in each unit time period of the selected electric equipment in the appointed period as the operation characteristics corresponding to the any user in the appointed period.
5. The method according to claim 1, wherein the determining whether the current key operation of the user is a plurality of key operations according to the operation parameter corresponding to the key operation includes:
calculating the number of times of the user to the key control area according to the key time contained in the operation parameter;
and under the condition that the key times are larger than or equal to a preset key times threshold value, determining that the current key operation is a plurality of key operations.
6. The method according to claim 1, wherein, in the case that the key operation is the multiple key operations, determining whether the multiple key operations are erroneous operations according to a pre-configured reference key operation parameter and a current operation parameter includes:
determining key time, key pressure and key area corresponding to each key operation in the plurality of key operations according to the operation parameters;
Comparing the key time, key pressure and key area corresponding to each key operation in the plurality of key operations with the reference key time, the reference key pressure and the reference key area in the reference key operation parameters to determine a comparison result;
and under the condition that the comparison result does not meet the preset condition, determining that the key operation is misoperation, wherein the preset condition is as follows: in the multiple key operations, the key time corresponding to each key operation is larger than the reference key time, the key pressure corresponding to each key operation is larger than the reference key pressure, and the key area corresponding to each key operation is larger than the reference key area.
7. A control device of a wireless key switch apparatus, comprising:
the first acquisition module is used for acquiring operation parameters corresponding to key operation in response to determining that the key operation of a user in a key control area of the wireless key switch equipment is received;
the first judging module is used for judging whether the current key operation of the user is a plurality of key operations according to the operation parameters corresponding to the key operation;
The second judging module is used for judging whether the multiple key operations are misoperation according to preset reference key operation parameters and current operation parameters under the condition that the key operations are the multiple key operations;
the second acquisition module is used for acquiring user habit parameters corresponding to the user under the condition that the key operation is misoperation;
the third acquisition module is used for acquiring candidate electric equipment control instructions based on the user habit parameters and the operation parameters of the user;
the display module is used for displaying prompt information corresponding to the candidate electric equipment control instruction in a display screen in the wireless key switch equipment;
the sending module is used for responding to the received appointed confirmation touch operation of the user on the prompt information in the touch area of the display screen, and sending a control instruction of the target electric equipment to the corresponding target electric equipment so as to control the target electric equipment;
the third obtaining module is specifically configured to:
determining a target average key speed, a target average key pressure, a target average key operation duration and a key sequence corresponding to the current multiple key operations according to key identifiers, key times and key pressures corresponding to the key operations contained in the operation parameters;
Determining a time period to which the current key time belongs according to the key time contained in the operation parameter;
determining a first user habit parameter corresponding to the time period based on a preset mapping relation;
matching the operation parameters with second user habit parameters corresponding to each electric equipment in the first user habit parameters to determine the matching degree of the operation parameters and the second user habit parameters;
under the condition that the matching degree between any second user habit parameter and the operation parameter is larger than a preset matching degree threshold value, determining a candidate electric equipment control instruction corresponding to any second user habit parameter according to a mapping relation between the pre-stored second user habit parameter and the electric equipment control instruction,
the second user habit parameters comprise average key speeds corresponding to single control operation of any electric equipment by a user in a unit time period, the target average key pressure, the target average key operation duration and the key sequence.
8. The apparatus of claim 7, wherein the second acquisition module comprises:
A first acquisition unit configured to acquire a user image of the user based on an image pickup device at a preset position;
the judging unit is used for carrying out face recognition on the user image so as to judge whether the user is a target user, wherein the database of the wireless key switch equipment is pre-stored with identification information of a plurality of users and user habit parameters of the plurality of users;
a first determining unit, configured to determine target identification information corresponding to the user when the user is the target user;
the second acquisition unit is used for acquiring the user habit parameters corresponding to the target identification information according to the preset mapping relation between the user identification information and the user habit parameters.
9. The apparatus according to claim 8, wherein the judging unit further comprises:
the third acquisition unit is used for responding to the fact that the appointed operation of any user based on the wireless key switch equipment is sensed, acquiring and storing the identification information uniquely corresponding to the any user, and inputting the any user into the wireless key switch equipment based on the identification information;
a fourth obtaining unit, configured to obtain key operation data of the wireless key switch device by the any user according to a specified period;
A second determining unit, configured to analyze the key operation data of any user to determine an operation characteristic of the any user on each selected electric device in the specified period, where,
the selected electric equipment is the preselected electric equipment in all electric equipment controlled by the wireless key switch equipment;
and the updating unit is used for configuring or updating the user habit parameters currently corresponding to any user according to the operation characteristics of the user on each selected electric equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211297143.4A CN115731684B (en) | 2022-10-21 | 2022-10-21 | Control method and device of wireless key switch equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211297143.4A CN115731684B (en) | 2022-10-21 | 2022-10-21 | Control method and device of wireless key switch equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115731684A CN115731684A (en) | 2023-03-03 |
CN115731684B true CN115731684B (en) | 2024-04-12 |
Family
ID=85293705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211297143.4A Active CN115731684B (en) | 2022-10-21 | 2022-10-21 | Control method and device of wireless key switch equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115731684B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117216505B (en) * | 2023-11-09 | 2024-03-19 | 广州视声智能股份有限公司 | User habit prediction method and system based on smart home use record |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182148A (en) * | 2014-09-09 | 2014-12-03 | 联想(北京)有限公司 | Key control method and device |
CN108775678A (en) * | 2018-05-31 | 2018-11-09 | 广东美的制冷设备有限公司 | Remote control method, household appliance, remote control equipment and storage medium |
CN110083266A (en) * | 2019-04-02 | 2019-08-02 | 上海墨案智能科技有限公司 | Information processing method, device and storage medium |
CN110673753A (en) * | 2018-07-03 | 2020-01-10 | 北京搜狗科技发展有限公司 | Key mis-touch error correction method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106406904B (en) * | 2016-09-30 | 2020-10-30 | 联想(北京)有限公司 | Information processing method, electronic equipment and information processing device |
-
2022
- 2022-10-21 CN CN202211297143.4A patent/CN115731684B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104182148A (en) * | 2014-09-09 | 2014-12-03 | 联想(北京)有限公司 | Key control method and device |
CN108775678A (en) * | 2018-05-31 | 2018-11-09 | 广东美的制冷设备有限公司 | Remote control method, household appliance, remote control equipment and storage medium |
CN110673753A (en) * | 2018-07-03 | 2020-01-10 | 北京搜狗科技发展有限公司 | Key mis-touch error correction method and device |
CN110083266A (en) * | 2019-04-02 | 2019-08-02 | 上海墨案智能科技有限公司 | Information processing method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115731684A (en) | 2023-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108205282B (en) | Intelligent control panel and control method and control device thereof | |
CN109413515B (en) | Equipment control method and device, mobile terminal and server | |
JP6305390B2 (en) | Information notification method, information terminal, and program | |
WO2022233123A1 (en) | Method and apparatus for controlling air conditioner, and air conditioner | |
CN107085380A (en) | A kind of intelligent domestic system customer location determination methods and electronic equipment | |
KR20150028191A (en) | Method and device for setting and recommending device action using user context | |
WO2017119159A1 (en) | Control apparatus, control method, and program | |
CN115731684B (en) | Control method and device of wireless key switch equipment | |
CN109450745A (en) | Information processing method, device, intelligence control system and intelligent gateway | |
CN108833223A (en) | Appliances equipment control method, device, remote controler, terminal, server and medium | |
CN108427310A (en) | Intelligent home furnishing control method, device and computer readable storage medium | |
WO2020220154A1 (en) | Screen display switching method, display device, and movable platform | |
WO2020183785A1 (en) | Information output method, information output device, and program | |
US10445149B2 (en) | Method for controlling multiple devices connected via network | |
JP6152853B2 (en) | Control method and program | |
CN110989378A (en) | Intelligent home controller, interaction method thereof and storage medium | |
CN104899206A (en) | Method and system for equipment operation | |
WO2019227368A1 (en) | Mode control method and apparatus, and readable storage medium and electronic device | |
CN112015101B (en) | Control method and device of intelligent equipment, intelligent control switch and storage medium | |
CN112506401A (en) | Intelligent household appliance control method, terminal, device and storage medium based on Internet of things | |
CN110686372B (en) | Air conditioner control method and device and air conditioner | |
CN115616928A (en) | Control panel control method and device based on artificial intelligence | |
CN115601951A (en) | Method, device and system for controlling remote control electronic equipment, equipment and medium | |
CN114093058A (en) | Smart door lock-based home equipment linkage control method and device and smart door lock | |
CN113641105A (en) | Household appliance control method, device, equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |