CN106642568B - A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning - Google Patents

A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning Download PDF

Info

Publication number
CN106642568B
CN106642568B CN201611159460.4A CN201611159460A CN106642568B CN 106642568 B CN106642568 B CN 106642568B CN 201611159460 A CN201611159460 A CN 201611159460A CN 106642568 B CN106642568 B CN 106642568B
Authority
CN
China
Prior art keywords
width
baud rate
pulse signal
signal
queue
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.)
Active
Application number
CN201611159460.4A
Other languages
Chinese (zh)
Other versions
CN106642568A (en
Inventor
杨强
华洪香
陈道远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201611159460.4A priority Critical patent/CN106642568B/en
Publication of CN106642568A publication Critical patent/CN106642568A/en
Application granted granted Critical
Publication of CN106642568B publication Critical patent/CN106642568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the invention discloses a kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditionings.This method comprises: acquiring multiple pulse signals, the width of the pulse signal is measured;The pulse signal is handled according to the width, obtains minimum widith, and obtains the baud rate of the pulse signal according to the minimum widith;The baud rate of itself is adjusted according to the baud rate of the pulse signal.This method to the pulse signal that sender unit is sent by handling to obtain minimum widith, and itself baud rate is adjusted according to the baud rate of the pulse signal obtained by minimum widith, Internet of Things electric appliance is realized to the adaptive of different baud rate pulse signals, and then realize receiving without loss to transmission data, enable Internet of Things electric appliance correctly to respond user's operation, improves the reliability of Internet of Things electrical work.

Description

A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning
Technical field
The present embodiments relate to field of home appliance technology more particularly to a kind of Internet of Things electric appliance baud rate adjusting sides Method, device and air-conditioning.
Background technique
With the development of communication technology, the mobile terminals smart machine such as air-conditioning and mobile phone is carried out using wireless communication technique Internet of Things is set up in interconnection, and then is realized using mobile terminal and had become trend to the long-range control of Internet of Things electric appliance such as air-conditioning. Under normal conditions, mobile terminal is connected by internet with the control centre in family, between Internet of Things Electrical Appliances & Control center It is in communication with each other by serial mode, and the transmission rate of serial communication recipient is only in the transmission rate one with sender Under the premise of cause, communication receiver can just be properly received the total data of sender of communications transmission.
But for the sender unit of different model, corresponding transmission rate, i.e. baud rate are also not quite similar, Internet of Things Net electric appliance can exist when carrying out data transmission since wireless signal transmitting device and Internet of Things electric appliance baud rate mismatch cause Data can not be received, the risk of loss of data is generated, and then causes Internet of Things electric appliance that can not correctly respond user and passes through movement The operation that terminal carries out, influences the experience that user remotely controls Internet of Things electric appliance.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning, with Realize Internet of Things electric appliance to the purpose of different baud rate pulse signals adaptively adjusted.
In a first aspect, the embodiment of the invention provides a kind of Internet of Things electric appliance baud rate adjusting methods, comprising:
Multiple pulse signals are acquired, the width of the pulse signal is measured;
The pulse signal is handled according to the width, obtains minimum widith, and obtain according to the minimum widith Obtain the baud rate of the pulse signal;
The baud rate of itself is adjusted according to the baud rate of the pulse signal.
Further, described that the pulse signal is handled according to the width, obtain minimum widith, comprising:
Ascending order arrangement is carried out according to the width to the unequal pulse signal of all width;
The width of successive pulse signals is subtracted each other one by one, will subtract each other afterwards and subtract each other preceding all unequal pulse signals of width Ascending order arrangement is re-started according to the width, generates reference burst signal queue;
Reference burst signal queue circulation progress width is subtracted each other one by one and arranges operation with according to width ascending order, up to Pulse signal in previous the first reference burst signal queue generated and latter the second reference burst signal queue generated Item number is identical;
Using the width of the first term pulse signal of the second reference burst signal queue as minimum widith.
Further, described that the pulse signal is handled according to the width, obtain minimum widith, further includes:
Judge whether the width of all pulse signals in the second reference burst signal queue is relatively prime;
Correspondingly, described using the width of the first term pulse signal of the second reference burst signal queue as minimum wide Degree, comprising:
If the width of the pulse signal in the second reference burst signal queue is relatively prime, described second is referred to The width of first term pulse signal after queue is as minimum widith.
Further, the method also includes:
If the width of the pulse signal in the second reference burst signal queue is non-relatively prime, resurvey multiple Pulse signal measures the width of the pulse signal, is handled according to the width the pulse signal, until described the The width of the pulse signal in two reference burst signal queues is relatively prime.
Further, before the baud rate according to the pulse signal adjusts itself baud rate, further includes:
Confirmation request signal is sent according to the baud rate of the acquisition, and receives baud rate confirmation answer signal.
Further, the baud rate confirmation request signal includes address query request and baud rate confirmation request.
Second aspect, the embodiment of the invention also provides a kind of Internet of Things electric appliance baud rate regulating devices, comprising:
Width measurement module measures the width of the pulse signal for acquiring multiple pulse signals;
Baud rate obtains module, for handling according to the width the pulse signal, obtains minimum widith, and The baud rate of the pulse signal is obtained according to the minimum widith;
Baud rate adjustment module, for adjusting itself baud rate according to the baud rate of the pulse signal.
Further, the baud rate obtains module and is specifically used for:
Ascending order arrangement is carried out according to the width to the unequal pulse signal of all width;
The width of successive pulse signals is subtracted each other one by one, will subtract each other afterwards and subtract each other preceding all unequal pulse signals of width Ascending order arrangement is re-started according to the width, generates reference burst signal queue;
Reference burst signal queue circulation progress width is subtracted each other one by one and arranges operation with according to width ascending order, up to Pulse signal in previous the first reference burst signal queue generated and latter the second reference burst signal queue generated Item number is identical;
Using the width of the first term pulse signal of the second reference burst signal queue as minimum widith.
Further, the baud rate obtain module also particularly useful for:
Judge whether the width of all pulse signals in the second reference burst signal queue is relatively prime;
Correspondingly, described using the width of the first term pulse signal of the second reference burst signal queue as minimum wide Degree, comprising:
If the width of the pulse signal in the second reference burst signal queue is relatively prime, described second is referred to The width of first term pulse signal after queue is as minimum widith.
Further, the baud rate obtain module also particularly useful for:
If the width of the pulse signal in the second reference burst signal queue is non-relatively prime, resurvey multiple Pulse signal measures the width of the pulse signal, is handled according to the width the pulse signal, until described the The width of the pulse signal in two reference burst signal queues is relatively prime.
Further, described device further include:
Baud rate confirmation module sends confirmation request signal, and received wave specifically for the baud rate according to the acquisition Special rate confirms answer signal.
Further, the baud rate confirmation request signal includes address query request and baud rate confirmation request.
The third aspect, the embodiment of the invention also provides a kind of air-conditionings, including Internet of Things electric appliance provided by the above embodiment Baud rate regulating device.
The embodiment of the invention provides a kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditionings, by signal The pulse signal that sending device is sent handles to obtain minimum widith, and according to the baud of the pulse signal obtained by minimum widith Rate adjusts the baud rate of itself.Solving can not connect caused by being mismatched as sender unit with Internet of Things electric appliance baud rate Data are received, so that loss of transmitted data, the problem of Internet of Things electric appliance can not correctly respond user's operation, realize Internet of Things electricity Device is adaptive to different baud rate pulse signals, may be implemented to transmission data without reception is lost, so that Internet of Things electric appliance User's operation can be correctly responded, the reliability of Internet of Things electrical work is improved.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for Internet of Things electric appliance baud rate adjusting method that the embodiment of the present invention one provides.
Fig. 2 is a kind of flow diagram of Internet of Things electric appliance baud rate adjusting method provided by Embodiment 2 of the present invention.
A kind of structural schematic diagram for Internet of Things electric appliance baud rate regulating device that Fig. 3 embodiment of the present invention three provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow diagram for Internet of Things electric appliance baud rate adjusting method that the embodiment of the present invention one provides, this The technical solution of embodiment can be applied in the scene for needing that Internet of Things electric appliance baud rate is adjusted, can be by of the invention real The Internet of Things electric appliance baud rate regulating device for applying example offer executes, the system can by the way of software and/or hardware come It realizes, which can integrate in the Internet of Things electric appliance for having baud rate regulatory function, such as air-conditioning.This method comprises:
S110 acquires multiple pulse signals, measures the width of pulse signal.
Internet of Things electric appliance acquires multiple pulse signals that sender unit is sent, and measures the width in pulse signal, The width of pulse signal refers to high level pulse duration in pulse signal, i.e., rising edge and next phase in pulse signal The distance between adjacent failing edge.Common baud rate includes 4800 bauds, 9600 bauds and 19200 bauds, can be seen by above-mentioned Out based on 4800 bauds, other baud rates are all the multiples of 4800 bauds., therefore baud rate is 4800 by the embodiment of the present invention Base of the width of the pulse signal of baud as width 1, that is, the width for the pulse signal being subsequently noted are 4800 waves The integral multiple of the width of special pulse signal.In addition, illustrative, sender unit can be router or interchanger, usually For wireless router, sender unit can send the letter of impulse form to the electric appliance such as Internet of Things electric appliance of peripheral region Number.It should be noted that when acquiring multiple pulse signals difference can also be acquired with the multiple pulse signals of continuous acquisition Multiple continuous impulse signals in timing node, the embodiment of the present invention are not construed as limiting this.
S120 is handled pulse signal according to width, obtains minimum widith, and obtain pulse letter according to minimum widith Number baud rate.
Pulse signal is handled according to width to obtain minimum widith, in minimum widith, that is, collected pulse signal It transmits the time required for a data, and the baud rate of pulse signal represents the transmission rate of data, i.e., passes in the unit time The data bits sent.
Optionally, carrying out processing according to multiple pulse signals of the width to acquisition may include following processing operation:
Firstly, carrying out ascending order arrangement according to width to the unequal pulse signal of all width, i.e., by all width not phase Deng pulse signal arranged according to the sequence of width from small to large.Illustratively, the width example of collected pulse signal It such as can be { 3,2,2,5,3,5,8,5 }, the arteries and veins that ascending order arranges carried out to the unequal pulse signal of width { 3,2,5,8 } Rushing signal is { 2,3,5,8 }.
Then, the width of successive pulse signals is subtracted each other one by one, will subtracts each other afterwards and subtract each other preceding all unequal arteries and veins of width It rushes signal and ascending order arrangement is re-started according to width, generate reference burst signal queue.Illustratively, there are n width before subtracting each other Unequal pulse signal, the successive pulse signals being sequentially arranged successively from small to large according to width carry out width and subtract each other one by one, That is the width of current PRF signal subtracts the width of previous item pulse signal, then obtains n-1 pulse signals after subtracting each other, will subtract each other Rear n-1 item pulse signal with subtract each other before n item pulse signal in the unequal total m pulse signal of width according to width again Ascending order arrangement is carried out, a reference burst signal queue is generated.Illustratively, obtained with previous step pulse signal 2,3,5, 8 } for, the width of successive pulse signals is subtracted each other one by one, will subtracts each other afterwards and subtract each other preceding all unequal pulse signals of width Re-starting the pulse signal that ascending order arranges according to width is { 1,2,3,5,8 }.
Subtract each other one by one secondly, being recycled to reference burst signal queue and carrying out width and operation is arranged according to width ascending order, directly Pulse is believed in the first reference burst signal queue and latter the second reference burst signal queue generated generated to previous time Number item number is identical.Illustratively, width is carried out one by one to the m item pulse signal in the reference pulse queue formed in previous step Subtract each other, and before subtracting each other with subtract each other after pulse signal in the unequal pulse signals of all width carry out ascending order arrangements, and it is raw The reference burst signal queue of Cheng Xin, recycles according to this, until to the unequal pulse signal of all width according to width after pth time circulation Degree ascending order arrange the first reference burst signal queue to be formed with pth+1 time circulation to the unequal pulse signal of all width according to It is identical that width ascending order arranges pulse signal terms number in the second reference burst signal queue to be formed, illustratively, when the first reference When having the unequal pulse signal of q width in pulse signal queue and the second reference burst signal queue, then stop width The circulate operation subtracted each other one by one and arranged according to width ascending order.Illustratively, obtained with previous step pulse signal 1,2,3, 5, for 8 }, the width of successive pulse signals is subtracted each other one by one, will subtracts each other afterwards and subtract each other preceding all unequal pulses of width and believes Number re-starting the pulse signal that ascending order arranges according to width remains as { 1,2,3,5,8 }, at this point, previous first ginseng Pulse in pulse signal queue { 1,2,3,5,8 } and rear primary the second reference burst signal queue { 1,2,3,5,8 } is examined to believe Number item number is identical, is 5, then stops the circulate operation that width subtracts each other one by one with arranges according to width ascending order.
Finally, using the width of the first term pulse signal of the second reference burst signal queue as minimum widith.Illustratively, Resulting the second reference burst signal queue for having the q unequal pulse signals of width of above-mentioned steps is by q width not phase Deng pulse signal carry out ascending order and arrange, therefore the width of the first term pulse signal in the second reference burst signal queue Minimum passes through the above-mentioned processing to pulse signal according to width in this way, has obtained minimum widith as minimum widith.Show Example property, by taking the second reference burst signal queue { 1,2,3,5,8 } that previous step obtains as an example, by the second reference burst signal The width 1 of first term pulse signal in queue is used as minimum widith.
Due to the unequal arteries and veins of q item width in the second obtained reference burst signal queue after p+1 circulation The case where rushing signal there may be such as { 2,4,6,8,10 }, if in this way using the first term of the second reference burst signal queue as most Small width can not then obtain the baud rate of pulse signal according to first term, therefore, it is necessary to according to width to pulse signal at Reason, obtains minimum widith, illustratively, can be according to the width for judging all pulse signals in the second reference burst signal queue Whether whether relatively prime determining minimum widith is correct.Correspondingly, if the width of the pulse signal in the second reference burst signal queue Relatively prime, then the width of the first term pulse signal after the second reference queue is as minimum widith.
It illustratively, include the width of q ascending orders arrangement in the second reference burst signal queue obtained after recycling p+1 times Unequal pulse signal, but can not directly make the width of the first term pulse signal in the second reference burst signal queue For minimum widith, because the width of the q item pulse signal in the second reference burst signal queue is possible to not relatively prime, i.e. q The greatest common divisor of the width of pulse signal is not 1, if the case where the greatest common divisor of the width of q pulse signals is not 1 It is lower using the width of the first term pulse signal in the second reference burst signal queue as minimum widith, it is understood that there may be in minimum widith The data for including not only one, the baud rate of acquisition pulse signal can not be obtained according to minimum widith in this way.Therefore, only second When the width of all pulse signals is relatively prime in reference burst signal queue, second could be believed with reference to the first term pulse after queue Number width as minimum widith.
If the width of the pulse signal in the second reference burst signal queue is non-relatively prime, multiple pulse letters are resurveyed Number, the width of pulse signal is measured, is handled according to pulse signal, until the pulse in the second reference burst signal queue The width of signal is relatively prime.Specifically, if the width of the pulse signal in the second reference burst signal queue is non-relatively prime, i.e. most grand duke Approximate number is not 1, then resurveys multiple pulse signals of sender unit transmission, the width of pulse signal is measured, according to width Degree handles pulse signal, until the width of the pulse signal in the second reference burst signal queue is relatively prime, then assert this A data is transmitted in the width of the first term pulse signal of second reference burst signal queue of Shi Zuowei minimum widith, by The width of the first term pulse signal of two reference burst signal queues is as minimum widith.In this way according to the second reference burst signal team Whether the width of all pulse signals is relatively prime in column determines whether to make second with reference to the width of first term pulse signal in queue For minimum widith, the interference as caused by the special burst signal generated in some cases is avoided, Internet of Things electric appliance is improved Baud rate regulating device is handled to obtain the accuracy of minimum widith pulse signal according to width, and then is improved according to minimum Width obtains the accuracy of pulse signal baud rate and instrumentality networked appliance baud rate.
The baud rate of minimum widith and pulse signal is in reciprocal relation, obtains minimum widith, can be obtained according to reciprocal relation Obtain the baud rate that sender unit sends pulse signal.
It should be noted that may during sender unit sends pulse signal being obtained according to reciprocal relation The measurement for occurring to the width of pulse signal the case where there are errors, lead to the arteries and veins obtained according to minimum widith according to reciprocal relation Rushing the baud rate of signal, there is a certain error, can be by the baud rate of the pulse signal of acquisition and 4800 bauds, 9600 bauds It makes comparisons with 19200 bauds, and the baud rate for obtaining pulse signal is adjusted to eliminate error according to comparison result.
S130 adjusts the baud rate of itself according to the baud rate of pulse signal.
Specifically, the inverted sender unit that obtains of minimum widith that above-mentioned steps obtain is sent pulse signal Baud rate matches the two baud rate according to the baud rate that the baud rate of pulse signal adjusts itself.When sender unit is sent out When the baud rate of the pulse signal sent changes, the baud rate of pulse signal can be obtained according to minimum widith, and according to arteries and veins The baud rate for rushing the baud rate instrumentality networked appliance of signal completes oneself of pulse signal that Internet of Things electric appliance change baud rate It adapts to.
The embodiment of the present invention obtains minimum widith by handling the pulse signal that sender unit is sent, and according to logical Cross the baud rate of the baud rate instrumentality networked appliance for the pulse signal that minimum widith obtains.It solves due to sender unit It is mismatched with Internet of Things electric appliance baud rate, leads to loss of transmitted data, Internet of Things electric appliance can not correctly respond asking for user's operation Topic, realizes adaptive adjustment of the Internet of Things electric appliance to different baud rate pulse signals, may be implemented to lose the nothing of transmission data It loses and receives, enable Internet of Things electric appliance correctly to respond user's operation, improve the reliability of Internet of Things electrical work.
Embodiment two
Fig. 2 is a kind of flow diagram of Internet of Things electric appliance baud rate adjusting method provided by Embodiment 2 of the present invention, should Method is increased based on previous embodiment and is sent confirmation request signal according to the baud rate of acquisition, and it is true to receive baud rate The step for recognizing answer signal.
Correspondingly, the method for the embodiment of the present invention includes:
S210 acquires multiple pulse signals, measures the width of pulse signal.
S220 is handled pulse signal according to width, obtains minimum widith, and obtain pulse letter according to minimum widith Number baud rate.
S230 sends confirmation request signal according to the baud rate of acquisition, and receives baud rate confirmation answer signal.
Optionally, baud rate confirmation request signal includes address query request and baud rate confirmation request, Internet of Things electric appliance Send confirmation request signal to sender unit, determine the baud rate that currently obtains whether with transmitted by sender unit Baud rate is consistent, and the IP address of sender unit is determined according to address inquiry request, and sender unit feeds back baud Rate confirms that answer signal, Internet of Things electric appliance receive baud rate and confirm answer signal.
S240 adjusts the baud rate of itself according to the baud rate of pulse signal.
The embodiment of the present invention by before the baud rate of the baud rate instrumentality networked appliance according to pulse signal, according to Baud rate sends confirmation request signal, and receives baud rate confirmation answer signal, and confirmation handles pulse signal according to width and obtains Baud rate matched with the baud rate of sender unit, according still further to the baud rate of the baud rate instrumentality networked appliance of acquisition, The Internet of Things electric appliance accuracy adaptive to different baud rate pulse signals is improved, Internet of Things electrical work is further improved Reliability.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for Internet of Things electric appliance baud rate regulating device that the embodiment of the present invention three provides, should System includes:
Width measurement module 310 measures the width of pulse signal for acquiring multiple pulse signals;
Baud rate obtains module 320, for handling according to width pulse signal, obtains minimum widith, and according to The baud rate of minimum widith acquisition pulse signal;
Baud rate adjustment module 330 adjusts the baud rate of itself for the baud rate according to pulse signal.
Optionally, baud rate obtains module 320 and specifically can be used for the unequal pulse signal of all width according to width Degree carries out ascending order arrangement;The width of successive pulse signals is subtracted each other one by one, after subtracting each other with to subtract each other preceding all width unequal Pulse signal re-starts ascending order arrangement according to width, generates reference burst signal queue;Reference burst signal queue is recycled Carry out width and subtract each other one by one to operate with being arranged according to width ascending order, until previous time the first reference burst signal queue generated with Pulse signal terms number is identical in latter the second reference burst signal queue generated;By the head of the second reference burst signal queue The width of item pulse signal is as minimum widith.
Optionally, baud rate, which obtains module 320, specifically can be also used for judging own in the second reference burst signal queue Whether the width of pulse signal is relatively prime.Correspondingly, using the width of the first term pulse signal of the second reference burst signal queue as Minimum widith, if the width including the pulse signal in the second reference burst signal queue is relatively prime, by second with reference to after queue First term pulse signal width as minimum widith.
Optionally, if baud rate obtains the specific pulse that can be also used in the second reference burst signal queue of module 320 The width of signal is non-relatively prime, then resurveys multiple pulse signals, the width of pulse signal is measured, according to width to pulse signal It is handled, until the width of the pulse signal in the second reference burst signal queue is relatively prime.
Optionally, on the basis of above-mentioned apparatus, further include baud rate confirmation module, specifically can be used for according to acquisition Baud rate sends confirmation request signal, and receives baud rate confirmation answer signal.
Optionally, baud rate confirmation request signal includes address query request and baud rate confirmation request.
The embodiment of the present invention obtains minimum widith by handling the pulse signal that sender unit is sent, and according to logical Cross the baud rate of the baud rate instrumentality networked appliance for the pulse signal that minimum widith obtains.It solves due to sender unit Loss of transmitted data caused by mismatching with Internet of Things electric appliance baud rate, Internet of Things electric appliance can not correctly respond asking for user's operation Topic realizes Internet of Things electric appliance to the adaptive of different baud rate pulse signals, realizes to transmission data without reception is lost, makes User's operation can correctly be responded by obtaining Internet of Things electric appliance, improve the reliability of Internet of Things electrical work.
The embodiment of the invention also provides a kind of air-conditionings, may include Internet of Things electric appliance baud rate provided by the above embodiment Internet of Things electric appliance baud rate adjusting method provided by above-mentioned any embodiment can also can be performed in regulating device.Illustratively, Air-conditioning can acquire multiple pulse signals of sender unit transmission, the width of pulse signal be measured, according to the processing of width Pulse signal obtains minimum widith and then obtains the baud rate of pulse signal, and the baud of air-conditioning is adjusted according still further to the baud rate of acquisition Rate is that the baud rate of itself baud rate and sender unit matches, realizes air-conditioning to different baud rate pulse signals Adaptively, it realizes to transmission data without reception is lost, enables air-conditioning correctly to respond user's operation, improve air-conditioning man The reliability of work.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The present invention is not limited to specific embodiments here, be able to carry out for a person skilled in the art it is various it is apparent variation, again Adjustment and substitution are without departing from protection scope of the present invention.Therefore, although by above embodiments to the present invention carried out compared with For detailed description, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, can be with Including more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (9)

1. a kind of Internet of Things electric appliance baud rate adjusting method characterized by comprising
Multiple pulse signals are acquired, the width of the pulse signal is measured;
The pulse signal is handled according to the width, obtains minimum widith, and institute is obtained according to the minimum widith State the baud rate of pulse signal;
By the baud rate of the pulse signal of acquisition make comparisons with 4800 bauds, 9600 bauds and 19200 bauds and according to than The baud rate for the pulse signal that the adjustment of relatively result obtains;
Confirmation request signal is sent according to the baud rate of the acquisition, and receives baud rate confirmation answer signal;The baud rate Confirmation request signal includes address query request and baud rate confirmation request;
The baud rate of itself is adjusted according to the baud rate of the pulse signal.
2. the method according to claim 1, wherein the basis state width to the pulse signal at Reason, obtains minimum widith, comprising:
Ascending order arrangement is carried out according to the width to the unequal pulse signal of all width;
The width of successive pulse signals is subtracted each other one by one, will subtract each other after with subtract each other before all unequal pulse signals of width according to The width re-starts ascending order arrangement, generates reference burst signal queue;
Reference burst signal queue circulation progress width is subtracted each other one by one and arranges operation with according to width ascending order, up to previous Pulse signal terms number in first reference burst signal queue of secondary generation and latter the second reference burst signal queue generated It is identical;
Using the width of the first term pulse signal of the second reference burst signal queue as minimum widith.
3. according to the method described in claim 2, it is characterized in that, it is described according to the width to the pulse signal at Reason, obtains minimum widith, further includes:
Judge whether the width of all pulse signals in the second reference burst signal queue is relatively prime;
Correspondingly, described using the width of the first term pulse signal of the second reference burst signal queue as minimum widith, packet It includes:
If the width of the pulse signal in the second reference burst signal queue is relatively prime, queue is referred to by described second The width of first term pulse signal afterwards is as minimum widith.
4. according to the method described in claim 3, it is characterized by further comprising:
If the width of the pulse signal in the second reference burst signal queue is non-relatively prime, multiple pulses are resurveyed Signal measures the width of the pulse signal, is handled according to the width the pulse signal, until second ginseng The width for examining the pulse signal in pulse signal queue is relatively prime.
5. a kind of Internet of Things electric appliance baud rate regulating device characterized by comprising
Width measurement module measures the width of the pulse signal for acquiring multiple pulse signals;
Baud rate obtains module, for handling according to the width the pulse signal, obtains minimum widith, and according to The minimum widith obtains the baud rate of the pulse signal;The baud rate obtains the pulse that module is also used to obtain The baud rate of signal makes comparisons with 4800 bauds, 9600 bauds and 19200 bauds and according to comparison result adjustment acquisition The baud rate of pulse signal;
Baud rate confirmation module sends confirmation request signal for the baud rate according to the acquisition, and receives baud rate confirmation Answer signal;The baud rate confirmation request signal includes address query request and baud rate confirmation request;
Baud rate adjustment module, for adjusting itself baud rate according to the baud rate of the pulse signal.
6. device according to claim 5, which is characterized in that the baud rate obtains module and is specifically used for:
Ascending order arrangement is carried out according to the width to the unequal pulse signal of all width;
The width of successive pulse signals is subtracted each other one by one, will subtract each other after with subtract each other before all unequal pulse signals of width according to The width re-starts ascending order arrangement, generates reference burst signal queue;
Reference burst signal queue circulation progress width is subtracted each other one by one and arranges operation with according to width ascending order, up to previous Pulse signal terms number in first reference burst signal queue of secondary generation and latter the second reference burst signal queue generated It is identical;
Using the width of the first term pulse signal of the second reference burst signal queue as minimum widith.
7. device according to claim 6, which is characterized in that the baud rate obtain module also particularly useful for:
Judge whether the width of all pulse signals in the second reference burst signal queue is relatively prime;
Correspondingly, described using the width of the first term pulse signal of the second reference burst signal queue as minimum widith, packet It includes:
If the width of the pulse signal in the second reference burst signal queue is relatively prime, queue is referred to by described second The width of first term pulse signal afterwards is as minimum widith.
8. device according to claim 7, which is characterized in that the baud rate obtain module also particularly useful for:
If the width of the pulse signal in the second reference burst signal queue is non-relatively prime, multiple pulses are resurveyed Signal measures the width of the pulse signal, is handled according to the width the pulse signal, until second ginseng The width for examining the pulse signal in pulse signal queue is relatively prime.
9. a kind of air-conditioning characterized by comprising any Internet of Things electric appliance baud rate regulating device of claim 5-8.
CN201611159460.4A 2016-12-15 2016-12-15 A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning Active CN106642568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611159460.4A CN106642568B (en) 2016-12-15 2016-12-15 A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611159460.4A CN106642568B (en) 2016-12-15 2016-12-15 A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning

Publications (2)

Publication Number Publication Date
CN106642568A CN106642568A (en) 2017-05-10
CN106642568B true CN106642568B (en) 2019-01-18

Family

ID=58823582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611159460.4A Active CN106642568B (en) 2016-12-15 2016-12-15 A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning

Country Status (1)

Country Link
CN (1) CN106642568B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108826588B (en) * 2018-05-11 2020-08-18 珠海格力电器股份有限公司 Air conditioning unit communication method and device
CN111314018B (en) * 2019-11-01 2021-07-13 珠海格力电器股份有限公司 Baud rate self-adaptive adjustment processing system and method and information data processing terminal
CN111412580A (en) * 2020-03-30 2020-07-14 美的集团股份有限公司 Baud rate calibration method, air conditioner and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57143957A (en) * 1981-02-28 1982-09-06 Omron Tateisi Electronics Co Serial data transmission system
JPS59186443A (en) * 1983-04-08 1984-10-23 Hitachi Ltd Data transmitter
JPH06261072A (en) * 1993-03-03 1994-09-16 Nippon Telegr & Teleph Corp <Ntt> Optical packet selector and optical packet switch
WO1999046868A1 (en) * 1998-03-11 1999-09-16 Ampcontrol Pty. Ltd. Two wire communication system
CN1961507A (en) * 2004-05-28 2007-05-09 皇家飞利浦电子股份有限公司 UART-encoded pulse-modulation technique
CN201837019U (en) * 2010-10-09 2011-05-18 无锡市同舟电子实业有限公司 Integrated controller of ceiling-mounted air-conditioner
CN102201960A (en) * 2011-04-28 2011-09-28 华南理工大学 Baud rate adaptive method based on sequencing pulse width differential
CN203720609U (en) * 2013-11-20 2014-07-16 侯军 Electrical safety monitoring system for medical equipment based on Internet of Things
CN105955914A (en) * 2016-06-02 2016-09-21 江西洪都航空工业集团有限责任公司 Pulse signal simulation method realized by adopting RS422 serial port

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57143957A (en) * 1981-02-28 1982-09-06 Omron Tateisi Electronics Co Serial data transmission system
JPS59186443A (en) * 1983-04-08 1984-10-23 Hitachi Ltd Data transmitter
JPH06261072A (en) * 1993-03-03 1994-09-16 Nippon Telegr & Teleph Corp <Ntt> Optical packet selector and optical packet switch
WO1999046868A1 (en) * 1998-03-11 1999-09-16 Ampcontrol Pty. Ltd. Two wire communication system
CN1961507A (en) * 2004-05-28 2007-05-09 皇家飞利浦电子股份有限公司 UART-encoded pulse-modulation technique
CN201837019U (en) * 2010-10-09 2011-05-18 无锡市同舟电子实业有限公司 Integrated controller of ceiling-mounted air-conditioner
CN102201960A (en) * 2011-04-28 2011-09-28 华南理工大学 Baud rate adaptive method based on sequencing pulse width differential
CN203720609U (en) * 2013-11-20 2014-07-16 侯军 Electrical safety monitoring system for medical equipment based on Internet of Things
CN105955914A (en) * 2016-06-02 2016-09-21 江西洪都航空工业集团有限责任公司 Pulse signal simulation method realized by adopting RS422 serial port

Also Published As

Publication number Publication date
CN106642568A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106642568B (en) A kind of Internet of Things electric appliance baud rate adjusting method, device and air-conditioning
CN105450403B (en) Identity identifying method, device and server
CN110235507A (en) Reference signal scrambling for random access
CN114363916B (en) Method, device and system for beam failure detection
CN109429235B (en) Beam scanning method, network side equipment and mobile communication terminal
CN106209151A (en) Full duplex self-interference eliminates wireless signal receive-transmit system and wireless signal receiving/transmission method
CN105991600A (en) Identity authentication and apparatus, server and terminal
CN109427121A (en) Unlocking method, apparatus and system
JPWO2020222281A5 (en) Terminal, system, and communication method
US20210336821A1 (en) Chaotic shape-forming and matched filter-based wireless communication method
CN104796881A (en) Method and equipment for transmitting D2D data
CN103167599B (en) A kind of method and apparatus of synchronizing information
CN104981025A (en) Terminal pairing method, terminal pairing device, server and terminal
CN106162904B (en) Information processing method, user equipment and base station
CN111372238A (en) Login method, login device, electronic equipment and computer-readable storage medium
Kebkal et al. Experimental estimation of delivery success of navigation data packages transmitted via digital hydroacoustic communication channel
JP7273243B2 (en) Method for authenticating access network devices and related devices
CN105100698A (en) Method and device for video monitoring of kindergarten
KR20150082290A (en) Device and method for improving the reception quality of messages in a can bus system
CN105376800B (en) A kind of group-net communication method, system and the common control equipment of micro-base station
CN104871628B (en) The confirmation device of transmitting uplink data, device and method
TW202002573A (en) Server data sending method and apparatus
US20170063517A1 (en) Full-duplex radio receiver network device and full-duplex radio data transmission method thereof
CN114828004B (en) Method and device for automatically acquiring IP of wireless network equipment by applet
CN106452685A (en) Uplink HARQ (Hybrid Automatic Repeat Request) feedback method and device for TDD (Time Division Duplexing) system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant