CN112039959A - Control method and device of intelligent equipment, intelligent control panel and storage medium - Google Patents

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

Info

Publication number
CN112039959A
CN112039959A CN202010818649.XA CN202010818649A CN112039959A CN 112039959 A CN112039959 A CN 112039959A CN 202010818649 A CN202010818649 A CN 202010818649A CN 112039959 A CN112039959 A CN 112039959A
Authority
CN
China
Prior art keywords
control
slave
path
intelligent
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
CN202010818649.XA
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 CN202010818649.XA priority Critical patent/CN112039959A/en
Publication of CN112039959A publication Critical patent/CN112039959A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/40Remote control systems using repeaters, converters, gateways
    • G08C2201/41Remote control of gateways
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C2201/00Transmission systems of control signals via wireless link
    • G08C2201/40Remote control systems using repeaters, converters, gateways
    • G08C2201/42Transmitting or receiving remote control signals via a network

Abstract

The embodiment of the application provides a control method and a control device of intelligent equipment, an intelligent control panel and a storage medium, wherein the control method of the intelligent equipment is applied to the intelligent control panels, the number of the intelligent control panels is multiple, and the method comprises the steps of determining a master control device and a slave control device from the multiple intelligent control panels according to a received control instruction; respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; respectively receiving control requests from at least two slave control devices through a cascade path, wherein the cascade path is a signal transmission path between a 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 responding the control requests of the at least two slave control devices one by one according to the response priority. The control method of the intelligent device can improve communication efficiency.

Description

Control method and device of intelligent equipment, intelligent control panel 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 panel and a storage medium.
Background
Intelligent devices (e.g., lighting systems, curtains, air conditioners, security systems, network appliances, etc.) can be controlled in a unified manner via an intelligent control panel. The intelligent device and the intelligent control panel are usually accessed 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 panels 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 panels simultaneously, the uplink and downlink channels of signals may be congested, and the communication effect may be poor.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present application provide a method and an apparatus for controlling an intelligent device, an intelligent control panel, 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 a plurality of intelligent control panels, and the method includes: determining master control equipment and slave control equipment from the plurality of intelligent control panels according to the received control instruction, wherein the master control equipment is set as the intelligent control panel with the best network quality, and the slave control equipment is the rest intelligent control panels except the master control equipment in the plurality of intelligent control panels; respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; respectively receiving control requests from at least two slave control devices through a cascade path, wherein the cascade path is a signal transmission path between a 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 responding the control requests of the at least two slave control devices one by one according to the response priority.
In a second aspect, some embodiments of the present application further provide a control apparatus for an intelligent device, where the number of the intelligent control panels is multiple; the device comprises a device determining module, a path establishing module, a receiving module, a determining module and a responding module: the device determining module is used for determining master control devices and slave control devices from the plurality of intelligent control panels according to the received control instructions, wherein the master control device is the intelligent control panel with the best network quality, and the slave control devices are the other intelligent control panels except the master control device in the plurality of intelligent control panels; the path establishing module is used for respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; the receiving module is used for respectively receiving control requests from at least two slave control devices through a cascade path, wherein the cascade path is a signal transmission path between the master control device and the slave control devices; the determining module is used for determining response priority according to transmission parameters between the master control equipment and the slave control equipment; the response module is used for responding to the control requests of the at least two slave control devices one by one according to the response priority.
In a third aspect, an embodiment of the present application further provides an intelligent control panel, 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 method for controlling the intelligent device comprises the steps of determining a master control device and a slave control device from a plurality of intelligent control panels according to received control instructions, wherein the master control device is the intelligent control panel with the best network quality, and the slave control devices are the other intelligent control panels except the master control device in the plurality of intelligent control panels; respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; then, control requests from at least two slave control devices are respectively received 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 finally, responding the control requests of at least two slave control devices one by one according to the response priority, thereby avoiding congestion of uplink and downlink channels of signals caused by simultaneous operation of a plurality of intelligent control panels and improving the communication efficiency.
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 of an embodiment of the application.
Fig. 5 shows a schematic flow chart of step S250 in fig. 3.
Fig. 6 shows another schematic flow chart of step S250 in fig. 3.
Fig. 7 shows a block diagram of a control apparatus of an intelligent device according to an embodiment of the present application.
Fig. 8 shows a block diagram of modules of an intelligent control panel provided in an embodiment of the present application.
FIG. 9 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 (e.g., lighting systems, curtains, air conditioners, security systems, network appliances, etc.) can be controlled in a unified manner via an intelligent control panel. The intelligent device and the intelligent control panel are usually accessed 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 panels 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 panels simultaneously, the uplink and downlink channels of signals may be congested, and the communication effect may be poor.
The inventor provides a control method and a control device of intelligent equipment, an intelligent control panel and a storage medium through long-term research, wherein the control method of the intelligent equipment is applied to the intelligent control panels, the number of the intelligent control panels is multiple, the method determines a master control device and a slave control device from the multiple intelligent control panels according to received control instructions, the master control device is the intelligent control panel with the best network quality, and the slave control devices are the other intelligent control panels except the master control device in the multiple intelligent control panels; respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; then, control requests from at least two slave control devices are respectively received 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 finally, responding the control requests of at least two slave control devices one by one according to the response priority, thereby avoiding congestion of uplink and downlink channels of signals caused by simultaneous operation of a plurality of intelligent control panels and improving the communication efficiency.
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 terminal device 12, and an intelligent control panel 13, where the number of the intelligent control panels 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 terminal device 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 panel 13 can access the home internal network through the intelligent gateway 11, and the data transmitted by the terminal device 12 can be sent to the intelligent control panel 13 through the intelligent gateway 11. Illustratively, the data interaction between the terminal device 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 panel 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 cascading can be realized between the intelligent control panels 13, wherein the local cascading refers to a connection path between the intelligent control panels 13, which does not pass through the intelligent gateway 11, and through the connection path, data interaction can be directly performed between the intelligent control panels 13 without passing through the intelligent gateway 11. Illustratively, the local cascade may be ZigBee (ZigBee protocol) communication, in which case two smart control panels 13 in cascade relation may establish a communication connection through a ZigBee radio module.
The user can send a control instruction to the intelligent gateway 11 through the terminal device 12, and the intelligent gateway 11 forwards the control instruction to the corresponding intelligent control panel 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 panel in the intelligent device control system 10. It is understood that the number of the smart control panels may be plural. The control method 100 of the smart device may include the following steps S110 to S150.
Step S110: and determining the master control equipment and the slave control equipment from the plurality of intelligent control panels according to the received control instruction.
In this embodiment, the intelligent control panel may determine the master control device and the slave control device from the plurality of intelligent control panels according to the received control instruction. Specifically, the intelligent control panel may receive a control instruction sent by the gateway, and determine the master control device and the slave control device from the plurality of intelligent control panels. The master control device is the intelligent control panel with the best network quality in the plurality of intelligent control panels, and the slave control devices are the other intelligent control panels except the master control device in the plurality of intelligent control panels.
The gateway can obtain the network parameters of each intelligent control panel, and simultaneously, according to the network parameters of each intelligent control panel, the intelligent control panel with the best network quality is determined as the master control equipment, the rest intelligent control panels are determined as the slave control equipment, and then the control instruction comprising the information of the master control equipment and the information of the slave control equipment is sent to each intelligent control panel, so that the intelligent control panel can determine the master control equipment and the slave control equipment according to the control instruction.
Step S120: and respectively establishing a cascade path between the master control equipment and each slave control equipment.
After the intelligent control panel is determined as the master device, the master device may respectively establish a cascade path with each slave device. The cascade path is specifically a signal transmission path between the master control device and the slave control device. In this embodiment, the cascade path between the master control device and the slave control device may be through wired or wireless transmission, and the wireless transmission mode may include, but is not limited to, Wi-Fi transmission, Zigbee transmission, and bluetooth transmission.
Step S130: control requests from at least two slave devices are received over a cascaded path, respectively.
In this embodiment, the master device may receive the control requests from the at least two slave devices through the cascade path, respectively, so as to upload the control requests to the gateway. It is to be understood that the control request may be a control instruction issued by the user through the slave control device.
Step S140: and determining the response priority according to the transmission parameters between the master control equipment and the slave control equipment.
In this embodiment, the master device may determine the priority between the slave devices according to the transmission parameters between the master device and each slave device. Specifically, the master device may obtain transmission parameters between the master device and each slave device, sort the obtained transmission parameters from priority to priority, and determine the response priority with each slave device.
Step S150: and responding the control requests of the at least two slave control devices one by one according to the response priority.
In this embodiment, the master device responds to the control requests of the slave devices one by one according to the response priority. The slave control device with the better transmission parameter between the master control device and the slave control device is responded first, wherein the higher the response priority of the slave control device is; the lower the response priority of the slave control device with the next transmission parameter between the master control device and the slave control device, the later the slave control device is responded.
For example, if the transmission parameters between the master device and the first slave device are optimal, the transmission parameters between the master device and the second slave device are the second, and the transmission parameters between the master device and the second slave device are the first, the second, and the third slave devices have the highest response priority, respectively, and the master device responds to the control requests of the first, the second, and the third slave devices one by one. In the embodiment, the master control device responds to the control requests of the slave control devices one by one, so that congestion of an uplink channel and a downlink channel caused by the fact that the gateway needs to face the control requests of the intelligent control panels at the same time is avoided, and the communication efficiency is improved. It will be appreciated that the master device may respond to the various slave devices through a cascaded path with the various slave devices.
The method for controlling the intelligent equipment is applied to a plurality of intelligent control panels, and the method determines the master control equipment and the slave control equipment from the plurality of intelligent control panels according to the received control instruction, wherein the master control equipment is the intelligent control panel with the highest signal intensity, and the slave control equipment is the other intelligent control panels except the master control equipment in the plurality of intelligent control panels; respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; then, control requests from at least two slave control devices are respectively received 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 finally, responding the control requests of at least two slave control devices one by one according to the response priority, thereby avoiding congestion of uplink and downlink channels of signals caused by simultaneous operation of a plurality of intelligent control panels and improving the communication efficiency.
As shown in fig. 3, fig. 3 is a schematic flowchart illustrating a control method 200 of another smart device according to an embodiment of the present application, where the control method 200 of the smart device can also be applied to the smart control panel in the smart device control system 10. Further, the control method 200 of the smart device may include the following steps S210 to S260.
Step S210: and acquiring the network information corresponding to each intelligent control panel according to the received control instruction.
In this embodiment, the intelligent control panel may receive a control instruction sent by the gateway, and further obtain network information corresponding to each intelligent control panel according to the received control instruction. The network information is obtained by weighting various network parameters of the intelligent control panel according to preset weight.
In particular, the gateway may obtain a variety of network parameters corresponding to the various intelligent control panels. In this embodiment, the network parameters may include, but are not limited to, signal strength, communication delay time, and packet loss rate of the intelligent control panel. And weighting all or part of the various network parameters according to a certain weight so as to obtain the network information corresponding to the intelligent control panel. In this embodiment, the weight corresponding to each network parameter may be preset.
In some embodiments, the weight corresponding to each network parameter may vary according to the actual scene in which the intelligent control panel is currently located. For example, when the signal intensity difference of each intelligent control panel is smaller than a certain threshold value, that is, the signal intensity difference between each intelligent control panel is small, the weight occupied by the signal intensity can be reduced; when the signal intensity difference of each intelligent control panel is greater than a certain threshold value, that is, the signal intensity difference between the intelligent control panels is large, the weight occupied by the signal intensity can be increased.
In some embodiments, the weights of the same corresponding network parameters may be different between different intelligent control panels. For example, the signal strength of the first smart control panel may not be weighted as the signal strength of the second smart control panel. Further, the weight occupied by the network parameters of each intelligent control panel can also be changed according to the actual scene where the intelligent control panel is currently located. For example, if the influence of the packet loss rate can be ignored in the current scene, the weight occupied by the packet loss rate of the intelligent control panel can be reduced.
Further, the network information of each intelligent control panel can be obtained after weighting each network parameter.
Of course, in some embodiments, the above-mentioned process of acquiring the network information may also be acquired by the intelligent control panel, that is, the control panels may acquire the network information among each other.
Step S220: and determining the master control equipment and the slave control equipment from the plurality of intelligent control panels according to the network information.
Through the weighting of each network parameter, the network quality of each intelligent control panel can be accurately evaluated. In this embodiment, the network information may be understood as a score of the network quality of the intelligent control panel.
And further, determining the intelligent control panel with the highest score as a master control device, and determining other intelligent control panels as slave control devices. It can be understood that the master device is also the intelligent control panel with the best network quality among the plurality of intelligent control panels.
Further, after determining the master device and the slave devices, the master device may respectively establish a cascade path with each slave device. Specifically, the cascade path can be established by the following steps S230 to S240.
Step S230: and taking the master control equipment as a starting path node, and determining the slave control equipment different from the current path node from at least two slave control equipments as a next path node of the current path node.
In this embodiment, the cascade path between the master device and each slave device includes at least two path nodes, and each path node is one of the plurality of intelligent control panels. 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 panel located at a balcony, the intelligent control panel located at the balcony is a termination path node, and there are an intelligent control panel located at a kitchen (a first slave device) and an intelligent control panel 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 panel located in a bedroom, the intelligent control panel located in the bedroom is a termination path node, and there are an intelligent control panel located in a kitchen (a first slave device) and an intelligent control panel 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 intelligent control panel (master control device) located in the living room is indicated by point a, the intelligent control panel (first slave control device) located in the kitchen is indicated by point B, the intelligent control panel (target slave control device) located on the balcony is indicated by point C, and the intelligent control panel (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 panel located on a balcony, that is, the intelligent control panel 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 panel (master control device) located in a living room, an intelligent control panel (first slave control device) located in a kitchen, and an intelligent control panel (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 panel (master control device) located in the living room, an intelligent control panel (third slave control device) located in the toilet, and an intelligent control panel (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: control requests from at least two slave devices are received over a cascaded path, respectively.
In this embodiment, the control requests from the slave devices may be received through the cascade paths between the master device and the slave devices. For example, a master device receives a control request from a first slave device over a cascaded path with the first slave device; a control request from a second slave device is received over a cascaded path with the second slave device. The cascade path may be the final cascade path determined as described above.
Step S260: and determining the response priority according to the transmission parameters between the master control equipment and the slave control equipment.
In this embodiment, the master device may determine the priority between the slave devices according to the transmission parameters between the master device and each slave device.
In some embodiments, the transmission parameters at least include a distance parameter, as shown in fig. 5, step S260 may be implemented by the following steps S261 to S262.
Step S261: and acquiring a distance parameter between the master control device and at least two slave control devices.
The master control device obtains distance parameters between the master control device and each slave control device. Specifically, the master device may obtain the lengths of the cascade paths between the master device and the respective slave devices. The length is also the sum of distances between slave devices corresponding to each path node in the cascade path.
In a specific embodiment, it is assumed that a cascade path between the master device and the target slave device includes three path nodes, that is, the master device, the first slave device, and the target slave device, where a distance between the master device and the first slave device is a first distance, and a distance between the first slave device and the target slave device is a second distance, and then a length of the cascade path is a sum of the first distance and the second distance.
Step S262: and determining response priority according to the distance parameter.
The shorter the length of the cascade path is, the higher the response priority of the corresponding slave control device is; the longer the length of the cascade path, the lower the response priority of the corresponding slave device.
In some embodiments, the transmission parameter at least includes a transmission rate, as shown in fig. 6, and step 260 can also be implemented by steps S263 to S264 below.
Step S263: and acquiring the transmission rate of a cascade path between the master control equipment and at least two slave control equipments.
The master control device obtains the transmission rate of the cascade path between the master control device and each slave control device. The transmission rate of a cascaded path may be represented by the sum of the transmission rates between the path nodes on the cascaded path.
Step S264: response priority is determined based on the transmission rate.
The faster the transmission rate of the cascade path is, the higher the response priority of the corresponding slave control device is; the slower the transmission rate of the cascade path, the lower the response priority of the corresponding slave device.
Step S270: and responding the control requests of the at least two slave control devices one by one according to the response priority.
In this embodiment, step S270 may specifically refer to step S130, and is not described again.
The method for controlling the intelligent device is applied to the intelligent control panel, and the method determines the master control device and the slave control device from the intelligent control panels according to the received control instruction; the master control equipment is used as a starting path node, and slave control equipment different from the current path node is determined from the plurality of slave control equipment to be used as the next path node of the current 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; then respectively receiving control requests from at least two slave control devices through a cascade path; and finally, according to the response priority, responding to the control requests of at least two slave control devices one by one, thereby avoiding congestion of uplink and downlink channels of signals caused by simultaneous operation of a plurality of intelligent control panels and improving the communication efficiency.
As shown in fig. 7, fig. 7 illustrates a control apparatus 300 of an intelligent device, which is applied to an intelligent control panel, where the number of the intelligent control panels is multiple. The control apparatus 300 of the smart device includes a device determining module 310, a path establishing module 320, a receiving module 330, a determining module 340, and a responding module 350. The device determining module 310 is configured to determine a master device and a slave device from a plurality of intelligent control panels according to a received control instruction; the path establishing module 320 is configured to respectively establish a cascade path between the master device and the slave device. The receiving module 330 is configured to receive control requests from at least two slave devices through a cascade path; the determining module 340 is configured to determine a response priority according to a transmission parameter between the master control device and the slave control device; the response module 350 is configured to respond to the control requests of the at least two slave devices one by one according to the response priority.
Further, the device determining module 310 includes a network determining unit 311 and a device determining unit 312. The network determining unit 311 is configured to obtain network information corresponding to each intelligent control panel according to the received control instruction; the device determining unit 312 is configured to determine a master device and a slave device from the plurality of intelligent control panels according to the network information.
Further, the path establishing module 320 includes a node determining unit 321 and a path determining unit 322. The node determining unit 321 is configured to determine, from the multiple slave devices, a slave device different from the current path node as a next path node of the current path node, with the master device as a starting path node; the path determining unit 322 is configured to determine, as the cascade path, a path in which the determined path nodes are sequentially connected in the determined order, when the determined next path node is the target slave device.
Further, the determination module 340 includes a distance acquisition unit 341, a first determination unit 342, a rate acquisition unit 343, and a second determination unit 344. The distance obtaining unit 341 is configured to obtain a distance parameter between the master device and at least two slave devices; the first determining unit 342 is configured to determine a response priority according to the distance parameter; the rate obtaining unit 323 is configured to obtain a transmission rate of a cascade path between the master device and at least two slave devices; the second determining unit 344 is configured to determine the response priority according to the transmission rate.
The control apparatus for an intelligent device provided in this embodiment is applied to an intelligent control panel, where there are a plurality of intelligent control panels, and the method determines a master control device and a slave control device from the plurality of intelligent control panels according to a received control instruction, where the master control device is an intelligent control panel with the highest signal strength, and the slave control devices are the other intelligent control panels except for the master control device in the plurality of intelligent control panels; respectively establishing a cascade path between the master control equipment and each slave control equipment, wherein the cascade path is a signal transmission path between the master control equipment and each slave control equipment; then, control requests from at least two slave control devices are respectively received 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 finally, responding the control requests of at least two slave control devices one by one according to the response priority, thereby avoiding congestion of uplink and downlink channels of signals caused by simultaneous operation of a plurality of intelligent control panels and improving the communication efficiency.
As shown in fig. 8, fig. 8 illustrates a block diagram of an intelligent control panel 400 according to an embodiment of the present application, where the intelligent control panel 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. 9, 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 intelligent equipment is applied to an intelligent control panel, wherein the number of the intelligent control panels is multiple, and the method comprises the following steps:
determining the master control device and the slave control device from a plurality of intelligent control panels according to a received control instruction, wherein the master control device is the intelligent control panel with the best network quality, and the slave control devices are the other intelligent control panels except the master control device in the plurality of intelligent control panels;
respectively establishing a cascade path between the master control device and each slave control device, wherein the cascade path is a signal transmission path between the master control device and each slave control device;
respectively receiving control requests from at least two slave control devices through a cascade path;
determining response priority according to transmission parameters between the master control equipment and the slave control equipment; and
and responding the control requests of at least two slave control devices one by one according to the response priority.
2. The control method of an intelligent device according to claim 1, wherein the cascaded path comprises at least two path nodes, each path node being one of a plurality of intelligent control panels; the starting path node of the cascade path is the master control device, and the ending path node of the cascade path is the target slave control device; the respectively establishing the cascade paths between the master control device and each slave control device includes:
determining the 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 taking the master control equipment as a starting path node;
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 2, wherein a plurality of cascade paths exist between the master device and the target slave device, and the master device receives the control request from the target slave device through a first cascade path having the least path nodes among the plurality of cascade paths.
4. The method of claim 2, wherein a plurality of cascaded paths exist between the master device and the target slave device, and the master device is to receive the control request from the target slave device through a second cascaded path of the plurality of cascaded paths, wherein the second cascaded path is a cascaded path of the plurality of cascaded paths in which an average distance between adjacent path nodes is minimum.
5. The method for controlling an intelligent device according to any one of claims 1 to 4, wherein the determining the response priority according to the transmission parameter between the master device and the slave device comprises:
obtaining a distance parameter between the master control device and at least two slave control devices; and
and determining the response priority according to the distance parameter.
6. The method for controlling an intelligent device according to any one of claims 1 to 4, wherein the determining the response priority according to the transmission parameter between the master device and the slave device comprises:
acquiring the transmission rate of the cascade path between the master control equipment and at least two slave control equipments; and
and determining the response priority according to the transmission rate.
7. The method for controlling the intelligent device according to any one of claims 1 to 4, wherein the determining the master device and the slave device from a plurality of intelligent control panels according to the received control instruction comprises:
acquiring network information corresponding to each intelligent control panel according to a received control instruction, wherein the network information is obtained by weighting various network parameters of the intelligent control panel according to preset weights; and
and determining the master control equipment and the slave control equipment from a plurality of intelligent control panels according to the network information.
8. The utility model provides a controlling means of smart machine which characterized in that is applied to intelligent control panel, intelligent control panel is a plurality of, the device includes:
the device determining module is used for determining the master control device and the slave control device from a plurality of intelligent control panels according to the received control instruction, wherein the master control device is the intelligent control panel with the best network quality, and the slave control devices are the other intelligent control panels except the master control device in the plurality of intelligent control panels;
a path establishing module, configured to respectively establish a cascade path between the master control device and each slave control device, where the cascade path is a signal transmission path between the master control device and the slave control device;
a receiving module, configured to receive control requests from at least two slave devices through a cascade path, where the cascade path is a signal transmission path between the master device and the slave device;
the determining module is used for determining response priority according to the transmission parameters between the master control equipment and the slave control equipment;
and the response module is used for responding to the control requests of at least two slave control devices one by one according to the response priority.
9. An intelligent control panel comprising a processor and a memory, the memory storing program instructions which, when called by the processor, execute the control method of the 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.
CN202010818649.XA 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control panel and storage medium Pending CN112039959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010818649.XA CN112039959A (en) 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control panel and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010818649.XA CN112039959A (en) 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control panel and storage medium

Publications (1)

Publication Number Publication Date
CN112039959A true CN112039959A (en) 2020-12-04

Family

ID=73577362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010818649.XA Pending CN112039959A (en) 2020-08-14 2020-08-14 Control method and device of intelligent equipment, intelligent control panel and storage medium

Country Status (1)

Country Link
CN (1) CN112039959A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769971A (en) * 2012-07-02 2012-11-07 上海广茂达光艺科技股份有限公司 Field bus control system for intelligent light-emitting diode (LED) lamp
US20130268706A1 (en) * 2012-04-04 2013-10-10 Samsung Electronics Co., Ltd. System on chip for enhancing quality of service and method of controlling the same
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
CN105337822A (en) * 2015-11-04 2016-02-17 广东欧珀移动通信有限公司 Main playback device selection method and related device
CN106376124A (en) * 2016-08-30 2017-02-01 河北智达光电科技股份有限公司 Remote illumination intelligent control 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
CN108431701A (en) * 2015-12-16 2018-08-21 意诺科技有限公司 Control method, control panel and the control system of smart home device
CN110300042A (en) * 2019-07-24 2019-10-01 珠海太川云社区技术股份有限公司 A kind of bus communication system and communication control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130268706A1 (en) * 2012-04-04 2013-10-10 Samsung Electronics Co., Ltd. System on chip for enhancing quality of service and method of controlling the same
CN102769971A (en) * 2012-07-02 2012-11-07 上海广茂达光艺科技股份有限公司 Field bus control system for intelligent light-emitting diode (LED) lamp
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
CN105337822A (en) * 2015-11-04 2016-02-17 广东欧珀移动通信有限公司 Main playback device selection method and related device
CN108431701A (en) * 2015-12-16 2018-08-21 意诺科技有限公司 Control method, control panel and the control system of smart home device
CN106376124A (en) * 2016-08-30 2017-02-01 河北智达光电科技股份有限公司 Remote illumination intelligent control 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
CN110300042A (en) * 2019-07-24 2019-10-01 珠海太川云社区技术股份有限公司 A kind of bus communication system and communication control method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
孔林婷: "智能家用电器控制系统设计", 《电子技术与软件工程》 *
孔林婷: "智能家用电器控制系统设计", 《电子技术与软件工程》, no. 04, 7 February 2018 (2018-02-07) *
林强等: "一种无线网络控制系统的时空实时任务调度算法", 《计算机科学》 *
林强等: "一种无线网络控制系统的时空实时任务调度算法", 《计算机科学》, 15 November 2016 (2016-11-15) *

Similar Documents

Publication Publication Date Title
EP3430832B1 (en) Optimization of distributed wi-fi networks
US11398946B2 (en) Optimization of distributed Wi-Fi networks estimation and learning
CN111830844A (en) Intelligent equipment control method and device and intelligent household control panel
CN114143270B (en) Bandwidth adjustment method and device
WO2022001686A1 (en) Method for evaluating network quality, electronic device, and storage medium
CN113490315A (en) Lighting device control method, lighting device control device, control device and storage medium
CN108777857B (en) Access control method and system under coexistence scene of URLLC and mMTC
CN112188639B (en) Communication method based on WiFi Mesh network and related equipment
CN111970181B (en) Network distribution method and device for intelligent household equipment, electronic equipment and storage medium
CN113765758A (en) Method, system and device for transmitting scene linkage control instruction and storage medium
CN111917595A (en) System upgrading method and device, intelligent equipment and storage medium
CN111965988A (en) Control method and device of intelligent equipment, intelligent control switch and storage medium
CN105050123A (en) Load control method for wireless network and terminal
CN112037785A (en) Control method and device of intelligent equipment, electronic equipment and storage medium
CN112039959A (en) Control method and device of intelligent equipment, intelligent control panel and storage medium
CN109803433B (en) Wireless communication control method, device, electronic device and storage medium
CN113254077A (en) State control method and device of intelligent equipment, electronic equipment and storage medium
CN112039736A (en) Intelligent equipment upgrading method and device, intelligent home system and electronic equipment
CN113055929B (en) Network hard disk video recorder and video transmission system under household wireless network
WO2023216864A1 (en) Processing method for communication cell, and base station, electronic device and computer-readable storage medium
CN109041092B (en) Network resource allocation method and network controller
CN117202371A (en) LoRa multi-node big data transmission processing method and device and electronic equipment
CN113671844A (en) Intelligent device control method and device, intelligent control device and storage medium
CN116208199A (en) Intelligent lighting system, networking method and device
CN115119272A (en) Network communication method between device and server, computer device and storage medium

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