Child lock control method of electronic equipment, control module and electronic equipment

By adopting a three-level safety verification architecture in portable energy storage equipment, combined with key combination operation and function selection mechanism, the problem that the existing equipment children's lock functional safety protection mechanism is easily cracked, and the safety performance of the equipment is significantly improved.

CN119810960APending Publication Date: 2025-04-11SHENZHEN POWEROAK NEWENER CO LTD

Patent Information

Application Number
CN202510301649.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-14
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The children's lock function safety protection mechanism of existing portable energy storage devices has the defects that are easy to be cracked and it is difficult to meet the safety needs in actual applications.

Method used

The third-level security verification architecture is adopted, and the first-level security protection is established through the long pressing operation of the first and second keys combination. The function selection mechanism triggered by the third key is used as the second-level security protection. The fourth key triggering generates a function control command corresponding to the child lock function as the third-level security protection, forming an operation confirmation verification layer.

Benefits of technology

It effectively reduces the situation where the child lock function is accidentally triggered to unlock, thereby improving the safety performance of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810960A_ABST
    Figure CN119810960A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electronic equipment processing, and discloses a child lock control method of electronic equipment, a control module and the electronic equipment, and the child lock control method of the electronic equipment comprises the following steps: in an initial mode, responding to an operation of simultaneously detecting that a first key and a second key are continuously pressed for more than a first preset duration; controlling the electronic equipment to enter a function setting mode; in the function setting mode, a function selection instruction triggered through a third key is received, the function selection instruction determines a target function type and controls a corresponding function instruction to enter a prompt state, and the target function type comprises a child lock function; when the target function type is determined by the function selection instruction, in response to the detected operation on the fourth key, a function control instruction corresponding to the target function type is generated, the corresponding function instruction is controlled to enter a determined state, and the function control instruction comprises opening or closing of the child lock function. In this way, the safety performance of the electronic device can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic device processing, and in particular to a child lock control method of an electronic device, a control module and the electronic device. Background Art

[0002] Portable energy storage devices are miniaturized, lightweight energy storage systems designed for mobile or temporary power supply. They are widely used in a variety of scenarios, including but not limited to: outdoor activities, emergency rescue, mobile office, home backup power, medical applications, etc. Portable energy storage devices are becoming more and more common in daily life, and their scope of use is becoming increasingly wide, and the safety performance requirements for portable energy storage devices are also becoming higher and higher. Summary of the invention

[0003] Based on this, the purpose of the present application is to provide a child lock control method, a control module and an electronic device for an electronic device, which is conducive to improving the safety performance of the electronic device.

[0004] According to a first aspect of the present application, a method for controlling a child lock of an electronic device is provided, comprising: Step S10. In the start mode, in response to detecting that the first button and the second button are pressed continuously for more than a first preset time, the electronic device is controlled to enter a function setting mode; Step S20. In the function setting mode, receiving a function selection instruction triggered by a third button, the function selection instruction determines a target function type and controls a corresponding function indication to enter a prompt state, the target function type includes a child lock function; Step S30. When the function selection instruction determines the target function type, in response to detecting an operation on the fourth button, a function control instruction corresponding to the target function type is generated, and the corresponding function indication is controlled to enter a determined state, wherein the function control instruction includes turning on or off the child lock function.

[0005] In one or more of the above optional implementations, the function indication includes a first function icon, and controlling the corresponding function indication to enter a prompt state includes: controlling the corresponding first function icon to enter a flashing state.

[0006] In one or more of the above optional implementations, the function indication includes a second function icon, and controlling the corresponding function indication to enter a prompt state includes: controlling the corresponding second function icon to enter a constantly lit state.

[0007] In one or more of the above optional implementations, in step S20: the mapping relationship between each target function type and each function indication is selected and positioned by a loop traversal method.

[0008] In one or more of the above optional implementations, in step S30: When the function control instruction is to turn on the child lock function, the electronic device is controlled to turn on the child lock function, and the first function icon corresponding to the child lock function is controlled to be in a long-lit state; When the function control instruction is to turn off the child lock function, the device is controlled to turn off the child lock function, and the first function icon corresponding to the child lock function is controlled to be off.

[0009] In one or more of the above optional embodiments, the electronic device is an energy storage power supply, and the target function type further includes: inverter frequency and inverter voltage.

[0010] In one or more of the above optional embodiments, the method further includes: Step S40: In the function setting mode, when a preset exit condition is detected, exit the function setting mode.

[0011] In one or more of the above optional implementations, the preset exit condition includes: At the same time, it is detected that the fifth button and the sixth button are pressed continuously for more than a second preset time period, and / or, The time for which no operation instruction is received in the function setting mode exceeds a third preset time length.

[0012] In one or more of the above optional embodiments, the method further includes: Step S50: When the child lock function is on, turn off the control of other functions in the target function type except the child lock function.

[0013] In one or more of the above optional embodiments, the method further includes: Step S60. In the starting mode, when the child lock function is in the on state, in response to detecting the operation of any button except the first button and the second button being pressed continuously for more than a first preset time period, the first function icon corresponding to the child lock function is controlled to enter a flashing state for a preset fourth time period.

[0014] In one or more of the above optional embodiments, the method further includes: Step S70: Acquire the child lock status information of the electronic device, wherein the child lock status information corresponds to a closed state or an open state according to the current state of the electronic device; Step S80: Send the child lock status information to the mobile terminal.

[0015] In one or more of the above optional embodiments, the method further includes: Step S90: In response to detecting an operation on a touch switch of the mobile terminal, controlling the electronic device to turn on or off the child lock function.

[0016] According to the second aspect of the present application, a control module is provided, comprising: a memory and at least one processor, wherein the memory is coupled to the at least one processor, and the memory is used to store instructions or programs. When the instructions or programs are executed by the at least one processor, the at least one processor executes the above-mentioned method.

[0017] According to a second aspect of the present application, an electronic device is provided, comprising a device body and the control module as described above.

[0018] The beneficial effects of the embodiments of the present application are as follows: the method provided by the embodiments of the present application proposes a three-level security verification architecture, and the first level of security protection is established by the long press operation of the first button and the second button combination, forming an interface access verification layer; the function selection mechanism triggered by the third button is used as the second level of security protection, forming a function selection verification layer; finally, the function control instruction corresponding to the child lock function is generated by the fourth button to finally control the electronic device to turn on / off the child lock function as the third level of security protection, forming an operation confirmation verification layer. Compared with the security protection method of unlocking through one-step operation in the related art, it is conducive to reducing the occurrence of the child lock function being accidentally triggered and unlocked, thereby improving the safety performance of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the prior art description. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0020] Figure 1 A schematic diagram of an electronic device provided in an embodiment of the present application; Figure 2 A schematic diagram of the hardware structure of a control module of an electronic device provided in an embodiment of the present application; Figure 3 A flowchart of a method for controlling a child lock of an electronic device provided in an embodiment of the present application; Figure 4 A schematic diagram of a first function icon displayed on a display screen of an electronic device provided in an embodiment of the present application; Figure 5 A schematic diagram of a second function icon displayed on a display screen of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0022] In the following, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include one or more of the features.

[0023] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0024] In addition, the technical features involved in the different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.

[0025] Portable energy storage devices can stably output higher AC / DC voltages, which poses certain safety risks. Therefore, there is an urgent need for a child lock function to prevent children or users from misoperating the device, thereby effectively reducing potential safety hazards. In the related art, electronic devices usually use an unlocking switch to turn the child lock function on or off in one step to improve the safety performance of the device. However, the inventors of the present application have found that this protection mechanism that can be unlocked with a single operation has the defect of being easily cracked, and its safety factor is low, making it difficult to meet the safety requirements in practical applications.

[0026] Based on this, an embodiment of the present application provides a child lock control method for an electronic device, which establishes a first level of security protection through a long press operation of a first button and a second button combination, uses a function selection mechanism triggered by a third button as a second level of security protection, and finally generates a function control instruction corresponding to the child lock function by triggering a fourth button to ultimately control the electronic device to turn off the child lock as a third level of security protection. Compared with the security protection method of unlocking through one-step operation in the related art, this method is beneficial to reducing the occurrence of the child lock function being accidentally triggered and unlocked, thereby improving the safety performance of the electronic device.

[0027] See also Figure 1 and Figure 2The embodiment of the present application provides an electronic device 1000, including a device body and a control module 100, the control module 100 includes a button group 1, an indication unit 2 and a control unit 3, the button group 1 includes at least two buttons, and the button group 1 is connected to the control unit 3. The control unit 3 is used to receive a trigger signal of a button in the button group 1, and control the electronic device 1000 to perform a corresponding operation according to the trigger signal. The electronic device 1000 includes but is not limited to energy storage devices, household appliances, etc.

[0028] For the above-mentioned control unit 3, the control unit 3 can be any type of device or equipment with computing functions and control capabilities, such as a microcontroller (MCU), a single-chip microcomputer, a personal computer or a computer. The control unit 3 includes: one or more processors 31 and a memory 32. The figure takes a processor 31 as an example. The memory 32, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the programs, instructions and modules corresponding to the child lock control method of the electronic device 1000 in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the processor 31 by running the non-volatile software programs, instructions and modules stored in the memory 32, that is, the child lock control method of the electronic device 1000 of the present application is realized.

[0029] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created by using the child lock control method of the electronic device 1000, etc. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to the processor 31 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0030] In some embodiments, the keys of key group 1 are mechanical keys.

[0031] See also Figure 1 and Figure 2 In some embodiments, the indicating unit 2 includes a display screen 21 , and the display screen 21 is connected to the control unit 3 .

[0032] In other embodiments, the display screen 21 is a touch screen, and the buttons of the button group 1 are virtual buttons arranged on the touch screen interface.

[0033] In some embodiments, the indicating unit 2 includes an indicator light, which is used to provide light as a function indication.

[0034] In some embodiments, the indication unit 2 includes an audio output unit, which is connected to the control unit 3 and is used to convert the audio data stored in the memory 32 into an audio signal and output it as sound.

[0035] In some embodiments, the control module 100 includes a communication unit 4 , which is connected to the control unit 3 , and is used for communication connection with the mobile terminal.

[0036] In some embodiments, the communication unit 4 includes Wifi and Bluetooth connection functions, and the mobile terminal and the communication connection can be a Bluetooth connection and a remote connection.

[0037] In some embodiments, the electronic device 1000 is an energy storage power source, and the button group 1 includes a button A, a button B, and a button C. The button A is a DC output button, the button B is a power button, and the button C is an AC output button. The electronic device 1000 includes a start mode and a function setting mode that can be switched with each other. When the electronic device 1000 is in the start mode and the child lock function is turned off, the electronic device 1000 outputs DC power by pressing the button A, and the electronic device 1000 outputs AC power by pressing the button C.

[0038] In some embodiments, the device body includes a shell 200, button A, button B and button C are mechanical buttons, button A, button B, button C and display screen 21 are arranged in the shell 200, and the control unit 3 is arranged in the shell 200.

[0039] Please combine Figure 3 The child lock control method of the electronic device 1000 provided in the embodiment of the present application includes: Step S10: In the start mode, in response to detecting that the first button and the second button are pressed continuously for more than a first preset time period, the electronic device 1000 is controlled to enter a function setting mode.

[0040] The first preset time length may be selected according to actual application requirements. For example, the first preset time length is 2 seconds.

[0041] The first button and the second button need to be pressed simultaneously and continuously for more than a preset time in order to control the device to enter the function setting mode. Compared with the method of being controlled by only a single button, the chance of two buttons being pressed simultaneously and continuously for the first preset time is lower, thereby reducing the probability of the device being accidentally triggered.

[0042] Step S20. In the function setting mode, a function selection instruction triggered by a third button is received, the function selection instruction determines a target function type and controls a corresponding function indication to enter a prompt state, and the target function type includes a child lock function.

[0043] Step S30. When the function selection instruction determines the target function type, in response to detecting the operation of the fourth button, a function control instruction corresponding to the target function type is generated, and the corresponding function indication is controlled to enter a determined state. The function control instruction corresponding to the child lock function includes turning the child lock function on or off.

[0044] Among them, when the child lock function of the electronic device 1000 is in the off state, the function control instruction corresponding to the child lock function is to turn on the child lock function. When the child lock function of the device is in the on state, the function control instruction corresponding to the child lock function is to turn off the child lock function.

[0045] It should be noted that, in the present application, the key referred to by the third key may be different from the key referred to by the first key and the key referred to by the second key, or may be the same as the key referred to by the first key or the key referred to by the second key, and the key referred to by the fourth key may be different from the key referred to by the first key and the key referred to by the second key, or may be the same as the key referred to by the first key or the key referred to by the second key, as long as the key referred to by the third key and the key referred to by the fourth key are not repeated keys. For example, in some embodiments, the key group 1 of the device includes key A and key C, the first key and the third key both refer to key A, and the second key and the fourth key both refer to key C; in other embodiments, the key group 1 of the device includes four keys, and the first key, the second key, the third key and the fourth key respectively refer to the aforementioned four keys in a one-to-one correspondence; in still other embodiments, the key group 1 of the device includes three keys, the first key and the third key both refer to the same of the aforementioned three keys, and the second key and the fourth key respectively refer to the remaining two.

[0046] The method provided in the embodiment of the present application proposes a three-level security verification architecture. The first level of security protection is established by long pressing the combination of the first button and the second button to form an interface access verification layer, requiring the operator's behavior to be intentional; the function selection mechanism triggered by the third button is used as the second level of security protection to form a function selection verification layer, requiring the operator to have functional cognition ability; finally, the function control instruction corresponding to the child lock function is generated by the fourth button to finally control the electronic device 1000 to turn off the child lock function as the third level of security protection, forming an operation confirmation verification layer. Compared with the security protection method of unlocking through one-step operation in the related art, it is conducive to reducing the occurrence of the child lock function being accidentally triggered and unlocked, thereby improving the safety performance of the electronic device 1000.

[0047] In some embodiments, the third button can be pressed for a preset fifth time duration to trigger a selection instruction, the fourth button can be pressed for a preset sixth time duration to trigger a function control instruction, and the first preset time duration is greater than the fifth preset time duration and the sixth preset time duration.

[0048] In some embodiments, in step S20, the step of receiving the function selection instruction triggered by the third button specifically includes: determining whether only the pressing signal of the third button is received, and if so, confirming that the function selection instruction is received.

[0049] Only when the third button is pressed alone can the function selection instruction be confirmed to have been received, which helps to reduce the occurrence of user misoperation problems.

[0050] In some embodiments, in step S30, in response to detecting an operation on the fourth button, the step of generating a function control instruction corresponding to the target function type specifically includes: determining whether only a press signal of the fourth button is received, and if so, generating a function control instruction corresponding to the target function type.

[0051] Only when the fourth button is pressed alone can a function control instruction corresponding to the target function type be generated, which is helpful to reduce the occurrence of user misoperation problems.

[0052] In some embodiments, after the step of generating a function control instruction corresponding to the target function type, step S30 further includes: controlling the device to execute the corresponding function according to the function control instruction.

[0053] In some embodiments, the target function type also includes: inverter frequency, inverter voltage. It is understandable that the target function type is not limited to the aforementioned types, and the target function type can be increased or decreased according to the functional types of the actual electronic device 1000.

[0054] In some embodiments, the function indication includes a first function icon. The first function icon may be in the form of text, numbers, or patterns.

[0055] In some embodiments, the first function icon is set by displaying it on the display screen 21 of the device.

[0056] In some embodiments, controlling the corresponding function indication to enter the prompt state is: controlling the corresponding first function icon to enter a flashing state.

[0057] For example, Figure 4 As shown, the first function icon representing the child lock function is a "child face + lock" pattern 400. The child lock function indicator is controlled to enter a prompt state when the pattern 400 flashes.

[0058] It is understandable that controlling the corresponding function indication to enter the prompt state is not limited to controlling the corresponding first function icon to enter the flashing state, and the prompt state can be sufficient to enable the user to distinguish. For example, in other embodiments, when the function indication enters the prompt state, the color of the corresponding first function icon on the display screen 21 changes, or the shape of the corresponding first function icon changes, or the corresponding first function icon is selected by the cursor on the display screen 21.

[0059] It can also be understood that the setting method of the first function icon is not limited to displaying through the display screen 21. In other instances, the first function icon is a mark printed or engraved on the device housing 200. Correspondingly, the indication unit 2 includes an indicator light arranged behind or on the side area of ​​the first function icon. The light of the indicator light is irradiated to the preset first function icon area through a light-transmitting material arranged on the device housing 200 or a gap arranged on the device housing 200. The first function icon presents a flashing state or other preset states by flashing the indicator light. For example, the color of the first function icon changes accordingly by changing the color of the indicator light.

[0060] In some embodiments, the function indication includes a second function icon, and controlling the corresponding function indication to enter the prompt state includes: controlling the corresponding second function icon to enter a constant light state. The type and setting method of the second function icon can refer to the first function icon in the above embodiment, and are not described here one by one.

[0061] For example, Figure 5 As shown, the second function icon is a pattern 500 of "English letters + numbers", and different numbers represent different functions, such as "P01" represents the inverter voltage function, "P02" represents the inverter frequency function, and "P08" represents the child lock function. When the child lock function indicator enters the prompt state, the pattern 500 is always on.

[0062] In some embodiments, the type of the first function icon is a pattern, and the type of the second function icon is a number. Taking the target function type including inverter frequency, inverter voltage and child lock function as an example, the first function icon includes a first pattern, a second pattern and a third pattern, and the second function icon includes a first digital icon, a second digital icon and a third digital icon. The inverter frequency corresponds to the first pattern and the first digital icon, the inverter voltage corresponds to the second pattern and the second digital icon, and the child lock function corresponds to the third pattern and the third digital icon.

[0063] In other embodiments, the function indication includes a light prompt and an identification. The light prompt is emitted by the indicator light. The identification can be a text identification, a digital identification, or a pattern identification. The identification is used to mark the function type corresponding to the indicator light. Controlling the corresponding function indication to enter the prompt state is: controlling the corresponding light prompt to be displayed in a differentiated manner. Exemplarily, the indicator light is displayed in a differentiated manner by flashing, being always on, or changing color.

[0064] In other embodiments, the function indication includes a voice prompt, and controlling the corresponding function indication to enter a prompt state includes: controlling the corresponding voice prompt to play a preset prompt sound or voice content.

[0065] In some embodiments, in step S30: when the function control instruction is to turn on the child lock function, the control device turns on the child lock function, and controls the first function icon corresponding to the child lock function to be in a long-lit state. When the function control instruction is to turn off the child lock function, the control device turns off the child lock function, and controls the first function icon corresponding to the child lock function to be in an off state.

[0066] In some embodiments, in step S20: the mapping relationship between each target function type and each function indication is selected and positioned by a cyclic traversal method. The cyclic traversal function selection mechanism requires the operator to have the ability to recognize the function indication, which is conducive to reducing the problem of the child lock function being turned off by mistake, thereby improving the safety performance of the device.

[0067] In some embodiments, the specific loop traversal method is that in the function setting mode, when the function selection instruction triggered by the third button is received for the first time, the target function type located at the starting position of the preset loop sequence is selected, and then each time the function selection instruction triggered by the third button is received, the preset loop sequence is switched to select the next target function type.

[0068] In some embodiments, there are at least two target function types, and the child lock function is at the end of the preset cycle order, which is conducive to increasing the difficulty of operation required to turn off the child lock function, thereby reducing the problem of the child lock function being turned off by mistake. Taking the target function types including child lock function, inverter frequency, and inverter voltage as an example, the preset cycle order is inverter frequency, inverter voltage, child lock function, inverter frequency... When the function selection instruction triggered by the third button is received for the first time, the inverter frequency is selected, when the function selection instruction triggered by the third button is received for the second time, the inverter voltage is selected, when the function selection instruction triggered by the third button is received for the third time, the child lock function is selected, and when the function selection instruction triggered by the third button is received for the fourth time, the inverter frequency is selected, and so on.

[0069] In other embodiments, there are at least two target function types, and the child lock function is not at the start position of the preset cycle sequence. When the device enters the function setting mode, the function selection instruction selects the target function type at the start position of the preset cycle sequence by default.

[0070] In some embodiments, the method further comprises: Step S40: In the function setting mode, when a preset exit condition is detected, exit the function setting mode.

[0071] In some embodiments, the device is provided with a display screen 21 , and in step S10 : when the device enters the function setting mode from the starting mode, the interface of the display screen 21 is controlled to switch to the function setting interface.

[0072] In step S40: when the device exits the function setting mode and switches to the starting mode, the interface of the control display screen 21 is switched to the starting interface.

[0073] In some embodiments, the preset exit condition includes: detecting that the fifth button and the sixth button are pressed continuously for more than a second preset time. The second preset time can be set according to actual needs. For example, the second preset time is 2s.

[0074] In some embodiments, the second preset duration is greater than the fifth preset duration and the sixth preset duration.

[0075] It should be noted that, in the present application, the key referred to by the fifth key and the key referred to by the sixth key may be different from, the same as, or partially the same as the key referred to by the first key and the key referred to by the second key. In some embodiments, the fifth key and the sixth key refer to four different keys respectively from the first key and the second key. In other embodiments, the fifth key and the sixth key refer to two keys that are the same as the first key and the second key, for example, the first key and the fifth key both refer to key A, and the second key and the sixth key both refer to key C. In some further embodiments, the key referred to by either the fifth key or the sixth key is the same as the key referred to by either the first key or the second key, for example, the first key and the fifth key refer to the same key, and the second key and the sixth key respectively refer to two other different keys.

[0076] In some embodiments, the preset exit condition includes: the time when the operation instruction is not received continuously exceeds the third preset time. By setting the time when the operation instruction is not received continuously exceeding the third preset time as the preset exit condition in the function setting mode, the device can automatically exit the function setting mode when it is not operated for a long time, which is conducive to reducing the risk of the device being misoperated, thereby improving the safety performance of the device. The third preset time can be set according to the actual situation. In some embodiments, for example, the third preset time is 1 minute.

[0077] In some embodiments, the method comprises: Step S50. When the child lock function is turned on, turn off the control of other functions in the target function type except the child lock function. When the child lock function is turned on, the electronic device 1000 can only perform the operation of turning off the child lock function. Only after turning off the child lock function can other functions be controlled, which is conducive to improving the safety performance of the electronic device 1000.

[0078] In some embodiments, the method comprises: Step S60. In the start mode, when the child lock function is in the on state, in response to detecting the operation of any button except the operation of the first button and the second button being pressed continuously for more than the first preset time, the first function icon corresponding to the child lock function is controlled to enter a flashing state for a preset fourth time. The fourth preset time can be set according to actual conditions. For example, the fourth preset time is 6s. The first function icon enters a flashing state for a preset fourth time to remind the user that the child lock function is in the on state. At this time, the control of other functions in the target function type except the child lock function has been turned off, and other functions can be controlled only after the child lock is turned off.

[0079] In some embodiments, the method further comprises: Step S70: Obtain the child lock status information of the electronic device 1000. The child lock status information corresponds to a closed state or an open state according to the current state of the electronic device 1000.

[0080] Step S80: Send child lock status information to the mobile terminal.

[0081] The child lock status information of the device is sent to the mobile terminal, so that the mobile terminal can present a corresponding mark for the user to identify according to the child lock status information. For example, when the child lock status information is on, the mobile terminal presents a locked mark according to the child lock status information; when the child lock status information is off, the mobile terminal presents an unlocked mark according to the child lock status information.

[0082] In some embodiments, the method further comprises: Step S90: In response to detecting an operation on the touch switch of the mobile terminal, control the electronic device 1000 to turn on or off the child lock function.

[0083] Using the touch switch of the mobile terminal to control the device to turn on or off the child lock function is conducive to improving the convenience of turning on or off the child lock function.

[0084] In some embodiments, the touch switch is a virtual button switch in the display interface of the App.

[0085] In some embodiments, the mobile terminal includes but is not limited to a smart phone, a tablet computer, a smart watch, etc. For example, mobile terminals such as smart phones, tablet computers, and smart watches are usually easy to store and have built-in lock screen functions, so they are not easy to be touched by children or operated after being unlocked. Therefore, on the basis of turning on or off the child lock function by key operation, the touch switch of the mobile terminal is used to control the device to turn on or off the child lock function, which further provides a convenient way to turn on or off the child lock function while meeting the requirements for device safety performance.

[0086] An embodiment of the present invention also provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the child lock control method of the electronic device 1000 in any of the above method embodiments.

[0087] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0088] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field 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 program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0089] It should be noted that the preferred embodiments of the present application are given in the specification and drawings of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described in the specification. These embodiments are not used as additional limitations on the content of the present application. The purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. In addition, the above-mentioned technical features continue to be combined with each other to form various embodiments not listed above, which are all regarded as the scope of the description of the present application; further, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should belong to the scope of protection of the claims attached to the present application.

Claims

1. A method for controlling a child lock of an electronic device, characterized in that: The method comprises: Step S10. In the start mode, in response to detecting that the first button and the second button are pressed continuously for more than a first preset time, the electronic device is controlled to enter a function setting mode; Step S20. In the function setting mode, receiving a function selection instruction triggered by a third button, the function selection instruction determines a target function type and controls a corresponding function indication to enter a prompt state, the target function type includes a child lock function; Step S30. When the function selection instruction determines the target function type, in response to detecting an operation on the fourth button, a function control instruction corresponding to the target function type is generated, and the corresponding function indication is controlled to enter a determined state, wherein the function control instruction includes turning on or off the child lock function.

2. The method according to claim 1, characterized in that The function indication includes a first function icon, and controlling the corresponding function indication to enter a prompt state includes: controlling the corresponding first function icon to enter a flashing state.

3. The method according to claim 1, characterized in that The function indication includes a second function icon, and controlling the corresponding function indication to enter a prompt state includes: controlling the corresponding second function icon to enter a constantly lit state.

4. The method according to claim 2, characterized in that: In the step S20: The mapping relationship between each target function type and each function indication is selected and positioned through a loop traversal method.

5. The method according to claim 2, characterized in that: In step S30: When the function control instruction is to turn on the child lock function, the electronic device is controlled to turn on the child lock function, and the first function icon corresponding to the child lock function is controlled to be in a long-lit state; When the function control instruction is to turn off the child lock function, the device is controlled to turn off the child lock function, and the first function icon corresponding to the child lock function is controlled to be off.

6. The method according to claim 1, characterized in that The electronic device is an energy storage power supply, and the target function type also includes: inverter frequency and inverter voltage.

7. The method according to claim 1, characterized in that The method further comprises: Step S40: In the function setting mode, when a preset exit condition is detected, exit the function setting mode.

8. The method according to claim 7, characterized in that The preset exit conditions include: At the same time, it is detected that the fifth button and the sixth button are pressed continuously for more than a second preset time period, and / or, The time for which no operation instruction is received in the function setting mode exceeds a third preset time length.

9. The method according to claim 1, characterized in that: The method further comprises: Step S50: When the child lock function is on, turn off the control of other functions in the target function type except the child lock function.

10. The method according to claim 2, characterized in that The method further comprises: Step S60. In the starting mode, when the child lock function is in the on state, in response to detecting the operation of any button except the first button and the second button being pressed continuously for more than a first preset time period, the first function icon corresponding to the child lock function is controlled to enter a flashing state for a preset fourth time period.

11. The method according to claim 1, characterized in that: The method further comprises: Step S70: Acquire the child lock status information of the electronic device, wherein the child lock status information corresponds to a closed state or an open state according to the current state of the electronic device; Step S80: Send the child lock status information to the mobile terminal.

12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: Step S90: In response to detecting an operation on a touch switch of the mobile terminal, controlling the electronic device to turn on or off the child lock function.

13. A control module, characterized in that: include: Memory; At least one processor, the memory is coupled to the at least one processor, the memory is used to store instructions or programs, when the instructions or programs are executed by the at least one processor, the at least one processor executes the method according to any one of claims 1-12.

14. An electronic device, characterized in that: It comprises a device body and a control module as claimed in claim 13.

Citation Information

Patent Citations

  • Air conditioner control system, air conditioner and air conditioner control method

    CN105091221A

  • Child lock control method and device, robot, storage medium and electronic equipment

    CN113693498A

  • Child lock device and household appliance

    CN114093691A

  • Remote control device, air conditioning device, and function setting method

    CN118149430A

  • Configuration interaction method and device of charging control box, charging control box and medium

    CN118349294A

Cited By

  • Closestool function setting method and device, closestool and storage medium

    CN120704581A