Equipment control method and device and storage medium

By determining the target child lock level from multiple preset child lock levels and sending type control equipment according to the level and instructions, the problem of low efficiency of child lock status control in the prior art is solved, and flexible control of the equipment and improved user experience is achieved.

CN120176247APending Publication Date: 2025-06-20XIAOMI TECH (WUHAN) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311779483.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The children's lock status control method of existing equipment is relatively simple, which causes it to avoid children's use, but also affects the control efficiency of other users on the equipment, especially the remote control needs to perform unlocking operations before controlling the equipment.

Method used

By responding to the received device control command, if the target device is in the child lock state, the corresponding target child lock level is determined from the multiple preset child lock levels, and the target device is controlled according to the level and command sending type.

Benefits of technology

The diversity control of the device in the child lock state is realized, allowing the authorized instruction sending type to directly control the device, reducing the number of operations of users with permissions and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120176247A_ABST
    Figure CN120176247A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment control method and device and a storage medium, and the method comprises the steps: responding to a received equipment control instruction for target equipment, and if the target equipment is in a child lock state, determining a target child lock grade corresponding to the child lock state from a plurality of preset child lock grades; determining a target instruction sending type corresponding to the equipment control instruction, wherein different preset child lock levels correspond to different instruction sending types; and controlling the target equipment according to the target child lock grade and the target instruction sending type. By means of the technical scheme, management and control over the equipment control instructions of different instruction sending types can be achieved under different preset child lock levels, and diversity of control over the equipment in the child lock state is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of device control, and in particular, to a method, an apparatus, and a storage medium for device control. Background Art

[0002] During the use of devices such as air conditioners and fans, the devices are usually set to the child lock state to prevent children from frequently operating the operation panel of the devices and affecting the use of the devices.

[0003] However, the current control method for the child lock state of the device is relatively single, which may affect the control efficiency of other users while preventing children from using the device. For example, after the user of the device remote control controls the device to be in the child lock state, not only can the operation panel of the device not directly operate the device, but also the remote control of the device needs to perform an unlocking operation before it can control the device, which affects the control efficiency of the device. Summary of the Invention

[0004] To overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for device control.

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a method for device control, including:

[0006] In response to receiving a device control instruction for a target device, if the target device is in the child lock state, determine a target child lock level corresponding to the child lock state from a plurality of preset child lock levels;

[0007] Determine a target instruction sending type corresponding to the device control instruction, where different preset child lock levels correspond to different instruction sending types;

[0008] Control the target device according to the target child lock level and the target instruction sending type.

[0009] Optionally, the controlling the target device according to the target child lock level and the target instruction sending type includes:

[0010] When the target instruction sending type is the instruction sending type corresponding to the target child lock level, control the target device to execute the device control instruction.

[0011] Optionally, the method further includes:

[0012] When the target instruction sending type is not the instruction sending type corresponding to the target child lock level, discard the device control instruction.

[0013] Optionally, the controlling the target device according to the target child lock level and the target instruction sending type includes:

[0014] When the target instruction sending type is not the instruction sending type corresponding to the target child lock level, in response to receiving the permission release instruction corresponding to the target instruction sending type, control the target device to execute the device control instruction; the permission release instruction is used to indicate that the device control instruction corresponding to the target instruction sending type is allowed to be executed.

[0015] Optionally, the method further includes:

[0016] Receiving a child lock level change instruction, where the child lock level change instruction is used to indicate changing the child lock level of the target device to a specified level, and the specified level is any level among the multiple preset child lock levels;

[0017] According to the child lock level change instruction, change the child lock level of the target device from the target child lock level to the specified level.

[0018] Optionally, it is determined that the target device is in the child lock state in the following manner:

[0019] Determine the device distance between the terminal device and the target device;

[0020] When the device distance is greater than or equal to a preset distance threshold, set the target device to the child lock state.

[0021] Optionally, the setting the target device to the child lock state when the device distance is greater than or equal to the preset distance threshold includes:

[0022] When the device distance is greater than or equal to the preset distance threshold, determine the first continuous duration for which the device distance is greater than or equal to the preset distance threshold;

[0023] When the first continuous duration is greater than or equal to the preset duration threshold, set the target device to the child lock state.

[0024] Optionally, the method further includes:

[0025] When the device distance is less than the preset distance threshold, if the target device is in the child lock state, release the child lock state of the target device.

[0026] Optionally, the releasing the child lock state of the target device when the device distance is less than the preset distance threshold and the target device is in the child lock state includes:

[0027] When the device distance is less than the preset distance threshold, if the target device is in the child lock state, determine the second continuous duration for which the device distance is less than the preset distance threshold;

[0028] When the second duration is greater than or equal to the preset duration threshold, the child lock state of the target device is released.

[0029] Optionally, determining the target instruction sending type corresponding to the device control instruction includes:

[0030] Analyze the device control instruction to obtain the sender identification information of the device control instruction;

[0031] Determine the target instruction sending type corresponding to the device control instruction according to the sender identification information.

[0032] According to a second aspect of the embodiments of the present disclosure, there is provided a device control apparatus, including:

[0033] A first determination module, configured to, in response to receiving a device control instruction for a target device, if the target device is in a child lock state, determine a target child lock level corresponding to the child lock state from a plurality of preset child lock levels;

[0034] A second determination module, configured to determine the target instruction sending type corresponding to the device control instruction, where different preset child lock levels correspond to different instruction sending types;

[0035] A control module, configured to control the target device according to the target child lock level and the target instruction sending type.

[0036] According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the device control method provided in the first aspect of the present disclosure are implemented.

[0037] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: Through different preset child lock levels, different preset child lock levels correspond to different instruction sending types, and it is possible to manage device control instructions of different instruction sending types under different preset child lock levels, realizing the diversity of control of the device in the child lock state. At the same time, when the device is in the child lock state, the device can be directly controlled through an instruction sending type with permissions, avoiding the need for a user with permissions to perform an unlocking operation before controlling the device, and reducing the number of operations of the user with permissions.

[0038] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.

[0040] Figure 1 It is a flowchart of a method for device control shown according to an exemplary embodiment.

[0041] Figure 2 It is a flowchart of another method for device control shown according to an exemplary embodiment.

[0042] Figure 3 It is a flowchart of yet another method for device control shown according to an exemplary embodiment.

[0043] Figure 4 It is a block diagram of a device for device control shown according to an exemplary embodiment.

[0044] Figure 5 It is a block diagram of another device for device control shown according to an exemplary embodiment.

[0045] Figure 6 It is a block diagram of yet another device for device control shown according to an exemplary embodiment. Detailed implementation manners

[0046] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0047] First, the application scenario of the present disclosure is described. The present disclosure is applied to the scenario of setting the child lock state for devices such as air conditioners and fans. In this scenario, the device is usually set to the child lock state to prevent children from frequently operating the operation panel and causing the operating mode of the device to change.

[0048] However, the current control of the child lock state of the device is relatively single. For example, after the device is set to the child lock state, both the operation panel of the device and the remote control cannot directly control the device, and the user of the remote control also needs to perform an unlocking operation on the remote control to control the device, which additionally increases the number of user operations and degrades the user experience.

[0049] To solve the above problems, the present disclosure provides a method, a device, and a storage medium for device control.

[0050] Figure 1It is a flowchart of a method for device control shown according to an exemplary embodiment. As Figure 1 shown, it includes the following steps.

[0051] In step S11, in response to receiving a device control instruction for a target device, if the target device is in the child lock state, determine the target child lock level corresponding to the child lock state from multiple preset child lock levels.

[0052] The target device in the embodiments of the present application can be, for example, devices such as a mobile air conditioner and a mobile fan, or can also be devices such as a washing machine and a dryer. The target device is usually provided with an operation panel for users to operate. By operating the buttons set on the operation panel, users can control the target device. For example, when the mobile air conditioner is cooling, the user can operate the buttons set on the mobile air conditioner to adjust the cooling temperature of the mobile air conditioner.

[0053] For a target device that can be controlled by a remote control, the user can operate the buttons set on the remote control to control the target device; for a device provided with a wireless communication module such as Bluetooth or WiFi, the target device can establish a wireless connection with the user's terminal device through the wireless communication module, and the user can send a control instruction to the target device through the terminal device to control the target device.

[0054] When the target device is not in the child lock state, the user can operate the buttons on the remote control of the target device or the buttons on the operation panel of the target device to make the target device enter the child lock state. For example, long press the A button and the B button simultaneously for more than 3 seconds; or, the user can send a child lock instruction through the terminal device, and this child lock instruction is used to instruct the target device to enter the child lock state, and the target device can enter the child lock state after receiving the child lock instruction.

[0055] The target device in the child lock state can be in one of multiple preset child lock levels; for example, when the target device first enters the child lock state after power-on, the target device can enter the initial child lock level, and at this initial child lock level, the buttons on the operation panel of the target device are disabled to prevent children from interfering with the use of the target device by operating the operation panel of the target device.

[0056] In response to receiving a device control instruction for a target device, if the target device is in the child lock state, the target child lock level corresponding to the child lock state can be determined from multiple preset child lock levels; in this way, it helps to determine whether the device control instruction has the control authority over the target device, so that the device control instruction with the control authority can control the target device, and to avoid the device control instruction without the control authority from interfering with the use of the target device.

[0057] In step S12, determine the target instruction sending type corresponding to the device control instruction. Different preset child lock levels correspond to different instruction sending types.

[0058] Device control instructions of different instruction sending types can refer to device control instructions from different senders. The senders of device control instructions can include: the remote control of the device, the control panel of the device, and the terminal device; for example, different senders can be the remote control of the device and the control panel of the device, and for another example, different senders can be the control panel of the device and the user's terminal device. For yet another example, different senders can be the remote control of the device and the user's terminal device. For still another example, different senders can also be terminal devices of different users, or different senders can also be different terminal devices of the same user.

[0059] For example, the device control instruction can be parsed to obtain the sender identification information of the device control instruction; according to the sender identification information, determine the target instruction sending type corresponding to the device control instruction.

[0060] Different preset child lock levels correspond to different instruction sending types. For example, the target device can have three preset child lock levels: the first child lock level, the second child lock level, and the third child lock level; among them, the control panel of the device is disabled in all preset child lock levels and can control the target device in response to receiving an unlocking operation on the control panel.

[0061] The remote control of the device can be disabled only in the third child lock level and is not disabled in the first child lock level and the second child lock level. In the child lock states of the first child lock level and the second child lock level, the remote control of the device can directly control the target device. In the child lock state of the third child lock level, in response to receiving an unlocking operation on the remote control, the remote control can also control the target device.

[0062] In this way, different instruction sending types of the target device can be independent of each other. When the target device is in the child lock state, it is not necessary for all instruction sending types to perform their respective unlocking operations to control the target device; the instruction sending type that can directly control the target device does not need to perform the unlocking operation to control the target device. For example, when the use of the control panel of the target device is restricted, the remote control of the target device can always control the target device, which can avoid children interfering with the use of the target device and reduce the number of operations of the remote control by the user, thereby improving the user's operation experience.

[0063] In step S13, control the target device according to the target child lock level and the target instruction sending type.

[0064] Controlling the target device according to the target child lock level and the target instruction sending type includes: when the target instruction sending type is the instruction sending type corresponding to the target child lock level, controlling the target device to execute the device control instruction.

[0065] For example, the target device may be built-in with three preset child lock levels, namely the first child lock level, the second child lock level, and the third child lock level. When the target child lock level is the second child lock level, the target instruction sending type corresponding to the target child lock level includes the device control instruction from the terminal device; or, when the target child lock level is the third child lock level, the target instruction sending type corresponding to the target child lock level includes the device control instruction from the preset terminal device. When the target device receives the device control instruction from the preset terminal device, it can execute the device control instruction of the preset terminal device to ensure the control of the target device by the preset terminal device. Among them, the preset terminal device may be, for example, the terminal device set by the user as the main device, or the terminal device with the highest permission level among all terminal devices.

[0066] Another example is that when the target child lock level is the second child lock level, the target instruction sending type corresponding to the target child lock level includes the device control instruction from the remote control and the device control instruction from the preset terminal device. When the target device receives the device control instruction from the remote control, it can execute the device control instruction sent by the remote control to ensure the control of the target device by the remote control.

[0067] In this way, by controlling the target device to execute the device control instruction when the target instruction sending type is the instruction sending type corresponding to the target child lock level, the effective execution of the device control instruction of the instruction sending type corresponding to the target child lock level can be ensured. For example, the normal use of the target device by users other than children can be ensured.

[0068] In one embodiment, when the target instruction sending type is not the instruction sending type corresponding to the target child lock level, the device control instruction is discarded.

[0069] In this way, if the target instruction sending type is not the instruction sending type corresponding to the target child lock level, by discarding the device control instruction, the target device can be made to stop executing the device control instruction, avoiding interference from the device control instruction of the instruction sending type that is not corresponding to the target child lock level to the target device.

[0070] Through the control method of the device provided by the embodiments of the present application, different preset child lock levels are used, and different preset child lock levels correspond to different instruction sending types. It is possible to manage the device control instructions of different instruction sending types under different preset child lock levels, achieving the diversity of control under the child lock state of the device. At the same time, when the device is in the child lock state, it can directly control the device through the instruction sending type with permission, avoiding the need for authorized users to perform an unlocking operation before controlling the device, and reducing the number of operations of authorized users.

[0071] In one embodiment, when the target instruction sending type is not the instruction sending type corresponding to the target child lock level, in response to receiving the permission release instruction corresponding to the target instruction sending type, control the target device to execute the device control instruction; the permission release instruction is used to indicate that it is allowed to execute the device control instruction corresponding to the target instruction sending type.

[0072] For example, when the control panel of the target device is disabled, the instruction sending type of the device control instruction sent by the control panel of the target device is not the instruction sending type corresponding to the target child lock level. By unlocking the control panel of the target device, a permission release instruction can be sent to the target device. The target device can perform a legality verification on the permission release instruction. When the legality verification of the permission release instruction by the target device passes, the target device can execute the device control instruction sent by the control panel of the target device.

[0073] In this way, when the target instruction sending type is not the instruction sending type corresponding to the target child lock level, it is also possible to send a permission release instruction to the target device to make the target device allow the execution of the device control instruction corresponding to the target instruction sending type, thereby achieving the control of the target device.

[0074] In another embodiment, when receiving the permission release instruction corresponding to the target instruction sending type, the permission release instruction is used to indicate that it is allowed to execute the device control instruction corresponding to the target instruction sending type. If the device control instruction corresponding to the target instruction sending type is not received within the preset time period, it is not allowed to execute the device control instruction corresponding to the target instruction sending type. The duration of the preset time period can be, for example, 3 minutes.

[0075] For example, when the control panel of the target device is disabled, the control panel of the target device sends a permission release instruction to the target device in response to receiving an unlocking operation. However, within 3 minutes after sending the permission release instruction, the target device does not receive the device control instruction sent by the control panel, indicating that the user may no longer need to control the target device after performing the unlocking operation on the control panel, or the user leaves after performing the unlocking operation on the control panel. Then, the device control instruction corresponding to the target instruction sending type can be prohibited again to further avoid interference with the use of the target device by children.

[0076] Figure 2 is a flowchart of another method for device control shown according to an exemplary embodiment, as Figure 2 shown, and includes the following steps.

[0077] Step S21: Receive a child lock level change instruction, which is used to indicate changing the child lock level of the target device to a specified level, and the specified level is any one of multiple preset child lock levels.

[0078] Step S22: According to the child lock level change instruction, change the child lock level of the target device from the target child lock level to the specified level.

[0079] For example, when the current child lock level is the first child lock level, the terminal device can send a child lock level change instruction to the target device to cause the target device to change the child lock level to the second child lock level, thereby changing the instruction sending types that are restricted. For example, switching the child lock level from the first child lock level to the second child lock level increases the restriction on the device control instructions sent by the remote control and avoids the impact of the device control instructions emitted by the remote control on the operation of the target device.

[0080] In this way, the user can flexibly switch the child lock level of the target device among multiple preset child lock levels by sending a child lock level change instruction to the target device, making the control of the child lock state of the target device more diverse and also making the control of the child lock state of the target device more in line with the actual needs of the user, thereby enhancing the user experience.

[0081] For example, when the target instruction sending type is not the instruction sending type corresponding to the target child lock level, but the target instruction sending type is the instruction sending type corresponding to the specified child lock level, the device control instruction corresponding to the target instruction sending type can be immediately allowed to be executed, or the device control instruction corresponding to the target instruction sending type can be allowed to be executed after receiving the permission release instruction corresponding to the target instruction sending type.

[0082] For another example, when the target instruction sending type is the instruction sending type corresponding to the target child lock level, but the target instruction sending type is not the instruction sending type corresponding to the specified child lock level, the device control instruction corresponding to the target instruction sending type can be immediately prohibited from being executed, or the device control instruction corresponding to the target instruction sending type can be prohibited from being executed after the device control instruction corresponding to the current target instruction sending type is executed.

[0083] In one embodiment, the server or the user's terminal device can determine the unlocking operation of the operation panel or remote control of the target device according to the number of buttons on the operation panel or remote control of the target device. For example, the unlocking operation of the remote control can be pressing button C and button D simultaneously for more than 3 seconds, so that the target device allows the execution of the device control instructions sent by the remote control.

[0084] In another embodiment, the server or the user's terminal device can send child lock change information to the target device at a preset moment or in a preset period, so that the target device changes the stored unlocking instructions. For example, at 8:00 every morning or every 12 hours, the unlocking methods corresponding to different instruction sending types are updated, and the unlocking methods corresponding to different instruction sending types can be synchronized to the terminal device for the user to view the unlocking methods corresponding to different instruction sending types; in this way, the unlocking methods corresponding to different instruction sending types can be automatically updated, further avoiding interference with the use of the target device. The preset moment can be 8:00 every morning, and the preset period can be 24 hours.

[0085] For example, the original unlocking methods corresponding to different instruction sending types can become invalid immediately after the original unlocking methods corresponding to different instruction sending types are changed, or can become invalid after the original unlocking methods corresponding to different instruction sending types are executed.

[0086] Figure 3 It is a flowchart of another method for device control shown according to an exemplary embodiment, as Figure 3 shown, and includes the following steps.

[0087] Step S31, determine the device distance between the terminal device and the target device.

[0088] Step S32, when the device distance is greater than or equal to the preset distance threshold, set the target device to the child lock state.

[0089] The device distance between the terminal device and the target device is greater than or equal to a preset distance threshold, indicating that the user of the terminal device is no longer near the target device. For example, after the user of the terminal device starts the laundry washing program of the washing machine and leaves the room, to avoid interference from others during the clothes washing process of the washing machine, the washing machine can be set to the child lock state. Among them, the preset distance threshold can be, for example, 6 meters.

[0090] In one embodiment, when the device distance is greater than or equal to the preset distance threshold, setting the target device to the child lock state includes: when the device distance is greater than or equal to the preset distance threshold, determining a first duration for which the device distance is greater than or equal to the preset distance threshold; when the first duration is greater than or equal to a preset duration threshold, setting the target device to the child lock state. Among them, the preset duration threshold can be, for example, 5 minutes.

[0091] By setting the target device to the child lock state when the first duration is greater than or equal to the preset duration threshold, compared with immediately setting the target device to the child lock state, the target device can have a preparation time of the preset duration threshold, so that the control of the target device can be more flexible.

[0092] In another embodiment, when the device distance is less than the preset distance threshold, if the target device is in the child lock state, the child lock state of the target device is released.

[0093] For example, when the device distance is less than the preset distance threshold, it indicates that the user of the terminal device may have returned home, and the target device is within the control range of the user. Releasing the child lock state of the target device can facilitate the user to control the target device.

[0094] In another embodiment, when the device distance is less than the preset distance threshold, if the target device is in the child lock state, releasing the child lock state of the target device includes: when the device distance is less than the preset distance threshold and the target device is in the child lock state, determining a second duration for which the device distance is less than the preset distance threshold; when the second duration is greater than or equal to the preset duration threshold, releasing the child lock state of the target device.

[0095] By releasing the child lock state of the target device in the child lock state when the first duration is greater than or equal to the preset duration threshold, compared with immediately releasing the child lock state of the target device, the target device can have a preparation time of the preset duration threshold, so that the control of the target device can be more flexible.

[0096] Figure 4 It is a block diagram of a device control device 420 shown according to an exemplary embodiment. Refer to Figure 4, the device control apparatus 420 includes a first determination module 421, a second determination module 422, and a control module 423.

[0097] The first determination module 421 is configured to, in response to receiving a device control instruction for a target device, determine a target child lock level corresponding to the child lock state from a plurality of preset child lock levels if the target device is in the child lock state.

[0098] The second determination module 422 is configured to determine a target instruction sending type corresponding to the device control instruction, and different preset child lock levels correspond to different instruction sending types.

[0099] The control module 423 is configured to control the target device according to the target child lock level and the target instruction sending type.

[0100] In one embodiment, the control module 423 is further configured to control the target device to execute the device control instruction if the target instruction sending type is the instruction sending type corresponding to the target child lock level.

[0101] In one embodiment, the control module 423 is further configured to discard the device control instruction if the target instruction sending type is not the instruction sending type corresponding to the target child lock level.

[0102] In one embodiment, the control module 423 is further configured to, if the target instruction sending type is not the instruction sending type corresponding to the target child lock level, in response to receiving an authority release instruction corresponding to the target instruction sending type, control the target device to execute the device control instruction; the authority release instruction is used to indicate that execution of the device control instruction corresponding to the target instruction sending type is permitted.

[0103] In one embodiment, the first determination module 421 is further configured to receive a child lock level change instruction, where the child lock level change instruction is used to indicate changing the child lock level of the target device to a specified level, and the specified level is any one of the plurality of preset child lock levels; according to the child lock level change instruction, change the child lock level of the target device from the target child lock level to the specified level.

[0104] In one embodiment, the control module 423 is further configured to determine a device distance between the terminal device and the target device; if the device distance is greater than or equal to a preset distance threshold, set the target device to the child lock state.

[0105] In one embodiment, the control module 423 is also configured to determine, when the device distance is greater than or equal to the preset distance threshold, a first duration during which the device distance is greater than or equal to the preset distance threshold; and when the first duration is greater than or equal to the preset duration threshold, set the target device to a child lock state.

[0106] In one embodiment, the control module 423 is further configured to release the child lock state of the target device if the target device is in a child lock state when the device distance is less than the preset distance threshold.

[0107] In one embodiment, the control module 423 is further configured to, when the device distance is less than the preset distance threshold, if the target device is in a child lock state, determine a second duration of time during which the device distance is less than the preset distance threshold;

[0108] When the second duration is greater than or equal to the preset duration threshold, the child lock state of the target device is released.

[0109] In one embodiment, the second determination module 422 is further configured to parse the device control instruction to obtain identification information of a sender of the device control instruction; and determine a target instruction sending type corresponding to the device control instruction according to the identification information of the sender.

[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0111] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the device control method provided by the present disclosure when the program instructions are executed by a processor.

[0112] Figure 5 8 is a block diagram of an apparatus 800 for device control according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0113] Reference Figure 5 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output interface 812 , a sensor component 814 , and a communication component 816 .

[0114] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described method for device control. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0115] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.

[0116] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0117] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each of the front camera and the rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0118] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.

[0119] The input / output interface 812 provides an interface between the processing component 802 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.

[0120] The sensor component 814 includes one or more sensors for providing status assessments of various aspects of the device 800. For example, the sensor component 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800. The sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor component 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0121] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0122] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the method of device control described above.

[0123] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the above instructions can be executed by a processor 820 of the apparatus 800 to complete the method of device control described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0124] In addition to being an independent electronic device, the above apparatus may also be a part of an independent electronic device. For example, in one embodiment, the apparatus may be an integrated circuit (IC) or a chip. The integrated circuit may be a single IC or a collection of multiple ICs. The chip may include, but is not limited to, the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip), etc. The above integrated circuit or chip may be used to execute executable instructions (or code) to implement the method of device control described above. The executable instructions may be stored in the integrated circuit or chip, or may be obtained from other devices or apparatuses. For example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instructions may be stored in the memory, and when the executable instructions are executed by the processor, the method of device control described above is implemented; or, the integrated circuit or chip may receive the executable instructions through the interface and transmit them to the processor for execution to implement the method of device control described above.

[0125] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for performing the method of device control described above when executed by the programmable device.

[0126] Figure 6 FIG. 4 is a block diagram of a device 1900 for device control shown according to an exemplary embodiment. Referring to Figure 6 , the device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by a memory 1932 for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the method of device control described above.

[0127] The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM or the like.

[0128] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0129] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A method for device control, characterized in that, include: In response to receiving a device control instruction for a target device, if the target device is in a child lock state, determining a target child lock level corresponding to the child lock state from a plurality of preset child lock levels; Determine a target instruction sending type corresponding to the device control instruction, where different preset child lock levels correspond to different instruction sending types; The target device is controlled according to the target child lock level and the target instruction sending type.

2. The method according to claim 1, characterized in that, The controlling the target device according to the target child lock level and the target instruction sending type comprises: When the target instruction sending type is the instruction sending type corresponding to the target child lock level, the target device is controlled to execute the device control instruction.

3. The method according to claim 2, characterized in that, The method further comprises: When the target instruction sending type is not the instruction sending type corresponding to the target child lock level, the device control instruction is discarded.

4. The method according to claim 1, characterized in that, The controlling the target device according to the target child lock level and the target instruction sending type comprises: When the target instruction sending type is not the instruction sending type corresponding to the target child lock level, in response to receiving a permission release instruction corresponding to the target instruction sending type, the target device is controlled to execute the device control instruction; the permission release instruction is used to indicate that the execution of the device control instruction corresponding to the target instruction sending type is allowed.

5. The method according to claim 1, characterized in that, The method further comprises: receiving a child lock level change instruction, wherein the child lock level change instruction is used to instruct to change the child lock level of the target device to a specified level, wherein the specified level is any one of the plurality of preset child lock levels; According to the child lock level change instruction, the child lock level of the target device is changed from a target child lock level to a designated level.

6. The method according to claim 1, characterized in that, The target device is in the child lock state by: Determining a device distance between the terminal device and the target device; When the device distance is greater than or equal to a preset distance threshold, the target device is set to a child lock state.

7. The method according to claim 6, characterized in that, When the device distance is greater than or equal to a preset distance threshold, setting the target device to a child lock state includes: In a case where the device distance is greater than or equal to the preset distance threshold, determining a first duration during which the device distance is greater than or equal to the preset distance threshold; When the first duration is greater than or equal to the preset duration threshold, the target device is set to a child lock state.

8. The method according to claim 6, characterized in that, The method further comprises: When the device distance is less than the preset distance threshold, if the target device is in a child lock state, the child lock state of the target device is released.

9. The method according to claim 8, characterized in that, When the device distance is less than the preset distance threshold, if the target device is in a child lock state, releasing the child lock state of the target device includes: In the case where the device distance is less than the preset distance threshold, if the target device is in a child lock state, determining a second duration of time during which the device distance is less than the preset distance threshold; When the second duration is greater than or equal to the preset duration threshold, the child lock state of the target device is released.

10. The method according to any one of claims 1 to 9, characterized in that, The determination of the target instruction sending type corresponding to the device control instruction includes: Parsing the device control instruction to obtain the sender identification information of the device control instruction; Determining the target instruction sending type corresponding to the device control instruction according to the sender identification information.

11. A control device for a device, characterized in that, Including: A first determination module configured to, in response to receiving a device control instruction for a target device, if the target device is in a child lock state, determine a target child lock level corresponding to the child lock state from multiple preset child lock levels; A second determination module configured to determine the target instruction sending type corresponding to the device control instruction, where different preset child lock levels correspond to different instruction sending types; A control module configured to control the target device according to the target child lock level and the target instruction sending type.

12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instruction is executed by a processor, the steps of the method according to any one of claims 1-10 are implemented.