CN104954449A - IoT (internet of things) control method and apparatus - Google Patents

IoT (internet of things) control method and apparatus Download PDF

Info

Publication number
CN104954449A
CN104954449A CN201510290348.3A CN201510290348A CN104954449A CN 104954449 A CN104954449 A CN 104954449A CN 201510290348 A CN201510290348 A CN 201510290348A CN 104954449 A CN104954449 A CN 104954449A
Authority
CN
China
Prior art keywords
equipment
defined file
control
server
controls
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
CN201510290348.3A
Other languages
Chinese (zh)
Other versions
CN104954449B (en
Inventor
沈吉喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Changsheng Information Technology Co ltd
Original Assignee
Black Crystal (beijing) 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 Black Crystal (beijing) Technology Co Ltd filed Critical Black Crystal (beijing) Technology Co Ltd
Priority to CN201510290348.3A priority Critical patent/CN104954449B/en
Publication of CN104954449A publication Critical patent/CN104954449A/en
Application granted granted Critical
Publication of CN104954449B publication Critical patent/CN104954449B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Abstract

The invention discloses an IoT (internet of things) control method and apparatus. The method includes the steps: acquiring an MAC (media access control) address and a DTID (device type identification) of a device, and determining the type of the device based on the DTID; if the device is determined to be a new type, using a controller to acquire a device control definition file from the device, establish a mapping with the device according to the MAC address, and control the device based on the device control definition file. According to the IoT control method and apparatus, the device control definition file of the device is stored in a read-only area of the device, and for devices of the same type, the sources of control logic are the devices themselves, thereby solving the problem of logical consistency; the IoT control apparatus is easy to maintain and expand, can be integrated randomly without dependence on external network and is high in high economy.

Description

Internet of Things control method and device
Technical field
The present invention relates to Internet of Things field, particularly relate to a kind of Internet of Things control method and device.
Background technology
Internet of Things comprises back-end server, equipment and terminal control unit, wherein back-end server may be deployed in the backstage machine room of high in the clouds or enterprise, equipment comprises air-conditioning, washing machine, socket, TV etc., and terminal control unit can be smart mobile phone, Intelligent flat, intelligent remote controller or PC etc.
Need in prior art to write the logic of coupling respectively in order to realize the control of controller to equipment at back-end server, equipment, terminal control unit.But when equipment control logic changes, prior art has the defect being unfavorable for safeguarding, and complex logic is easily made mistakes, and autgmentability is not strong, is unfavorable for integrated, high to outside dependency degree.
Therefore, be necessary to propose a kind ofly be convenient to safeguard and be not easy the Internet of Things control method of makeing mistakes, improve autgmentability and integrated level, effectively can reduce the dependence to outside.
Summary of the invention
The technical problem that the disclosure will solve how to propose a kind ofly be convenient to safeguard and be not easy the Internet of Things control method of makeing mistakes, and improves autgmentability and integrated level and reduce dependence to outside.
The disclosure provides a kind of Internet of Things control method, comprising: obtain the MAC Address of equipment and device type identification code DTID, and based on the type of device type identification code DTID judgment device; If when judging that to obtain equipment be newtype, controller obtains equipment from equipment and controls defined file, maps according to setting up with equipment of MAC Address, based on the control of equipment control defined file realization to equipment.
Further, the equipment of equipment controls the read-only zones that defined file is stored in equipment, and the source of the equipment control logic of same type is equipment itself.
Further, obtain MAC Address and the device type identification code DTID of terminal equipment, and after type based on device type identification code DTID judgment device, also comprise: make server based on the type of device type identification code DTID checkout facility, and whether the equipment of judgment device or type is registered; If detect, the equipment of equipment or type is all unregistered, and the equipment of inquiry unit controls defined file; If the equipment getting equipment controls defined file, memory device controls defined file, sets up mapping relations based on MAC Address and equipment.
Further, after setting up mapping relations, also comprise: controller sends the access request to equipment to server based on MAC Address and equipment, MAC Address and the device type identification code DTID of the terminal equipment of the equipment that server is stored send to controller; Obtaining equipment if judge is newtype, and controller does not have the equipment of the equipment of storage class to control defined file, sends to server the request that inquiry unit controls defined file; The equipment that controller reception server sends controls defined file, controls based on equipment the control that defined file realizes the equipment to MAC Address and DTID.
Further, equipment arranges the identification code of this equipment of unique identification, by barcode scanning recognition technology obtaining equipment unique identification, and according to the password confirming controller of user's input to the access right of equipment, identification code comprises Quick Response Code, bar code, letter or number.
Further, if the equipment of equipment or type is registered to server, controller sets up the mapping relations with equipment according to server, and the equipment based on server stores controls the control of defined file realization to equipment.
The disclosure provides a kind of Internet of Things control device, comprising: acquisition module, for obtaining MAC Address and the device type identification code DTID of equipment, and based on the type of device type identification code DTID judgment device; Processing module, if for judging that to obtain equipment be newtype time, controller obtains equipment from equipment and controls defined file, maps according to setting up with equipment of MAC Address, based on the control of equipment control defined file realization to equipment.
Further, the equipment of equipment controls the read-only zones that defined file is stored in equipment, and the source of the equipment control logic of same type is equipment itself.
Further, processing module also for: make server based on the type of device type identification code DTID checkout facility, and whether the equipment of judgment device or type is registered; If detect, the equipment of equipment or type is all unregistered, and the equipment of inquiry unit controls defined file; If the equipment of acquisition controls defined file, memory device controls defined file, sets up mapping relations based on MAC Address and equipment.
Further, this device also comprises sending module, and for sending the access request to equipment to server, acquisition module is used for MAC Address and the device type identification code DTID of the terminal equipment of the equipment that reception server stores; If processing module is used for judging that obtaining equipment is newtype, controller does not have the equipment of the equipment of storage class to control defined file, sends to server the request that inquiry unit controls defined file; Receiver module is used for the equipment that reception server sends and controls defined file, controls based on equipment the control that defined file realizes the equipment to MAC Address and DTID.
Further, equipment arranges the identification code of this equipment of unique identification, acquisition module is by barcode scanning recognition technology obtaining equipment unique identification, and according to the password confirming controller of user's input to the access right of equipment, identification code comprises Quick Response Code, bar code, letter or number.
Further, if the equipment of equipment or type is registered to server, processing module is used for setting up the mapping relations with equipment according to server, and the equipment based on server stores controls the control of defined file realization to equipment.
The Internet of Things control method that the disclosure provides and device, the equipment of equipment is controlled the read-only zones that defined file is kept at equipment, the equipment of same model, the source of control logic is all equipment itself, thus solve the problem of logical consistency, be easy to safeguard, be convenient to expansion, can arbitrarily integrated, to outer net without dependence, economy is higher.
Description of the invention provides in order to example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is in order to principle of the present invention and practical application are better described, and enables those of ordinary skill in the art understand the present invention thus design the various embodiments with various amendment being suitable for special-purpose.
Accompanying drawing explanation
Fig. 1 illustrates the flow chart of the Internet of Things control method of one embodiment of the invention.
Fig. 2 illustrates the structural representation of the Internet of Things control system of one embodiment of the invention.
Fig. 3 illustrates the flow chart of the Internet of Things control method of another embodiment of the present invention.
Fig. 4 illustrates the flow chart of the Internet of Things control method of another embodiment of the present invention
Fig. 5 illustrates the structural representation of the Internet of Things control device of one embodiment of the invention.
Fig. 6 shows the structured flowchart of the Internet of Things control device of an alternative embodiment of the invention.
Embodiment
With reference to the accompanying drawings the present invention is described more fully, exemplary embodiment of the present invention is wherein described.
Fig. 1 illustrates the flow chart of the Internet of Things control method of one embodiment of the invention.As shown in Figure 1, the method mainly comprises:
Step 100, server or controller obtain MAC Address (the Media Access Control of equipment, media interviews control or are called physical address or hardware address) and device type identification code (Device type identification, DTID), and based on the type of device type identification code DTID judgment device.
Step 102, if when judging that to obtain equipment be newtype, controller obtains equipment from this equipment and controls defined file, maps according to setting up with equipment of MAC Address, based on the control of equipment control defined file dcd realization to equipment.
In one embodiment, equipment controls the read-only zones that defined file is stored in equipment, and the source of the equipment control logic of same type is equipment itself.
In one embodiment, make server based on the type of device type identification code DTID checkout facility, and whether the equipment of judgment device or type is registered; If detect, the equipment of equipment or type is all unregistered, and the equipment of inquiry unit controls defined file; If the equipment of acquisition controls defined file, memory device controls defined file, sets up mapping relations based on MAC Address and equipment.
In one embodiment, the identification code of this equipment of unique identification can be set on equipment, by barcode scanning recognition technology obtaining equipment unique identification, and according to the password confirming controller of user's input to the access right of equipment, identification code comprises Quick Response Code, bar code, letter or number.
In one embodiment, controller sends the access request to equipment to server, and after server receives this access request, MAC Address and the device type identification code DTID of the terminal equipment of the equipment stored send to controller.If controller judges that obtaining equipment is newtype, controller does not have the equipment of the equipment of storage class to control defined file, sends to server the request that inquiry unit controls defined file; The equipment that controller reception server sends controls defined file, controls the control of defined file realization to equipment based on equipment.
In one embodiment, if the equipment of equipment or type is registered to server, controller sets up the mapping relations with equipment according to server, and the equipment based on server stores controls the control of defined file realization to equipment.
The Internet of Things control method of the embodiment of the present invention, the equipment of equipment is controlled the read-only zones that defined file is kept at equipment, and the equipment of same model, the source of control logic is all equipment itself, thus solves the problem of logical consistency.
In one embodiment, equipment controls defined file (Device control definition, dcd) content comprised can comprise: 1, the input parameter of function, output parameter and abnormality code are such as: the heating function of water heater, need to be heated to how many degree, the heating mode of employing, dry combustion method protection; 2, the code of state, such as: current indoor temperature, humidity; 3, the communication protocol type adopted and version.
In one embodiment, control defined file by server controls air-conditioning for mobile phone as equipment, the equipment of this air-conditioning controls defined file and can be defined as:
In one embodiment, the said equipment control defined file being obtained this air-conditioning by server that mobile phone can be direct or indirect, and then realize the control to air-conditioning equipment.
It should be noted that, although exemplarily describe Internet of Things control method as above with mobile phone, it will be appreciated by those skilled in the art that the present invention should be not limited thereto.In fact, user can set flexibly according to practical application scene how to realize controlling completely.Such as terminal control unit can be the controllers such as pad, computer, intelligent television, pda, and equipment can be air-conditioning, washing machine, TV, water heater and the electric light, curtain, automobile etc. with control circuit.
Under multiple network environment, terminal control unit can adopt the most efficient method control appliance automatically.Fig. 2 illustrates the structural representation of the Internet of Things control system of one embodiment of the invention.As shown in Figure 2, this system mainly comprises: local area network (LAN) 200, high in the clouds, backstage 206 and outer net 210.Its middle controller and equipment can be in same local area network (LAN) or not in consolidated network.
In one embodiment, when equipment and terminal control unit are in same local area network (LAN), controller directly can obtain equipment from equipment and control defined file.System external portion network does not rely on, and when outer net disconnects, as long as under controller and equipment are in same local area network (LAN), controller can control defined file by direct acquisition equipment from equipment.Thus reduce the dependence of external network.For example, as the terminal control unit 205 in Fig. 2 can control defined file B.dcd and obtain this equipment to control defined file by inquiry unit, in same local area network (LAN), the control to equipment B is realized based on this equipment control defined file.When equipment and controller at same local area network (LAN), equipment and controller do not rely on the UNICOM of outer net, because communication can pass through network equipment transfer, so the scope of local area network (LAN) can be covered, if after being equipped with the gateway of Multi net voting communication module, equipment and terminal control unit can be equipped with different network communication module, change communication by gateway.
In one embodiment, when can not access any consolidated network between equipment and controller, whether controller broadcast query exists can the equipment of direct network connection, when device responds, when discovering device is the equipment of UNKNOWN TYPE, the equipment of inquiry unit controls defined file, and equipment Returning equipment controls defined file, thus reaches the object of control appliance.In this case without any network equipment, only there is terminal control unit and equipment.This kind of situation network cost is minimum, but command range is also nearest, and requires that communication two party needs to be equipped with the network communication module of identical type.
As shown in Figure 2, if when there is network, equipment need be registered to the server in high in the clouds, backstage, and when facility registration, if server detects that this equipment is the equipment of newtype, the equipment obtaining device A controls defined file A.dcd.
Control logic is uploaded to server by equipment by device A, and equipment is controlled the controller that defined file is transmitted to needs by server.Background server and controller do not need the control logic of interested devices, only need the rule of the control defined file A.dcd provided according to equipment to remove control appliance, thus solve the problem of maintainability, autgmentability and integration.In this case, as long as equipment and terminal control unit can connecting Internets, no matter how far distance all can realize the communication of both sides, and communication is by background server transfer, but the scope of application is larger.In addition, controller only needs to control defined file according to the equipment of the Requirement Acquisition relevant device of user, and does not need continuous refresh routine to adapt to the upgrading of new equipment or equipment.
The Internet of Things control method that the embodiment of the present invention provides, is easy to safeguard, logic is consistent, be convenient to expansion, can be integrated, higher without dependence, economy to outer net arbitrarily.
Fig. 3 illustrates the flow chart of the Internet of Things control method of another embodiment of the present invention.As shown in Figure 3, the method mainly comprises:
Step 301, device start, reports server.
Generally speaking, during new equipment opening of device, the process when this device type is not also registered in systems in which, this equipment needs to register to system.In this step, the MAC Address of self and device type mark DTID are sent to background server by equipment.
Step 302, checks whether this equipment is registered.If this equipment is unregistered, then perform step 303, if this equipment is registered, now store DTID and MAC of equipment in server and equipment controls defined file, server DTID and MAC of the direct equipment of its storage can set up mapping relations.
Step 303, checks whether the equipment of this device type is registered.If detect, the equipment of this device type is unregistered, then perform step 304.If the equipment of this device type is registered, then directly can set up mapping relations.
Step 304, registers this equipment.
Step 305, inquiry unit controls defined file.
Step 306, automatically obtains equipment from equipment and controls defined file.
Particularly, during device registration, the equipment of background server inquiry unit type controls defined file (dcd file).This equipment fetch equipment from its read-only zones controls defined file (dcd), and returns to server end.
Step 307, the inquiry request of response and server, equipment transmitting apparatus controls defined file (dcd file).
Step 308, receive equipment transmitting apparatus and control defined file (dcd file), server preserves this file, and sets up based on MAC Address and DTID and this equipment and map.
In one embodiment, server record is also set up and preserves mapping relations, and wherein log file comprises MAC, type identification code (DTID) and equipment control defined file (dcd file).
Step 309, in controller side input equipment mark, obtains granted access equipment.
In one embodiment, terminal control unit, by recognition technologies such as Quick Response Codes, obtains equipment unique identification, and inputs the access right that password confirmed this equipment.
Under using outer net situation, terminal control unit obtains equipment and controls defined file: the equipment oneself wanting to control determined by mobile phone by unique identification code of equipment, during first time granted access new equipment, obtain equipment from server and control defined file (dcd).
Step 310, the type of terminal control unit inquiry unit.
Particularly, controller, also can directly and devices communicating by the type of server interrogates equipment, the type of inquiry unit.
Step 311, server Returning equipment type identification DTID.
In one embodiment, when terminal control unit finds that not storing corresponding equipment controls defined file (dcd file), type identification code (DTID) from terminal control unit to this equipment of server interrogates thus detect whether there is the dcd file of the equipment of the type, server makes response after receiving this inquiry request.
Step 312, controller detects the equipment self whether comprising the equipment of the type and controls defined file.If so, then perform step 315, otherwise perform step 313.
Step 313, when controller detects the equipment control defined file self not comprising the equipment of the type, the equipment of inquiry unit controls defined file.
Step 314, the equipment of this equipment of server lookup controls defined file, equipment is controlled defined file and returns to terminal control unit.
Step 315, controls the rule access equipment of defined file according to equipment, and can sending controling instruction.
In one embodiment, terminal control unit request server sends this equipment and controls defined file (dcd), and server returns this file.Terminal control unit utilizes the rule in equipment control defined file (dcd), realizes the control to equipment.
Step 316, after receiving the control command of controller, according to control command executable operations.
In one embodiment, terminal control unit and equipment are when same local area network (LAN), the control law of new equipment also do not understood by terminal control unit, terminal control unit directly obtains from equipment the process that equipment controls defined file (dcd) by local area network (LAN), Fig. 4 illustrates the flow chart of the Internet of Things control method of another embodiment of the present invention, as shown in Figure 4
Step 401, terminal control unit identification equipment, checks whether that the equipment that there is this equipment or the type equipment controls defined file, if so, then performs step 404, otherwise perform step 402.
In one embodiment, the Quick Response Code (or other identification codes) of terminal control unit by scanning device prints, MAC Address and the type identification code (DTID) of terminal equipment is obtained by local area network (LAN), now find that this equipment is newtype, then need to obtain equipment from controller and control defined file.
Step 402, terminal control unit requesting service obtains equipment and controls defined file (dcd).
Step 403, equipment directly returns this equipment and controls defined file.
Step 404, terminal control unit utilizes the rule in equipment control defined file (dcd), realizes the control to equipment.
The Internet of Things control method tool of the above embodiment of the present invention has the following advantages:
Be easy to safeguard, when control logic changes, the logic of server, equipment, terminal control unit three aspects need not be revised simultaneously, only need to issue also synchronizer and control defined file, facilitate user to safeguard.
Logic is consistent, the problem that complex logic is easily made mistakes can be overcome, for the control logic of often kind of equipment, any terminal control unit only depends on that the equipment of read-only memory block in this equipment controls defined file (dcd file), as long as use identical dcd file, control logic is consistent, communication two party such as controller according to consistent standard traffic, will reduce the result of makeing mistakes because of artificial origin with equipment.
Be convenient to expansion, the problem that existing system autgmentability is not strong can be overcome, reduce the development cost of new equipment, as long as use equipment to control defined file according to the constraints formulated, whatsoever equipment can be expanded under the prerequisite not changing server and control end, has good autgmentability.Such as, when adding the equipment of newtype in system, need not the new equipment associated control logic of artificially synchronized update back-end server and terminal control unit.
Can be integrated arbitrarily, as long as use Control architecture file according to same constraints, the equipment of any manufacturers produce can be integrated in system, simultaneously server and controller without any need for amendment, can be integrated arbitrarily.Such as, when Internet of Things develops into certain phase, necessarily have numerous Internet of Things enterprise and need compatible problem, the smart machine of different enterprises R&D and production is want to integrate, it will be a great complexity, near not achievable task, the control method that the embodiment of the present invention provides can effectively solve this problem.
To outer net without dependence, as long as there is minimum network connection conditions, control end (terminal control unit) and controlled terminal (equipment) are as long as under same local area network (LAN), and not connecting outer net also can finishing service requirement.
Have higher economy, system can select the most efficient communication modes automatically, and accomplish to realize business with minimum cost, thus alleviate the cost of background server, background server will support the use of multi-user as far as possible with minimum cost.
Fig. 5 illustrates the structural representation of the Internet of Things control device of one embodiment of the invention, and as shown in Figure 5, this device 500 comprises:
Acquisition module 501, for obtaining MAC Address and the device type identification code DTID of equipment, and based on the type of device type identification code DTID judgment device;
Processing module 502, if for judging that to obtain equipment be newtype time, controller obtains equipment from equipment and controls defined file, maps according to setting up with equipment of MAC Address, based on the control of equipment control defined file realization to equipment.
In one embodiment, the equipment of equipment controls the read-only zones that defined file is stored in equipment, and the source of the equipment control logic of same type is equipment itself.
In one embodiment, processing module 502 also for: make server based on the type of device type identification code DTID checkout facility, and whether the equipment of judgment device or type is registered; If detect, the equipment of equipment or type is all unregistered, and the equipment of inquiry unit controls defined file; If the equipment of acquisition controls defined file, memory device controls defined file, sets up mapping relations based on MAC Address and equipment.
In one embodiment, this device also comprises: also comprise sending module 503, for sending the access request to equipment to server, and the MAC Address of the terminal equipment of the equipment that acquisition module 501 stores for reception server and device type identification code DTID.If processing module 502 is for judging that obtaining equipment is newtype, controller does not have the equipment of the equipment of storage class to control defined file, sends to server the request that inquiry unit controls defined file.The equipment that receiver module 503 sends for reception server controls defined file, controls based on equipment the control that defined file realizes the equipment to MAC Address and DTID.
In one embodiment, equipment arranges the identification code of this equipment of unique identification, acquisition module 501 is by barcode scanning recognition technology obtaining equipment unique identification, and according to the password confirming controller of user's input to the access right of equipment, identification code comprises Quick Response Code, bar code, letter or number.
In one embodiment, if the equipment of equipment or type is registered to server, processing module 502 is for setting up the mapping relations with equipment according to server, and the equipment based on server stores controls the control of defined file realization to equipment.
Fig. 6 shows the structured flowchart of the Internet of Things control device of an alternative embodiment of the invention.Internet of Things control device 600 can be possess the host server of computing capability, personal computer PC or portable portable computer or terminal etc.The specific embodiment of the invention does not limit the specific implementation of computing node.
Internet of Things control device 600 comprises processor (processor) 610, communication interface (Communications Interface) 620, memory (memory) 630 and bus 640.Wherein, processor 610, communication interface 620 and memory 630 complete mutual communication by bus 640.
Communication interface 620 for network device communications, wherein the network equipment comprise such as Virtual Machine Manager center, share store etc.
Processor 610 is for executive program.Processor 610 may be a central processor CPU, or application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or is configured to the one or more integrated circuits implementing the embodiment of the present invention.
Memory 630 is for storing documents.Memory 630 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disc store.Memory 630 also can be memory array.Memory 630 also may by piecemeal, and block can become virtual volume by certain principle combinations.
In a kind of possible execution mode, said procedure can be the program code comprising computer-managed instruction.This program specifically can be used for: obtain the MAC Address of equipment and device type identification code DTID, and based on the type of device type identification code DTID judgment device; If when judging that to obtain equipment be newtype, controller obtains equipment from equipment and controls defined file, maps according to setting up with equipment of MAC Address, based on the control of equipment control defined file realization to equipment.
In one embodiment, the equipment of equipment controls the read-only zones that defined file is stored in equipment, and the source of the equipment control logic of same type is equipment itself.
In one embodiment, obtain MAC Address and the device type identification code DTID of terminal equipment, and after type based on device type identification code DTID judgment device, also comprise: make server based on the type of device type identification code DTID checkout facility, and whether the equipment of judgment device or type is registered; If detect, the equipment of equipment or type is all unregistered, and the equipment of inquiry unit controls defined file; If the equipment getting equipment controls defined file, memory device controls defined file, sets up mapping relations based on MAC Address and equipment.
In one embodiment, after setting up mapping relations based on MAC Address and equipment, also comprise: controller sends the access request to equipment to server, MAC Address and the device type identification code DTID of the terminal equipment of the equipment that server is stored send to controller; Obtaining equipment if judge is newtype, and controller does not have the equipment of the equipment of storage class to control defined file, sends to server the request that inquiry unit controls defined file; The equipment that controller reception server sends controls defined file, controls based on equipment the control that defined file realizes the equipment to MAC Address and DTID.
In one embodiment, equipment arranges the identification code of this equipment of unique identification, by barcode scanning recognition technology obtaining equipment unique identification, and according to the password confirming controller of user's input to the access right of equipment, identification code comprises Quick Response Code, bar code, letter or number.
In one embodiment, if the equipment of equipment or type is registered to server, controller sets up the mapping relations with equipment according to server, and the equipment based on server stores controls the control of defined file realization to equipment.
Those of ordinary skill in the art can recognize, each exemplary cell in embodiment described herein and algorithm steps, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or software form actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If using the form of computer software carry out practical function and as independently production marketing or use time, then can think that all or part of (such as to the part that prior art contributes) of technical scheme of the present invention embodies in form of a computer software product to a certain extent.This computer software product is stored in the non-volatile memory medium of embodied on computer readable usually, comprises all or part of step of some instructions in order to make computer equipment (can be personal computer, server or the network equipment etc.) perform various embodiments of the present invention method.And aforesaid storage medium comprises USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), magnetic disc or CD etc. various can be program code stored medium.

Claims (12)

1. an Internet of Things control method, is characterized in that, comprising:
The MAC Address of acquisition equipment and device type identification code DTID, and based on the type of described device type identification code DTID judgment device;
If when judging that to obtain described equipment be newtype, controller obtains equipment from described equipment and controls defined file, maps according to setting up with described equipment of described MAC Address, based on the control of described equipment control defined file realization to described equipment.
2. method according to claim 1, is characterized in that,
The equipment of described equipment controls the read-only zones that defined file is stored in described equipment, and the source of the equipment control logic of same type is equipment itself.
3. method according to claim 1 and 2, is characterized in that,
Obtain the MAC Address of terminal equipment and device type identification code DTID, and after type based on described device type identification code DTID judgment device, also comprise:
Make server based on the type of device type identification code DTID checkout facility, and judge whether the equipment of described equipment or described type is registered;
If detect, the equipment of described equipment or described type is all unregistered, inquires that the equipment of described equipment controls defined file;
If the equipment getting described equipment controls defined file, store described equipment and control defined file, set up mapping relations based on MAC Address and equipment.
4. method according to claim 3, is characterized in that,
After setting up mapping relations based on MAC Address and equipment, also comprise:
Controller sends the access request to described equipment to server,
MAC Address and the device type identification code DTID of the terminal equipment of the described equipment that server is stored send to controller;
Obtaining described equipment if judge is newtype, and the equipment that controller does not store the equipment of described type controls defined file, sends to described server the request that inquiry unit controls defined file;
Controller receives the equipment that described server sends and controls defined file, controls based on described equipment the control that defined file realizes the equipment to described MAC Address and described DTID.
5. method according to claim 1, is characterized in that, also comprises:
The identification code of this equipment of unique identification is set on said device, by barcode scanning recognition technology equipment unique identification can be obtained, and controller is to the access right of equipment according to the password confirming of user's input, described identification code comprises Quick Response Code, bar code, letter or number.
6. method according to claim 3, is characterized in that, also comprises:
If the equipment of described equipment or described type has been registered to described server, controller has set up the mapping relations with described equipment according to server, and the equipment based on described server stores controls the control of defined file realization to described equipment.
7. an Internet of Things control device, is characterized in that, comprising:
Acquisition module, for obtaining MAC Address and the device type identification code DTID of equipment, and based on the type of described device type identification code DTID judgment device;
Processing module, if during for judging that obtaining described equipment is newtype, controller obtains equipment from described equipment and controls defined file, maps according to setting up with described equipment of described MAC Address, controls the control of defined file realization to described equipment based on described equipment.
8. device according to claim 7, is characterized in that, the equipment of described equipment controls the read-only zones that defined file is stored in described equipment, and the source of the equipment control logic of same type is equipment itself.
9. the device according to claim 7 or 8, is characterized in that, processing module also for
Make server based on the type of device type identification code DTID checkout facility, and judge whether the equipment of described equipment or described type is registered;
If detect, the equipment of described equipment or described type is all unregistered, inquires that the equipment of described equipment controls defined file;
If obtain described equipment to control defined file, store described equipment and control defined file, set up mapping relations based on MAC Address and equipment.
10. device according to claim 9, is characterized in that,
Also comprise sending module, for sending the access request to described equipment to server,
Acquisition module is used for MAC Address and the device type identification code DTID of the terminal equipment of the described equipment that reception server stores;
If processing module is used for judging that obtaining described equipment is newtype, the equipment that controller does not store the equipment of described type controls defined file, sends to described server the request that inquiry unit controls defined file;
Receiver module controls defined file for the equipment receiving described server and send, and controls based on described equipment the control that defined file realizes the equipment to described MAC Address and described DTID.
11. devices according to claim 7, is characterized in that, arrange the identification code of this equipment of unique identification on said device,
Described acquisition module is by barcode scanning recognition technology obtaining equipment unique identification, and controller is to the access right of equipment according to the password confirming of user's input, and described identification code comprises Quick Response Code, bar code, letter or number.
12. devices according to claim 9, is characterized in that, if the equipment of described equipment or described type has been registered to described server,
Processing module is used for setting up the mapping relations with described equipment according to server, and the equipment based on described server stores controls the control of defined file realization to described equipment.
CN201510290348.3A 2015-05-29 2015-05-29 Internet of things control method and device Expired - Fee Related CN104954449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510290348.3A CN104954449B (en) 2015-05-29 2015-05-29 Internet of things control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510290348.3A CN104954449B (en) 2015-05-29 2015-05-29 Internet of things control method and device

Publications (2)

Publication Number Publication Date
CN104954449A true CN104954449A (en) 2015-09-30
CN104954449B CN104954449B (en) 2019-12-10

Family

ID=54168792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510290348.3A Expired - Fee Related CN104954449B (en) 2015-05-29 2015-05-29 Internet of things control method and device

Country Status (1)

Country Link
CN (1) CN104954449B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495584A (en) * 2018-12-18 2019-03-19 浩云科技股份有限公司 Internet of things equipment cut-in method, device, equipment and medium
CN109644522A (en) * 2016-08-11 2019-04-16 信实通信有限公司 For passing through the method and system of wireless network secure loading equipemtn
CN110765112A (en) * 2019-10-29 2020-02-07 国网电子商务有限公司 Energy equipment data association method and system based on Internet of things identification technology
CN114143131A (en) * 2020-09-03 2022-03-04 西蒙电气(中国)有限公司 Method for realizing information identification of intelligent electronic equipment
CN114281787A (en) * 2021-12-27 2022-04-05 众和空间(北京)科技有限责任公司 Internet of things equipment integration system based on mapping file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067448A (en) * 2012-12-12 2013-04-24 北京奇虎科技有限公司 Device control method and mobile communication terminal
CN104009900A (en) * 2014-06-24 2014-08-27 于杨 Method and system for controlling household devices
CN104427275A (en) * 2013-09-05 2015-03-18 联想(北京)有限公司 Method for carrying out interconnection control on equipment and electronic equipment
CN104570962A (en) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 Long-distance control method for household appliance, server and long-distance control system of household appliance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067448A (en) * 2012-12-12 2013-04-24 北京奇虎科技有限公司 Device control method and mobile communication terminal
CN104427275A (en) * 2013-09-05 2015-03-18 联想(北京)有限公司 Method for carrying out interconnection control on equipment and electronic equipment
CN104570962A (en) * 2013-10-10 2015-04-29 中兴通讯股份有限公司 Long-distance control method for household appliance, server and long-distance control system of household appliance
CN104009900A (en) * 2014-06-24 2014-08-27 于杨 Method and system for controlling household devices

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109644522A (en) * 2016-08-11 2019-04-16 信实通信有限公司 For passing through the method and system of wireless network secure loading equipemtn
CN109644522B (en) * 2016-08-11 2022-01-18 信实通信有限公司 Method and system for securely loading devices over a wireless network
CN109495584A (en) * 2018-12-18 2019-03-19 浩云科技股份有限公司 Internet of things equipment cut-in method, device, equipment and medium
CN109495584B (en) * 2018-12-18 2022-03-25 浩云科技股份有限公司 Internet of things equipment access method, device, equipment and medium
CN110765112A (en) * 2019-10-29 2020-02-07 国网电子商务有限公司 Energy equipment data association method and system based on Internet of things identification technology
CN110765112B (en) * 2019-10-29 2020-10-09 国网电子商务有限公司 Energy equipment data association method and system based on Internet of things identification technology
CN114143131A (en) * 2020-09-03 2022-03-04 西蒙电气(中国)有限公司 Method for realizing information identification of intelligent electronic equipment
CN114281787A (en) * 2021-12-27 2022-04-05 众和空间(北京)科技有限责任公司 Internet of things equipment integration system based on mapping file

Also Published As

Publication number Publication date
CN104954449B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
US11979274B2 (en) Network management method and apparatus
CN104954449A (en) IoT (internet of things) control method and apparatus
JP6254747B2 (en) Information providing method, apparatus, program, and recording medium
CN110830968A (en) Networking method and device, Bluetooth equipment and computer readable medium
WO2017049797A1 (en) Data communication system, method, and device
CN112312515B (en) Binding method and device of intelligent equipment, electronic equipment and storage medium
CN112532711A (en) Edge computing application deployment method, terminal, edge computing node and storage medium
CN106789466A (en) The method and mobile terminal and intelligent appliance of a kind of control intelligent appliance
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
WO2022247373A1 (en) Method and apparatus for controlling home appliance, and appliance
CN104506448B (en) A kind of intelligent router that Internet of Things is adaptive
WO2022227819A1 (en) Method and apparatus for network provisioning, and smart home device
CN110071950B (en) Information transmission method, transfer device, terminal, controlled device and storage medium
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
US8135742B2 (en) Proxy service providing apparatus, service providing method, and network system
CN108322557B (en) Application equipment discovery method and device, computer equipment and storage medium
WO2024051708A1 (en) Control method, system and apparatus, electronic device, storage medium, and program product
CN103051738A (en) DHCP (Dynamic Host Configuration Protocol) address distribution method and system
JP4838096B2 (en) Home appliance communication control system
CN112000019A (en) Method, device and equipment for sharing equipment instruction control
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
US20170272267A1 (en) Method and server for coupling a smart-home device to a mobile terminal
CN102143165B (en) Method, network switch and network system for authenticating terminals
CN114667720A (en) Method, device and equipment for replacing configuration equipment and storage medium
US20160134434A1 (en) Methods and devices for communicating over a building management system network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191114

Address after: Room 1901, Dongta, digital cultural industry base, Nantou street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Changsheng Information Technology Co.,Ltd.

Address before: 100084, Beijing, Haidian District on the road, No. 28, B (two floor), room -159 02B

Applicant before: HEISESHUIJING (BEIJING) SCIENCE & TECHNOLOGY CO.,LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191210

CF01 Termination of patent right due to non-payment of annual fee