CN110601931B - Batch configuration method and system of intelligent home system - Google Patents

Batch configuration method and system of intelligent home system Download PDF

Info

Publication number
CN110601931B
CN110601931B CN201910850412.7A CN201910850412A CN110601931B CN 110601931 B CN110601931 B CN 110601931B CN 201910850412 A CN201910850412 A CN 201910850412A CN 110601931 B CN110601931 B CN 110601931B
Authority
CN
China
Prior art keywords
configuration
information
intelligent
scene
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910850412.7A
Other languages
Chinese (zh)
Other versions
CN110601931A (en
Inventor
杜绍江
赵春生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Lifesmart Technology Co ltd
Original Assignee
Hangzhou Lifesmart Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Lifesmart Technology Co ltd filed Critical Hangzhou Lifesmart Technology Co ltd
Priority to CN201910850412.7A priority Critical patent/CN110601931B/en
Publication of CN110601931A publication Critical patent/CN110601931A/en
Application granted granted Critical
Publication of CN110601931B publication Critical patent/CN110601931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The invention discloses a batch configuration method of an intelligent home system, which comprises the following steps: executing the configuration of a first set of intelligent home systems, acquiring first system configuration information, wherein the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene, performing desensitization treatment on the private information of each intelligent device in the first system configuration information, generating a configuration template from the desensitized first system configuration information, executing the configuration of an Nth set of intelligent home systems according to the configuration template, replacing the private information of the intelligent devices to be installed in the configuration template, and generating the configuration information corresponding to the intelligent devices to be installed to obtain the Nth system configuration information corresponding to the Nth set of intelligent home systems. By the method and the device, the safety of data transmission is guaranteed.

Description

Batch configuration method and system of intelligent home system
Technical Field
The invention relates to the technical field of intelligent home, in particular to a batch configuration method and system of an intelligent home system.
Background
The intelligent home mainly refers to an intelligent home control system which fully uses a network security passing technology, an automatic control technology and a computer network technology, and home equipment has certain intelligent characteristics. In recent years, smart homes have been widely used, and are particularly developed and applied in the fields of real estate industry, smart hotels, smart offices and the like. For an intelligent hotel and a hardcover district, the configuration of the intelligent home equipment of each family is basically the same, and the intelligent home systems of each family need to be installed and configured one by one, so that the consistency and accuracy of the installed intelligent home systems cannot be ensured, and the manpower and time are consumed very much.
The patent application with publication number CN 109104341a discloses a batch deployment method for same-dwelling intelligent home systems, which has the technical scheme that when the same-dwelling intelligent home systems are deployed, one of the intelligent home systems is configured, when other intelligent home systems are configured, system configuration files of the configured intelligent home systems are synchronized to the other intelligent home systems, in the synchronization process, a user terminal generates a device replacement request, and finally, the intelligent home devices and an intelligent home gateway interact to complete synchronization. In the technical scheme, although a batch installation method is provided to realize the deployment of the same-house type intelligent home system and the deployment is completed in a device replacement mode, private data information of a user, such as communication channel information, token information and the like of intelligent devices, is not processed in the technical scheme, once the data information is leaked, the privacy safety of the user cannot be ensured, and the safety problem of data in the implementation process is difficult to ensure. Meanwhile, the problems of operation omission and the like can be caused in the implementation process, and the requirements of engineering verification and later maintenance tracking cannot be met.
Therefore, the invention provides the technical scheme of batch configuration of the intelligent home system, so as to solve the problems in the prior art and ensure the safety and privacy of data transmission in the batch configuration process.
Disclosure of Invention
The invention aims to provide a batch configuration method and a system of an intelligent home system, which ensure the safety of important private data transmission in the batch configuration process and bring convenience to users.
In order to achieve the above object, the present invention provides a batch configuration method for intelligent home systems, where the types and installation locations of intelligent devices of each set of intelligent home systems are the same, and the configuration method includes:
s1, executing configuration of a first set of intelligent home system, and acquiring corresponding first system configuration information, wherein the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene;
s2, in the first system configuration information, desensitizing the private information of each intelligent device, and generating a configuration template according to the desensitized first system configuration information;
s3, according to the configuration template, executing the configuration of the Nth set of intelligent home system, acquiring the private information of the current intelligent equipment to be installed, and executing replacement of the private information of the intelligent equipment to be installed at the corresponding position in the configuration template to generate the configuration information corresponding to the intelligent equipment to be installed;
and S4, repeatedly executing the step S3, acquiring the configuration information of each intelligent device in the configuration template and all scene configuration information, and generating the Nth system configuration information corresponding to the Nth set of intelligent home system.
Preferably, the step S1 further includes:
respectively storing the first system configuration information in a first gateway and a cloud server in the first set of intelligent home systems in a tree structure, wherein the first gateway is used as a root node, and each intelligent device and each scene mode are used as child nodes;
the intelligent equipment child node comprises private information and configuration information of the intelligent equipment;
distributing a corresponding equipment node number for each intelligent equipment sub-node, wherein the equipment node number corresponds to the intelligent equipment type and the installation position of the intelligent equipment;
and distributing a corresponding scene node number for each scene mode child node, wherein the scene node number corresponds to the scene name information.
Preferably, the step S1 further includes:
and logging in the first gateway through a user terminal, and backing up the first system configuration information stored in the first gateway to the user terminal.
Preferably, the step S2 includes:
inquiring the intelligent equipment sub-node corresponding to each equipment node number in the first system configuration information to obtain the private information and the configuration information of the intelligent equipment;
replacing private information of the intelligent device with a placeholder for desensitization processing;
inquiring a scene mode sub-node corresponding to each scene node number, acquiring private information of the intelligent equipment and configuration information of a scene mode, and replacing the private information of the intelligent equipment with a placeholder to perform desensitization treatment; and generating a configuration template according to the desensitized first system configuration information.
Preferably, the step S2 further includes:
acquiring password information input by a user;
encrypting the data information in the configuration template according to the password information to generate encrypted data information and a check code;
and generating a configuration template according to the encrypted data information and the check code.
Preferably, the step S2 further includes:
generating a configuration template file in a format of 'lsdb' from the configuration template;
the configuration template file comprises a file header, and the file header comprises identification words and version information;
storing the configuration template file in a user terminal, and completing file type registration to an operating system of the user terminal through an APP client of the user terminal;
the step S3 includes:
logging in an Nth gateway in the Nth set of intelligent home system through an APP client of a user terminal, and importing the configuration template file into the APP client;
acquiring file header information in the configuration template file, and verifying the validity of the configuration template file according to the identifier word and the version information of the file header;
if the password information is legal, decrypting the data information in the configuration template according to the password information input by the user;
and verifying the decrypted data information according to the verification code, and if the verification is passed, acquiring the configuration template.
Preferably, the step S3 includes:
acquiring private information of the current intelligent equipment to be installed;
inquiring corresponding equipment node numbers and scene node numbers in the configuration template according to the installation position and the equipment type of the intelligent equipment to be installed at present;
and replacing the placeholder at the corresponding position in the configuration template with the private information of the intelligent equipment to be installed according to the equipment node number and the scene node number to generate the configuration information corresponding to the intelligent equipment to be installed.
Preferably, the step S3 further includes:
displaying the configuration template on a user terminal in an interface form;
displaying an intelligent device list and a scene list which need to be configured in the configuration template on the interface;
displaying the equipment node number of each intelligent equipment and the corresponding equipment type and installation position in the intelligent equipment list;
displaying each scene node number and the corresponding scene name in the scene list;
each device node number corresponds to a "configured" dialog box, and each scene node number corresponds to a "configured" dialog box.
Preferably, the configuration method further includes:
acquiring current system configuration information in an intelligent home system;
acquiring all equipment node numbers and all scene node numbers in current system configuration information;
and comparing all equipment node numbers and all scene node numbers in the current system configuration information with the equipment node numbers and the scene node numbers in the configuration template one by one, and if the equipment node numbers and the scene node numbers are inconsistent, reminding a user of configuring new intelligent equipment and intelligent scenes.
According to the above object, the present invention provides a batch configuration system of intelligent home systems, where the types and installation locations of intelligent devices of each set of intelligent home systems are the same, and the configuration system includes:
the system comprises a first configuration module, a second configuration module and a third configuration module, wherein the first configuration module is used for executing the configuration of a first set of intelligent home systems and acquiring corresponding first system configuration information, and the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene;
the template module is used for desensitizing the private information of each intelligent device in the first system configuration information and generating a configuration template according to the desensitized first system configuration information;
the second configuration module is used for executing the configuration of the Nth set of intelligent home system according to the configuration template, acquiring the private information of the current intelligent equipment to be installed, and executing replacement of the private information of the intelligent equipment to be installed at the corresponding position in the configuration template to generate the configuration information corresponding to the intelligent equipment to be installed;
and the generating module is used for repeatedly executing the second configuration module, acquiring the configuration information and all scene configuration information of each intelligent device in the configuration template, and generating the Nth system configuration information corresponding to the Nth set of intelligent home systems.
Compared with the prior art, the configuration method and the configuration system of the intelligent home system have the beneficial effects that: based on the template engineering installation technical scheme, a simple, stable and safe installation method is provided for the intelligent home system which needs to be installed in large quantity, and unnecessary manual input is reduced; the project quality can be ensured while the project implementation efficiency is greatly improved; greatly reducing the possibility of introducing problems due to excessive manual operation; the system configuration data is processed, so that the generated template file does not contain the private information of the user, and the private information of the user is configured by the system in real time only in the implementation and configuration process of the system, thereby ensuring the safety of important private data in the data transmission process; the template file is encrypted, so that the safety in the data transmission process is further guaranteed; based on the multilevel storage strategy of the configuration data of the tree structure and the configuration data of the tree structure in the template, the configuration template is more flexible; the configuration data in the template is not simply replaced into the target equipment, but the data difference between the target environment and the template configuration is intuitively obtained through comparison and analysis, so that the installation configuration can be selectively carried out, and the later-stage batch maintenance is facilitated; data can be selectively and synchronously configured through differential comparison calculation, and the product period coverage is wider; the system configuration is realized through the interface, so that greater convenience and flexibility are brought to engineering personnel; by means of template and synchronous configuration, standardization and unification of project implementation of the intelligent home system are guaranteed, and each set of delivered intelligent home system achieves the same function.
Drawings
FIG. 1 is a flow diagram of a method for batch configuration of an intelligent home system in accordance with an embodiment of the present invention.
FIG. 2 is a system diagram of a batch configuration system for intelligent home systems in accordance with an embodiment of the present invention.
Detailed Description
The present invention will be described in detail with reference to the specific embodiments shown in the drawings, which are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to the specific embodiments are included in the scope of the present invention.
In an embodiment of the present invention shown in fig. 1, the present invention provides a batch configuration method for intelligent home systems, where types and installation locations of intelligent devices of each set of intelligent home systems are the same, and the configuration method includes:
s1, executing configuration of a first set of intelligent home system, and acquiring corresponding first system configuration information, wherein the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene;
s2, in the first system configuration information, desensitizing the private information of each intelligent device, and generating a configuration template according to the desensitized first system configuration information;
s3, according to the configuration template, executing the configuration of the Nth set of intelligent home system, acquiring the private information of the current intelligent equipment to be installed, and executing replacement of the private information of the intelligent equipment to be installed at the corresponding position in the configuration template to generate the configuration information corresponding to the intelligent equipment to be installed;
and S4, repeatedly executing the step S3, acquiring the configuration information of each intelligent device in the configuration template and all scene configuration information, and generating the Nth system configuration information corresponding to the Nth set of intelligent home system.
In step S1, the configuration of the first smart home system is executed. The private information includes an ID of the smart device, communication channel information, and token information. The ID of the smart device is identification information for uniquely identifying the smart device. Specifically, all the intelligent devices in a first set of intelligent home system register with a first gateway in the system, and when each intelligent device registers, the first gateway sends the ID of the device to the first gateway, and the first gateway receives and stores the ID of the intelligent device. The method comprises the steps that a data channel is established between the intelligent device and a first gateway, and the first gateway distributes communication channel information and token information to the intelligent device. And the communication channel information and the token information are used for data transmission of the intelligent equipment and the gateway. After the intelligent device and the first gateway establish a data channel, the first gateway configures the intelligent device to acquire configuration information of the intelligent device. And analogizing in sequence, and after the configuration of the first set of intelligent home system is completed. And completing the installation and configuration of all intelligent equipment in the first set of intelligent home system through the APP client of the user terminal. After all the intelligent devices of the first set of intelligent home system are configured, configuring the scene modes of the first set of intelligent home system, obtaining configuration information of each scene mode, and obtaining corresponding first system configuration information, wherein the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene mode, and the private information comprises ID, communication channel information and token information of the intelligent device. The private information also comprises data information which is customized according to the requirements of users and needs to be protected.
According to an embodiment of the present invention, the step S1 further includes: and respectively storing the first system configuration information in a tree structure in a first gateway and a cloud server in the first set of intelligent home system, wherein the first gateway is used as a root node, each intelligent device and each scene mode are used as child nodes, the intelligent device child nodes comprise private information and configuration information of the intelligent device, and the scene mode child nodes comprise configuration information of the scene mode. And distributing a corresponding equipment node number for each intelligent equipment sub-node, wherein the equipment node number corresponds to the intelligent equipment type and the installation position of the intelligent equipment. And distributing corresponding scene node numbers for the scene mode sub-nodes. The scene node number corresponds to scene name information. The first gateway and the cloud server are in communication connection, and the first system configuration information is backed up in a hot backup mode. According to the technical scheme, the first system configuration information is stored in a tree structure, the data cannot be changed by copying and moving the root node data of the tree structure, and great convenience is brought to the query, storage, synchronization, combination and the like of the data. Meanwhile, the system configuration information is subjected to double backup protection, so that the safety and the correctness of the system configuration information are ensured.
According to a specific embodiment of the present invention, the types and installation location information of the smart devices in the first set of smart home systems are shown in the following table.
Figure GDA0003281285220000091
According to an embodiment of the present invention, the step S1 further includes: and logging in the first gateway through a user terminal, and backing up the first system configuration information stored in the first gateway to the user terminal. Specifically, an APP client installed through a user terminal logs in a first gateway, a dialog box of backup is arranged on an interface of the APP client, and the first system configuration information is backed up to the user terminal by clicking the dialog box. The first system configuration information is respectively stored in the first gateway and the cloud server, so that a source of backup data is selected according to a backup priority strategy, wherein the backup priority strategy comprises that the stored first system configuration information is preferentially acquired from the first gateway.
In step S2, in the first system configuration information, desensitization processing is performed on the private information of each of the smart devices, and a configuration template is generated according to the desensitized first system configuration information. Specifically, according to the above embodiment, the first system configuration information is in the form of a tree structure. The intelligent device sub-node comprises private information and configuration information of the intelligent device. Each intelligent device sub-node corresponds to a unique device node number, and the device node number corresponds to the intelligent device type and the installation position of the intelligent device. The scene mode child node includes configuration information of the scene mode. And each scene mode child node corresponds to the scene node number one by one. The scene node number corresponds to scene name information. Specifically, in the first system configuration information, inquiring an intelligent device sub-node corresponding to each device node number, and acquiring private information and configuration information of the intelligent device; replacing private information of the intelligent device with a placeholder for desensitization processing; inquiring a scene mode sub-node corresponding to each scene node number, acquiring the private information of the intelligent equipment and the configuration information of the scene mode, replacing the private information of the intelligent equipment with a placeholder for desensitization, and generating a configuration template according to the desensitized first system configuration information. In the generated configuration template, the private information of the device is replaced by the corresponding placeholder. By using the placeholder to replace the private information, for example, using the placeholder 1 to replace the ID information of the smart device 1, the security in the data transmission process is ensured. The technical scheme of replacing the private information with the placeholder is easier to search and replace all the private information in the system configuration information, and the technical scheme is simple and convenient to implement. According to the above embodiment, the data of the first system configuration information is a tree structure, so the data in the configuration template is also the same tree structure, and the tree structure of the configuration information is not changed. The tree structured data more easily enables the operations of finding and replacing.
According to an embodiment of the present invention, the step S2 further includes: acquiring password information input by a user, encrypting the data information in the configuration template according to the password information, generating encrypted data information and a check code, and generating the configuration template according to the encrypted data information and the check code. By adopting the technical scheme of encryption, the safety in the data transmission process is further ensured.
According to an embodiment of the present invention, the step S2 further includes: the configuration template generates a configuration template file in a format of 'lsdb'; the configuration template file comprises a file header, and the file header comprises identification words and version information; and storing the configuration template file in the user terminal, and completing file type registration to an operating system of the user terminal through an APP client of the user terminal. Specifically, an APP client is installed on the user terminal, and the APP client performs system registration with an operating system of the user terminal to notify the operating system that the configuration template file can be opened through the APP client. And sharing the configuration template file through the user terminal. After other users receive the engineering template and open the engineering template, the APP client side of the user terminal can open the configuration template because the APP client side performs file type registration on the operating system of the user terminal, and convenience is brought to batch installation of engineering personnel.
In step S3, according to the configuration template, the configuration of the nth set of smart home system is executed, the private information of the current to-be-installed smart device is obtained, the private information of the to-be-installed smart device is replaced at the corresponding position in the configuration template, and the configuration information corresponding to the to-be-installed smart device is generated. Specifically, the Nth set of intelligent home system is configured according to the configuration template. According to the above embodiment, the data information in the configuration template is in the form of a tree structure. In the configuration template, the private information of the device is replaced by the corresponding placeholder. After a code matching button of the intelligent equipment to be installed at present is pressed, the intelligent equipment to be installed and an Nth gateway in an Nth set of intelligent home system enter a code matching monitoring state, communication connection is established between the intelligent equipment to be installed and the Nth gateway distributes communication channel information and token information to the intelligent equipment to be installed, and private information of the intelligent equipment to be installed at present is obtained, wherein the private information comprises an ID (identity), the communication channel information and the token information of the intelligent equipment to be installed at present. Inquiring corresponding equipment node numbers and scene node numbers in the configuration template according to the installation position and the equipment type of the intelligent equipment to be installed at present; and replacing the placeholder at the corresponding position in the configuration template with the private information of the intelligent equipment to be installed according to the equipment node number and the scene node number to generate the configuration information corresponding to the intelligent equipment to be installed.
According to an embodiment of the present invention, the step S3 further includes: logging in an Nth gateway in the Nth set of intelligent home system through an APP client of a user terminal, and importing the configuration template file into the APP client; acquiring file header information in the configuration template file, and verifying the validity of the configuration template file according to the identifier word and the version information of the file header; if the password information is legal, decrypting the data information in the configuration template according to the password information input by the user; according to the check code, checking the decrypted data information; and if the verification is passed, acquiring the configuration template.
In order to make the system configuration more convenient and intuitive for the engineer according to an embodiment of the present invention, the step S3 further includes: displaying the configuration template on a user terminal in an interface form; displaying an intelligent device list and a scene list which need to be configured in the configuration template on the interface; displaying the equipment node number of each intelligent equipment and the corresponding equipment type and installation position in the intelligent equipment list; displaying each scene node number and the corresponding scene name in the scene list; each device node number corresponds to a "configured" dialog box, and each scene node number corresponds to a "configured" dialog box. Clicking a 'configuration' dialog box of each equipment node number to acquire the ID of the corresponding intelligent equipment, carrying out code matching communication between the intelligent equipment and the gateway and establishing a data channel, and distributing communication channel information and token information to the intelligent equipment by the gateway so that the system can complete the configuration of the intelligent equipment corresponding to the equipment node number. Similarly, clicking on the "configure" dialog box for each scene node number, the system may complete the configuration for that scene mode. Through showing the configuration template with the interface form, the user can see the smart machine list that current intelligent home systems need the configuration directly perceivedly to and the scene list that needs the configuration, equipment information and scene information can not be omitted, to the user, only need the one-key configuration of clicking, just can realize smart machine's configuration information, bring very big convenience for the user, the progress of equipment fixing has been improved, make things convenient for the acceptance of engineering facility, ensure standardization and the unification of smart home systems project implementation, the same function is all realized to every set of smart home systems of delivery.
And repeatedly executing the step S3, acquiring the configuration information of each intelligent device and all scene configuration information in the configuration template, and generating the Nth system configuration information corresponding to the Nth set of intelligent home system. And respectively storing the Nth system configuration information in an Nth gateway and a cloud server in the Nth set of intelligent home system.
In practical application, after the installed smart home systems operate for a period of time, the need for installing new smart devices in batches often arises, or the scene needs change, for example, when switching is performed in winter and summer, the scenes of the switching light timing task need to be adjusted in batches. To solve the problem, the present invention provides a preferred embodiment, and the method further includes: acquiring current system configuration information in an intelligent home system; acquiring all equipment node numbers and all scene node numbers in current system configuration information; and comparing all equipment node numbers and all scene node numbers in the current system configuration information with the equipment node numbers and the scene node numbers in the configuration template one by one, and if the equipment node numbers and the scene node numbers are inconsistent, reminding a user of configuring new intelligent equipment and intelligent scenes. Specifically, the user terminal logs in a gateway of the smart home system to obtain current system configuration information in the smart home system, where the system configuration information is stored in a tree structure form as described above. And acquiring all equipment node numbers and all scene node numbers in the current system configuration information, namely acquiring intelligent equipment information corresponding to the equipment node numbers and scene mode information corresponding to the scene node numbers. When new intelligent equipment installation configuration or scene mode replacement is added to the intelligent home system, the configuration template to be configured is led in through the user terminal, all equipment node numbers and all scene node numbers in the current system configuration information are compared with the equipment node numbers and the scene node numbers in the configuration template one by one, and if the equipment node numbers and the scene node numbers are inconsistent, the user is reminded to configure new intelligent equipment and an intelligent scene. For example, an intelligent device in the configuration template is not found in the current system configuration information, and the intelligent device needs to be configured, and the operation configuration is performed according to the above embodiment. By the technical scheme, the difference comparison is carried out on the current system configuration information and the configuration template, the equipment configuration can be selectively synchronized, and a user is reminded of configuring. The data storage mode of the tree structure is adopted, so that the difference comparison is easily realized.
In an embodiment of the present invention shown in fig. 2, the present invention provides a batch configuration system of smart home systems, where types and installation locations of smart devices of each set of smart home systems are the same, and the configuration system includes:
the first configuration module 20 is configured to execute configuration of a first set of smart home systems and acquire corresponding first system configuration information, where the first system configuration information includes private information and configuration information of each smart device and configuration information of each scene;
the template module 21 is configured to perform desensitization processing on the private information of each piece of intelligent equipment in the first system configuration information, and generate a configuration template according to the desensitized first system configuration information;
the second configuration module 22 is configured to execute configuration of an nth set of smart home system according to the configuration template, acquire private information of the current to-be-installed smart device, execute replacement of the private information of the to-be-installed smart device at a corresponding position in the configuration template, and generate configuration information corresponding to the to-be-installed smart device;
the generating module 23 is configured to repeatedly execute the second configuration module, acquire the configuration information and all the scene configuration information of each piece of smart equipment in the configuration template, and generate nth system configuration information corresponding to the nth set of smart home systems.
The first configuration module executes configuration of a first set of smart home systems. The private information includes an ID of the smart device, communication channel information, and token information. And when the configuration of the first set of intelligent home systems is completed, obtaining corresponding first system configuration information, wherein the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene mode, and the private information comprises an ID (identity), communication channel information and token information of the intelligent devices.
According to an embodiment of the present invention, the first configuration module further includes a first storage unit. The first storage unit stores the first system configuration information in a tree structure in a first gateway and a cloud server in the first intelligent home system, wherein the first gateway is used as a root node, each intelligent device and each scene mode are used as child nodes, the intelligent device child nodes comprise private information and configuration information of the intelligent device, and the scene mode child nodes comprise configuration information of the scene mode. And distributing a corresponding equipment node number for each intelligent equipment sub-node, wherein the equipment node number corresponds to the intelligent equipment type and the installation position of the intelligent equipment. And distributing corresponding scene node numbers for the scene mode sub-nodes. The scene node number corresponds to scene name information. According to the technical scheme, the first system configuration information is stored in a tree structure, and great convenience is brought to data query, storage, synchronization, combination and the like.
According to an embodiment of the present invention, the first configuration module further includes a backup unit. The backup unit logs in a first gateway in the first set of intelligent home systems through a user terminal, and backs up first system configuration information stored in the first gateway to the user terminal.
And the template module performs desensitization treatment on the private information of each intelligent device in the first system configuration information, and generates a configuration template according to the desensitized first system configuration information. Specifically, the template module comprises a first query unit, a first desensitization unit, a second query unit, a second desensitization unit and a generation unit. The first query unit queries the intelligent device sub-node corresponding to each device node number in the first system configuration information to obtain the private information and the configuration information of the intelligent device. The first desensitization unit replaces private information of the intelligent device with a placeholder to perform desensitization processing. The second query unit queries the scene mode sub-nodes corresponding to each scene node number to acquire the private information of the intelligent device and the configuration information of the scene mode. The second desensitization unit replaces private information of the intelligent device with a placeholder to perform desensitization processing. And the generating unit generates a configuration template according to the desensitized first system configuration information. In the generated configuration template, the private information of the device is replaced by the corresponding placeholder. The technical scheme of replacing the private information with the placeholder is easier to search and replace all the private information in the system configuration information, and the technical scheme is simple and convenient to implement.
According to a specific embodiment of the present invention, the template module further includes an encryption unit, where the encryption unit obtains password information input by a user, encrypts data information in the configuration template according to the password information to generate encrypted data information and a check code, and generates the configuration template according to the encrypted data information and the check code. By adopting the technical scheme of encryption, the safety in the data transmission process is further ensured.
According to an embodiment of the present invention, the template module further includes a file unit. In the file unit, generating a configuration template file in a format of 'lsdb' from the configuration template; the configuration template file comprises a file header, and the file header comprises identification words and version information; and storing the configuration template file in the user terminal, and completing file type registration to an operating system of the user terminal through an APP client of the user terminal.
In the second configuration module, according to the configuration template, executing configuration of an Nth set of intelligent home system, acquiring private information of the current intelligent equipment to be installed, and executing replacement of the private information of the intelligent equipment to be installed at a corresponding position in the configuration template to generate configuration information corresponding to the intelligent equipment to be installed. Specifically, the second configuration module includes an acquisition unit, a query unit, and a replacement unit. The obtaining unit obtains the private information of the current intelligent equipment to be installed, wherein the private information comprises the ID, the communication channel information and the token information of the current intelligent equipment to be installed. And the query unit queries the corresponding equipment node number and scene node number in the configuration template according to the installation position and the equipment type of the intelligent equipment to be installed currently. And the replacing unit replaces the placeholder at the corresponding position in the configuration template with the private information of the intelligent equipment to be installed according to the equipment node number and the scene node number to generate the configuration information corresponding to the intelligent equipment to be installed.
According to an embodiment of the present invention, the second configuration module further includes an importing unit, a verifying unit, and a decrypting unit. The leading-in unit logs in an Nth gateway in the Nth set of intelligent home system through an APP client of the user terminal, and the configuration template file is led in the APP client. The verification unit acquires file header information in the configuration template file and verifies the validity of the configuration template file according to the identification words and the version information of the file header. In the decryption unit, when the verification unit verifies that the configuration module file is legal, the data information in the configuration template is decrypted according to the password information input by the user; verifying the decrypted data information according to the verification code; and if the verification is passed, acquiring the configuration template.
According to an embodiment of the present invention, the second configuration module further includes an interface unit and a dialog box unit. In the interface unit, the configuration template is displayed on a user terminal in an interface mode; displaying an intelligent device list and a scene list which need to be configured in the configuration template on the interface; displaying the equipment node number of each intelligent equipment and the corresponding equipment type and installation position in the intelligent equipment list; and displaying each scene node number and the corresponding scene name in the scene list. In the dialog box unit, each equipment node number corresponds to a 'configuration' dialog box, and each scene node number corresponds to a 'configuration' dialog box. The configuration template is displayed in an interface mode, so that a user can visually see an intelligent equipment list required to be configured and a scene list required to be configured of the current intelligent home system, equipment information and scene information cannot be omitted, the configuration information of the intelligent equipment can be realized only by clicking one key for configuration, and great convenience is brought to the user.
The generating module repeatedly executes the second configuration module, acquires the configuration information of each intelligent device and all scene configuration information in the configuration template, and generates the Nth system configuration information corresponding to the Nth set of intelligent home systems. And respectively storing the Nth system configuration information in an Nth gateway and a cloud server of the Nth set of intelligent home system.
According to an embodiment of the present invention, the configuration system further includes a delta comparison module. The difference comparison module acquires current system configuration information in the intelligent home system; acquiring all equipment node numbers and all scene node numbers in current system configuration information; and comparing all equipment node numbers and all scene node numbers in the current system configuration information with the equipment node numbers and the scene node numbers in the configuration template one by one, and if the equipment node numbers and the scene node numbers are inconsistent, reminding a user of configuring new intelligent equipment and intelligent scenes. By the technical scheme, the difference comparison is carried out on the current system configuration information and the configuration template, the equipment configuration can be selectively synchronized, and a user is reminded of configuring. The data storage mode of the tree structure is adopted, so that the difference comparison is easily realized.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

Claims (9)

1. A batch configuration method of intelligent home systems is provided, and the intelligent equipment type and the installation position of each set of intelligent home systems are the same, and the configuration method is characterized by comprising the following steps:
s1, executing configuration of a first set of intelligent home system, and acquiring corresponding first system configuration information, wherein the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene;
respectively storing the first system configuration information in a first gateway and a cloud server in a first set of intelligent home systems in a tree structure, wherein the first gateway is taken as a root node, and each intelligent device and each scene mode are taken as child nodes;
the intelligent equipment child node comprises private information and configuration information of the intelligent equipment;
the scene mode child node comprises configuration information of the scene mode;
distributing a corresponding equipment node number for each intelligent equipment sub-node, wherein the equipment node number corresponds to the intelligent equipment type and the installation position of the intelligent equipment;
distributing a corresponding scene node number for each scene mode child node, wherein the scene node number corresponds to the scene name information;
s2, in the first system configuration information, desensitizing the private information of each intelligent device, and generating a configuration template according to the desensitized first system configuration information;
s3, according to the configuration template, executing the configuration of the Nth set of intelligent home system, acquiring the private information of the current intelligent equipment to be installed, and executing replacement of the private information of the intelligent equipment to be installed at the corresponding position in the configuration template to generate the configuration information corresponding to the intelligent equipment to be installed;
and S4, repeatedly executing the step S3, acquiring the configuration information of each intelligent device in the configuration template and all scene configuration information, and generating the Nth system configuration information corresponding to the Nth set of intelligent home system.
2. The batch configuration method for the smart home systems according to claim 1, wherein the step S1 further includes:
and logging in the first gateway through a user terminal, and backing up the first system configuration information stored in the first gateway to the user terminal.
3. The batch configuration method for the smart home systems according to claim 1, wherein the step S2 includes:
inquiring the intelligent equipment sub-node corresponding to each equipment node number in the first system configuration information to obtain the private information and the configuration information of the intelligent equipment;
replacing private information of the intelligent device with a placeholder for desensitization processing;
inquiring a scene mode sub-node corresponding to each scene node number, acquiring private information of the intelligent equipment and configuration information of a scene mode, and replacing the private information of the intelligent equipment with a placeholder to perform desensitization treatment; and generating a configuration template according to the desensitized first system configuration information.
4. The batch configuration method for the smart home systems according to claim 3, wherein the step S2 further comprises:
acquiring password information input by a user;
encrypting the data information in the configuration template according to the password information to generate encrypted data information and a check code;
and generating the configuration template according to the encrypted data information and the check code.
5. The batch configuration method for the smart home systems according to claim 4, wherein the step S2 further comprises:
generating a configuration template file in a format of 'lsdb' from the configuration template;
the configuration template file comprises a file header, and the file header comprises identification words and version information;
storing the configuration template file in a user terminal, and completing file type registration to an operating system of the user terminal through an APP client of the user terminal;
the step S3 includes:
logging in an Nth gateway in the Nth set of intelligent home system through an APP client of a user terminal, and importing the configuration template file into the APP client;
acquiring file header information in the configuration template file, and verifying the validity of the configuration template file according to the identifier word and the version information of the file header;
if the password information is legal, decrypting the data information in the configuration template according to the password information input by the user; and verifying the decrypted data information according to the verification code, and if the verification is passed, acquiring the configuration template.
6. The batch configuration method for the smart home systems according to claim 3, wherein the step S3 includes:
acquiring private information of the current intelligent equipment to be installed;
inquiring corresponding equipment node numbers and scene node numbers in the configuration template according to the installation position and the equipment type of the intelligent equipment to be installed at present;
and replacing the placeholder at the corresponding position in the configuration template with the private information of the intelligent equipment to be installed according to the equipment node number and the scene node number to generate the configuration information corresponding to the intelligent equipment to be installed.
7. The batch configuration method for the smart home systems according to claim 1, wherein the step S3 further includes:
displaying the configuration template on a user terminal in an interface form;
displaying an intelligent device list and a scene list which need to be configured in the configuration template on the interface;
displaying the equipment node number of each intelligent equipment and the corresponding equipment type and installation position in the intelligent equipment list;
displaying each scene node number and the corresponding scene name in the scene list;
each device node number corresponds to a "configured" dialog box, and each scene node number corresponds to a "configured" dialog box.
8. The batch configuration method of the smart home systems according to claim 1, further comprising:
acquiring current system configuration information in an intelligent home system;
acquiring all equipment node numbers and all scene node numbers in current system configuration information;
and comparing all equipment node numbers and all scene node numbers in the current system configuration information with the equipment node numbers and the scene node numbers in the configuration template one by one, and if the equipment node numbers and the scene node numbers are inconsistent, reminding a user of configuring new intelligent equipment and intelligent scenes.
9. The utility model provides an intelligent home systems's batch configuration system, each set intelligent home systems's intelligent device type is the same with the mounted position, its characterized in that, the configuration system includes:
the system comprises a first configuration module, a second configuration module and a third configuration module, wherein the first configuration module is used for executing the configuration of a first set of intelligent home systems and acquiring corresponding first system configuration information, and the first system configuration information comprises private information and configuration information of each intelligent device and configuration information of each scene;
respectively storing the first system configuration information in a first gateway and a cloud server in a first set of intelligent home systems in a tree structure, wherein the first gateway is taken as a root node, and each intelligent device and each scene mode are taken as child nodes;
the intelligent equipment child node comprises private information and configuration information of the intelligent equipment;
the scene mode child node comprises configuration information of the scene mode;
distributing a corresponding equipment node number for each intelligent equipment sub-node, wherein the equipment node number corresponds to the intelligent equipment type and the installation position of the intelligent equipment;
distributing a corresponding scene node number for each scene mode child node, wherein the scene node number corresponds to the scene name information;
the template module is used for desensitizing the private information of each intelligent device in the first system configuration information and generating a configuration template according to the desensitized first system configuration information;
the second configuration module is used for executing the configuration of the Nth set of intelligent home system according to the configuration template, acquiring the private information of the current intelligent equipment to be installed, and executing replacement of the private information of the intelligent equipment to be installed at the corresponding position in the configuration template to generate the configuration information corresponding to the intelligent equipment to be installed;
and the generating module is used for repeatedly executing the second configuration module, acquiring the configuration information and all scene configuration information of each intelligent device in the configuration template, and generating the Nth system configuration information corresponding to the Nth set of intelligent home systems.
CN201910850412.7A 2019-09-10 2019-09-10 Batch configuration method and system of intelligent home system Active CN110601931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910850412.7A CN110601931B (en) 2019-09-10 2019-09-10 Batch configuration method and system of intelligent home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910850412.7A CN110601931B (en) 2019-09-10 2019-09-10 Batch configuration method and system of intelligent home system

Publications (2)

Publication Number Publication Date
CN110601931A CN110601931A (en) 2019-12-20
CN110601931B true CN110601931B (en) 2021-12-07

Family

ID=68858458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910850412.7A Active CN110601931B (en) 2019-09-10 2019-09-10 Batch configuration method and system of intelligent home system

Country Status (1)

Country Link
CN (1) CN110601931B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447123B (en) * 2020-03-24 2021-11-05 北京金山云网络技术有限公司 Smart home configuration method and device, electronic equipment and medium
CN111898383B (en) * 2020-08-15 2021-09-10 佛山市顺德区浪琴家具有限公司 Intelligent household information processing method and device and readable storage medium
CN112104534B (en) * 2020-09-22 2022-05-27 厦门狄耐克智能科技股份有限公司 Deployment method of intelligent household system
CN113139713A (en) * 2021-03-25 2021-07-20 杭州博联智能科技股份有限公司 Intelligent service scene generation method and system based on template
CN115494735A (en) * 2021-06-02 2022-12-20 华为技术有限公司 Configuration method of equipment information of household equipment and electronic equipment
CN114047963A (en) * 2021-11-26 2022-02-15 南方电网科学研究院有限责任公司 Online monitoring device configuration method, device, equipment and storage medium
CN115225491A (en) * 2022-07-22 2022-10-21 上海庆科信息技术有限公司 Method, device, electronic device, storage medium and system for replacing equipment
CN116978150B (en) * 2023-09-25 2024-01-05 杭州行至云起科技有限公司 Intelligent lock control method, device and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260673A (en) * 2015-09-18 2016-01-20 小米科技有限责任公司 Short message reading method and apparatus
CN106484544B (en) * 2016-09-21 2023-07-14 北京邦天信息技术有限公司 Method and device for virtualizing Internet of things equipment
CN109039834B (en) * 2017-06-08 2021-05-25 美的智慧家居科技有限公司 Intelligent household system, configuration method, equipment and machine-readable storage medium
CN107766741A (en) * 2017-10-23 2018-03-06 中恒华瑞(北京)信息技术有限公司 Data desensitization system and method
CN109104341B (en) * 2018-07-02 2021-03-19 厦门立林科技有限公司 Batch deployment method of same-family type intelligent home system

Also Published As

Publication number Publication date
CN110601931A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN110601931B (en) Batch configuration method and system of intelligent home system
US11483143B2 (en) Enhanced monitoring and protection of enterprise data
CN102648471B (en) System and method for hardware based security
US20090136042A1 (en) Application layer authorization token and method
CN109670325B (en) Device and method for encrypting and decrypting configuration file
CN102625939A (en) System and method for managing electronic assets
CN102696045A (en) System and method for performing serialization of devices
CN112333213B (en) Privacy protection method and device for business data of power Internet of things
CN112134956A (en) Distributed Internet of things instruction management method and system based on block chain
CN105787057A (en) Automatic synchronization achieving method for business data between heterogeneous systems
CN109937565A (en) Method and apparatus for transmitting data in the distribution subscription system based on theme
CN114679319A (en) Block chain based distributed data synchronous encryption method
CN106941418A (en) The synchronous method and device of SSL VPN configuration informations
CN109981280A (en) A kind of electronic data evidence obtaining method and system
US20170005997A1 (en) Methods and systems for auto-commissioning of devices in a communication network
CN112559250B (en) Configuration data backup method and device for electric power Internet of things
CN112507301B (en) Internet of things equipment control method, device, equipment and storage medium
CN102215131A (en) Management method and device of functional License
CN112559252B (en) Configuration data management method and device based on attribute classification
CN112350875B (en) Centralized management configuration method and device for configuration data
CN111092935B (en) Data sharing method and virtual training device for machine learning
CN115968541A (en) Method, apparatus and system for data exchange between distributed database system and devices
CN114020290A (en) Authorization management method and system for SDN software
CN114449019A (en) Operation data recording method, node, system and equipment
CN112650630B (en) Distributed backup method and device for operating parameters of intelligent electric meter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 311215 rooms 601, 604, 2201, 2202, 2203, 2204, Yuesheng International Center, ningwei street, Xiaoshan District, Hangzhou City, Zhejiang Province

Applicant after: HANGZHOU LIFESMART TECHNOLOGY Co.,Ltd.

Address before: 310000 room 1001, building 2, 352 BINKANG Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: HANGZHOU LIFESMART TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant