CN113286313A - Hardware equipment layout method and device - Google Patents

Hardware equipment layout method and device Download PDF

Info

Publication number
CN113286313A
CN113286313A CN202110822075.8A CN202110822075A CN113286313A CN 113286313 A CN113286313 A CN 113286313A CN 202110822075 A CN202110822075 A CN 202110822075A CN 113286313 A CN113286313 A CN 113286313A
Authority
CN
China
Prior art keywords
hardware
equipment
physical
virtual
devices
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.)
Granted
Application number
CN202110822075.8A
Other languages
Chinese (zh)
Other versions
CN113286313B (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.)
Shenzhen Yilai Intelligent Co ltd
Qingdao Yilai Intelligent Technology Co Ltd
Original Assignee
Shenzhen Yilai Intelligent Co ltd
Qingdao Yilai Intelligent 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 Yilai Intelligent Co ltd, Qingdao Yilai Intelligent Technology Co Ltd filed Critical Shenzhen Yilai Intelligent Co ltd
Priority to CN202110822075.8A priority Critical patent/CN113286313B/en
Publication of CN113286313A publication Critical patent/CN113286313A/en
Application granted granted Critical
Publication of CN113286313B publication Critical patent/CN113286313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • H04W16/20Network planning tools for indoor coverage or short range network deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection
    • 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]

Abstract

The invention provides a hardware equipment layout method and a hardware equipment layout device, wherein the method comprises the following steps: setting virtual positions for distributing a plurality of hardware devices for the house type diagram based on the acquired house type diagram; configuring the plurality of hardware devices according to the virtual position; acquiring physical equipment identifications of a plurality of physical equipment in a scanning mode; determining and recording the corresponding relation between the physical equipment identifier and the plurality of hardware equipment, wherein the corresponding relation is used for controlling the plurality of physical equipment, the problem of how to intelligently layout the hardware equipment in the related technology can be solved, a virtual position is set in a house type diagram, the hardware equipment is laid out based on the virtual position, the intelligent layout of the indoor hardware equipment is realized, the physical equipment identifier is obtained, and the corresponding relation between the physical equipment identifier and the plurality of hardware equipment is determined and recorded so as to control the physical equipment based on the corresponding relation.

Description

Hardware equipment layout method and device
Technical Field
The invention relates to the field of Internet of things, in particular to a hardware equipment layout method and device.
Background
With the rapid development of mobile internet, internet of things and artificial intelligence technology, more and more traditional industries start intelligent upgrading. The illumination becomes the first intelligent target due to the characteristics of easy understanding, visual feeling and high-frequency use. The current intelligent platform cannot provide optimal experience and scheme for the lighting industry, and even becomes the bottleneck of the whole lighting experience in certain scenes.
Aiming at the problem of how to carry out intelligent layout on hardware equipment in the related technology, no solution is provided.
Disclosure of Invention
The embodiment of the invention provides a hardware equipment layout method and a hardware equipment layout device, which are used for at least solving the problem of how to intelligently layout hardware equipment in the related technology.
According to an embodiment of the present invention, there is provided a hardware device layout method including:
setting virtual positions for distributing a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
configuring the plurality of hardware devices according to the virtual positions;
acquiring physical equipment identifications of a plurality of physical equipment in a scanning mode;
and determining and recording the corresponding relation between the physical equipment identification and the plurality of hardware equipment, wherein the corresponding relation is used for controlling the plurality of physical equipment.
Optionally, the method further comprises:
recording configuration information of the plurality of hardware devices, wherein the configuration information comprises: the system comprises room information, a virtual location and hardware equipment information, wherein the hardware equipment information comprises hardware equipment ID (Identity) and hardware equipment name.
Optionally, the method further comprises:
respectively distributing Mesh network addresses to the plurality of physical devices;
and establishing the association relation among the configuration information, the physical equipment identifier and the Mesh network address according to the corresponding relation.
Optionally, configuring the plurality of hardware devices according to the virtual location includes:
according to the virtual positions, performing scene configuration on the plurality of hardware devices to obtain scene configuration results, wherein the scene configuration results comprise: scene information, scene trigger conditions, equipment included in the scene and linkage rules among the equipment in the scene;
and creating Mesh grouping for the hardware devices according to the configuration information to obtain a grouping result, wherein the grouping result comprises grouping information, and linkage rules among the devices in the group and the devices in the group.
Optionally, after configuring the plurality of hardware devices according to the virtual location, the method further includes:
allocating Mesh network addresses to the plurality of physical devices;
and establishing the incidence relation among the scene configuration result, the grouping result, the physical equipment identification and the Mesh network address according to the corresponding relation.
Optionally, the method further comprises:
and importing the incidence relation into a home gateway, a local server and/or a cloud server corresponding to the home type graph, wherein the home gateway, the local server and/or the cloud server are used for controlling the hardware devices according to the incidence relation.
Optionally, the plurality of hardware devices includes at least: gateway, lighting device.
According to another embodiment of the present invention, there is also provided a hardware device layout apparatus including:
the setting module is used for setting virtual positions for distributing a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
a configuration module, configured to configure the plurality of hardware devices according to the virtual location;
the acquisition module is used for acquiring physical equipment identifiers of a plurality of physical equipment in a scanning mode;
and the determining module is used for determining and recording the corresponding relation between the physical equipment identifier and the plurality of hardware equipment, wherein the corresponding relation is used for controlling the plurality of physical equipment.
Optionally, the apparatus further comprises:
a recording module, configured to record configuration information of the plurality of hardware devices, where the configuration information includes: the system comprises room information, a virtual location and hardware equipment information, wherein the hardware equipment information comprises a hardware equipment ID and a hardware equipment name.
Optionally, the apparatus further comprises:
the first allocation module is used for allocating Mesh network addresses to the plurality of physical devices respectively;
and the first establishing module is used for establishing the association relation among the configuration information, the physical equipment identifier and the Mesh network address according to the corresponding relation.
Optionally, the configuration module includes:
a configuration submodule, configured to perform scene configuration on the plurality of hardware devices according to the virtual position, so as to obtain a scene configuration result, where the scene configuration result includes: scene information, scene trigger conditions, equipment included in the scene and linkage rules among the equipment in the scene;
and the creating submodule is used for creating Mesh grouping for the hardware devices according to the configuration information to obtain a grouping result, wherein the grouping result comprises grouping information, and the devices in the group and the linkage rules among the devices in the group.
Optionally, the apparatus further comprises:
a second allocating module, configured to allocate Mesh network addresses to the multiple physical devices;
and the second establishing module is used for establishing the incidence relation among the scene configuration result, the grouping result, the physical equipment identification and the Mesh network address according to the corresponding relation.
Optionally, the apparatus further comprises:
and the importing module is used for importing the association relationship into a home gateway, a local server and/or a cloud server corresponding to the home type graph, wherein the home gateway, the local server and/or the cloud server are used for controlling the hardware devices according to the association relationship.
Optionally, the plurality of hardware devices includes at least: gateway, lighting device.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, based on the acquired house type graph, virtual positions for distributing a plurality of hardware devices are set for the house type graph; configuring a plurality of hardware devices according to the virtual positions; acquiring physical equipment identifications of a plurality of physical equipment in a scanning mode; the method comprises the steps of determining and recording the corresponding relation between a physical device identifier and a plurality of hardware devices, controlling the plurality of physical devices through the corresponding relation, solving the problem of how to carry out intelligent layout on the hardware devices in the related technology, setting a virtual position in a house type diagram, arranging the hardware devices based on the virtual position, realizing the intelligent layout on the indoor hardware devices, acquiring the physical device identifier, determining and recording the corresponding relation between the physical device identifier and the plurality of hardware devices, and controlling the physical devices based on the corresponding relation.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to a hardware device layout method of an embodiment of the present invention;
FIG. 2 is a flow diagram of a hardware device placement method according to an embodiment of the invention;
FIG. 3 is a flow chart of a lighting design according to the present embodiment;
fig. 4 is a schematic diagram of a Mesh packet according to the present embodiment;
fig. 5 is a block diagram of a hardware device placement apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking a mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of the hardware device layout method according to the embodiment of the present invention, and as shown in fig. 1, the mobile terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 for a communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the hardware device layout method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices via a base station to communicate with the internet. In one example, the transmitting device 106 may be a Radio FrequeNcy (RF) module, which is used to communicate with the internet in a wireless manner.
Based on the above mobile terminal or network architecture, a hardware device layout method is provided in this embodiment, and fig. 2 is a flowchart of the hardware device layout method according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, setting virtual positions for distributing a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
in this embodiment, the hardware device at least includes: gateway, lighting device, further, the hardware device can also be sensor.
Step S204, configuring the hardware devices according to the virtual positions;
step S206, acquiring physical equipment identifiers of a plurality of physical equipment in a scanning mode;
step S208, determining and recording a corresponding relationship between the physical device identifier and the plurality of hardware devices, where the corresponding relationship is used to control the plurality of physical devices.
Through the steps S202 to S208, setting virtual positions for laying out a plurality of hardware devices for the house type diagram based on the acquired house type diagram; configuring the plurality of hardware devices according to the virtual positions; acquiring physical equipment identifications of a plurality of physical equipment in a scanning mode; determining and recording the corresponding relation between the physical equipment identifier and the plurality of hardware equipment, wherein the corresponding relation is used for controlling the plurality of physical equipment, the problem of how to intelligently layout the hardware equipment in the related technology can be solved, a virtual position is set in a house type diagram, the hardware equipment is laid out based on the virtual position, the intelligent layout of the indoor hardware equipment is realized, the physical equipment identifier is obtained, and the corresponding relation between the physical equipment identifier and the plurality of hardware equipment is determined and recorded so as to control the physical equipment based on the corresponding relation.
In an optional embodiment, configuration information of the plurality of hardware devices may be further recorded, where the configuration information may include: the system comprises room information, a virtual location and hardware equipment information, wherein the hardware equipment information comprises a hardware equipment ID and a hardware equipment name.
In another optional embodiment, Mesh network addresses are respectively allocated to the plurality of physical devices; and establishing the association relation among the configuration information, the physical equipment identifier and the Mesh network address according to the corresponding relation.
In an embodiment of the present invention, the step S204 may specifically include:
s2041, performing scene configuration on the plurality of hardware devices according to the virtual position to obtain a scene configuration result, where the scene configuration result includes: scene information, scene trigger conditions, equipment included in the scene and linkage rules among the equipment in the scene;
s2042, creating Mesh grouping for the hardware devices according to the configuration information to obtain a grouping result, wherein the grouping result comprises grouping information, and linkage rules among the devices in the group and the devices in the group.
In another optional embodiment, after configuring the plurality of hardware devices according to the virtual location, assigning Mesh network addresses to the plurality of physical devices; and establishing the incidence relation among the scene configuration result, the grouping result, the physical equipment identification and the Mesh network address according to the corresponding relation.
In this embodiment, the association relationship may be further imported into a home gateway, a local server, and/or a cloud server corresponding to the home type graph, so that the home gateway, the local server, and/or the cloud server may control the hardware device according to the association relationship.
This embodiment connects the illumination design side, implements service side and system user, lets the designer more convenient carry out the illumination design, let dealer (constructor) more convenient construct according to the design, let the more convenient and designer of user communicate, make whole illumination design experience obtain the optimization of upgrading.
The lighting design method of the invention comprises the following steps:
step 1, creating an illumination design work order;
step 2, uploading the house type file;
step 3, lighting design is carried out according to house type information, and virtual lamp positions and specific equipment installed on the virtual lamp positions are arranged according to a preset lighting control system (the lighting control system comprises intelligent hardware, a cloud/local server and a user APP) by taking a house type file as a base map;
step 4, configuring specific equipment installed on the virtual lamp position, wherein the configuration comprises equipment position, type, name, grouping, scene and linkage rule;
step 5, generating a unique corresponding virtual lamp position ID for each virtual lamp position according to the configuration of the virtual lamp positions, generating a network topology relation, and storing the virtual lamp position ID and the network topology relation to a server (cloud);
and 6, generating a physical equipment list (containing all equipment information) according to the virtual lamp position configuration, and generating an illumination design work order, wherein the illumination design work order comprises an intelligent hardware equipment list, and the intelligent hardware equipment list comprises equipment information (equipment type, name), price and the like of each equipment.
Fig. 3 is a flowchart of a lighting design according to the present embodiment, as shown in fig. 3, comprising:
step S301, room information is created according to the house type;
step S302, creating virtual equipment at a corresponding position;
step S303, setting virtual equipment;
step S304, setting scenes in groups;
step S305, installing physical equipment at a corresponding position;
step S306, associated physical equipment configuration downloading;
in step S307, a physical device is used.
During construction, according to the lighting design work order, physical equipment is installed at the corresponding virtual lamp position, the physical equipment ID (MAC address) of the physical equipment is bound with the virtual lamp position ID through equipment network access operation (scanning two-dimensional codes and the like), and a network topology relation (one network address for each equipment) between the physical equipment is formed.
Professional lighting design is carried out for a user home, an apartment or an office, and information such as positions, groups, names, scenes, linkage rules and the like of lamps and controllers to be used is input into a background system through a lighting design system in a graphical interaction mode. Each user purchasing a lighting design generates a piece of design data after each purchase, and the piece of data is stored as an order after passing through the lighting design system and has a unique order number.
The user uploads a house type file, which the light designer uses as a base map to arrange specific lighting devices thereon.
In the system, one device only belongs to one room, the devices in each room can be synchronously controlled in batches, and one family can have a plurality of rooms.
A light level (the position of a virtual device in the house type diagram) represents a virtual device, and the light level is in an unbound state at the initial time and cannot be controlled at the moment. When a user binds a specific physical lamp to a lamp position, the lamp position enters a binding state and can be controlled and controlled.
A Mesh packet represents a group of devices bound to the same bluetooth Mesh group address. Once a device enters the Mesh group, the individual device is hidden. One device may be divided into a plurality of Mesh groups, and one Mesh group may be composed of a plurality of devices. The Mesh group is mainly used for synchronous batch control equipment, such as three spot lights on a television background wall, and if one requirement is not independently adjusted, a Mesh group can be created. A combination of rooms, such as an event zone, may include a living room and a restaurant. The zones may be on and off in the system. Under one room, a Mesh group and a set of actions performed by a single device. Such as a movie scene, may be a combination of commands to turn off the set of wall lights and turn the floor lights to the darkest in the living room. After the user triggers the scenario, the system is responsible for executing this set of commands.
The bluetooth Mesh is a many-to-many network protocol different from the previous point-to-point bluetooth communication protocol. Each node forming the bluetooth Mesh network has a bluetooth Mesh network address, and the nodes communicate with each other through the Mesh network addresses. The address assigned by each bluetooth Mesh network node is called a unicast address, and the Mesh network has a multicast address and a broadcast address in addition to the unicast address. Each Mesh node may "own" multiple multicast addresses, but only one unicast address. All Mesh nodes default to "owning" the broadcast address. That is, if a device sends a Hello message to a broadcast address, all Mesh nodes can receive the Hello message.
Fig. 4 is a schematic diagram of a Mesh packet according to the present embodiment, and as shown in fig. 4, when the node 1 sends a unicast message to 5, only 5 can receive the message. When node 2 sends a multicast message (group address C001), both nodes 5 and 6 that "own" the group address may receive the message. When node 2 sends a broadcast message (broadcast address FFFF), all nodes can receive the message.
Each virtual device will be assigned a unique ID in the system, and subsequent user operations are also performed with respect to this ID.
When a user associates a physical device with a virtual device, the system internally stores the corresponding relationship between the virtual device ID and the physical device ID, and the corresponding relationship is maintained until the user disassociates. The system refers to this association action as association and unbinding.
When the association occurs, the system will automatically assign a bluetooth Mesh network address to the physical device, this address will be recorded inside the system, and this correspondence will be synchronized to the gateway device.
In the system, each device corresponds to a triplet information, < virtual device ID, physical device ID, Mesh address > inside the system. Before association, the triple information corresponding to a certain virtual device a is < Va, NULL >, and after association, the triple is updated to < Va, Pa, 0002 >. The user's operation will be performed for Va, but the Mesh gateway will perform the conversion according to the triplet information, and send the real operation command to the address 0002. If the user does a unbind operation, the triplet will again become < Va, NULL, NULL >.
A specific operation is triggered based on a rule (specific event), which may be a scenario executed at a certain time or some combination of operations triggered when a certain sensor event occurs.
Uniquely identify a specific product in a system, Stock Keeping Unit Identity (SKU ID), such as a 36 degree beam angle white money for a track spotlight. Uniquely identifying a firmware type, such as track lights of different beam angles, SKU IDs are different but share a power supply and control module, and Process Identifiers (PID) are the same.
Devices with the same capabilities share the same product type, PTYPE. Such as a color temperature downlight and a color temperature bulb, PID are different, but PTYPE is the same. Color temperature bulbs and color bulbs, PTYPE, are different. If the PIDs of both devices are the same, then PTYPE must be the same, and not vice versa.
Each virtual device will be assigned a unique virtual device ID in the system, and subsequent device control is also performed for this virtual device ID.
When a user associates a physical device with a virtual device, the system internally stores the corresponding relationship between the virtual device ID and the physical device ID, and the corresponding relationship is maintained until the user disassociates. In the system, this association action is referred to as association and unbinding.
When the association occurs, the system will automatically assign a bluetooth Mesh network address to the physical device, this address will be recorded inside the system, and this correspondence will be synchronized to the gateway device.
The lighting design system in the present embodiment includes:
the work order creating unit is used for creating an intelligent lighting design work order;
the household type obtaining unit is used for receiving the household plane household type graph and obtaining a household type model graph;
the lighting design unit is used for configuring intelligent hardware (comprising a gateway, a lamp, a sensor and the like) in a lighting control system into the house type model diagram (presetting the lighting control system, wherein the lighting control system comprises the intelligent hardware, a cloud/local server and a user APP);
the lighting design unit further comprises an equipment management module, a scene management module, an automation management module, an area management module and the like.
The lighting design unit is used for determining the work order of the lighting design unit and generating an intelligent hardware equipment list according to the work order.
The list of intelligent hardware devices includes the type, name, etc. of each device.
The light design is carried out based on the user house type diagram through system interface operation, and besides specific basic information such as floors, rooms, gateways, equipment and the like is required to be configured, professional light design is provided, and advanced configuration of scenes, linkage and intelligent lamps is realized; SKU (Stock Keeping Unit) information in the final solution can be communicated with the order system; the generated customized lighting scene information can be imported into a gateway in the home of the user through a master APP by one key; the module focuses on convenience and high efficiency of page interaction, and a configuration threshold is reduced.
The lighting design system in the embodiment can facilitate designers to carry out lighting design, and by visually adding equipment on a household graph, the equipment can be divided into groups, scenes and linkage rules in advance before construction, so that the specialty of the lighting design is ensured. The lighting design scheme can be conveniently communicated and modified with a user in the design stage, the user can be visual through effect display, the reliability of design certification is guaranteed, and the satisfaction of the user is improved. And the lighting design template can be directly selected according to the house type of the user, so that the efficiency and the universality of the lighting design are improved.
The order generated by the lighting design system can be automatically transferred to the work order system after the user pays to form a work order. The offline implementer can prepare corresponding products according to the work order and appoint time with the user to implement the products outdoors. After the constructor goes to the door, a master version APP (Application) is used to perform the on-site implementation work. This APP can acquire the illumination design scheme that corresponds the work order, and constructor only needs to install the corresponding position to correct lamps and lanterns according to the scheme to it can to sweep the sign indicating number and accomplish lamps and lanterns and go into the net. After the completion, all the groups, scenes and linkages designed by designers can be automatically downloaded to the equipment without complex configuration. After the master completes the test, the work order is finished. Compared with the implementation of the traditional intelligent system, the method saves a large amount of time for configuring scenes on site and technical requirements for constructors. Especially for the implementation of the same house type, because the light design scheme can copy & past, the work of intelligent configuration of each room is avoided, and the efficiency is greatly improved.
Each device corresponds to a triplet within the system, < virtual device ID, physical device ID, Mesh address >.
Before the association, the triple information corresponding to a certain virtual device a is < Va, NULL >. If physical device a1 were to be installed at virtual device a, the triplet would be updated to < Va, Pa1, 0001> after the association is completed. The user's operation (control of the device) will be performed for Va, but the Mesh gateway will perform conversion according to the triplet information, and send the real operation command to 0001, the Mesh address.
If the user needs to replace the physical device a1 (for example, the physical device a1 is damaged or only the physical device a1 is updated), the user needs to perform unbinding operation, and the triplet becomes < Va, NULL >. After the unbinding, if the device is controlled through the virtual device ID, no actual device is available for control because the Mesh address of the gateway which completes the conversion of the triple information is NULL.
The user replaces the physical device a1 with the physical device a2, and the triplet information is updated to (Va, pa2, 0001) after the physical device a2 is reinstalled at the virtual device a and re-associated. The operation of the user (control of the device) is still performed on Va, the Mesh gateway converts according to the triplet information, and the real operation command is still sent to the Mesh address 0001, so that the control of the physical device a2 can be completed.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a hardware device layout apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a hardware device layout apparatus according to an embodiment of the present invention, as shown in fig. 5, including:
a setting module 52, configured to set, based on the obtained house type diagram, virtual positions for laying out the plurality of hardware devices for the house type diagram;
a configuration module 54, configured to configure the plurality of hardware devices according to the virtual locations;
an obtaining module 56, configured to obtain physical device identifiers of multiple physical devices in a scanning manner;
a determining module 58, configured to determine and record a correspondence between the physical device identifier and the plurality of hardware devices, where the correspondence is used to control the plurality of physical devices.
Optionally, the apparatus further comprises:
a recording module, configured to record configuration information of the plurality of hardware devices, where the configuration information includes: the system comprises room information, a virtual location and hardware equipment information, wherein the hardware equipment information comprises a hardware equipment ID and a hardware equipment name.
Optionally, the apparatus further comprises:
the first allocation module is used for allocating Mesh network addresses to the plurality of physical devices respectively;
and the first establishing module is used for establishing the association relation among the configuration information, the physical equipment identifier and the Mesh network address according to the corresponding relation.
Optionally, the configuration module 54 includes:
a configuration submodule, configured to perform scene configuration on the plurality of hardware devices according to the virtual position, so as to obtain a scene configuration result, where the scene configuration result includes: scene information, scene trigger conditions, equipment included in the scene and linkage rules among the equipment in the scene;
and the creating submodule is used for creating Mesh grouping for the hardware devices according to the configuration information to obtain a grouping result, wherein the grouping result comprises grouping information, and the devices in the group and the linkage rules among the devices in the group.
Optionally, the apparatus further comprises:
a second allocating module, configured to allocate Mesh network addresses to the multiple physical devices;
and the second establishing module is used for establishing the incidence relation among the scene configuration result, the grouping result, the physical equipment identification and the Mesh network address according to the corresponding relation.
Optionally, the apparatus further comprises:
and the importing module is used for importing the association relationship into a home gateway, a local server and/or a cloud server corresponding to the home type graph, wherein the home gateway, the local server and/or the cloud server are used for controlling the hardware devices according to the association relationship.
Optionally, the plurality of hardware devices includes at least: gateway, lighting device.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, setting virtual positions for layout of a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
s2, configuring the hardware devices according to the virtual positions;
s3, acquiring physical device identifiers of a plurality of physical devices in a scanning mode;
s4, determining and recording the corresponding relation between the physical device identification and the plurality of hardware devices, wherein the corresponding relation is used for controlling the plurality of physical devices.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 4
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, setting virtual positions for layout of a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
s2, configuring the hardware devices according to the virtual positions;
s3, acquiring physical device identifiers of a plurality of physical devices in a scanning mode;
s4, determining and recording the corresponding relation between the physical device identification and the plurality of hardware devices, wherein the corresponding relation is used for controlling the plurality of physical devices.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A hardware device layout method, comprising:
setting virtual positions for distributing a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
configuring the plurality of hardware devices according to the virtual positions;
acquiring physical equipment identifications of a plurality of physical equipment in a scanning mode;
and determining and recording the corresponding relation between the physical equipment identification and the plurality of hardware equipment, wherein the corresponding relation is used for controlling the plurality of physical equipment.
2. The hardware device placement method of claim 1, further comprising:
recording configuration information of the plurality of hardware devices, wherein the configuration information comprises: the system comprises room information, a virtual location and hardware equipment information, wherein the hardware equipment information comprises a hardware equipment ID and a hardware equipment name.
3. The hardware device placement method of claim 2, further comprising:
respectively distributing Mesh network addresses to the plurality of physical devices;
and establishing the association relation among the configuration information, the physical equipment identifier and the Mesh network address according to the corresponding relation.
4. The hardware device placement method of claim 2, wherein configuring the plurality of hardware devices according to the virtual locations comprises:
according to the virtual positions, performing scene configuration on the plurality of hardware devices to obtain scene configuration results, wherein the scene configuration results comprise: scene information, scene trigger conditions, equipment included in the scene and linkage rules among the equipment in the scene;
and creating Mesh grouping for the hardware devices according to the configuration information to obtain a grouping result, wherein the grouping result comprises grouping information, and linkage rules among the devices in the group and the devices in the group.
5. The hardware device placement method of claim 4, wherein after configuring the plurality of hardware devices according to the virtual locations, the method further comprises:
allocating Mesh network addresses to the plurality of physical devices;
and establishing the incidence relation among the scene configuration result, the grouping result, the physical equipment identification and the Mesh network address according to the corresponding relation.
6. The hardware device placement method according to claim 3 or 5, wherein said method further comprises:
and importing the incidence relation into a home gateway, a local server and/or a cloud server corresponding to the home type graph, wherein the home gateway, the local server and/or the cloud server are used for controlling the hardware devices according to the incidence relation.
7. The hardware device placement method according to any one of claims 1 to 5, wherein the plurality of hardware devices include at least: gateway, lighting device.
8. A hardware device placement apparatus, comprising:
the setting module is used for setting virtual positions for distributing a plurality of hardware devices for the house type diagram based on the acquired house type diagram;
a configuration module, configured to configure the plurality of hardware devices according to the virtual location;
the acquisition module is used for acquiring physical equipment identifiers of a plurality of physical equipment in a scanning mode;
and the determining module is used for determining and recording the corresponding relation between the physical equipment identifier and the plurality of hardware equipment, wherein the corresponding relation is used for controlling the plurality of physical equipment.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 7 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN202110822075.8A 2021-07-21 2021-07-21 Hardware equipment layout method and device Active CN113286313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110822075.8A CN113286313B (en) 2021-07-21 2021-07-21 Hardware equipment layout method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110822075.8A CN113286313B (en) 2021-07-21 2021-07-21 Hardware equipment layout method and device

Publications (2)

Publication Number Publication Date
CN113286313A true CN113286313A (en) 2021-08-20
CN113286313B CN113286313B (en) 2022-09-02

Family

ID=77286845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110822075.8A Active CN113286313B (en) 2021-07-21 2021-07-21 Hardware equipment layout method and device

Country Status (1)

Country Link
CN (1) CN113286313B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339621A (en) * 2021-12-30 2022-04-12 上海庆科信息技术有限公司 Method and device for controlling Bluetooth mesh network equipment and electronic device
WO2023124076A1 (en) * 2021-12-28 2023-07-06 中兴通讯股份有限公司 Smart home layout diagram generation method and apparatus and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483563A (en) * 2008-01-07 2009-07-15 海尔集团公司 Control method and system for home network
CN105357298A (en) * 2015-11-05 2016-02-24 西蒙电气(中国)有限公司 Smart home control system
CN109188927A (en) * 2018-10-15 2019-01-11 深圳市欧瑞博科技有限公司 Appliance control method, device, gateway and storage medium
US10462881B1 (en) * 2016-04-15 2019-10-29 Eaton Intelligent Power Limited Quick setup of lighting control system
CN209982798U (en) * 2019-03-21 2020-01-21 深圳市酷搏创新科技有限公司 Intelligent lighting system and Internet of things system
CN111543122A (en) * 2017-10-17 2020-08-14 昕诺飞控股有限公司 Method and system for controlling functions of lighting device from portable electronic device
CN111885170A (en) * 2020-07-23 2020-11-03 平安科技(深圳)有限公司 Processing method and system of Internet of things control system, cloud server and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483563A (en) * 2008-01-07 2009-07-15 海尔集团公司 Control method and system for home network
CN105357298A (en) * 2015-11-05 2016-02-24 西蒙电气(中国)有限公司 Smart home control system
US10462881B1 (en) * 2016-04-15 2019-10-29 Eaton Intelligent Power Limited Quick setup of lighting control system
CN111543122A (en) * 2017-10-17 2020-08-14 昕诺飞控股有限公司 Method and system for controlling functions of lighting device from portable electronic device
CN109188927A (en) * 2018-10-15 2019-01-11 深圳市欧瑞博科技有限公司 Appliance control method, device, gateway and storage medium
CN209982798U (en) * 2019-03-21 2020-01-21 深圳市酷搏创新科技有限公司 Intelligent lighting system and Internet of things system
CN111885170A (en) * 2020-07-23 2020-11-03 平安科技(深圳)有限公司 Processing method and system of Internet of things control system, cloud server and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023124076A1 (en) * 2021-12-28 2023-07-06 中兴通讯股份有限公司 Smart home layout diagram generation method and apparatus and computer readable storage medium
CN114339621A (en) * 2021-12-30 2022-04-12 上海庆科信息技术有限公司 Method and device for controlling Bluetooth mesh network equipment and electronic device

Also Published As

Publication number Publication date
CN113286313B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN113286313B (en) Hardware equipment layout method and device
US11428430B2 (en) Air conditioning system having multiple outdoor units and multiple indoor units, method and device for operating air conditioning system
US8437276B2 (en) Control systems, commissioning tools, configuration adapters and method for wireless and wired networks design, installation and automatic formation
JP6242396B2 (en) Immediate commissioning of lighting control systems
CN102625554B (en) Distributed DALI (Digital Addressable Lighting Interface) lighting control system and method thereof
CN109565456A (en) The system and method for equipment standalone scenario are utilized in smart home environment
CN111885144B (en) Equipment binding method and device
WO2022099833A1 (en) Bluetooth address allocation method for smart lamp, computer apparatus, and computer readable storage medium
CN104155929A (en) Stage performance scheduling device
CN111641997B (en) Equipment network access method and device based on Bluetooth Mesh network, and storage medium
KR20090019827A (en) Lighting system with linked groups
CN105960829B (en) Zigbee optical link network debugging
CN104090548A (en) Stage performance scheduling method
CN106717127A (en) Control installation for a lighting system and method for configuring and putting into service said control installation
CN111913402A (en) Smart home batch configuration method, device and system and electronic equipment
CN102710809B (en) Address distribution method
CN111866856B (en) Mesh device control method and system, storage medium and electronic device
US20210297483A1 (en) Discovery and configuration of iot devices
CN108200681A (en) Intelligent lighting controls method, equipment and system
CN102694882B (en) The group address distribution method of smart machine in intelligent home network
CN110312356A (en) A kind of intelligent lighting system and its control method
CN111742610A (en) Debugging method and device using controlled joining mode
CN115576231A (en) Control method, system, device, electronic apparatus, storage medium, and program product
CN111556119B (en) Device information changing method and related device
CN114785628A (en) Whole-house intelligent equipment group control method, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant