CN106549840A - Data interaction system, method and device - Google Patents
Data interaction system, method and device Download PDFInfo
- Publication number
- CN106549840A CN106549840A CN201611130990.6A CN201611130990A CN106549840A CN 106549840 A CN106549840 A CN 106549840A CN 201611130990 A CN201611130990 A CN 201611130990A CN 106549840 A CN106549840 A CN 106549840A
- Authority
- CN
- China
- Prior art keywords
- data
- operation signal
- function code
- intelligent appliance
- type
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2818—Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2814—Exchanging control software or macros for controlling appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
- H04L12/2825—Reporting to a device located outside the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention provides a kind of data interaction system, method and device, belongs to serial port communication technology field.Method includes:The first data that receiving terminal sends;According to the type of the first function code, operation signal is stored to command operating area;When the second data of intelligent appliance transmission are received, according to the type of the second function code in the second data, from read operation signal in command operating area;Operation signal is sent to intelligent appliance.The present invention is stored operation signal to command operating area by the type according to the first function code.When the second data of intelligent appliance transmission are received, according to the type of the second function code in the second data, from read operation signal in command operating area, operation signal is sent to intelligent appliance.Due to intelligent appliance, WIFI modules and terminal by state return area just can completion statuses data interaction, quadratic programming need not be carried out to communication protocol between three, so that data exchange process versatility is preferable, cost is relatively low and efficiency is higher.
Description
Technical field
The present invention relates to serial port communication technology field, more particularly, to a kind of data interaction system, method and device.
Background technology
With the deep development and the rise of Internet of Things of smart home, people to the interest of Internet of Things intelligent appliance increasingly
It is surging.When intelligent appliance is controlled by APP, can be by Cloud Server as terminal, to be realized intelligent appliance and mobile terminal
Data interaction.Specifically, intelligent appliance carries out data interaction by WIFI modules and Cloud Server.Mobile terminal APP by with
Data interaction between Cloud Server, indirect gain intelligent appliance running status and control intelligent appliance.Due to it is now each everybody
The communication protocol provided in production of intelligent household electrical appliances by power plant business, is often occurred with the communication protocol of WIFI modules unmatched
Data interaction cannot be carried out between situation, i.e. intelligent appliance and WIFI modules.For said circumstances, data of the prior art are handed over
Mutually by terminal to high in the clouds again to the communication path between intelligent appliance, method realizes that the data between terminal and intelligent appliance are handed over
Mutually.Wherein, terminal needs to wait intelligent appliance data transfer to come by physical connection between the two.In the same manner, intelligent appliance
It is also required to wait terminal data transfer to come by physical connection.
During the present invention is realized, it is found that prior art at least has problems with:
As terminal to high in the clouds is not fully decoupled to the communication path between intelligent appliance again, terminal and intelligent appliance it
Between data interaction relatively depend on physical connection, so as to when any one party communication go wrong when can all cause the opposing party to wait
Time is longer, or even data interaction failure.Therefore, the versatility of data interaction and motility are poor.
The content of the invention
Present invention offer is a kind of to overcome the problems referred to above or the data interaction system for solving the above problems at least in part, side
Method and device.
According to the first aspect of the invention, there is provided a kind of data interaction system, the system include:Shared signaling zone, end
End and intelligent appliance;
Shared signaling zone at least includes command operating area and state passback area;Terminal is operated for sending to command operating area
Signal, intelligent appliance is for from command operating area acquisition operation signal;Intelligent appliance is for state passback area's transmission status number
According to terminal obtains status data for returning in area from state.
According to the second aspect of the invention, there is provided a kind of data interactive method, the method include:
The first data that receiving terminal sends, the first data at least include the first function code and operation signal;
According to the type of the first function code, operation signal is stored to command operating area;
When the second data of intelligent appliance transmission are received, according to the type of the second function code in the second data, from finger
Make read operation signal in operating space;
Operation signal is sent to intelligent appliance.
According to the third aspect of the invention we, there is provided a kind of data interactive method, the method include:
When the second data of intelligent appliance transmission are received, according to the type of the second function code in the second data, from finger
Make read operation signal in operating space;
Operation signal is sent to intelligent appliance;
The first data that receiving terminal sends, the first data at least include the first function code and operation signal;
According to the type of the first function code, operation signal is stored to command operating area.
According to the fourth aspect of the invention, there is provided a kind of data interaction device, the device include:
First receiver module, for receiving terminal send the first data, the first data at least include the first function code and
Operation signal;
First memory module, for the type according to the first function code, operation signal is stored to command operating area;
First read module, for when the second data of intelligent appliance transmission are received, according to second in the second data
The type of function code, from read operation signal in command operating area;
First sending module, for sending operation signal to intelligent appliance.
According to the fifth aspect of the invention, there is provided a kind of data interaction device, the device include:
First read module, for when the second data of intelligent appliance transmission are received, according to second in the second data
The type of function code, from read operation signal in command operating area;
First sending module, for sending operation signal to intelligent appliance;
First receiver module, for receiving terminal send the first data, the first data at least include the first function code and
Operation signal;
First memory module, for the type according to the first function code, operation signal is stored to command operating area.
The beneficial effect brought of technical scheme that the application is proposed is:
The first data sent by receiving terminal, according to the type of the first function code, operation signal are stored to instruction
Operating space.When the second data of intelligent appliance transmission are received, according to the type of the second function code in the second data, from instruction
Read operation signal in operating space, sends operation signal to intelligent appliance.As intelligent appliance, WIFI modules and terminal only pass through
State passback area just can completion statuses data interaction, quadratic programming need not be carried out to communication protocol between three so that
Data exchange process versatility is preferable, cost is relatively low and efficiency is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
Description of the drawings
A kind of available data interaction schematic diagrams of the Fig. 1 for the embodiment of the present invention;
Schematic flow sheets of the Fig. 2 for a kind of data interactive method of the embodiment of the present invention;
Schematic flow sheets of the Fig. 3 for a kind of data interactive method of the embodiment of the present invention;
Schematic flow sheets of the Fig. 4 for a kind of data interactive method of the embodiment of the present invention;
Schematic flow sheets of the Fig. 5 for a kind of data interactive method of the embodiment of the present invention;
A kind of data exchange process schematic diagrams of the Fig. 6 for the embodiment of the present invention;
A kind of omnipotent serial port protocol model schematics of the Fig. 7 for the embodiment of the present invention;
Structural representations of the Fig. 8 for a kind of data interaction device of the embodiment of the present invention;
Structural representations of the Fig. 9 for a kind of data interaction device of the embodiment of the present invention;
Structural representations of the Figure 10 for a kind of data interaction device of the embodiment of the present invention;
Structural representations of the Figure 11 for a kind of data interaction device of the embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Hereinafter implement
Example is for illustrating the present invention, but is not limited to the scope of the present invention.
With the deep development and the rise of Internet of Things of mobile Internet, smart machine coverage is more and more wider, people
It is more and more surging to the interest of Internet of Things intelligent appliance.Ge great household appliances manufacturers in the industry, or development controls oneself cloud platform, or adopt the 3rd
Square cloud platform is building the Internet of Things of oneself.The number of intelligent appliance and mobile terminal is capable of achieving by using cloud platform as terminal
According to interaction.For example, intelligent appliance carries out data interaction by WIFI modules and Cloud Server.Mobile terminal APP by with cloud service
Data interaction between device, indirect gain intelligent appliance running status and control intelligent appliance.Wherein, the third party of main flow in the industry
Cloud platform scheme can be as shown in Figure 1.Serial ports A in Fig. 1 refers to serial communication protocol, and electrical equipment M is different intelligent appliances.
As the technical field that Internet of Things is related to is numerous, such as from high in the clouds backstage technology to module end hardware technology, this makes
The exploitation for obtaining Internet of product not yet forms unified standard at present.This causes Ge great household appliances manufacturers to be carried in production of intelligent household electrical appliances
For communication protocol, often there is unmatched situation, i.e. intelligent appliance and WIFI modules with the communication protocol of WIFI modules
Between cannot carry out data interaction.Therefore, how to realize that the data interaction between intelligent appliance and WIFI modules is that a key is asked
Topic.
For said circumstances, data interactive method of the prior art arrives intelligent appliance again typically by terminal to high in the clouds
Between communication path, realize the data interaction between terminal and intelligent appliance.Wherein, terminal needs to wait intelligent appliance to pass through
Data transfer is come by physical connection between the two.In the same manner, intelligent appliance is also required to wait terminal to pass through physical connection by data
Transmit.
As terminal to high in the clouds is not fully decoupled to the communication path between intelligent appliance again, terminal and intelligent appliance it
Between data interaction relatively depend on physical connection, so as to when any one party communication go wrong when can all cause the opposing party to wait
Time is longer, or even data interaction failure.Therefore, the versatility of data interaction and motility are poor.
In addition, the Electrical Engineer of intelligent electric appliance research and development is engaged in it is to be understood that the related notion of network communication protocol,
When this is researched and developed to smart machine, electrical engineering personnel are very unfriendly.Furthermore, grind due to being engaged in later stage debugging process respectively
The engineering staff of intelligent appliance, high in the clouds software and mobile terminal APP is sent out, is required to carry out combined debugging at the scene, this can waste greatly
The manpower and time cost of amount.Meanwhile, the efficiency of combined debugging is also low.
For the problems of the prior art, a kind of data interaction system is present embodiments provided, the system includes:Shared letter
Number area, terminal and intelligent appliance;
Shared signaling zone at least includes command operating area and state passback area;Terminal is operated for sending to command operating area
Signal, intelligent appliance is for from command operating area acquisition operation signal;Intelligent appliance is for state passback area's transmission status number
According to terminal obtains status data for returning in area from state.
System provided in an embodiment of the present invention, the first data sent by receiving terminal, according to the class of the first function code
Type, operation signal is stored to command operating area.When the second data of intelligent appliance transmission are received, according in the second data
The type of the second function code, from read operation signal in command operating area, sends operation signal to intelligent appliance.Due to intelligent family
Electricity, WIFI modules and terminal only by state passback area just can completion statuses data interaction, need not be to communication protocols between three
View carries out quadratic programming, so that data exchange process versatility is preferable, cost is relatively low and motility is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
Based on the data interaction system that above-described embodiment is provided, a kind of data interactive method is present embodiments provided.The party
Method particularly relates to intelligent appliance, terminal, Cloud Server and WIFI modules.Wherein, intelligent appliance can be intelligent refrigerator, intelligence
Energy TV and intelligent air condition etc., terminal can be mobile phone, intelligent watch and computer etc., and the present embodiment and subsequent embodiment be not to intelligence
Can the concrete restriction of the type work of household electrical appliances and mobile terminal.WIFI modules can be 2G/3G/4G modules or other access hardware, sheet
Embodiment and subsequent embodiment hardware state not to WIFI modules and specifications parameter make concrete restriction.
In actual implement scene, the application program installed in terminal can be controlled to intelligent appliance by network, such as
Open or close household electrical appliances, the temperature to refrigeration appliance to be adjusted.Correspondingly, intelligent appliance can pass through network by current work
Make feedback of status to terminal, terminal can be shown to the working condition of intelligent appliance, so as to user would know that intelligent appliance
Job information.The above can be divided into the following two kinds workflow, respectively signal designation flow process and status display flow process.
It is based on the above, the present invention is provided with a piece of shared signaling zone.The shared signaling zone can be located at WIFI moulds
In group, Cloud Server, terminal or other hardware, the present embodiment and subsequent embodiment do not have to shared signaling zone location work
Body is limited.For convenience of description, the present embodiment and subsequent embodiment are handed over to data so that shared signaling zone is in WIFI modules as an example
Mutual process is illustrated.In addition, the present embodiment does not make concrete to the serial ports connected mode between intelligent electric appliance and WIFI modules
Limit, including but not limited to I2C (Inter-Integrated Circuit, twin wire universal serial bus), SPI (Serial
Peripheral Interface, Serial Peripheral Interface (SPI)), the connected mode of monobus or other chip chambers.
A piece of shared signaling zone is opened up in WIFI modules, the shared signal distinguishing is upper zone and lower region.Upper zone
For command operating area, lower region is that state returns area.Wherein, the shared signaling zone in WIFI modules can be 256 bytes
RAM.It is of course also possible to arrange the RAM of other sizes, the present embodiment and subsequent embodiment are not especially limited to this.For example, remove
It is arranged to outside 256 bytes, to may be arranged as the RAM of 128 bytes, 64 bytes or other sizes.
In the present embodiment and subsequent embodiment, WIFI modules, Cloud Server and terminal can be carried out by bottom ICP/IP protocol
Communication, application layer can be communicated by Trinity agreement, and the present embodiment is not especially limited to this.It should be noted that
Due to Cloud Server primarily serve be forwarding effect, directly carry out data friendship so as to can be considered between WIFI modules and terminal
Mutually.Correspondingly, the repeating process of Cloud Server can be omitted in the method and step of the present embodiment and subsequent embodiment, mainly with intelligence
Based on energy household electrical appliances, the data exchange process between WIFI modules and terminal.
Referring to Fig. 2, the data interactive method flow process includes:201st, the first data that receiving terminal sends;Wherein, the first number
According at least including the first function code and operation signal;202nd, according to the type of the first function code, operation signal is stored to instruction
Operating space;203rd, when the second data of intelligent appliance transmission are received, according to the type of the second function code in the second data, from
Read operation signal in command operating area;204th, operation signal is sent to intelligent appliance.
Method provided in an embodiment of the present invention, the first data sent by receiving terminal, according to the class of the first function code
Type, operation signal is stored to command operating area.When the second data of intelligent appliance transmission are received, according in the second data
The type of the second function code, from read operation signal in command operating area, sends operation signal to intelligent appliance.Due to intelligent family
Electricity, WIFI modules and terminal only by state passback area just can completion statuses data interaction, need not be to communication protocols between three
View carries out quadratic programming, so that data exchange process versatility is preferable, cost is relatively low and motility is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
As a kind of alternative embodiment, according to the type of the first function code, by operation signal store to command operating area it
Before, also include:
When identical multiple terminal transmission types and operation identical operation signal is detected, by the behaviour of multiple same types
An operation signal is merged into as signal.
As a kind of alternative embodiment, according to the type of the first function code, by operation signal store to command operating area it
Before, also include:
When detect multiple terminal transmission types it is identical and operate conflict operation signal when, according to each terminal PRI
An operation signal is selected from multiple operation signals.
As a kind of alternative embodiment, according to the type of the first function code, operation signal is stored to command operating area, bag
Include:
Determine the corresponding byte address of operation signal and bit address;
According to byte address and bit address, operation signal is stored to command operating area.
As a kind of alternative embodiment, after sending operation signal to intelligent appliance, also include:
The 3rd data that intelligent appliance sends are received, the 3rd data at least include the 3rd function code and status data;
According to the type of the 3rd function code, status data is stored to state and returns area;
When four data of terminal transmission are received, according to the type of the 4th function code in the 4th data, return from state
Pass area's reads status data;
To terminal status data.
Above-mentioned all optional technical schemes, can adopt the alternative embodiment for arbitrarily combining to form the present invention, and here is no longer
Repeat one by one.
The data interaction system that the data interactive method and above-described embodiment provided based on above-mentioned Fig. 2 correspondence embodiments is provided
System, embodiments provides a kind of data interactive method.Based on the command operating area in WIFI modules, the present embodiment is main
The corresponding data interactive method of signal designation flow process is illustrated.Referring to Fig. 3, the method flow that the present embodiment is provided includes:
301st, terminal sends the first data to WIFI modules;302nd, operation signal is deposited by WIFI modules according to the type of the first function code
Store up to command operating area;303rd, intelligent appliance sends the second data to WIFI modules;304th, WIFI modules are according in the second data
The type of the second function code, from read operation signal in command operating area;305th, WIFI modules send operation letter to intelligent appliance
Number.
Wherein, 301, terminal sends the first data to WIFI modules.
Before this step is performed, terminal can generate the first data according to the operation of user.Wherein, the first data can be extremely
Include the first function code and operation signal less, the present embodiment is not especially limited to this.Function code is mainly used in indicating WIFI moulds
Group does which type of operation, such as read/write operation.Operation signal is mainly used in indicating intelligent household electrical appliances and changes working condition, such as open/
Intelligent appliance is closed, intelligent appliance temperature is adjusted, is adjusted intelligent appliance volume etc..
In addition, the action type done of WIFI modules can be various, writing for memory ram address and designated length is such as specified
Signal operation, the read signal operation of specified memory ram address and designated length, test operation of physical channel connectivity etc., this
Embodiment is not especially limited to this.Correspondingly, function code is used to refer to the different operating done by WIFI modules.For example, work(
Energy code 0X00 may refer to the test job of physical channel connectivity and effectiveness, and function code 0X05 or 0X01 may refer to specify RAM
The read signal operation of memory address and designated length, function code 0X06 or 0X02 may refer to specify memory ram address and specify length
The write signal operation of degree.
It should be noted that terminal can be configured according to preset format when the first data are generated, the present embodiment is to this
It is not especially limited.In order to avoid the unmatched situation of communication protocol before appearance, intelligent appliance and terminal are carrying out data friendship
Before mutually, can be configured according to preset format when generating data, the present embodiment is not especially limited to this.
Wherein, 302, WIFI modules store operation signal to command operating area according to the type of the first function code.
WIFI modules receive terminal transmission the first data after, as function code type correspond to the behaviour of WIFI modules
Make type, so as to WIFI modules can store operation signal to command operating area according to the type of the first function code.Correspondingly,
The type of the first function code may refer to the write signal operation in above-mentioned steps 301 in this step.It should be noted that a kind of intelligence
The action type of energy household electrical appliances generally has various.In order to be able to allow intelligent appliance to distinguish different operations, can by command operating area not
Same bit address defines different operations.Wherein it is possible to bit address correspondence one kind operation, it is also possible to multiple bit address correspondences
A kind of operation, the present embodiment are not especially limited to this.Correspondingly, store operation signal when, can by operation signal store to
Bit address under correspondence byte address.Therefore, when this step is performed, it may be determined that the corresponding byte address of operation signal and position ground
Location, according still further to byte address and bit address, operation signal is stored to command operating area, and the present embodiment does not make concrete limit to this
It is fixed.By predefining byte address and the bit address used by storage operation signal, it is capable of reasonable distribution command operating area
Memory space, and effectively utilizes in addition.
For example, with a kind of each operation of bit address correspondence, intelligence in 8 bit address under command operating area byte address 0X00
As a example by energy household electrical appliances are intelligent TV set.When operation signal is represented is adjusted to a upper channel, operation signal is being stored to instruction
During operating space, the value of the 1st bit address in 8 bit address can be set to 1.Correspondingly, intelligent TV set is knowing 1st ground
Location respective operations are, on the premise of whether being adjusted to a television station, can be adjusted to upper one by current channel according to the value for getting
Channel.When operation signal is represented is adjusted to upper two channels, when operation signal is stored to command operating area, can be by 8 positions
In address, the value of the 1st bit address is set to 2.Correspondingly, current channel can be adjusted to front 2 according to the value for getting by intelligent TV set
Individual channel.
In the same manner, the 2nd bit address may be defined as being adjusted to next channel, as long as the value for detecting the 2nd bit address is 1,
Intelligent TV set is just adjustable to next channel.The rest may be inferred, and the 3rd bit address may be defined as increasing volume, the 4th bit address
May be defined as reducing volume etc..
Further, since there is a possibility that multiple terminals send same type operation signal, so as to operation signal is being deposited
Store up to before command operating area, can detect the type of multiple operation signals and whether identical operate.
When identical multiple terminal transmission types and operation identical operation signal is detected, can be by multiple same types
Operation signal merges into an operation signal.For example, multiple kinsfolks open the air of family by the APP that mobile phone terminal is installed
Depurator.At this moment the operation signal type that multiple mobile phone terminals are sended over is and opens or closes air purifier, and multiple behaviour
Opening air purifier is as signal.Now, multiple operation signals can be merged into an operation signal.
When detect multiple terminal transmission types it is identical and operate conflict operation signal when, can be preferential according to each terminal
Level selects an operation signal from multiple operation signals.Or, when detecting, multiple terminal transmission types are identical and operation is rushed
During prominent operation signal, an operation signal can be selected according to the corresponding terminal quantity of every kind of operation signal, the present embodiment is to this
It is not especially limited.For example, multiple kinsfolks open or close the air purifier of family by the APP that mobile phone terminal is installed.
To open air purifier, also two operation signals are closing air purifier to one of operation signal.Now, if operation
Signal can will be opened the corresponding operation signal of air purifier and make to open the corresponding mobile phone terminal highest priority of air purifier
For the operation signal for selecting.Or, it is 2 due to selecting the terminal quantity for closing air purifier, more than selecting, opening air is net
Change the terminal quantity 1 of device, so as to the corresponding operation signal of air purifier operation signal alternatively can will be closed.
By the process of the merging or selection of aforesaid operations signal, being capable of the conflict of effective process operation signal or operation signal
A large amount of situations for repeating, so as to improve the stability of shared signaling zone.
Wherein, 303, intelligent appliance sends the second data to WIFI modules.
As intelligent appliance needs to obtain operation signal that terminal sends to change working condition, so as to intelligent appliance can be with
Just the second data are sent to obtain operation signal to WIFI modules at set intervals, the present embodiment is not especially limited to this.
Wherein, the interval time for sending the second data can be configured according to demand, and the present embodiment is also not especially limited to this.
Wherein, the second data can at least include the second function code, and the present embodiment is not especially limited to this.Second function code
Type can be read signal operation in above-mentioned steps 301, the present embodiment is not especially limited to this.In addition, the second data
In can also be comprising continuing the specific address fetched data in command operating area, the present embodiment is not especially limited to this.Intelligent family
Electricity can arrange the second data before the second data are sent to WIFI modules according to the preset format in above-mentioned steps 301, this
Embodiment is also not especially limited to this.
Wherein, 304, type of the WIFI modules according to the second function code in the second data, reads behaviour from command operating area
Make signal.
From above-mentioned steps 303, the type of the second function code is operated for read signal.Therefore, wrap according in the second data
The specific address for containing, can be not especially limited from read operation signal in command operating area, the present embodiment to this.
Wherein, 305, WIFI modules send operation signal to intelligent appliance.
WIFI modules can send operation signal to intelligent appliance by network after operation signal is read.Intelligent appliance
After operation signal is received, corresponding working condition can be changed according to operation signal.For example, beat opening/closing, adjust temperature and
Adjust volume etc..
It should be noted that in above-mentioned steps 301 to 305, any specific address in command operating area is not defined
Store instruction is only intended to into specific variable connotation or parameter, i.e. command operating area, what species intelligent appliance specifically stored
Operational order, per or several specific addresses be used to storing which type of operational order etc. that these not to limit.For example,
Electrical equipment starting-up signal position can be defined as in first under 0X00 byte addresses, also can be heavy in first under 0X00 byte addresses
It is newly defined as electrical equipment volume ++.Now, without the need for carrying out reprogramming based on WIFI modules communication protocol, it is only necessary to the different intelligence of binding
The execution code of energy operation of electrical appliances, so as to the ability of secondary defining operation signal can be obtained.
Method provided in an embodiment of the present invention, sends first data to WIFI modules by terminal.WIFI modules are according to
The type of one function code, operation signal is stored to command operating area.Intelligent appliance sends the second data to WIFI modules.WIFI
Type of the module according to the second function code in the second data, from read operation signal in command operating area, and sends out to intelligent appliance
Send operation signal.Due to intelligent appliance, WIFI modules and terminal only by state return area just can completion statuses data interaction,
Quadratic programming need not be carried out to communication protocol between three so that data exchange process versatility is preferable, cost is relatively low and
Motility is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
The operation signal and the operation signal read needed for intelligent appliance that are sent due to storage terminal are two mistakes for separating
Journey, two processes can in no particular order, so as in addition to the execution flow process in above-mentioned Fig. 2 correspondence embodiments, based on Fig. 2 correspondences
The data interaction system that the data interactive method and above-described embodiment that embodiment is provided is provided, the present embodiment additionally provide a kind of number
According to exchange method.Referring to Fig. 4, the method includes:401st, when the second data of intelligent appliance transmission are received, according to the second number
The type of the second function code according in, from read operation signal in command operating area;402nd, operation signal is sent to intelligent appliance;
403rd, the first data that receiving terminal sends, the first data at least include the first function code and operation signal;404th, according to first
The type of function code, operation signal is stored to command operating area.
It should be noted that as the present embodiment is simply by the operation signal of storage terminal transmission and reading intelligent appliance institute
The operation signal for needing, the sequencing of the two processes is changed, so as to the present embodiment specific implementation details are referred to
The implementation process in Fig. 3 correspondence embodiments is stated, here is omitted.
Method provided in an embodiment of the present invention, by when the second data of intelligent appliance transmission are received, according to second
The type of the second function code in data, from read operation signal in command operating area.Operation signal is sent to intelligent appliance, is received
The first data that terminal sends.According to the type of the first function code, operation signal is stored to command operating area.Due to intelligent family
Electricity, WIFI modules and terminal only by state passback area just can completion statuses data interaction, need not be to communication protocols between three
View carries out quadratic programming, so that data exchange process versatility is preferable, cost is relatively low and motility is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
Based on the content provided by the corresponding embodiments of above-mentioned Fig. 2 to Fig. 4, embodiments provide a kind of data and hand over
Mutual method.Based on the state passback area in WIFI modules, the present embodiment is mainly to the corresponding data interaction side of status display flow process
Method is illustrated.Referring to Fig. 5, the method flow that the present embodiment is provided includes:501st, intelligent appliance sends the 3rd to WIFI modules
Data;502nd, type of the WIFI modules according to the 3rd function code, status data is stored to state and returns area;503rd, terminal to
WIFI modules send the 4th data;504th, type of the WIFI modules according to the 4th function code in the 4th data, returns area from state
Reads status data;505th, WIFI modules are to terminal status data.
Wherein, 501, intelligent appliance sends the 3rd data to WIFI modules.
Before this step is performed, intelligent appliance can obtain status data according to current running status.According to Fig. 3 correspondences
Embodiment in preset format in step 301, the 3rd data are generated according to status data, the present embodiment does not make concrete limit to this
It is fixed.Wherein, the 3rd data can at least include the 3rd function code and status data, and the present embodiment is also not especially limited to this.Base
The definition of function code in step 301, the type of the 3rd function code can be to complete to specify memory ram address and designated length
Write state is operated.In addition, for different intelligent appliances, status data can be volume value, temperature value and wind-force value etc., this reality
Apply example to be not especially limited this.
Wherein, 502, type of the WIFI modules according to the 3rd function code, status data is stored to state and returns area.
WIFI modules receive intelligent appliance transmission the 3rd data after, as function code type correspond to WIFI modules
Action type, so as to WIFI modules can store status data to state and return area according to the type of the 3rd function code.Need
Illustrate, a kind of status data of intelligent appliance might have various, and such as intelligent TV set status data can include channel
Number, volume, brightness and contrast etc..In order to be able to return the various states data that area stores intelligent appliance of the same race in state, can
In setting state passback area, different bit address is used to store different types of status data.Wherein it is possible to a bit address pair
A kind of status data should be stored, it is also possible to which multiple bit address correspondences store a kind of status data, and the present embodiment is not made to this specifically
Limit.Correspondingly, in storage state data, status data can be stored to corresponding bit address.
For example, 8 bit address under area's byte address 0X00 are returned with state and 2 bit address correspondences stores a kind of state
Data, as a example by intelligent appliance is intelligent TV set.When status data is tv volume size, volume value is being stored to shape
During state passback area, volume value correspondence can be stored into front 2 bit address.In the same manner, the 3rd can be set and the 4th bit address is used
In storage channel number.When status data is channel number, channel number can be stored to the 3rd and the 4th bit address.
Wherein, 503, terminal sends the 4th data to WIFI modules.
As the user of using terminal needs to know the working condition that intelligent appliance is current, so as to terminal is detecting user
When inquiry status data is instructed, the 4th data can be sent to WIFI modules, the present embodiment is not especially limited to this.Wherein,
Four data at least include the 4th function code, and the present embodiment is not especially limited to this.The type of the 4th function code can be to complete
The read states operation of specified memory ram address and designated length, the present embodiment are not especially limited to this.In addition, the 4th data
In can also include to continue fetch data the specific address in area is returned in state, the present embodiment is also not especially limited to this.Terminal
Before the 4th data being sent to WIFI modules, can arrange the according to the preset format in Fig. 3 correspondence embodiments in step 301
Four data, the present embodiment are not especially limited to this.
Wherein, 504, type of the WIFI modules according to the 4th function code in the 4th data, returns area's reading state from state
Data.
From above-mentioned steps 503, the type of the 4th function code is operated for read states.Therefore, wrap according in the 4th data
The specific address for containing, can be not especially limited from reads status data in state passback area, the present embodiment to this.
Wherein, 505, WIFI modules are to terminal status data.
WIFI modules, can be by network to terminal status data after status data is read.Terminal is being received
After status data, status data can be shown.For example, volume value, channel number and brightness value are shown.
The corresponding embodiment of above-mentioned Fig. 2 to Fig. 4 and data exchange process in the present embodiment can be as shown in fig. 6, electricity in figure 6
Device M1 is intelligent appliance, difference mobile phone terminal corresponding application program when APP1 to APPn represents that terminal is mobile phone terminal.In shared
Area is deposited in WIFI modules, both carry out data interaction by the shared signaling zone in the WIFI modules of centre.Fig. 2 to Fig. 4 correspondences
The data interactive method that provides with the present embodiment of embodiment corresponding to omnipotent serial port protocol model can be as shown in Figure 7.By Fig. 7
As can be seen that serial communication protocol layering provided in an embodiment of the present invention is clear, relieve between data interaction and data transfer
Close coupling relation.
It should be noted that the status data of intelligent appliance is mainly stored by step 501 to step 502 in the present embodiment
The process in area is returned to state, step 503 to step 505 is the process for returning area's reads status data for terminal in state.On
Stating two processes can in no particular order, and with reference to the content of above-mentioned Fig. 2 and Fig. 4 correspondence embodiments, step 503 to step 505 can be first
Perform, step 501 to step 502 can after perform, the present embodiment is not especially limited to this.
In addition, the present embodiment is mainly the process status data of intelligent appliance displayed on the terminals, and above-mentioned Fig. 2 is extremely
The corresponding embodiments of Fig. 4 are mainly the process that terminal indicating intelligent household electrical appliances change working condition.In Fig. 2 to Fig. 4 correspondence embodiments
Each embodiment and the present embodiment between execution sequence, can mutually successively, the present invention is not especially limited to this.But examine
Consider intelligent appliance typically only in the on state, terminal status data can be just supplied to for showing.Therefore, it is concrete real
When applying, the corresponding embodiments of Fig. 2 to Fig. 4 can be first carried out, i.e., first open intelligent appliance, then the process for performing the present embodiment.
Due to the present embodiment and the corresponding embodiments of Fig. 2 to Fig. 4 be based on WIFI modules in shared signaling zone realizing
Data interaction, i.e. data exchange process are departing from data transmission procedure, so that being engaged in the electrical engineering of intelligent electric appliance research and development
Shi Buxu is appreciated that the related notion of network communication protocol, only need to according to preset format understand in interaction data operation signal or
The corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due to distinguishing in later stage debugging process
It is engaged in the engineering staff of research and development intelligent appliance, high in the clouds software and mobile terminal APP, it is not necessary to carry out combined debugging at the scene, only needs
Each artificial debugging is carried out according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, it is big so as to save
The manpower and time cost of amount.Meanwhile, improve the efficiency of combined debugging.
In addition, intelligent appliance also can be carried out locally by the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention
Change equipment linkage, be that thing thing interconnection in future provides the foundation.
Method provided in an embodiment of the present invention, sends threeth data to WIFI modules by intelligent appliance.WIFI modules are pressed
According to the type of the 3rd function code, status data is stored to state and returns area.Terminal sends the 4th data to WIFI modules.WIFI
Type of the module according to the 4th function code in the 4th data, returns area's reads status data from state, and sends state to terminal
Data.Due to intelligent appliance, WIFI modules and terminal only by state return area just can completion statuses data interaction, between three
Quadratic programming need not be carried out to communication protocol, so that data exchange process versatility is preferable, cost is relatively low and motility
It is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
A kind of data interaction device is embodiments provided, the device is used to perform above-mentioned Fig. 2, Fig. 3 or Fig. 5 correspondence
Embodiment provided in data interactive method.Referring to Fig. 8, the device includes:
First receiver module 801, for the first data that receiving terminal sends, the first data at least include the first function code
And operation signal;
First memory module 802, for the type according to the first function code, operation signal is stored to command operating area;
First read module 803, for when the second data of intelligent appliance transmission are received, according in the second data the
The type of two function codes, from read operation signal in command operating area;
First sending module 804, for sending operation signal to intelligent appliance.
As a kind of alternative embodiment, referring to Fig. 9, the device also includes:
Merging module 805, for when identical multiple terminal transmission types and operation identical operation signal is detected, inciting somebody to action
The operation signal of multiple same types merges into an operation signal.
As a kind of alternative embodiment, referring to Figure 10, the device also includes:
Selecting module 806, for detect multiple terminal transmission types it is identical and operate conflict operation signal when, press
An operation signal is selected from multiple operation signals according to each terminal PRI.
As a kind of alternative embodiment, the first memory module 802, for determining the corresponding byte address of operation signal and position
Address;According to byte address and bit address, operation signal is stored to command operating area.
As a kind of alternative embodiment, referring to Figure 11, the device also includes:
Second receiver module 807, for receiving the 3rd data of intelligent appliance transmission, the 3rd data at least include the 3rd work(
Can code and status data;
Second memory module 808, for the type according to the 3rd function code, status data is stored to state and returns area;
Second read module 809, for when four data of terminal transmission are received, according to the 4th work(in the 4th data
The type of energy code, returns area's reads status data from state;
Second sending module 810, for terminal status data.
Device provided in an embodiment of the present invention, the first data sent by receiving terminal, according to the class of the first function code
Type, operation signal is stored to command operating area.When the second data of intelligent appliance transmission are received, according in the second data
The type of the second function code, from read operation signal in command operating area, sends operation signal to intelligent appliance.Due to intelligent family
Electricity, WIFI modules and terminal only by state passback area just can completion statuses data interaction, need not be to communication protocols between three
View carries out quadratic programming, so that data exchange process versatility is preferable, cost is relatively low and motility is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
A kind of data interaction device is embodiments provided, the device is used to perform in above-mentioned Fig. 4 correspondences embodiment
The data interactive method for being provided.The device includes:
First read module, for when the second data of intelligent appliance transmission are received, according to second in the second data
The type of function code, from read operation signal in command operating area;
First sending module, for sending operation signal to intelligent appliance;
First receiver module, for receiving terminal send the first data, the first data at least include the first function code and
Operation signal;
First memory module, for the type according to the first function code, operation signal is stored to command operating area.
Device provided in an embodiment of the present invention, the first data sent by receiving terminal, according to the class of the first function code
Type, operation signal is stored to command operating area.When the second data of intelligent appliance transmission are received, according in the second data
The type of the second function code, from read operation signal in command operating area, sends operation signal to intelligent appliance.Due to intelligent family
Electricity, WIFI modules and terminal only by state passback area just can completion statuses data interaction, need not be to communication protocols between three
View carries out quadratic programming, so that data exchange process versatility is preferable, cost is relatively low and motility is higher.
Further, since data exchange process is departing from data transmission procedure, so that being engaged in intelligent electric appliance grinds electricity
Gas engineer is not required to the related notion for being appreciated that network communication protocol, only need to understand in interaction data operating according to preset format
Signal or the corresponding implication of status data, this is very friendly to electrical engineering personnel.Furthermore, due in later stage debugging process
The middle engineering staff for being engaged in research and development intelligent appliance, high in the clouds software and mobile terminal APP respectively, it is not necessary to carry out joint tune at the scene
Examination, only needs each to carry out artificial debugging according to the omnipotent serial communication protocol of the corresponding standardization of the embodiment of the present invention, so as to
Substantial amounts of manpower and time cost are saved.Meanwhile, improve the efficiency of combined debugging.
Finally, due to any specific address in command operating area is not defined as specific variable connotation or parameter, i.e.,
Command operating area is only intended to store instruction, and operational order, per or several for specifically storing what species intelligent appliance are concrete
For storing which type of operational order etc., these do not limit for address, so as to obtain the energy of secondary defining operation signal
Power.
Finally, the present processes are only preferably embodiment, are not intended to limit protection scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.
Claims (10)
1. a kind of data interaction system, it is characterised in that the system includes:Shared signaling zone, terminal and intelligent appliance;
The shared signaling zone at least includes command operating area and state passback area;The terminal is for the command operating area
Operation signal is sent, the intelligent appliance is for from command operating area acquisition operation signal;The intelligent appliance for
The state returns area's status data, and the terminal obtains status data for returning in area from the state.
2. a kind of data interactive method, it is characterised in that methods described includes:
The first data that receiving terminal sends, first data at least include the first function code and operation signal;
According to the type of first function code, the operation signal is stored to command operating area;
When the second data of intelligent appliance transmission are received, according to the type of the second function code in second data, from institute
State read operation signal in command operating area;
Operation signal is sent to the intelligent appliance.
3. method according to claim 2, it is characterised in that the type according to first function code, will be described
Operation signal is stored to before command operating area, is also included:
When identical multiple terminal transmission types and operation identical operation signal is detected, the operation of multiple same types is believed
Number merge into an operation signal.
4. according to the method in claim 2 or 3, it is characterised in that the type according to first function code, by institute
State operation signal to store to before command operating area, also include::
It is identical and when operating the operation signal of conflict when multiple terminal transmission types are detected, according to each terminal PRI from many
An operation signal is selected in individual operation signal.
5. method according to claim 2, it is characterised in that the type according to first function code, will be described
Operation signal is stored to command operating area, including:
Determine the corresponding byte address of the operation signal and bit address;
According to the byte address and institute's bit address, the operation signal is stored to command operating area.
6. the method according to any claim in claim 2 to 5, it is characterised in that described to the intelligent appliance
After sending the operation signal, also include:
The 3rd data that the intelligent appliance sends are received, the 3rd data at least include the 3rd function code and status data;
According to the type of the 3rd function code, the status data is stored to state and returns area;
When four data that the terminal sends are received, according to the type of the 4th function code in the 4th data, from institute
State state passback area and read the status data;
The status data is sent to the terminal.
7. the method according to any claim in claim 2 to 5, it is characterised in that described to the intelligent appliance
After sending the operation signal, also include:
When four data that the terminal sends are received, according to the type of the 4th function code in the 4th data, from institute
State state passback area and read the status data;
The status data is sent to the terminal;
The 3rd data that the intelligent appliance sends are received, the 3rd data at least include the 3rd function code and status data;
According to the type of the 3rd function code, the status data is stored to state and returns area.
8. a kind of data interactive method, it is characterised in that methods described includes:
When the second data of intelligent appliance transmission are received, according to the type of the second function code in second data, from institute
State read operation signal in command operating area;
Operation signal is sent to the intelligent appliance;
The first data that receiving terminal sends, first data at least include the first function code and operation signal;
According to the type of first function code, the operation signal is stored to command operating area.
9. a kind of data interaction device, it is characterised in that described device includes:
First receiver module, for receiving terminal send the first data, first data at least include the first function code and
Operation signal;
First memory module, for the type according to first function code, the operation signal is stored to command operating area;
First read module, for when the second data of intelligent appliance transmission are received, according to second in second data
The type of function code, reads the operation signal from the command operating area;
First sending module, for sending the operation signal to the intelligent appliance.
10. a kind of data interaction device, it is characterised in that described device includes:
First read module, for when the second data of intelligent appliance transmission are received, according to second in second data
The type of function code, reads the operation signal from the command operating area;
First sending module, for sending the operation signal to the intelligent appliance;
First receiver module, for receiving terminal send the first data, first data at least include the first function code and
Operation signal;
First memory module, for the type according to first function code, the operation signal is stored to command operating area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611130990.6A CN106549840B (en) | 2016-12-09 | 2016-12-09 | Data interaction system, method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611130990.6A CN106549840B (en) | 2016-12-09 | 2016-12-09 | Data interaction system, method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106549840A true CN106549840A (en) | 2017-03-29 |
CN106549840B CN106549840B (en) | 2020-11-06 |
Family
ID=58397164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611130990.6A Active CN106549840B (en) | 2016-12-09 | 2016-12-09 | Data interaction system, method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106549840B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109660433A (en) * | 2018-12-21 | 2019-04-19 | 中山大学 | A kind of contention resolution that the configuration data of smart home is synchronous |
WO2020103680A1 (en) * | 2018-11-19 | 2020-05-28 | 炬星科技(深圳)有限公司 | Data communication method, and human-machine interaction system |
CN113824621A (en) * | 2021-09-22 | 2021-12-21 | 石家庄通合电子科技股份有限公司 | CAN communication method based on signals and CAN controller |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103546994A (en) * | 2013-10-22 | 2014-01-29 | 深圳市中远航科技有限公司 | Wireless service method and system |
CN103728906A (en) * | 2014-01-13 | 2014-04-16 | 江苏惠通集团有限责任公司 | Intelligent home control device and method |
US8781607B2 (en) * | 2011-11-08 | 2014-07-15 | Institute For Information Industry | System, method and recording medium for driving a programmable logic controller |
CN104601695A (en) * | 2015-01-14 | 2015-05-06 | 北京京东尚科信息技术有限公司 | Intelligent device control method, device and system |
CN104767639A (en) * | 2015-03-23 | 2015-07-08 | 小米科技有限责任公司 | Equipment management method and device |
CN106027343A (en) * | 2016-06-30 | 2016-10-12 | 北京小米移动软件有限公司 | Information push method and device, electronic device |
-
2016
- 2016-12-09 CN CN201611130990.6A patent/CN106549840B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8781607B2 (en) * | 2011-11-08 | 2014-07-15 | Institute For Information Industry | System, method and recording medium for driving a programmable logic controller |
CN103546994A (en) * | 2013-10-22 | 2014-01-29 | 深圳市中远航科技有限公司 | Wireless service method and system |
CN103728906A (en) * | 2014-01-13 | 2014-04-16 | 江苏惠通集团有限责任公司 | Intelligent home control device and method |
CN104601695A (en) * | 2015-01-14 | 2015-05-06 | 北京京东尚科信息技术有限公司 | Intelligent device control method, device and system |
CN104767639A (en) * | 2015-03-23 | 2015-07-08 | 小米科技有限责任公司 | Equipment management method and device |
CN106027343A (en) * | 2016-06-30 | 2016-10-12 | 北京小米移动软件有限公司 | Information push method and device, electronic device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103680A1 (en) * | 2018-11-19 | 2020-05-28 | 炬星科技(深圳)有限公司 | Data communication method, and human-machine interaction system |
CN109660433A (en) * | 2018-12-21 | 2019-04-19 | 中山大学 | A kind of contention resolution that the configuration data of smart home is synchronous |
CN109660433B (en) * | 2018-12-21 | 2021-10-22 | 中山大学 | Intelligent household configuration data synchronization conflict resolution method |
CN113824621A (en) * | 2021-09-22 | 2021-12-21 | 石家庄通合电子科技股份有限公司 | CAN communication method based on signals and CAN controller |
Also Published As
Publication number | Publication date |
---|---|
CN106549840B (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102183928B (en) | Method, device and intelligent household appliance controller for controlling running mode of household appliance | |
CN103727626B (en) | Ground-source heat pump central air-conditioning long distance control system and method | |
CN106549840A (en) | Data interaction system, method and device | |
CN101340404A (en) | Embedded gateway for wireless network protocol conversion between WiFi and ZigBee | |
CN106533874B (en) | A kind of permanent magnet synchronous motor data communication system and method based on Modbus rtu protocol | |
CN105573151A (en) | Household appliance control method, control device and household data terminal | |
CN102325099A (en) | Gateway system of Internet of things | |
CN102968898A (en) | Remote universal infrared remote-control system based on mobile phone short message | |
CN102291284A (en) | Intelligent terminal device of wireless network digital home | |
CN102739788B (en) | A kind of field device communicating method based on EIB agreement | |
CN102185885A (en) | Intelligent internet of things management system for white goods | |
CN205540005U (en) | Controlgear , system and remote controller of household electrical appliances | |
CN205545328U (en) | Support intelligent home gateway of multi -protocols | |
CN204408377U (en) | Gateway hardware | |
CN201518499U (en) | Device for writing in MAC address and serial number to set-top box | |
CN206133907U (en) | On --spot multi -functional general type failure analysis system of electric power | |
CN102710025B (en) | Power system communication device and method | |
CN202306255U (en) | Wide area monitoring network for air-conditioner | |
CN205540000U (en) | Intelligent control system for household appliances | |
CN202535392U (en) | Protocol conversion device | |
CN202231737U (en) | A multi-state information interaction system based on a plurality of networks | |
CN204928901U (en) | Terminal module who possesses state synchronizing function | |
CN104133788B (en) | CAN bus data transmission method in active filter system | |
CN102033518A (en) | Centralized control type monitoring system of electricity meter based on BACnet (a data communication protocol for building automation and control networks) | |
CN201707779U (en) | Remote monitoring household appliance network system |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211217 Address after: 518000 floor 3, building 2, Hongfa Industrial Park (Hongfa electronics factory), Shixin community, Langxin community, Shiyan street, Bao'an District, Shenzhen, Guangdong Province Patentee after: Shenzhen bailite IOT Technology Co.,Ltd. Address before: 518000 Room 204, building 3, Longdu garden, No. 1, Longzhu Second Road, Nanshan District, Shenzhen, Guangdong Patentee before: Teng Min |