Switch control method and device and computer equipment
By determining the second function control area in the switch control system and failing the candidate control operation signal within the preset time period, the problem of low control accuracy in the prior art is solved, and higher switching control accuracy and user experience are achieved .
Patent Information
- Application Number
- CN202411007408.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-12-06
AI Technical Summary
The existing switch control methods have the problem of low control accuracy, which is prone to incorrect operation due to accidental touch.
By determining one or more second function control areas when receiving the target control operation signal for the first function control area of the switch, and if a candidate control operation for the second function control area is received within a preset time period, a candidate control operation for the second function control area is received within a preset time period The candidate control operation signal is not executed to reduce the probability of error operation.
Improve the accuracy of switch control, reduce the erroneous operation caused by false touch, and enhance the accuracy and user experience of operation.
Smart Images

Figure CN119087845A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a switch control method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of science and technology, how to accurately control home appliances has become a hot topic. Taking the control of a lighting lamp through a switch as an example, the brightness control operation of the lighting lamp can be performed through the switch, and the brightness of the lighting lamp can be flexibly adjusted.
[0003] In traditional technology, taking controlling a lighting fixture through a switch as an example, the control method generally adopted is: at least one function control area is set on the switch, and various adjustment functions for the lighting fixture are displayed in each function control area. The operation object triggers the adjustment function on any function control area, so that the switch receives the control operation signal for any function control area, and changes the working state of the home appliance based on the received control operation signal.
[0004] It can be seen that the current switch control method has the problem of low control accuracy. Summary of the invention
[0005] Based on this, it is necessary to provide an accurate switch control method, device, computer equipment, computer readable storage medium and computer program product to address the above technical problems.
[0006] In a first aspect, the present application provides a switch control method, comprising:
[0007] In case of receiving a target control operation signal for a first function control area of the switch, determining one or more second function control areas corresponding to the first function control area;
[0008] If a candidate control operation signal for the second function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
[0009] In one embodiment, determining one or more second function control areas corresponding to the first function control area includes:
[0010] Acquire one or more candidate function control regions except the first function control region;
[0011] determining a probability of misoperation of each of the one or more candidate functional control areas;
[0012] One or more second function control regions having a misoperation probability greater than a preset first misoperation probability threshold are screened out from the one or more candidate function control regions.
[0013] In one embodiment, determining the probability of misoperation of each of the one or more candidate function control areas includes:
[0014] For each candidate function control region, based on the position of the first function control region and the position of the candidate function control region, the probability of erroneous operation of the candidate function control region is determined.
[0015] In one embodiment, determining the probability of misoperation of the candidate function control area based on the position of the first function control area and the position of the candidate function control area includes:
[0016] Determining a distance between the first function control area and the candidate function control area based on the position of the first function control area and the position of the candidate function control area;
[0017] Based on the distance, the misoperation probability of the candidate function control area is determined, wherein the distance is inversely proportional to the misoperation probability.
[0018] In one embodiment, determining the probability of misoperation of each of the one or more candidate function control areas further includes:
[0019] When receiving a candidate control operation signal for a candidate function control area of the switch, acquiring environmental feature data and / or behavior feature data of the operation object;
[0020] Determining the object behavior intention of the operation object based on the environmental characteristic data and / or the behavior characteristic data;
[0021] Based on the object's behavioral intention, the probability of misoperation of one or more candidate functional control areas is determined.
[0022] In one embodiment, the candidate control operation signal for the second function control area received within the preset failure time period includes:
[0023] For each second function control area, determining a probability of misoperation of the second function control area;
[0024] Determine, from the second function control area, a third function control area whose misoperation probability exceeds a preset second misoperation probability threshold;
[0025] If a candidate control operation signal for the third function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
[0026] In one embodiment, the method further comprises:
[0027] The sensitivity of the function control area in the second function control area whose misoperation probability does not exceed the preset second misoperation probability threshold in receiving the candidate control operation signal is reduced.
[0028] In one embodiment, the first function control area is a knob rotation control area, and the second function control area is a screen and / or physical touch button control area.
[0029] In a second aspect, the present application further provides a switch control device, the device comprising:
[0030] a determination module, configured to determine one or more second function control areas corresponding to the first function control area when receiving a target control operation signal for the first function control area of the switch;
[0031] The failure module is used to not execute the state control operation corresponding to the candidate control operation signal if a candidate control operation signal for the second function control area is received within a preset time period.
[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] In case of receiving a target control operation signal for a first function control area of the switch, determining one or more second function control areas corresponding to the first function control area;
[0034] If a candidate control operation signal for the second function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
[0035] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0036] In case of receiving a target control operation signal for a first function control area of the switch, determining one or more second function control areas corresponding to the first function control area;
[0037] If a candidate control operation signal for the second function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
[0038] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0039] In case of receiving a target control operation signal for a first function control area of the switch, determining one or more second function control areas corresponding to the first function control area;
[0040] If a candidate control operation signal for the second function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
[0041] The above-mentioned switch control method, device, computer equipment, computer-readable storage medium and computer program product are different from the existing technology of setting multiple switch function control areas on the switch for switch control. The present application determines one or more second function control areas when the operation of the first function control area is triggered when the target control operation signal for the first function control area of the switch is received, so that within a preset time period, if a candidate control operation signal for the second function control area is received, the state control operation corresponding to the candidate target control operation signal is not performed, that is, within the preset time period of receiving the target control operation signal for the first function control area of the switch, the state control operation corresponding to the candidate control operation signal for the second function control area cannot be performed, thereby reducing the occurrence of state control operations performed by mistake due to mistaken touches and improving the accuracy of switch control. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] FIG1 is an application environment diagram of a switch control method according to an embodiment;
[0044] Figure 2 is a schematic flow chart of a switch control method in one embodiment;
[0045] Figure 3 is a schematic diagram of the structure of a switch in one embodiment;
[0046] Figure 4 is a flow chart of a switch control method in another embodiment;
[0047] Figure 5 is a schematic diagram of the structure of a switch in another embodiment;
[0048] Figure 6 is a structural block diagram of a switch control device in one embodiment;
[0049] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] The switch control method provided in the embodiment of the present application can be applied in the application environment shown in FIG1. The switch 102 is connected to the controlled device 104 by communication, and the working state parameters of the controlled device 104 can be controlled through the switch 102, thereby controlling the working state of the controlled device 104. The controlled device 104 includes but is not limited to lighting, curtains, air conditioners and other equipment.
[0052] The switch 102 is provided with a plurality of function control areas 106 , each of which is provided with a corresponding function control, including but not limited to knobs, touch buttons, touch display screens and other controls for controlling the controlled device 104 .
[0053] When the operating object wants to control the device through a certain function control area of the switch, that is, the operating object triggers the function control on a certain function control area, the triggered function control area is the first function control area. At this time, the switch receives the target control operation signal for the first function control area, and determines one or more second function control areas corresponding to the first function control area; the second function control area can be all function control areas except the first function control area, or it can be part of the function control area except the first function control area.
[0054] If the operating object accidentally touches a second function control area within a very short preset time period, the switch 102 receives a candidate control operation signal for the second function control area, and does not perform the state control operation corresponding to the candidate control operation signal. Further, the switch performs the state control operation corresponding to the target control operation signal to control the controlled device 104.
[0055] In a specific implementation, the first function control area and the second function control area may be in the same plane or may not be in the same plane. The control types of the first function control area and the second function control area may be the same or different.
[0056] In an exemplary embodiment, Figure 2 As shown, a switch control method is provided, and the method is applied to the switch 102 in FIG1 as an example for description. In which:
[0057] S200: upon receiving a target control operation signal for a first function control area of a switch, determining one or more second function control areas corresponding to the first function control area.
[0058] The switch is provided with a plurality of function control areas, each of which is provided with a corresponding function control, including but not limited to knobs, touch buttons, touch display screens, etc., for controlling the working state of the controlled device. The function controls corresponding to different function control areas may be the same or different.
[0059] The switch collects the control operation signal of the operating object for any function control area in real time. When the operating object wants to realize the state control of the controlled device through a certain function control area of the switch, the operating object triggers the function control on a certain function control area, and the triggered function control area is the first function control area. At this time, the switch receives the target control operation signal for the first function control area of the switch, and executes the state control operation corresponding to the target control operation signal to control the working state of the controlled device. Further, one or more second function control areas corresponding to the first function control area are determined, and the second function control area is an area that is easy to be accidentally touched when the first function control area is triggered. It should be noted that the target control operation signal is a trigger signal for the user to operate in the first function control area. The target control operation signal can last for a period of time, for example, rotating the knob of the switch for 2s. At this time, the target control operation signal is the trigger signal generated when the user starts to turn the knob.
[0060] S400: within a preset time period, if a candidate control operation signal for the second function control area is received, the state control operation corresponding to the candidate control operation signal is not performed.
[0061] Among them, the preset time period is a relatively short time period, which can be defined by the operation object. It should be noted that the preset time period can be a preset fixed time range, or it can change dynamically with the specific operation of the operation object. The preset time period can be any time period starting from the time point when the operation object triggers the first function control area (that is, the first function control area detects the target control operation signal), for example, from the triggering operation to within 1 second after the triggering operation, from the triggering operation to within 2 seconds after the triggering operation, and from the triggering operation to the time point when the current operation ends.
[0062] Specifically, taking the time from the trigger operation to the end of the current operation as an example, if the operating object continuously operates and outputs the operating instruction in the first function control area within the preset time period, the second function control area will be disabled during the current operation of the operating object, that is, any operation of the operating object on the second function control area will not be received / responded, thereby ensuring that different function control areas will not be triggered at the same time due to misoperation. For example, the operating object is rotating the knob, which is a continuous action, not an instantaneous action. In this case, the second function control area will be disabled during one rotation (that is, the preset time period). When the user rotates for the second time, the preset time period will be calculated again and the second function control area will be disabled. In this way, the second function control area can be used in the middle of two rotations of the user, thereby improving the user experience of the operating object.
[0063] Specifically, for each second function control area, within a preset time period, if the operation object triggers the control operation of the second function control area, even if the switch receives a candidate control operation signal for the second function control area, it does not perform the state control operation corresponding to the candidate control operation signal. It can be considered that when the switch receives a candidate control operation signal for the second function control area, the candidate control operation signal is invalidated.
[0064] like Figure 3 As shown, the switch is provided with 6 function control areas, among which 4 touch button areas 11, 12, 13, 14 are respectively provided at the four corners of the switch, and each touch button area is provided with motor feedback. After pressing the touch button, the motor feedback vibrates so that the operator can confirm that the touch button has been pressed; 1 touch display area 15 is also provided at the center of the switch and protrudes from the switch plane; 1 knob area 16 is provided at the outer side of the touch display area. It can be understood that the touch button area can also be a physical button area, which is not limited here.
[0065] For example, if the operating subject rotates the knob of the knob area of the switch counterclockwise to reduce the brightness of the lighting, when the switch receives a signal for reducing the brightness of the lighting for the knob area, one or more function control areas other than the knob area, namely the touch screen area and the touch button area, are determined as the second function control area. Within the preset time, if the operating subject accidentally touches the touch screen area, and the switch receives a signal for increasing the air conditioning temperature for the touch screen area, the operation of increasing the air conditioning temperature will not be performed, but the operation of reducing the brightness of the lighting will be performed.
[0066] That is to say, when the switch receives a signal to reduce the brightness of the light in the knob area, even if a candidate control operation signal is received for the touch display area or the touch button area within a preset time period, it will not respond to the candidate control operation signal, that is, the state control operation corresponding to the candidate control operation signal will not be executed.
[0067] In the above-mentioned switch control method, different from the existing technology of setting multiple switch function control areas on the switch for switch control, the present application determines one or more second function control areas when the operation of the first function control area is triggered when the target control operation signal for the first function control area of the switch is received, so that within the preset time period, if a candidate control operation signal for the second function control area is received, the state control operation corresponding to the candidate target control operation signal is not performed, that is, within the preset time period of receiving the target control operation signal for the first function control area of the switch, the state control operation corresponding to the candidate control operation signal for the second function control area cannot be performed, that is, when there is a user operation in the first function control area, the second function control area is disabled, thereby reducing the occurrence of erroneous operations due to accidental touches and improving the accuracy of switch control.
[0068] In an exemplary embodiment, Figure 4 As shown, S200 includes:
[0069] S220 , when receiving a target control operation signal for a first function control region of the switch, acquiring one or more candidate function control regions other than the first function control region.
[0070] S240: Determine the probability of misoperation of each of the one or more candidate function control areas.
[0071] S260: Filter out, from the one or more candidate function control areas, one or more second function control areas whose misoperation probability is greater than a preset first misoperation probability threshold.
[0072] The candidate function control area is the function control area of all the function control areas of the switch except the first function control area. The probability of misoperation of the candidate function control area is the probability of mis-touch the candidate function control area when the function control of the first function control area is triggered.
[0073] Specifically, one or more function control areas other than the first function control area are obtained from all function control areas of the switch and are determined as candidate function control areas. The probability of misoperation of each candidate function control area being easily mis-touched when the function control of the first function control area is triggered is determined.
[0074] After determining the misoperation probability of one or more candidate function control areas, based on the misoperation probability of each candidate function control area, the candidate function control areas that are easy to be mis-touched can be screened out from the one or more candidate function control areas. In detail, screening out the candidate function control areas that are easy to be mis-touched means screening out one or more second function control areas whose misoperation probability is greater than a preset first misoperation probability threshold from one or more candidate function control areas. In other words, one or more second function control areas with a higher misoperation probability are determined as candidate function control areas that are easy to be mis-touched.
[0075] In the above embodiment, by screening out one or more second function control areas whose misoperation probability is greater than a preset first misoperation probability threshold from one or more candidate function control areas excluding the first function control area, the candidate function control areas that are easily mis-touched can be accurately determined.
[0076] In an exemplary embodiment, determining the probability of misoperation of each of the one or more candidate function control areas includes:
[0077] For each candidate function control region, based on the position of the first function control region and the position of the candidate function control region, the probability of erroneous operation of the candidate function control region is determined.
[0078] Specifically, for each candidate function control region, the probability of misoperation of the candidate function control region may be determined based on the respective positions of the first function control region and the candidate function control region. Figure 5 As shown, the knob area 21 and the touch button area 22 are both located at the top of the switch, and the touch display area 23 is located at the bottom of the switch. It can be seen that when the first function control area is the knob area 21, based on the respective positions of the knob area and the touch display area 23, and the respective positions of the touch button area 22 and the knob area 21, it can be determined that the probability of misoperation of the touch button area 22 is greater than the probability of misoperation of the touch display area 23.
[0079] In the above embodiment, based on the position of the first function control area and the position of the candidate function control area, the probability of misoperation of the candidate function control area can be accurately analyzed, thereby improving the accuracy of determining the probability of misoperation.
[0080] In an exemplary embodiment, determining the probability of misoperation of the candidate function control area based on the position of the first function control area and the position of the candidate function control area includes:
[0081] Based on the position of the first function control area and the position of the candidate function control area, the distance between the first function control area and the candidate function control area is determined; based on the distance, the misoperation probability of the candidate function control area is determined, wherein the distance is inversely proportional to the misoperation probability.
[0082] Specifically, based on the position of the first function control area and the position of the candidate function control area, the distance between the two function control areas is determined. Generally speaking, the shorter the distance between the first function control area and the candidate function control area, the easier it is to accidentally touch the candidate function control area when the first function control area is triggered, and therefore, the greater the probability of misoperation of the candidate function control area; the greater the distance between the first function control area and the candidate function control area, the less likely it is to accidentally touch the candidate function control area when the first function control area is triggered, and the smaller the probability of misoperation of the candidate function control area.
[0083] For example, still Figure 3 As shown, the touch screen area 15 is located in the middle of the switch, the touch button areas 11, 12, 13, 14 are located at the four corners of the switch, and the knob area 16 is arranged on the outer side of the touch screen area 15. In the case where the first function control area is the knob area 16, it can be seen from the positions of the knob area 16, the touch screen area 15, and the respective positions of the touch button areas 11, 12, 13, 14 that the knob area 16 is closer to the touch screen area 15, and when the knob of the knob area 16 is rotated, the touch screen area 15 is actually more likely to be touched, that is, the probability of misoperation of the touch screen area 15 is greater than that of the touch button areas 11, 12, 13, 14.
[0084] In the above embodiment, by determining the distance between the first function control area and the candidate function control area, the probability of misoperation of the candidate function control area can be accurately determined, thereby achieving subsequent accurate switch control.
[0085] In an exemplary embodiment, determining the probability of misoperation of the candidate function control area is also related to whether the first function control area and the candidate function control area are blocked. Figure 3 For example, if Figure 3 The knob control of the knob area 16 in the figure is more protruding, that is, higher than the plane where the touch screen area 15 is located, that is, at this time, the touch screen area 15 can be considered to be inside the knob area 16. In this case, even if the knob area 16 is closer to the touch screen area 15, when the knob of the knob area 16 is rotated, the inner touch screen area 15 cannot be touched. Therefore, the probability of misoperation of the touch button areas 11, 12, 13, and 14 is greater than the probability of misoperation of the touch screen area 15.
[0086] In an exemplary embodiment, determining the probability of misoperation of each of the one or more candidate function control areas further includes:
[0087] When a candidate control operation signal for a candidate function control area of the switch is received, environmental characteristic data and / or behavioral characteristic data of the operation object are obtained; based on the environmental characteristic data and / or the behavioral characteristic data, the object behavior intention of the operation object is determined; based on the object behavior intention, the probability of misoperation of one or more candidate function control areas is determined.
[0088] The environmental characteristic data refers to the characteristic data of the environment around the switch, such as the temperature data, humidity data, brightness data, etc. The operation object refers to the operation object of the operation switch, and the behavior characteristic data can be the historical behavior characteristic data of the operation object, or the voice of the operation object, etc.
[0089] Specifically, when a control operation signal for one or more candidate function control areas of the switch is received, an object behavior intention of the operation object is determined, and based on the object behavior intention, a probability of misoperation of the one or more candidate function control areas is determined.
[0090] For example, control operation signals for two candidate function control areas of a switch are received, wherein one control operation signal represents turning off the light and the other control operation signal represents turning up the indoor brightness. By judging the behavior intention of the operation object, when the behavior intention of the operation object is to turn on the light, it is judged that the probability of misoperation of the candidate function control area that receives the control operation signal representing turning off the light is greater than the probability of misoperation of the candidate function control area that receives the control operation signal representing turning up the indoor brightness.
[0091] Furthermore, the method for determining the object behavior intention of the operation object includes: determining the object behavior intention of the operation object based on environmental feature data and / or behavior feature data.
[0092] For example, when the object behavior intention of the operating object is determined based on environmental characteristic data, when the environmental characteristic data is environmental brightness data, the environmental brightness data is analyzed to obtain the environmental brightness data representing low brightness, and then the object behavior intention of the operating object is determined to increase the brightness; when the environmental characteristic data is environmental temperature data, the environmental temperature data is analyzed to obtain the environmental brightness data representing low temperature, and then the object behavior intention of the operating object is determined to increase the temperature.
[0093] In the case of determining the object behavior intention of the operation object based on the behavior characteristic data, the behavior characteristic data is analyzed, and when the obtained behavior characteristic data represents that the user needs to read a book, it is further determined that the object behavior intention of the operation object is to increase the brightness.
[0094] In an exemplary embodiment, the acquisition of behavior feature data often needs to be achieved through image, video or voice recognition technology, for example, the behavior of the operating object is monitored in real time through a camera device, and the video captured by the camera device is recognized frame by frame to obtain the object behavior data of the operating object; for another example, the voice of the operating object is monitored in real time through a recorder, and the monitored voice is recognized to obtain the object behavior data of the operating object. Environmental feature data can be obtained by setting sensors, for example, a humidity sensor is set to monitor the humidity of the environment, and a temperature sensor is set to monitor the temperature of the environment.
[0095] In the above embodiment, by acquiring environmental characteristic data and / or behavioral characteristic data of the operation object, the object behavior intention of the operation object can be accurately identified to determine the size of the probability of misoperation of the candidate control operation signal, and then determine whether to execute the state control operation corresponding to the candidate control operation signal.
[0096] In an exemplary embodiment, within a preset time period, if a candidate control operation signal for the second function control area is received, then the state control operation corresponding to the candidate control operation signal is not performed, including:
[0097] For each second function control area, determine the misoperation probability of the second function control area; from the second function control areas, determine the third function control area whose misoperation probability exceeds the preset second misoperation probability threshold; within the preset time period, if a candidate control operation signal for the third function control area is received, the state control operation corresponding to the candidate control operation signal is not performed.
[0098] The preset second erroneous operation probability threshold is greater than or equal to the preset first erroneous operation probability threshold.
[0099] Specifically, if a candidate control operation signal for a second function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal of the second function control area is not completely not executed. Instead, a third function control area whose misoperation probability exceeds a preset second misoperation probability threshold can be determined from the second function control area, and the state control operation corresponding to the candidate control operation signal of the third function control area is not executed.
[0100] Among them, the second function control area is an area where the probability of misoperation obtained by screening out from the candidate function control areas exceeds the preset first misoperation probability threshold, and the third function control area is an area where the probability of misoperation obtained by screening out from the second function control area exceeds the preset second misoperation probability threshold, and the preset second misoperation probability threshold is greater than or equal to the preset first misoperation probability threshold. In other words, the third function control area is an area that is more likely to be mis-touched among the areas that are easily mis-touched, so the state control operation corresponding to the candidate control operation signal for the third function control area can be directly not executed.
[0101] In the above embodiment, by not executing the state control operation corresponding to the candidate control operation signal of the third function control area, and the third function control area is an area where the probability of erroneous operation exceeds the preset second erroneous operation probability threshold, it is possible to further judge whether it is an accidental touch, thereby reducing the occurrence of operations that need to be executed are not executed due to erroneous judgments, thereby improving the accuracy of switch control.
[0102] In an exemplary embodiment, the method further comprises:
[0103] The sensitivity of the function control area in the second function control area whose misoperation probability does not exceed the preset second misoperation probability threshold in receiving the candidate control operation signal is reduced.
[0104] Specifically, a fourth function control area in the second function control area whose probability of misoperation does not exceed the preset second misoperation probability threshold is determined, and the sensitivity of the fourth function control area in receiving the candidate control operation signal is reduced, that is, the sensitivity of receiving signals of certain candidate function control areas that exceed the preset first misoperation probability threshold and do not exceed the preset second misoperation probability threshold is reduced, so that it is not easy for them to receive the candidate control operation signal, thereby raising the threshold for successful misoperation. It should be noted that reducing the sensitivity of the received signal does not mean that the candidate control operation signal cannot be received. When the candidate control operation signal is received, the state control operation corresponding to the candidate control operation signal can also be executed. Furthermore, the adjustment of the sensitivity has a certain time limit, and after a certain period of time, the sensitivity returns to the default value.
[0105] In the above embodiment, by reducing the sensitivity of the function control areas in the second function control area whose erroneous operation probability does not exceed the preset second erroneous operation probability threshold to receive candidate control operation signals, these function control areas can be less likely to receive candidate control operation signals, thereby raising the threshold for erroneous operation judgment.
[0106] In one embodiment, the first function control area is a knob rotation control area, and the second function control area is a screen and / or physical touch button control area.
[0107] In an exemplary embodiment, the misoperation probability of each candidate function control area may be a fixed misoperation probability preset in advance.
[0108] In an exemplary embodiment, before executing the state control operation corresponding to the target control operation signal, it includes: pushing a confirmation execution message to the client, the confirmation execution message is used to prompt the operation object whether to confirm the execution of the state control operation corresponding to the target control operation signal; when receiving the execution confirmation message fed back by the client, the state control operation corresponding to the target control operation signal is executed. In other words, before executing the state control operation corresponding to the target control operation signal, the operation object is required to confirm whether to execute the state control operation corresponding to the target control operation signal.
[0109] In an exemplary embodiment, after executing the state control operation corresponding to the target control operation signal, the method further includes: pushing an erroneous operation confirmation message to the client, the erroneous operation confirmation message is used to instruct the operation object to confirm whether the state control operation corresponding to the target control operation signal is an erroneous operation; receiving an erroneous operation feedback message sent by the client; and when the erroneous operation feedback message indicates that the state control operation corresponding to the target control operation signal is an erroneous operation, canceling the state control operation corresponding to the target control operation signal. In other words, after executing the state control operation corresponding to the target control operation signal, the operation object can confirm whether the executed state control operation is a non-accidental state control operation.
[0110] Within a preset time period, if candidate control operation signals for multiple second function control areas are received, then after canceling the state control operation corresponding to the target control operation signal, the method also includes: screening out the target state control operation with the lowest probability of misoperation from the unexecuted state control operations; pushing a confirmation execution message to the client, the confirmation execution message is used to prompt the operation object whether to confirm the execution of the target state control operation; and executing the target state control operation when an execution confirmation message is received from the client.
[0111] In a specific application embodiment, Figure 3As shown, the touch button areas 11, 12, 13, and 14 are located at the four corners of the switch, the touch screen area 15 is located in the middle of the switch, and the knob area 16 is located on the outer side of the touch screen area 15. The function of rotating the knob in the knob area counterclockwise is to reduce the brightness of the lighting lamp, and the function of rotating the knob in the knob area clockwise is to increase the brightness of the lighting lamp; clicking the button in the touch button area 11 is to start the A mode of the air conditioner, clicking the button in the touch button area 12 is to start the B mode of the air conditioner, clicking the button in the touch button area 13 is to start the C mode of the microwave oven, and clicking the button in the touch button area 14 is to start the D mode of the water heater; clicking the touch screen in the touch screen area 15 can also be used to adjust the working parameters of other controlled devices.
[0112] First, the operator rotates the knob in the knob area counterclockwise, and the switch receives a signal to reduce the brightness of the light, then the knob area is determined as the first function control area, and the touch button area and the touch display area are determined as candidate function control areas. The probability of misoperation of the touch button area and the touch display area is determined.
[0113] There are many ways to determine the probability of misoperation in each area, including but not limited to the following:
[0114] The first one is to pre-set the respective misoperation probabilities of the touch button area and the touch display screen area when the knob area is determined as the first function control area.
[0115] The second method is to determine the probability of misoperation of the touch button area based on the distance between the touch button area and the knob area, and to determine the probability of misoperation of the touch display area based on the distance between the touch display area and the knob area, wherein the distance is inversely proportional to the probability of misoperation.
[0116] The third method is to obtain environmental characteristic data and / or behavioral characteristic data of the operation object, and determine the object behavior intention of the operation object based on the environmental characteristic data and / or behavioral characteristic data; based on the object behavior intention, determine the probability of misoperation of the touch display area and the knob area.
[0117] The fourth method is to train a large model based on the historical control records of the switch, and estimate the probability of misoperation in the touch screen area and the knob area based on the target control operation signal of the current first function control area and the alternative control operation signal of the second function control area, as well as the current environmental feature data and / or behavioral feature data.
[0118] It should be noted that the methods used to determine the misoperation probabilities of various regions are different, and the misoperation probabilities obtained are not necessarily the same.
[0119] Secondly, based on the misoperation probability of the touch button area and the touch display area, the second function control area with a misoperation probability greater than a preset first misoperation probability threshold is selected, and the second function control area is determined as a function control area that is easy to be mis-touched. The misoperation probability of the touch button area and the touch display area is set to be greater than the preset first misoperation probability threshold, and both are second function control areas.
[0120] Finally, from the second function control area, a third function control area whose misoperation probability exceeds the preset second misoperation probability threshold is screened, and from the second function control area, a fourth function control area whose misoperation probability does not exceed the preset second misoperation probability threshold is screened.
[0121] The touch screen area is set as the third function control area, and the touch button area is set as the fourth function control area.
[0122] If a curtain opening signal for the touch screen area is received within a preset time period, the curtain opening operation corresponding to the curtain opening signal will not be performed. In addition, the sensitivity of the touch key area to receive candidate control operation signals will be reduced, so that the signal for the touch key area may not be received, thereby raising the threshold for switch control.
[0123] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0124] Based on the same inventive concept, the embodiment of the present application also provides a switch control device for implementing the switch control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more switch control device embodiments provided below can refer to the limitations on the switch control method above, and will not be repeated here.
[0125] In an exemplary embodiment, Figure 6 As shown, a switch control device 600 is provided, comprising: a determination module 200 and a failure module 400, wherein:
[0126] A determination module 200, configured to determine one or more second function control areas corresponding to the first function control area when receiving a target control operation signal for the first function control area of the switch;
[0127] The failure module 400 is used to not execute the state control operation target control operation signal corresponding to the candidate control operation signal when receiving the candidate control operation signal for the second function control area within a preset time period.
[0128] In one embodiment, the determination module 200 is also used to obtain one or more candidate function control areas other than the first function control area; determine the misoperation probability of each of the one or more candidate function control areas; and screen out one or more second function control areas whose misoperation probability is greater than a preset first misoperation probability threshold from the one or more candidate function control areas.
[0129] In one embodiment, the determination module 200 is further configured to determine, for each candidate function control region, a probability of misoperation of the candidate function control region based on the position of the first function control region and the position of the candidate function control region.
[0130] In one embodiment, the determination module 200 is further used to determine the distance between the first function control area and the candidate function control area based on the position of the first function control area and the position of the candidate function control area; based on the distance, determine the misoperation probability of the candidate function control area, wherein the distance is inversely proportional to the misoperation probability.
[0131] In one of the embodiments, the determination module 200 is also used to obtain environmental characteristic data and / or behavioral characteristic data of the operation object when receiving a candidate control operation signal for a candidate function control area of the switch; determine the object behavior intention of the operation object based on the environmental characteristic data and / or the behavior characteristic data; and determine the probability of misoperation of one or more candidate function control areas based on the object behavior intention.
[0132] In one of the embodiments, the failure module 400 is also used to determine the misoperation probability of the second function control area for each second function control area; determine a third function control area from the second function control area whose misoperation probability exceeds a preset second misoperation probability threshold; within a preset time period, if a candidate control operation signal is received for the third function control area, the state control operation corresponding to the candidate control operation signal is not performed.
[0133] In one embodiment, the switch control device 600 further includes an adjustment module, which is used to reduce the sensitivity of the function control area in the second function control area whose misoperation probability does not exceed a preset second misoperation probability threshold to receive the candidate control operation signal.
[0134] Each module in the above switch control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0135] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a switch control method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0136] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0137] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0138] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0139] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0140] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0141] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0142] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A switch control method, It is characterized in that The method comprises: In case of receiving a target control operation signal for a first function control area of the switch, determining one or more second function control areas corresponding to the first function control area; If a candidate control operation signal for the second function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
2. The method according to claim 1, It is characterized in that The determining one or more second function control areas corresponding to the first function control area includes: Acquire one or more candidate function control regions except the first function control region; Determining a probability of misoperation of each of one or more of the candidate function control areas; One or more second function control areas whose misoperation probability is greater than a preset first misoperation probability threshold are screened out from the one or more candidate function control areas.
3. The method according to claim 2, It is characterized in that The determining of the misoperation probability of each of the one or more candidate function control areas comprises: For each candidate function control region, based on the position of the first function control region and the position of the candidate function control region, the probability of an erroneous operation of the candidate function control region is determined.
4. The method according to claim 3, It is characterized in that The determining, based on the position of the first function control area and the position of the candidate function control area, the probability of misoperation of the candidate function control area includes: determining a distance between the first function control area and the candidate function control area based on the position of the first function control area and the position of the candidate function control area; Based on the distance, a misoperation probability of the candidate function control area is determined, wherein the distance is inversely proportional to the misoperation probability.
5. The method according to claim 2, It is characterized in that The determining of the probability of misoperation of each of the one or more candidate function control areas further includes: When receiving a candidate control operation signal for a candidate function control area of the switch, acquiring environmental feature data and / or behavior feature data of the operation object; Determining the object behavior intention of the operation object based on the environmental characteristic data and / or the behavior characteristic data; Based on the object's behavioral intention, a probability of misoperation of one or more of the candidate function control areas is determined.
6. The method according to claim 1, It is characterized in that The step of not performing the state control operation corresponding to the candidate control operation signal if the candidate control operation signal for the second function control area is received within the preset time period includes: For each second function control area, determining a probability of misoperation of the second function control area; Determine, from the second function control area, a third function control area where the misoperation probability exceeds a preset second misoperation probability threshold; If a candidate control operation signal for the third function control area is received within a preset time period, the state control operation corresponding to the candidate control operation signal is not performed.
7. The method according to claim 6, It is characterized in that The method further includes: reducing the sensitivity of the function control area in the second function control area, where the misoperation probability does not exceed a preset second misoperation probability threshold, to receive the candidate control operation signal.
8. The method according to any one of claims 1 to 7, It is characterized in that The first function control area is a knob rotation control area, and the second function control area is a screen and / or physical touch button control area.
9. A switch control device, It is characterized in that The device comprises: a determination module, configured to determine one or more second function control areas corresponding to a first function control area of a switch upon receiving a target control operation signal for the first function control area; The failure module is used to not execute the state control operation target control operation signal corresponding to the candidate control operation signal when receiving the candidate control operation signal for the second function control area within a preset time period.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Control method and electronic equipment
CN106095322A
Method and equipment for preventing terminal misoperation as well as computer storage medium
CN107613119A
Touch input method and electronic equipment
CN111459382A
Method for operating on touch screen and electronic equipment
CN113641292A
Cooking utensil interaction method and cooking utensil
CN116019365A
