WO2022002173A1 - Intelligent device networking method and apparatus, and intelligent device control system and method - Google Patents

Intelligent device networking method and apparatus, and intelligent device control system and method Download PDF

Info

Publication number
WO2022002173A1
WO2022002173A1 PCT/CN2021/103911 CN2021103911W WO2022002173A1 WO 2022002173 A1 WO2022002173 A1 WO 2022002173A1 CN 2021103911 W CN2021103911 W CN 2021103911W WO 2022002173 A1 WO2022002173 A1 WO 2022002173A1
Authority
WO
WIPO (PCT)
Prior art keywords
slot
network
target
information
smart device
Prior art date
Application number
PCT/CN2021/103911
Other languages
French (fr)
Chinese (zh)
Inventor
田玉祺
Original Assignee
青岛易来智能科技股份有限公司
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 青岛易来智能科技股份有限公司 filed Critical 青岛易来智能科技股份有限公司
Publication of WO2022002173A1 publication Critical patent/WO2022002173A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • 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/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to the field of intelligent equipment management, in particular to a method and device for accessing a network of intelligent equipment, and a control system for intelligent equipment.
  • Smart home is to connect various electrical equipment in the home through the Internet of Things technology, and manage and control these equipment through software to realize equipment automation and intelligence.
  • gateways gateways, devices, servers (on-premises or in the cloud), apps.
  • the gateway is the manager of all devices. It communicates with the server through the wired or wifi network, and communicates with the device through the Bluetooth mesh protocol.
  • the app is used by people, used to control the device, and also used to discover the device to make it connect to the network, communicate with the gateway through the Bluetooth mesh protocol, and communicate with the server through the TCP protocol.
  • the purpose of the present invention is to provide a network access method, device, and intelligent device control system and method for smart devices, so as to solve the problems of complicated network access steps and low consistency when replacing smart devices.
  • the present invention provides a method for accessing a network of an intelligent device, including:
  • the binding the target slot in the slot information with the smart device to be connected to the network includes:
  • the target slot When the target slot has been bound with other devices, the target slot is unbound from the currently bound device and bound with the smart device to be connected to the network.
  • the binding the target slot in the slot information with the smart device to be connected to the network includes:
  • the target slot is bound with the intelligent device to be connected to the network.
  • the identification information is Bluetooth mesh network address information.
  • An intelligent device network access device comprising:
  • the acquisition module is used to acquire the slot information and the identification information of the intelligent device to be connected to the network;
  • a binding module configured to bind the target slot in the slot information with the intelligent device to be connected to the network
  • the sending module is used to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, so that the smart device network can control according to the feature information of the target slot
  • the smart device to be connected that has already been connected to the network.
  • the binding module further includes:
  • a judging unit for judging whether the target slot has been bound with other devices
  • the direct binding unit is configured to unbind the target slot from the currently bound device and bind it to the intelligent device to be connected to the network when the target slot has been bound with other devices.
  • the binding module further includes:
  • a judging unit for judging whether the target slot has been bound with other devices
  • an unbinding information sending unit configured to send unbinding judgment information when the target slot has been bound with other devices
  • a positive unbinding unit configured to unbind the target slot from the currently bound device and bind the intelligent device to be connected to the network when the unbinding confirmation information is received;
  • a negative unbinding unit configured to bind the target slot with the intelligent device to be connected to the network when receiving non-unbinding confirmation information.
  • the sending module further includes:
  • the Bluetooth mesh network unit is used for sending the feature information of the target slot and the identification information to the intelligent device network; the identification information is Bluetooth mesh network address information.
  • a smart device network access device comprising:
  • the processor is configured to implement the steps of any one of the above-mentioned methods for accessing a network of a smart device when executing the computer program.
  • a computer-readable storage medium where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of any of the above-mentioned methods for accessing a network of a smart device.
  • An intelligent device control system including a control terminal, a server and an intelligent device;
  • the server is provided with virtual slots
  • the smart device is bound to the virtual slot
  • the control terminal controls the smart device through the virtual slot.
  • the server includes a slot table
  • the slot table includes feature information of a plurality of virtual slots and identification information of the corresponding bound smart devices.
  • the slot table further includes location information of the smart device corresponding to the feature information of the virtual slot.
  • the intelligent device control system it is characterized in that, it also includes a gateway;
  • the gateway is respectively connected in communication with the server, the control terminal and the smart device, and the gateway stores the binding relationship between the smart device and the virtual slot.
  • a smart device control method comprising:
  • the smart device control instruction is sent to the target smart device according to the network address, so as to control the target smart device.
  • the method after receiving the smart device control instruction, the method further includes:
  • the intelligent device control instruction When the intelligent device control instruction does not include the network address, determine the network address through a preset slot-address relationship set according to the feature information;
  • the corresponding relationship between the target virtual slot and the network address is added to the slot-address relationship set as a new set of slot-address relationships;
  • the corresponding relationship between the target virtual slot and the network address is used as a new set of slot-address relationship to replace the target virtual slot in the slot-address relationship set Bit-corresponding slot-address relationship.
  • the method for accessing a network of an intelligent device obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target
  • the feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot.
  • the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network.
  • the control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled.
  • the consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
  • the present invention also provides a smart device network access device, device, computer-readable storage medium, and smart device control system and method with the above beneficial effects.
  • FIG. 1 is a schematic flowchart of a specific implementation manner of a method for accessing a network of a smart device provided by the present invention
  • FIG. 2 is a schematic flowchart of another specific implementation manner of a method for accessing a network of a smart device provided by the present invention
  • FIG. 3 is a schematic flowchart of another specific implementation manner of a method for accessing a network of a smart device provided by the present invention.
  • FIG. 4 is a schematic structural diagram of a specific implementation manner of an apparatus for accessing a network of a smart device provided by the present invention
  • FIG. 5 is a schematic diagram of a communication interaction mode between a smart device and an external network
  • FIG. 6 is a schematic structural diagram of a specific implementation manner of an intelligent device control system provided by the present invention.
  • FIG. 7 is a schematic flowchart of a specific implementation manner of a method for controlling a smart device provided by the present invention.
  • the core of the present invention is to provide a method for accessing a network of an intelligent device, and a schematic flowchart of a specific implementation of the method is shown in FIG.
  • S101 Acquire slot information and identification information of a smart device to be connected to a network.
  • S102 Bind the target slot in the slot information with the intelligent device to be connected to the network.
  • the target slot may be automatically selected by the system or manually selected, and the binding instructs the external network to be transmitted to the intelligent device to be connected to the network through the target slot.
  • S103 Send the feature information of the target slot and the identification information to the smart device network to complete the network access of the smart device, so that the smart device network can control the network access based on the feature information of the target slot
  • the intelligent device to be connected to the network.
  • the identification information is Bluetooth mesh network address information; the external network sends an instruction to the intelligent device to be connected to the network according to the Bluetooth mesh network address information.
  • the identification information is limited to the Bluetooth mesh network address information, and further is the low-power Bluetooth mesh network address information. Using the Bluetooth mesh network connection, the power consumption is low, the connection is stable, and the stability of the system can be greatly improved.
  • the binding relationship information between the slot information and the smart device may be established and stored in the server in the form of a slot table.
  • the smart device network may be a smart home network, a smart lighting network, or a smart industrial Internet of Things, etc.
  • the virtual slot in the present invention refers to a preset signal sending object, not a physical "slot".
  • the processor directly sends a control instruction to the device through the device number, but in this application
  • the processor sends a control command to the virtual slot, and other devices in the same system can obtain the device information bound to it through the virtual slot, and can send the control command to the virtual slot.
  • the command is forwarded to the corresponding device.
  • the identification information is information corresponding to the intelligent devices to be connected to the network one-to-one, except that the Bluetooth mesh network address information is used as the identification information to determine the device to be connected to the network as described above.
  • the information may also be the device ID of the smart device; the feature information of the target slot may also be information corresponding to the target slot one-to-one, which may be slot ID information.
  • the smart device network may include a gateway, a server, a control terminal (such as a smart mobile terminal, a tablet computer, a smart screen, etc.) and a smart device, wherein the gateway, the control terminal and the smart device support at least the same short distance Wireless communication protocol, for example, the communication between the smart device and the gateway and the control terminal can be realized through Bluetooth or WIFI, and the communication between the gateway, the control terminal and the server can be realized through the TCP protocol.
  • Communication devices such as modems, routers, and CPEs are set up between the gateway and the local server according to the situation.
  • the server may be a remote server or a local server, or both a remote server and a local server may exist.
  • the gateway may be an independent gateway device, or may be integrated in other devices.
  • the smart devices can be smart lamps, smart fans, smart electric curtains, smart cat's eyes and other smart devices; they can also be other smart industrial devices and the like.
  • the control terminal obtains all the pre-initialized slot information on the server; 2 the control terminal Discover the smart device through the Bluetooth mesh network, establish a connection with it, obtain identification information such as the ID information and/or MAC address information of the device, and the ID information of the selected slot in the APP, and send both to the server to indicate The server performs the binding operation; 3 After the server receives the binding instruction, it will bind the selected slot with the smart device, generate the Bluetooth mesh network address of the smart device, and save it on the server. Further, the server binds the smart device to the smart device.
  • the slot ID information of the slot location and the network address of the smart device and other related information are respectively sent to the gateway and the control terminal through the network; 4
  • the control terminal sends the slot ID information and network address in step 3 to the smart device and saves it.
  • the network access operation of the smart device is completed, and then the management and control of the smart device can be represented and implemented through the slot bound to it.
  • the binding relationship between slots and smart devices corresponds one-to-one.
  • the smart device can also be connected to the network in automatic mode. After the smart device is powered on, the system will bind the smart device to an empty slot if it finds a new device that has not been connected to the network.
  • the method for accessing a network of an intelligent device obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target
  • the feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot.
  • the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network.
  • the control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled.
  • the consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
  • S201 Acquire slot information and identification information of a smart device to be connected to a network.
  • S202 Determine whether the target slot has been bound with other devices.
  • S204 Send the feature information of the target slot and the identification information to the smart device network, and complete the network access of the smart device, so that the smart device network can control the network access according to the feature information of the target slot
  • the intelligent device to be connected to the network.
  • the corresponding operation steps for judging that the target slot has been bound with other devices are added. If the target slot is currently bound with other devices, the target slot will be automatically unbound first. , restore the idle state, and then bind with the intelligent device to be connected to the network to avoid program errors caused by rebinding when the slot and the device only support one-to-one binding, and improve the overall operational reliability and stability of the system .
  • FIG. 3 The schematic flowchart is shown in FIG. 3 , including:
  • S301 Acquire slot information and identification information of a smart device to be connected to a network.
  • S302 Determine whether the target slot has been bound with other devices.
  • the target slot is bound with the intelligent device to be connected to the network.
  • S305 Send the feature information of the target slot and the identification information to the smart device network to complete the network access of the smart device, so that the smart device network can control the network access based on the feature information of the target slot
  • the intelligent device to be connected to the network.
  • the reply information of the unbinding judgment information that is, a message is sent to remind the staff or the upper-level network that the target slot has been Occupied, and asked whether it is necessary to unbind the target slot first, restore the idle state, and then bind with the intelligent device to be connected to the network to avoid program errors in the case of one-to-one between the slot and the device.
  • the confirmation information is bound, it is the situation that needs to be unbound first; of course, on the other hand, if there is a one-to-many relationship between the slot and the device in the system, that is, the same slot can be bound to multiple devices, it is also When the operator or the upper-level network selects No (that is, when the non-unbinding confirmation information is received), the target slot can be directly bound with the intelligent device to be connected to the network, so that the external network can pass through all The target slot is used to control multiple devices.
  • the following describes an apparatus for accessing a network of a smart device provided by an embodiment of the present invention.
  • the apparatus for accessing a network for a smart device described below and the method for accessing a network for a smart device described above may refer to each other correspondingly.
  • FIG. 4 is a structural block diagram of an apparatus for accessing a network of a smart device provided by an embodiment of the present invention, which is referred to as the fourth specific embodiment.
  • the apparatus for accessing a network for a smart device may include:
  • an acquisition module 100 configured to acquire slot information and identification information of the intelligent device to be connected to the network
  • a binding module 200 configured to bind the target slot in the slot information with the intelligent device to be connected to the network
  • the sending module 300 is configured to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, so that the smart device network can be based on the feature information of the target slot.
  • the intelligent device to be connected to the network that has already been connected to the network is controlled.
  • the binding module 200 further includes:
  • a judging unit for judging whether the target slot has been bound with other devices
  • the direct binding unit is configured to unbind the target slot from the currently bound device and bind it to the intelligent device to be connected to the network when the target slot has been bound with other devices.
  • the binding module 200 further includes:
  • a judging unit for judging whether the target slot has been bound with other devices
  • an unbinding information sending unit configured to send unbinding judgment information when the target slot has been bound with other devices
  • a positive unbinding unit configured to unbind the target slot from the currently bound device and bind the intelligent device to be connected to the network when the unbinding confirmation information is received;
  • a negative unbinding unit configured to bind the target slot with the intelligent device to be connected to the network when receiving non-unbinding confirmation information.
  • the sending module 300 further includes:
  • the Bluetooth mesh network unit is used for sending the feature information of the target slot and the identification information to the intelligent device network; the identification information is Bluetooth mesh network address information.
  • the acquisition module 100 is used to acquire slot information and the identification information of the smart device to be connected to the network
  • the binding module 200 is used to associate the target slot in the slot information with the The smart device to be connected to the network is bound
  • the sending module 300 is configured to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, and enable the smart device network to The feature information of the target slot controls the intelligent device to be connected to the network that has already been connected to the network.
  • the intelligent device to be connected to the network when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network.
  • the control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled.
  • the consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
  • the device for accessing a network for a smart device in this embodiment is used to implement the aforementioned method for accessing a network for a smart device. Therefore, the specific implementation of the device for accessing a network for a smart device can be found in the embodiment part of the method for accessing a network for a smart device in the foregoing, for example, the acquisition module 100, the binding module 200.
  • the sending module 300 is respectively used to implement steps S101, S102 and S103 in the above method for accessing a network of a smart device. Therefore, the specific implementation can refer to the descriptions of the corresponding partial embodiments, which will not be repeated here.
  • the present invention also provides a control system for an intelligent device 03, and a schematic structural diagram of a specific implementation of the system is shown in FIG.
  • the server 02 is provided with virtual slots
  • the smart device 03 is bound to the virtual slot
  • the control terminal 01 controls the smart device 03 through the virtual slot.
  • This specific embodiment provides a control system for a smart device 03, wherein the control terminal 01 can be a mobile application (APP) or a server 02. Similarly, the virtual slot is set in the server 02. .
  • APP mobile application
  • server 02. a server 02.
  • the smart device 03 and the virtual slot are bound to each other, that is, each of the smart devices 03 has a unique virtual slot corresponding to it, and the control terminal 01 only needs to know the smart devices that need to issue control instructions.
  • 03 corresponding virtual slot control information can be sent to it; the device key can be the device ID information set when the device leaves the factory.
  • the server 02 includes a slot table
  • the slot table includes feature information of a plurality of the virtual slots and identification information of the corresponding bound smart device 03 .
  • the slot table further includes location information of the smart device 03 corresponding to the feature information of the virtual slot.
  • the control terminal 01 can first generate a slot table including virtual slots in the room according to the location information, and then send the The virtual slot in the slot table sends the corresponding control command.
  • the user sends a control command to the controlled smart device 03 from the control terminal 01 through interactive control methods such as a graphical interface or voice
  • the control terminal 01 sends the control information containing the virtual slot ID information (that is, the feature information above) corresponding to the controlled intelligent device 03 to the server 02, and the server 02 forwards the control information to the gateway.
  • the slot ID information obtains the corresponding network address, and then controls the smart device 03 through the network address; when the server 02 is offline, the control terminal 01 directly sends the control information to the gateway through the wireless network, and the gateway is based on the virtual slot.
  • the ID information obtains the corresponding network address, and then controls the smart device 03 through the network address.
  • the server 02 is the cloud server 02 and/or the local server 02 .
  • Communication devices such as modems, routers, and CPEs are set up between the gateway and the server 02 according to the situation.
  • the smart device 03 may be a smart device 03 such as a smart lamp, a smart electric curtain, a smart cat's eye, or other smart industrial devices.
  • all control signals for the smart device 03 are sent to the virtual slot, and then the devices in the smart device 03 network are used to determine the smart device corresponding to the virtual slot 03 identification information, thereby determining the intelligent device 03 that needs to perform the operation, and realizing that when a device is connected to the network or replaced, only the binding relationship between the device and the virtual slot needs to be changed, and the parameters inside the control terminal 01 need not be modified.
  • the relationship between the room and the device, the relationship between the scene and the device, the relationship between the time-triggered task and the device, etc. stored in the control terminal 01 in the prior art are stored in the control terminal 01.
  • the relationship between the room and the virtual slot is used.
  • the relationship between the scene and the virtual slot, the relationship between the timing trigger task and the virtual slot, and all device control and information storage can be represented and implemented through the virtual slot.
  • the device management software that is, the control terminal 01
  • the device management software only needs to operate the virtual slot to achieve the purpose of operating the device, and when the device fails and needs to be replaced, it only needs to replace the virtual slot and the binding of the unique device identifier.
  • the relationship can be determined without operating the entire system, and the maintenance is simple and easy to use.
  • the present invention also provides a method for controlling an intelligent device, and a schematic flowchart of a specific implementation of the method is shown in FIG. 7 , which is referred to as the sixth specific implementation, including:
  • S601 Receive a smart device control instruction, where the smart device control instruction includes feature information of a target virtual slot.
  • S602 Determine the network address through a preset slot-address relationship set according to the feature information.
  • This specific embodiment can be implemented by the gateway in the smart device control system described above. Further, the corresponding relationship between the feature information of the virtual slot and the network address can be stored in the gateway in advance, which simplifies the operation process; it should be noted that the corresponding relationship between the network addresses of the smart devices that have entered the network It is also unique and deterministic, so as long as the corresponding relationship between the smart device and the virtual slot is known, the corresponding relationship between the target virtual slot and the network address, that is, the slot-address relationship, can be obtained.
  • the set of slot-address relationships is the set of slot-address relationships.
  • S603 Send the smart device control instruction to the target smart device according to the network address, so as to implement the control on the target smart device.
  • the method further includes:
  • the intelligent device control instruction When the intelligent device control instruction does not include the network address, determine the network address through a preset slot-address relationship set according to the feature information;
  • the corresponding relationship between the target virtual slot and the network address is added to the slot-address relationship set as a new set of slot-address relationships;
  • the corresponding relationship between the target virtual slot and the network address is used as a new set of slot-address relationship to replace the target virtual slot in the slot-address relationship set Bit-corresponding slot-address relationship.
  • a step of judging whether the intelligent device control instruction includes the network address corresponding to the target virtual slot is added.
  • the feature information finds the corresponding network address in the existing slot-address relationship; if it is included, it means that the existing slot-address relationship set needs to be updated, and the update is divided into two situations, one is that the slot- The network address corresponding to the virtual slot existing in the address relationship set needs to be updated, and the other is to add a new virtual slot and corresponding network address to the slot-address relationship set, respectively corresponding to the above two situations.
  • the smart device control method provided by the present invention receives a smart device control command, the smart device control command includes feature information of a target virtual slot; according to the feature information, a preset slot-address relationship set is used to determine the the network address; according to the network address, the smart device control instruction is sent to the target smart device to control the target smart device.
  • the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network.
  • the control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled.
  • the present invention also provides an intelligent device network access device, comprising:
  • the memory is used to store the computer program; the processor is used to realize the steps of any of the above-mentioned smart device network access methods when executing the computer program, and the specific steps are as described in the aforementioned smart device network access method, in This will not be repeated here.
  • the method for accessing a network of an intelligent device obtaineds the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target The feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot. .
  • the intelligent device to be connected to the network when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network.
  • the control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled.
  • the consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
  • the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for accessing a network of a smart device are implemented , and the specific steps are as described in the foregoing method for accessing the network of a smart device, which will not be repeated here.
  • the method for accessing a network of an intelligent device obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target
  • the feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot.
  • the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network.
  • the control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled.
  • the consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
  • a software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An intelligent device networking method and apparatus, and an intelligent device control system. The method comprises: acquiring slot position information, and identification information of an intelligent device to be networked; binding a target slot position in the slot position information with said intelligent device; and sending feature information of the target slot position and the identification information to an intelligent device network to complete networking of the intelligent device, such that the intelligent device network can control, according to the feature information of the target slot position, said intelligent device which has been networked. In the present invention, the intelligent device to be networked is bound with a virtualized slot position, and the control over said intelligent device in the whole system turns into the control over the slot position, thereby greatly simplifying a device replacement flow, improving the consistency and stability of the system, and avoiding failures of some functions caused by missing deletion and missing filling in.

Description

一种智能设备入网方法、装置及智能设备控制系统、方法A kind of intelligent equipment network access method, device and intelligent equipment control system and method
本申请要求于2020年07月01日提交中国专利局、申请号为202010620096.7、发明名称为“一种智能设备入网方法、装置及智能设备控制系统、方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on July 1, 2020, the application number is 202010620096.7, and the invention name is "A method, device and intelligent equipment control system and method for intelligent equipment", all of which are The contents are incorporated herein by reference.
技术领域technical field
本发明涉及智能设备管理领域,特别是涉及一种智能设备入网方法、装置及智能设备控制系统。The present invention relates to the field of intelligent equipment management, in particular to a method and device for accessing a network of intelligent equipment, and a control system for intelligent equipment.
背景技术Background technique
智能家居,是通过物联网技术将家中的各种电器设备连接在一起,通过软件来管理和控制这些设备,实现设备自动化、智能化。智能家居中有几个重要元素:网关、设备、服务器(本地或云端)、app。网关是所有设备的管理者,通过有线或wifi网络与服务器进行上行通信,通过蓝牙mesh协议与设备进行下行通信。app是给人使用的,用来控制设备,也用来发现设备使其入网,通过蓝牙mesh协议与网关进行交互通信,通过TCP协议与服务器进行交互通信。Smart home is to connect various electrical equipment in the home through the Internet of Things technology, and manage and control these equipment through software to realize equipment automation and intelligence. There are several important elements in a smart home: gateways, devices, servers (on-premises or in the cloud), apps. The gateway is the manager of all devices. It communicates with the server through the wired or wifi network, and communicates with the device through the Bluetooth mesh protocol. The app is used by people, used to control the device, and also used to discover the device to make it connect to the network, communicate with the gateway through the Bluetooth mesh protocol, and communicate with the server through the TCP protocol.
用户拿到一个新的智能设备,想要智能控制时,就必须进行一个初始化的过程,一般称之为入网。入网的过程,在网关、服务器和app写入了大量该设备信息(通常为该设备出厂时的唯一识别码),使三者能识别和控制该设备。一旦设备发生故障,需要替换成新的时,传统的方式通常是先删除网关、服务器和app中所有该设备相关的所有信息,再将新设备重新入网,即重新在网关、服务器和app中添加新设备的识别码。删除过程复杂,覆盖全系统,且一致性很难保证,经常出现漏删、漏填等情况,导致后续使用时部分功能失灵,使系统稳定性下降。When a user gets a new smart device and wants to control it intelligently, he must go through an initialization process, which is generally called network access. In the process of accessing the network, a lot of information about the device (usually the unique identification code when the device leaves the factory) is written in the gateway, server and app, so that the three can identify and control the device. Once a device fails and needs to be replaced with a new one, the traditional method is usually to delete all the information related to the device in the gateway, server and app, and then reconnect the new device to the network, that is, add the gateway, server and app again. The ID of the new device. The deletion process is complex, covering the entire system, and consistency is difficult to guarantee. Occasions such as missing deletions and missing fillings often occur, resulting in failure of some functions during subsequent use, which reduces the stability of the system.
因此,如何保证智能设备替换时的系统一致性,避免只有系统内的部分功能模块替换成了新的设备的识别码,而另一部分功能模块由于漏删、漏填导致功能失灵,同时简化设备入网步骤,是本领域技术人员亟待解决 的问题。Therefore, how to ensure the system consistency when replacing smart devices, avoid that only some functional modules in the system are replaced with the identification codes of new devices, while other functional modules fail due to omissions and omissions, while simplifying device access to the network The steps are an urgent problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种智能设备入网方法、装置及智能设备控制系统、方法,以解决智能设备进行替换时入网步骤繁琐、一致性低的问题。The purpose of the present invention is to provide a network access method, device, and intelligent device control system and method for smart devices, so as to solve the problems of complicated network access steps and low consistency when replacing smart devices.
为解决上述技术问题,本发明提供一种智能设备入网方法,包括:In order to solve the above-mentioned technical problems, the present invention provides a method for accessing a network of an intelligent device, including:
获取槽位信息和待入网智能设备的标识信息;Obtain the slot information and the identification information of the intelligent device to be connected to the network;
将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;Binding the target slot in the slot information with the intelligent device to be connected to the network;
将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。Send the feature information of the target slot and the identification information to the smart device network to complete the network access of the smart device, so that the smart device network can control the network access according to the feature information of the target slot. A smart device waiting to be connected to the network.
可选地,在所述的智能设备入网方法中,所述将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定包括:Optionally, in the network access method for a smart device, the binding the target slot in the slot information with the smart device to be connected to the network includes:
判断所述目标槽位是否已经与其它设备绑定;Determine whether the target slot has been bound with other devices;
当所述目标槽位已经与其它设备绑定时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定。When the target slot has been bound with other devices, the target slot is unbound from the currently bound device and bound with the smart device to be connected to the network.
可选地,在所述的智能设备入网方法中,所述将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定包括:Optionally, in the network access method for a smart device, the binding the target slot in the slot information with the smart device to be connected to the network includes:
判断所述目标槽位是否已经与其它设备绑定;Determine whether the target slot has been bound with other devices;
当所述目标槽位已经与其它设备绑定时,发送解绑判断信息;When the target slot has been bound with other devices, send unbinding judgment information;
当收到解绑确认信息时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定;When receiving the unbinding confirmation information, unbind the target slot from the currently bound device and bind it with the intelligent device to be connected to the network;
当收到非解绑确认信息时,将所述目标槽位与所述待入网智能设备绑定。When the non-unbinding confirmation information is received, the target slot is bound with the intelligent device to be connected to the network.
可选地,在所述的智能设备入网方法中,所述标识信息为蓝牙mesh网络地址信息。Optionally, in the method for accessing a network of a smart device, the identification information is Bluetooth mesh network address information.
一种智能设备入网装置,包括:An intelligent device network access device, comprising:
获取模块,用于获取槽位信息和待入网智能设备的标识信息;The acquisition module is used to acquire the slot information and the identification information of the intelligent device to be connected to the network;
绑定模块,用于将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;a binding module, configured to bind the target slot in the slot information with the intelligent device to be connected to the network;
发送模块,用于将所述目标槽位的特征信息和所述标识信息发送至智 能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。The sending module is used to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, so that the smart device network can control according to the feature information of the target slot The smart device to be connected that has already been connected to the network.
可选地,在所述的智能设备入网装置中,所述绑定模块还包括:Optionally, in the smart device network access device, the binding module further includes:
判断单元,用于判断所述目标槽位是否已经与其它设备绑定;a judging unit for judging whether the target slot has been bound with other devices;
直绑单元,用于当所述目标槽位已经与其它设备绑定时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定。The direct binding unit is configured to unbind the target slot from the currently bound device and bind it to the intelligent device to be connected to the network when the target slot has been bound with other devices.
可选地,在所述的智能设备入网装置中,所述绑定模块还包括:Optionally, in the smart device network access device, the binding module further includes:
判断单元,用于判断所述目标槽位是否已经与其它设备绑定;a judging unit for judging whether the target slot has been bound with other devices;
解绑信息发送单元,用于当所述目标槽位已经与其它设备绑定时,发送解绑判断信息;an unbinding information sending unit, configured to send unbinding judgment information when the target slot has been bound with other devices;
肯定解绑单元,用于当收到解绑确认信息时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定;A positive unbinding unit, configured to unbind the target slot from the currently bound device and bind the intelligent device to be connected to the network when the unbinding confirmation information is received;
否定解绑单元,用于当收到非解绑确认信息时,将所述目标槽位与所述待入网智能设备绑定。A negative unbinding unit, configured to bind the target slot with the intelligent device to be connected to the network when receiving non-unbinding confirmation information.
可选地,在所述的智能设备入网装置中,所述发送模块还包括:Optionally, in the smart device network access device, the sending module further includes:
蓝牙mesh网络单元,用于将所述目标槽位的特征信息和所述标识信息发送至智能设备网络;所述标识信息为蓝牙mesh网络地址信息。The Bluetooth mesh network unit is used for sending the feature information of the target slot and the identification information to the intelligent device network; the identification information is Bluetooth mesh network address information.
一种智能设备入网设备,包括:A smart device network access device, comprising:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上述任一种所述的智能设备入网方法的步骤。The processor is configured to implement the steps of any one of the above-mentioned methods for accessing a network of a smart device when executing the computer program.
一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述的智能设备入网方法的步骤。A computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of any of the above-mentioned methods for accessing a network of a smart device.
一种智能设备控制系统,包括控制终端、服务器及智能设备;An intelligent device control system, including a control terminal, a server and an intelligent device;
所述服务器中设置有虚拟槽位;The server is provided with virtual slots;
所述智能设备与所述虚拟槽位绑定;the smart device is bound to the virtual slot;
所述控制终端通过所述虚拟槽位控制所述智能设备。The control terminal controls the smart device through the virtual slot.
可选地,在所述的智能设备控制系统中,所述服务器包括槽位表;Optionally, in the intelligent device control system, the server includes a slot table;
所述槽位表包括多个所述虚拟槽位的特征信息及对应绑定的智能设备 的标识信息。The slot table includes feature information of a plurality of virtual slots and identification information of the corresponding bound smart devices.
可选地,在所述的智能设备控制系统中,所述槽位表还包括与所述虚拟槽位的特征信息对应的智能设备的位置信息。Optionally, in the smart device control system, the slot table further includes location information of the smart device corresponding to the feature information of the virtual slot.
可选地,在所述的智能设备控制系统中,其特征在于,还包括网关;Optionally, in the intelligent device control system, it is characterized in that, it also includes a gateway;
所述网关分别与所述服务器、所述控制终端、所述智能设备通信连接,所述网关中存储有所述智能设备与所述虚拟槽位的绑定关系。The gateway is respectively connected in communication with the server, the control terminal and the smart device, and the gateway stores the binding relationship between the smart device and the virtual slot.
一种智能设备控制方法,包括:A smart device control method, comprising:
接收智能设备控制指令,所述智能设备控制指令包括目标虚拟槽位的特征信息;receiving an intelligent device control instruction, where the intelligent device control instruction includes feature information of the target virtual slot;
根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址;According to the feature information, determine the network address through a preset slot-address relationship set;
根据所述网络地址将所述智能设备控制指令发送至目标智能设备,实现对所述目标智能设备的控制。The smart device control instruction is sent to the target smart device according to the network address, so as to control the target smart device.
在所述的智能设备控制方法中,在接收智能设备控制指令之后,还包括:In the smart device control method, after receiving the smart device control instruction, the method further includes:
判断所述智能设备控制指令是否包括所述目标虚拟槽位对应的网络地址;Determine whether the intelligent device control instruction includes the network address corresponding to the target virtual slot;
当所述智能设备控制指令不包括所述网络地址时,根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址;When the intelligent device control instruction does not include the network address, determine the network address through a preset slot-address relationship set according to the feature information;
当所述智能设备控制指令包括所述网络地址时,判断所述槽位-地址关系集合是否包括所述目标虚拟槽位;When the intelligent device control instruction includes the network address, determine whether the slot-address relationship set includes the target virtual slot;
当不包括所述目标虚拟槽位时,将所述目标虚拟槽位与所述网络地址的对应关系作为一组新的槽位-地址关系添加进所述槽位-地址关系集合;When the target virtual slot is not included, the corresponding relationship between the target virtual slot and the network address is added to the slot-address relationship set as a new set of slot-address relationships;
当包括所述目标虚拟槽位时,将所述目标虚拟槽位与所述网络地址的对应关系作为一组新的槽位-地址关系替换所述槽位-地址关系集合中所述目标虚拟槽位对应的槽位-地址关系。When the target virtual slot is included, the corresponding relationship between the target virtual slot and the network address is used as a new set of slot-address relationship to replace the target virtual slot in the slot-address relationship set Bit-corresponding slot-address relationship.
本发明所提供的智能设备入网方法,通过获取槽位信息和待入网智能设备的标识信息;将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特 征信息控制已入网的所述待入网智能设备。本发明在设备入网时,将所述待入网智能设备与一个虚拟化的槽位绑定,同时通过网络将槽位对应的地址信息分别写入网关、app和服务器等外部设备,那么整个系统中对所述待入网智能设备的控制就变成了对所述槽位的控制,只要槽位不发生变更,无论设备怎么变化,都可以将其控制。替换设备时,只要选中旧设备绑定的槽位,在服务器上绑定新的设备即可,无需覆写网关、app和服务器等外部设备上的信息,大大简化了设备替换的流程,同时也提高了系统的一致性与稳定性,避免了由于漏删漏填导致的部分功能失灵。本发明同时还提供了一种具有上述有益效果的智能设备入网装置、设备、计算机可读存储介质及智能设备控制系统、方法。The method for accessing a network of an intelligent device provided by the present invention obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target The feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot. . In the present invention, when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network. The control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled. When replacing a device, you only need to select the slot bound to the old device and bind the new device to the server. There is no need to overwrite the information on external devices such as gateways, apps, and servers, which greatly simplifies the process of device replacement. The consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided. The present invention also provides a smart device network access device, device, computer-readable storage medium, and smart device control system and method with the above beneficial effects.
附图说明Description of drawings
为了更清楚的说明本发明实施例或现有技术的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following will briefly introduce the accompanying drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明提供的智能设备入网方法的一种具体实施方式的流程示意图;1 is a schematic flowchart of a specific implementation manner of a method for accessing a network of a smart device provided by the present invention;
图2为本发明提供的智能设备入网方法的另一种具体实施方式的流程示意图;2 is a schematic flowchart of another specific implementation manner of a method for accessing a network of a smart device provided by the present invention;
图3为本发明提供的智能设备入网方法的又一种具体实施方式的流程示意图;3 is a schematic flowchart of another specific implementation manner of a method for accessing a network of a smart device provided by the present invention;
图4为本发明提供的智能设备入网装置的一种具体实施方式的结构示意图;4 is a schematic structural diagram of a specific implementation manner of an apparatus for accessing a network of a smart device provided by the present invention;
图5为智能设备与外部网络间的通信交互方式示意图;5 is a schematic diagram of a communication interaction mode between a smart device and an external network;
图6为本发明提供的智能设备控制系统的一种具体实施方式的结构示意图;6 is a schematic structural diagram of a specific implementation manner of an intelligent device control system provided by the present invention;
图7为本发明提供的智能设备控制方法的一种具体实施方式的流程示意图。FIG. 7 is a schematic flowchart of a specific implementation manner of a method for controlling a smart device provided by the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make those skilled in the art better understand the solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明的核心是提供一种智能设备入网方法,其一种具体实施方式的流程示意图如图1所示,称其为具体实施方式一,包括:The core of the present invention is to provide a method for accessing a network of an intelligent device, and a schematic flowchart of a specific implementation of the method is shown in FIG.
S101:获取槽位信息和待入网智能设备的标识信息。S101: Acquire slot information and identification information of a smart device to be connected to a network.
S102:将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定。S102: Bind the target slot in the slot information with the intelligent device to be connected to the network.
所述目标槽位可由系统自动选择,也可为人工手动选择的,所述绑定指使外部网络的指令能通过所述目标槽位传递给所述待入网智能设备。The target slot may be automatically selected by the system or manually selected, and the binding instructs the external network to be transmitted to the intelligent device to be connected to the network through the target slot.
S103:将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。S103: Send the feature information of the target slot and the identification information to the smart device network to complete the network access of the smart device, so that the smart device network can control the network access based on the feature information of the target slot The intelligent device to be connected to the network.
更进一步地,所述标识信息为蓝牙mesh网络地址信息;所述外部网络根据所述蓝牙mesh网络地址信息对所述待入网智能设备发送指令。限定所述标识信息为蓝牙mesh网络地址信息,更进一步地为低功耗蓝牙网状网络地址信息,采用蓝牙mesh网络连接,功耗低,连接稳定,可大大提升系统的稳定性。Further, the identification information is Bluetooth mesh network address information; the external network sends an instruction to the intelligent device to be connected to the network according to the Bluetooth mesh network address information. The identification information is limited to the Bluetooth mesh network address information, and further is the low-power Bluetooth mesh network address information. Using the Bluetooth mesh network connection, the power consumption is low, the connection is stable, and the stability of the system can be greatly improved.
所述槽位信息与智能设备的绑定关系信息可通过槽位表的形式建立并存储于服务器中。The binding relationship information between the slot information and the smart device may be established and stored in the server in the form of a slot table.
所述智能设备网络可以是智能家居网络、智能照明网络或智能工业物联网等。The smart device network may be a smart home network, a smart lighting network, or a smart industrial Internet of Things, etc.
本发明中的虚拟槽位,指一种预先设定好的信号发送对象,并非物理上的“槽位”,现有技术中,处理器直接通过设备编号向设备发送控制指令,而在本申请中,处理器向所述虚拟槽位发送控制指令,处于同一系统中的其余设备通过所述虚拟槽位能得到与之绑定的设备信息,便能将发送到所述虚拟槽位处的控制指令转发给对应的设备。The virtual slot in the present invention refers to a preset signal sending object, not a physical "slot". In the prior art, the processor directly sends a control instruction to the device through the device number, but in this application In the virtual slot, the processor sends a control command to the virtual slot, and other devices in the same system can obtain the device information bound to it through the virtual slot, and can send the control command to the virtual slot. The command is forwarded to the corresponding device.
需要注意的是,所述标识信息为与所述待入网智能设备一一对应的信息,除了如上述使用蓝牙mesh网络地址信息当作所述标识信息确定所述 待入网设备之外,所述标识信息还可为所述智能设备的设备ID;所述目标槽位的特征信息也为与所述目标槽位一一对应的信息,可为槽位ID信息。It should be noted that the identification information is information corresponding to the intelligent devices to be connected to the network one-to-one, except that the Bluetooth mesh network address information is used as the identification information to determine the device to be connected to the network as described above. The information may also be the device ID of the smart device; the feature information of the target slot may also be information corresponding to the target slot one-to-one, which may be slot ID information.
如上所述,所述智能设备网络可包括网关、服务器、控制终端(如智能移动终端、平板电脑、智慧屏等)及智能设备,其中,所述网关、控制终端与智能设备至少支持同一短距无线通信协议,例如智能设备与网关、控制终端之间可通过蓝牙或WIFI实现通信,网关、控制终端与服务器之间可通过TCP协议进行通信,具体的网络中各设备之间的通信方式可参考图5。网关与本地服务器之间根据情况设置调制解调器、路由器、CPE等通信设备。所述服务器可以是远程服务器或本地服务器,也可以同时存在远程服务器和本地服务器。所述网关可以是独立的网关设备,也可以是集成于其它设备中。所述智能设备可以是智能灯具、智能风扇、智能电动窗帘、智能猫眼等智能设备;也可以是其他智能工业设备等。As mentioned above, the smart device network may include a gateway, a server, a control terminal (such as a smart mobile terminal, a tablet computer, a smart screen, etc.) and a smart device, wherein the gateway, the control terminal and the smart device support at least the same short distance Wireless communication protocol, for example, the communication between the smart device and the gateway and the control terminal can be realized through Bluetooth or WIFI, and the communication between the gateway, the control terminal and the server can be realized through the TCP protocol. For the specific communication method between the devices in the network, please refer to Figure 5. Communication devices such as modems, routers, and CPEs are set up between the gateway and the local server according to the situation. The server may be a remote server or a local server, or both a remote server and a local server may exist. The gateway may be an independent gateway device, or may be integrated in other devices. The smart devices can be smart lamps, smart fans, smart electric curtains, smart cat's eyes and other smart devices; they can also be other smart industrial devices and the like.
更进一步地,如图5所示智能家居系统,以通过控制终端APP添加智能设备入网为例,智能设备上电后,①控制终端获取服务器上的已预先初始化的所有槽位信息;②控制终端通过蓝牙mesh网络发现这个智能设备,与其建立连接,获得设备的ID信息和/或MAC地址信息等标识信息,及APP中被选择的槽位的ID信息,将二者一并发送给服务器,指示服务器进行绑定操作;③服务器收到绑定指令后,将被选槽位和智能设备进行绑定,生成智能设备的蓝牙mesh网络地址,并保存在服务器,进一步的,服务器将智能设备已绑定槽位的槽位ID信息和智能设备的网络地址等相关信息通过网络分别发送给网关和控制终端;④控制终端将步骤③中的槽位ID信息和网络地址发送给智能设备并保存。至此完成智能设备的入网操作,之后对该智能设备的管理、控制都可以通过其绑定的槽位来表示和实现。在同一时刻,槽位与智能设备的绑定关系一一对应。此外,也可以通过自动模式对智能设备进行入网,智能设备上电后,系统发现未入网的新设备则将该智能设备与一个空槽位绑定。Further, in the smart home system as shown in Figure 5, taking adding a smart device to the network through the control terminal APP as an example, after the smart device is powered on, ① the control terminal obtains all the pre-initialized slot information on the server; ② the control terminal Discover the smart device through the Bluetooth mesh network, establish a connection with it, obtain identification information such as the ID information and/or MAC address information of the device, and the ID information of the selected slot in the APP, and send both to the server to indicate The server performs the binding operation; ③ After the server receives the binding instruction, it will bind the selected slot with the smart device, generate the Bluetooth mesh network address of the smart device, and save it on the server. Further, the server binds the smart device to the smart device. The slot ID information of the slot location and the network address of the smart device and other related information are respectively sent to the gateway and the control terminal through the network; ④ The control terminal sends the slot ID information and network address in step ③ to the smart device and saves it. At this point, the network access operation of the smart device is completed, and then the management and control of the smart device can be represented and implemented through the slot bound to it. At the same time, the binding relationship between slots and smart devices corresponds one-to-one. In addition, the smart device can also be connected to the network in automatic mode. After the smart device is powered on, the system will bind the smart device to an empty slot if it finds a new device that has not been connected to the network.
本发明所提供的智能设备入网方法,通过获取槽位信息和待入网智能设备的标识信息;将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特 征信息控制已入网的所述待入网智能设备。本发明在设备入网时,将所述待入网智能设备与一个虚拟化的槽位绑定,同时通过网络将槽位对应的地址信息分别写入网关、app和服务器等外部设备,那么整个系统中对所述待入网智能设备的控制就变成了对所述槽位的控制,只要槽位不发生变更,无论设备怎么变化,都可以将其控制。替换设备时,只要选中旧设备绑定的槽位,在服务器上绑定新的设备即可,无需覆写网关、app和服务器等外部设备上的信息,大大简化了设备替换的流程,同时也提高了系统的一致性与稳定性,避免了由于漏删漏填导致的部分功能失灵。The method for accessing a network of an intelligent device provided by the present invention obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target The feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot. . In the present invention, when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network. The control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled. When replacing a device, you only need to select the slot bound to the old device and bind the new device to the server. There is no need to overwrite the information on external devices such as gateways, apps, and servers, which greatly simplifies the process of device replacement. The consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
在具体实施方式一的基础上,进一步设想如果槽位已与其它设备绑定的情况,得到具体实施方式二,其流程示意图如图2所示,包括:On the basis of the specific embodiment 1, it is further envisaged that if the slot has been bound to other devices, the specific embodiment 2 is obtained. The schematic flowchart is shown in Figure 2, including:
S201:获取槽位信息和待入网智能设备的标识信息。S201: Acquire slot information and identification information of a smart device to be connected to a network.
S202:判断所述目标槽位是否已经与其它设备绑定。S202: Determine whether the target slot has been bound with other devices.
S203:当所述目标槽位已经与其它设备绑定时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定。S203: When the target slot has been bound with other devices, unbind the target slot from the currently bound device and bind the target slot with the smart device to be connected to the network.
S204:将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。S204: Send the feature information of the target slot and the identification information to the smart device network, and complete the network access of the smart device, so that the smart device network can control the network access according to the feature information of the target slot The intelligent device to be connected to the network.
本具体实施方式与上述具体实施方式的不同之处在于,添加了判断所述目标槽位是否已与其它设备绑定时的对应操作步骤,其余步骤均与上述具体实施方式相同,在此不再展开赘述。The difference between this specific implementation and the above specific implementation is that the corresponding operation steps for judging whether the target slot has been bound with other devices are added, and the remaining steps are the same as the above specific implementation, and are not repeated here. Expand the details.
本具体实施方式中添加了判断所述目标槽位已与其它设备绑定时的对应操作步骤,如果当前所述目标槽位已经与其它设备绑定,则自动将所述目标槽位先行解绑,恢复空闲状态再与所述待入网智能设备绑定,避免在所述槽位与设备只支持一对一绑定的情况下再次绑定造成程序出错,提高系统整体的运行可靠性与稳定性。In this specific embodiment, the corresponding operation steps for judging that the target slot has been bound with other devices are added. If the target slot is currently bound with other devices, the target slot will be automatically unbound first. , restore the idle state, and then bind with the intelligent device to be connected to the network to avoid program errors caused by rebinding when the slot and the device only support one-to-one binding, and improve the overall operational reliability and stability of the system .
在具体实施方式二的基础上,进一步提供另一种如果槽位已与其它设备绑定的情况,得到具体实施方式三,其流程示意图如图3所示,包括:On the basis of the second embodiment, another situation where the slot has been bound to other devices is further provided, and the third embodiment is obtained. The schematic flowchart is shown in FIG. 3 , including:
S301:获取槽位信息和待入网智能设备的标识信息。S301: Acquire slot information and identification information of a smart device to be connected to a network.
S302:判断所述目标槽位是否已经与其它设备绑定。S302: Determine whether the target slot has been bound with other devices.
S303:当所述目标槽位已经与其它设备绑定时,发送解绑判断信息。S303: When the target slot has been bound with other devices, send unbinding judgment information.
S304:当收到解绑确认信息时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定;S304: when receiving the unbinding confirmation information, unbind the target slot from the currently bound device and bind it with the to-be-connected smart device;
当收到非解绑确认信息时,将所述目标槽位与所述待入网智能设备绑定。When the non-unbinding confirmation information is received, the target slot is bound with the intelligent device to be connected to the network.
S305:将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。S305: Send the feature information of the target slot and the identification information to the smart device network to complete the network access of the smart device, so that the smart device network can control the network access based on the feature information of the target slot The intelligent device to be connected to the network.
本具体实施方式与上述具体实施方式的不同之处在于,本具体实施方式中除了判断所述目标槽位是否已经与其它设备绑定,还通过解绑判断信息的回复信息确定是否解绑,其余步骤均与上述具体实施方式相同,在此不再展开赘述。The difference between this specific implementation and the above specific implementation is that in this specific implementation, in addition to judging whether the target slot has been bound with other devices, it also determines whether to unbind through the reply information of the unbinding judgment information, and the rest The steps are the same as those in the above-mentioned specific implementation manner, and will not be repeated here.
本具体实施方式中除了判断所述目标槽位是否已经与其它设备绑定,还通过解绑判断信息的回复信息确定是否解绑,即发出消息提醒工作人员或上级网络所述目标槽位已经被占用,并询问是否需要将目标槽位先行解绑,恢复空闲状态再与所述待入网智能设备绑定,避免在所述槽位与设备一对一的情况下程序出错,接收到所述解绑确认信息时即为需要先解绑的情况;当然,另一方面,如果所述系统内所述槽位与设备存在一对多,即同一槽位可以绑定多个设备的情况下,也可当所述操作人员或所述上级网络选择否时(即接收到所述非解绑确认信息时),将所述目标槽位直接与所述待入网智能设备绑定,使外部网络通过所述目标槽位对多台设备进行控制。In this specific implementation, in addition to judging whether the target slot has been bound with other devices, it is also determined whether to unbind through the reply information of the unbinding judgment information, that is, a message is sent to remind the staff or the upper-level network that the target slot has been Occupied, and asked whether it is necessary to unbind the target slot first, restore the idle state, and then bind with the intelligent device to be connected to the network to avoid program errors in the case of one-to-one between the slot and the device. When the confirmation information is bound, it is the situation that needs to be unbound first; of course, on the other hand, if there is a one-to-many relationship between the slot and the device in the system, that is, the same slot can be bound to multiple devices, it is also When the operator or the upper-level network selects No (that is, when the non-unbinding confirmation information is received), the target slot can be directly bound with the intelligent device to be connected to the network, so that the external network can pass through all The target slot is used to control multiple devices.
下面对本发明实施例提供的智能设备入网装置进行介绍,下文描述的智能设备入网装置与上文描述的智能设备入网方法可相互对应参照。The following describes an apparatus for accessing a network of a smart device provided by an embodiment of the present invention. The apparatus for accessing a network for a smart device described below and the method for accessing a network for a smart device described above may refer to each other correspondingly.
图4为本发明实施例提供的智能设备入网装置的结构框图,称其为具体实施方式四,参照图4智能设备入网装置可以包括:FIG. 4 is a structural block diagram of an apparatus for accessing a network of a smart device provided by an embodiment of the present invention, which is referred to as the fourth specific embodiment. Referring to FIG. 4 , the apparatus for accessing a network for a smart device may include:
获取模块100,用于获取槽位信息和待入网智能设备的标识信息;an acquisition module 100, configured to acquire slot information and identification information of the intelligent device to be connected to the network;
绑定模块200,用于将所述槽位信息中的目标槽位与所述待入网智能 设备进行绑定;a binding module 200, configured to bind the target slot in the slot information with the intelligent device to be connected to the network;
发送模块300,用于将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。The sending module 300 is configured to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, so that the smart device network can be based on the feature information of the target slot. The intelligent device to be connected to the network that has already been connected to the network is controlled.
作为一种优选实施方式,所述绑定模块200还包括:As a preferred embodiment, the binding module 200 further includes:
判断单元,用于判断所述目标槽位是否已经与其它设备绑定;a judging unit for judging whether the target slot has been bound with other devices;
直绑单元,用于当所述目标槽位已经与其它设备绑定时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定。The direct binding unit is configured to unbind the target slot from the currently bound device and bind it to the intelligent device to be connected to the network when the target slot has been bound with other devices.
作为一种优选实施方式,所述绑定模块200还包括:As a preferred embodiment, the binding module 200 further includes:
判断单元,用于判断所述目标槽位是否已经与其它设备绑定;a judging unit for judging whether the target slot has been bound with other devices;
解绑信息发送单元,用于当所述目标槽位已经与其它设备绑定时,发送解绑判断信息;an unbinding information sending unit, configured to send unbinding judgment information when the target slot has been bound with other devices;
肯定解绑单元,用于当收到解绑确认信息时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定;A positive unbinding unit, configured to unbind the target slot from the currently bound device and bind the intelligent device to be connected to the network when the unbinding confirmation information is received;
否定解绑单元,用于当收到非解绑确认信息时,将所述目标槽位与所述待入网智能设备绑定。A negative unbinding unit, configured to bind the target slot with the intelligent device to be connected to the network when receiving non-unbinding confirmation information.
作为一种优选实施方式,所述发送模块300还包括:As a preferred embodiment, the sending module 300 further includes:
蓝牙mesh网络单元,用于将所述目标槽位的特征信息和所述标识信息发送至智能设备网络;所述标识信息为蓝牙mesh网络地址信息。The Bluetooth mesh network unit is used for sending the feature information of the target slot and the identification information to the intelligent device network; the identification information is Bluetooth mesh network address information.
本发明所提供的智能设备入网装置,获取模块100,用于获取槽位信息和待入网智能设备的标识信息;绑定模块200,用于将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;发送模块300,用于将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。本发明在设备入网时,将所述待入网智能设备与一个虚拟化的槽位绑定,同时通过网络将槽位对应的地址信息分别写入网关、app和服务器等外部设备,那么整个系统中对所述待入网智能设备的控制就变成了对所述槽位的控制,只要槽位不发生变更,无论设备怎么变化,都可以将其控制。替换设备时,只要选中旧设备绑定的槽位,在服务器上绑定新的设备即可,无需覆写网关、app和服务器等外部设备上 的信息,大大简化了设备替换的流程,同时也提高了系统的一致性与稳定性,避免了由于漏删漏填导致的部分功能失灵。In the network access device for smart devices provided by the present invention, the acquisition module 100 is used to acquire slot information and the identification information of the smart device to be connected to the network; the binding module 200 is used to associate the target slot in the slot information with the The smart device to be connected to the network is bound; the sending module 300 is configured to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, and enable the smart device network to The feature information of the target slot controls the intelligent device to be connected to the network that has already been connected to the network. In the present invention, when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network. The control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled. When replacing a device, you only need to select the slot bound to the old device and bind the new device to the server. There is no need to overwrite the information on external devices such as gateways, apps, and servers, which greatly simplifies the process of device replacement. The consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
本实施例的智能设备入网装置用于实现前述的智能设备入网方法,因此智能设备入网装置中的具体实施方式可见前文中的智能设备入网方法的实施例部分,例如,获取模块100,绑定模块200,发送模块300,分别用于实现上述智能设备入网方法中步骤S101,S102和S103,所以,其具体实施方式可以参照相应的各个部分实施例的描述,在此不再赘述。The device for accessing a network for a smart device in this embodiment is used to implement the aforementioned method for accessing a network for a smart device. Therefore, the specific implementation of the device for accessing a network for a smart device can be found in the embodiment part of the method for accessing a network for a smart device in the foregoing, for example, the acquisition module 100, the binding module 200. The sending module 300 is respectively used to implement steps S101, S102 and S103 in the above method for accessing a network of a smart device. Therefore, the specific implementation can refer to the descriptions of the corresponding partial embodiments, which will not be repeated here.
本发明还提供了一种智能设备03控制系统,其一种具体实施方式的结构示意图如图6所示,称其为具体实施方式五,包括控制终端01、服务器02及智能设备03;The present invention also provides a control system for an intelligent device 03, and a schematic structural diagram of a specific implementation of the system is shown in FIG.
所述服务器02中设置有虚拟槽位;The server 02 is provided with virtual slots;
所述智能设备03与所述虚拟槽位绑定;The smart device 03 is bound to the virtual slot;
所述控制终端01通过所述虚拟槽位控制所述智能设备03。The control terminal 01 controls the smart device 03 through the virtual slot.
本具体实施方式中提供了一种智能设备03控制系统,其中所述控制终端01可为移动端应用(APP),也可为服务器02,同样,所述虚拟槽位设置于所述服务器02中。This specific embodiment provides a control system for a smart device 03, wherein the control terminal 01 can be a mobile application (APP) or a server 02. Similarly, the virtual slot is set in the server 02. .
所述智能设备03与所述虚拟槽位互相绑定,即每个所述智能设备03都有唯一一个虚拟槽位与之对应,所述控制终端01只需要知道的需要下达控制指令的智能设备03对应的虚拟槽位,即可对其发送控制信息;所述设备键可为设备出厂时设置的设备ID信息。The smart device 03 and the virtual slot are bound to each other, that is, each of the smart devices 03 has a unique virtual slot corresponding to it, and the control terminal 01 only needs to know the smart devices that need to issue control instructions. 03 corresponding virtual slot, control information can be sent to it; the device key can be the device ID information set when the device leaves the factory.
作为一种优选实施方式,所述服务器02包括槽位表;As a preferred embodiment, the server 02 includes a slot table;
所述槽位表包括多个所述虚拟槽位的特征信息及对应绑定的智能设备03的标识信息。The slot table includes feature information of a plurality of the virtual slots and identification information of the corresponding bound smart device 03 .
更进一步地,所述槽位表还包括与所述虚拟槽位的特征信息对应的智能设备03的位置信息。Further, the slot table further includes location information of the smart device 03 corresponding to the feature information of the virtual slot.
下面举例一种所述槽位表的具体实施方式,涉及所述槽位表包含的字段,其字段名与对应的含义如表1所示,当然,也可根据实际情况作相应变动。The following is an example of a specific implementation of the slot table, involving fields included in the slot table, and the field names and corresponding meanings are shown in Table 1. Of course, corresponding changes can also be made according to actual conditions.
Figure PCTCN2021103911-appb-000001
Figure PCTCN2021103911-appb-000001
表1 槽位表中单个虚拟槽位包含的字段Table 1 Fields contained in a single virtual slot in the slot table
更进一步地,为了实现单一场景下的环境控制,以房间内的照明举例,所述控制终端01可根据所述位置信息先生成包括该房间内的虚拟槽位的槽位表,再通过向该槽位表中的虚拟槽位发送相应的控制指令。Further, in order to realize environmental control in a single scene, taking the lighting in a room as an example, the control terminal 01 can first generate a slot table including virtual slots in the room according to the location information, and then send the The virtual slot in the slot table sends the corresponding control command.
更进一步地,如图5所示智能家居系统,智能设备03与虚拟槽位绑定入网后,用户通过图形界面或语音等交互控制方式,从控制终端01对被控智能设备03发出控制指令,控制终端01将含有该被控智能设备03对应已绑定的虚拟槽位ID信息(即上文中的特征信息)的控制信息发送至服务器02,服务器02将该控制信息转发至网关,网关根据虚拟槽位ID信息获取对应的网络地址,再通过该网络地址对智能设备03进行控制;当服务器02为离线状态时,控制终端01通过无线网络将该控制信息直接发送至网关,网关根据虚拟槽位ID信息获取对应的网络地址,再通过该网络地址对智能设备03进行控制。所述服务器02为云端服务器02和/或本地服务器02。网关与服务器02之间根据情况设置调制解调器、路由器、CPE等通信设备。所述智能设备03可以是智能灯具、智能电动窗帘、智能猫眼等智能设备03;也可以是其他智能工业设备等。Further, in the smart home system shown in Figure 5, after the smart device 03 is bound to the virtual slot and connected to the network, the user sends a control command to the controlled smart device 03 from the control terminal 01 through interactive control methods such as a graphical interface or voice, The control terminal 01 sends the control information containing the virtual slot ID information (that is, the feature information above) corresponding to the controlled intelligent device 03 to the server 02, and the server 02 forwards the control information to the gateway. The slot ID information obtains the corresponding network address, and then controls the smart device 03 through the network address; when the server 02 is offline, the control terminal 01 directly sends the control information to the gateway through the wireless network, and the gateway is based on the virtual slot. The ID information obtains the corresponding network address, and then controls the smart device 03 through the network address. The server 02 is the cloud server 02 and/or the local server 02 . Communication devices such as modems, routers, and CPEs are set up between the gateway and the server 02 according to the situation. The smart device 03 may be a smart device 03 such as a smart lamp, a smart electric curtain, a smart cat's eye, or other smart industrial devices.
本发明提供的智能设备03控制系统中,所有对所述智能设备03的控制信号,都发送至所述虚拟槽位,再通过智能设备03网络中的设备确定所述虚拟槽位对应的智能设备03的标识信息,从而确定需要执行操作的智能设备03,实现当有设备进行入网或者更换时,仅需要改变设备与虚拟槽位的绑定关系,不再需要对控制终端01内部的参数进行修改,这样就将现有技术中存储在所述控制终端01中的房间和设备的关联关系、场景和设备的关联关系、定时触发任务和设备的关联关系等,用房间和虚拟槽位的关联关系、场景和虚拟槽位的关联关系、定时触发任务和虚拟槽位的关联关系 来表示,所有的设备控制和信息存储都可以通过虚拟槽位来表示和实现。如此,设备管理软件(即所述控制终端01)只需以虚拟槽位来操作,就可以达到操作设备的目的,且设备发生故障要替换时,只需替换虚拟槽位和设备唯一标识的绑定关系即可,无需操作整个系统,维护简单、易用。In the smart device 03 control system provided by the present invention, all control signals for the smart device 03 are sent to the virtual slot, and then the devices in the smart device 03 network are used to determine the smart device corresponding to the virtual slot 03 identification information, thereby determining the intelligent device 03 that needs to perform the operation, and realizing that when a device is connected to the network or replaced, only the binding relationship between the device and the virtual slot needs to be changed, and the parameters inside the control terminal 01 need not be modified. , in this way, the relationship between the room and the device, the relationship between the scene and the device, the relationship between the time-triggered task and the device, etc. stored in the control terminal 01 in the prior art are stored in the control terminal 01. The relationship between the room and the virtual slot is used. , the relationship between the scene and the virtual slot, the relationship between the timing trigger task and the virtual slot, and all device control and information storage can be represented and implemented through the virtual slot. In this way, the device management software (that is, the control terminal 01) only needs to operate the virtual slot to achieve the purpose of operating the device, and when the device fails and needs to be replaced, it only needs to replace the virtual slot and the binding of the unique device identifier. The relationship can be determined without operating the entire system, and the maintenance is simple and easy to use.
本发明还提供一种智能设备控制方法,其一种具体实施方式的流程示意图如图7所示,称其为具体实施方式六,包括:The present invention also provides a method for controlling an intelligent device, and a schematic flowchart of a specific implementation of the method is shown in FIG. 7 , which is referred to as the sixth specific implementation, including:
S601:接收智能设备控制指令,所述智能设备控制指令包括目标虚拟槽位的特征信息。S601: Receive a smart device control instruction, where the smart device control instruction includes feature information of a target virtual slot.
S602:根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址。S602: Determine the network address through a preset slot-address relationship set according to the feature information.
本具体实施方式可由前文中所述的智能设备控制系统中的网关执行。更进一步地,所述虚拟槽位的特征信息与所述网络地址对应关系可预先存储在所述网关中,简化操作流程;需要注意的是,已经入网的所述智能设备的网络地址的对应关系也是唯一且确定的,因此只要知道了所述智能设备与所述虚拟槽位对应关系,即可得到所述目标虚拟槽位与所述网络地址的对应关系,即槽位-地址关系,多条槽位-地址关系的集合即为所述槽位-地址关系集合。This specific embodiment can be implemented by the gateway in the smart device control system described above. Further, the corresponding relationship between the feature information of the virtual slot and the network address can be stored in the gateway in advance, which simplifies the operation process; it should be noted that the corresponding relationship between the network addresses of the smart devices that have entered the network It is also unique and deterministic, so as long as the corresponding relationship between the smart device and the virtual slot is known, the corresponding relationship between the target virtual slot and the network address, that is, the slot-address relationship, can be obtained. The set of slot-address relationships is the set of slot-address relationships.
S603:根据所述网络地址将所述智能设备控制指令发送至目标智能设备,实现对所述目标智能设备的控制。S603: Send the smart device control instruction to the target smart device according to the network address, so as to implement the control on the target smart device.
作为一种优选实施方式,在接收智能设备控制指令之后,还包括:As a preferred embodiment, after receiving the smart device control instruction, the method further includes:
判断所述智能设备控制指令是否包括所述目标虚拟槽位对应的网络地址;Determine whether the intelligent device control instruction includes the network address corresponding to the target virtual slot;
当所述智能设备控制指令不包括所述网络地址时,根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址;When the intelligent device control instruction does not include the network address, determine the network address through a preset slot-address relationship set according to the feature information;
当所述智能设备控制指令包括所述网络地址时,判断所述槽位-地址关系集合是否包括所述目标虚拟槽位;When the intelligent device control instruction includes the network address, determine whether the slot-address relationship set includes the target virtual slot;
当不包括所述目标虚拟槽位时,将所述目标虚拟槽位与所述网络地址的对应关系作为一组新的槽位-地址关系添加进所述槽位-地址关系集合;When the target virtual slot is not included, the corresponding relationship between the target virtual slot and the network address is added to the slot-address relationship set as a new set of slot-address relationships;
当包括所述目标虚拟槽位时,将所述目标虚拟槽位与所述网络地址的 对应关系作为一组新的槽位-地址关系替换所述槽位-地址关系集合中所述目标虚拟槽位对应的槽位-地址关系。When the target virtual slot is included, the corresponding relationship between the target virtual slot and the network address is used as a new set of slot-address relationship to replace the target virtual slot in the slot-address relationship set Bit-corresponding slot-address relationship.
本优选实施方式中,添加了判断所述智能设备控制指令是否包括所述目标虚拟槽位对应的网络地址的步骤,如果不包括,则直接按照原方法中的步骤根据所述目标虚拟槽位的特征信息在已有的槽位-地址关系中寻找对应的网络地址;如果包括,则说明已有的槽位-地址关系集合需要更新,而更新分两种情况,一种是所述槽位-地址关系集合中存在的虚拟槽位对应的网络地址需要更新,另一种是为所述槽位-地址关系集合添加新的虚拟槽位及对应的网络地址,分别对应上述两种情况。In this preferred embodiment, a step of judging whether the intelligent device control instruction includes the network address corresponding to the target virtual slot is added. The feature information finds the corresponding network address in the existing slot-address relationship; if it is included, it means that the existing slot-address relationship set needs to be updated, and the update is divided into two situations, one is that the slot- The network address corresponding to the virtual slot existing in the address relationship set needs to be updated, and the other is to add a new virtual slot and corresponding network address to the slot-address relationship set, respectively corresponding to the above two situations.
本发明所提供的智能设备控制方法,通过接收智能设备控制指令,所述智能设备控制指令包括目标虚拟槽位的特征信息;根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址;根据所述网络地址将所述智能设备控制指令发送至目标智能设备,实现对所述目标智能设备的控制。本发明在设备入网时,将所述待入网智能设备与一个虚拟化的槽位绑定,同时通过网络将槽位对应的地址信息分别写入网关、app和服务器等外部设备,那么整个系统中对所述待入网智能设备的控制就变成了对所述槽位的控制,只要槽位不发生变更,无论设备怎么变化,都可以将其控制。替换设备时,只要选中旧设备绑定的槽位,在服务器上绑定新的设备即可,无需覆写网关、app和服务器等外部设备上的信息,大大简化了设备替换的流程,同时也提高了系统的一致性与稳定性,避免了由于漏删漏填导致的部分功能失灵。The smart device control method provided by the present invention receives a smart device control command, the smart device control command includes feature information of a target virtual slot; according to the feature information, a preset slot-address relationship set is used to determine the the network address; according to the network address, the smart device control instruction is sent to the target smart device to control the target smart device. In the present invention, when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network. The control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled. When replacing a device, you only need to select the slot bound to the old device and bind the new device to the server. There is no need to overwrite the information on external devices such as gateways, apps, and servers, which greatly simplifies the process of device replacement. The consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
本发明还提供了一种智能设备入网设备,包括:The present invention also provides an intelligent device network access device, comprising:
存储器,用于存储计算机程序;处理器,用于执行所述计算机程序时实现如上述任一种所述的智能设备入网方法的步骤,其具体步骤如前文中的智能设备入网方法所述,在此不再展开赘述。本发明所提供的智能设备入网方法,通过获取槽位信息和待入网智能设备的标识信息;将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待 入网智能设备。本发明在设备入网时,将所述待入网智能设备与一个虚拟化的槽位绑定,同时通过网络将槽位对应的地址信息分别写入网关、app和服务器等外部设备,那么整个系统中对所述待入网智能设备的控制就变成了对所述槽位的控制,只要槽位不发生变更,无论设备怎么变化,都可以将其控制。替换设备时,只要选中旧设备绑定的槽位,在服务器上绑定新的设备即可,无需覆写网关、app和服务器等外部设备上的信息,大大简化了设备替换的流程,同时也提高了系统的一致性与稳定性,避免了由于漏删漏填导致的部分功能失灵。The memory is used to store the computer program; the processor is used to realize the steps of any of the above-mentioned smart device network access methods when executing the computer program, and the specific steps are as described in the aforementioned smart device network access method, in This will not be repeated here. The method for accessing a network of an intelligent device provided by the present invention obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target The feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot. . In the present invention, when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network. The control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled. When replacing a device, you only need to select the slot bound to the old device and bind the new device to the server. There is no need to overwrite the information on external devices such as gateways, apps, and servers, which greatly simplifies the process of device replacement. The consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述的智能设备入网方法的步骤,其具体步骤如前文中的智能设备入网方法所述,在此不再展开赘述。本发明所提供的智能设备入网方法,通过获取槽位信息和待入网智能设备的标识信息;将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。本发明在设备入网时,将所述待入网智能设备与一个虚拟化的槽位绑定,同时通过网络将槽位对应的地址信息分别写入网关、app和服务器等外部设备,那么整个系统中对所述待入网智能设备的控制就变成了对所述槽位的控制,只要槽位不发生变更,无论设备怎么变化,都可以将其控制。替换设备时,只要选中旧设备绑定的槽位,在服务器上绑定新的设备即可,无需覆写网关、app和服务器等外部设备上的信息,大大简化了设备替换的流程,同时也提高了系统的一致性与稳定性,避免了由于漏删漏填导致的部分功能失灵。The present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any of the above-mentioned methods for accessing a network of a smart device are implemented , and the specific steps are as described in the foregoing method for accessing the network of a smart device, which will not be repeated here. The method for accessing a network of an intelligent device provided by the present invention obtains the slot information and the identification information of the intelligent device to be connected to the network; binds the target slot in the slot information to the intelligent device to be connected to the network; binds the target The feature information of the slot and the identification information are sent to the smart device network to complete the network access of the smart device, so that the smart device network can control the smart device to be connected to the network according to the feature information of the target slot. . In the present invention, when the device is connected to the network, the intelligent device to be connected to the network is bound to a virtualized slot, and at the same time, the address information corresponding to the slot is written into the external devices such as the gateway, the app and the server through the network. The control of the intelligent device to be connected to the network becomes the control of the slot, and as long as the slot does not change, no matter how the device changes, it can be controlled. When replacing a device, you only need to select the slot bound to the old device and bind the new device to the server. There is no need to overwrite the information on external devices such as gateways, apps, and servers, which greatly simplifies the process of device replacement. The consistency and stability of the system are improved, and some functional failures caused by omissions and deletions are avoided.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments may be referred to each other. As 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 part can be referred to the description of the method.
需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations There is no such actual relationship or order between them. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals may further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.
以上对本发明所提供的智能设备入网方法以及装置进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The method and device for accessing a network of a smart device provided by the present invention are described above in detail. The principles and implementations of the present invention are described herein by using specific examples, and the descriptions of the above embodiments are only used to help understand the method and the core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can also be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

Claims (16)

  1. 一种智能设备入网方法,其特征在于,包括:A method for accessing a network of an intelligent device, comprising:
    获取槽位信息和待入网智能设备的标识信息;Obtain the slot information and the identification information of the intelligent device to be connected to the network;
    将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;Binding the target slot in the slot information with the intelligent device to be connected to the network;
    将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。Send the feature information of the target slot and the identification information to the smart device network to complete the network access of the smart device, so that the smart device network can control the network access according to the feature information of the target slot. A smart device waiting to be connected to the network.
  2. 如权利要求1所述的智能设备入网方法,其特征在于,所述将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定包括:The method for accessing a network of a smart device according to claim 1, wherein the binding of the target slot in the slot information with the smart device to be connected to the network comprises:
    判断所述目标槽位是否已经与其它设备绑定;Determine whether the target slot has been bound with other devices;
    当所述目标槽位已经与其它设备绑定时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定。When the target slot has been bound with other devices, the target slot is unbound from the currently bound device and bound with the smart device to be connected to the network.
  3. 如权利要求1所述的智能设备入网方法,其特征在于,所述将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定包括:The method for accessing a network of a smart device according to claim 1, wherein the binding of the target slot in the slot information with the smart device to be connected to the network comprises:
    判断所述目标槽位是否已经与其它设备绑定;Determine whether the target slot has been bound with other devices;
    当所述目标槽位已经与其它设备绑定时,发送解绑判断信息;When the target slot has been bound with other devices, send unbinding judgment information;
    当收到解绑确认信息时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定;When receiving the unbinding confirmation information, unbind the target slot from the currently bound device and bind it with the intelligent device to be connected to the network;
    当收到非解绑确认信息时,将所述目标槽位与所述待入网智能设备绑定。When the non-unbinding confirmation information is received, the target slot is bound with the intelligent device to be connected to the network.
  4. 如权利要求1所述的智能设备入网方法,其特征在于,所述标识信息为网络地址信息。The method for accessing a network of a smart device according to claim 1, wherein the identification information is network address information.
  5. 一种智能设备入网装置,其特征在于,包括:An intelligent device network access device, characterized in that it includes:
    获取模块,用于获取槽位信息和待入网智能设备的标识信息;The acquisition module is used to acquire the slot information and the identification information of the intelligent device to be connected to the network;
    绑定模块,用于将所述槽位信息中的目标槽位与所述待入网智能设备进行绑定;a binding module, configured to bind the target slot in the slot information with the intelligent device to be connected to the network;
    发送模块,用于将所述目标槽位的特征信息和所述标识信息发送至智能设备网络,完成所述智能设备的入网,使所述智能设备网络能根据所述目标槽位的特征信息控制已入网的所述待入网智能设备。The sending module is used to send the feature information of the target slot and the identification information to the smart device network, complete the network access of the smart device, so that the smart device network can control according to the feature information of the target slot The smart device to be connected that has already been connected to the network.
  6. 如权利要求5所述的智能设备入网装置,其特征在于,所述绑定模 块还包括:intelligent equipment network access device as claimed in claim 5, is characterized in that, described binding module also comprises:
    判断单元,用于判断所述目标槽位是否已经与其它设备绑定;a judging unit for judging whether the target slot has been bound with other devices;
    直绑单元,用于当所述目标槽位已经与其它设备绑定时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定。The direct binding unit is configured to unbind the target slot from the currently bound device and bind it to the intelligent device to be connected to the network when the target slot has been bound with other devices.
  7. 如权利要求5所述的智能设备入网装置,其特征在于,所述绑定模块还包括:The smart device network access device according to claim 5, wherein the binding module further comprises:
    判断单元,用于判断所述目标槽位是否已经与其它设备绑定;a judging unit for judging whether the target slot has been bound with other devices;
    解绑信息发送单元,用于当所述目标槽位已经与其它设备绑定时,发送解绑判断信息;an unbinding information sending unit, configured to send unbinding judgment information when the target slot has been bound with other devices;
    肯定解绑单元,用于当收到解绑确认信息时,将所述目标槽位与当前绑定的设备解绑并与所述待入网智能设备绑定;A positive unbinding unit, configured to unbind the target slot from the currently bound device and bind the intelligent device to be connected to the network when the unbinding confirmation information is received;
    否定解绑单元,用于当收到非解绑确认信息时,将所述目标槽位与所述待入网智能设备绑定。A negative unbinding unit, configured to bind the target slot with the intelligent device to be connected to the network when receiving non-unbinding confirmation information.
  8. 如权利要求5所述的智能设备入网装置,其特征在于,所述发送模块还包括:The smart device network access device according to claim 5, wherein the sending module further comprises:
    网络单元,用于将所述目标槽位的特征信息和所述标识信息发送至智能设备网络;所述标识信息为网络地址信息。The network unit is configured to send the feature information of the target slot and the identification information to the intelligent device network; the identification information is network address information.
  9. 一种智能设备入网设备,其特征在于,包括:An intelligent device network access device, characterized in that it includes:
    存储器,用于存储计算机程序;memory for storing computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求1至4任一项所述的智能设备入网方法的步骤。The processor is configured to implement the steps of the method for accessing a network of a smart device according to any one of claims 1 to 4 when executing the computer program.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述的智能设备入网方法的步骤。A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the smart device network access according to any one of claims 1 to 4 is realized steps of the method.
  11. 一种智能设备控制系统,其特征在于,包括控制终端、服务器及智能设备;An intelligent device control system, characterized in that it includes a control terminal, a server and an intelligent device;
    所述服务器中设置有虚拟槽位;The server is provided with virtual slots;
    所述智能设备与所述虚拟槽位绑定;the smart device is bound to the virtual slot;
    所述控制终端通过所述虚拟槽位控制所述智能设备。The control terminal controls the smart device through the virtual slot.
  12. 如权利要求11所述的智能设备控制系统,其特征在于,所述服务 器包括槽位表;The intelligent device control system of claim 11, wherein the server comprises a slot table;
    所述槽位表包括多个所述虚拟槽位的特征信息及对应绑定的智能设备的标识信息。The slot table includes feature information of a plurality of virtual slots and identification information of corresponding bound smart devices.
  13. 如权利要求12所述的智能设备控制系统,其特征在于,所述槽位表还包括与所述虚拟槽位的特征信息对应的智能设备的位置信息。The smart device control system according to claim 12, wherein the slot table further includes location information of the smart device corresponding to the feature information of the virtual slot.
  14. 如权利要求11至13任一项所述的智能设备控制系统,其特征在于,还包括网关;The intelligent device control system according to any one of claims 11 to 13, further comprising a gateway;
    所述网关分别与所述服务器、所述控制终端、所述智能设备通信连接,所述网关中存储有所述智能设备与所述虚拟槽位的绑定关系。The gateway is respectively connected in communication with the server, the control terminal and the smart device, and the gateway stores the binding relationship between the smart device and the virtual slot.
  15. 一种智能设备控制方法,其特征在于,包括:A method for controlling an intelligent device, comprising:
    接收智能设备控制指令,所述智能设备控制指令包括目标虚拟槽位的特征信息;receiving an intelligent device control instruction, where the intelligent device control instruction includes feature information of the target virtual slot;
    根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址;According to the feature information, determine the network address through a preset slot-address relationship set;
    根据所述网络地址将所述智能设备控制指令发送至目标智能设备,实现对所述目标智能设备的控制。The smart device control instruction is sent to the target smart device according to the network address, so as to control the target smart device.
  16. 如权利要求15所述的智能设备控制方法,其特征在于,在接收智能设备控制指令之后,还包括:The smart device control method according to claim 15, wherein after receiving the smart device control instruction, further comprising:
    判断所述智能设备控制指令是否包括所述目标虚拟槽位对应的网络地址;Determine whether the intelligent device control instruction includes the network address corresponding to the target virtual slot;
    当所述智能设备控制指令不包括所述网络地址时,根据所述特征信息,通过预设的槽位-地址关系集合确定所述网络地址;When the intelligent device control instruction does not include the network address, determine the network address through a preset slot-address relationship set according to the feature information;
    当所述智能设备控制指令包括所述网络地址时,判断所述槽位-地址关系集合是否包括所述目标虚拟槽位;When the intelligent device control instruction includes the network address, determine whether the slot-address relationship set includes the target virtual slot;
    当不包括所述目标虚拟槽位时,将所述目标虚拟槽位与所述网络地址的对应关系作为一组新的槽位-地址关系添加进所述槽位-地址关系集合;When the target virtual slot is not included, the corresponding relationship between the target virtual slot and the network address is added to the slot-address relationship set as a new set of slot-address relationships;
    当包括所述目标虚拟槽位时,将所述目标虚拟槽位与所述网络地址的对应关系作为一组新的槽位-地址关系替换所述槽位-地址关系集合中所述目标虚拟槽位对应的槽位-地址关系。When the target virtual slot is included, the corresponding relationship between the target virtual slot and the network address is used as a new set of slot-address relationship to replace the target virtual slot in the slot-address relationship set Bit-corresponding slot-address relationship.
PCT/CN2021/103911 2020-07-01 2021-07-01 Intelligent device networking method and apparatus, and intelligent device control system and method WO2022002173A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010620096.7A CN111711698A (en) 2020-07-01 2020-07-01 Intelligent equipment network access method and device and intelligent equipment control system and method
CN202010620096.7 2020-07-01

Publications (1)

Publication Number Publication Date
WO2022002173A1 true WO2022002173A1 (en) 2022-01-06

Family

ID=72544063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/103911 WO2022002173A1 (en) 2020-07-01 2021-07-01 Intelligent device networking method and apparatus, and intelligent device control system and method

Country Status (2)

Country Link
CN (1) CN111711698A (en)
WO (1) WO2022002173A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116610683A (en) * 2023-07-21 2023-08-18 国能日新科技股份有限公司 Data binding method and device
WO2024031680A1 (en) * 2022-08-12 2024-02-15 Oppo广东移动通信有限公司 Device unbinding method and apparatus, device, storage medium, and program product

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111711698A (en) * 2020-07-01 2020-09-25 青岛亿联客信息技术有限公司 Intelligent equipment network access method and device and intelligent equipment control system and method
CN112486027A (en) * 2020-11-13 2021-03-12 南京酷开智慧屏科技有限公司 Contact intelligent screen equipment with gateway function and method for controlling intelligent equipment
CN113765759B (en) * 2021-08-31 2023-04-07 杭州控客信息技术有限公司 Equipment network access and communication optimization method of intelligent home system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546568A (en) * 2010-12-31 2012-07-04 华为技术有限公司 Method and device for Internet protocol (IP) terminal being accessed into network
CN102694804A (en) * 2012-05-29 2012-09-26 华南理工大学 Realization method and device for intelligent home unified platform on basis of UPnP protocol
US20130205373A1 (en) * 2012-02-08 2013-08-08 Aventura Hq, Inc. Adapting authentication flow based on workflow events
CN103716213A (en) * 2012-09-29 2014-04-09 上海贝尔股份有限公司 Method for operation in fixed access network and method for operation in user equipment
CN104244227A (en) * 2013-06-09 2014-12-24 中国移动通信集团公司 Terminal access authentication method and device in internet of things system
US20150242125A1 (en) * 2014-02-21 2015-08-27 International Business Machines Corporation Efficient free-space management of multi-target peer-to-peer remote copy (pprc) modified sectors bitmap in bind segments
CN108738022A (en) * 2018-07-04 2018-11-02 中国科学技术大学 A kind of cordless communication network management method of mobile and system
CN111711698A (en) * 2020-07-01 2020-09-25 青岛亿联客信息技术有限公司 Intelligent equipment network access method and device and intelligent equipment control system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888435B (en) * 2012-12-24 2017-06-23 中国电信股份有限公司 For the methods, devices and systems of business admission control
CN105323232B (en) * 2014-08-01 2018-12-04 中国移动通信集团江苏有限公司 account binding method and device
CN104780154B (en) * 2015-03-13 2018-06-19 小米科技有限责任公司 Apparatus bound method and apparatus
CN106059837B (en) * 2016-07-29 2019-04-19 海尔优家智能科技(北京)有限公司 Equipment network connection configuration method, apparatus and cloud platform
CN108111375A (en) * 2017-11-27 2018-06-01 海尔优家智能科技(北京)有限公司 Equipment method of network entry, device, are waited to network and log equipment intelligent terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546568A (en) * 2010-12-31 2012-07-04 华为技术有限公司 Method and device for Internet protocol (IP) terminal being accessed into network
US20130205373A1 (en) * 2012-02-08 2013-08-08 Aventura Hq, Inc. Adapting authentication flow based on workflow events
CN102694804A (en) * 2012-05-29 2012-09-26 华南理工大学 Realization method and device for intelligent home unified platform on basis of UPnP protocol
CN103716213A (en) * 2012-09-29 2014-04-09 上海贝尔股份有限公司 Method for operation in fixed access network and method for operation in user equipment
CN104244227A (en) * 2013-06-09 2014-12-24 中国移动通信集团公司 Terminal access authentication method and device in internet of things system
US20150242125A1 (en) * 2014-02-21 2015-08-27 International Business Machines Corporation Efficient free-space management of multi-target peer-to-peer remote copy (pprc) modified sectors bitmap in bind segments
CN108738022A (en) * 2018-07-04 2018-11-02 中国科学技术大学 A kind of cordless communication network management method of mobile and system
CN111711698A (en) * 2020-07-01 2020-09-25 青岛亿联客信息技术有限公司 Intelligent equipment network access method and device and intelligent equipment control system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031680A1 (en) * 2022-08-12 2024-02-15 Oppo广东移动通信有限公司 Device unbinding method and apparatus, device, storage medium, and program product
CN116610683A (en) * 2023-07-21 2023-08-18 国能日新科技股份有限公司 Data binding method and device
CN116610683B (en) * 2023-07-21 2023-11-03 国能日新科技股份有限公司 Data binding method and device

Also Published As

Publication number Publication date
CN111711698A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
WO2022002173A1 (en) Intelligent device networking method and apparatus, and intelligent device control system and method
CN110912789B (en) Intelligent household Internet of things communication method based on Alicloud IoT Hub platform
US20130094444A1 (en) Automatic provisioning of an m2m device having a wifi interface
US20180227214A1 (en) Method and apparatus for controlling and managing a field device using an industry internet operating system
CN108431701B (en) Control method, control panel and control system of intelligent household equipment
WO2011137793A1 (en) Method, apparatus and network system for achieving remote update of zigbee devices
JP6479007B2 (en) Commissioning the Zigbee® Light Link network
WO2016169231A1 (en) Method and system for building steady piconet based on bluetooth
EP2864877A1 (en) Clientless cloud computing
CN106911779A (en) A kind of cloud platform virtual machine obtains IP method and devices
WO2018224040A1 (en) Method and device of information transmission
CN113572782B (en) Internet of things gateway supporting multiple sensor networks and implementation method thereof
JP2016515317A (en) Configuring interaction control in a multi-controller network
CN107124337A (en) A kind of equipment configuration method, device, system and collection control terminal
US9086880B2 (en) Communication device management apparatus, user device, and service device
CN111107177B (en) Method for modifying HMI self IP and PLC IP through HMI
JP2015119389A (en) Communication adapter
WO2020034522A1 (en) Method and apparatus for connecting to network, smart device, and user terminal
WO2012155814A1 (en) Implementation method and system for configuring route to base station in operation maintenance center
CN102752135A (en) Method for realizing configuration of network devices
CN106130863A (en) The transfer approach of LAN protocol message, device and system
WO2015008641A1 (en) Communication system, communication device, communication adapter, communication method, and program
CN101785245B (en) Method and apparatus for managing resources of a universal plug and play device based on a connection status of a control point
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
US11153268B2 (en) Cloud-based dynamic host configuration protocol configuration

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 22/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21834155

Country of ref document: EP

Kind code of ref document: A1