CN107800597A - Data transmission method, device and the computer-readable recording medium of home appliance - Google Patents
Data transmission method, device and the computer-readable recording medium of home appliance Download PDFInfo
- Publication number
- CN107800597A CN107800597A CN201710937913.XA CN201710937913A CN107800597A CN 107800597 A CN107800597 A CN 107800597A CN 201710937913 A CN201710937913 A CN 201710937913A CN 107800597 A CN107800597 A CN 107800597A
- Authority
- CN
- China
- Prior art keywords
- home appliance
- data
- resource information
- data message
- resource
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/168—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of data transmission method of home appliance, including resource information waiting for transmission in the first home appliance is obtained, resource information is encoded;Obtain the address information of the second home appliance corresponding to resource information;Resource information after coding is packaged as data message, and data message is sent to the second home appliance corresponding to address information.The invention also discloses the data transmission detection device of home appliance and storage medium.The present invention realizes the point-to-point transmission of information between home appliance by way of data message, and without carrying out the distribution of data by specific gateway or server, reduce data transfer cost.
Description
Technical field
The present invention relates to Internet of Things field, more particularly to a kind of data transmission method of home appliance, device and computer
Readable storage medium storing program for executing.
Background technology
Internet of things home appliance refers to apply technology of Internet of things in products such as air-conditioning, refrigerator, washing machine, television sets.With
The development of science and technology, internet of things home appliance species gradually increase, and such household electrical appliances is more exposed to the favor of consumer, is widely used.
Generally require to carry out mutually control in Internet of Things between each household electrical appliances or mutually (state refers to sensor to reading state
State or equipment running status) when, it is necessary to be associated to equipment and realize data by corresponding gateway or server
Distribution and transmission, such as when the first home appliance will control the second home appliance, it is necessary to pass through particular gateway or clothes
Control data is forwarded to the second home appliance by business device, causes the data transfer cost between home appliance higher.
The content of the invention
It is a primary object of the present invention to provide the data transmission method and device of a kind of home appliance, it is intended to solve existing
The higher technical problem of data transfer cost in technology between home appliance.
To achieve the above object, the present invention provides a kind of data transmission method of home appliance, the number of the home appliance
Comprise the following steps according to transmission method:
Resource information waiting for transmission in the first home appliance is obtained, the resource information is encoded;
Obtain the address information of the second home appliance corresponding to the resource information;
The resource information after coding is packaged as data message, and the data message is sent to the address and believed
Second home appliance corresponding to breath.
Alternatively, the step of resource information by after coding is packaged as data message includes:
Obtain the URI Uniform Resource Identifiers of the resource information;
Data message is generated according to the Uniform Resource Identifier.
Alternatively, the address information is IP address.
Alternatively, the data transmission method of the home appliance also includes:
When first home appliance adds LAN, resource information in first home appliance and the are obtained
The IP address of one home appliance;
According to the resource information and the IP address of the first home appliance generation data message;
The data message is broadcasted, the data message is sent to the to environment where first home appliance
Two home appliances.
Alternatively, after the step of broadcast data message, the data transmission method of the home appliance also wraps
Include:
Obtain default multicast port;
Resource request data message, and resource request data message described in multicast are generated according to the multicast port;
When receiving response data packet of the second home appliance in LAN based on the resource request data message,
Obtain and preserve the resource information in the response data packet.
Alternatively, the data transmission method of the home appliance also includes:
When first home appliance receives the data message of the 3rd home appliance broadcast, the data message is obtained
In resource information;
When the resource information is the resource information that the first home appliance needs, association preserve the resource information and
The source address of the data message.
Alternatively, described the step of being encoded to the resource information, includes:
Obtain the coded system of the second home appliance corresponding to the resource information waiting for transmission;
The resource information is corresponded to according to the coded system to be encoded.
Alternatively, the step of resource information by after coding is packaged as data message includes:
The resource information after coding is packaged as UDP open system interconnection messages.
In addition, to achieve the above object, the present invention also proposes a kind of data transmission device of home appliance, and the household electrical appliances are set
Standby data transmission device includes:Memory, processor and it is stored on the memory and can runs on the processor
Home appliance data distributing program, the data distributing program of the home appliance realized during the computing device such as with
The step of data transmission method of upper described home appliance.
In addition, to achieve the above object, the present invention also proposes a kind of computer-readable recording medium, it is characterised in that institute
Stating computer-readable recording medium includes:Memory, processor and it is stored on the memory and can be on the processor
The data distributing program of the home appliance of operation, realized when the data distributing program of the home appliance is by the computing device
The step of data transmission method of home appliance as described above.
Data transmission method, device and the computer-readable recording medium for the home appliance that the embodiment of the present invention proposes, are obtained
The resource information in the first home appliance is taken, resource information transfer to physical layer is encoded, and by the money after coding
Source information is packaged as data message and sent to corresponding second home appliance, and home appliance is realized by way of data message
Between information point-to-point transmission, and without carrying out the distribution of data by specific gateway or server, reduce data biography
Defeated cost.
Brief description of the drawings
Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of the data transmission method first embodiment of present inventor's electric equipment;
Fig. 3 is the schematic flow sheet of the data transmission method 3rd embodiment of present inventor's electric equipment;
Fig. 4 is the schematic flow sheet of the data transmission method fourth embodiment of present inventor's electric equipment.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
Resource information waiting for transmission in the first home appliance is obtained, the resource information is encoded;
Obtain the address information of the second home appliance corresponding to the resource information;
The resource information after coding is packaged as data message, and the data message is sent to the address and believed
Second home appliance corresponding to breath.
Due to when the first home appliance will control the second home appliance in the prior art, it is necessary to (special by particular gateway
Determine gateway to refer to the gateway for supporting special Internet of Things fidonetFido) or server control data is forwarded to the second household electrical appliances and set
It is standby, cause the data transfer cost between home appliance higher..
The present invention provides a solution, and the point-to-point of information between home appliance is realized by way of data message
Transmission, and without carrying out the distribution of data by particular gateway or server, reduce data transfer cost.
As shown in figure 1, Fig. 1 is the apparatus structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Device of the embodiment of the present invention is home appliance.
As shown in figure 1, the device can include:Processor 1001, such as CPU, network interface 1003, memory 1004,
Communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components.Network interface 1003 is optional
For wave point (such as WI-FI interfaces), blue tooth interface and ZIGBEE radio network interfaces.Memory 1004 can be high
Fast RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory
The 1004 optional storage devices that can also be independently of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped
Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network
Believe the data distributing program of module, Subscriber Interface Module SIM and home appliance.
In the terminal shown in Fig. 1, network interface 1003 is mainly used in connecting background server, is carried out with background server
Data communicate;And processor 1001 can be used for the data distributing program for calling the home appliance stored in memory 1004, and
Perform following operate:
Resource information waiting for transmission in the first home appliance is obtained, the resource information is encoded;
Obtain the address information of the second home appliance corresponding to the resource information;
The resource information after coding is packaged as data message, and the data message is sent to the address and believed
Second home appliance corresponding to breath.
Further, before the step of obtaining the electricity consumption data in the first prefixed time interval, processor 1001 can be with
The data distributing program of the home appliance stored in memory 1004 is called, also performs following operate:
Obtain the URI Uniform Resource Identifiers of the resource information;
Data message is generated according to the Uniform Resource Identifier.
Further, after the step of obtaining the electricity consumption data in the first prefixed time interval, processor 1001 can be with
The data distributing program of the home appliance stored in memory 1004 is called, also performs following operate:
When first home appliance adds LAN, resource information in first home appliance and the are obtained
The IP address of one home appliance;
According to the resource information and the IP address of the first home appliance generation data message;
The data message is broadcasted, the data message is sent to the to environment where first home appliance
Two home appliances.
Further, the data transmission information of the home appliance of preparatory condition is met in generation electricity cost, described in output
The step of recommendation information, includes, and processor 1001 can call the data transfer journey of the home appliance stored in memory 1004
Sequence, perform following operate:
Obtain default multicast port;
Resource request data message, and resource request data message described in multicast are generated according to the multicast port;
When receiving response data packet of the second home appliance in LAN based on the resource request data message,
Obtain and preserve the resource information in the response data packet.
Further, before the step of generating recommendation information according to the minimum charging mode of electricity cost, processor
1001 can call the data distributing program of the home appliance stored in memory 1004, also perform following operate:
When first home appliance receives the data message of the 3rd home appliance broadcast, the data message is obtained
In resource information;
When the resource information is the resource information that the first home appliance needs, association preserve the resource information and
The source address of the data message.
Further, the data transmission information of the home appliance of preparatory condition is met in generation electricity cost, described in output
The step of recommendation information, includes, and processor 1001 can call the data transfer journey of the home appliance stored in memory 1004
Sequence, also perform following operate:
Obtain the coded system of the second home appliance corresponding to the resource information waiting for transmission;
The resource information is corresponded to according to the coded system to be encoded.
Further, after the step of marking the recommendation information according to the attribute of charging mode, processor 1001 can
To call the data distributing program of the home appliance stored in memory 1004, following operate also is performed:
The resource information after coding is packaged as UDP open system interconnection messages.
Reference picture 2, the data transmission method first embodiment of present inventor's electric equipment, the data transfer of the home appliance
Method includes:
Step S10, resource information waiting for transmission in the first home appliance is obtained, the resource information is encoded;
In technical scheme disclosed in the present embodiment, the transmission of data is equal between the first home appliance and the second home appliance
Realized by way of resource information, such as the first home appliance sends the data that detection obtains to the second home appliance, or
The voice messaging received is sent to the second home appliance and is identified by the home appliance of person first, or, the first home appliance
Control instruction etc. is sent to the second home appliance.
The application layer of first home appliance can install multiple applications, and a variety of processing behaviour are can trigger in the running of application
Make, such as when receiving voice signal, the processing operation of triggering may be speech recognition, or, enter in the first home appliance
, it is necessary to obtain ambient parameter during row control, the processing operation of triggering is obtains ambient parameter, such as humidity and temperature, at this
The corresponding corresponding resource information of reason operation.
Resource described in the present embodiment may include functional part (such as sensor) and fortune in equipment, information, equipment
Calculation ability (such as image procossing and facial recognition capability), resource can pass through URI (Uniform Resource
Identifier, URL) realize, the resource letter of miscellaneous equipment in Internet of Things is stored with each home appliance
Breath, it may include whole resource informations of miscellaneous equipment in Internet of Things, also can only include the resource for electric equipment of breaking up the family in the middle part of Internet of Things
Information.
Resource model is preset in the present embodiment, by the state that each resource impact is entity in resource model, such as
The value that some sensor sample obtains in equipment can be mapped as the resource of entity in the resource model, and the mark of the resource is then
To be mapped to the state of entity, other such as operational capabilities and equipment behavior can be mapped as entity, facilitate LAN to carry out
It is shared.
Resource model group will include entity, resource, finger URL (URI), resource type, attribute, resource identification, interface, collection
Close and connection, entity be it is visible, can mutual operation, come out by resource abstract representation, identify and related grasp using URI
Make, attribute is " key=value ", and represents resource status.Resource identification is the snapshot of attribute, and URI is that Resource Encapsulation is got up use
URI identifies, handles and named resource.
The resource information can be encoded by physical layer, physical layer be provided with corresponding to basic communication protocol such as bluetooth,
At least one of ZIGBEE and WIFI, resource information is encoded using the communication protocol of physical layer, encoded
When may be selected the agreement that sets in physical layer obtain choose corresponding to agreement encoded.
Step S20, obtain the address information of the second home appliance corresponding to the resource information;
Step S30, the resource information after coding is packaged as data message, and the data message is sent to institute
State the second home appliance corresponding to address information.
The communication protocol for resource information of being packed in the present embodiment can be TCP (Transmission Control
Protocol, transmission control) agreement, or UDP (User Datagram Protocol, open interconnection) agreement, two kinds
After agreement can obtain the IP address of opposite end, directly communicated with opposite end, and without being put into by server or ad hoc networks
Row forwarding.Address information in the present embodiment can be the address of the dynamic changes such as IP address, or physical address etc. is regularly
Location.
Data message in the present embodiment can select unicast, multicast still to broadcast according to scene, add in the first home appliance
, can be by the way of broadcast when entering LAN, can be by the way of multicast, in household electrical appliances when the first home appliance asks resource
When equipment is to the second home appliance resource information, by the way of unicast.
The data transmission method of home appliance disclosed in the present embodiment, the resource information in the first home appliance is obtained, it is right
Resource information transfer to physical layer is encoded, and the resource information after coding is packaged as into data message and sent to right
The second home appliance answered, the point-to-point transmission of information between home appliance is realized by way of data message, and without logical
The distribution that specific gateway or server carry out data is crossed, reduces data transfer cost.
Further, the data transmission method second embodiment of present inventor's electric equipment is proposed based on first embodiment,
In the present embodiment, the resource information after coding is packaged as into data message includes:
Obtain the URI Uniform Resource Identifiers of the resource information;
Data message is generated according to the Uniform Resource Identifier.
Each resource is corresponding with URI, and address, the port of each resource are may include in each URI, such as URI's is abstract
Structure may include shac://IP address:Port/<path><query>, the IP of the second equipment can be got according to the URI
Location, to be communicated with the second equipment according to the IP address, i.e., included according to the step of resource generation data processing request:
Obtain URI Uniform Resource Identifiers corresponding to the resource;Data message is generated according to the URI.
Second home appliance obtains the URI information in the data message, obtained according to URI when receiving the data message
The resource is taken, and corresponding processing operation is carried out according to resource information, for example, being the value that sensor detects in resource information
When, the value that sensor is detected feeds back to the first equipment;When resource information is computing capability such as speech recognition capabilities, docking
Voice messaging in the data processing request received is identified, to obtain corresponding voice identification result, and by the voice
Recognition result feeds back to the first home appliance, that is, responds the processing operation of the first home appliance, and the resource information is alternatively to the
The control parameter of two home appliances, by the mark of Resource Properties being identified operation corresponding to each resource.
The transmission of resource information is carried out in scheme disclosed in the present embodiment by URI, has corresponding money in the resource information
Source port, corresponding resource information in the second home appliance can be obtained according to the resource port, improve the number between home appliance
According to efficiency of transmission.
Further, the data transmission method the of present inventor's electric equipment is proposed based on first embodiment or second embodiment
Three embodiments, in the present embodiment, address information are IP address.
Each resource information is corresponding with the IP address for the second home appliance for possessing the resource information, or needs the money
The IP address of second home appliance of source information, corresponding second home appliance is sent data to by the IP address.
Because household electrical appliances IP address is dynamic address, when being networked again after home appliance power-off or suspension, home appliance
IP address can change, but home appliance have fixing address as MAC Address and UUID addresses be it is constant, then can be by obtaining
The fixing address of home appliance is taken to determine IP address.Do not receive the second home appliance within a preset time interval and be based on institute
When stating the response message of data message feedback, multicast address information acquisition request, the request is sent out by the form of UDP multicast packets
Send;Receiving the address information of request feedback is obtained according to the address information when, obtain in the address information with institute
State the IP address of the fixing address matching of the second home appliance;The IP of second home appliance is updated using the IP address
Location, and the data message is re-transmitted to by the second home appliance according to the IP address.
It may include fixing address and IP address in the address information of home appliance feedback, the determined by fixing address
The IP address of two home appliances, and update using the IP address that gets the IP address of the second home appliance, and by data processing
Request is sent to new IP address.
After home appliance adds LAN, each home appliance is added in a home appliance group, predeterminable to be somebody's turn to do
The port of home appliance group, in multicast, the port is added in the address information of multicast packet so that home appliance group
Each home appliance in group can receive the multicast packet.
It is understood that it is probably the packet packet loss that network problem causes to send, then within a preset time interval not
When receiving the response message that the second home appliance is fed back based on the data message, resend to second home appliance
The data message;Renewal resends the number of the data message;It is more than in the number for resending the data message
During preset times, the step of performing the multicast address information acquisition request.Ensure that the second home appliance connects by repeatedly sending
The data message of the first home appliance transmission is received, improves the accuracy of data transfer.
Further, reference picture 3, the data for proposing present inventor's electric equipment based on first embodiment or second embodiment pass
Transmission method 3rd embodiment, in the present embodiment, the data transmission method of the home appliance also include:
Step S40, when first home appliance adds LAN, obtain the resource letter in first home appliance
The IP address of breath and the first home appliance;
Step S50, data message is generated according to the resource information and the IP address of the first home appliance;
Step S60, the data message is broadcasted, the data message is sent to ring where first home appliance
The second domestic home appliance.
When the first home appliance adds LAN, after broadcasting UDP message bag, the second home appliance in LAN can obtain
The resource information of UDP message bag is taken, when the resource information is the resource information that the second home appliance needs, the resource can be stored
The IP address of the source IP address of information and UDP message, i.e. the first home appliance, then when needing to obtain resource information, it can obtain
The source IP address of the resource information is taken, the destination address using the source IP address as the data message of generation.
After first terminal adds LAN, it is also possible to receive the udp broadcast message that other terminals are sent, then described
When first home appliance receives the data message of the 3rd home appliance broadcast, the resource information in the UDP is obtained;Described
When resource information is the resource information that the first home appliance needs, association preserves the resource information and the data message
Source address.
Originally implement in disclosed technical scheme, LAN can be added by way of broadcasting UDP message bag, so that local
The second home appliance in net gets rapidly the resource of the first home appliance.
Further, reference picture 4, propose that the data transmission method the 4th of present inventor's electric equipment is real based on 3rd embodiment
Example is applied, in the present embodiment, is also included after described the step of broadcasting the data message:
Step S70, obtain default multicast port;
Step S80, resource request data message, and resource request data report described in multicast are generated according to the multicast port
Text;
Step S90, receiving response of the second home appliance in LAN based on the resource request data message
During packet, obtain and preserve the resource information in the response data packet.
Resource request data message can be sent by way of multicast after LAN is added, it is each in LAN to obtain
The resource that second home appliance possesses, when getting the resource of each home appliance feedback, it may be updated in the first home appliance
Resource table.
It is understood that also multicast can be carried out when needing and obtaining address information, to obtain each terminal in LAN
IP address after renewal, will not be repeated here referring in particular to second embodiment.
The resource of each home appliance in LAN is obtained in technical scheme disclosed in the present embodiment by way of multicast
Information, avoid sending data packets to other home appliances, improve the accuracy of data transfer.
Further, the data transmission method the 5th for proposing present inventor's electric equipment based on any of the above embodiment is implemented
Example, in the present embodiment, described the step of being encoded to the resource information, includes:
Obtain the coded system of the second home appliance corresponding to the resource information waiting for transmission;
The resource information is corresponded to according to the coded system to be encoded.
Resource information can be encoded by physical layer, physical layer be provided with corresponding to basic communication protocol such as bluetooth,
At least one of ZIGBEE and WIFI, resource information is encoded using the communication protocol of physical layer, encoded
When may be selected the agreement that sets in physical layer obtain choose corresponding to agreement encoded.
Each home appliance can add the communication protocol of support, first hand when adding in LAN in udp broadcast bag
Electric equipment is when receiving the UDP message bag, the agreement according to corresponding to obtaining the UDP message bag, and the agreement is sent into UDP numbers
Associated according to the information such as IP address of the 3rd home appliance of bag, the agreement that multiple agreements are changed, which can be set, in physical layer turns
Draping is closed, and realizes the intercommunication of various protocols.
The present embodiment realizes that the information between the home appliance of different underlying protocols is mutual by setting various protocols in bottom
It is logical.
Further, the data transmission method the 6th for proposing present inventor's electric equipment based on any of the above embodiment is implemented
Example, in the present embodiment, the step of resource information after coding is packaged as into data message, includes:Described in after coding
Resource information is packaged as UDP open system interconnection messages
Udp protocol is connectionless protocol, and home appliance need not safeguard the connection between home appliance, to home appliance
CPU and internal memory pressure it is smaller, then cause the solution of the present invention compatibility it is higher, use range is wider;Simultaneously as
This programme is carried out data transmission using udp protocol, and the CPU of home appliance and the pressure of internal memory are smaller, and data-handling efficiency is more
It is high.
Resource information is placed in the data field of data message according to the form of udp protocol, then marked by heading
Know the type of data, and be that unicast, multicast are still broadcasted come mark data message by destination address.
In addition, the present invention also proposes a kind of data transmission device of electricity consumption home appliance, the data of electricity consumption home appliance pass
Defeated device includes:Memory, processor and it is stored in the charging mode that can be run on the memory and on the processor
Option program, realized when the option program of charging mode is executed by processor electricity consumption home appliance as described above data pass
The step of transmission method.
In addition, the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium includes:Deposit
Reservoir, processor and the data transfer journey for being stored in the home appliance that can be run on the memory and on the processor
Sequence, the data of home appliance as described above are realized when the data distributing program of the home appliance is by the computing device
The step of transmission method
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. data transmission method of home appliance, it is characterised in that the data transmission method of the home appliance include with Lower step:Resource information waiting for transmission in the first home appliance is obtained, the resource information is encoded;Obtain the address information of the second home appliance corresponding to the resource information;The resource information after coding is packaged as data message, and the data message is sent to the address information pair The second home appliance answered.
- 2. the data transmission method of home appliance as claimed in claim 1, it is characterised in that the money by after coding Source information, which is packaged as the step of data message, to be included:Obtain the URI Uniform Resource Identifiers of the resource information;Data message is generated according to the Uniform Resource Identifier.
- 3. the data transmission method of home appliance as claimed in claim 1, it is characterised in that the address information is for IP Location.
- 4. the data transmission method of home appliance as claimed in claim 1, it is characterised in that the data transfer of the home appliance Method also includes:When first home appliance adds LAN, the resource information and first hand in first home appliance are obtained The IP address of electric equipment;According to the resource information and the IP address of the first home appliance generation data message;The data message is broadcasted, the data message is sent to second in environment where first home appliance Electric equipment.
- 5. the data transmission method of home appliance as claimed in claim 4, it is characterised in that the broadcast data message The step of after, the data transmission method of the home appliance also includes:Obtain default multicast port;Resource request data message, and resource request data message described in multicast are generated according to the multicast port;When receiving response data packet of the second home appliance in LAN based on the resource request data message, obtain And preserve the resource information in the response data packet.
- 6. the data transmission method of home appliance as claimed in claim 4, it is characterised in that the data of the home appliance pass Transmission method also includes:When first home appliance receives the data message of the 3rd home appliance broadcast, obtain in the data message Resource information;When the resource information is the resource information that the first home appliance needs, association preserves the resource information and described The source address of data message.
- 7. the data transmission method of home appliance as claimed in claim 6, it is characterised in that described to enter to the resource information The step of row coding, includes:Obtain the coded system of the second home appliance corresponding to the resource information waiting for transmission;The resource information is corresponded to according to the coded system to be encoded.
- 8. the data transmission method of the home appliance as described in claim any one of 1-7, it is characterised in that described by after coding Resource information the step of being packaged as data message include:The resource information after coding is packaged as UDP open system interconnection messages.
- 9. a kind of data transmission device of home appliance, it is characterised in that the data transmission device of the home appliance includes:Deposit Reservoir, processor and the data transfer journey for being stored in the home appliance that can be run on the memory and on the processor Sequence, the data distributing program of the home appliance are realized as any one of claim 1 to 8 during the computing device Home appliance data transmission method the step of.
- 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium includes:Memory, place Reason device and the data distributing program for being stored in the home appliance that can be run on the memory and on the processor, the family The data distributing program of electric equipment is realized that the household electrical appliances as any one of claim 1 to 8 are set during the computing device The step of standby data transmission method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710937913.XA CN107800597B (en) | 2017-09-30 | 2017-09-30 | Data transmission method and device for household appliance and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710937913.XA CN107800597B (en) | 2017-09-30 | 2017-09-30 | Data transmission method and device for household appliance and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107800597A true CN107800597A (en) | 2018-03-13 |
CN107800597B CN107800597B (en) | 2021-08-13 |
Family
ID=61533136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710937913.XA Active CN107800597B (en) | 2017-09-30 | 2017-09-30 | Data transmission method and device for household appliance and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107800597B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737539A (en) * | 2018-05-18 | 2018-11-02 | 济南浪潮高新科技投资发展有限公司 | A method of it is serviced based on industry internet platform IOT Hub |
CN108983627A (en) * | 2018-07-27 | 2018-12-11 | 广东美的制冷设备有限公司 | Household appliance and its data sharing method, device and computer readable storage medium |
CN110493338A (en) * | 2019-08-20 | 2019-11-22 | 深圳柚石物联技术有限公司 | A kind of equipment mutual control method, system and computer readable storage medium |
CN110572440A (en) * | 2019-08-16 | 2019-12-13 | 海尔优家智能科技(北京)有限公司 | Method and device for data transmission, household appliance and storage medium |
WO2020173232A1 (en) * | 2019-02-28 | 2020-09-03 | Oppo广东移动通信有限公司 | Resource synchronization method, apparatus, and device, and storage medium |
CN111983928A (en) * | 2019-05-22 | 2020-11-24 | 广东美的制冷设备有限公司 | Household appliance control method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090286572A1 (en) * | 1999-05-19 | 2009-11-19 | Rhoads Geoffrey B | Interactive Systems and Methods Employing Wireless Mobile Devices |
US20160073259A1 (en) * | 2014-09-05 | 2016-03-10 | Lg Electronics Inc. | Mobile terminal, home appliance, and method of operating the same |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100466568C (en) * | 2004-10-27 | 2009-03-04 | 乐金电子(天津)电器有限公司 | Household network system and its address setting method and associated electrical appliance equipment |
CN103997441B (en) * | 2013-02-17 | 2018-06-19 | 海尔集团公司 | Data sharing method, device and system and home equipment |
CN103685467B (en) * | 2013-11-15 | 2017-09-15 | 伏治军 | A kind of Internet of Things interconnects platform and its communication means |
CN104486762A (en) * | 2014-12-22 | 2015-04-01 | 广东美的厨房电器制造有限公司 | Access control method of intelligent home appliance and intelligent home appliance system |
CN105843055A (en) * | 2016-03-24 | 2016-08-10 | 苏州路之遥科技股份有限公司 | Communication method of smart home system |
-
2017
- 2017-09-30 CN CN201710937913.XA patent/CN107800597B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090286572A1 (en) * | 1999-05-19 | 2009-11-19 | Rhoads Geoffrey B | Interactive Systems and Methods Employing Wireless Mobile Devices |
US20160073259A1 (en) * | 2014-09-05 | 2016-03-10 | Lg Electronics Inc. | Mobile terminal, home appliance, and method of operating the same |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737539A (en) * | 2018-05-18 | 2018-11-02 | 济南浪潮高新科技投资发展有限公司 | A method of it is serviced based on industry internet platform IOT Hub |
CN108983627A (en) * | 2018-07-27 | 2018-12-11 | 广东美的制冷设备有限公司 | Household appliance and its data sharing method, device and computer readable storage medium |
CN108983627B (en) * | 2018-07-27 | 2022-06-17 | 广东美的制冷设备有限公司 | Household appliance and data sharing method and device thereof, and computer readable storage medium |
WO2020173232A1 (en) * | 2019-02-28 | 2020-09-03 | Oppo广东移动通信有限公司 | Resource synchronization method, apparatus, and device, and storage medium |
CN111983928A (en) * | 2019-05-22 | 2020-11-24 | 广东美的制冷设备有限公司 | Household appliance control method and device, electronic equipment and storage medium |
CN110572440A (en) * | 2019-08-16 | 2019-12-13 | 海尔优家智能科技(北京)有限公司 | Method and device for data transmission, household appliance and storage medium |
CN110572440B (en) * | 2019-08-16 | 2022-03-25 | 海尔优家智能科技(北京)有限公司 | Method and device for data transmission, household appliance and storage medium |
CN110493338A (en) * | 2019-08-20 | 2019-11-22 | 深圳柚石物联技术有限公司 | A kind of equipment mutual control method, system and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107800597B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107800597A (en) | Data transmission method, device and the computer-readable recording medium of home appliance | |
CN107592367A (en) | Resource share method, device and the computer-readable recording medium of home appliance | |
CN107566233A (en) | The resource share method and device of home appliance | |
US11070456B2 (en) | Methods to monitor resources through HTTP/2 | |
CN103618800B (en) | The implementation method and device of subscribing notification | |
US10708885B2 (en) | Methods and nodes for enabling context-awareness in CoAP | |
CN109218261B (en) | Data processing method and data processing device | |
WO2016111914A1 (en) | Machine-to-machine protocol indication and negotiation | |
CN103716901B (en) | Method, system and the relevant device connected between equipment | |
CN107622771A (en) | Home appliance and its control method, system and computer-readable recording medium | |
CN108401037A (en) | User terminal and the binding method of equipment, device and system | |
CN106961426A (en) | The means of communication and device of smart machine | |
CN111224792A (en) | Conference access method and device | |
CN108322443A (en) | Equipment interactive communication method, apparatus, storage medium and computer equipment | |
CN107743081A (en) | Home appliance and its control method, system and computer-readable recording medium | |
CN108737231A (en) | A kind of distribution method, apparatus, computer equipment and the storage medium of smart machine | |
CN108322557B (en) | Application equipment discovery method and device, computer equipment and storage medium | |
WO2017044772A1 (en) | Methods for enabling context-aware coap messaging | |
CN108809549A (en) | A kind of method and apparatus of transmission data | |
CN108076535A (en) | Control method, device, terminal and the storage medium of wireless heterogeneous networks connection | |
CN101465783B (en) | Connection method, device and connection network bridge for isomery household network appliances | |
CN107071921A (en) | A kind of terminal equipment control method and system based on wireless management frame | |
CN104969533B (en) | A kind of data package processing method and device | |
CN106209524A (en) | Communication means and system thereof in the LAN of a kind of embedded device | |
CN104270495B (en) | Contact adding method, system and mobile terminals |
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 |