Electronic device control method, electronic device, network device, control system
By responding to the preset operation of the trigger device in the upgraded state of the function of the smart door lock, the child lock function and anti-lock function are unifiedly controlled, which solves the problem of large space occupation, high cost and low flexibility of the existing smart door lock, and achieves flexible and unified control of the functions.
Patent Information
- Application Number
- CN202210531050.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-16
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2042-05-16
AI Technical Summary
The existing smart door lock children's lock and anti-lock functions require different triggers to implement, resulting in large space occupancy, high cost and low flexibility.
By in response to preset operations for the triggering device while the electronic device is in the functional upgrade state, the first lock function and the second lock function are in the on or off state at the same time, unified control of the child lock function and the anti-lock function is realized.
It realizes the flexibility of smart door lock function without increasing space occupation and reducing costs, and can simultaneously control the child lock function and anti-lock function through a trigger device.
Smart Images

Figure CN115616926B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to an electronic device control method, electronic device, network device, and control system. Background Art
[0002] Smart homes are becoming more and more popular in people's lives. As one of the entrances to the smart home network, smart door locks have become more and more functional, supporting more and more unlocking methods, such as fingerprints, passwords, NFC cards, keys, and even faces.
[0003] However, the child lock function and anti-lock function of the existing smart door lock need to be realized by different triggering components, which requires a large space, is costly, and has the problem of low flexibility. Summary of the invention
[0004] Based on this, it is necessary to provide an electronic device control method, electronic device, network device, and control system that require little space and have low cost in order to address the above technical problems.
[0005] A method for controlling an electronic device, comprising: when the electronic device is in a function upgrade state, in response to a first preset operation on a trigger device, making a first locking function and a second locking function simultaneously in an on state, or making the first locking function and the second locking function simultaneously in an off state.
[0006] In one embodiment, the method further includes: receiving a function upgrade instruction to enable the electronic device to enter the function upgrade state.
[0007] In one embodiment, in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off, including: in response to an opening operation on the first locking device or the second locking device, the first locking function and the second locking function are simultaneously turned on; and / or in response to a closing operation on the first locking device or the second locking device, the first locking function and the second locking function are simultaneously turned off.
[0008] In one embodiment, in response to a first preset operation for the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off, and it includes: sending log information of the first locking function and the second locking function; and / or sending first locking status information and second locking status information.
[0009] In one embodiment, the electronic device control method further includes: receiving an upgrade exit instruction; and in response to a second preset operation on the trigger device, turning on or off one of the first locking function and the second locking function.
[0010] In one embodiment, in response to a second preset operation on the trigger device, turning on or off one of the first locking function and the second locking function includes: turning on the first locking function in response to an opening operation on the first locking device or the second locking device; and / or turning off the first locking function in response to a closing operation on the first locking device or the second locking device.
[0011] In one embodiment, in response to a second preset operation for the trigger device, after turning on or off one of the first locking function and the second locking function, it includes: sending log information of the first locking function or the second locking function; and / or sending one of the first locking status information and the second locking status information.
[0012] A method for controlling an electronic device, the method comprising: sending a function upgrade instruction to the electronic device, so that when the electronic device receives a first preset operation for a trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0013] In one embodiment, before sending a function upgrade instruction to the electronic device, it includes: displaying a first interface corresponding to upgrading the second locking function or upgrading the first locking function, the first interface including at least one of the following: an operation diagram image corresponding to the electronic device, an upgrade function control, and a function interpretation corresponding to the first locking device or the second locking device of the electronic device.
[0014] In one embodiment, the electronic device control method also includes: displaying the log information in response to the log information of the first locking function and the second locking function; and / or updating the first locking state identifier and the second locking state identifier in response to the first locking state information and the second locking state information.
[0015] In one embodiment, the electronic device control method further includes: sending an upgrade exit instruction to the electronic device, so that the electronic device turns on or off one of the first locking function and the second locking function when receiving a second preset operation for the trigger device.
[0016] In one embodiment, an upgrade exit instruction is sent to the electronic device so that when the electronic device receives a second preset operation for the trigger device, after turning on or off one of the first locking function and the second locking function, it includes: displaying log information of the first locking function or the second locking function; and / or updating the first locking status identifier or the second locking status identifier accordingly in response to one of the first locking status information and the second locking status information.
[0017] An electronic device control method is applied between a network device and an electronic device, comprising: the network device sends a function upgrade instruction to the electronic device in response to an upgrade trigger operation; the electronic device responds to a first preset operation for a trigger device, so that the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0018] In one embodiment, the electronic device responds to a first preset operation on a trigger device so that the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off, including: the electronic device responds to an opening operation on the first locking device so that the first locking function and the second locking function are simultaneously turned on; and / or the electronic device responds to a closing operation on the first locking device so that the first locking function and the second locking function are simultaneously turned off.
[0019] In one embodiment, the electronic device control method also includes: the terminal sends an upgrade exit instruction to the electronic device in response to an upgrade exit operation; the electronic device turns on or off one of the first locking function and the second locking function in response to a second preset operation for the trigger device.
[0020] In one embodiment, the electronic device turns on or off one of the first locking function and the second locking function in response to a second preset operation on the trigger device, including: turning on the first locking function in response to an opening operation on the first locking device; and / or turning off the first locking function in response to a closing operation on the first locking device.
[0021] An electronic device includes: a function control module. When the electronic device is in a function upgrade state, the function control module is used to respond to a first preset operation on a trigger device, so that the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0022] A network device includes a sending module, wherein the sending module is used to send a function upgrade instruction to an electronic device, so that when the electronic device receives a first preset operation for a trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0023] A control system includes a network device and an electronic device; the network device sends a function upgrade instruction to the electronic device; when the electronic device is in a function upgrade state, in response to a first preset operation for a trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0024] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the following steps when executing the computer program:
[0025] In the function upgrade state, in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0026] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0027] In the function upgrade state, in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0028] The electronic device control method, electronic device, network device, control system, computer device and storage medium described above, when the electronic device is in a function upgrade state; in response to a first preset operation on a trigger device, the child lock function and the anti-lock function are simultaneously turned on, or the child lock function and the anti-lock function are simultaneously turned off. Therefore, the electronic device control method, electronic device, network device, control system, computer device and storage medium of the present invention can, when the electronic device is in a function upgrade state, turn the child lock function and the anti-lock function on or off at the same time according to the first preset operation of the trigger device. Only one trigger device needs to be set, and the space required is not large and the cost is low. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1A diagram showing an application environment of an electronic device control method in an embodiment;
[0030] Figure 2 is a flow chart of a method for controlling an electronic device in one embodiment;
[0031] Figure 3 is a schematic diagram of a first interface of a terminal in one embodiment;
[0032] Figure 4 A schematic diagram of the structure of a smart door lock in one embodiment;
[0033] Figure 5 is a schematic diagram of a second interface of a terminal in one embodiment;
[0034] Figure 6 is a schematic diagram of a second interface of a terminal in another embodiment;
[0035] Figure 7 is a flow chart of a method for controlling an electronic device in another embodiment;
[0036] Figure 8 is a schematic diagram of a second interface of a terminal in yet another embodiment;
[0037] Fig. 9 is a schematic diagram of a first interface of a terminal in another embodiment;
[0038] Fig.10 is a flowchart of a method for controlling an electronic device in yet another embodiment;
[0039] Fig.11 is a structural block diagram of an electronic device in one embodiment;
[0040] Fig.12 is a structural block diagram of a network device in one embodiment;
[0041] Fig.13 is a structural block diagram of a control system in one embodiment;
[0042] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] Figure 1 FIG. 1 is an application environment diagram of an electronic device control method in an embodiment. Figure 1The electronic device control method provided in the embodiment of the present application can be applied to Figure 1 The Internet of Things system shown in the figure. The Internet of Things system may include, but is not limited to, a terminal 11, a cloud 12, a gateway device 13, a router 14, and a smart door lock 15.
[0045] Specifically, the terminal 11 can be any intelligent device with communication function, such as a smart phone, a desktop computer, a laptop computer, a tablet computer or other intelligent communication device with network connection function. The cloud 12 can be a network access server, a database server, a cloud server, etc.
[0046] Optionally, a client that can manage the smart door lock 15 is installed in the terminal 11. The client can be an application client (such as an APP on a mobile phone) or a web client, which is not limited here.
[0047] Optionally, the terminal 11 can communicate with the smart door lock 15 via Bluetooth, etc., and can also establish a network connection with the cloud 12 via 2G / 3G / 4G / 5G, WiFi, etc., so that data can be exchanged with the smart door lock 15 through the cloud.
[0048] Figure 2 FIG. 1 is a flow chart of a method for controlling an electronic device in one embodiment. Figure 2 As shown, this embodiment provides an electronic device control method, which can be applied to electronic devices such as smart door locks. In this embodiment, the electronic device control method includes the following steps:
[0049] Step S202: When the electronic device is in a function upgrade state, in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0050] In one embodiment, the first locking function may be a child lock function, and the second locking function may be an anti-lock function. After the child lock function is turned on, the door cannot be unlocked by one key from inside, or children cannot unlock the door from indoors. After the anti-lock function is turned on, non-management personnel or all persons cannot unlock the door from outdoors. Specifically, the determination of children and / or non-management personnel may be achieved through methods such as biometric recognition. In other embodiments, the child lock function and / or anti-lock function may also be defined as other functions, which may be defined by the user or set by the system, etc.
[0051] In one embodiment, the trigger device is a device that generates or changes in response to an event. The trigger device can be a physical structure (such as a mechanical switch, a mechanical knob, a pressure sensor, etc.) or a virtual device (such as a virtual button, a virtual key, etc.).
[0052] In one embodiment, before step S202, the method further includes:
[0053] Step S201: receiving a function upgrade instruction to enable the electronic device to enter a function upgrade state.
[0054] In one embodiment, if a function upgrade instruction sent by the terminal is received, the smart door lock enters a function upgrade mode (i.e., a function upgrade state). In the function upgrade mode, the smart door lock can respond to a first preset operation for the trigger device to enable the child lock function and the anti-lock function to be turned on at the same time, or to enable the child lock function and the anti-lock function to be turned off at the same time.
[0055] An electronic device control method of one embodiment can receive a function upgrade instruction sent by a terminal, and in response to a first preset operation for a trigger device, enable the child lock function and the anti-lock function to be in an on state at the same time, or enable the child lock function and the anti-lock function to be in an off state at the same time. Therefore, an electronic device control method of one embodiment can enable the child lock function and the anti-lock function to be in an on state or in an off state at the same time, and only needs to set up one trigger device, which requires little space and has low cost.
[0056] In one embodiment, a network device, such as a terminal, may display a first interface corresponding to upgrading the second locking function (such as an anti-locking function) or upgrading the first locking function (such as a child lock function), and the first interface may include at least one of the following: an operation diagram corresponding to the electronic device (such as a smart door lock), an upgraded function control, and a function explanation corresponding to the first locking device (such as a child lock device) and the second locking device (such as an anti-locking device) of the electronic device (such as a smart door lock). Figure 3 As shown, the terminal can send a function upgrade instruction to the smart door lock when receiving an upgrade trigger operation for the upgrade function control in the displayed first interface, such as a left slide operation for the upgrade anti-lock function button. In other embodiments, the terminal can also send a function upgrade instruction to the smart door lock when receiving a voice message for function upgrade, or the function upgrade instruction can also come from other electronic devices such as the smart door lock.
[0057] In one embodiment, if Figure 3 As shown, the first interface can also display the functional interpretation corresponding to the child lock device (which can be a button, a key, a dial, etc.) in the smart door lock, and / or the functional interpretation corresponding to the anti-locking device.
[0058] Figure 4 FIG. 1 is a schematic diagram of the structure of a smart door lock in an embodiment. Figure 4As shown, the trigger device may be a child lock device located on the smart door lock. When the smart door lock receives a function upgrade instruction, the child lock is upgraded and enabled. When the child lock device receives a first preset operation, the child lock function and the anti-lock function are simultaneously turned on or turned off. In other embodiments, the trigger device may also be an anti-lock device located on the smart door lock. When the smart door lock receives a function upgrade instruction, the anti-lock is upgraded and enabled. When the anti-lock device receives a first preset operation, the child lock function and the anti-lock function are simultaneously turned on or turned off.
[0059] Specifically, the first preset operation of the trigger device may be a pressing operation, a rotating operation, or a toggling operation, etc., for the child lock device.
[0060] Specifically, making the first locking function and the second locking function simultaneously turned on in step S202 may include turning on the first locking function and the second locking function simultaneously, or turning on the first locking function and the second locking function sequentially, so that the first locking function and the second locking function are simultaneously turned on.
[0061] In one embodiment, in step S202: in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously in an on state, or the first locking function and the second locking function are simultaneously in a off state, including: in response to an opening operation on the first locking device (for example, an upward flip operation), the first locking function and the second locking function are simultaneously turned on; and / or in response to a closing operation on the child lock device (for example, a downward flip operation), the first locking function and the second locking function are simultaneously turned off.
[0062] Specifically, in one embodiment, when the first locking device is opened, for example, pushed upward, the electronic switch can be triggered to perform a corresponding action, thereby triggering the controller of an electronic device such as a smart door lock to simultaneously turn on the first locking function (for example, a child lock function) and the second locking function (for example, an anti-lock function).
[0063] In one implementation, step S202 may be followed by step S203: sending log information of the first locking function and the second locking function; and / or sending first locking state information and second locking state information.
[0064] Specifically, in one embodiment, the smart door lock can simultaneously send the log information of the child lock function and the anti-lock function to the terminal; and / or; simultaneously send the child lock status information and the anti-lock status information to the terminal. In other embodiments, the smart door lock can also send the log information of one of the child lock function and the anti-lock function to the terminal, and the terminal generates the log information of the other of the child lock function and the anti-lock function according to the log information of one of the child lock function and the anti-lock function, and then displays or plays the log information.
[0065] In one embodiment, when a network device such as a terminal receives log information of a first locking function (such as a child lock function) and a second locking function (such as an anti-lock function) sent by an electronic device (such as a smart door lock), it displays the information at the same time, and updates the first locking status identifier (such as a child lock status identifier) and the second locking status identifier (such as an anti-lock status identifier) at the same time according to the first locking status information and the second locking status information (such as a child lock status information and an anti-lock status information) sent by the electronic device (such as a smart door lock).
[0066] Specifically, please refer to Figure 5 When the child lock function and the anti-lock function are turned on at the same time, the network device, such as a terminal, displays the log information of the child lock function and the anti-lock function being turned on at the same time on the second interface, such as "Anti-lock is turned on at 11:03 today" and "Child lock is turned on at 11:03 today". In addition, when the child lock function and the anti-lock function are turned off at the same time, the log information of the child lock function and the anti-lock function being turned off at the same time can also be displayed on the second interface.
[0067] In one embodiment, the terminal further displays a child lock status mark and an anti-lock status mark in the second interface. When the child lock function and the anti-lock function are both turned on or off at the same time, the child lock status mark and the anti-lock status mark in the second interface will change in a linked manner, for example, displaying both on or both off.
[0068] In one embodiment, the electronic device control method further includes:
[0069] Step S204: receiving an upgrade exit instruction;
[0070] Step S205: In response to a second preset operation on the trigger device, one of the first locking function and the second locking function is turned on or off.
[0071] In one embodiment, when the smart door lock receives the upgrade exit instruction, it exits the function upgrade mode, and the smart door lock can respond to the second preset operation for the trigger device to turn on or off one of the child lock function and the anti-lock function.
[0072] In one embodiment, step S205: in response to the second preset operation on the trigger device, turning on or off one of the first locking function and the second locking function may include, but is not limited to: turning on the first locking function in response to an opening operation (e.g., an upward shifting operation) on the first locking device (e.g., a child lock device); and / or turning off the first locking function (e.g., a child lock function) in response to a closing operation (e.g., a downward shifting operation) on the first locking device. Turning on or off one of the first locking function and the second locking function in response to the second preset operation on the trigger device may also include: turning on the second locking function (e.g., an anti-locking function) in response to an opening operation (e.g., an upward shifting operation) on the second locking device (e.g., an anti-locking device); and / or turning off the second locking function (e.g., an anti-locking function) in response to a closing operation (e.g., a downward shifting operation) on the second locking device (e.g., an anti-locking device).
[0073] In one embodiment, step S205: in response to a second preset operation for the trigger device, after turning on or off one of the first locking function and the second locking function, it may include but is not limited to: sending log information of the first locking function (for example, the child lock function) or the second locking function (for example, the anti-lock function); and / or sending one of the first locking status information (for example, the child lock status information) and the second locking status (for example, the anti-lock status information).
[0074] Specifically, when the trigger device is a child lock device and the second preset operation is an upward pull operation, the child lock function is turned on. Figure 6 As shown, only the log information of the child lock function will be displayed in the second interface, and / or only the child lock status mark will be updated.
[0075] In an embodiment, the electronic device control method can, when the electronic device is in a function upgrade state, respond to a first preset operation on a trigger device, make the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) both in an on state, or make the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) both in an off state, so that the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) can be simultaneously turned on or off, requiring a small space, low cost, simple operation and high flexibility. Further, in an embodiment, the electronic device control method can also exit the function upgrade according to the upgrade exit instruction, so that one of the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) can be turned on or off in response to a second preset operation on the trigger device, for example, the child lock function and the anti-lock function can be turned on or off simultaneously through a child lock device, or only the child lock function can be turned on or off, which can further improve flexibility and facilitate operation.
[0076] Figure 7 FIG. 1 is a flow chart of another electronic device control method according to an embodiment of the present invention. Figure 7 As shown, the electronic device control method of this embodiment can be applied to network devices such as terminals and gateways. The electronic device control method of this embodiment includes the following steps:
[0077] Step S701: Sending a function upgrade instruction to the electronic device;
[0078] Among them, when an electronic device such as a smart door lock receives a function upgrade instruction, if it receives a first preset operation for the trigger device, the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) are turned on at the same time, or the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) are turned off at the same time.
[0079] In one embodiment, the electronic device control method further includes:
[0080] Step S702: In response to the log information of the first locking function and the second locking function, display the log information; and / or in response to the first locking state information and the second locking state information, update the first locking state identifier and the second locking state identifier.
[0081] Specifically, please refer to Figure 8 , when the child lock function and the anti-lock function are turned off at the same time, the terminal will display the log information of the child lock function and the anti-lock function being turned off at the same time on the second interface, and will also display the child lock status mark and the anti-lock status mark corresponding to the child lock function and the anti-lock function being turned off. For example, "The anti-lock has been released at 11:04 today" and "The child lock has been released at 11:04 today", and will also display the child lock status mark and the anti-lock status mark corresponding to the child lock function and the anti-lock function being turned off. In addition, when the child lock function and the anti-lock function are turned on at the same time, the log information of the child lock function and the anti-lock function being turned on at the same time can also be displayed on the second interface, and the child lock status mark and the anti-lock status mark corresponding to the child lock function and the anti-lock function being turned on can also be displayed at the same time.
[0082] In one embodiment, if Figure 8 As shown, the terminal can also display status information and function explanation corresponding to the anti-lock function on the second interface, such as displaying "anti-lock is not enabled: after enabling, non-management users cannot open the door from outside".
[0083] In one embodiment, the electronic device control method further includes:
[0084] Step S703: Send an upgrade exit instruction to the electronic device.
[0085] Among them, when an electronic device such as a smart door lock receives an upgrade exit instruction, if it receives a second preset operation for the trigger device, it turns on or off one of the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function).
[0086] In one embodiment, a network device such as a terminal may display a first interface corresponding to upgrading the second locking function (such as an anti-locking function) or upgrading the first locking function (such as a child lock function), and the first interface may include at least one of the following: an operation diagram corresponding to an electronic device such as a smart door lock, an upgraded function control, and a function interpretation corresponding to the first locking device or the second locking device of the electronic device (a function interpretation corresponding to the child lock device or the anti-locking device of the smart door lock). Fig. 9 As shown, the terminal can send an upgrade exit instruction to the smart door lock when receiving an upgrade exit operation for the upgrade function control in the displayed first interface, such as a right sliding operation of the upgrade anti-lock function button. In other embodiments, the terminal can also send an upgrade exit instruction to the smart door lock when receiving a voice message for upgrade exit, or the upgrade exit instruction can also come from other electronic devices such as smart door locks.
[0087] In one embodiment, if Fig. 9 As shown, the first interface can also display the functional interpretation corresponding to the child lock device (which can be a button, a key, a dial, etc.) in the smart door lock, and / or the functional interpretation corresponding to the anti-locking device.
[0088] In one embodiment, step S703 includes:
[0089] Step S704: displaying log information of the first locking function or the second locking function; and / or
[0090] In response to one of the first state information and the second state information, the first lock state identifier or the second lock state identifier is correspondingly updated.
[0091] Fig.10 FIG. 2 is a flow chart of a method for controlling an electronic device in another embodiment. Fig.10 The electronic device control method shown can be applied between a terminal and a smart door lock. The electronic device control method of this embodiment includes the following steps:
[0092] Step S801: the network device sends a function upgrade instruction to the electronic device in response to the upgrade trigger operation;
[0093] Step S802: When the electronic device is in a function upgrade state, in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0094] In one embodiment, step S802: the electronic device, in a function upgrade state, responds to a first preset operation on a trigger device, enabling the first locking function and the second locking function to be simultaneously turned on, or enabling the first locking function and the second locking function to be simultaneously turned off, includes:
[0095] The electronic device responds to an opening operation (eg, an upward pull operation) on the first locking device, and simultaneously turns on the first locking function and the second locking function; and / or
[0096] In response to a closing operation (such as a downward push operation) on the first locking device, the electronic device turns off the first locking function and the second locking function simultaneously.
[0097] In one embodiment, the electronic device control method further includes:
[0098] Step S803: the network device responds to the upgrade exit operation by sending an upgrade exit instruction to the electronic device;
[0099] Step S804: the electronic device turns on or off one of the first locking function and the second locking function in response to the second preset operation on the triggering device.
[0100] In one embodiment, step S804: the electronic device turns on or off one of the first locking function and the second locking function in response to the second preset operation on the triggering device, including:
[0101] In response to an opening operation (eg, an upward pull operation) on the first locking device (eg, a child lock device), opening a first locking function (eg, a child lock function); and / or
[0102] In response to a closing operation (eg, a downward pull operation) on the second locking device (eg, the child lock device), the first locking function (eg, the child lock function) is turned off.
[0103] Fig.11 FIG. 1 is a structural block diagram of an electronic device in an embodiment. Fig.11 As shown, the electronic device, such as a smart door lock, includes a function control module 91. The function control module 91 is used to respond to a first preset operation on the trigger device in a function upgrade state, so that the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off. In one embodiment, the electronic device further includes an instruction receiving module 90, which is used to receive a function upgrade instruction.
[0104] In one embodiment, the first locking device (e.g., a child lock device) may be located on an electronic device (e.g., a smart door lock) and is a toggle button. The function control module 91 responds to an upward toggle operation on the child lock device to simultaneously turn on the child lock function and the anti-lock function, and / or responds to a downward toggle operation on the child lock device to simultaneously turn off the child lock function and the anti-lock function.
[0105] In one embodiment, the electronic device, such as a smart door lock, further includes a log sending module and / or a status information sending module. The log sending module is used to send log information of the first locking function (such as a child lock function) and the second locking function (such as an anti-lock function) to other modules or other devices, such as a terminal. The status information sending module is used to send the first locking status information (such as a child lock status information) and the second locking status information (such as an anti-lock status information) to other modules or other devices (such as a terminal).
[0106] In one embodiment, the electronic device, such as a smart door lock, further includes an exit instruction receiving module for receiving an upgrade exit instruction. The function control module 91 can also be used to turn on or off one of the first locking function and the second locking function when receiving a second preset operation for the trigger device according to the upgrade exit instruction.
[0107] Specifically, the function control module 91 can be used to turn on the child lock function in response to an upward pull operation on the child lock device according to the upgrade exit instruction sent by the terminal, and / or turn off the child lock function in response to a downward pull operation on the child lock device.
[0108] In one embodiment, the log sending module is further used to send the log information of the first locking function or the second locking function to other modules or other devices (such as terminals). The status information sending module is further used to send the first locking status information or the second locking status information to other modules or other devices (such as terminals).
[0109] Fig.12 FIG. 1 is a block diagram of a terminal in an embodiment. Fig.12 As shown, the network device, such as a terminal, includes a sending module 101. The sending module 101 is used to respond to an upgrade trigger operation and send a function upgrade instruction to an electronic device, such as a smart door lock.
[0110] Among them, when an electronic device such as a smart door lock receives a function upgrade instruction, it enters a function upgrade state. If a first preset operation for the trigger device is received, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0111] In one embodiment, the network device, such as a terminal, can send the function upgrade instruction to the electronic device, such as a smart door lock, by wired or wireless means. The network device can be a mobile terminal, such as a mobile phone, etc., which is set separately from the electronic device, such as the smart door lock. The network device can also be a fixed terminal that is set in the same housing as the electronic device, such as the smart door lock (for example, both are embedded in the door).
[0112] In one implementation, the network device may further include a display module for displaying log information of the first locking function and the second locking function.
[0113] In one implementation, the network device may further include an identification updating module, configured to update the first locking state identification and the second locking state identification in response to the first locking state information and the second locking state information.
[0114] The present invention also provides a control system, which includes an electronic device and a network device. In one embodiment, the control system is an access control system, the electronic device is a smart door lock, and the network device is a terminal. In other embodiments, the electronic device may also be other devices with two locking functions, and the network device may also be other devices that can send function upgrade instructions to the electronic device, such as a gateway, a central controller, etc. Fig.13 FIG. 1 is a structural block diagram of a control system in one embodiment. Fig.13 As shown, the control system includes a network device 111 and an electronic device 112 .
[0115] The network device 111 responds to the upgrade trigger operation and sends a function upgrade instruction to the smart door lock 112. The electronic device 112 responds to the first preset operation for the trigger device to turn on the first locking function and the second locking function at the same time, or turns off the first locking function and the second locking function at the same time.
[0116] For the specific definition of electronic devices and network devices, please refer to the definition of electronic device control methods above, which will not be repeated here. Each module in the above electronic devices and network devices can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0117] In one embodiment, a computer device is provided. The computer device may include a smart door lock and / or a terminal and / or a server, etc., and its internal structure diagram may be as follows: Fig.14As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a computer device control method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0118] Those skilled in the art will understand that Fig.14 The structure shown is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0119] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0120] In the function upgrade state, in response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off.
[0121] In one embodiment, the first locking function may be a child lock function, and the second locking function may be a reverse lock function.
[0122] In one embodiment, the processor implements the step of enabling the first locking function and the second locking function to be in an on state at the same time, or enabling the first locking function and the second locking function to be in an off state at the same time in response to a first preset operation on the trigger device, including:
[0123] In response to an opening operation (such as an upward dial operation) for the first locking device, the first locking function and the second locking function are simultaneously turned on; and / or in response to a closing operation (such as a downward dial operation) for the first locking device, the first locking function and the second locking function are simultaneously turned off.
[0124] In one embodiment, after the processor implements a response to a first preset operation for the trigger device, making the first locking function and the second locking function simultaneously in an on state, or making the first locking function and the second locking function simultaneously in a closed state, it includes: sending log information of the first locking function and the second locking function to a display device such as a display screen; and / or sending the first locking status information and the second locking status information to the display screen.
[0125] In one embodiment, the processor is further configured to implement the following steps: receiving an upgrade exit instruction; and in response to a second preset operation on the trigger device, turning on or off one of the first locking function and the second locking function.
[0126] In one embodiment, the processor implements turning on or off one of the first locking function and the second locking function in response to a second preset operation on the trigger device, including: turning on the first locking function in response to an opening operation on the first locking device; and / or turning off the first locking function in response to a closing operation on the first locking device.
[0127] In one embodiment, after the processor implements turning on or off one of the first locking function and the second locking function in response to a second preset operation for the trigger device, it includes: sending log information of the first locking function or the second locking function to a display screen; and / or sending one of the first locking status information and the second locking status information to the display screen.
[0128] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods or any combination of the processes. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0129] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0130] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for controlling an electronic device, characterized in that: The electronic device is a smart door lock, comprising: When the electronic device is in a function upgrade state, in response to a first preset operation on the trigger device, the first locking function of the electronic device and the second locking function of the electronic device are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off; The function upgrade state is a mode in which the first locking function and the second locking function can be turned on or off at the same time.
2. The electronic device control method according to claim 1, characterized in that: The method further comprises: A function upgrade instruction is received to enable the electronic device to enter the function upgrade state.
3. The electronic device control method according to claim 1, characterized in that: In response to a first preset operation on the trigger device, the first locking function and the second locking function are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off, including: In response to an opening operation on the first locking device or the second locking device, the first locking function and the second locking function are simultaneously opened; and / or In response to a closing operation on the first locking device or the second locking device, the first locking function and the second locking function are simultaneously turned off.
4. The electronic device control method according to claim 1, characterized in that: After the first locking function and the second locking function are turned on at the same time or turned off at the same time in response to the first preset operation on the trigger device, the method further comprises: Sending log information of the first locking function and the second locking function; and / or The first locking state information and the second locking state information are sent.
5. The electronic device control method according to any one of claims 2 to 4, characterized in that: The electronic device control method further includes: Receive upgrade exit instruction; In response to a second preset operation on the trigger device, one of the first locking function and the second locking function is turned on or off.
6. The electronic device control method according to claim 4, characterized in that: In response to a second preset operation on the trigger device, turning on or off one of the first locking function and the second locking function comprises: In response to an opening operation on the first locking device or the second locking device, opening the first locking function; and / or In response to a closing operation on the first locking device or the second locking device, the first locking function is closed.
7. A method for controlling an electronic device, characterized in that: The electronic device is a smart door lock, and the electronic device control method includes: Sending a function upgrade instruction to the electronic device, so that when the electronic device receives a first preset operation for the trigger device, the first locking function of the electronic device and the second locking function of the electronic device are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off; The function upgrade instruction is an instruction that enables the first locking function and the second locking function to be in an on state or in an off state at the same time.
8. The electronic device control method according to claim 7, characterized in that: Before sending function upgrade instructions to electronic devices, including: The first interface corresponding to upgrading the second locking function or upgrading the first locking function is displayed, wherein the first interface includes at least one of the following: an operation diagram corresponding to the electronic device, an upgrade function control, and a function interpretation corresponding to the first locking device or the second locking device of the electronic device.
9. The electronic device control method according to claim 7, characterized in that: The electronic device control method further includes: In response to log information of the first locking function and the second locking function, display the log information; and / or In response to the first locking state information and the second locking state information, the first locking state identifier and the second locking state identifier are updated.
10. The electronic device control method according to claim 7, 8 or 9, characterized in that: The electronic device control method further includes: An upgrade exit instruction is sent to the electronic device, so that the electronic device turns on or off one of the first locking function and the second locking function when receiving a second preset operation for the trigger device.
11. The electronic device control method according to claim 10, characterized in that: After sending an upgrade exit instruction to the electronic device so that the electronic device turns on or off one of the first locking function and the second locking function when receiving a second preset operation for the trigger device, the method further comprises: Displaying log information of the first locking function or the second locking function; and / or In response to one of the first locking state information and the second locking state information, the first locking state identifier or the second locking state identifier is correspondingly updated.
12. An electronic device, characterized in that: The electronic device is a smart door lock, and the electronic device includes: a function control module, when the electronic device is in a function upgrade state, for responding to a first preset operation on the trigger device, so that the first locking function of the electronic device and the second locking function of the electronic device are simultaneously turned on, or the first locking function and the second locking function are simultaneously turned off; The function upgrade state is a mode in which the first locking function and the second locking function can be turned on or off at the same time.
13. A network device, characterized in that: The network equipment includes: a sending module, used for sending a function upgrade instruction to the electronic device, so that when the electronic device receives a first preset operation for the trigger device, the child lock function and the anti-lock function of the electronic device are simultaneously turned on, or the child lock function and the anti-lock function are simultaneously turned off, and the electronic device is a smart door lock; The function upgrade instruction is an instruction that enables the child lock function and the anti-lock function to be in an on state or in an off state at the same time.
14. A control system, characterized in that: This includes network equipment and electronic equipment; The network device sends a function upgrade instruction to an electronic device, where the electronic device is a smart door lock; The electronic device, in a function upgrade state, enables the first locking function and the second locking function to be simultaneously turned on, or enables the first locking function and the second locking function to be simultaneously turned off, in response to a first preset operation on the trigger device; The function upgrade state is a mode in which the first locking function and the second locking function can be turned on or off at the same time.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
Citation Information
Patent Citations
Intelligent door lock
CN105952279A
Intelligent device control method, intelligent device control system and terminal
CN106611493A