CN111965988A - Control method and device of intelligent equipment, intelligent control switch and storage medium - Google Patents

Control method and device of intelligent equipment, intelligent control switch and storage medium Download PDF

Info

Publication number
CN111965988A
CN111965988A CN202010818636.2A CN202010818636A CN111965988A CN 111965988 A CN111965988 A CN 111965988A CN 202010818636 A CN202010818636 A CN 202010818636A CN 111965988 A CN111965988 A CN 111965988A
Authority
CN
China
Prior art keywords
control
intelligent
path
slave
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010818636.2A
Other languages
Chinese (zh)
Inventor
贺龙胜
黄洪波
谭荣港
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202010818636.2A priority Critical patent/CN111965988A/en
Publication of CN111965988A publication Critical patent/CN111965988A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application provides a control method and a control device of intelligent equipment, an intelligent control switch and a storage medium, wherein the control method of the intelligent equipment is applied to the intelligent control switch, the intelligent control switch comprises a main control device and a slave control device, and the method comprises the steps that the main control device receives a control instruction sent by a mobile terminal; the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment; the cascade path comprises at least two path nodes, and each path node is an intelligent control switch. The control method of the intelligent device provided by the embodiment of the application can ensure the smoothness of the network and improve the communication rate, so that a user can smoothly perform control operation.

Description

Control method and device of intelligent equipment, intelligent control switch and storage medium
Technical Field
The application relates to the technical field of intelligent equipment, in particular to a control method and device of intelligent equipment, an intelligent control switch and a storage medium.
Background
Intelligent devices (such as lighting systems, curtains, air conditioners, security systems, network appliances and the like) can be uniformly controlled through the intelligent control switch. The intelligent device and the intelligent control switch are usually connected to the same wireless local area network, on one hand, interconnection can be realized, and on the other hand, communication with the device of the external network can be realized through the gateway of the wireless local area network of the router. For example, the intelligent control device may receive a control instruction sent by a mobile terminal of a user, and control the intelligent home device based on the control instruction. However, some coverage areas of the wlan may have poor signals, which may result in the user's control operation being unable to be performed smoothly.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a method and an apparatus for controlling an intelligent device, an intelligent control switch, and a storage medium, so as to solve the above technical problems.
The embodiment of the application is realized by adopting the following technical scheme:
in a first aspect, some embodiments of the present application provide a method for controlling an intelligent device, where the method is applied to an intelligent control switch, where the intelligent control switch includes a master control device and a slave control device, and the method includes the master control device receiving a control instruction sent by a mobile terminal; the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment; the cascade path comprises at least two path nodes, and each path node is an intelligent control switch.
In a second aspect, some embodiments of the present application further provide a control apparatus for an intelligent device, which is applied to an intelligent control switch, where the intelligent control switch includes a master control device and a slave control device, and the apparatus includes a receiving module and a forwarding module; the receiving module is used for receiving a control instruction sent by the mobile terminal; the forwarding module is used for forwarding the control instruction to the slave control equipment through a cascade path between the forwarding module and the slave control equipment; the cascade path comprises at least two path nodes, and each path node is an intelligent control switch.
In a third aspect, an embodiment of the present application further provides an intelligent control switch, which includes a processor and a memory, where the memory stores program instructions, and the program instructions, when called by the processor, execute the control method of the intelligent device.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, in which a program code is stored, where the program code is executed by a processor to perform the above-mentioned control method for an intelligent device.
The control method of the intelligent device is applied to the intelligent control switch, wherein the intelligent control switch comprises a main control device and a slave control device, and the method comprises the steps that the main control device receives a control instruction sent by a mobile terminal; the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment; the cascade path comprises at least two nodes, and each path node is an intelligent control switch. Therefore, the control instruction of the mobile terminal is forwarded through the cascade path, so that the smoothness of the network is ensured, the communication speed is improved, and the user can smoothly perform control operation.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of an intelligent device control system provided in an embodiment of the present application.
Fig. 2 shows a flowchart of a control method of an intelligent device according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating another control method for an intelligent device according to an embodiment of the present application.
Fig. 4 shows a schematic diagram of a cascade path provided by an embodiment of the present application.
Fig. 5 shows a block diagram of a control apparatus of an intelligent device according to an embodiment of the present application.
Fig. 6 shows a block diagram of a module of an intelligent control switch according to an embodiment of the present application.
FIG. 7 illustrates a block diagram of a computer storage medium provided by an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
Intelligent devices (such as lighting systems, curtains, air conditioners, security systems, network appliances and the like) can be uniformly controlled through the intelligent control switch. The intelligent device and the intelligent control switch are usually connected to the same wireless local area network, on one hand, interconnection can be realized, and on the other hand, communication with the device of the external network can be realized through the gateway of the wireless local area network. Usually, a plurality of intelligent control switches are installed in the home of a user to control a plurality of intelligent devices. However, when a user operates a plurality of intelligent control switches simultaneously, the uplink and downlink channels of signals may be crowded, and the communication effect may be poor.
The inventor provides a control method and a control device of intelligent equipment, an intelligent control switch and a storage medium, wherein the control method of the intelligent equipment is applied to the intelligent control switches, the intelligent control switches are multiple, the multiple intelligent control switches comprise a master control device and at least two slave control devices, the method respectively receives control requests from the at least two slave control devices through a cascade path, and the cascade path is a signal transmission path between the master control device and the slave control devices; determining response priority according to transmission parameters between the master control equipment and the slave control equipment; and then, according to the response priority, the control requests of at least two slave control devices are responded one by one, so that the congestion of uplink and downlink channels of signals caused by the simultaneous operation of a plurality of intelligent control switches is avoided, and the communication efficiency is improved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an intelligent device control system 10 according to an embodiment of the present disclosure. The intelligent device control system 10 includes an intelligent gateway 11, a mobile terminal 12, and an intelligent control switch 13, where the number of the intelligent control switches 13 may be multiple.
The intelligent gateway 11 can be understood as a remote server, and has not only a data information summarizing function but also a data analysis and processing capability, and realizes unified management of the intelligent device by performing centralized analysis on the acquired data. The intelligent gateway 11 is not only a module for data summarization, but also a network module, a device accessed to the intelligent gateway 11 belongs to a local area network, and the intelligent gateway 11 is a bridge for data interaction between the device in the local area network and an external network. The mobile terminal 12 may be a mobile phone, a tablet, a notebook computer, etc., which is not limited in this embodiment of the application.
In this embodiment, the intelligent control switch 13 can access the home internal network through the intelligent gateway 11, and the data transmitted by the mobile terminal 12 can be sent to the intelligent control switch 13 through the intelligent gateway 11. Illustratively, the data interaction between the mobile terminal 12 and the intelligent gateway 11 may be implemented based on Wi-Fi (wireless fidelity) signals, and similarly, the data interaction between the intelligent gateway 11 and the intelligent control switch 13 may also be implemented based on Wi-Fi signals. In this case, the above-mentioned wireless local area network signal may be understood as a Wi-Fi signal.
In addition, local cascade can be realized between the intelligent control switches 13, wherein the local cascade refers to a connection path between the intelligent control switches 13 without passing through the intelligent gateway 11, and through the connection path, data interaction can be directly performed between the intelligent control switches 13 without passing through the intelligent gateway 11. Illustratively, the local cascade may be ZigBee (ZigBee protocol) communication, in which case two smart control switches 13 in cascade relation may establish a communication connection through a ZigBee wireless module.
The user can send a control instruction to the intelligent gateway 11 through the mobile terminal 12, and the intelligent gateway 11 forwards the control instruction to the corresponding intelligent control switch 13, so as to control the intelligent device.
As shown in fig. 2, fig. 2 is a schematic flowchart illustrating a control method 100 of an intelligent device according to an embodiment of the present application, where the control method 100 of the intelligent device can be applied to an intelligent control switch in the intelligent device control system 10. The plurality of intelligent control switches may include a master control device and a slave control device. The master control device is also an intelligent control switch which directly communicates with the gateway, and the slave control device is an intelligent control switch which can communicate with the master control device through local cascade. The control method of the smart device may include the following steps S110 to S120.
Step S110: and the main control equipment receives a control instruction sent by the mobile terminal.
In this embodiment, the control instruction may be issued to the slave control device by the user through the mobile terminal to control the intelligent device. Specifically, after the mobile terminal is connected to the hot spot of the main control device, the control instruction is sent to the main control device. It is worth noting that the control instructions may not pass through the gateway.
Step S120: and the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment.
The cascade path is a signal transmission path between the master control device and the slave control device, and the master control device and the slave control device can realize local cascade through ZigBee communication. In some embodiments, the local cascade between the master device and the slave device may also be implemented through bluetooth communication. It will be appreciated that a cascaded path corresponding to each slave device may exist between the master device and the slave device. For example, a first cascaded path may exist between a master device and a first slave device; a second cascade path may exist between the master control device and a second slave control device; the first cascaded path and the second cascaded path may be different.
Further, the cascade path includes at least two path nodes, and each path node is an intelligent control switch.
In this embodiment, the master control device is used as a wireless access point, and the master control device forwards the control instruction to the slave control device through the corresponding cascade path, so that communication between each intelligent control switch and the mobile terminal can be kept smooth, communication efficiency between the mobile terminal and each intelligent control switch is improved, and a user can operate smoothly.
The control method of the intelligent device provided by the embodiment of the application is applied to the intelligent control switches, wherein the number of the intelligent control switches is multiple, the multiple intelligent control switches comprise a main control device and at least two slave control devices, and the method comprises the steps of taking the main control device as a wireless access point and accessing a mobile terminal into a network; the main control equipment receives a control instruction sent by the mobile terminal; the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment; the cascade path comprises at least two nodes, and each path node is slave control equipment. Therefore, the control instruction of the mobile terminal is forwarded through the cascade path, so that the smoothness of the network is ensured, the communication speed is improved, and the user can smoothly perform control operation.
As shown in fig. 3, fig. 3 is a schematic flowchart illustrating a control method 200 of another intelligent device according to an embodiment of the present application, where the control method 200 of the intelligent device can also be applied to an intelligent control switch in the above-mentioned intelligent device control system. Further, the control method 200 of the smart device may include the following steps S210 to S270.
Step S210: and acquiring transmission parameters between the intelligent control switches and the mobile terminal.
In this embodiment, each intelligent control switch may obtain transmission parameters between all the intelligent control switches and the mobile terminal. Assuming that the intelligent device control system comprises a first intelligent control switch, a second intelligent control switch and a third intelligent control switch, the first intelligent control switch can acquire transmission parameters between the first intelligent control switch and the mobile terminal, and simultaneously can acquire transmission parameters between the second intelligent control switch and the mobile terminal and between the third intelligent control switch and the mobile terminal respectively; similarly, the second intelligent control switch can acquire transmission parameters between the second intelligent control switch and the mobile terminal, and simultaneously can also acquire transmission parameters between the first intelligent control switch and the mobile terminal and between the third intelligent control switch and the mobile terminal respectively; similarly, the third intelligent control switch can acquire the transmission parameters between itself and the mobile terminal, and simultaneously can also acquire the transmission parameters between the first intelligent control switch and the mobile terminal and between the second intelligent control switch and the mobile terminal respectively.
In some embodiments, the mobile terminal may also obtain the transmission parameters between itself and each intelligent control switch, and then send the transmission parameters to each intelligent control switch.
In some embodiments, the transmission parameters between each intelligent control switch and the mobile terminal may be obtained through the gateway, and then the transmission parameters are sent to each intelligent control switch.
In some embodiments, the transmission parameters at least include a distance parameter between the intelligent control switch and the mobile terminal, that is, a distance parameter between the plurality of intelligent control switches and the mobile terminal is obtained.
In some embodiments, the transmission parameters at least include a transmission rate between the intelligent control switch and the mobile terminal, that is, a transmission rate between the plurality of intelligent control switches and the mobile terminal is obtained.
Step S220: and determining the master control equipment and the slave control equipment in the plurality of intelligent control switches according to the transmission parameters.
In this embodiment, each intelligent control switch may determine the master control device and the slave control device in the plurality of intelligent control switches according to the transmission parameter between each intelligent control switch and the mobile terminal. Specifically, the intelligent control switch with the optimal transmission parameter may be determined as the master control device, and the remaining intelligent control switches except for the master control device among the plurality of intelligent control switches may be determined as the slave control devices.
In some embodiments, if the transmission parameter is a distance parameter, the master device and the slave device may be determined in the plurality of intelligent control switches based on the distance parameter. Specifically, the intelligent control switch closest to the mobile terminal may be determined as the master control device, and the remaining intelligent control switches except for the master control device among the plurality of intelligent control switches may be determined as the slave control devices. It should be noted that the position of the mobile terminal may change, so that the distance parameter between each intelligent control switch and the mobile terminal may also change, and therefore, in practice, the main control device may also change along with the change of the position of the mobile terminal. Based on this, can guarantee that mobile terminal no matter in which position, master control equipment is the nearest intelligent control switch apart from mobile terminal to can guarantee mobile terminal's communication quality throughout in subsequent step.
In some embodiments, if the transmission parameter is a transmission rate, the master device and the slave device may be determined in the plurality of intelligent control switches based on the transmission rate. Specifically, the intelligent control switch with the fastest transmission rate with the mobile terminal may be determined as the master control device, and the remaining intelligent control switches except for the master control device among the plurality of intelligent control switches may be determined as the slave control devices. It should be noted that the position of the mobile terminal may change, so that the transmission rate between each intelligent control switch and the mobile terminal may also change, for example, when there is an obstacle between the mobile terminal and the intelligent control switch, the transmission rate between the mobile terminal and the intelligent control switch may be affected, and therefore, in practice, the main control device may also change along with the change of the position of the mobile terminal. Based on this, can guarantee that mobile terminal no matter in which position, master control equipment is the nearest intelligent control switch apart from mobile terminal to can guarantee mobile terminal's communication quality throughout in subsequent step.
Further, when the smart control switch is determined as the master device, the following steps S230 to S260 may be continuously performed.
Step S230: and determining the slave control equipment different from the current path node from the at least two slave control equipment as the next path node of the current path node by using the master control equipment and the starting path node.
In this embodiment, the cascade path between the master control device and each slave control device includes at least two path nodes, and each path node is an intelligent control switch. The start path node of the cascade path is a master control device, and the end path node of the cascade path is a target slave control device.
Further, in the process of establishing the cascade path, the master control device is used as a starting path node, and a slave control device different from the current path node is determined from the plurality of slave control devices as a next path node of the current path node.
Specifically, the master device determines each path node on the cascade path in sequence with itself as the start path node. The current path node is also the latest determined path node, and the next path node is the latest determined path node based on the current path node. For example, at an initial time of determining the cascade path, a current path node is also a start path node, a certain slave control device may be determined as a next path node according to the start path node, after the next path node is determined, the slave control device is the latest determined current path node, and then another slave control device is determined as the next path node based on the slave control device.
In a specific embodiment, the master device uses itself as a starting path node, may determine the first slave device as a next path node, and after the determination of the next path node is completed, uses the first slave device as a current path node, may determine the second slave device as a next path node, and based on this, sequentially determines each path node on the cascade path.
In this embodiment, in the process of determining the next path node, another slave control device different from the target slave control device is used as the next path node. If the next path node is the target slave device, it indicates that the next path node is already the terminating path node, that is, all path nodes on the cascade path between the master device and the target slave device are determined.
In some embodiments, in the process of determining the next path node, in the slave device between the master device and the target slave device, another slave device that is different from the target slave device and is closest to the slave device corresponding to the current path node may be used as the next path node. If the next path node is the target slave device, it indicates that the next path node is already the terminating path node, that is, all path nodes on the cascade path between the master device and the target slave device are determined. If two or more slave control devices have the same distance with the current path node, any one of the slave control devices can be randomly selected as the next path node. It should be noted that the slave device between the master device and the target slave device may be a slave device within a distance range centered on the position of the master device and having a radius equal to the distance between the master device and the target slave device, and located on a side of the master device facing the target slave device.
In one embodiment, assuming that the target slave device is an intelligent control switch located at a balcony, the intelligent control switch located at the balcony is a termination path node, and there are an intelligent control switch located at a kitchen (a first slave device) and an intelligent control switch located at a living room (a second slave device) between the master device and the target slave device. And if the master control device detects that the first slave control device is closest to the master control device, taking the first slave control device as a next path node. Then, the master control device may use the first slave control device as the current path node, and when it is detected that the target slave control device is closest to the first slave control device, the target slave control device is used as the next path node, and the target slave control device is the terminating path node.
In another embodiment, assuming that the target slave device is an intelligent control switch located in a bedroom, the intelligent control switch located in the bedroom is a termination path node, and there is an intelligent control switch located in a kitchen (a first slave device) and an intelligent control switch located in a living room (a second slave device) between the master device and the target slave device. And if the master control device detects that the first slave control device is closest to the master control device, taking the first slave control device as a next path node. Then, the master control device may use the first slave control device as the current path node, and when it is detected that the second slave control device is closest to the first slave control device, the master control device uses the second slave control device as the next path node. Then, the master control device may use the second slave control device as the current path node, and when it is detected that the target slave control device is closest to the second slave control device, the target slave control device is used as the next path node, and the target slave control device is the termination path node correspondingly.
Step S240: and when the determined next path node is the target slave control device, determining a path formed by sequentially connecting the determined path nodes according to a determined sequence as a cascade path.
In this embodiment, when the determined next path node is the target slave device, the master device determines a path formed by sequentially connecting the determined path nodes to the determining comb as the cascade path.
In this embodiment, in the process of determining the next path node, other slave control devices different from the target slave control device are used as the next path node, and after the paths are formed by connecting, multiple cascade paths may occur between the master control device and the target slave control device. In this embodiment, if multiple cascade paths exist between the master control device and the target slave control device, a first cascade path with the fewest path nodes in the multiple cascade paths may be determined as a final cascade path between the master control device and the target slave control device. It is to be understood that the final cascade path is a cascade path finally determined at a plurality of cascade paths.
In some embodiments, if a plurality of cascaded paths exist between the master device and the target slave device, a second cascaded path with the smallest average distance between adjacent path nodes in the plurality of cascaded paths may be determined as a final cascaded path between the master device and the target slave device.
For example, to facilitate the explanation of the step of the master device determining the average distance, the schematic diagram of the two cascade paths is simplified as shown in fig. 4. The smart switch (master control device) located in the living room is indicated by point a, the smart switch (first slave control device) located in the kitchen is indicated by point B, the smart switch (target slave control device) located on the balcony is indicated by point C, and the smart switch (second slave control device) located in the toilet is indicated by point D. Correspondingly, a cascade path 1 between the master control device and the target slave control device is A-B-C, and a cascade path 2 is A-D-C. Further, the master control device calculates an average distance between adjacent path nodes in the two cascaded paths, respectively. The detailed calculation process is as follows: for the cascade path 1, the master device calculates an average length of the line segment AB and the line segment BC by determining a distance from the point a to the point B (the distance is represented by the line segment AB) and a distance from the point B to the point C (the distance is represented by the line segment BC), and the average length value is an average distance between nodes of adjacent paths in the cascade path 1 (the average distance is represented by d 1). Similarly, the average length of the segment AD and the segment DC is the average distance between the nodes of the adjacent paths in the cascaded path 2 (the average distance is denoted by d 2). The master device determines the final cascaded path between the master device and the target slave device by comparing the sizes of d1 and d 2. If d1 is smaller than d2, it indicates that the average distance of the cascade path 1 is the minimum, and the master control device selects the cascade path a-B-C as the final cascade path between the master control device and the target slave control device; if D2 is smaller than D1, it indicates that the average distance of the cascade path 2 is the minimum, and the master device selects the cascade path a-D-C as the final cascade path between the master device and the target slave device.
Further, in this embodiment, if there are multiple cascade paths with the same number of path nodes, the master control device may select a cascade path with the smallest average distance between adjacent path nodes as the final cascade path.
Illustratively, assuming that the target slave device is an intelligent control switch located on a balcony, that is, the intelligent control switch located on the balcony is the last path node, two cascade paths exist between the master device and the target slave device, but the number of nodes in the two cascade paths is the same. For example, the first cascade path includes three path nodes, which are an intelligent control switch (master control device) located in a living room, an intelligent control switch (first slave control device) located in a kitchen, and an intelligent control switch (target slave control device) located on a balcony, where the master control device is the first path node, the first slave control device is the second path node, and the target slave control device is the third path node; the second cascade path also includes three path nodes, which are an intelligent control switch (master control device) located in the living room, an intelligent control switch (third slave control device) located in the toilet, and an intelligent control switch (second slave control device) located on the balcony, where the master control device is the first path node, the third slave control device is the second path node, and the target slave control device is the third path node. The main control device may calculate average distances between adjacent path nodes of the first cascade path and the second cascade path, respectively, and select one of the cascade paths having the smallest average distance as the final cascade path by comparing the calculated average distances.
Step S250: and taking the main control equipment as a wireless access point to access the mobile terminal into a network.
In this embodiment, the intelligent control switches may all establish a hot spot, that is, the master control device and the slave control device may both establish a hot spot. In this embodiment, the mobile terminal may be connected to the hot spot of the main control device, and then the main control device is used as a wireless access point to access the mobile terminal to the network.
Further, the mobile terminal may switch the network to a hot spot of the main control device when the signal strength of the network connected to the router is lower than a certain threshold, and then re-access the network.
Step S260: and the main control equipment receives a control instruction sent by the mobile terminal.
In this embodiment, the step may specifically refer to the step S110, and is not described again.
Step S270: and the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment.
In this embodiment, when the master control device receives the control instruction sent by the mobile terminal, the identification information of the target intelligent control switch may be obtained according to the control instruction, and the control instruction is forwarded to the slave control device corresponding to the target intelligent control device according to the identification information. Specifically, the master control device forwards the control instruction to the slave control device through the finally determined final cascade path between the master control device and the slave control device, so that smooth communication between the master control device and the slave control device is ensured, and a user can smoothly perform control operation.
The control method of the intelligent equipment is applied to the intelligent control switches and comprises the steps of obtaining transmission parameters between a plurality of intelligent control switches and a mobile terminal; determining master control equipment and slave control equipment in the plurality of intelligent control switches according to the transmission parameters; determining slave control equipment different from the current path node from at least two slave control equipment as a next path node of the current path node by using the master control equipment and the starting path node; when the determined next path node is the target slave control device, determining a path formed by sequentially connecting the determined path nodes according to a determined sequence as a cascade path; the method comprises the steps that a main control device is used as a wireless access point, and a mobile terminal is accessed to a network; the main control equipment receives a control instruction sent by the mobile terminal; and the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment. Therefore, the mobile terminal is connected through the hot spot of the main control device, and the control instruction of the mobile terminal is forwarded through the cascade path, so that the smoothness of the network is ensured, the communication speed is improved, and the user can smoothly perform control operation.
As shown in fig. 5, fig. 5 illustrates a control apparatus 300 of an intelligent device provided in an embodiment of the present application, which is applied to an intelligent control switch, where the intelligent control switch includes a master control device and a slave control device; the control apparatus 300 of the smart device includes a receiving module 310 and a forwarding module 320. The receiving module 310 is configured to receive a control instruction sent by the mobile terminal; the forwarding module 320 is configured to forward the control instruction to the slave device through a cascade path with the slave device.
In some embodiments, the control apparatus 300 of the smart device further includes an obtaining module 330, a determining module 340, a node determining module 350, a path determining module 360, and a connecting module 370. The obtaining module 330 is configured to obtain transmission parameters between the multiple intelligent control switches and the mobile terminal; the determining module 340 is configured to determine a master control device and a slave control device in the plurality of intelligent control switches according to the transmission parameter; the node determining module 350 is configured to determine, from the master device and the start path node, a slave device different from the current path node from the at least two slave devices as a next path node of the current path node; the path determining module 360 is configured to determine, as a cascade path, a path formed by sequentially connecting the determined path nodes in a determined order when the determined next path node is the target slave device; the connection module 370 is used for accessing the mobile terminal to the network by using the main control device as a wireless access point.
The control device of the intelligent device provided by the embodiment is applied to a plurality of intelligent control switches, wherein the plurality of intelligent control switches comprise a main control device and at least two slave control devices; the master control equipment forwards the control instruction to the slave control equipment through a cascade path between the master control equipment and the slave control equipment; the cascade path comprises at least two nodes, and each path node is slave control equipment. Therefore, the control instruction of the mobile terminal is forwarded through the cascade path, so that the smoothness of the network is ensured, the communication speed is improved, and the user can smoothly perform control operation.
As shown in fig. 6, fig. 6 illustrates a block diagram of an intelligent control switch 400 provided in an embodiment of the present application, where the intelligent control switch 400 includes a processor 410 and a memory 420, and the memory 420 stores program instructions, and the program instructions, when executed by the processor 410, implement the control method of the intelligent device described above.
Processor 410 may include one or more processing cores. The processor 410 interfaces with various components within the overall battery management system using various interfaces and lines to perform various functions of the battery management system and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 420 and invoking data stored in the memory 420. Alternatively, the processor 410 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 410 may integrate one or more of a Central Processing Unit (CPU) 410, a Graphics Processing Unit (GPU) 410, a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 410, but may be implemented by a communication chip.
The Memory 420 may include a Random Access Memory (RAM) 420 or a Read-Only Memory (Read-Only Memory) 420. The memory 420 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 420 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area can also store data (such as a phone book, audio and video data, chatting record data) created by the electronic device map in use and the like.
As shown in fig. 7, an embodiment of the present application further provides a computer-readable storage medium 500, where computer program instructions 510 are stored in the computer-readable storage medium 500, and the computer program instructions 510 can be called by a processor to execute the method described in the above embodiment.
The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium includes a non-volatile computer-readable storage medium. The computer-readable storage medium 600 has storage space for program code for performing any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
Although the present application has been described with reference to the preferred embodiments, it is to be understood that the present application is not limited to the disclosed embodiments, but rather, the present application is intended to cover various modifications, equivalents and alternatives falling within the spirit and scope of the present application.

Claims (10)

1. A control method of an intelligent device is applied to an intelligent control switch, wherein the intelligent control switch comprises a master control device and a slave control device, and the method comprises the following steps:
the main control equipment receives a control instruction sent by the mobile terminal; and
the master control device forwards the control instruction to the slave control device through a cascade path between the master control device and the slave control device; the cascade path comprises at least two path nodes, and each path node is an intelligent control switch.
2. The method according to claim 1, wherein a start path node of the cascade path is the master device, a stop path node of the cascade path is a target slave device, and the cascade path is determined by:
determining a slave control device different from the current path node from the slave control devices as a next path node of the current path node by taking the master control device as a starting path node; and
and when the determined next path node is the target slave control device, determining a path formed by sequentially connecting the determined path nodes according to a determined sequence as the cascade path.
3. The method according to claim 1, wherein a plurality of cascade paths exist between the master device and the target slave device, and the master device forwards the control instruction to the target slave device through a first cascade path having a minimum number of nodes in the plurality of cascade paths.
4. The method according to claim 1, wherein a plurality of cascaded paths further exist between the master device and the slave device, and the master device forwards the control instruction to the target slave device through a second cascaded path in the plurality of cascaded paths, wherein the second cascaded path is a cascaded path with a smallest average distance between adjacent path nodes in the plurality of cascaded paths.
5. The method for controlling an intelligent device according to any one of claims 1 to 4, wherein before the main control device receives the control instruction sent by the mobile terminal, the method further comprises:
acquiring transmission parameters between an intelligent control switch and the mobile terminal;
determining the master control equipment and the slave control equipment in the intelligent control switch according to the transmission parameters; and
and taking the main control equipment as a wireless access point, and accessing the mobile terminal into a network.
6. The control method of an intelligent device according to claim 5, wherein the transmission parameters include at least a distance parameter;
based on the distance parameter, the main control device is the intelligent control switch closest to the mobile terminal in the intelligent control switches.
7. The control method of an intelligent device according to claim 5, wherein the transmission parameters include at least a transmission rate;
based on the transmission rate, the main control equipment is the intelligent control switch with the fastest transmission rate in the intelligent control switch.
8. The control device of the intelligent equipment is applied to the intelligent control switch, wherein the intelligent control switch comprises a master control device and a slave control device, and the control device comprises:
the receiving module is used for receiving a control instruction sent by the mobile terminal;
the forwarding module is used for forwarding the control instruction to the slave control equipment through a cascade path between the forwarding module and the slave control equipment; the cascade path comprises at least two path nodes, and each path node is an intelligent control switch.
9. An intelligent control switch comprising a processor and a memory, wherein the memory stores program instructions that, when called by the processor, perform the method of controlling an intelligent device according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a program code, wherein the program code is executed by a processor to execute the control method of the smart device according to any one of claims 1 to 7.
CN202010818636.2A 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control switch and storage medium Pending CN111965988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010818636.2A CN111965988A (en) 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control switch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010818636.2A CN111965988A (en) 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control switch and storage medium

Publications (1)

Publication Number Publication Date
CN111965988A true CN111965988A (en) 2020-11-20

Family

ID=73365602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010818636.2A Pending CN111965988A (en) 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control switch and storage medium

Country Status (1)

Country Link
CN (1) CN111965988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708046A (en) * 2022-11-02 2023-09-05 荣耀终端有限公司 Router closing method, system and router

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0583273A (en) * 1991-09-20 1993-04-02 Hitachi Telecom Technol Ltd Transmission rate detecting system for ring-like network and communication controller
CN101316351A (en) * 2008-06-20 2008-12-03 深圳华为通信技术有限公司 Multi-point control cell cascade connection system and communication method and device thereof
CN201178508Y (en) * 2008-02-26 2009-01-07 深圳市宏啟光电有限公司 Lamp control system
CN102769971A (en) * 2012-07-02 2012-11-07 上海广茂达光艺科技股份有限公司 Field bus control system for intelligent light-emitting diode (LED) lamp
CN203872401U (en) * 2014-05-21 2014-10-08 深圳市东达华科技有限公司 Led illuminating system based on z-wave wireless control
CN104270489A (en) * 2014-09-10 2015-01-07 中兴通讯股份有限公司 Method and system for determining main microphone and auxiliary microphone from multiple microphones
CN104299632A (en) * 2014-09-23 2015-01-21 广东欧珀移动通信有限公司 Audio synchronization method and device and corresponding systems
CN104702787A (en) * 2015-03-12 2015-06-10 深圳市欧珀通信软件有限公司 Sound acquisition method applied to MT (Mobile Terminal) and MT
CN104932275A (en) * 2015-05-16 2015-09-23 武汉喻杰科技有限公司 Internet intelligent household control terminal
CN105025551A (en) * 2014-04-23 2015-11-04 中国科学院深圳先进技术研究院 Wireless network transmission range expansion method and system
CN105142010A (en) * 2015-07-30 2015-12-09 广东欧珀移动通信有限公司 Bluetooth connection selection method of multi-play device and main play device
CN205003465U (en) * 2015-08-13 2016-01-27 田广礼 Possesses smart home systems who cascades gateway
CN105337822A (en) * 2015-11-04 2016-02-17 广东欧珀移动通信有限公司 Main playback device selection method and related device
CN105739320A (en) * 2016-04-29 2016-07-06 四川邮科通信技术有限公司 Smart home control method based on application scene
CN207037743U (en) * 2017-08-08 2018-02-23 毛佳琳 A kind of intelligent wireless Education Administration Information System
CN107948692A (en) * 2017-12-26 2018-04-20 深圳创维数字技术有限公司 A kind of control method, system, set-top box and storage medium for cascading set-top box
CN108092862A (en) * 2017-12-15 2018-05-29 四川爱联科技有限公司 WiFi ad hoc network control systems based on Internet of Things
CN109391528A (en) * 2018-08-31 2019-02-26 百度在线网络技术(北京)有限公司 Awakening method, device, equipment and the storage medium of speech-sound intelligent equipment
CN109660914A (en) * 2017-10-12 2019-04-19 深圳市永强科技有限公司 A kind of distributed bluetooth audible control system
CN109756944A (en) * 2019-01-29 2019-05-14 Oppo广东移动通信有限公司 Terminal, router, the control method of ad hoc network router, device and system
CN110167241A (en) * 2019-05-29 2019-08-23 北京工业大学 A kind of data transfer control method and system of the illumination of interior wisdom
CN110265006A (en) * 2019-04-28 2019-09-20 北京百度网讯科技有限公司 Awakening method, master node, slave node and storage medium
CN110727206A (en) * 2019-11-27 2020-01-24 广东瑞克斯智能科技有限公司 Curtain motor control system, method and device based on mobile internet

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0583273A (en) * 1991-09-20 1993-04-02 Hitachi Telecom Technol Ltd Transmission rate detecting system for ring-like network and communication controller
CN201178508Y (en) * 2008-02-26 2009-01-07 深圳市宏啟光电有限公司 Lamp control system
CN101316351A (en) * 2008-06-20 2008-12-03 深圳华为通信技术有限公司 Multi-point control cell cascade connection system and communication method and device thereof
CN102769971A (en) * 2012-07-02 2012-11-07 上海广茂达光艺科技股份有限公司 Field bus control system for intelligent light-emitting diode (LED) lamp
CN105025551A (en) * 2014-04-23 2015-11-04 中国科学院深圳先进技术研究院 Wireless network transmission range expansion method and system
CN203872401U (en) * 2014-05-21 2014-10-08 深圳市东达华科技有限公司 Led illuminating system based on z-wave wireless control
CN104270489A (en) * 2014-09-10 2015-01-07 中兴通讯股份有限公司 Method and system for determining main microphone and auxiliary microphone from multiple microphones
CN104299632A (en) * 2014-09-23 2015-01-21 广东欧珀移动通信有限公司 Audio synchronization method and device and corresponding systems
CN104702787A (en) * 2015-03-12 2015-06-10 深圳市欧珀通信软件有限公司 Sound acquisition method applied to MT (Mobile Terminal) and MT
CN104932275A (en) * 2015-05-16 2015-09-23 武汉喻杰科技有限公司 Internet intelligent household control terminal
CN105142010A (en) * 2015-07-30 2015-12-09 广东欧珀移动通信有限公司 Bluetooth connection selection method of multi-play device and main play device
CN205003465U (en) * 2015-08-13 2016-01-27 田广礼 Possesses smart home systems who cascades gateway
CN105337822A (en) * 2015-11-04 2016-02-17 广东欧珀移动通信有限公司 Main playback device selection method and related device
CN105739320A (en) * 2016-04-29 2016-07-06 四川邮科通信技术有限公司 Smart home control method based on application scene
CN207037743U (en) * 2017-08-08 2018-02-23 毛佳琳 A kind of intelligent wireless Education Administration Information System
CN109660914A (en) * 2017-10-12 2019-04-19 深圳市永强科技有限公司 A kind of distributed bluetooth audible control system
CN108092862A (en) * 2017-12-15 2018-05-29 四川爱联科技有限公司 WiFi ad hoc network control systems based on Internet of Things
CN107948692A (en) * 2017-12-26 2018-04-20 深圳创维数字技术有限公司 A kind of control method, system, set-top box and storage medium for cascading set-top box
CN109391528A (en) * 2018-08-31 2019-02-26 百度在线网络技术(北京)有限公司 Awakening method, device, equipment and the storage medium of speech-sound intelligent equipment
CN109756944A (en) * 2019-01-29 2019-05-14 Oppo广东移动通信有限公司 Terminal, router, the control method of ad hoc network router, device and system
CN110265006A (en) * 2019-04-28 2019-09-20 北京百度网讯科技有限公司 Awakening method, master node, slave node and storage medium
CN110167241A (en) * 2019-05-29 2019-08-23 北京工业大学 A kind of data transfer control method and system of the illumination of interior wisdom
CN110727206A (en) * 2019-11-27 2020-01-24 广东瑞克斯智能科技有限公司 Curtain motor control system, method and device based on mobile internet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116708046A (en) * 2022-11-02 2023-09-05 荣耀终端有限公司 Router closing method, system and router
CN116708046B (en) * 2022-11-02 2024-04-12 荣耀终端有限公司 Router closing method, system and router

Similar Documents

Publication Publication Date Title
EP3430832B1 (en) Optimization of distributed wi-fi networks
EP3629562A1 (en) Data transmitting method and system
CN109819476B (en) Network optimization method, terminal and storage medium
CN111830844A (en) Intelligent equipment control method and device and intelligent household control panel
US20150029959A1 (en) Method and system for allocating radio channel
CN111866897B (en) Networking method of intelligent household system and intelligent household system
CN110913441B (en) Data transmission method and device
CN111161522B (en) Method for processing remote control data, storage medium, computer device and remote control system
CN113490315A (en) Lighting device control method, lighting device control device, control device and storage medium
CN111965988A (en) Control method and device of intelligent equipment, intelligent control switch and storage medium
CN113965474A (en) Network quality evaluation method, electronic device and storage medium
WO2019015040A1 (en) Signal strength based frequency point selection method and internet of things terminal
CN113163510B (en) Communication networking method, device and storage medium
CN112188639B (en) Communication method based on WiFi Mesh network and related equipment
CN111917595A (en) System upgrading method and device, intelligent equipment and storage medium
CN113827953B (en) Game control system
CN112039959A (en) Control method and device of intelligent equipment, intelligent control panel and storage medium
KR20090063051A (en) System and method for servicing a content in a terminal having a multiple connection interface
CN110391923A (en) The method and the network equipment of multicast message processing
WO2019010777A1 (en) Frequency point selection method and related product
CN116671148A (en) Client-side guidance based on triggered client in mesh network
CN117202371B (en) LoRa multi-node big data transmission processing method and device and electronic equipment
CN113904980B (en) Channel switching method, device, switch and storage medium
CN116390189B (en) Route planning method, device, electronic equipment and storage medium
CN115002206B (en) Control method and device of intelligent equipment, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201120