Intelligent device and control method, control device and control system thereof

By introducing the intelligent switch solutions of normal and reverse control mode in intelligent devices, the control error problem caused by the user due to errors due to error load is solved, and the load control that does not need to be disassembled and re -connected is improved, and the user experience is improved.

CN114995170BActive Publication Date: 2025-01-24SHENZHEN LUMIUNITED TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210570117.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-24
Publication Date
2025-01-24
Estimated Expiration
2042-05-24

AI Technical Summary

Technical Problem

The key panel arrangement order of existing switches may cause users to accidentally connect to the load line, resulting in load control errors, and users need to disassemble and rewire, which is very inconvenient.

Method used

Design a intelligent device, which contains the first and second control modules. The load line wiring error is corrected by normal and reverse control mode without disassembling and re -wiring.

Benefits of technology

When the load line wiring is incorrect, the intelligent device is automatically switched to the reverse control mode, and the load is correctly controlled to avoid the steps of the user's disassembly and reassessment and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114995170B_ABST
    Figure CN114995170B_ABST
Patent Text Reader

Abstract

The present application relates to an intelligent device and its control method, control device and control system. The method includes: in a normal control mode, if a first control signal is received, the first control module is controlled according to the first control signal to control the first load; if a second control signal is received, the second control module is controlled according to the second control signal to control the second load; in a reverse control mode, if a first control signal is received, the second control module is controlled according to the first control signal to control the second load; if a second control signal is received, the first control module is controlled according to the second control signal to control the first load, so that when the load is wired incorrectly, there is no need to disassemble and rewire the load. The correct control of the load can be achieved by controlling the intelligent device to operate in the reverse control mode. The operation is simple and convenient, which alleviates the wiring difficulties caused by different perceptions of the switch button panel by users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of switch technology, and in particular to an intelligent device and a control method, a control device, and a control system thereof. Background Art

[0002] With the popularity of the smart home market, switches are widely used in people's daily lives as common devices for controlling home products. Among them, existing switches have different arrangements of key panels, such as up and down arrangement or left and right arrangement. Users may have a misunderstanding of the arrangement order of the switch key panel. For example, if a user wants to control lamp A with the upper button and lamp B with the lower button, the upper button has a wiring hole L1 and the lower button has a wiring hole L2, but the user mistakenly connects the control line of lamp A to L2 and the control line of lamp B to L1, resulting in the upper button controlling lamp B and the lower button controlling lamp A. At this time, the user needs to disassemble and rewire the load line (the control line of the lamp and other loads), which brings great inconvenience to the user. Summary of the invention

[0003] Based on this, it is necessary to provide an intelligent device and its control method, control device, and control system that can alleviate the wiring difficulties caused by users' different perceptions of switch button panels in response to the above technical problems.

[0004] A control method for an intelligent device, the intelligent device comprises at least a first control module and a second control module, the first control module is connected to a first load, and the second control module is connected to a second load; the method comprises: in a normal control mode, if a first control signal is received, the first control module is controlled according to the first control signal to control the first load; if a second control signal is received, the second control module is controlled according to the second control signal to control the second load; in a reverse control mode, if the first control signal is received, the second control module is controlled according to the first control signal to control the second load; if the second control signal is received, the first control module is controlled according to the second control signal to control the first load.

[0005] A control device for an intelligent device, the intelligent device comprises at least a first control module and a second control module, the first control module is connected to a first load, and the second control module is connected to a second load; the device comprises: a normal control mode unit, for controlling the first control module according to the first control signal to control the first load if a first control signal is received in the normal control mode; for controlling the second control module according to the second control signal to control the second load if a second control signal is received; a reverse control mode unit, for controlling the second control module according to the first control signal to control the second load if a first control signal is received in the reverse control mode; and for controlling the first control module according to the second control signal to control the first load if a second control signal is received.

[0006] A smart device, which includes at least a first main control module, a first control module and a second control module; the main control module is connected to the first control module and the second control module respectively; the first control module is connected to a first load, and the second control module is connected to a second load; the first main control module is used to control the first control module according to the first control signal to control the first load if a first control signal is received in a normal control mode; and to control the second control module according to the second control signal to control the second load if a second control signal is received; the first main control module is also used to control the second control module according to the first control signal to control the second load if a first control signal is received in a reverse control mode; and to control the first control module according to the second control signal to control the first load if a second control signal is received.

[0007] A smart device control system, which includes a multi-way control module and a multi-way switch; wherein the multi-way switch includes at least a first control unit and a second control unit, the first control unit is connected to a first load through the multi-way control module, and the second control unit is connected to a second load through the multi-way control module; the multi-way control module is used to control the first load according to the first control signal if a first control signal is received in a normal control mode; and to control the second load according to the second control signal if a second control signal is received; the multi-way control module is also used to control the second load according to the first control signal if a first control signal is received in a reverse control mode; and to control the first load according to the second control signal if a second control signal is received.

[0008] An intelligent device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the control method of the intelligent device of each embodiment of the present application are implemented.

[0009] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the control method of the smart device of each embodiment of the present application.

[0010] The above-mentioned smart device and its control method, control device, and control system, when the load line is correctly connected, the smart device controls the load according to the normal control mode; when the load line is incorrectly connected, the smart device controls the load according to the reverse control mode. Therefore, when the load is incorrectly connected, there is no need to disassemble and rewire the load. Correct control of the load can be achieved by controlling the smart device to operate in the reverse control mode. The operation is simple and convenient, which alleviates the wiring difficulties caused by different users' cognition of the switch button panel and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 An application environment diagram of a control method for a smart device in an embodiment;

[0012] Figure 2 An automated scene diagram of automatically turning on lights when doors and windows are opened in one embodiment;

[0013] Figure 3 A schematic diagram of the upper and lower arrangement of the key panels of a switch in one embodiment;

[0014] Figure 4 A schematic diagram of left-right arrangement of a key panel of a switch in one embodiment;

[0015] Figure 5 A schematic diagram of a flow chart of a method for controlling a smart device in one embodiment;

[0016] Figure 6 is a schematic diagram of a control device of an intelligent device in one embodiment;

[0017] Figure 7 A schematic diagram of the structure of an intelligent device in one embodiment;

[0018] Figure 8 A schematic diagram of the structure of an intelligent device control system in one embodiment;

[0019] Fig. 9 A schematic diagram of the structure of an intelligent device control system in another embodiment

[0020] Fig.10 It is a structural schematic diagram of a smart device control system in another embodiment;

[0021] Fig.11 FIG. 1 is a schematic diagram of the structure of a computer device in an embodiment. DETAILED DESCRIPTION

[0022] 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.

[0023] The control method of the smart device provided in this application can be applied to Figure 1 In the application environment shown in the figure, Figure 1 A smart home system is provided, which includes a router 11, a gateway 12, multiple sub-devices 13, a cloud / cloud server 14 and an electronic device 15; wherein the electronic device 15 can be any device with communication and storage functions, such as: a smart phone, a desktop computer, a laptop computer, a tablet computer or other smart communication devices with network connection functions, and the electronic device 15 stores a control terminal for managing the gateway 12 and the multiple sub-devices 13, as well as a user account that can be logged in to the control terminal.

[0024] Among them, the control terminal is associated with multiple sub-devices 13, so that when the control terminal is run in the electronic device 15, it can provide users with related functions such as sub-device control. This control terminal can be in the form of an application (such as APP, Application, mobile phone software) or a web page. Correspondingly, the user interface displayed by the control terminal can be in the form of a program window or a web page, which is not limited here.

[0025] The process of multiple sub-devices 13 accessing the gateway 12 through the local area network includes: the gateway 12 first establishes a local area network, and the multiple sub-devices 13 join the local area network established by the gateway 12 by connecting to the gateway 12. This local area network includes but is not limited to: ZIGBEE or Bluetooth. Among them, the multiple sub-devices 13 can be smart printers, smart fax machines, smart cameras, smart air conditioners, smart door locks, smart lights, or human sensors equipped with communication modules, door and window sensors, temperature and humidity sensors, water immersion sensors, natural gas alarms, smoke alarms, wall switches, wall sockets, wireless switches, wireless wall sticker switches, magic cube controllers, curtain motors, smart speakers and other electronic devices.

[0026] The interaction between the electronic device 15 and the multiple sub-devices 13 can be achieved through a local area network or a wide area network. In an application scenario, when the electronic device 15, the router 11, and the gateway 12 are in the same local area network, the electronic device 15 can interact with the gateway 12 and the multiple sub-devices 13 connected to the gateway 12 through a local area network path, or can also interact with the gateway 12 and the multiple sub-devices 13 connected to the gateway 12 through a wide area network path. In addition, when the electronic device 15, the router 11, and the gateway 12 are not in the same local area network, the electronic device 15 can also interact with the gateway 12 and the multiple sub-devices 13 connected to the gateway 12 through a wide area network path. In addition, the electronic device 15 can also interact with the cloud / cloud server 14 through a specified communication method, where the specified communication method includes: 2G (2-Generation wireless telephone technology, second-generation mobile phone communication technology specifications), 3G (3rd-Generation, third-generation mobile communication technology), 4G (the 4th generation mobile communication technology, fourth-generation mobile communication technology), 5G (5th-Generation Mobile Communication Technology, fifth-generation mobile communication technology) and wireless network communication technology WIFI, etc., which can be specifically set according to actual conditions.

[0027] The cloud / cloud server 14 can also be considered as a cloud, a cloud platform, a platform end, a service end, etc. The cloud / cloud server 14 can be a server, a server cluster composed of multiple servers, or a cloud computing center composed of multiple servers, so as to better provide background services to the massive electronic devices 15. For example, the background services include sub-device control services, etc.

[0028] Specifically, the automation of the smart home system is a linkage application built between the gateway 12 or multiple sub-devices 13 connected to the gateway 12, including a trigger device and a controlled device (or an execution device), which are connected to each other through the gateway 12. When the trigger device meets the trigger condition, the gateway 12 controls the controlled device to perform the corresponding execution action. Among them, the trigger device can be various sensors, such as pressure sensors, temperature sensors, humidity sensors, door and window sensors or smoke sensors, etc.; the controlled device can be various switches, sockets, electric lights, infrared transmitters and camera devices, etc. It should be noted that in some cases, the trigger device and the controlled device can be the same device, which can be set according to the actual situation.

[0029] For example, Figure 2In the example of an automation scenario in which a door or window is opened and a light is automatically turned on, multiple sub-devices 13 include a door or window sensor 131, a smart switch 132, and a lamp 133. The trigger condition is that the door or window is opened, and the execution action is that the smart switch 132 controls the lamp 133 to turn on. Based on this, the door or window sensor 131 is set as a trigger device, and the smart switch 132 connected to the lamp 133 is set as a controlled device. The specific execution process is as follows: if the automatic execution is performed locally at the gateway 12 through the LAN path, the door and window sensor 131 senses that the door and window are opened, and reports this event to the gateway 12. After the gateway 12 receives the event that the door and window are opened, it finds the corresponding device for executing the action according to the stored automation configuration information, which is the smart switch 132 here, and notifies the smart switch 132 to turn on the light, so that the smart switch 132 controls the lamp 133 to turn on, thereby realizing the automatic linkage of automatically turning on the light when the door and window are opened; if the automatic execution is performed in the cloud through the WAN path, the door and window sensor 131 senses that the door and window are opened, and reports this event to the gateway 12. After the gateway 12 receives the event that the door and window are opened, it reports the event to the cloud / cloud server 14. The cloud / cloud server 14 finds the corresponding device for executing the action according to the stored scene configuration information, which is the smart switch 132 here, and notifies the smart switch 132 to turn on the light, so that the smart switch 132 controls the lamp 133 to turn on, thereby realizing the automatic linkage of automatically turning on the light when the door and window are opened.

[0030] In addition, after the above-mentioned lamp 133 is turned on, a successful light-on information is also fed back to the gateway 12. After the gateway 12 knows that the light is successfully turned on, it reports the current event, the corresponding scene, and the success or failure message to the cloud / cloud server 14 for storage by the cloud / cloud server 14.

[0031] In practical applications, smart switches and single / dual-channel control modules are essential smart products for realizing smart lighting control. Among them, smart switches mainly include: control circuits, communication circuits and relays. Relays are connected to load lines such as lamps. Communication circuits are used to communicate with the cloud. Control circuits achieve intelligent operation of remotely controlling lamps by controlling the opening and closing of relays. The working principle of single / dual-channel control modules is similar to that of smart switches, and they also include communication circuits, control circuits and relays. However, they can also be connected to traditional mechanical switches. Since mechanical switches do not have communication functions, they can have communication functions similar to smart switches after being connected to single / dual-channel control modules. Therefore, the control signal of the mechanical switch can be transmitted to the control circuit of the single / dual-channel control module, so that the control circuit controls the opening and closing of the relay according to the control signal, thus realizing remote and local joint control of lamps.

[0032] However, in actual applications, existing switches have key panels with different arrangements, such as Figure 3As shown, it is arranged up and down, including an upper button and a lower button; or Figure 4 As shown, it is arranged left and right, including left and right buttons; users may have a misunderstanding of the arrangement order of the switch button panel, for example, Figure 3 In the switch, the user wants to control lamp A with the upper button and lamp B with the lower button. The upper button has a corresponding wiring hole L1 and the lower button has a corresponding wiring hole L2. However, the user mistakenly connects the control line of lamp A to L2 and the control line of lamp B to L1, resulting in the upper button controlling lamp B and the lower button controlling lamp A. At this time, the user needs to disassemble and rewire the load line (the control line of the lamp and other loads), which brings great inconvenience to the user.

[0033] Based on this, the embodiments of the present invention provide a smart device and a control method, a control device, and a control system thereof. When the load line is connected correctly, the smart device controls the load according to the normal control mode; when the load line is connected incorrectly, the smart device controls the load according to the reverse control mode. Therefore, when the load is connected incorrectly, there is no need to disassemble and rewire the load. Correct control of the load can be achieved by controlling the smart device to operate in the reverse control mode. The operation is simple and convenient, which alleviates the wiring difficulties caused by different users' cognition of the switch button panel and improves the user experience.

[0034] In one embodiment, Figure 5 As shown, a control method for a smart device is provided, wherein the smart device comprises at least a first control module and a second control module, the first control module is connected to a first load, and the second control module is connected to a second load, and the method specifically comprises the following steps:

[0035] Step S502, in the normal control mode, if a first control signal is received, the first control module is controlled according to the first control signal to control the first load; if a second control signal is received, the second control module is controlled according to the second control signal to control the second load;

[0036] Specifically, the above-mentioned intelligent device can be an intelligent switch device or a multi-channel controller device (which has a built-in relay). For the convenience of explanation, a two-key intelligent switch is used for explanation. The two-key intelligent switch includes a control circuit, and a first relay (i.e., a first control module) and a second relay (i.e., a second control module) connected to the control circuit. In practical applications, the control circuit obtains a control signal and controls the corresponding control module according to the control signal, such as controlling the first control module according to the first control signal and controlling the second control module according to the second control signal. Here, the control signal can be sent by the user through the control terminal of the electronic device, or generated in response to the user operating the panel button of the two-key intelligent switch. The control signal can also be sent by the gateway to the intelligent switch based on the trigger device satisfying the trigger condition in the automation, so as to control the load connected to the intelligent switch to perform the corresponding execution action in the automation. For example, the automation instruction is "if the door and window sensor detects a person, the lamp is turned on". At this time, if the door and window sensor detects a person, the gateway will send a control signal to control the lamp to turn on to the intelligent switch, and the intelligent switch controls the corresponding lamp to turn on according to the received control signal. It should be noted that, for a dual-channel controller device, its control signal can be obtained by a user through a control terminal of an electronic device, or sent by a gateway to a smart switch based on a trigger device satisfying a trigger condition in automation.

[0037] In addition, the first control module is connected to the first load such as lamp A, and the second control module is connected to the second load such as lamp B. At this time, if the user expects to control lamp A through the first control signal and lamp B through the second control signal, the two-key intelligent switch operates in a normal control mode. Specifically, when the control circuit receives the first control signal, the state of the first control module is controlled according to the first control signal to control the first load, such as controlling the first control module to close according to the first control signal to turn on lamp A of the first load, or dimming / coloring lamp A; similarly, when the control circuit receives the second control signal, the state of the second control module is controlled according to the second control signal to control lamp B of the second load.

[0038] Step S504, in the reverse control mode, if the first control signal is received, the second control module is controlled according to the first control signal to control the second load; if the second control signal is received, the first control module is controlled according to the second control signal to control the first load.

[0039] On the contrary, when the load is wired incorrectly, if the user expects to control the B lamp through the first control signal and the A lamp through the second control signal, at this time, the double-button smart switch is controlled to operate in the reverse control mode. Specifically, when the control circuit receives the first control signal, the state of the second control module is controlled according to the first control signal to control the second load, such as controlling the second control module to close according to the first control signal to turn on the B lamp of the second load, or dimming / color adjustment of the B lamp; similarly, when the control circuit receives the second control signal, the state of the first control module is controlled according to the second control signal to control the A lamp of the first load. Therefore, when the load is wired incorrectly, the correct control of the load can be achieved by switching the control mode of the smart device without disassembling and rewiring the load. This control method is simple and convenient to operate, which greatly improves the user experience.

[0040] According to the control method of the above-mentioned smart device, when the load line is correctly connected, the smart device controls the load according to the normal control mode; when the load line is incorrectly connected, the smart device controls the load according to the reverse control mode. Therefore, when the load is incorrectly connected, there is no need to disassemble and rewire the load. Correct control of the load can be achieved by controlling the smart device to operate in the reverse control mode. The operation is simple and convenient, which alleviates the wiring difficulties caused by different users' cognition of the switch button panel and improves the user experience.

[0041] By way of example, the method further includes: if a control signal is received, determining whether the reverse control mode has been turned on; wherein the control signal includes a first control signal or a second control signal; if it is determined that the reverse control mode has been turned on, controlling the smart device to control the first control module or the second control module according to the reverse control mode based on the control signal to control the first load or the second load.

[0042] Specifically, when the smart device receives a control signal, it is also necessary to determine the corresponding control mode, that is, to determine whether the reverse control mode has been turned on. If the reverse control mode is not turned on, the smart device is controlled to work in the normal control mode. If the reverse control mode is turned on, the smart device is controlled to work in the reverse control mode. For example, for an intelligent switch device, if a first control signal or a second control signal is received, the control circuit first determines whether the intelligent switch device has turned on the reverse control mode. If the reverse control mode is not turned on, the intelligent switch device is controlled to operate in a normal control mode, that is, if the first control signal is received, the first control module is controlled according to the first control signal to control the first load, and if the second control signal is received, the second control module is controlled according to the second control signal to control the second load; if the reverse control mode is turned on, the intelligent switch device is controlled to operate in the reverse control mode, that is, if the first control signal is received, the second control module is controlled according to the first control signal to control the second load, and if the second control signal is received, the first control module is controlled according to the second control signal to control the first load; similarly, for a multi-way controller device, if the first control signal or the second control signal is received, the multi-way controller first determines whether the reverse control mode is turned on; if the reverse control mode is not turned on, the multi-way controller device is controlled to operate in a normal control mode, and if the reverse control mode is turned on, the multi-way controller device is controlled to operate in a reverse control mode. The specific processes of the normal control mode and the reverse control mode can be referred to the aforementioned embodiments, and the embodiments of the present invention will not be described in detail here.

[0043] Among them, the above process of determining whether the reverse control mode has been turned on may include: obtaining an enable mark; wherein the enable mark includes a first mark and a second mark, the first mark is used to indicate that the reverse control mode is not turned on, and the second mark is used to indicate that the reverse control mode is turned on; determining whether the reverse control mode has been turned on according to the enable mark.

[0044] Specifically, in order to facilitate the rapid determination of the normal control mode or the reverse control mode, different enable marks are also provided. Preferably, the first mark is set to 0 to indicate that the reverse control mode is not turned on, that is, the intelligent device works in the normal control mode; the second mark is set to 1 to indicate that the reverse control mode is turned on, that is, the intelligent device works in the reverse control mode, so that the control mode of the intelligent device can be quickly determined according to the acquired enable mark. For example, the control circuit determines that the control mode of the intelligent switch device is the reverse control mode according to the acquired enable mark such as 1, so as to quickly control the load according to the control signal and the reverse control mode, and further improves the control efficiency and control accuracy of the load.

[0045] The above-mentioned enabling mark can be sent by the user through the control terminal in the electronic device. In actual application, if the user finds that the load wiring is wrong, the control terminal in the electronic device sends the second mark 1 to the smart device, and the smart device can update and save the second mark 1. At this time, the smart device can work in the reverse control mode. By changing the control mode of the smart device by changing the enabling mark, the functions of the smart device can be further enriched to meet the various needs of users for the smart device.

[0046] It should be noted that the initial default enable mark of the smart device is the first mark 0. If the user sets the enable mark to the second mark 1, when the smart device loses power, the smart device will save the enable mark as the second mark 1. After the smart device is powered on and restarted, the enable mark at this time is the same as the enable mark before power failure, that is, it is still the second mark 1, so as to keep the reverse control mode in the on state, and the user does not need to re-set the enable mark of the smart device.

[0047] Before obtaining the enable mark, the method further includes: determining whether the control signal meets a preset condition; if the control signal meets the preset condition, generating an enable mark; if the control signal does not meet the preset condition, executing the step of obtaining the enable mark. Specifically, when a control signal is generated according to the panel button of the smart device, such as the two buttons of the double-button smart switch, the first button is used to generate a first control signal, and the second button is used to control the generation of a second control signal. When the user generates a control signal by operating the button, if the control signal meets the preset conditions, it means that the purpose of the user operating the button at this time is to switch the working mode of the smart switch, rather than to control the load by operating the button. For example, when the user presses the first button and the second button at the same time, and the pressing time reaches a preset time such as 8s, a second mark 1 is generated; or, when the pressing time reaches a preset time such as 8s, and an indication information is generated (such as the indicator light of the double-button smart switch flashes a preset number of times such as 2 times), a second mark 1 is generated to turn on the reverse control mode, so that an enable mark can also be generated according to the user's operation to control the smart device to work in the reverse control mode. This method of turning on the reverse control mode is convenient and flexible, reduces the difficulty of user operation, and has good practical value.

[0048] It should be noted that if the preset conditions are not met, it means that the purpose of the user operating the button at this time is to control the load, and no enable mark will be generated, that is, the original enable mark will not be changed, and the control smart device will still operate according to the control mode corresponding to the current enable mark, and execute the process of obtaining the enable mark and the subsequent process of controlling the load according to the control signal. In addition, if the user needs to turn off the reverse control mode, he can also press the first button and the second button at the same time again, and when the pressing time reaches the preset time, such as 8s, the first mark 0 is generated to turn off the reverse control mode and enable the smart device to work in the normal control mode.

[0049] Another possible process for generating an enable mark is as follows: if a mode switching instruction is obtained, an enable mark is generated according to the mode switching instruction, and the mode switching instruction is used to indicate that the control mode of the smart device is switched, and the control mode includes a normal control mode or a reverse control mode. Specifically, if the user is far away from the smart device and cannot press the panel button at this time, the mode switching instruction can also be sent through the control terminal of the electronic device. For example, if the current mode of the smart device is the normal control mode, at this time, the user sends a mode switching instruction through the control terminal, and the smart device is controlled to switch from the normal control mode to the reverse control mode, and according to the mode switching instruction, a second mark 1 is generated. For example, for a two-key smart switch, the default is the normal control mode, and the current enable mark is the first mark 0. When the control circuit obtains the mode switching instruction sent by the user through the electronic device, the two-key smart switch is controlled to switch from the normal control mode to the reverse control mode, and a second mark 1 is generated, and the enable mark is updated to the second mark 1, so that the control mode of the smart device is changed by remotely sending the mode switching instruction. This method is simple and convenient, greatly reduces the user's operation difficulty, is easy to promote and implement in practical applications, and improves the user experience.

[0050] In one embodiment, Figure 6 As shown, a control device for an intelligent device is provided; the intelligent device comprises at least a first control module and a second control module, the first control module is connected to a first load, and the second control module is connected to a second load; the device comprises: a normal control mode unit 61 and a reverse control mode unit 62; wherein:

[0051] The normal control mode unit 61 is used to control the first control module according to the first control signal to control the first load if a first control signal is received in the normal control mode; and control the second control module according to the second control signal to control the second load if a second control signal is received;

[0052] The reverse control mode unit 62 is used to control the second control module according to the first control signal to control the second load in the reverse control mode if a first control signal is received; and to control the first control module according to the second control signal to control the first load if a second control signal is received.

[0053] By way of example, the apparatus further includes: a first processing unit, for determining whether the reverse control mode has been turned on if a control signal is received; wherein the control signal includes a first control signal or a second control signal; if it is determined that the reverse control mode has been turned on, the intelligent device is controlled to control the first control module or the second control module according to the reverse control mode according to the control signal to control the first load or the second load.

[0054] For example, the first processing unit is further used to obtain an enable mark; wherein the enable mark includes a first mark and a second mark, the first mark is used to indicate that the reverse control mode is not turned on, and the second mark is used to indicate that the reverse control mode is turned on; and whether the reverse control mode is turned on is determined according to the enable mark.

[0055] For example, the first processing unit is further used to determine whether the control signal meets the preset conditions; if the control signal meets the preset conditions, an enable mark is generated; if the control signal does not meet the preset conditions, the step of obtaining the enable mark is executed.

[0056] For example, the first processing unit is further configured to generate an enable mark according to the mode switching instruction if a mode switching instruction is obtained, and the mode switching instruction is used to indicate switching of a control mode of the smart device, where the control mode includes a normal control mode or a reverse control mode.

[0057] For the specific definition of the control device of the intelligent device, please refer to the definition of the control method of the intelligent device above, which will not be repeated here. Each module in the control device of the above intelligent device 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 computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0058] In one embodiment, Figure 7As shown, an intelligent device is provided, and the intelligent device 70 at least includes a first main control module 71, a first control module 72 and a second control module 73; the first main control module 71 is connected to the first control module 72 and the second control module 73 respectively; the first control module 72 is connected to the first load 1, and the second control module 73 is connected to the second load 2; preferably, the intelligent device 70 can be an intelligent switching device or a multi-way controller device, the first main control module 71 can be a controller, the first control module 72 is a first relay, and the second control module 73 is a second relay.

[0059] Specifically, the operating mode of the smart device 70 includes a normal control mode and a reverse control mode; wherein the first main control module 71 is used to, in the normal control mode, control the first control module 72 according to the first control signal to control the first load 1 if a first control signal is received; and control the second control module 73 according to the second control signal to control the second load 2 if a second control signal is received; the first main control module 71 is also used to, in the reverse control mode, control the second control module 73 according to the first control signal to control the second load 2 if a first control signal is received; and control the first control module 72 according to the second control signal to control the first load 1 if a second control signal is received, that is, in the reverse control mode, the first main control module 71 in the smart device 70, such as an MCU (Micro Control Unit), is equivalent to inverting the control signal, such as inverting the first control signal into a second control signal, thereby controlling the second control module 73 according to the first control signal to control the second load 2.

[0060] For example, the smart device 70 may further include a third control module, which is connected to the first main control module 71, and the third control module is connected to a third load; preferably, the third control module is a third relay. The first main control module 71 is also used to control the corresponding loads connected to any two of the first control module 72, the second control module 73 and the third control module according to the reverse control mode if the reverse control mode is turned on.

[0061] Specifically, when the smart device 70 includes three control modules, such as the first control module, the second control module and the third control module; wherein the first control module is electrically connected to the first load, the second control module is electrically connected to the second load, and the third control module is electrically connected to the third load. If the reverse control mode is turned on, the first load and the third load can be controlled according to the reverse control mode. At this time, if the first main control module receives the first control signal, the third control module is controlled according to the first control signal to control the third load; similarly, if the first main control module receives the third control signal, the first control module is controlled according to the third control signal to control the first load. For the remaining two groups of loads to be controlled according to the reverse control mode, the specific reference can be made to the process of controlling the first load and the third load, which will not be described in detail here. For example, the control modules of the smart device 70 can also be four, five, etc., which are not limited here, and when the reverse control mode is turned on, the corresponding loads electrically connected to any two control modules can be controlled according to the reverse control mode, thereby increasing the scope of use of the present application.

[0062] Therefore, when the load and the smart device are wired incorrectly, there is no need to disassemble and rewire the load. The load can be correctly controlled by controlling the smart device to operate in the reverse control mode. The operation is simple and convenient, which alleviates the wiring difficulties caused by the user's different understanding of the switch button panel and improves the user experience.

[0063] In addition, the smart device 70 further includes a first output terminal and a second output terminal; wherein the first control module 72 is connected to the first load 1 via the first output terminal, and the second control module 73 is connected to the second load 2 via the second output terminal. For the case of having multiple control modules, the structure of the smart device can refer to the above-mentioned smart device 70, and the embodiment of the present invention will not be described in detail here.

[0064] In one embodiment, a smart device control system is provided, such as Figure 8 As shown, the intelligent device control system includes a multi-way control module 101 and a multi-way switch; wherein the multi-way switch includes at least a first control unit 102 and a second control unit 103, the first control unit 102 is connected to the first load 1 through the multi-way control module 101, and the second control unit 103 is connected to the second load 2 through the multi-way control module 101.

[0065] Specifically, the multi-channel control module 101 is used to control the first load 1 according to the first control signal if a first control signal is received in a normal control mode; and to control the second load 2 according to the second control signal if a second control signal is received; the multi-channel control module 101 is also used to control the second load 2 according to the first control signal if a first control signal is received in a reverse control mode; and to control the first load 1 according to the second control signal if a second control signal is received.

[0066] For ease of understanding, an example is given here. Fig. 9 As shown, the first load 1 and the second load 2 are both lamps, the first control unit 102 is connected to the first load 1 through the multi-channel control module 101, and the second control unit 103 is connected to the second load 2 through the multi-channel control module 101. By way of example, the multi-channel control module 101 at least includes a first control signal input terminal 111 and a second control signal input terminal 112; the first control unit 102 is connected to the first control signal input terminal 111, and is used to send a first control signal to the multi-channel control module 101; the second control unit 103 is connected to the second control signal input terminal 112, and is used to send a second control signal to the multi-channel control module 101.

[0067] In addition, the multi-channel control module 101 further includes at least a first load terminal 113 and a second load terminal 114; wherein the first load 1 is connected to the first load terminal 113, and the second load 2 is connected to the second load terminal 114. And, Fig. 9 As shown, the multi-channel control module 101 also includes a first voltage input terminal 115, a second voltage input terminal 116 and a voltage output terminal 117; the first voltage input terminal 115 is connected to the AC live wire L, and the second voltage input terminal 116 is connected to the AC neutral wire N; the voltage output terminal 117 is respectively connected to the first control unit 102 and the second control unit 103, and the voltage output terminal 117 is also short-circuited with the first voltage input terminal 115; the first load 1 and the second load 2 are both connected to the AC neutral wire N.

[0068] Specifically, in the normal control mode, when the multi-way control module 101 receives a first control signal, if the user generates a first control signal by pressing the first control unit 102, and sends it to the multi-way control module 101 through the first control signal input terminal 111, then the multi-way control module 101 controls the first load 1 according to the first control signal; similarly, when the multi-way control module 101 receives a second control signal, if the user generates a second control signal by pressing the second control unit 103, and sends it to the multi-way control module 101 through the second control signal input terminal 112, then the multi-way control module 101 controls the second load 2 according to the second control signal.

[0069] However, if the user misunderstands the switch panel buttons, the load and multi-way switch wiring may be incorrect, such as Fig.10 As shown, the first control unit 102 is connected to the second load 2 through the multi-way control module 101, and the second control unit 103 is connected to the first load 1 through the multi-way control module 101; but the user still expects to control the first load 1 through the first control unit 102 and the second control unit 103 to control the second load 2, then the reverse control mode is turned on.

[0070] Specifically, in the reverse control mode, when the multi-channel control module 101 receives the first control signal, such as the user generates the first control signal by pressing the first control unit 102, and sends it to the multi-channel control module 101 through the first control signal input terminal 111, at this time, the multi-channel control module 101 inverts the first control signal, such as obtaining the "inverted first control signal", and controls the corresponding first load according to the "inverted first control signal", thereby achieving that in the case of a wiring error, the first load 1 can still be controlled according to the first control signal; similarly, when the multi-channel control module 101 receives the second control signal, the multi-channel control module 101 inverts the second control signal, thereby in the case of a wiring error, the second load 2 can still be controlled according to the second control signal. Therefore, when the load and the multi-channel control module are wired incorrectly, there is no need to disassemble and rewire the load. The correct control of the load can be achieved by controlling the multi-channel control module to operate in the reverse control mode. The operation is simple and convenient, which alleviates the wiring difficulties caused by different user perceptions of the switch button panel and improves the user experience.

[0071] By way of example, the multi-channel control module 101 further includes at least a second main control module, a third control module and a fourth control module; wherein the second main control module is connected to the third control module and the fourth control module respectively, the third control module is connected to the first load 1 through the first load terminal, and is used to control the first load 1 according to the control signal received by the multi-channel control module 101; the fourth control module is connected to the second load 2 through the second load terminal; the second main control module is used to control the third control module according to the received control signal to control the first load 1; the second main control module is also used to control the fourth control module according to the control signal to control the second load 2; wherein the control signal includes the first control signal or the second control signal; the second main control module is a controller, and the third control module and the fourth control module are preferably relays, that is, the multi-channel control module has a built-in controller and multiple relays, and the second main control module controls the third control module or the fourth control module according to the control mode of the multi-channel control module 101 and the received control signal to control the first load 1 or the second load 2. The above-mentioned embodiment can be referred to. By way of example, the third control module and the fourth control module can also be other devices that can control the working state of the load.

[0072] For example, if the multi-way switch also includes a third control unit, the third control unit is connected to the third load through the multi-way control module 101, and the multi-way control module 101 is also used to control the corresponding loads connected to any two of the first control unit 102, the second control unit 103 and the third control unit according to the reverse control mode if the reverse control mode is turned on.

[0073] Specifically, when the multi-way switch includes three control units, such as a first control unit, a second control unit, and a third control unit; wherein the first control unit is connected to the first load through the multi-way control module 101, the second control unit is connected to the second load through the multi-way control module 101, and the third control unit is connected to the third load through the multi-way control module 101; if the reverse control mode is turned on, the first load and the third load can be controlled according to the reverse control mode. At this time, if the multi-way control module 101 receives the first control signal, the third load is controlled according to the first control signal; similarly, if the multi-way control module 101 receives the third control signal, the first load is controlled according to the third control signal. For the remaining two groups of loads to be controlled according to the reverse control mode, the specific reference can be made to the process of controlling the first load and the third load, which will not be described in detail here. For example, the control units of the multi-way switch can also be four, five, etc., which are not limited here, and when the multi-way control module turns on the reverse control mode, the corresponding loads electrically connected to any two control units through the multi-way control module can be controlled according to the reverse control mode, thereby increasing the scope of use of the present application.

[0074] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory, a network interface and a database 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as enable tags. 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 control method of an intelligent device is implemented.

[0075] Those skilled in the art will understand that Fig.11The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0076] In one embodiment, a smart device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0077] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0078] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0079] Those skilled 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. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an 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).

[0080] 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.

[0081] 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 control method for an intelligent device, characterized in that: The smart device at least includes a first control module and a second control module, the first control module is connected to a first load, and the second control module is connected to a second load; the method includes: If a mode switching instruction is obtained, an enable mark is generated according to the mode switching instruction, and the control mode of the smart device is determined according to the enable mark; wherein the mode switching instruction is used to indicate switching of the control mode of the smart device, and the control mode includes a normal control mode or a reverse control mode; In the normal control mode, if a first control signal is received, the first control module is controlled according to the first control signal to control the first load; if a second control signal is received, the second control module is controlled according to the second control signal to control the second load; In the reverse control mode, if the first control signal is received, the second control module is controlled according to the first control signal to control the second load; if the second control signal is received, the first control module is controlled according to the second control signal to control the first load.

2. The method according to claim 1, characterized in that The method further comprises: If a control signal is received, determining whether the reverse control mode has been turned on; wherein the control signal includes the first control signal or the second control signal; If it is determined that the reverse control mode has been turned on, the smart device is controlled to control the first control module or the second control module according to the reverse control mode based on the control signal to control the first load or the second load.

3. The method according to claim 2, characterized in that The step of determining whether the reverse control mode has been turned on includes: Acquire an enable mark; wherein the enable mark includes a first mark and a second mark, the first mark is used to indicate that the reverse control mode is not turned on, and the second mark is used to indicate that the reverse control mode is turned on; It is determined whether the reverse control mode is enabled according to the enable flag.

4. The method according to claim 3, characterized in that Before the step of obtaining the enabling mark, the method further includes: Determining whether the control signal meets a preset condition; If the control signal satisfies the preset condition, generating the enable flag; If the control signal does not meet the preset condition, the step of obtaining the enable flag is performed.

5. A control device for an intelligent device, characterized in that: The smart device at least includes a first control module and a second control module, the first control module is connected to a first load, and the second control module is connected to a second load; the device includes: A first processing unit is configured to generate an enable mark according to the mode switching instruction if a mode switching instruction is obtained, and determine the control mode of the smart device according to the enable mark; wherein the mode switching instruction is used to indicate switching of the control mode of the smart device, and the control mode includes a normal control mode or a reverse control mode; a normal control mode unit, configured to, in a normal control mode, control the first control module according to the first control signal to control the first load if a first control signal is received; and control the second control module according to the second control signal to control the second load if a second control signal is received; A reverse control mode unit is used to control the second control module according to the first control signal to control the second load if the first control signal is received in the reverse control mode; and to control the first control module according to the second control signal to control the first load if the second control signal is received.

6. A smart device, characterized in that: The smart device at least includes a first main control module, a first control module and a second control module; the first main control module is connected to the first control module and the second control module respectively; the first control module is connected to a first load, and the second control module is connected to a second load; The first main control module is configured to generate an enable mark according to the mode switching instruction if a mode switching instruction is obtained, and determine the control mode of the smart device according to the enable mark; wherein the mode switching instruction is used to indicate switching of the control mode of the smart device, and the control mode includes a normal control mode or a reverse control mode; The first main control module is configured to, in a normal control mode, control the first control module according to the first control signal to control the first load if a first control signal is received; and control the second control module according to the second control signal to control the second load if a second control signal is received; The first main control module is also used to control the second control module according to the first control signal to control the second load if the first control signal is received in the reverse control mode; and control the first control module according to the second control signal to control the first load if the second control signal is received.

7. An intelligent device control system, characterized in that: The intelligent device control system includes a multi-way control module and a multi-way switch; wherein the multi-way switch includes at least a first control unit and a second control unit, the first control unit is connected to a first load through the multi-way control module, and the second control unit is connected to a second load through the multi-way control module; The multi-channel control module is used to generate an enable mark according to the mode switching instruction if a mode switching instruction is obtained, and determine the control mode of the smart device according to the enable mark; wherein the mode switching instruction is used to indicate switching of the control mode of the smart device, and the control mode includes a normal control mode or a reverse control mode; The multi-channel control module is used to control the first load according to the first control signal if a first control signal is received in a normal control mode; and control the second load according to the second control signal if a second control signal is received; The multi-channel control module is also used to control the second load according to the first control signal if the first control signal is received in the reverse control mode; and control the first load according to the second control signal if the second control signal is received.

8. The intelligent device control system according to claim 7, characterized in that: The multi-channel control module includes at least a first control signal input terminal and a second control signal input terminal; wherein the first control unit is connected to the first control signal input terminal for sending the first control signal to the multi-channel control module; the second control unit is connected to the second control signal input terminal for sending the second control signal to the multi-channel control module.

9. The intelligent device control system according to claim 8, characterized in that: The multi-channel control module further includes at least a first load terminal and a second load terminal; wherein the first load is connected to the first load terminal, and the second load is connected to the second load terminal.

10. The intelligent device control system according to claim 9, characterized in that: The multi-channel control module also includes at least a second main control module, a third control module and a fourth control module; wherein the second main control module is connected to the third control module and the fourth control module respectively, the third control module is connected to the first load through the first load end, and the fourth control module is connected to the second load through the second load end; the second main control module is used to control the third control module according to the received control signal to control the first load; the second main control module is also used to control the fourth control module according to the control signal to control the second load; wherein the control signal includes the first control signal or the second control signal.

11. An intelligent device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

12. 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 4 are implemented.

Citation Information

Patent Citations

  • Switchgear and control method thereof

    CN103997830A

  • Single-live wire intelligent delay protection switch

    CN109041281A