CN110601937A - Method and device for simultaneously accessing multiple intelligent devices - Google Patents

Method and device for simultaneously accessing multiple intelligent devices Download PDF

Info

Publication number
CN110601937A
CN110601937A CN201910935802.4A CN201910935802A CN110601937A CN 110601937 A CN110601937 A CN 110601937A CN 201910935802 A CN201910935802 A CN 201910935802A CN 110601937 A CN110601937 A CN 110601937A
Authority
CN
China
Prior art keywords
equipment
type
intelligent
configuration
configuration file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910935802.4A
Other languages
Chinese (zh)
Other versions
CN110601937B (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.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Home System Ltd By Share 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 Qingdao Hisense Smart Home System Ltd By Share Ltd filed Critical Qingdao Hisense Smart Home System Ltd By Share Ltd
Priority to CN201910935802.4A priority Critical patent/CN110601937B/en
Publication of CN110601937A publication Critical patent/CN110601937A/en
Application granted granted Critical
Publication of CN110601937B publication Critical patent/CN110601937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method and a device for simultaneously accessing a plurality of intelligent devices, wherein the method comprises the steps of obtaining access request information of the plurality of intelligent devices, wherein the access request information comprises the device type and the device ID of each intelligent device, determining the configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device, the device configuration file is generated according to the configuration parameters of each type of device and a preset configuration rule, configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted. The configuration files can be used for simultaneously configuring the plurality of intelligent devices, and the simultaneous access of the plurality of intelligent devices can be realized without modifying the program codes of the gateway, so that the access efficiency of the intelligent devices can be improved.

Description

Method and device for simultaneously accessing multiple intelligent devices
Technical Field
The embodiment of the invention relates to the technical field of intelligent home, in particular to a method and a device for simultaneously accessing a plurality of intelligent devices.
Background
As a new hot spot industry, various smart devices are developed, and devices that can access to a smart home system are complex and diverse, and access and control modes of different brands and different series or different types of devices are different. Therefore, the following problems occur:
1. work and pressure concentration. Each time one type of equipment is accessed, a software developer needs to carry out a large amount of interface design, coding and repeated and complicated tests, so that most of the work and pressure of the access equipment are concentrated on a system end;
2. limiting server and bus gateway capacity. In the software development process, a certain number of program codes are added in a server and a bus gateway for accessing each type of equipment, and when the number of the access equipment reaches a certain number, the volumes and calculated amounts of the service program and the bus gateway program are increased greatly, so that the loads of the server and the bus gateway are increased, and the capacities of the system server and the bus gateway are limited;
3. impairing the competitive advantage of the system. Under the large environment that one system deals with multiple kinds of intelligent equipment, the response speed of developers is far behind the emerging speed of new equipment, so that the period of equipment access to the system is prolonged, the access quantity is limited, and the competitive advantage of the intelligent home system in the same industry is weakened.
Disclosure of Invention
The embodiment of the invention provides a method and a device for simultaneously accessing a plurality of intelligent devices, which are used for improving the access efficiency of the intelligent devices without modifying program codes of a server and a gateway when the plurality of intelligent devices are simultaneously accessed.
In a first aspect, an embodiment of the present invention provides a method for simultaneously accessing multiple intelligent devices, where the method includes:
acquiring access request information of a plurality of intelligent devices, wherein the access request information comprises the device type and the device ID of each intelligent device;
determining the configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device; the equipment configuration file is generated according to configuration parameters of various types of equipment and preset configuration rules;
and configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted.
According to the technical scheme, the plurality of intelligent devices can be configured simultaneously through the device configuration file, and the simultaneous access of the plurality of intelligent devices can be realized without modifying the program codes of the gateway, so that the access efficiency of the intelligent devices can be improved.
Optionally, the generating the device configuration file according to the configuration parameters of each type of device and the preset configuration rule includes:
determining the corresponding relation between the equipment type and the equipment group address according to the configuration parameters of each type of equipment;
writing the corresponding relation between the equipment type and the equipment group address, the equipment ID of each equipment and the configuration parameters of each equipment into a preset configuration file template;
and compiling the configuration file template after the data is written to generate the equipment configuration file.
Optionally, the device ID of each device is determined by floor information, location information, and device type of each device.
Optionally, the configuration information includes a device group address, a data type, a device control port, a device parameter, a data type and a data range of the device parameter, and a parameter control method.
In a second aspect, an embodiment of the present invention provides an apparatus for simultaneously accessing multiple intelligent devices, where the apparatus includes:
the intelligent device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring access request information of a plurality of intelligent devices, and the access request information comprises the device type and the device ID of each intelligent device;
the processing unit is used for determining the configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device; the equipment configuration file is generated according to configuration parameters of various types of equipment and preset configuration rules;
and configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted.
Optionally, the processing unit is specifically configured to:
determining the corresponding relation between the equipment type and the equipment group address according to the configuration parameters of each type of equipment;
writing the corresponding relation between the equipment type and the equipment group address, the equipment ID of each equipment and the configuration parameters of each equipment into a preset configuration file template;
and compiling the configuration file template after the data is written to generate the equipment configuration file.
Optionally, the device ID of each device is determined by floor information, location information, and device type of each device.
Optionally, the configuration information includes a device group address, a data type, a device control port, a device parameter, a data type and a data range of the device parameter, and a parameter control method.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for simultaneously accessing the plurality of intelligent devices according to the obtained program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the method for simultaneous access by multiple intelligent devices.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for simultaneously accessing multiple intelligent devices according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a device profile according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a device profile according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for simultaneously accessing multiple intelligent devices according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 illustrates an exemplary system architecture to which embodiments of the present invention may be applied, which may be a gateway 100, and the gateway 100 may include a processor 110, a communication interface 120, and a memory 130.
The communication interface 120 is used for the smart device to perform communication, receive and transmit information transmitted by the smart device, and implement communication.
The processor 110 is a control center of the gateway 100, connects various parts of the entire gateway 100 using various interfaces and routes, performs various functions of the gateway 100 and processes data by operating or executing software programs and/or modules stored in the memory 130 and calling data stored in the memory 130. Alternatively, processor 110 may include one or more processing units.
The memory 130 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing by operating the software programs and modules stored in the memory 130. The memory 130 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to a business process, and the like. Further, the memory 130 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 2 shows in detail a flow of a method for simultaneously accessing multiple intelligent devices according to an embodiment of the present invention, where the flow may be performed by an apparatus for simultaneously accessing multiple intelligent devices, and the apparatus may be located in the gateway 100 shown in fig. 1, or may be the gateway 100.
As shown in fig. 2, the process specifically includes:
step 201, access request information of a plurality of intelligent devices is obtained.
The access request information may include a device type and a device ID for each smart device.
Step 202, determining the configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device.
The configuration information may include a device group address, a data type, a device control port, a device parameter, a data type and a data range of the device parameter, and a parameter control method. The device configuration file is generated according to configuration parameters of each type of device and preset configuration rules. Specifically, the method includes the steps of firstly determining the corresponding relation between the equipment type and the equipment group address according to the configuration parameters of the equipment of each type, then writing the corresponding relation between the equipment type and the equipment group address, the equipment ID of each equipment and the configuration parameters of each equipment into a preset configuration file template, and finally compiling the configuration file template after data is written into the preset configuration file template to generate the equipment configuration file. Wherein the device ID of each device is determined by the floor information, the location information, and the device type of each device. For example:
for example, the specific steps of manufacturing the device profile are as follows:
(1) pr5 file and export device and device group address. esf file;
(2) generating a device list file of devlist _ xxx.xlsxx according to the requirement of devlist _ xxx template and the corresponding relation of the device and the group address in the esf file;
(3) the device list file devlist _ xxx.xlsxsxsxsx is saved as devlist _ xxx.csv file (separator selects english comma ',');
(4) and modifying the file name of the devlist _ xxx.csv into a required corresponding suffix file, such as devlist _ xxx.txt or devlist _ xxx.conf, so far, the devlist _485.conf configuration file is manufactured.
The above-described process of generating a device profile will be described in the following with specific embodiments:
in the first embodiment, taking KNX devices as an example, the device configuration file devlist _ cfg.txt is set as follows:
1. the specific generation operation of the devlist _ cfg.txt file is as follows:
(1) generating a device list file of devlist _ cfg.xlsx in a devlist _ cfg template according to the following description;
(2) the device list file devlist _ cfg.xlsx is saved as devlist _ cfg.csv file (separator selects English comma ',');
(3) and modifying the name of the devlist _ cfg.csv file to devlist _ cfg.txt, and thus finishing the making of the devlist _ cfg.txt configuration file.
2. The devlist _ cfg template xlsx was specifically made as follows:
the file header is composed of devID, devtype, devname, devloc, knxdt, sw _ grp, stat _ grp, bri _ grp, move _ grp, stop _ grp, temp _ grp, humi _ grp, abl _ gr, and comptionflag, wherein:
devID: and the equipment ID is 6-15 small letters and numbers (no underline can be generated, and the head of the number cannot be started).
devtype: device type, type of pointing device, selected through a drop down menu.
devname: device name, which may be consistent with device ID or another value.
devloc: the location of the device, the physical location where the device is located, such as a floor room, etc.
knxdt: and the data type of the KNX equipment is selected through a pull-down menu.
sw _ grp, stat _ grp, bri _ grp, move _ grp, stop _ grp, temp _ grp, humi _ grp, abl _ grp, dummy _ grp: and the group address attribute of the KNX equipment, wherein different equipment types correspond to the corresponding group address attribute.
Sympationflag: and the edge condition mark is used for indicating whether the equipment is an edge condition trigger scene.
1 represents yes and 0 represents no.
3. The device type corresponds to a specification of the data type and the group address attributes.
First, a.pr 5 file is generated by KNX's configuration programming tool ETS software and exported to a device and device group address. esf file.
According to the correspondence between the device and group addresses in the esf file, the corresponding addresses are filled in the table. For example: the equipment ID of the floor heating of the first floor living room can be named as f1 lvflrheter.
(1) HS _ TYPE _ SWITCH1, light SWITCH, KNX device data TYPE SCH _ DT _1BIT, KNX group address sw _ grp, stat _ grp are necessary addresses for control and status.
(2) HS _ TYPE _ SOCK, socket switch, KNX device data TYPE SCH _ DT _1BIT, KNX group address sw _ grp, stat _ grp are necessary addresses for control and status.
(3) HS _ TYPE _ DIM, dimming lamp, KNX device data TYPE SCH _ DT _1BYTEU, KNX group address sw _ grp, stat _ grp, bri _ grp are necessary addresses for switch, state and brightness.
(4) HS _ TYPE _ CURTC, curtain motor, KNX device data TYPE SCH _ DT _1BIT, KNX group address stat _ grp, move _ grp and stop _ grp are necessary addresses for state, switch and stop.
(5) HS _ TYPE _ CURTMATOR, controller, KNX device data TYPE SCH _ DT _1BIT, KNX group address stat _ grp, move _ grp, stop _ grp are necessary addresses for state, switch and stop.
(6) HS _ TYPE _ PM25, PM2.5 sensor, KNX device data TYPE SCH _ DT _2BYTEU, KNX group address stat _ grp is a status mandatory address.
(7) HS _ TYPE _ TEMPHUMI, temperature and humidity sensor, KNX device data TYPE SCH _ DT _2BYTEF, KNX group address temp _ grp, and humi _ grp are temperature and humidity necessary addresses.
(8) HS _ TYPE _ VOC, VOC sensor, KNX device data TYPE SCH _ DT _2BYTEU, KNX group address stat _ grp is a status mandatory address.
(9) HS _ TYPE _ GAS, a GAS security detector, a KNX device data TYPE SCH _ DT _1BIT, and a KNX group address stat _ grp are status necessary addresses.
(10) HS _ TYPE _ SMOKE, SMOKE security detector, KNX device data TYPE SCH _ DT _1BIT, and KNX group address stat _ grp are status necessary addresses.
(11) HS _ TYPE _ LEAK, water logging security and protection detector, KNX device data TYPE SCH _ DT _1BIT, and KNX group address stat _ grp are status necessary-matching addresses.
(12) HS _ TYPE _ EMERG, an emergency alarm security detector, a KNX device data TYPE SCH _ DT _1BIT and a KNX group address stat _ grp are state necessary addresses.
(13) HS _ TYPE _ INFRA, infrared curtain security detector, KNX device data TYPE SCH _ DT _1BIT, KNX group address stat _ grp, abl _ grp are status and enabling necessary address.
(14) HS _ TYPE _ ENERGY, electric ENERGY meter, KNX device data TYPE SCH _ DT _4BYTEU, KNX group address stat _ grp is the status must-match address.
(15) HS _ TYPE _ SECUR, scene security mode panel, KNX device data TYPE SCH _ DT _1BYTEU, KNX group address stat _ grp is a status must-match address.
(16) HS _ TYPE _ AUDIOALM, audible and visual alarm, KNX device data TYPE SCH _ DT _1BIT, KNX group address sw _ grp and stat _ grp are necessary addresses.
(17) HS _ TYPE _ HLSGATELOCK, cloud smart door lock SLB 828.
(18) HS _ TYPE _ ACGWFORLL, a medium-voltage VRV controller, KNX device data TYPEs SCH _ DT _1BIT, sw _ grp, stat _ grp, bri _ grp, move _ grp, stop _ grp, temp _ grp, humi _ grp, abl _ gr are necessary addresses.
(19) HS _ TYPE _ CO2, carbon dioxide detector, KNX device data TYPE SCH _ DT _2BYTEU, KNX group address stat _ grp as mandatory address.
Finally, a configuration file with contents as shown in fig. 3 is generated.
In a second embodiment, taking RS485 device as an example, the configuration file devlist _485.conf is set as follows:
1. the specific generation operation of the devlist _485.conf file is as follows:
(1) generating a device list file of devlist _485.xlsx in a devlist _485 template. xlsx according to the following description;
(2) the device list file devlist _485.xlsx is saved as devlist _485.csv file (the separator selects English comma ",) additionally;
(3) and modifying the file name of the devlist _485.csv file as devlist _485.conf, and finishing the manufacturing of the configuration file of the devlist _485. conf.
2. The devlist _485 template xlsx is specifically manufactured as follows:
the file header comprises an item, port _ num/dev _ ID, baud _ rate/dev _ type, parity/dev _ port, data _ bits/dev _ address and stop _ bits, wherein:
item: items, indicating whether a port or a device, are selected through a drop down menu.
2.1 when an item column selects a port, the following property settings can be made:
(1) port _ num: and the port number indicates the serial number of the port, and the selection range is 1-4 through pull-down menu selection.
(2) baud _ rate: the baud rate and the data transmission speed of the indication port are determined by the type of the access port and selected through a pull-down menu, and the selection range is 2400-460800.
(3) part: and the checking mode indicates the selected checking mode and is selected through a pull-down menu. The optional value is "O" or "N" or "E", where "O" represents an odd parity, "N" represents no parity, and "E" represents an even parity.
(4) data _ bits: and the data bits indicate the number of data bits actually contained in the data, and need to be selected according to the type of the equipment, and the selectable range is 7-8.
(5) stop _ bits: and a stop bit for indicating the end of character transmission, and the selectable range is 1-2 through the selection of a pull-down menu.
2.2 when an item selects device, the following property settings can be made:
(1) dev _ ID: the equipment ID has uniqueness, and is 1-15 bytes of characters and numbers (underlines cannot be generated, and the numbers cannot be started).
The device ID reference naming convention is as follows:
in order to facilitate the naming of the device at the APP side of the terminal device, the device ID is named according to some rules to indicate the location information of the device. The equipment ID is divided into three parts, and the three parts respectively indicate floors, positions and types, for example, the equipment ID of floor heating in a first-floor living room can be named as f1 lvflrheter.
The basic named key sample is provided below.
Floor: f1, first floor, B1 negative first floor;
position: ct dining room, lv living room, kc kitchen, eb east bedroom, wb west bedroom, ebb east bedroom bathroom, pb public bathroom, hw corridor, foy lobby, st stair, dn banquet hall, rd reading room, hk nurse room, ws laundry room, hkb nurse bathroom, fit gym room, cell wine cellar;
type (2): flrheater floor heating, secumode scene security mode panel.
(2) dev _ type: device TYPE, indicating the TYPE of device, and by pulling down, the TYPE of device, HS _ TYPE _ HLFLRHEATER, etc., can be selected.
(3) dev _ portnum: the equipment port number indicates the port number connected with the equipment, and the fillable range is 1-4.
(4) dev _ address: the device address of the Modbus, indicating the position of the device in the bus, needs to be consistent with the target address set in the device, and one port number can be connected with 32 devices at most, so that the address range capable of being filled in is 1-32.
(5) stop _ bits: the device stop bit is null.
3. Different device types will correspond to corresponding baud rate, data bit and stop bit attributes.
The final generated content may be a configuration file as shown in fig. 4.
Step 203, configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted.
After the system is restarted, the user can check the intelligent devices accessed by the gateway through the APP on the terminal device, that is, all the intelligent devices contained in the device configuration file are online.
The above embodiment shows that access request information of a plurality of intelligent devices is obtained, where the access request information includes a device type and a device ID of each intelligent device, and the configuration information of each intelligent device is determined from a device configuration file according to the device type and the device ID of each intelligent device, where the device configuration file is generated according to configuration parameters of each type of device and a preset configuration rule, and configures each intelligent device according to the configuration information of each intelligent device, and determines to access the plurality of intelligent devices after the system is restarted. The configuration files can be used for simultaneously configuring the plurality of intelligent devices, and the simultaneous access of the plurality of intelligent devices can be realized without modifying the program codes of the gateway, so that the access efficiency of the intelligent devices can be improved.
Based on the same technical concept, fig. 5 exemplarily shows a structure of an apparatus for simultaneously accessing a plurality of intelligent devices, which may execute a process for simultaneously accessing a plurality of intelligent devices, and the apparatus may be located in the gateway 100 shown in fig. 1, or may be the gateway 100.
As shown in fig. 5, the apparatus specifically includes:
an obtaining unit 501, configured to obtain access request information of multiple intelligent devices, where the access request information includes a device type and a device ID of each intelligent device;
a processing unit 502, configured to determine configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device; the equipment configuration file is generated according to configuration parameters of various types of equipment and preset configuration rules;
and configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted.
Optionally, the processing unit 502 is specifically configured to:
determining the corresponding relation between the equipment type and the equipment group address according to the configuration parameters of each type of equipment;
writing the corresponding relation between the equipment type and the equipment group address, the equipment ID of each equipment and the configuration parameters of each equipment into a preset configuration file template;
and compiling the configuration file template after the data is written to generate the equipment configuration file.
Optionally, the device ID of each device is determined by floor information, location information, and device type of each device.
Optionally, the configuration information includes a device group address, a data type, a device control port, a device parameter, a data type and a data range of the device parameter, and a parameter control method.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method for simultaneously accessing the plurality of intelligent devices according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the method for simultaneously accessing the plurality of intelligent devices.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for simultaneously accessing a plurality of intelligent devices is characterized by comprising the following steps:
acquiring access request information of a plurality of intelligent devices, wherein the access request information comprises the device type and the device ID of each intelligent device;
determining the configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device; the equipment configuration file is generated according to configuration parameters of various types of equipment and preset configuration rules;
and configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted.
2. The method of claim 1, wherein the generating the device configuration file according to the configuration parameters of each type of device and the preset configuration rules comprises:
determining the corresponding relation between the equipment type and the equipment group address according to the configuration parameters of each type of equipment;
writing the corresponding relation between the equipment type and the equipment group address, the equipment ID of each equipment and the configuration parameters of each equipment into a preset configuration file template;
and compiling the configuration file template after the data is written to generate the equipment configuration file.
3. The method of claim 2, wherein the device ID of each device is determined by floor information, location information, and device type of each device.
4. A method according to any one of claims 1 to 3, wherein the configuration information comprises a device group address, a data type, a device control port, a device parameter, a data type and a data range of a device parameter, and a parameter control method.
5. The utility model provides a device that a plurality of smart machine inserted simultaneously which characterized in that includes:
the intelligent device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring access request information of a plurality of intelligent devices, and the access request information comprises the device type and the device ID of each intelligent device;
the processing unit is used for determining the configuration information of each intelligent device from a device configuration file according to the device type and the device ID of each intelligent device; the equipment configuration file is generated according to configuration parameters of various types of equipment and preset configuration rules;
and configuring each intelligent device according to the configuration information of each intelligent device, and determining to access the plurality of intelligent devices after the system is restarted.
6. The apparatus as claimed in claim 5, wherein said processing unit is specifically configured to:
determining the corresponding relation between the equipment type and the equipment group address according to the configuration parameters of each type of equipment;
writing the corresponding relation between the equipment type and the equipment group address, the equipment ID of each equipment and the configuration parameters of each equipment into a preset configuration file template;
and compiling the configuration file template after the data is written to generate the equipment configuration file.
7. The apparatus of claim 6, wherein the device ID of each device is determined by floor information, location information, and device type of each device.
8. The apparatus of any of claims 5 to 7, wherein the configuration information comprises a device group address, a data type, a device control port, a device parameter, a data type and a data range of a device parameter, and a parameter control method.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 4 in accordance with the obtained program.
10. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN201910935802.4A 2019-09-29 2019-09-29 Method and device for simultaneously accessing multiple intelligent devices Active CN110601937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935802.4A CN110601937B (en) 2019-09-29 2019-09-29 Method and device for simultaneously accessing multiple intelligent devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935802.4A CN110601937B (en) 2019-09-29 2019-09-29 Method and device for simultaneously accessing multiple intelligent devices

Publications (2)

Publication Number Publication Date
CN110601937A true CN110601937A (en) 2019-12-20
CN110601937B CN110601937B (en) 2021-09-21

Family

ID=68864729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935802.4A Active CN110601937B (en) 2019-09-29 2019-09-29 Method and device for simultaneously accessing multiple intelligent devices

Country Status (1)

Country Link
CN (1) CN110601937B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061162A (en) * 2019-12-26 2020-04-24 珠海世讯科技有限公司 KNX intelligent device control method and system
CN112491505A (en) * 2020-11-17 2021-03-12 珠海格力电器股份有限公司 Communication method, device and system
CN114327217A (en) * 2021-11-19 2022-04-12 南京征途信息技术有限公司 Method for simplifying configuration of comprehensive background monitoring management system of intelligent station house

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945493A (en) * 2010-09-14 2011-01-12 中兴通讯股份有限公司 Intelligent home network system, control device and method
CN105068434A (en) * 2015-07-09 2015-11-18 天脉聚源(北京)传媒科技有限公司 Method and apparatus of monitoring operation parameter of electric appliance
CN105487517A (en) * 2015-12-31 2016-04-13 杭州鸿雁智能科技有限公司 Self-network method of home WIFI network system
CN110149618A (en) * 2019-05-09 2019-08-20 腾讯科技(深圳)有限公司 Smart machine cut-in method, device, equipment and medium based on vocal print authorization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945493A (en) * 2010-09-14 2011-01-12 中兴通讯股份有限公司 Intelligent home network system, control device and method
CN105068434A (en) * 2015-07-09 2015-11-18 天脉聚源(北京)传媒科技有限公司 Method and apparatus of monitoring operation parameter of electric appliance
CN105487517A (en) * 2015-12-31 2016-04-13 杭州鸿雁智能科技有限公司 Self-network method of home WIFI network system
CN110149618A (en) * 2019-05-09 2019-08-20 腾讯科技(深圳)有限公司 Smart machine cut-in method, device, equipment and medium based on vocal print authorization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061162A (en) * 2019-12-26 2020-04-24 珠海世讯科技有限公司 KNX intelligent device control method and system
CN112491505A (en) * 2020-11-17 2021-03-12 珠海格力电器股份有限公司 Communication method, device and system
CN114327217A (en) * 2021-11-19 2022-04-12 南京征途信息技术有限公司 Method for simplifying configuration of comprehensive background monitoring management system of intelligent station house

Also Published As

Publication number Publication date
CN110601937B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN110601937B (en) Method and device for simultaneously accessing multiple intelligent devices
CN104898634B (en) Information processing method and electronic equipment
CN107133188B (en) Daisy chain connected master-slave communication address distributing method, system and slave computer and master computer
CN103116336B (en) Method and device for automatic management of controlled device through intelligent home control terminal
CN113359492B (en) Method and device for controlling household appliance and household appliance
CN109901888A (en) A kind of design method of configuration file Auto-Generation Tool
CN107580040B (en) Method and device for upgrading communication module in intelligent household terminal
CN104268112A (en) Method and device for connecting ADB devices
CN110784538A (en) Household appliance configuration file generation method and device, household appliance and storage medium
Chioran et al. Arduino based smart home automation system
CN105022305B (en) Method and system for controlling correspondence between room number and engineering number of air conditioner internal unit
CN104572454B (en) A kind of method and device of locating resource
US20130268639A1 (en) Script modification suggestion
CN106407118A (en) Method and device for testing user terminal
CN110703708B (en) Management method and system for hierarchical intelligent equipment group
CN109218085A (en) Equipment automatization and scene configuration management method, device and mobile terminal
CN110733037B (en) Signal processing method and device, storage medium and processor
CN105338009A (en) Control method and system of electronic equipment, and associated equipment
CN103916428A (en) Private cloud inside data transmission method, private cloud platform and private cloud system
CN107450924A (en) One kind driving monitoring method, device and system
CN106610899A (en) Test case generation method and device
CN113253708A (en) Method and device for automatically generating simulation tool configuration file for signal system test
CN116215617B (en) Manual unlocking disc monitoring method and device
CN109752966A (en) A kind of intelligent switch
MX2013003483A (en) Method of enabling a foolproof home energy device control network including human language catchphrases.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee after: Qingdao Hisense Smart Life Technology Co.,Ltd.

Address before: 266100 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd.