The content of the invention
, can the embodiments of the invention provide a kind of intelligent appliance and platform connection methods, system and Internet of Things module
Realize that intelligent appliance is connected with different types of platform.
In a first aspect, the embodiments of the invention provide a kind of intelligent appliance and platform connection methods, applied to intelligent appliance,
Including:The corresponding relation with fidonetFido and platform interface with fidonetFido, platform of at least two platforms is prestored, is also wrapped
Include:
When Internet of Things module enters distribution pattern, detect whether air-data bag be present in real time, when detecting the presence of
When stating air-data bag, the air-data bag is captured;
When matching somebody with somebody in fidonetFido in the presence of the target platform to match with the air-data bag at least two platform
During with fidonetFido, according to the fidonetFido of matching somebody with somebody of the air-data bag and the target platform, network connection device is connected;
It is corresponding with platform interface with fidonetFido according to the platform after with the network connection device successful connection
Relation, determine the target platform matches somebody with somebody target platform interface corresponding to fidonetFido;
Utilize the target platform interface linking objective platform.
Preferably,
The air-data bag, including:Identification information and target data;
It is described to be put down when matching somebody with somebody in fidonetFido at least two platform in the presence of the target to match with the air-data bag
When matching somebody with somebody fidonetFido of platform, according to the fidonetFido of matching somebody with somebody of the air-data bag and the target platform, connect network connection device, bag
Include:
Match somebody with somebody fidonetFido for platform each described, be performed both by:The sky be present when matching somebody with somebody in fidonetFido for current platform
During identification information in middle packet, determine the current platform matches somebody with somebody fidonetFido, root with fidonetFido for the target platform
According to the fidonetFido of matching somebody with somebody of the target data in the air-data bag and the target platform, network connection device is connected.
Preferably,
The target data in the air-data bag and the target platform match somebody with somebody fidonetFido, and connection network connects
Connection device, including:
According to being parsed with fidonetFido to the target data in the air-data bag for the target platform, it is determined that matching somebody with somebody
Network data;
When the distribution data meets the distribution condition pre-set, distribution data connection network connection dress is utilized
Put.
Preferably,
The distribution data, including:Network connection device title and network connection device password.
Second aspect, the embodiments of the invention provide a kind of Internet of Things module, it is arranged in intelligent appliance, including:
Memory cell, for storing pair with fidonetFido and platform interface with fidonetFido, platform of at least two platforms
It should be related to;
Placement unit, for when Internet of Things module enters distribution pattern, detecting whether air-data bag be present in real time, when
When detecting the presence of the air-data bag, the air-data bag is captured;
Processing unit, the matching somebody with somebody in fidonetFido at least two platform for being stored when the memory cell are present and institute
When the matching somebody with somebody fidonetFido of target platform that the air-data bag of placement unit crawl matches is stated, according to the air-data bag
With the fidonetFido of matching somebody with somebody of the target platform, network connection device is connected;
Connection unit, for institute after with the network connection device successful connection, stored according to the memory cell
The corresponding relation with fidonetFido and platform interface of platform is stated, determine the target platform matches somebody with somebody target platform corresponding to fidonetFido
Interface, utilize the target platform interface linking objective platform.
Preferably,
The air-data bag, including:Identification information and target data;
The processing unit, for matching somebody with somebody fidonetFido for platform each described, it is performed both by:When the distribution of current platform
When the identification information in the air-data bag in agreement be present, determine the current platform is that the target is put down with fidonetFido
Platform matches somebody with somebody fidonetFido, and the target data and the target platform in the air-data bag match somebody with somebody fidonetFido, connect network
Attachment means.
Preferably,
The connection unit, for matching somebody with somebody fidonetFido to the number of targets in the air-data bag according to the target platform
According to being parsed, distribution data is determined, when the distribution data meets the distribution condition pre-set, matches somebody with somebody netting index using described
According to connection network connection device.
Preferably,
The distribution data, including:Network connection device title and network connection device password.
The third aspect, system is connected with platform the embodiments of the invention provide a kind of intelligent appliance, including:Any of the above-described reality
Apply Internet of Things module, network connection device and the target platform described in example;Wherein, the Internet of Things module is arranged at intelligent appliance
In.
The embodiments of the invention provide a kind of intelligent appliance and platform connection methods, system and Internet of Things module, wherein,
This method captures air-data bag in real time, exists and the air-data bag when matching somebody with somebody in fidonetFido for the multiple platforms prestored
When matching somebody with somebody fidonetFido of the target platform to match, according to the fidonetFido of matching somebody with somebody of the air-data bag and the target platform, connection
Network connection device, and pass through network connection device linking objective platform.This method can realize intelligent appliance and different type
Platform connection.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of intelligent appliance and platform connection methods, applied to intelligent family
Electricity, this method may comprise steps of:
Step 101:Store at least two platforms with fidonetFido, platform with fidonetFido it is corresponding with platform interface pass
System;
Step 102:When Internet of Things module enters distribution pattern, detect whether air-data bag be present in real time, work as detection
To when air-data bag be present, air-data bag is captured;
Step 103:When matching somebody with somebody in fidonetFido in the presence of the target platform to match with air-data bag at least two platforms
During with fidonetFido, according to the fidonetFido of matching somebody with somebody of air-data bag and target platform, network connection device is connected;
Step 104:It is corresponding with platform interface with fidonetFido according to platform after with network connection device successful connection
Relation, determine target platform matches somebody with somebody target platform interface corresponding to fidonetFido;
Step 105:Utilize target platform interface linking objective platform.
In the embodiment of the present invention shown in Fig. 1, this method captures air-data bag in real time, multiple flat when what is prestored
Platform matches somebody with somebody when the matching somebody with somebody fidonetFido of target platform for existing in fidonetFido and matching with air-data bag, according to air-data bag and mesh
Mark platform matches somebody with somebody fidonetFido, connects network connection device, and pass through network connection device linking objective platform.This method can be real
Existing intelligent appliance is connected with different types of platform.
Enter in Internet of Things module after electricity and connect soon with net state, capture air-data bag.User is sent by platform application
Broadcast packet, which starts, finds that flow, Internet of Things module are replied corresponding to being carried out after receiving, and after platform application receives reply, finds into
Work(, the equipment is bound, can be controlled it by cloud platform;Platform corresponding to the connection of Internet of Things module, when platform issues control
During system order, Internet of Things module is parsed according to its platform protocol, and serial ports execution is issued after data are packed;When Internet of Things mould
Block receives serial data, finds intelligent appliance state change, is packed according to its platform protocol, report corresponding platform.
In one embodiment of the invention, in order to determine to match somebody with somebody fidonetFido, air-data for parse air-data bag
Bag, including:Identification information and target data;
Match somebody with somebody fidonetFido in the presence of the target platform to match with air-data bag when matching somebody with somebody in fidonetFido at least two platforms
When, according to the fidonetFido of matching somebody with somebody of air-data bag and target platform, network connection device is connected, including:
Match somebody with somebody fidonetFido for each platform, be performed both by:Air-data bag be present when matching somebody with somebody in fidonetFido for current platform
In identification information when, determine current platform matches somebody with somebody fidonetFido with fidonetFido for target platform, according in air-data bag
Target data and target platform match somebody with somebody fidonetFido, connect network connection device.
In one embodiment of the invention, in order to be connected with network connection device, according to the target in air-data bag
Data and target platform match somebody with somebody fidonetFido, connect network connection device, including:
According to being parsed with fidonetFido to the target data in air-data bag for target platform, distribution data is determined;
When distribution data meets the distribution condition pre-set, network connection device is connected using distribution data.
Wherein, when distribution data is unsatisfactory for the distribution condition pre-set, it is necessary to continue grabbing for air-data bag
Take.
In practical application scene, in order to tackle the generation of the fortuitous event such as power-off suddenly, judging that distribution data expires
After sufficient distribution condition, identification variable is set according to fidonetFido, with when restoring electricity, by identifying that variable determines to match somebody with somebody fidonetFido
Corresponding platform.
In one embodiment of the invention, distribution data, including:Network connection device title and network connection device are close
Code.
It should be noted that network connection device includes router, the intelligent terminal with focus function etc..
As shown in Fig. 2 the embodiment of the present invention by store three platforms match somebody with somebody fidonetFido exemplified by, intelligent appliance and platform are connected
The method of connecing is described in detail, and this method includes:
Step 201:The corresponding relation with fidonetFido and platform interface with fidonetFido, platform of three platforms of storage.
Storage different platform matches somebody with somebody fidonetFido, for example, platform A's matches somebody with somebody fidonetFido a1, platform B's matches somebody with somebody fidonetFido b1, platform C
Be respectively a2, b2, c2 with platform interface corresponding to fidonetFido c1, a1, b1, c1.
Step 202:When Internet of Things module enters distribution pattern, detect whether air-data bag be present in real time, work as detection
To when air-data bag be present, air-data bag is captured, air-data bag, including:Identification information and target data.
Step 203:Match somebody with somebody fidonetFido for each platform, be performed both by:Sky in fidonetFido be present when matching somebody with somebody for current platform
During identification information in middle packet, determine current platform matches somebody with somebody fidonetFido with fidonetFido for target platform, is put down according to target
Being parsed with fidonetFido to the target data in air-data bag for platform, determines distribution data.
By being matched respectively with the identification information in air-data bag with fidonetFido for each platform of storage, utilize
What the match is successful parses with fidonetFido to the target data in air-data bag, to determine distribution data, distribution data bag
Include:Network connection device title and network connection device password.For example, the target platform that the match is successful is platform with fidonetFido
A's matches somebody with somebody fidonetFido a1.
Step 204:When distribution data meets the distribution condition pre-set, distribution data connection network connection dress is utilized
Put.
Distribution condition is used to judge whether distribution data is complete, such as connects when the distribution data that parsing obtains only includes network
During connection device title, distribution data is unsatisfactory for distribution condition, continues to capture air-data bag.
Step 205:It is corresponding with platform interface with fidonetFido according to platform after with network connection device successful connection
Relation, determine target platform matches somebody with somebody target platform interface corresponding to fidonetFido.
Determine platform A is a2 with platform interface corresponding to fidonetFido a1.
Step 206:Utilize target platform interface linking objective platform.
Pass through platform interface a2 connecting platforms A.After being connected to platform A, user can be carried out by platform A to intelligent appliance
Control, or, pass through the operational factor of platform A acquisition intelligent appliances.
As shown in figure 3, the embodiments of the invention provide a kind of Internet of Things module, it is arranged in intelligent appliance, including:
Memory cell 301, for store at least two platforms with fidonetFido, platform with fidonetFido and platform interface
Corresponding relation;
Placement unit 302, for when Internet of Things module enters distribution pattern, detecting whether air-data be present in real time
Bag, when detecting the presence of air-data bag, capture air-data bag;
Processing unit 303, the matching somebody with somebody in fidonetFido at least two platforms for being stored when memory cell 301 are present and crawl
When the matching somebody with somebody fidonetFido of target platform that the air-data bag that unit 302 captures matches, according to air-data bag and target platform
Match somebody with somebody fidonetFido, connect network connection device;
Connection unit 304, for platform after with network connection device successful connection, stored according to memory cell 301
The corresponding relation with fidonetFido and platform interface, determine the target platform interface corresponding to fidonetFido of match somebody with somebody of target platform, utilization
Target platform interface linking objective platform.
In one embodiment of the invention, air-data bag, including:Identification information and target data;
Processing unit 303, for matching somebody with somebody fidonetFido for each platform, it is performed both by:Match somebody with somebody fidonetFido when current platform
It is middle exist in air-data bag identification information when, determine current platform matches somebody with somebody fidonetFido, root with fidonetFido for target platform
According to the fidonetFido of matching somebody with somebody of the target data in air-data bag and target platform, network connection device is connected.
In one embodiment of the invention, connection unit 304, for being counted according to target platform with fidonetFido to aerial
Parsed according to the target data in bag, determine distribution data, when distribution data meets the distribution condition pre-set, utilized
Distribution data connects network connection device.
In one embodiment of the invention, distribution data, including:Network connection device title and network connection device are close
Code.
As shown in figure 4, system is connected with platform the embodiments of the invention provide a kind of intelligent appliance, including:It is any of the above-described
Internet of Things module 401, network connection device 402 and the target platform 403 of embodiment;Wherein, Internet of Things module is arranged at intelligence
In household electrical appliances.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
Due to, when different platforms is sold, corresponding to different platform protocols with a intelligent appliance, therefore, existing
Have in technology, remote control is carried out, it is necessary to develop and different platform phases to intelligent appliance by different platforms in order to realize
Corresponding program, intelligent appliance are attached by different programs with corresponding platform.For developer, existing skill
The workload of art is larger, and maintenance cost is higher.And the present invention can parse air-data bag corresponding to different platform, realize with not
With the connection of platform, repeatedly developed without developer, save development cost.
To sum up, each embodiment of the present invention at least has the effect that:
1st, in embodiments of the present invention, this method captures air-data bag in real time, when matching somebody with somebody for the multiple platforms prestored
When the matching somebody with somebody fidonetFido of target platform to match with air-data bag in fidonetFido be present, according to air-data bag and target platform
Match somebody with somebody fidonetFido, connect network connection device, and pass through network connection device linking objective platform.This method can realize intelligence
Household electrical appliances are connected with different types of platform.
2nd, in embodiments of the present invention, multiple platforms are integrated in Internet of Things module matches somebody with somebody fidonetFido, can support integrated appoint
One platform docks.Household electrical appliances producer can be sold the intelligent appliance of same money function on any platform, and user can be used any
The application program of platform carries out direct-connected control, substantially increases the flexibility of intelligent appliance sale and the experience sense of user.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that
Other identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.