CN103716129A - Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus - Google Patents

Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus Download PDF

Info

Publication number
CN103716129A
CN103716129A CN201310700081.1A CN201310700081A CN103716129A CN 103716129 A CN103716129 A CN 103716129A CN 201310700081 A CN201310700081 A CN 201310700081A CN 103716129 A CN103716129 A CN 103716129A
Authority
CN
China
Prior art keywords
message frame
described message
subframe
data
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.)
Pending
Application number
CN201310700081.1A
Other languages
Chinese (zh)
Inventor
梁营昌
王晓华
张凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Kitchen Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Guangdong Midea Kitchen Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201310700081.1A priority Critical patent/CN103716129A/en
Publication of CN103716129A publication Critical patent/CN103716129A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an Internet of Things-used wireless communication method. The Internet of Things-used wireless communication method comprises the following steps that: message frames are received and/or generated, wherein the message frames include command mode sub frames and data sub frames, and the values of the command mode sub frames indicate corresponding types of the message frames, such that a receiving side of the message frames can execute corresponding operations according to the types, and the data sub frames include communication data corresponding to the value of the data sub frames; and when the message frames are received, the message frames are parsed, or when the message frames are generated, the message frames are transmitted. The invention also provides an Internet of Things-used wireless communication apparatus. By means of the technical scheme of the invention, a more flexible and reliable communication protocol can be provided in an Internet of Things-based household electric appliance control process, and more rich control types can be realized.

Description

Wireless communications method and Wireless Telecom Equipment for Internet of Things
Technical field
The present invention relates to wireless communication technology field, in particular to a kind of wireless communications method for Internet of Things and a kind of Wireless Telecom Equipment for Internet of Things.
Background technology
Along with the popularization and application of Internet technology and the fast development of Internet of Things, people start by tele-control system, household electrical appliance to be controlled.Yet, existing as 802.11 agreements of wireless communication field etc., too complicated and shall not be applied to household electrical appliances control procedure; And existing household electrical appliances control protocol is too simple, underaction, also cannot realize more multi-functional support and expansion etc.
Summary of the invention
The present invention is intended at least solve one of technical problem existing in prior art or correlation technique.
For this reason, one object of the present invention has been to propose a kind of wireless communications method for Internet of Things.
Another object of the present invention has been to propose a kind of Wireless Telecom Equipment for Internet of Things.
For achieving the above object, embodiment according to a first aspect of the invention, a kind of wireless communications method for Internet of Things has been proposed, comprise: receive and/or generating messages frame, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, carries out corresponding operation with the recipient by described message frame according to described type, comprises the communication data corresponding to the value of described data burst in described data burst; When receiving described message frame, resolve described message frame; Maybe, when generating described message frame, send described message frame.
In this technical scheme, by command code subframe is set, make the equipment that receives this message frame according to the concrete numerical value of this command code subframe, to determine the type of this message frame, thereby accurately recognize the transmission object of this message frame, thereby make corresponding operation.Such as being while wishing certain function to control, the recipient of message frame can carry out corresponding operational order; Or in the time of need to carrying out data query, the recipient of message frame can carry out corresponding querying command; Or in the time of need to carrying out data feedback, the recipient of message frame can show or processing etc. feedback data.And, only need to define the concrete numerical value arranging in command code subframe, can realize the expansion to message frame type, easy and simple to handle, be easy to realize.
Meanwhile, by data burst is set, after recognizing the operation object of current message frame, can specifically determine the data content that this message frame carries, such as when recognizing that the type of message frame is while wishing to control, in data burst, can specifically carry control object, as menu option etc.; Or, when recognizing that the type of message frame is, while wishing to carry out data query, can specifically carry object to be checked in data burst; Or, when recognizing that the type of message frame is, while wishing to carry out data feedback, can specifically carry feedback data etc. in data burst.
Therefore, by cooperatively interacting of command code subframe and data burst, easily realize the transmission to message, thereby realize corresponding operation object; And by the combination of different command numeral frame and data burst, easily realize multi-purpose support and expansion.
In addition, the wireless communications method for Internet of Things according to the above embodiment of the present invention, can also have following additional technical characterictic:
According to one embodiment of present invention, preferably, when described command code subframe is the first value, the type that represents described message frame is the control operation type to the transmission of product end by control end; When described command code subframe is the second value, the type that represents described message frame is the status poll type to the transmission of product end by control end; When described command code subframe is the 3rd value, the type that represents described message frame is the ACK confirmation to the transmission of product end by control end; When described command code subframe is the 4th value, the type that represents described message frame is the Query Result feedback kind to control end transmission by product end; When described command code subframe is the 5th value, the type that represents described message frame is the initiative information feedback kind to control end transmission by product end; When described command code subframe is the 6th value, the type that represents described message frame is the ACK confirmation to control end transmission by product end.
In this technical scheme, concrete example has illustrated the multiple concrete message frame type that command code subframe can be expressed.But it will be understood by those skilled in the art that herein and be not used in the type that can support the kind of command code subframe or message frame limits; In fact, by the expansion to the data length of command code subframe, obviously can support more polymorphic type, thereby realize more eurypalynous expansion and support.
Preferably, the variable-length of described data burst.By the length variations to data burst, can carry out according to the actual requirements the combination of more data or order, thereby be easy to realize multi-purpose support and expansion.
Preferably, in described data burst, also comprise: the transmit leg of described message frame and/or recipient's sign.
In this technical scheme, by add the transmit leg of message frame and/or recipient's sign in data burst, in the time of can comprising at the same time a plurality of possible transmit legs and/or recipient, real transmit leg and/or recipient to current message frame determine, and make it possible to accurately realize transmission and the further message feedback of message frame.
According to another embodiment of the invention, preferably, described message frame also comprises: data packet head, be positioned at the head of described message frame, and in described data packet head, include the unique identification corresponding to described message frame.
In this technical scheme, by comprise unique identification in data packet head, message frame of the present invention can be distinguished mutually with the message frame of existing other any agreements, thereby avoid obscuring with other message frames, guarantee that message frame of the present invention can realize accurate transmission.
Simultaneously, due to the head of data packet head at whole packet, make the equipment that receives this message frame after having resolved packet head, can recognize whether this message frame is the message frame of its support, if while being received by the equipment of not supporting agreement of the present invention, can make it after having resolved data packet head, just stop resolving, contribute to reduce the energy consumption of equipment.
Preferably, described message frame also comprises: data length subframe, be arranged between other subframes in described data packet head and described message frame, and in described data length subframe, include the data length summation of other subframes in described message frame; Wherein, the recipient of described message frame, according to described data length subframe, intercepts described message frame from the data-message receiving.
In this technical scheme, by data length subframe is set, make to receive the equipment of this message frame, data length summation information that can be based on comprising in this data length subframe, accurately intercept the full content of this message frame, avoid the data in loss of data or wrong other packets of intercepting occur, wireless communication procedure can be carried out in an orderly manner.
Preferably, described message frame also comprises: verification and subframe, be arranged on the afterbody of described message frame, the data length summation that comprises all subframes except described verification and subframe in described message frame in described verification and subframe; Wherein, the recipient of described message frame, according to described verification and subframe, carries out verification to described message frame.
In this technical scheme, by verification and subframe are set, make the recipient of message frame can accurately realize whether complete to message frame, receive and verify exactly, avoid because data receiver is imperfect, causing instruction execution error, contribute to improve the reliability of message frame transmission.
Preferably, when sending described message frame, described wireless communications method also comprises: if receive the ACK confirmation that the recipient of described message frame returns in Preset Time, confirm that described message frame sends successfully; In the situation that do not receive the ACK confirmation that the recipient of described message frame returns, the retransmit operation of execution to described message frame, and after carrying out the retransmit operation of preset times, if do not receive yet the ACK confirmation that the recipient of described message frame returns, confirm that described message frame sends unsuccessfully.
In this technical scheme, by the transmission of messages of carrying out based on ACK feedback, confirm mode, can be to message frame whether by correctly, effectively receive and confirm, thus contribute to improve the reliability of message frame transmission.
By the retransmission mechanism to message frame is set, make in the situation that communication environment is poor, by increasing the transmission times of message frame, improve as much as possible the transmission success rate of message frame.
And by limited retransmit operation number of times is set, make to avoid repeatedly to carry out message frame to send in the situation that communication environment is severe, contribute to reduce the power consumption penalty of the transmit leg of message frame, also avoid to channel continue take.
According to the embodiment of second aspect present invention, a kind of Wireless Telecom Equipment for Internet of Things has been proposed, comprising: data processing module, for generating messages frame, or in the situation that data interaction module receives described message frame, resolve described message frame; Described data interaction module, for sending described message frame, and/or receives described message frame; Wherein, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, with the recipient by described message frame, according to described type, carry out corresponding operation, in described data burst, comprise the communication data corresponding to the value of described data burst.
In this technical scheme, by command code subframe is set, make the equipment that receives this message frame according to the concrete numerical value of this command code subframe, to determine the type of this message frame, thereby accurately recognize the transmission object of this message frame, thereby make corresponding operation.Such as being while wishing certain function to control, the recipient of message frame can carry out corresponding operational order; Or in the time of need to carrying out data query, the recipient of message frame can carry out corresponding querying command; Or in the time of need to carrying out data feedback, the recipient of message frame can show or processing etc. feedback data.And, only need to define the concrete numerical value arranging in command code subframe, can realize the expansion to message frame type, easy and simple to handle, be easy to realize.
Meanwhile, by data burst is set, after recognizing the operation object of current message frame, can specifically determine the data content that this message frame carries, such as when recognizing that the type of message frame is while wishing to control, in data burst, can specifically carry control object, as menu option etc.; Or, when recognizing that the type of message frame is, while wishing to carry out data query, can specifically carry object to be checked in data burst; Or, when recognizing that the type of message frame is, while wishing to carry out data feedback, can specifically carry feedback data etc. in data burst.
Therefore, by cooperatively interacting of command code subframe and data burst, easily realize the transmission to message, thereby realize corresponding operation object; And by the combination of different command numeral frame and data burst, easily realize multi-purpose support and expansion.
Preferably, described message frame also comprises: data packet head, be positioned at the head of described message frame, and in described data packet head, include the unique identification corresponding to described message frame; Data length subframe, is arranged between other subframes in described data packet head and described message frame, includes the data length summation of other subframes in described message frame in described data length subframe; And verification and subframe, be arranged on the afterbody of described message frame, the data length summation that comprises all subframes except described verification and subframe in described message frame in described verification and subframe.
In this technical scheme, by comprise unique identification in data packet head, message frame of the present invention can be distinguished mutually with the message frame of existing other any agreements, thereby avoid obscuring with other message frames, guarantee that message frame of the present invention can realize accurate transmission.
Simultaneously, due to the head of data packet head at whole packet, make the equipment that receives this message frame after having resolved packet head, can recognize whether this message frame is the message frame of its support, if while being received by the equipment of not supporting agreement of the present invention, can make it after having resolved data packet head, just stop resolving, contribute to reduce the energy consumption of equipment.
By data length subframe is set, make to receive the equipment of this message frame, data length summation information that can be based on comprising in this data length subframe, accurately intercept the full content of this message frame, avoid the data in loss of data or wrong other packets of intercepting occur, wireless communication procedure can be carried out in an orderly manner.
By verification and subframe are set, make the recipient of message frame can accurately realize whether complete to message frame, receive and verify exactly, avoid because data receiver is imperfect, causing instruction execution error, contribute to improve the reliability of message frame transmission.
By above technical scheme, can in the household electrical appliances control procedure based on Internet of Things, provide a kind of more flexible, reliable communications protocol, can realize the more control type of horn of plenty.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage accompanying drawing below combination obviously and is easily understood becoming the description of embodiment, wherein:
Fig. 1 shows the schematic flow diagram of the wireless communications method corresponding to transmit leg according to an embodiment of the invention;
Fig. 2 shows the schematic flow diagram of the wireless communications method corresponding to recipient according to an embodiment of the invention;
Fig. 3 shows the structural representation of message frame according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of the message frame type of command code according to an embodiment of the invention and correspondence;
Fig. 5 shows the schematic diagram of the data type comprising in data burst according to an embodiment of the invention;
Fig. 6 shows the schematic block diagram of the Wireless Telecom Equipment corresponding to transmit leg according to an embodiment of the invention;
Fig. 7 shows the schematic block diagram of the Wireless Telecom Equipment corresponding to recipient according to an embodiment of the invention.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the application's embodiment and the feature in embodiment can combine mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not limited to the restriction of following public specific embodiment.
The present invention proposes a kind of new communication protocol, for the household electrical appliances Long-distance Control in Internet of Things, in its communication process, relate to transmit leg and the recipient of message frame, below by respectively from this two aspect and in conjunction with the particular content of above-mentioned communication protocol, technical scheme of the present invention is elaborated.
One, transmit leg
Fig. 1 shows the schematic flow diagram of the wireless communications method corresponding to transmit leg according to an embodiment of the invention.
As shown in Figure 1, the wireless communications method corresponding to transmit leg according to an embodiment of the invention, comprising:
Step 102, generating messages frame, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, with the recipient by described message frame, according to described type, carry out corresponding operation, in described data burst, comprise the communication data corresponding to the value of described data burst;
Step 104, sends described message frame.
Two, recipient
Fig. 2 shows the schematic flow diagram of the wireless communications method corresponding to recipient according to an embodiment of the invention.
As shown in Figure 2, the wireless communications method corresponding to recipient according to an embodiment of the invention, comprising:
Step 202, receipt message frame, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, with the recipient by described message frame, according to described type, carry out corresponding operation, in described data burst, comprise the communication data corresponding to the value of described data burst;
Step 204, resolves described message frame.
At above-mentioned Fig. 1 and Fig. 2, distinguish in corresponding communication process, mainly define in message frame and should comprise command code subframe and data burst.
Wherein, by command code subframe is set, makes the equipment that receives this message frame to determine the type of this message frame according to the concrete numerical value of this command code subframe, thereby accurately recognize the transmission object of this message frame, thereby make corresponding operation.Such as being while wishing certain function to control, the recipient of message frame can carry out corresponding operational order; Or in the time of need to carrying out data query, the recipient of message frame can carry out corresponding querying command; Or in the time of need to carrying out data feedback, the recipient of message frame can show or processing etc. feedback data.And, only need to define the concrete numerical value arranging in command code subframe, can realize the expansion to message frame type, easy and simple to handle, be easy to realize.
Meanwhile, by data burst is set, after recognizing the operation object of current message frame, can specifically determine the data content that this message frame carries, such as when recognizing that the type of message frame is while wishing to control, in data burst, can specifically carry control object, as menu option etc.; Or, when recognizing that the type of message frame is, while wishing to carry out data query, can specifically carry object to be checked in data burst; Or, when recognizing that the type of message frame is, while wishing to carry out data feedback, can specifically carry feedback data etc. in data burst.
Therefore, by cooperatively interacting of command code subframe and data burst, easily realize the transmission to message, thereby realize corresponding operation object; And by the combination of different command numeral frame and data burst, easily realize multi-purpose support and expansion.
Certainly, in message frame of the present invention, more structure be can also comprise, further interactive mode and function made it possible to realize.
Three, message frame structure
Fig. 3 shows the structural representation of message frame according to an embodiment of the invention.
As shown in Figure 3, in message frame according to an embodiment of the invention, can comprise above-mentioned command code subframe 306 and data burst 308, can also further comprise:
1, data packet head
Data packet head 302 is positioned at the head of described message frame, in described data packet head 302, includes the unique identification corresponding to described message frame.
In this technical scheme, by comprise unique identification in data packet head 302, message frame of the present invention can be distinguished mutually with the message frame of existing other any agreements, thereby avoid obscuring with other message frames, guarantee that message frame of the present invention can realize accurate transmission.
Particularly, such as data packet head 302 being defined as to 2 bytes, high byte is 0xA5, and low byte is 0x5A; Certainly, it will be understood by those skilled in the art that data packet head 302 also may be defined as other form, and be not used in restriction herein.
Simultaneously, due to the head of data packet head 302 at whole packet, make the equipment that receives this message frame after having resolved data packet head 302, can recognize whether this message frame is the message frame of its support, if while being received by the equipment of not supporting agreement of the present invention, can make it after having resolved data packet head 302, just stop resolving, contribute to reduce the energy consumption of equipment.
2, data length
Data length subframe 304 is arranged between other subframes in described data packet head 302 and described message frame, includes the data length summation of other subframes in described message frame in described data length subframe 304; Wherein, the recipient of described message frame, according to described data length subframe 304, intercepts described message frame from the data-message receiving.
In this technical scheme, by data length subframe 304 is set, make to receive the equipment of this message frame, data length summation information that can be based on comprising in this data length subframe 304, accurately intercept the full content of this message frame, avoid the data in loss of data or wrong other packets of intercepting occur, wireless communication procedure can be carried out in an orderly manner.
Particularly, such as the data length comprising in data length subframe 304 can be for the length of all subframes after the data length subframe 304 shown in Fig. 3, as the length sum of command code subframe 306, data burst 308 and verification and subframe 310.Wherein, the length of data length subframe 304 self can be 2 bytes, to comprise above-mentioned length sum.
3, verification and subframe
Verification and subframe 310 are arranged on the afterbody of described message frame, the data length summation that comprises all subframes except described verification and subframe 310 in described message frame in described verification and subframe 310; Wherein, the recipient of described message frame, according to described verification and subframe 310, carries out verification to described message frame.
In this technical scheme, by verification and subframe 310 are set, make the recipient of message frame can accurately realize whether complete to message frame, receive and verify exactly, avoid because data receiver is imperfect, causing instruction execution error, contribute to improve the reliability of message frame transmission.
Particularly, in the message frame structure shown in Fig. 3, verification and subframe 310 can be 1 byte, length summation corresponding to data packet head 302, data length subframe 304, command code subframe 306 and data burst 308, when the data length summation recorded in length summation that Practical Calculation obtains and verification and subframe 310 is inconsistent, description messages frame receives wrong; And the length summation obtaining when Practical Calculation is while being greater than 1 byte, will automatically overflow.
Therefore, by the cooperation of data length subframe 304 and verification and subframe 310, make the reception that completes first realizing message frame according to data length subframe 304, then by verification and 310 pairs of data reception conditions of subframe, verify, further guarantee complete, the accurately reception of message frame, improved the reliability of message frame transmission.
In message frame, the part that is mainly used in Data Control or transmission is determined by command code subframe 306 and data burst 308, thereby is elaborated below in conjunction with Fig. 4 and Fig. 5.
4, command code subframe
The length of command code subframe 306 can be 1 byte; Or expand to as required other byte numbers, and be not used in restriction herein.
Fig. 4 shows the schematic diagram of the message frame type of command code according to an embodiment of the invention and correspondence.
As shown in Figure 4, as a kind of comparatively specific embodiment, show 6 kinds of possible message frame types:
1) control end sends message frame to product end
Situation 402: when command code subframe 306 is the first value, as being 0x11, the type that represents described message frame is the control operation type to the transmission of product end by control end.
Situation 404: when command code subframe 306 is the second value, as being 0x12, the type that represents described message frame is the status poll type to the transmission of product end by control end.
Situation 406: when described command code subframe is the 3rd value, as being 0x1F, the type that represents described message frame is the ACK confirmation to the transmission of product end by control end.
2) product end sends message frame to control end
Situation 408: when described command code subframe is the 4th value, as being 0x21, the type that represents described message frame is the Query Result feedback kind to control end transmission by product end.
Situation 410: when described command code subframe is the 5th value, as being 0x22, the type that represents described message frame is the initiative information feedback kind to control end transmission by product end.
Situation 412: when described command code subframe is the 6th value, as being 0x2F, the type that represents described message frame is the ACK confirmation to control end transmission by product end.
In conjunction with Fig. 4 concrete example, the multiple concrete message frame type that command code subframe 306 can be expressed has been described herein.But it will be understood by those skilled in the art that herein and be not used in the type that can support the kind of command code subframe 306 or message frame limits; In fact, by the expansion to the data length of command code subframe 306, obviously can support more polymorphic type, thereby realize more eurypalynous expansion and support.
5, data burst
Data burst 308 can be according to the value of command code subframe 306 and product type different, send the different combinations of controlling data or feedback data etc.
Wherein, the variable-length of data burst 308, makes the data of its combination also can carry out expanded definition according to different product demand, to meet control under different conditions and feedback etc.
Fig. 5 shows the schematic diagram of the data type comprising in data burst according to an embodiment of the invention.
As shown in Figure 5, as some specific embodiments comparatively, by the change to the numerical value comprising in data burst 308, it can be for various functions is carried out to transfer of data, as function menu 503, operating state 504, setting-up time 505, running time 506, design temperature 507, actual temperature 508, work percentage 509, lamp switch 510, virgin lock 511, firepower 512, electric power 513, power consumption 514, failure code 515, prompting code 516 etc.
Particularly, such as locking 511 or switching function (not shown) by child, can realizing at control terminal, press " the virgin lock of a key " or " a key shutdown " key, all household electrical appliances can be added to virgin lock or carry out shut-off function.
Meanwhile, corresponding to some concrete scenes, such as exist many control end equipment to control same product end equipment simultaneously, as baking box controlled by remote controller, smart mobile phone, computer etc.; Or, by same control end equipment, many product end equipment are controlled, as baking box, microwave oven philosophy controlled by remote controller; Or, by product end equipment, to control end equipment, fed back etc.
So, under the scenes such as above-mentioned many-one, one-to-many or multi-to-multi, in order to realize, the transmit leg of a plurality of message frames or recipient are accurately distinguished, can be by add concrete transmit leg and/or recipient's sign in message frame, such as being added in data burst 308.
By add the transmit leg of message frame and/or recipient's sign in data burst 308, in the time of can comprising at the same time a plurality of possible transmit legs and/or recipient, real transmit leg and/or recipient to current message frame determine, and make it possible to accurately realize transmission and the further message feedback of message frame.
Four, acknowledge
In technical scheme of the present invention, after message frame is sent out, can also passes through some affirmation mechanisms, thereby guarantee that this message frame is successfully received, although avoid message frame to be sent out, the situation of in fact unsuccessful transmission.
Particularly, the present invention proposes a kind of comparatively preferred embodiment:
1) if the transmit leg of message frame in Preset Time (as 500 milliseconds or other times length), receive as described in the ACK confirmation returned of the recipient of message frame, confirm that described message frame sends successfully.
By the transmission of messages of carrying out based on ACK feedback, confirm mode, can be to message frame whether by correctly, effectively receive and confirm, thus contribute to improve the reliability of message frame transmission.
2) in the situation that do not receive the ACK confirmation that the recipient of described message frame returns, the retransmit operation of the transmit leg execution of message frame to described message frame.
By the retransmission mechanism to message frame is set, make in the situation that communication environment is poor, by increasing the transmission times of message frame, improve as much as possible the transmission success rate of message frame.
3) after carrying out the retransmit operation of preset times (as 3 times or other number of times), if do not receive yet the ACK confirmation that the recipient of described message frame returns, confirm that described message frame sends unsuccessfully.
By limited retransmit operation number of times is set, make to avoid repeatedly to carry out message frame and send in the situation that communication environment be severe, contribute to reduce the power consumption penalty of the transmit leg of message frame, also avoid to channel continue take.
Five, feedback analysis
The control of technical scheme of the present invention based on realizing in Internet of things system household electrical appliances, thereby for user the operating data to product end, can be uploaded in the server of appointment by product end or control end, such as uploading the message frame itself of the transmission situation of all message frames of carrying out in a period of time or transmission.
So, server is analyzed by the concrete condition to message frame, such as the information type that the data burst by message frame is corresponding is analyzed, concrete as the frequency of utilization of user to every kind of function, can recognize that user is for the actual demand situation of various functions, and based on analysis result, realize the product improvement in later stage.
Particularly, such as the frequency of utilization when certain function is when higher, can in subsequent product, retain; And when the frequency of utilization of certain function is lower, can in subsequent product, deletes or improve, to the actual demand of being more close to the users.
Corresponding to technique scheme, the invention allows for corresponding product or equipment, wherein, Fig. 6 shows the schematic block diagram of the Wireless Telecom Equipment corresponding to transmit leg according to an embodiment of the invention; Fig. 7 shows the schematic block diagram of the Wireless Telecom Equipment corresponding to recipient according to an embodiment of the invention.
1, transmit leg
As shown in Figure 6, the Wireless Telecom Equipment 600 corresponding to transmit leg according to an embodiment of the invention, comprising: data processing module 602, for generating messages frame; Data interaction module 604, for sending described message frame, and/or receives described message frame; Wherein, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, with the recipient by described message frame, according to described type, carry out corresponding operation, in described data burst, comprise the communication data corresponding to the value of described data burst.
2, recipient
As shown in Figure 7, Wireless Telecom Equipment 700 corresponding to recipient according to an embodiment of the invention, comprise: data interaction module 702, for receipt message frame, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, carries out corresponding operation with the recipient by described message frame according to described type, comprises the communication data corresponding to the value of described data burst in described data burst; Data processing module 704, for resolving described message frame.
Corresponding to Wireless Telecom Equipment 600 or Wireless Telecom Equipment 700, by command code subframe is set, the equipment that makes to receive this message frame can be according to the concrete numerical value of this command code subframe, determine the type of this message frame, thereby accurately recognize the transmission object of this message frame, thereby make corresponding operation.Such as being while wishing certain function to control, the recipient of message frame can carry out corresponding operational order; Or in the time of need to carrying out data query, the recipient of message frame can carry out corresponding querying command; Or in the time of need to carrying out data feedback, the recipient of message frame can show or processing etc. feedback data.And, only need to define the concrete numerical value arranging in command code subframe, can realize the expansion to message frame type, easy and simple to handle, be easy to realize.
Meanwhile, by data burst is set, after recognizing the operation object of current message frame, can specifically determine the data content that this message frame carries, such as when recognizing that the type of message frame is while wishing to control, in data burst, can specifically carry control object, as menu option etc.; Or, when recognizing that the type of message frame is, while wishing to carry out data query, can specifically carry object to be checked in data burst; Or, when recognizing that the type of message frame is, while wishing to carry out data feedback, can specifically carry feedback data etc. in data burst.
Therefore, by cooperatively interacting of command code subframe and data burst, easily realize the transmission to message, thereby realize corresponding operation object; And by the combination of different command numeral frame and data burst, easily realize multi-purpose support and expansion.
Preferably, described message frame also comprises: data packet head, be positioned at the head of described message frame, and in described data packet head, include the unique identification corresponding to described message frame; Data length subframe, is arranged between other subframes in described data packet head and described message frame, includes the data length summation of other subframes in described message frame in described data length subframe; And verification and subframe, be arranged on the afterbody of described message frame, the data length summation that comprises all subframes except described verification and subframe in described message frame in described verification and subframe.
In this technical scheme, by comprise unique identification in data packet head, message frame of the present invention can be distinguished mutually with the message frame of existing other any agreements, thereby avoid obscuring with other message frames, guarantee that message frame of the present invention can realize accurate transmission.
Simultaneously, due to the head of data packet head at whole packet, make the equipment that receives this message frame after having resolved packet head, can recognize whether this message frame is the message frame of its support, if while being received by the equipment of not supporting agreement of the present invention, can make it after having resolved data packet head, just stop resolving, contribute to reduce the energy consumption of equipment.
By data length subframe is set, make to receive the equipment of this message frame, data length summation information that can be based on comprising in this data length subframe, accurately intercept the full content of this message frame, avoid the data in loss of data or wrong other packets of intercepting occur, wireless communication procedure can be carried out in an orderly manner.
By verification and subframe are set, make the recipient of message frame can accurately realize whether complete to message frame, receive and verify exactly, avoid because data receiver is imperfect, causing instruction execution error, contribute to improve the reliability of message frame transmission.
More than be described with reference to the accompanying drawings technical scheme of the present invention, the present invention proposes a kind of wireless communications method for Internet of Things and a kind of Wireless Telecom Equipment for Internet of Things, can be in the household electrical appliances control procedure based on Internet of Things, a kind of more flexible, reliable communications protocol is provided, can realizes the more control type of horn of plenty.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. for a wireless communications method for Internet of Things, it is characterized in that, comprising:
Receive and/or generating messages frame, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, with the recipient by described message frame, according to described type, carry out corresponding operation, in described data burst, comprise the communication data corresponding to the value of described data burst;
When receiving described message frame, resolve described message frame; Maybe, when generating described message frame, send described message frame.
2. wireless communications method according to claim 1, is characterized in that,
When described command code subframe is the first value, the type that represents described message frame is the control operation type to the transmission of product end by control end;
When described command code subframe is the second value, the type that represents described message frame is the status poll type to the transmission of product end by control end;
When described command code subframe is the 3rd value, the type that represents described message frame is the ACK confirmation to the transmission of product end by control end;
When described command code subframe is the 4th value, the type that represents described message frame is the Query Result feedback kind to control end transmission by product end;
When described command code subframe is the 5th value, the type that represents described message frame is the initiative information feedback kind to control end transmission by product end;
When described command code subframe is the 6th value, the type that represents described message frame is the ACK confirmation to control end transmission by product end.
3. wireless communications method according to claim 1, is characterized in that, the variable-length of described data burst.
4. wireless communications method according to claim 1, is characterized in that, in described data burst, also comprises:
The transmit leg of described message frame and/or recipient's sign.
5. wireless communications method according to claim 1, is characterized in that, described message frame also comprises:
Data packet head, is positioned at the head of described message frame, includes the unique identification corresponding to described message frame in described data packet head.
6. wireless communications method according to claim 5, is characterized in that, described message frame also comprises:
Data length subframe, is arranged between other subframes in described data packet head and described message frame, includes the data length summation of other subframes in described message frame in described data length subframe;
Wherein, the recipient of described message frame, according to described data length subframe, intercepts described message frame from the data-message receiving.
7. wireless communications method according to claim 5, is characterized in that, described message frame also comprises:
Verification and subframe, be arranged on the afterbody of described message frame, the data length summation that comprises all subframes except described verification and subframe in described message frame in described verification and subframe;
Wherein, the recipient of described message frame, according to described verification and subframe, carries out verification to described message frame.
8. according to the wireless communications method described in any one in claim 1 to 7, it is characterized in that, when sending described message frame, described wireless communications method also comprises:
If receive the ACK confirmation that the recipient of described message frame returns in Preset Time, confirm that described message frame sends successfully;
In the situation that do not receive the ACK confirmation that the recipient of described message frame returns, the retransmit operation of execution to described message frame, and after carrying out the retransmit operation of preset times, if do not receive yet the ACK confirmation that the recipient of described message frame returns, confirm that described message frame sends unsuccessfully.
9. for a Wireless Telecom Equipment for Internet of Things, it is characterized in that, comprising:
Data processing module, for generating messages frame, or in the situation that data interaction module receives described message frame, resolves described message frame;
Described data interaction module, for sending described message frame, and/or receives described message frame;
Wherein, in described message frame, comprise command code subframe and data burst, type corresponding to message frame described in the value representation of described command code subframe, with the recipient by described message frame, according to described type, carry out corresponding operation, in described data burst, comprise the communication data corresponding to the value of described data burst.
10. Wireless Telecom Equipment according to claim 1, is characterized in that, described message frame also comprises:
Data packet head, is positioned at the head of described message frame, includes the unique identification corresponding to described message frame in described data packet head;
Data length subframe, is arranged between other subframes in described data packet head and described message frame, includes the data length summation of other subframes in described message frame in described data length subframe; And
Verification and subframe, be arranged on the afterbody of described message frame, the data length summation that comprises all subframes except described verification and subframe in described message frame in described verification and subframe.
CN201310700081.1A 2013-12-18 2013-12-18 Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus Pending CN103716129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310700081.1A CN103716129A (en) 2013-12-18 2013-12-18 Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310700081.1A CN103716129A (en) 2013-12-18 2013-12-18 Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus

Publications (1)

Publication Number Publication Date
CN103716129A true CN103716129A (en) 2014-04-09

Family

ID=50408752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310700081.1A Pending CN103716129A (en) 2013-12-18 2013-12-18 Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus

Country Status (1)

Country Link
CN (1) CN103716129A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503252A (en) * 2014-12-16 2015-04-08 广东美的厨房电器制造有限公司 Household appliance, control method thereof, and information interaction system for household appliance
CN104570749A (en) * 2014-12-16 2015-04-29 广东美的厨房电器制造有限公司 Household appliance and control method thereof, information interaction system and intelligent terminal
CN104750103A (en) * 2015-03-09 2015-07-01 深圳市道通智能航空技术有限公司 Wireless data transmission method and device and aircraft control method and device
CN104796234A (en) * 2015-03-16 2015-07-22 北京华力创通科技股份有限公司 Method and system for transmitting data between remote mechanical terminal and controller
CN104811358A (en) * 2015-04-03 2015-07-29 九阳股份有限公司 Wireless communication method of network household appliance
CN105446154A (en) * 2015-12-22 2016-03-30 广东美的制冷设备有限公司 Control method and system of Internet-of-Things household electric appliances
CN105577332A (en) * 2015-11-12 2016-05-11 北京四象网讯科技有限公司 Data transmission method, sending end device, receiving end device and parking system
CN105872949A (en) * 2016-03-28 2016-08-17 北京四象网讯科技有限公司 Method, device and system for transmitting data
CN106685927A (en) * 2016-11-29 2017-05-17 深圳市元征科技股份有限公司 Data subframe structure compilation method and relevant device
CN109309703A (en) * 2017-07-28 2019-02-05 芜湖美的厨卫电器制造有限公司 The communication system and the means of communication of water purifier and its electric-controlled plate
CN109327238A (en) * 2017-07-28 2019-02-12 芜湖美的厨卫电器制造有限公司 The communication system and the means of communication of water purifier and its electric-controlled plate
CN109688674A (en) * 2018-12-28 2019-04-26 重庆集诚汽车电子有限责任公司 A kind of LED headlight wireless control method based on BCM controller
CN112913272A (en) * 2018-08-20 2021-06-04 诺基亚通信公司 Method, apparatus and computer program

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503252A (en) * 2014-12-16 2015-04-08 广东美的厨房电器制造有限公司 Household appliance, control method thereof, and information interaction system for household appliance
CN104570749A (en) * 2014-12-16 2015-04-29 广东美的厨房电器制造有限公司 Household appliance and control method thereof, information interaction system and intelligent terminal
CN104750103A (en) * 2015-03-09 2015-07-01 深圳市道通智能航空技术有限公司 Wireless data transmission method and device and aircraft control method and device
CN104796234A (en) * 2015-03-16 2015-07-22 北京华力创通科技股份有限公司 Method and system for transmitting data between remote mechanical terminal and controller
CN104811358A (en) * 2015-04-03 2015-07-29 九阳股份有限公司 Wireless communication method of network household appliance
CN104811358B (en) * 2015-04-03 2019-04-23 九阳股份有限公司 A kind of wireless communication method of network home appliance
CN105577332A (en) * 2015-11-12 2016-05-11 北京四象网讯科技有限公司 Data transmission method, sending end device, receiving end device and parking system
CN105577332B (en) * 2015-11-12 2018-09-07 北京四象网讯科技有限公司 A kind of data transmission method, transmitting terminal and receiving end device and shutdown system
CN105446154A (en) * 2015-12-22 2016-03-30 广东美的制冷设备有限公司 Control method and system of Internet-of-Things household electric appliances
CN105872949A (en) * 2016-03-28 2016-08-17 北京四象网讯科技有限公司 Method, device and system for transmitting data
CN106685927A (en) * 2016-11-29 2017-05-17 深圳市元征科技股份有限公司 Data subframe structure compilation method and relevant device
CN109309703A (en) * 2017-07-28 2019-02-05 芜湖美的厨卫电器制造有限公司 The communication system and the means of communication of water purifier and its electric-controlled plate
CN109327238A (en) * 2017-07-28 2019-02-12 芜湖美的厨卫电器制造有限公司 The communication system and the means of communication of water purifier and its electric-controlled plate
CN112913272A (en) * 2018-08-20 2021-06-04 诺基亚通信公司 Method, apparatus and computer program
CN109688674A (en) * 2018-12-28 2019-04-26 重庆集诚汽车电子有限责任公司 A kind of LED headlight wireless control method based on BCM controller

Similar Documents

Publication Publication Date Title
CN103716129A (en) Internet of Things-used wireless communication method and Internet of Things-used wireless communication apparatus
CN103458399B (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
CN101572597B (en) Operation method for synchronous mixed automatic repeat request of wireless communication system
CN102130802A (en) Internet of things home appliance management system and management method
CN104301012A (en) Interaction method, terminal and system realized by NFC technique
CN106358147A (en) Method and system for connecting wireless network, household electric appliance and user terminal
CN104767768A (en) Methods for sending and receiving network access configuration information of household appliances, and household appliances
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
CN108632798A (en) A kind of quick binding method of Internet of Things household appliance, system and relevant apparatus
EP3637657B1 (en) Communication method, network device and terminal
CN102905396A (en) Device networking and network-accessing management method for intelligent housing system
CN104635504A (en) IOT (Internet of Things) intelligent household appliance data transmission method and system
EP2744220A1 (en) Set top box authentication method and device
CN106647659A (en) Intelligent terminal based method and system for controlling household appliances remotely
CN101662315A (en) Communication apparatus, communication system, communication method and program
CN102883227B (en) Character inputting method, devices and system
CN108430091B (en) Efficient wifi network distribution method and device for smart home
CN112637931A (en) Method and device for establishing network connection
CN101018406A (en) Method of resetting radio link control entity in a mobile communications system and related apparatus
CN102611759A (en) Internet of things (IOT) household appliance management system and IOT household appliance management method
CN111542042B (en) Automatic security authentication network access method for short-distance Internet of things
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN106793003B (en) A kind of interactive configuration method of network entry of smart machine
CN106707978A (en) Method of transferring intelligent household control right through address book and the address book
CN104917595B (en) Key switching method and system during a kind of coded communication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140409