[go: up one dir, main page]

CN114389906B - Group control method, device, equipment and storage medium for intelligent equipment - Google Patents

Group control method, device, equipment and storage medium for intelligent equipment Download PDF

Info

Publication number
CN114389906B
CN114389906B CN202210051191.9A CN202210051191A CN114389906B CN 114389906 B CN114389906 B CN 114389906B CN 202210051191 A CN202210051191 A CN 202210051191A CN 114389906 B CN114389906 B CN 114389906B
Authority
CN
China
Prior art keywords
group
intelligent
target
communication mode
control command
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.)
Active
Application number
CN202210051191.9A
Other languages
Chinese (zh)
Other versions
CN114389906A (en
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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202210051191.9A priority Critical patent/CN114389906B/en
Publication of CN114389906A publication Critical patent/CN114389906A/en
Application granted granted Critical
Publication of CN114389906B publication Critical patent/CN114389906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a group control method, a group control device, group control equipment and a storage medium for intelligent equipment. The method comprises the following steps: acquiring an intelligent device list in a target area, and creating a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices; creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode; and creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule. The intelligent equipment of any communication mode in the area can be controlled through a unified virtual group and a corresponding group panel, and the group control efficiency and convenience of the intelligent equipment are improved.

Description

Group control method, device, equipment and storage medium for intelligent equipment
Technical Field
The present application relates to the field of intelligent device control technologies, and in particular, to a group control method, apparatus, device, and storage medium for intelligent devices.
Background
At present, intelligent equipment group control is established aiming at equipment with the same protocol and the same product class, and users with equipment with multiple protocols cannot be satisfied to realize group control. For example, a plurality of WiFi lamps and a plurality of Zigbee switches are arranged in a user's home, according to the existing intelligent scene, an independent group needs to be created for the WiFi lamps, then an independent group is created for the Zigbee switches, and then the two groups are continuously switched to control the whole house, so that the use cost and the understanding cost of the user are increased. That is, to satisfy group control of the multiple protocol devices in one home, a plurality of group panels need to be created, and all the devices to be controlled need to operate the group panels of the several protocols. In addition, because of different protocols, each protocol corresponds to different products, each product is provided with a panel, if the protocol is defined as N, and the product under each protocol is K, a user needs to understand the panels of N x K different groups, the use cost and the understanding cost are very high, and the difficulty of group control of intelligent equipment is increased.
Disclosure of Invention
Accordingly, the present application aims to provide a group control method, apparatus, device and medium for intelligent devices, which can weaken the cost of users for understanding the device communication protocol and the cost of understanding different panels, and improve the efficiency and convenience of group control for intelligent devices. The specific scheme is as follows:
in a first aspect, the application discloses a group control method for intelligent equipment, which comprises the following steps:
acquiring an intelligent device list in a target area, and creating a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices;
creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode;
and creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule.
Optionally, the creating a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices includes:
classifying all intelligent devices according to communication modes used by the intelligent devices;
and creating a corresponding device group for all intelligent devices using the same communication mode according to the group creation rule corresponding to each type of communication mode so as to obtain device groups corresponding to different communication modes.
Optionally, the communication means includes WiFi, zigbee, mesh, sigmesh.
Optionally, the creating a corresponding device group for all intelligent devices using the same communication mode according to the group creation rule corresponding to each type of communication mode includes:
initiating a component creation request to a cloud end through a client according to a first group creation rule corresponding to a first communication mode, and sending equipment information of first intelligent equipment using the first communication mode to the cloud end so that the cloud end creates a first equipment group corresponding to the first intelligent equipment; the first communication mode is a WiFi mode;
initiating a component creation request to a cloud end through a client according to a second group creation rule corresponding to a second communication mode, and sending equipment information of second-class intelligent equipment using the second communication mode to the cloud end, so that the cloud end creates a second equipment group corresponding to the second-class intelligent equipment through a gateway; the first communication mode is a Zigbee mode, a Mesh mode or a Sigmesh mode.
Optionally, the creating the group panel of the virtual group includes:
a group panel of the virtual group is created based on each of the device groups and a group name set for each of the device groups.
Optionally, the converting the control command into a target control command matched with the communication mode of the target intelligent device according to the instruction conversion rule includes:
transmitting a protocol conversion request to a cloud based on the control command;
the cloud end determines a target conversion rule corresponding to the protocol conversion request from all the instruction conversion rules according to the group names in the protocol conversion request;
and the cloud end converts the control command into a target control command matched with the communication mode of the target intelligent equipment by utilizing the target conversion rule, and sends the target control command to the client.
Optionally, after the converting the control command into the target control command matched with the communication mode of the target intelligent device according to the instruction converting rule, the method further includes:
traversing the target equipment group where the target intelligent equipment is located to determine the target intelligent equipment, and sending the target control command to the target intelligent equipment.
In a second aspect, the present application discloses an intelligent device group control apparatus, including:
the intelligent equipment acquisition module is used for acquiring an intelligent equipment list in the target area and creating an equipment group for all intelligent equipment corresponding to the same communication mode according to the communication mode used by the intelligent equipment;
the virtual group creation module is used for creating a unified virtual group based on all the equipment groups and configuring corresponding instruction conversion rules for each communication mode;
the group panel creation module is used for creating the group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the intelligent equipment group control method.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program when executed by the processor implements the aforementioned intelligent device group control method.
In the method, an intelligent device list in a target area is obtained, and a device group is created for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices; creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode; and creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule. From the above, a unified virtual group is built on the basis of the device group corresponding to each communication mode, so as to wrap the groups of different communication protocols, and meanwhile, corresponding instruction conversion rules are configured for each communication mode, so that after a control command is received through a group panel of the virtual group, the control command is converted into a target control command matched with the communication mode of the target intelligent device to be controlled, the intelligent device of any communication mode in the area is controlled through the unified virtual group and the corresponding group panel, the cost of a user for understanding the device communication protocol and the cost of understanding different panels are weakened, and the group control efficiency and convenience of the intelligent device are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a group control method of an intelligent device provided by the application;
FIG. 2 is a flowchart of a specific device group creation method according to the present application;
FIG. 3 is a flowchart of another specific device group creation method according to the present application;
FIG. 4 is a schematic diagram of a virtual group structure according to the present application;
fig. 5 is a Wifi group panel provided by the application;
fig. 6 is a Sigmesh group panel provided by the present application;
FIG. 7 is a flow chart of an instruction converting method according to the present application;
FIG. 8 is a flowchart of a method for sending a target control command according to the present application;
FIG. 9 is a flowchart of another method for sending a target control command according to the present application;
fig. 10 is a schematic structural diagram of a group control device for intelligent devices according to the present application;
fig. 11 is a block diagram of an electronic device according to the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the prior art, the intelligent equipment group control is established aiming at equipment with the same protocol and the same product class, so that the group control cannot be realized by users with equipment with various protocols, the use cost and understanding cost of the users are increased, and the difficulty of the intelligent equipment group control is increased. In order to overcome the technical problems, the application provides an intelligent equipment group control method which can weaken the cost of a user for understanding an equipment communication protocol and the cost of understanding different panels, and improve the efficiency and convenience of intelligent equipment group control.
The embodiment of the application discloses an intelligent equipment group control method, which is shown in fig. 1 and can comprise the following steps:
step S11: acquiring an intelligent device list in a target area, and creating a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices.
In this embodiment, firstly, a list of intelligent devices in a target area is generated by traversing all intelligent devices in the target area, where the target area may be a family, a company, etc., and then a device group is created for intelligent devices in the same communication mode according to the communication mode used by the intelligent devices. The communication modes may include, but are not limited to, wiFi, zigbee, mesh and Sigmesh.
In this embodiment, the creating a device group for all the intelligent devices corresponding to the same communication manner according to the communication manner used by the intelligent devices may include: classifying all intelligent devices according to communication modes used by the intelligent devices; and creating a corresponding device group for all intelligent devices using the same communication mode according to the group creation rule corresponding to each type of communication mode so as to obtain device groups corresponding to different communication modes. That is, for example, four devices are grouped according to WiFi, zigbee, sigMesh, mesh, and then each protocol device is created according to a corresponding group function, so as to obtain a WiFi device group, a Zigbee device group, a SigMesh device group, and a Mesh device group.
In this embodiment, the creating a corresponding device group for all intelligent devices using the same communication mode according to the group creation rule corresponding to each type of communication mode may include: initiating a component creation request to a cloud end through a client according to a first group creation rule corresponding to a first communication mode, and sending equipment information of first intelligent equipment using the first communication mode to the cloud end so that the cloud end creates a first equipment group corresponding to the first intelligent equipment; the first communication mode is a WiFi mode; initiating a component creation request to a cloud end through a client according to a second group creation rule corresponding to a second communication mode, and sending equipment information of second-class intelligent equipment using the second communication mode to the cloud end, so that the cloud end creates a second equipment group corresponding to the second-class intelligent equipment through a gateway; the first communication mode is a Zigbee mode, a Mesh mode or a Sigmesh mode.
For smart devices using WiFi communication, for example, as shown in fig. 2, an App end sends a set of devices using WiFi communication that need component groups to a cloud end, and the cloud end generates a group pid to store the set of devices. When the intelligent devices corresponding to the Zigbee, sigMesh, mesh communication mode are all mounted under the gateway, the mode of creating the group is the same, for example, as shown in fig. 3, the creation instruction is initiated by the client, the cloud end Mqtt (Message Queuing Telemetry Transport, message queue telemetry transmission) notifies the gateway, the gateway communicates with the devices, and the group Id is written into the devices.
Step S12: and creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode.
In this embodiment, a unified virtual group is created based on the created device groups corresponding to different communication modes, so as to wrap the groups of different communication protocols. In this embodiment, the creating the group panel of the virtual group may include: and creating a group panel of the virtual group based on each device group and the group name set for each device group, wherein the created virtual group comprises independent device groups corresponding to all communication modes, and the independent device groups can be named by communication protocol names.
In addition, since each protocol has its own control mode, devices of different protocols may have different dp points (datapoint), so that control commands of dp points are different, and commands received through a unified virtual group are in a fixed unified format, and intelligent devices cannot be directly controlled, so that in order to achieve the purpose of group control, in this embodiment, a corresponding instruction conversion rule needs to be configured for each communication mode, so as to convert commands in the fixed unified format received by the virtual group into commands in a specific certain communication mode.
Step S13: and creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule.
For example, as shown in fig. 4, taking four communication modes as Zigbee, sigMesh, mesh as an example, after the creation of the virtual group is completed, the group IDs of the four groups are stored in the virtual large group, and a group panel of the virtual group is created, and only the devices of the virtual large group are displayed on the user home page. It can be understood that, due to different protocols, each protocol corresponds to a different product, each product has its own panel, for example, a Wifi group panel of a certain smart device is shown in fig. 5, a Sigmesh group panel of a certain smart device is shown in fig. 6, in this way, a user needs to understand a control panel of each product under each protocol, the complexity of use is increased, and in order to weaken the cost of understanding different panels by the user, a group panel of a virtual group is created based on the virtual group in this embodiment, so that a unified panel of the smart device integrating all communication modes can be provided for the user.
In this embodiment, the converting the control command into the target control command matched with the communication mode of the target intelligent device according to the instruction conversion rule may include: transmitting a protocol conversion request to a cloud based on the control command; the cloud end determines a target conversion rule corresponding to the protocol conversion request from all the instruction conversion rules according to the group names in the protocol conversion request; and the cloud end converts the control command into a target control command matched with the communication mode of the target intelligent equipment by utilizing the target conversion rule, and sends the target control command to the client. That is, after receiving a control command for a target intelligent device sent by a user through the group panel of the virtual group, an instruction conversion layer needs to be added before the control command is sent to the intelligent device, for example, switching instructions supported by each protocol are as follows:
protocol(s) Supported switch instructions
Zigbee {"1":"true"}
Sigmesh {"10":"true"}
Mesh {"11":"true"}
WiFi {"100":"true"}
If the switch on instruction is { switch: "true" } executed in the panel of the virtual group, if all the device groups below the virtual group are to be driven, the device groups need to be converted into instructions that can be identified, the flow is as shown in fig. 7, the App end requests the cloud end to perform protocol conversion, the cloud end analyzes according to the stored instruction conversion rule to obtain a target control command in a corresponding communication mode, and returns an analysis result, for example, the analysis can obtain the target control command as follows:
in this embodiment, after the converting the control command into the target control command matched with the communication mode of the target intelligent device according to the instruction converting rule, the method may further include: traversing the target equipment group where the target intelligent equipment is located to determine the target intelligent equipment, and sending the target control command to the target intelligent equipment. The client sends the target control command according to the dp point of each small group converted back by the cloud. The sending mode of the target control command in the WiFi mode is shown in fig. 8, the App terminal initiates group control, the cloud traverses all the device IDs in the group, and a target control command is sent to the corresponding device; the sending mode of the target control command in the Zigbee, mesh and Sigmesh modes is shown in fig. 9, the App terminal initiates instruction control, if the current state is in the local area network state, the instruction is directly sent to the gateway in the local area network mode, and if the current state is in the external network state, the instruction is forwarded to the gateway through the cloud, and the gateway controls the sub-equipment. Therefore, the problem that the group multi-protocol devices cannot be commonly created is solved by constructing a virtual group comprising all the device groups and configuring the instruction conversion rule, and the problem that a user needs to manage the multi-group panel can be solved by configuring the instruction conversion rule and creating a unified group panel based on the virtual group.
As can be seen from the above, in this embodiment, an intelligent device list in a target area is obtained, and a device group is created for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices; creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode; and creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule. From the above, a unified virtual group is built on the basis of the device group corresponding to each communication mode, so as to wrap the groups of different communication protocols, and meanwhile, corresponding instruction conversion rules are configured for each communication mode, so that after a control command is received through a group panel of the virtual group, the control command is converted into a target control command matched with the communication mode of the target intelligent device to be controlled, the intelligent device of any communication mode in the area is controlled through the unified virtual group and the corresponding group panel, the cost of a user for understanding the device communication protocol and the cost of understanding different panels are weakened, and the group control efficiency and convenience of the intelligent device are improved.
Correspondingly, the embodiment of the application also discloses an intelligent equipment group control device, which is shown in fig. 10 and comprises the following components:
the intelligent device acquisition module 11 is configured to acquire an intelligent device list in a target area, and create a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices;
a virtual group creation module 12, configured to create a unified virtual group based on all the device groups, and configure a corresponding instruction conversion rule for each communication mode;
the group panel creation module 13 is configured to create a group panel of the virtual group, so as to receive a control command for a target intelligent device sent by a user through the group panel, and convert the control command into a target control command matched with a communication mode of the target intelligent device according to the instruction conversion rule.
As can be seen from the above, in this embodiment, an intelligent device list in a target area is obtained, and a device group is created for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices; creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode; and creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule. From the above, a unified virtual group is built on the basis of the device group corresponding to each communication mode, so as to wrap the groups of different communication protocols, and meanwhile, corresponding instruction conversion rules are configured for each communication mode, so that after a control command is received through a group panel of the virtual group, the control command is converted into a target control command matched with the communication mode of the target intelligent device to be controlled, the intelligent device of any communication mode in the area is controlled through the unified virtual group and the corresponding group panel, the cost of a user for understanding the device communication protocol and the cost of understanding different panels are weakened, and the group control efficiency and convenience of the intelligent device are improved.
In some specific embodiments, the smart device acquiring module 11 may specifically include:
the classification unit is used for classifying all the intelligent devices according to the communication mode used by the intelligent devices;
and the device group creation unit is used for creating a corresponding device group for all intelligent devices using the same communication mode according to group creation rules corresponding to each type of communication mode so as to obtain device groups corresponding to different communication modes.
In some embodiments, the communication means may include WiFi, zigbee, mesh, sigmesh.
In some specific embodiments, the device group creation unit may specifically include:
the first creating unit is used for initiating a component creating request to the cloud end through the client according to a first group creating rule corresponding to the first communication mode, and sending equipment information of first intelligent equipment using the first communication mode to the cloud end so that the cloud end creates a first equipment group corresponding to the first intelligent equipment; the first communication mode is a WiFi mode;
the second creating unit is used for initiating a component creating request to the cloud end through the client according to a second group creating rule corresponding to the second communication mode, and sending equipment information of second-class intelligent equipment using the second communication mode to the cloud end so that the cloud end creates a second equipment group corresponding to the second-class intelligent equipment through the gateway; the first communication mode is a Zigbee mode, a Mesh mode or a Sigmesh mode.
In some embodiments, the group panel creation module 13 may be specifically configured to create a group panel of the virtual group based on each of the device groups and a group name set for each of the device groups.
In some specific embodiments, the group panel creation module 13 may specifically include:
the protocol conversion request sending unit is used for sending a protocol conversion request to the cloud based on the control command;
the target conversion rule determining unit is used for determining a target conversion rule corresponding to the protocol conversion request from all the instruction conversion rules according to the group names in the protocol conversion request through the cloud;
and the command conversion unit is used for converting the control command into a target control command matched with the communication mode of the target intelligent equipment by utilizing the target conversion rule through the cloud end and sending the target control command to the client.
In some specific embodiments, the intelligent device group control apparatus may specifically include:
and the command sending unit is used for traversing the target equipment group where the target intelligent equipment is located to determine the target intelligent equipment and sending the target control command to the target intelligent equipment.
Further, the embodiment of the present application also discloses an electronic device, and referring to fig. 11, the content in the drawing should not be considered as any limitation on the scope of use of the present application.
Fig. 11 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, where the computer program is loaded and executed by the processor 21 to implement relevant steps in the group control method of a smart device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223 including instruction conversion rules, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows Server, netware, unix, linux, etc. The computer program 222 may further comprise a computer program capable of performing other specific tasks in addition to the computer program capable of performing the smart device group control method performed by the electronic device 20 as disclosed in any of the previous embodiments.
Further, the embodiment of the application also discloses a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are loaded and executed by a processor, the steps of the intelligent equipment group control method disclosed in any embodiment are realized.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above detailed description of the group control method, device, equipment and medium of the intelligent equipment provided by the application applies specific examples to illustrate the principle and implementation of the application, and the above description of the examples is only used for helping to understand the method and core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. The intelligent equipment group control method is characterized by being applied to a client and comprising the following steps of:
acquiring an intelligent device list in a target area, and creating a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices;
creating a unified virtual group based on all the equipment groups, and configuring corresponding instruction conversion rules for each communication mode;
creating a group panel of the virtual group, receiving a control command for a target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with a communication mode of the target intelligent device according to the command conversion rule;
wherein the creating the group panel of the virtual group includes:
creating a group panel of the virtual group based on each of the device groups and the group name set for each of the device groups;
the converting the control command into a target control command matched with the communication mode of the target intelligent device according to the instruction conversion rule comprises the following steps:
transmitting a protocol conversion request to a cloud based on the control command; the cloud end determines a target conversion rule corresponding to the protocol conversion request from all the instruction conversion rules according to the group names in the protocol conversion request; and the cloud end converts the control command into a target control command matched with the communication mode of the target intelligent equipment by utilizing the target conversion rule, and sends the target control command to the client.
2. The group control method of intelligent devices according to claim 1, wherein the creating a device group for all intelligent devices corresponding to the same communication mode according to the communication mode used by the intelligent devices includes:
classifying all intelligent devices according to communication modes used by the intelligent devices;
and creating a corresponding device group for all intelligent devices using the same communication mode according to the group creation rule corresponding to each type of communication mode so as to obtain device groups corresponding to different communication modes.
3. The intelligent device group control method of claim 2, wherein the communication means comprises WiFi, zigbee, mesh, sigmesh.
4. The group control method of claim 3, wherein creating a corresponding device group for all intelligent devices using the same communication means according to the group creation rule corresponding to each type of communication means comprises:
initiating a component creation request to a cloud end through a client according to a first group creation rule corresponding to a first communication mode, and sending equipment information of first intelligent equipment using the first communication mode to the cloud end so that the cloud end creates a first equipment group corresponding to the first intelligent equipment; the first communication mode is a WiFi mode;
initiating a component creation request to a cloud end through a client according to a second group creation rule corresponding to a second communication mode, and sending equipment information of second-class intelligent equipment using the second communication mode to the cloud end, so that the cloud end creates a second equipment group corresponding to the second-class intelligent equipment through a gateway; the first communication mode is a Zigbee mode, a Mesh mode or a Sigmesh mode.
5. The group control method of any one of claims 1 to 4, further comprising, after the converting the control command into a target control command matching the communication manner of the target smart device according to the instruction converting rule:
traversing the target equipment group where the target intelligent equipment is located to determine the target intelligent equipment, and sending the target control command to the target intelligent equipment.
6. An intelligent device group control apparatus, comprising:
the intelligent equipment acquisition module is used for acquiring an intelligent equipment list in the target area and creating an equipment group for all intelligent equipment corresponding to the same communication mode according to the communication mode used by the intelligent equipment;
the virtual group creation module is used for creating a unified virtual group based on all the equipment groups and configuring corresponding instruction conversion rules for each communication mode;
the group panel creation module is used for creating a group panel of the virtual group, receiving a control command for the target intelligent device sent by a user through the group panel, and converting the control command into a target control command matched with the communication mode of the target intelligent device according to the command conversion rule;
the group panel creation module is specifically configured to:
creating a group panel of the virtual group based on each of the device groups and the group name set for each of the device groups;
the group panel creation module is specifically configured to:
transmitting a protocol conversion request to a cloud based on the control command; the cloud end determines a target conversion rule corresponding to the protocol conversion request from all the instruction conversion rules according to the group names in the protocol conversion request; and the cloud end converts the control command into a target control command matched with the communication mode of the target intelligent equipment by utilizing the target conversion rule, and sends the target control command to the client.
7. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the smart device group control method as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the smart device group control method of any one of claims 1 to 5.
CN202210051191.9A 2022-01-17 2022-01-17 Group control method, device, equipment and storage medium for intelligent equipment Active CN114389906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210051191.9A CN114389906B (en) 2022-01-17 2022-01-17 Group control method, device, equipment and storage medium for intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210051191.9A CN114389906B (en) 2022-01-17 2022-01-17 Group control method, device, equipment and storage medium for intelligent equipment

Publications (2)

Publication Number Publication Date
CN114389906A CN114389906A (en) 2022-04-22
CN114389906B true CN114389906B (en) 2023-08-29

Family

ID=81201897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210051191.9A Active CN114389906B (en) 2022-01-17 2022-01-17 Group control method, device, equipment and storage medium for intelligent equipment

Country Status (1)

Country Link
CN (1) CN114389906B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115720331B (en) * 2022-11-02 2025-09-09 杭州涂鸦信息技术有限公司 Cloud data processing method, server, electronic device and storage medium
CN115988433B (en) * 2022-12-13 2025-08-29 陕西瑞高材料科技有限公司 A wireless Internet of Things communication method and networking device
CN116743521A (en) * 2023-07-13 2023-09-12 广州河东科技有限公司 Multi-device configuration method, device, gateway and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016007995A1 (en) * 2014-07-15 2016-01-21 Awad Sera A system, application server and computer readable storage medium for distribution of digital media
CN109151274A (en) * 2018-08-28 2019-01-04 西安工业大学 A kind of network firewall of intelligent appliance camera
CN109951305A (en) * 2019-03-20 2019-06-28 上海掌门科技有限公司 Virtual group creation method, equipment and computer-readable medium
CN110958570A (en) * 2019-12-27 2020-04-03 咻享智能(深圳)有限公司 Wireless Internet of things data communication method and related device
CN111953520A (en) * 2020-07-17 2020-11-17 杭州博联智能科技股份有限公司 Method, apparatus, device and medium for implementing group control through group virtual device
CN113300919A (en) * 2020-02-21 2021-08-24 青岛海尔智能技术研发有限公司 Intelligent household appliance control method based on social software group function and intelligent household appliance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016007995A1 (en) * 2014-07-15 2016-01-21 Awad Sera A system, application server and computer readable storage medium for distribution of digital media
CN109151274A (en) * 2018-08-28 2019-01-04 西安工业大学 A kind of network firewall of intelligent appliance camera
CN109951305A (en) * 2019-03-20 2019-06-28 上海掌门科技有限公司 Virtual group creation method, equipment and computer-readable medium
CN110958570A (en) * 2019-12-27 2020-04-03 咻享智能(深圳)有限公司 Wireless Internet of things data communication method and related device
CN113300919A (en) * 2020-02-21 2021-08-24 青岛海尔智能技术研发有限公司 Intelligent household appliance control method based on social software group function and intelligent household appliance
CN111953520A (en) * 2020-07-17 2020-11-17 杭州博联智能科技股份有限公司 Method, apparatus, device and medium for implementing group control through group virtual device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP TR 22.889 V1.0.0,Technical Report,3rd Generation Partnership Project,Technical Specification Group Services and System Aspects,Study on Future Railway Mobile Communication System;3GPP;3GPP;全文 *

Also Published As

Publication number Publication date
CN114389906A (en) 2022-04-22

Similar Documents

Publication Publication Date Title
CN114389906B (en) Group control method, device, equipment and storage medium for intelligent equipment
CN110022349B (en) Heterogeneous industrial network device configuration micro-service method based on edge calculation
WO2022001674A1 (en) Communication system, method and device for miniature intelligent sensor
US9225540B2 (en) Method and apparatus for relaying communication between universal plug and play device and remote user interface client
CN102955717B (en) Message management equipment and method in distributed message processing system
CN111026982A (en) Intelligent contract processing method, computer equipment and storage medium
Zhou et al. Toward the Internet of Things application and management: A practical approach
KR102565409B1 (en) Method, device, electronic equipment for adjusting the number of instances and readble storage medium
CN107124337A (en) Equipment configuration method, device, system and centralized control terminal
CN115167157A (en) Device control method, device, electronic device and storage medium
KR20210096054A (en) Energy management system
CN106302125B (en) The method, apparatus and system that a kind of pair of solicited message is responded
WO2016188133A1 (en) Method and device for controlling intelligent household appliance
de AM Macêdo et al. GoThings-An Application-layer Gateway Architecture for the Internet of Things.
CN114051030B (en) Communication method, communication device, intelligent community system and storage medium
CN113965571B (en) Management method, device, equipment and medium of distributed embedded equipment
CN117041284A (en) External interface management method, system, equipment and medium based on interface cloud
EP2469457A1 (en) System and method for improved service oriented architecture
CN111030925B (en) Multi-gateway communication method and system based on remote procedure call
WO2017215381A1 (en) Method and device for indicating virtual expansion port, and storage medium
CN113691462B (en) Response method and device of Internet group management protocol
CN112738245B (en) Method and device for determining equipment response information, storage medium and electronic device
US20250278321A1 (en) Hardware-agnostic rest endpoints for asynchronous operations
CN116527793B (en) Protocol connection method, device, equipment and storage medium
EP4565001A1 (en) Local area network control system based on bluetooth and user datagram protocol and method thereof

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
GR01 Patent grant
GR01 Patent grant