Child lock control method and system, electronic device, and storage medium

By collecting and analyzing real-time key values ​​and pressure values ​​of users pressing the child lock, and combining them with historical data, the system automatically identifies user types and controls the child lock status, solving the problem that existing home appliance child lock functions cannot accurately identify users, thus improving safety and identification accuracy.

CN116895116BActive Publication Date: 2025-11-28NINGBO FOTILE KITCHEN WARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310952016.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-11-28
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

Existing child lock functions in home appliances cannot accurately identify user types, resulting in low security. Adults need to frequently turn the lock on or off, which poses a high risk of children accidentally turning it off.

Method used

By collecting real-time key values ​​and pressure values ​​of the target user pressing the child lock, and combining them with historical key values ​​and pressure values, the system identifies the user type and automatically controls the child lock status, including capacitive touch and pressure sensor detection.

Benefits of technology

It improves the accuracy of user identification and the safety of child locks, reduces the risk of children accidentally turning off the function, and enables automatic identification of adult or child operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116895116B_ABST
    Figure CN116895116B_ABST
Patent Text Reader

Abstract

The application discloses a child lock control method and system, electronic equipment and a storage medium. The method comprises the following steps: in response to a received touch instruction, collecting real-time key values and real-time pressure values of a target user pressing a child lock; obtaining historical key values and historical pressure values; determining a target user type of the target user according to a comparison result of the real-time key values and the historical key values and the real-time pressure values and the historical pressure values; and controlling a working state of the child lock according to the target user type. The application can recognize the target user type of the target user according to the real-time key values and the real-time pressure values of the target user, improve the accuracy of user recognition and the safety of the child lock.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of child lock control, and particularly relates to a child lock control method and system, an electronic device and a storage medium. BACKGROUND

[0002] The development of home appliances makes people's life more and more convenient, but children using home appliances without supervision will also bring certain risks. In order to prevent children from randomly operating home appliances to cause safety accidents, many home appliances currently add a child lock function to prevent children from randomly operating to cause danger. The common opening mode of the current child lock function is to manually operate the key to start. After opening, it cannot be identified whether a child or an adult operates, and adults need to cancel the child lock function every time they want to operate, and need to re-operate every time they open it. If you forget to open it, children will still have the risk of using it without supervision. In addition, the existing child lock function generally opens and closes by long pressing the key, and children still have the risk of mistakenly closing it. SUMMARY

[0003] The technical problem to be solved by the present application is to overcome the defects of inaccurate user identification and low safety of the child lock function of the existing home appliances, and to provide a child lock control method, system, electronic device and storage medium.

[0004] The present application solves the above technical problems by the following technical solutions:

[0005] The present application provides a child lock control method in the first aspect, which comprises:

[0006] In response to the received touch instruction, the real-time key value and the real-time pressure value of the target user pressing the child lock are collected;

[0007] The historical key value and the historical pressure value corresponding to different user types pressing the child lock are obtained;

[0008] The target user type of the target user is determined according to the comparison results of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value;

[0009] The working state of the child lock is controlled according to the target user type.

[0010] Preferably, in the case that the user type includes children, the step of obtaining the historical key value and the historical pressure value corresponding to different user types pressing the child lock comprises:

[0011] The first historical key value and the first historical pressure value corresponding to the children pressing the child lock are obtained;

[0012] In the case that the user type includes adults, the step of obtaining the historical key value and the historical pressure value corresponding to different user types pressing the child lock comprises:

[0013] acquiring a second historical key value and a second historical pressure value corresponding to the adult pressing the child lock.

[0014] Preferably, the step of determining the target user type of the target user according to the comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value comprises:

[0015] if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is less than or equal to the first historical pressure value, determining that the target user type of the target user is adult;

[0016] The step of controlling the working state of the child lock according to the target user type comprises:

[0017] when the target user type is adult, controlling the child lock to be in the closed state.

[0018] Preferably, the step of determining the target user type of the target user according to the comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value further comprises:

[0019] if the real-time key value is less than the first historical key value and the real-time pressure value is greater than or equal to the first historical pressure value, determining that the target user type of the target user is child;

[0020] The step of controlling the working state of the child lock according to the target user type comprises:

[0021] when the target user type is child, controlling the child lock to be in the open state.

[0022] Preferably, the control method further comprises:

[0023] if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is greater than the first historical pressure value, or the real-time key value is greater than the first historical key value and less than the second historical key value, or the real-time key value is less than or equal to the first historical key value and the real-time pressure value is less than the first historical pressure value, calculating an adult key value according to the real-time pressure value;

[0024] determining whether the difference between the adult key value and the real-time key value is less than or equal to a preset difference value, if yes, determining that the target user type of the target user is adult and controlling the child lock to be in the closed state, if no, determining that the target user type of the target user is child and controlling the child lock to be in the open state.

[0025] Preferably, the step of collecting the real-time key value of the target user pressing the child lock comprises:

[0026] detecting a finger capacitance value of the target user;

[0027] calculating a real-time key value of the target user pressing the child lock according to the finger capacitance value;

[0028] wherein the real-time key value of the target user pressing the child lock is in a positive correlation with the finger capacitance value.

[0029] Preferably, the control method further comprises:

[0030] acquiring a finger contact area of the target user pressing the child lock;

[0031] determining whether the finger contact area is greater than or equal to a preset finger contact area, if yes, determining that a target type of the target user is adult, and if no, determining that a user type of the target user is child.

[0032] The second aspect of the present application provides a control system of a child lock, the control system comprising:

[0033] a collecting module, configured to collect a real-time key value and a real-time pressure value of a target user pressing the child lock in response to a received touch instruction;

[0034] a first acquiring module, configured to acquire historical key values and historical pressure values corresponding to different user types pressing the child lock;

[0035] a first determining module, configured to determine a target user type of the target user according to a comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value;

[0036] a first control module, configured to control a working state of the child lock according to the target user type.

[0037] Preferably, in the case that the user type includes child, the first acquiring module is configured to acquire first historical key values and first historical pressure values corresponding to the child pressing the child lock;

[0038] in the case that the user type includes adult, the first acquiring module is configured to acquire second historical key values and second historical pressure values corresponding to the adult pressing the child lock.

[0039] Preferably, the first determining module is configured to determine that the target user type of the target user is adult if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is less than or equal to the first historical pressure value;

[0040] the first control module is configured to control the child lock to be in a closed state when the target user type is adult.

[0041] Preferably, the first determining module is configured to determine that the target user type of the target user is a child if the real-time key value is less than the first historical key value and the real-time pressure value is greater than or equal to the first historical pressure value.

[0042] The first control module is configured to control the child lock to be in an open state when the target user type is a child.

[0043] Preferably, the control system further comprises:

[0044] The calculating module is configured to calculate an adult key value according to the real-time pressure value if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is greater than the first historical pressure value, or the real-time key value is greater than the first historical key value and less than the second historical key value, or the real-time key value is less than or equal to the first historical key value and the real-time pressure value is less than the first historical pressure value.

[0045] The first judging module is configured to judge whether a difference between the adult key value and the real-time key value is less than or equal to a preset difference value, and call the second determining module if yes, or call the third determining module if no.

[0046] The second determining module is configured to determine that the target user type of the target user is an adult and control the child lock to be in a closed state.

[0047] The third determining module is configured to determine that the target user type of the target user is a child and control the child lock to be in an open state.

[0048] Preferably, the collecting module comprises:

[0049] The detecting unit is configured to detect a finger capacitance value of the target user.

[0050] The calculating unit is configured to calculate a real-time key value of the target user pressing the child lock according to the finger capacitance value.

[0051] The real-time key value of the target user pressing the child lock is in a positive proportional relationship with the finger capacitance value.

[0052] Preferably, the control system further comprises:

[0053] The second acquiring module is configured to acquire a finger contact area of the target user pressing the child lock.

[0054] The second judging module is configured to judge whether the finger contact area is greater than or equal to a preset finger contact area, and call the fourth determining module if yes, or call the fifth determining module if no.

[0055] The fourth determining module is configured to determine that the target type of the target user is an adult.

[0056] The fifth determining module is configured to determine that the user type of the target user is a child.

[0057] The third aspect of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and used for running on the processor, and the processor implements the control method of the child lock according to the first aspect when executing the computer program.

[0058] The fourth aspect of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the control method of the child lock according to the first aspect.

[0059] On the basis of common sense in the art, the above-mentioned preferred conditions can be combined arbitrarily, that is, to obtain each preferred example of the present application.

[0060] The positive progress effect of the present application is that:

[0061] When the touch instruction is received, the real-time key value and the real-time pressure value of the target user pressing the child lock are collected, the historical key value and the historical pressure value corresponding to different user types pressing the child lock are obtained, the target user type of the target user is determined according to the comparison results of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value, and the working state of the child lock is controlled according to the target user type. The target user type of the target user can be identified according to the real-time key value and the real-time pressure value of the target user, and the accuracy of user identification and the safety of the child lock are improved. BRIEF DESCRIPTION OF DRAWINGS

[0062] Figure 1 The first flow chart of the control method of the child lock of the embodiment 1 of the present application.

[0063] Figure 2 The second flow chart of the control method of the child lock of the embodiment 1 of the present application.

[0064] Figure 3 The module schematic diagram of the control system of the child lock of the embodiment 2 of the present application.

[0065] Figure 4 The structure schematic diagram of the electronic device for implementing the control method of the child lock of the embodiment 3 of the present application. DETAILED DESCRIPTION

[0066] The present application will be further described by way of examples below, but the present application is not limited in the scope of the examples.

[0067] Embodiment 1

[0068] The child lock control method provided by the embodiment can be applied to household appliances, for example, can be applied to a refrigerator, and can also be applied to other devices on which a child lock can be installed, such as Figure 1 As shown in the figure, the control method comprises the following steps.

[0069] Step 101, in response to the received touch instruction, collecting a real-time key value and a real-time pressure value of the target user pressing the child lock;

[0070] In the embodiment, the touch is basically capacitive touch, and the capacitive touch is realized based on detecting a finger capacitance value.

[0071] In the embodiment, the real-time pressure value of the target user pressing the child lock display panel is detected by a pressure sensor.

[0072] Step 102, obtaining historical key values and historical pressure values corresponding to different user types pressing the child lock;

[0073] Step 103, determining a target user type of the target user according to a comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value;

[0074] Step 104, controlling a working state of the child lock according to the target user type.

[0075] In an optional embodiment, in the case that the user type includes children, step 102 comprises:

[0076] Step 102-1, obtaining first historical key values and first historical pressure values corresponding to children pressing the child lock;

[0077] In the embodiment, for example, when a user operation interface enters a child key value collection mode, in this mode, a child's finger can press a key on the child lock display panel, and a control board of the child lock records first historical key values K1 and first historical pressure values F1 obtained by the child pressing.

[0078] In the case that the user type includes adults, step 102 comprises:

[0079] Step 102-2, obtaining second historical key values and second historical pressure values corresponding to adults pressing the child lock.

[0080] In this embodiment, for example, when the user operates the interface to enter the adult key value collection mode, in this mode, the adult can press the key on the display panel of the child lock with his finger, and the control panel of the child lock records the second historical key value K2 and the second historical pressure value F2 obtained by the adult pressing. It should be noted that when the control panel detects that the second historical pressure value F2 obtained by the adult pressing in the adult key value collection mode is equal to the first historical pressure value F1 obtained by the child pressing in the child key value collection mode, a prompt sound is emitted.

[0081] In addition, the adult key value collection mode described above can collect key values for multiple times to obtain key values K under different pressures F, and a curve K 成人 = f(F) can be obtained accordingly.

[0082] In an optional embodiment, step 103 comprises:

[0083] Step 103-1: If the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is less than or equal to the first historical pressure value, it is determined that the target user type of the target user is adult.

[0084] Step 104 comprises:

[0085] Step 104-1: When the target user type is adult, the child lock is controlled to be in the closed state.

[0086] In an optional embodiment, step 103 further comprises:

[0087] Step 103-2: If the real-time key value is less than the first historical key value and the real-time pressure value is greater than or equal to the first historical pressure value, it is determined that the target user type of the target user is child.

[0088] Step 104 further comprises:

[0089] Step 104-2: When the target user type is child, the child lock is controlled to be in the open state.

[0090] In the specific implementation process, after the intelligent child lock mode is started, when the target user touches the display panel, the control panel identifies the real-time key value K 实 and the real-time pressure value F 实 pressed by the target user.

[0091] If K 实 ≥ K2 and F 实 ≤ F1, it is determined that the operation is performed by adult, i.e., it is determined that the target user type of the target user is adult; at this time, the child lock is controlled to be in the closed state (i.e., the child lock is not controlled to work), and the display panel can be normally operated.

[0092] If K 实 < K1 and F 实F1, it is determined that the child operates, that is, the target user type of the target user is determined as the child; at this time, the child lock is controlled to be in the open state (that is, the child lock is controlled to work), and the display panel cannot be operated.

[0093] The embodiment can automatically and accurately determine whether the adult or the child operates the display panel by collecting the real-time key value and the real-time pressure value obtained by the user pressing the child lock display panel, and reduces the risk of the child mistakenly closing the child lock function.

[0094] In an optional embodiment, as shown in Figure 2 the control method further comprises:

[0095] Step 201: If the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is greater than the first historical pressure value, or the real-time key value is greater than the first historical key value and less than the second historical key value, or the real-time key value is less than or equal to the first historical key value and the real-time pressure value is less than the first historical pressure value, step 202 is executed;

[0096] Step 202: An adult key value is calculated according to the real-time pressure value;

[0097] Step 203: It is determined whether the difference between the adult key value and the real-time key value is less than or equal to a preset difference value, if yes, step 204 is executed; if no, step 205 is executed;

[0098] In the embodiment, the preset difference value is set according to the actual situation, which is not limited here.

[0099] Step 204: The target user type of the target user is determined as the adult, and the child lock is controlled to be in the closed state;

[0100] Step 205: The target user type of the target user is determined as the child, and the child lock is controlled to be in the open state.

[0101] In the specific implementation process, if K 实 ≥ K2 and F 实 > F1, or if K1 < K 实 < K2, or K 实 ≤ K1 and F 实 < F1, F 实 is substituted into K 成人 = f(F), to obtain the adult key value K 成人 , the adult key value K 成人 is compared with the real-time key value K 实 , if the adult key value K 成人 is equal to the real-time key value K 实If the difference is less than or equal to the preset difference n, it is determined to be an adult operation, that is, the target user type is determined to be an adult; at this time, the child lock is in the off state (i.e., the child lock is not working), and the display panel can be operated normally; if the adult key value K 成人 With real-time key value K 实 If the difference is greater than the preset difference n, it is determined to be a child operation, that is, the target user type is determined to be a child; at this time, the child lock is in the open state (i.e. the child lock is working), and the display panel cannot be operated.

[0102] In an optional embodiment, step 101 includes:

[0103] Step 101-1: Detect the finger capacitance value of the target user;

[0104] In this embodiment, the finger capacitance value of the target user is calculated by the contact area of ​​the target user's finger when pressing the child lock. Specifically, the formula for calculating the finger capacitance value of the target user is: C = ε 0* ε r* A / d, where C represents the finger capacitance value of the target user, A represents the finger contact area of ​​the target user pressing the child lock, and ε0, ε r Both d and d are constants.

[0105] It should be noted that the finger capacitance value C is directly proportional to the finger contact area A. When the target user presses the button forcefully, the area of ​​the panel that their finger contacts will increase.

[0106] Step 101-2: Calculate the real-time key value of the child lock pressed by the target user based on the finger capacitance value;

[0107] Among them, the real-time key value of the target user pressing the child lock is directly proportional to the finger capacitance value.

[0108] In this embodiment, the control board can obtain the real-time key value of the target user pressing the child lock based on the collected finger capacitance value C of the target user. The real-time key value of the target user pressing the child lock is directly proportional to the finger capacitance value. The larger the finger capacitance value, the larger the real-time key value.

[0109] In an optional embodiment, the control method further includes:

[0110] Step 301: Obtain the contact area of ​​the target user's finger when pressing the child lock;

[0111] Step 303: Determine whether the finger contact area is greater than or equal to the preset finger contact area. If yes, proceed to step 304; otherwise, proceed to step 305.

[0112] In this embodiment, the preset finger contact area is set according to the actual situation, and no specific limitation is made here.

[0113] Step 304, determining that the target type of the target user is adult;

[0114] Step 305, determining that the user type of the target user is child.

[0115] In this embodiment, since the contact area of the adult finger is larger than that of the child finger, the size of the finger in this contact is determined by detecting the finger contact area, so as to determine whether it is operated by a child.

[0116] After the smart child lock function is turned on in this embodiment, it can automatically identify whether it is operated by an adult or a child, without the need to frequently turn on and off the child lock function.

[0117] In this embodiment, when the touch instruction is received, the real-time key value and the real-time pressure value of the target user pressing the child lock are collected, the historical key value and the historical pressure value corresponding to different user types pressing the child lock are obtained, the target user type of the target user is determined according to the comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value, and the working state of the child lock is controlled according to the target user type. The target user type of the target user can be identified according to the real-time key value and the real-time pressure value of the target user, and the accuracy of user identification and the safety of the child lock are improved.

[0118] Embodiment 2

[0119] The child lock control system provided in this embodiment needs to be explained that the child lock control method can be applied to household appliances, for example, it can be applied to a refrigerator, and it can also be applied to other devices that can install a child lock, such as Figure 3 As shown in the figure, the control system includes an acquisition module 21, a first acquisition module 22, a first determination module 23, and a first control module 24.

[0120] The acquisition module 21 is configured to collect the real-time key value and the real-time pressure value of the target user pressing the child lock in response to the received touch instruction.

[0121] In this embodiment, the touch basically adopts capacitive touch, and the capacitive touch is realized based on detecting the finger capacitance value.

[0122] In this embodiment, the real-time pressure value of the target user pressing the child lock display panel is detected by the pressure sensor.

[0123] The first acquisition module 22 is configured to obtain the historical key value and the historical pressure value corresponding to different user types pressing the child lock.

[0124] The first determination module 23 is configured to determine the target user type of the target user according to the comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value.

[0125] The first control module 24 is configured to control the working state of the child lock according to the target user type.

[0126] In an optional embodiment, when the user type includes a child, the first acquisition module 22 is configured to acquire a first historical key value and a first historical pressure value corresponding to the child pressing the child lock.

[0127] In this embodiment, for example, when the user operation interface enters a child key value collection mode, in this mode, the child can press the keys on the display panel of the child lock with fingers, and the control board of the child lock records the first historical key value K1 and the first historical pressure value F1 obtained by the child pressing.

[0128] In an optional embodiment, when the user type includes an adult, the first acquisition module 22 is configured to acquire a second historical key value and a second historical pressure value corresponding to the adult pressing the child lock.

[0129] In this embodiment, for example, when the user operation interface enters an adult key value collection mode, in this mode, the adult can press the keys on the display panel of the child lock with fingers, and the control board of the child lock records the second historical key value K2 and the second historical pressure value F2 obtained by the adult pressing. It should be noted that when the control board detects that the second historical pressure value F2 obtained by the adult pressing in the adult key value collection mode is equal to the first historical pressure value F1 obtained by the child pressing in the child key value collection mode, a prompt sound is emitted.

[0130] In addition, the above-mentioned adult key value collection mode can collect key values multiple times to obtain key values K under different pressures F, and a curve K 成人 =f(F) can be obtained accordingly.

[0131] In an optional embodiment, the first determination module 23 is configured to determine that the target user type of the target user is an adult if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is less than or equal to the first historical pressure value.

[0132] The first control module 24 is configured to control the child lock to be in a closed state when the target user type is an adult.

[0133] In an optional embodiment, the first determination module 23 is configured to determine that the target user type of the target user is a child if the real-time key value is less than the first historical key value and the real-time pressure value is greater than or equal to the first historical pressure value.

[0134] The first control module 24 is configured to control the child lock to be in an open state when the target user type is a child.

[0135] In the specific implementation process, after the smart child lock mode is started, when the target user touches the display panel, the control board identifies the real-time key value K 实 and the real-time pressure value F of the target user pressing the child lock in real time.实 .

[0136] If K 实 ≥ K2 and F 实 ≤ F1, it is determined that the adult operation, i.e. the target user type of the target user is determined to be adult; at this time, the child lock is controlled to be in the closed state (i.e. the child lock is controlled to be inoperative), and the display panel can be normally operated.

[0137] If K 实 < K1 and F 实 ≥ F1, it is determined that the child operation, i.e. the target user type of the target user is determined to be child; at this time, the child lock is controlled to be in the open state (i.e. the child lock is controlled to be operative), and the display panel cannot be operated.

[0138] The embodiment can automatically and accurately determine whether the adult operation or the child operation is performed on the display panel by collecting the real-time key value and the real-time pressure value obtained by the user pressing the child lock display panel, thereby reducing the risk of the child mistakenly closing the child lock function.

[0139] In an optional embodiment, as shown in Figure 3 , the control system further comprises a calculation module 25, a first determination module 26, a second determination module 27 and a third determination module 28.

[0140] The calculation module 25 is configured to calculate the adult key value according to the real-time pressure value if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is greater than the first historical pressure value, or the real-time key value is greater than the first historical key value and less than the second historical key value, or the real-time key value is less than or equal to the first historical key value and the real-time pressure value is less than the first historical pressure value.

[0141] The first determination module 26 is configured to determine whether the difference between the adult key value and the real-time key value is less than or equal to a preset difference value, and if yes, the second determination module 27 is called; if no, the third determination module 28 is called.

[0142] In the embodiment, the preset difference value is set according to the actual situation, which is not limited here.

[0143] The second determination module 27 is configured to determine that the target user type of the target user is adult, and control the child lock to be in the closed state.

[0144] The third determination module 28 is configured to determine that the target user type of the target user is child, and control the child lock to be in the open state.

[0145] In the specific implementation process, if K 实 ≥ K2 and F 实 > F1, or if K1 < K 实 < K2, or K 实 ≤ K1 and F 实<F1, then F 实 Substitute K 成人 =f(F), to obtain the adult key value K 成人 , adult key value K 成人 With real-time key value K 实 Comparison, if the adult key value K 成人 With real-time key value K 实 If the difference is less than or equal to the preset difference n, it is determined to be an adult operation, that is, the target user type is determined to be an adult; at this time, the child lock is in the off state (i.e., the child lock is not working), and the display panel can be operated normally; if the adult key value K 成人 With real-time key value K 实 If the difference is greater than the preset difference n, it is determined to be a child operation, that is, the target user type is determined to be a child; at this time, the child lock is in the open state (i.e. the child lock is working), and the display panel cannot be operated.

[0146] In an alternative embodiment, such as Figure 3 As shown, the acquisition module 21 includes: a detection unit 211 and a calculation unit 212;

[0147] Detection unit 211 is used to detect the capacitance value of the target user's finger;

[0148] In this embodiment, the finger capacitance value of the target user is calculated by the contact area of ​​the target user's finger when pressing the child lock. Specifically, the formula for calculating the finger capacitance value of the target user is: C = ε 0* ε r* A / d, where C represents the finger capacitance value of the target user, A represents the finger contact area of ​​the target user pressing the child lock, and ε0, ε r Both d and d are constants.

[0149] It should be noted that the finger capacitance value C is directly proportional to the finger contact area A. When the target user presses the button forcefully, the area of ​​the panel that their finger contacts will increase.

[0150] The calculation unit 212 is used to calculate the real-time key value of the child lock pressed by the target user based on the finger capacitance value;

[0151] Among them, the real-time key value of the target user pressing the child lock is directly proportional to the finger capacitance value.

[0152] In this embodiment, the control board can obtain the real-time key value of the target user pressing the child lock based on the collected finger capacitance value C of the target user. The real-time key value of the target user pressing the child lock is directly proportional to the finger capacitance value. The larger the finger capacitance value, the larger the real-time key value.

[0153] In an alternative embodiment, such as Figure 3As shown, the control system further comprises: a second acquisition module 29, a second judgment module 291, a fourth determination module 292, and a fifth determination module 293.

[0154] The second acquisition module 29 is configured to acquire a finger contact area of the target user pressing the child lock.

[0155] The second judgment module 291 is configured to determine whether the finger contact area is greater than or equal to a preset finger contact area, and if yes, the fourth determination module 292 is invoked; if no, the fifth determination module 293 is invoked.

[0156] In this embodiment, the preset finger contact area is set according to actual conditions, which is not limited here.

[0157] The fourth determination module 292 is configured to determine that the target type of the target user is an adult.

[0158] The fifth determination module 293 is configured to determine that the user type of the target user is a child.

[0159] In this embodiment, since the finger contact area of an adult is greater than that of a child, the size of the finger in this contact is determined by detecting the finger contact area, so as to determine whether it is operated by a child.

[0160] After the smart child lock function is turned on in this embodiment, it can automatically identify whether it is operated by an adult or a child, and the child lock function does not need to be frequently turned on and off.

[0161] In this embodiment, when the touch instruction is received, the real-time key value and the real-time pressure value of the target user pressing the child lock are collected, the historical key value and the historical pressure value corresponding to the child lock pressed by different user types are acquired, the target user type of the target user is determined according to the comparison result of the real-time key value and the historical key value and the real-time pressure value and the historical pressure value, and the working state of the child lock is controlled according to the target user type. The target user type of the target user can be identified according to the real-time key value and the real-time pressure value of the target user, and the accuracy of user identification and the safety of the child lock are improved.

[0162] Embodiment 3

[0163] Figure 4 A structural schematic diagram of an electronic device provided for the embodiment 3 of the present application. The electronic device includes a memory, a processor, and a computer program stored in the memory and used for running on the processor, and the processor implements the control method of the child lock of the embodiment 1 when executing the program. Figure 4 The electronic device 30 shown is only an example, and should not bring any limitation to the function and use range of the embodiment of the present application.

[0164] As Figure 4As shown, the electronic device 30 can be in the form of a general computing device, for example, it can be a server device. The components of the electronic device 30 can include, but are not limited to, the at least one processor 31 described above, the at least one memory 32 described above, a bus 33 that connects the different system components, including the memory 32 and the processor 31.

[0165] The bus 33 includes a data bus, an address bus, and a control bus.

[0166] The memory 32 can include volatile memory, such as random access memory (RAM) 321 and / or cache memory 322, and can further include non-volatile memory, such as read-only memory (ROM) 323.

[0167] The memory 32 can also include a program / utility 325 having a set (at least one) of program modules 324, including but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which can include implementation of a network environment, individually or in some combination.

[0168] The processor 31 performs various function applications and data processing by running the computer program stored in the memory 32, such as the control method of the child lock of the embodiment 1 of the present application.

[0169] The electronic device 30 can also communicate with one or more external devices 34 (such as a keyboard, a pointing device, etc.) via an input / output (I / O) interface 35. Furthermore, the model generating device 30 can communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. As Figure 4 As shown, the network adapter 36 communicates with the other modules of the model generating device 30 via the bus 33. It should be appreciated that although not shown, other hardware and / or software modules could be used in conjunction with the model generating device 30, including but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Array of Independent Disks) systems, tape drives, and data archival storage systems, etc.

[0170] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the foregoing detailed description, such a division is merely exemplary and not mandatory. Indeed, according to the embodiments of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into a plurality of units / modules.

[0171] Embodiment 4

[0172] The embodiment provides a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the child lock control method provided in the embodiment 1.

[0173] More specifically, the readable storage medium can include, but is not limited to, a portable disc, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0174] In possible implementation manners, the application can also be implemented in the form of a program product, which includes program codes for causing a terminal device to execute the child lock control method described in the embodiment 1 when the program product is run on the terminal device.

[0175] The program codes for executing the application can be written in any combination of one or more programming languages, and the program codes can be executed completely on a user device, partially on a user device, as a separate software package, partially on a user device and partially on a remote device, or completely on a remote device.

[0176] Although the specific embodiments of the application are described above, those skilled in the art should understand that this is only an example, and the protection scope of the application is defined by the appended claims. Those skilled in the art can make various changes or modifications to the embodiments without departing from the principles and essence of the application, and these changes and modifications all fall within the protection scope of the application.

Claims

1. A method for controlling a child lock, characterized in that, The control method includes: In response to the received touch command, the system collects the real-time key value and real-time pressure value of the target user pressing the child lock. Obtain historical key values ​​and historical pressure values ​​corresponding to different user types pressing the child lock; The target user type of the target user is determined based on the comparison results between the real-time key value and the historical key value, as well as between the real-time stress value and the historical stress value. The working status of the child lock is controlled according to the target user type; When the user type includes children, the step of obtaining the historical key values ​​and historical pressure values ​​corresponding to different user types pressing the child lock includes: Obtain the first historical key value and the first historical pressure value corresponding to the child-pressing lock; When the user type includes adults, the step of obtaining the historical key values ​​and historical pressure values ​​corresponding to different user types pressing the child lock includes: Obtain the second historical key value and the second historical pressure value corresponding to the adult pressing the child lock; The control method further includes: If the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is greater than the first historical pressure value, or the real-time key value is greater than the first historical key value and less than the second historical key value, or the real-time key value is less than or equal to the first historical key value and the real-time pressure value is less than the first historical pressure value, then the adult key value is calculated based on the real-time pressure value. If the difference between the adult key value and the real-time key value is less than or equal to a preset difference, then the target user type of the target user is determined to be an adult, and the child lock is controlled to be in the closed state; otherwise, the target user type of the target user is determined to be a child, and the child lock is controlled to be in the open state.

2. The child lock control method as described in claim 1, characterized in that, The step of determining the target user type of the target user based on the comparison results of the real-time key value and the historical key value, and the real-time stress value and the historical stress value, includes: If the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is less than or equal to the first historical pressure value, then the target user type of the target user is determined to be an adult. The step of controlling the working state of the child lock according to the target user type includes: When the target user type is an adult, the child lock is controlled to be in the off state.

3. The child lock control method as described in claim 1, characterized in that, The step of determining the target user type of the target user based on the comparison results of the real-time key value and the historical key value, and the real-time stress value and the historical stress value, further includes: If the real-time key value is less than the first historical key value and the real-time pressure value is greater than or equal to the first historical pressure value, then the target user type of the target user is determined to be a child. The step of controlling the working state of the child lock according to the target user type further includes: When the target user type is a child, the child lock is controlled to be in the open state.

4. The child lock control method as described in claim 1, characterized in that, The step of collecting the real-time key value of the target user pressing the child lock includes: Detect the finger capacitance value of the target user; The real-time key value of the child lock pressed by the target user is calculated based on the finger capacitance value; The real-time key value of the target user pressing the child lock is directly proportional to the finger capacitance value.

5. The child lock control method as described in claim 1, characterized in that, The control method further includes: Obtain the contact area of ​​the target user's finger when pressing the child lock; If the finger contact area is greater than or equal to a preset finger contact area, the target user's target type is determined to be an adult; otherwise, the target user's user type is determined to be a child.

6. A control system for a child lock, characterized in that, The control system includes: The data acquisition module is used to respond to received touch commands and acquire the real-time key value and real-time pressure value of the target user pressing the child lock. The first acquisition module is used to acquire the historical key values ​​and historical pressure values ​​corresponding to different user types pressing the child lock; The first determining module is used to determine the target user type of the target user based on the comparison results of the real-time key value and the historical key value, and the real-time pressure value and the historical pressure value; The first control module is used to control the working state of the child lock according to the target user type; When the user type includes children, the first acquisition module is used to acquire the first historical key value and the first historical pressure value corresponding to the child pressing the child lock; When the user type includes an adult, the first acquisition module is used to acquire the second historical key value and the second historical pressure value corresponding to the adult pressing the child lock. The control system further includes: The calculation module is used to calculate an adult key value based on the real-time pressure value if the real-time key value is greater than or equal to the second historical key value and the real-time pressure value is greater than the first historical pressure value, or the real-time key value is greater than the first historical key value and less than the second historical key value, or the real-time key value is less than or equal to the first historical key value and the real-time pressure value is less than the first historical pressure value. The first determination module is used to determine whether the difference between the adult key value and the real-time key value is less than or equal to a preset difference. If yes, the second determination module is called; if no, the third determination module is called. The second determining module is used to determine that the target user type of the target user is an adult, and control the child lock to be in the closed state; The third determining module is used to determine that the target user type of the target user is a child, and control the child lock to be in the open state.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes the computer program, it implements the child lock control method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the child lock control method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Low-cost fingerprint child lock achievement method

    CN107832594A

  • Remote controller child lock state control method and device and remote controller

    CN113436367A

  • Automatic opening and closing method and module for child lock, electronic equipment and readable medium

    CN115687536A