CN106642568A - Internet-of-things electric appliance baud rate adjusting method and device and air conditioner - Google Patents
Internet-of-things electric appliance baud rate adjusting method and device and air conditioner Download PDFInfo
- Publication number
- CN106642568A CN106642568A CN201611159460.4A CN201611159460A CN106642568A CN 106642568 A CN106642568 A CN 106642568A CN 201611159460 A CN201611159460 A CN 201611159460A CN 106642568 A CN106642568 A CN 106642568A
- Authority
- CN
- China
- Prior art keywords
- pulse signal
- baud rate
- width
- widths
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000012545 processing Methods 0.000 claims abstract description 15
- 238000012790 confirmation Methods 0.000 claims description 33
- 230000001174 ascending effect Effects 0.000 claims description 31
- 238000005259 measurement Methods 0.000 claims description 4
- 230000006978 adaptation Effects 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote 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 method, a device and an air conditioner for adjusting the baud rate of an Internet of Things appliance. The method includes: collecting a plurality of pulse signals, measuring the width of the pulse signal; processing the pulse signal according to the width to obtain a minimum width, and obtaining the baud rate of the pulse signal according to the minimum width; Adjust the baud rate of itself according to the baud rate of the pulse signal. This method obtains the minimum width by processing the pulse signal sent by the signal sending device, and adjusts its own baud rate according to the baud rate of the pulse signal obtained through the minimum width, so as to realize the automatic control of pulse signals with different baud rates by the Internet of Things appliances. Adaptation, and then realize the loss-free reception of the transmitted data, so that the Internet of Things appliances can correctly respond to user operations, and improve the reliability of the Internet of Things appliances.
Description
技术领域technical field
本发明实施例涉及家用电器技术领域,尤其涉及一种物联网电器波特率调节方法、装置及空调。Embodiments of the present invention relate to the technical field of household electrical appliances, and in particular, to a method and device for adjusting the baud rate of an Internet of Things electrical appliance, and an air conditioner.
背景技术Background technique
随着通信技术的发展,利用无线通信技术将空调与手机等移动终端智能设备进行互联组建物联网,进而利用移动终端实现对物联网电器例如空调的远程控制已成为趋势。通常情况下,移动终端通过互联网与家中的控制中心相连接,物联网电器与控制中心之间通过串行方式进行相互通信,而串行通信接收方的发送速率只有在与发送方的发送速率一致的前提下,通信接收方才能正确接收通信发送方发送的全部数据。With the development of communication technology, it has become a trend to use wireless communication technology to interconnect air conditioners with mobile terminal smart devices such as mobile phones to form the Internet of Things, and then use mobile terminals to realize remote control of Internet of Things appliances such as air conditioners. Usually, the mobile terminal is connected to the control center at home through the Internet, and the IoT appliances and the control center communicate with each other through serial communication, and the sending rate of the serial communication receiver is only consistent with the sending rate of the sender. Only under the premise that the communication receiver can correctly receive all the data sent by the communication sender.
但对于不同型号的信号发射装置,其对应的发送速率,即波特率也不尽相同,物联网电器在进行数据传送时,会存在由于无线信号发射装置与物联网电器波特率不匹配导致无法接收到数据,产生数据丢失的风险,进而导致物联网电器无法正确响应用户通过移动终端进行的操作,影响用户对物联网电器进行远程控制的体验。However, for different types of signal transmitters, the corresponding transmission rate, that is, the baud rate is also different. When the IoT appliance transmits data, there will be problems caused by the mismatch between the wireless signal transmitter and the IoT appliance. Unable to receive the data, resulting in the risk of data loss, which will cause the IoT appliances to fail to correctly respond to the user's operations through the mobile terminal, affecting the user's experience of remote control of the IoT appliances.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种物联网电器波特率调节方法、装置及空调,以实现物联网电器对不同波特率脉冲信号的自适应调整的目的。In view of this, embodiments of the present invention provide a method, device, and air conditioner for adjusting the baud rate of an Internet of Things appliance, so as to achieve the purpose of adaptive adjustment of the Internet of Things appliance to pulse signals with different baud rates.
第一方面,本发明实施例提供了一种物联网电器波特率调节方法,包括:In the first aspect, an embodiment of the present invention provides a method for adjusting the baud rate of an Internet of Things appliance, including:
采集多个脉冲信号,测量所述脉冲信号的宽度;collecting a plurality of pulse signals, and measuring the width of the pulse signals;
根据所述宽度对所述脉冲信号进行处理,得到最小宽度,并根据所述最小宽度获得所述脉冲信号的波特率;Processing the pulse signal according to the width to obtain a minimum width, and obtaining a baud rate of the pulse signal according to the minimum width;
按照所述脉冲信号的波特率调节自身的波特率。Adjust the baud rate of itself according to the baud rate of the pulse signal.
进一步地,所述根据所述宽度对所述脉冲信号进行处理,得到最小宽度,包括:Further, the processing of the pulse signal according to the width to obtain the minimum width includes:
对所有宽度不相等的脉冲信号根据所述宽度进行升序排列;Arranging all pulse signals with unequal widths in ascending order according to the widths;
将相邻脉冲信号的宽度逐一相减,将相减后与相减前所有宽度不相等的脉冲信号根据所述宽度重新进行升序排列,生成参考脉冲信号队列;Subtracting the widths of adjacent pulse signals one by one, re-arranging in ascending order according to the widths of all pulse signals with unequal widths after the subtraction and before the subtraction, to generate a reference pulse signal queue;
对所述参考脉冲信号队列循环进行宽度逐一相减与根据宽度升序排列操作,直至前一次生成的第一参考脉冲信号队列与后一次生成的第二参考脉冲信号队列中脉冲信号项数相同;The width of the reference pulse signal queue is subtracted one by one and arranged in ascending order according to the width, until the number of pulse signal items in the first reference pulse signal queue generated in the previous time is the same as that in the second reference pulse signal queue generated in the next time;
将所述第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度。The width of the pulse signal of the first item in the second reference pulse signal queue is taken as the minimum width.
进一步地,所述根据所述宽度对所述脉冲信号进行处理,得到最小宽度,还包括:Further, the processing the pulse signal according to the width to obtain the minimum width also includes:
判断所述第二参考脉冲信号队列中所有脉冲信号的宽度是否互质;judging whether the widths of all pulse signals in the second reference pulse signal queue are mutually prime;
相应的,所述将所述第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度,包括:Correspondingly, taking the width of the first pulse signal of the second reference pulse signal queue as the minimum width includes:
若所述第二参考脉冲信号队列中的所述脉冲信号的宽度互质,则将所述第二参考队列后的首项脉冲信号的宽度作为最小宽度。If the widths of the pulse signals in the second reference pulse signal queue are relatively prime, the width of the first pulse signal after the second reference pulse signal queue is taken as the minimum width.
进一步地,所述方法还包括:Further, the method also includes:
若所述第二参考脉冲信号队列中的所述脉冲信号的宽度非互质,则重新采集多个脉冲信号,测量所述脉冲信号的宽度,根据所述宽度对所述脉冲信号进行处理,直至所述第二参考脉冲信号队列中的所述脉冲信号的宽度互质。If the widths of the pulse signals in the second reference pulse signal queue are non-coprime, re-acquire a plurality of pulse signals, measure the width of the pulse signals, and process the pulse signals according to the width until Widths of the pulse signals in the second reference pulse signal queue are mutually prime.
进一步地,所述按照所述脉冲信号的波特率调节自身的波特率之前,还包括:Further, before adjusting the baud rate of itself according to the baud rate of the pulse signal, it also includes:
按照所述获得的波特率发送确认询问信号,并接收波特率确认应答信号。Send a confirmation query signal according to the obtained baud rate, and receive a baud rate confirmation response signal.
进一步地,所述波特率确认询问信号包括地址询问请求和波特率确认请求。Further, the baud rate confirmation inquiry signal includes an address inquiry request and a baud rate confirmation request.
第二方面,本发明实施例还提供了一种物联网电器波特率调节装置,包括:In the second aspect, the embodiment of the present invention also provides a device for adjusting the baud rate of an Internet of Things appliance, including:
宽度测量模块,用于采集多个脉冲信号,测量所述脉冲信号的宽度;Width measurement module, for collecting a plurality of pulse signals, measuring the width of the pulse signal;
波特率获取模块,用于根据所述宽度对所述脉冲信号进行处理,得到最小宽度,并根据所述最小宽度获得所述脉冲信号的波特率;A baud rate acquisition module, configured to process the pulse signal according to the width to obtain a minimum width, and obtain the baud rate of the pulse signal according to the minimum width;
波特率调节模块,用于按照所述脉冲信号的波特率调节自身的波特率。The baud rate adjustment module is configured to adjust its own baud rate according to the baud rate of the pulse signal.
进一步地,所述波特率获取模块具体用于:Further, the baud rate acquisition module is specifically used for:
对所有宽度不相等的脉冲信号根据所述宽度进行升序排列;Arranging all pulse signals with unequal widths in ascending order according to the widths;
将相邻脉冲信号的宽度逐一相减,将相减后与相减前所有宽度不相等的脉冲信号根据所述宽度重新进行升序排列,生成参考脉冲信号队列;Subtracting the widths of adjacent pulse signals one by one, re-arranging in ascending order according to the widths of all pulse signals with unequal widths after the subtraction and before the subtraction, to generate a reference pulse signal queue;
对所述参考脉冲信号队列循环进行宽度逐一相减与根据宽度升序排列操作,直至前一次生成的第一参考脉冲信号队列与后一次生成的第二参考脉冲信号队列中脉冲信号项数相同;The width of the reference pulse signal queue is subtracted one by one and arranged in ascending order according to the width, until the number of pulse signal items in the first reference pulse signal queue generated in the previous time is the same as that in the second reference pulse signal queue generated in the next time;
将所述第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度。The width of the pulse signal of the first item in the second reference pulse signal queue is taken as the minimum width.
进一步地,所述波特率获取模块还具体用于:Further, the baud rate acquisition module is also specifically used for:
判断所述第二参考脉冲信号队列中所有脉冲信号的宽度是否互质;judging whether the widths of all pulse signals in the second reference pulse signal queue are mutually prime;
相应的,所述将所述第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度,包括:Correspondingly, taking the width of the first pulse signal of the second reference pulse signal queue as the minimum width includes:
若所述第二参考脉冲信号队列中的所述脉冲信号的宽度互质,则将所述第二参考队列后的首项脉冲信号的宽度作为最小宽度。If the widths of the pulse signals in the second reference pulse signal queue are relatively prime, the width of the first pulse signal after the second reference pulse signal queue is taken as the minimum width.
进一步地,所述波特率获取模块还具体用于:Further, the baud rate acquisition module is also specifically used for:
若所述第二参考脉冲信号队列中的所述脉冲信号的宽度非互质,则重新采集多个脉冲信号,测量所述脉冲信号的宽度,根据所述宽度对所述脉冲信号进行处理,直至所述第二参考脉冲信号队列中的所述脉冲信号的宽度互质。If the widths of the pulse signals in the second reference pulse signal queue are non-coprime, re-acquire a plurality of pulse signals, measure the width of the pulse signals, and process the pulse signals according to the width until Widths of the pulse signals in the second reference pulse signal queue are mutually prime.
进一步地,所述装置还包括:Further, the device also includes:
波特率确认模块,具体用于按照所述获得的波特率发送确认询问信号,并接收波特率确认应答信号。The baud rate confirmation module is specifically configured to send a confirmation inquiry signal according to the obtained baud rate, and receive a baud rate confirmation response signal.
进一步地,所述波特率确认询问信号包括地址询问请求和波特率确认请求。Further, the baud rate confirmation inquiry signal includes an address inquiry request and a baud rate confirmation request.
第三方面,本发明实施例还提供了一种空调,包括上述实施例提供的物联网电器波特率调节装置。In a third aspect, an embodiment of the present invention further provides an air conditioner, including the device for adjusting the baud rate of an Internet of Things appliance provided in the above embodiment.
本发明实施例提供了一种物联网电器波特率调节方法、装置及空调,通过对信号发送装置发送的脉冲信号处理得到最小宽度,并根据通过最小宽度得到的脉冲信号的波特率调节自身的波特率。解决了由于信号发送装置与物联网电器波特率不匹配造成的无法接收到数据,使得传输数据丢失,物联网电器无法正确响应用户操作的问题,实现了物联网电器对不同波特率脉冲信号的自适应,可以实现对传输数据的无丢失接收,使得物联网电器能够正确响应用户操作,提高了物联网电器工作的可靠性。The embodiment of the present invention provides a method, device, and air conditioner for adjusting the baud rate of an Internet of Things electrical appliance. The minimum width is obtained by processing the pulse signal sent by the signal sending device, and the baud rate of the pulse signal obtained through the minimum width is adjusted. baud rate. It solves the problem that the data cannot be received due to the mismatch between the signal sending device and the baud rate of the IoT appliance, resulting in the loss of the transmitted data, and the problem that the IoT appliance cannot respond to the user's operation correctly, and realizes the pulse signal of the IoT appliance for different baud rates. The self-adaption can realize the loss-free reception of the transmitted data, so that the IoT appliances can correctly respond to user operations, and improve the reliability of the IoT appliances.
附图说明Description of drawings
图1是本发明实施例一提供的一种物联网电器波特率调节方法的流程示意图。FIG. 1 is a schematic flowchart of a method for adjusting the baud rate of an Internet of Things appliance provided by Embodiment 1 of the present invention.
图2是本发明实施例二提供的一种物联网电器波特率调节方法的流程示意图。FIG. 2 is a schematic flowchart of a method for adjusting the baud rate of an Internet of Things appliance provided by Embodiment 2 of the present invention.
图3本发明实施例三提供的一种物联网电器波特率调节装置的结构示意图。FIG. 3 is a schematic structural diagram of a device for adjusting the baud rate of an Internet of Things appliance provided by Embodiment 3 of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1是本发明实施例一提供的一种物联网电器波特率调节方法的流程示意图,本实施例的技术方案可以应用在需要对物联网电器波特率进行调节的场景,可以由本发明实施例提供的物联网电器波特率调节装置来执行,该系统可以采用软件和/或硬件的方式来实现,该装置可以集成于具备波特率调节功能的物联网电器中,例如空调。该方法包括:Figure 1 is a schematic flowchart of a method for adjusting the baud rate of an Internet of Things appliance provided by Embodiment 1 of the present invention. The technical solution of this embodiment can be applied to scenarios where the baud rate of an Internet of Things appliance needs to be adjusted, and can be implemented by the present invention The example provides the device for adjusting the baud rate of the Internet of Things appliance. The system can be implemented in the form of software and/or hardware. The device can be integrated into the Internet of Things appliance with the function of adjusting the baud rate, such as an air conditioner. The method includes:
S110,采集多个脉冲信号,测量脉冲信号的宽度。S110, collecting multiple pulse signals, and measuring the width of the pulse signals.
物联网电器采集信号发送装置发送的多个脉冲信号,并测量脉冲信号中的宽度,脉冲信号的宽度是指脉冲信号中高电平脉冲持续的时间,即脉冲信号中上升沿与下一个相邻下降沿之间的距离。常见的波特率包括4800波特、9600波特和19200波特,由上述可以看出4800波特为基础,其他波特率都是4800波特的倍数。,因此本发明实施例将波特率为4800波特的脉冲信号的宽度作为宽度1的基准单位,即后面提到的脉冲信号的宽度均为4800波特脉冲信号的宽度的整数倍。此外,示例性的,信号发送装置可以是路由器或交换机,通常为无线路由器,信号发送装置能够向周围区域的电器例如物联网电器发送脉冲形式的信号。需要说明的是,在采集多个脉冲信号时,可以连续采集多个脉冲信号,也可以采集不同时间节点内的多个连续脉冲信号,本发明实施例对此不作限定。IoT appliances collect multiple pulse signals sent by the signal sending device, and measure the width of the pulse signal. The width of the pulse signal refers to the duration of the high-level pulse in the pulse signal, that is, the rising edge and the next adjacent falling edge of the pulse signal distance between edges. Common baud rates include 4800 baud, 9600 baud, and 19200 baud. From the above, it can be seen that 4800 baud is the basis, and other baud rates are multiples of 4800 baud. Therefore, in the embodiment of the present invention, the width of the pulse signal with a baud rate of 4800 baud is used as the reference unit of width 1, that is, the width of the pulse signal mentioned later is an integer multiple of the width of the pulse signal of 4800 baud. In addition, for example, the signal sending device may be a router or a switch, usually a wireless router, and the signal sending device can send signals in the form of pulses to electrical appliances in the surrounding area, such as electrical appliances of the Internet of Things. It should be noted that when collecting multiple pulse signals, multiple pulse signals may be continuously collected, or multiple continuous pulse signals at different time nodes may be collected, which is not limited in this embodiment of the present invention.
S120,根据宽度对脉冲信号进行处理,得到最小宽度,并根据最小宽度获得脉冲信号的波特率。S120, process the pulse signal according to the width to obtain the minimum width, and obtain the baud rate of the pulse signal according to the minimum width.
根据宽度对脉冲信号进行处理以得到最小宽度,最小宽度即采集到的脉冲信号中传送一位数据所需要的时间,而脉冲信号的波特率代表数据的传输速率,即单位时间内传送的数据位数。Process the pulse signal according to the width to obtain the minimum width, the minimum width is the time required to transmit one bit of data in the collected pulse signal, and the baud rate of the pulse signal represents the data transmission rate, that is, the data transmitted per unit time digits.
可选的,根据宽度对采集的多个的脉冲信号进行处理可以包括以下处理操作:Optionally, processing the multiple pulse signals collected according to the width may include the following processing operations:
首先,对所有宽度不相等的脉冲信号根据宽度进行升序排列,即将所有宽度不相等的脉冲信号根据宽度从小到大的顺序进行排列。示例性的,采集到的脉冲信号的宽度例如可以是{3、2、2、5、3、5、8、5},对宽度不相等的脉冲信号{3、2、5、8}进行升序排列得到的脉冲信号为{2、3、5、8}。First, arrange all pulse signals with unequal widths in ascending order according to their widths, that is, arrange all pulse signals with unequal widths in ascending order of widths. Exemplarily, the width of the collected pulse signal can be {3, 2, 2, 5, 3, 5, 8, 5}, and the pulse signals with unequal width {3, 2, 5, 8} are sorted in ascending order The pulse signals obtained by permutation are {2, 3, 5, 8}.
然后,将相邻脉冲信号的宽度逐一相减,将相减后与相减前所有宽度不相等的脉冲信号根据宽度重新进行升序排列,生成参考脉冲信号队列。示例性的,相减前有n项宽度不相等的脉冲信号,根据宽度从小到大顺序依次排列的相邻脉冲信号进行宽度逐一相减,即当前脉冲信号的宽度减去前一项脉冲信号的宽度,则相减后得到n-1项脉冲信号,将相减后的n-1项脉冲信号与相减前的n项脉冲信号中宽度不相等的共m项脉冲信号根据宽度重新进行升序排列,生成一参考脉冲信号队列。示例性的,以前一步骤得到的脉冲信号{2、3、5、8}为例,将相邻脉冲信号的宽度逐一相减,将相减后与相减前所有宽度不相等的脉冲信号根据宽度重新进行升序排列得到的脉冲信号为{1、2、3、5、8}。Then, the widths of adjacent pulse signals are subtracted one by one, and all pulse signals with unequal widths after the subtraction and before the subtraction are rearranged in ascending order according to the widths to generate a reference pulse signal queue. Exemplarily, there are n pulse signals with unequal widths before the subtraction, and the widths of adjacent pulse signals arranged in ascending order of width are subtracted one by one, that is, the width of the current pulse signal minus the width of the previous pulse signal Width, the n-1 pulse signal is obtained after the subtraction, and the m-item pulse signals with unequal widths in the n-1 pulse signal after the subtraction and the n-item pulse signal before the subtraction are rearranged in ascending order according to the width , generating a queue of reference pulse signals. Exemplarily, taking the pulse signals {2, 3, 5, 8} obtained in the previous step as an example, the widths of adjacent pulse signals are subtracted one by one, and all pulse signals with unequal widths after subtraction and before subtraction are calculated according to The pulse signals obtained by rearranging the widths in ascending order are {1, 2, 3, 5, 8}.
其次,对参考脉冲信号队列循环进行宽度逐一相减与根据宽度升序排列操作,直至前一次生成的第一参考脉冲信号队列与后一次生成的第二参考脉冲信号队列中脉冲信号项数相同。示例性的,对前一步骤中形成的参考脉冲队列中的m项脉冲信号进行宽度逐一相减,并将相减前与相减后的脉冲信号中所有宽度不相等的脉冲信号进行升序排列,并生成新的参考脉冲信号队列,依此循环,直至第p次循环后对所有宽度不相等脉冲信号根据宽度升序排列形成的第一参考脉冲信号队列与第p+1次循环对所有宽度不相等脉冲信号根据宽度升序排列形成的第二参考脉冲信号队列中脉冲信号项数相同,示例性的,当第一参考脉冲信号队列与第二参考脉冲信号队列中均有q项宽度不相等的脉冲信号时,则停止宽度逐一相减与根据宽度升序排列的循环操作。示例性的,以前一步骤得到的脉冲信号{1、2、3、5、8}为例,将相邻脉冲信号的宽度逐一相减,将相减后与相减前所有宽度不相等的脉冲信号根据宽度重新进行升序排列得到的脉冲信号仍然为{1、2、3、5、8},此时,前一次的第一参考脉冲信号队列{1、2、3、5、8}与后一次的的第二参考脉冲信号队列{1、2、3、5、8}中脉冲信号项数相同,均为5项,则停止宽度逐一相减与根据宽度升序排列的循环操作。Secondly, the width of the reference pulse signal queue is cyclically subtracted one by one and arranged in ascending order according to the width, until the number of pulse signal items in the first reference pulse signal queue generated in the previous generation is the same as that in the second reference pulse signal queue generated in the subsequent time. Exemplarily, the widths of the m pulse signals in the reference pulse queue formed in the previous step are subtracted one by one, and all pulse signals with unequal widths in the pulse signals before and after the subtraction are arranged in ascending order, And generate a new reference pulse signal queue, and cycle accordingly until the first reference pulse signal queue formed by arranging all pulse signals with unequal widths in ascending order of width after the pth cycle is not equal to all widths of the p+1 cycle The number of pulse signal items in the second reference pulse signal queue formed by arranging the pulse signals in ascending order of width is the same. For example, when the first reference pulse signal queue and the second reference pulse signal queue have pulse signals with q-item widths that are not equal , stop the cycle operation of subtracting the widths one by one and sorting them in ascending order according to the widths. Exemplarily, taking the pulse signal {1, 2, 3, 5, 8} obtained in the previous step as an example, the widths of adjacent pulse signals are subtracted one by one, and all pulses with unequal widths after subtraction and before subtraction The pulse signal obtained by rearranging the signal in ascending order according to the width is still {1, 2, 3, 5, 8}. At this time, the previous first reference pulse signal queue {1, 2, 3, 5, 8} and the subsequent The number of pulse signal items in the second reference pulse signal queue {1, 2, 3, 5, 8} is the same, all of which are 5 items, and then stop the cycle operation of subtracting the width one by one and sorting according to the width ascending order.
最后,将第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度。示例性的,上述步骤所得的有q项宽度不相等的脉冲信号的第二参考脉冲信号队列是将q项宽度不相等的脉冲信号进行升序排列得到的,因此第二参考脉冲信号队列中的首项脉冲信号的宽度最小,将其作为最小宽度,这样根据宽度经过上述对脉冲信号的处理,得到了最小宽度。示例性的,以前一步骤得到的第二参考脉冲信号队列{1、2、3、5、8}为例,将第二参考脉冲信号队列中的首项脉冲信号的宽度1作为最小宽度。Finally, the width of the pulse signal of the first item in the second reference pulse signal queue is taken as the minimum width. Exemplarily, the second reference pulse signal queue with q pulse signals with unequal widths obtained in the above steps is obtained by arranging the pulse signals with q unequal widths in ascending order, so the first in the second reference pulse signal queue The width of the item pulse signal is the smallest, which is taken as the minimum width, so that the minimum width is obtained through the above-mentioned processing of the pulse signal according to the width. Exemplarily, taking the second reference pulse signal queue {1, 2, 3, 5, 8} obtained in the previous step as an example, the width 1 of the first pulse signal in the second reference pulse signal queue is taken as the minimum width.
由于经过p+1次循环后的得到的第二参考脉冲信号队列中的q项宽度不相等的脉冲信号可能存在例如{2、4、6、8、10}的情况,这样若将第二参考脉冲信号队列的首项作为最小宽度,则根据首项无法获得脉冲信号的波特率,因此,需要根据宽度对脉冲信号进行处理,得到最小宽度,示例性的,可以根据判断第二参考脉冲信号队列中所有脉冲信号的宽度是否互质确定最小宽度是否正确。相应的,若第二参考脉冲信号队列中的脉冲信号的宽度互质,则第二参考队列后的首项脉冲信号的宽度作为最小宽度。Due to the pulse signals with unequal widths of q items in the obtained second reference pulse signal queue obtained after p+1 cycles, there may be cases such as {2, 4, 6, 8, 10}, so if the second reference The first item of the pulse signal queue is used as the minimum width, and the baud rate of the pulse signal cannot be obtained according to the first item. Therefore, the pulse signal needs to be processed according to the width to obtain the minimum width. For example, the second reference pulse signal can be judged according to Whether the widths of all pulse signals in the queue are relatively prime determines whether the minimum width is correct. Correspondingly, if the widths of the pulse signals in the second reference pulse signal queue are relatively prime, then the width of the first pulse signal after the second reference pulse signal queue is taken as the minimum width.
示例性的,循环p+1次后得到的第二参考脉冲信号队列中包括q项升序排列的宽度不相等的脉冲信号,但是并不能直接将第二参考脉冲信号队列中的首项脉冲信号的宽度作为最小宽度,因为第二参考脉冲信号队列中的q项脉冲信号的宽度有可能并不互质,即q项脉冲信号的宽度的最大公约数不为1,若在q项脉冲信号的宽度的最大公约数不为1的情况下将第二参考脉冲信号队列中的首项脉冲信号的宽度作为最小宽度,可能存在最小宽度内包含的数据不只一位,这样根据最小宽度无法获得采集脉冲信号的波特率。因此,只有第二参考脉冲信号队列中所有的脉冲信号的宽度互质时,才能将第二参考队列后的首项脉冲信号的宽度作为最小宽度。Exemplarily, the second reference pulse signal queue obtained after looping p+1 times includes pulse signals with unequal widths arranged in ascending order of q items, but the first pulse signal in the second reference pulse signal queue cannot be directly The width is taken as the minimum width, because the width of the q-item pulse signal in the second reference pulse signal queue may not be mutually prime, that is, the greatest common divisor of the width of the q-item pulse signal is not 1, if the width of the q-item pulse signal When the greatest common divisor of is not 1, the width of the first pulse signal in the second reference pulse signal queue is taken as the minimum width. There may be more than one bit of data contained in the minimum width, so that the acquisition pulse signal cannot be obtained according to the minimum width. baud rate. Therefore, only when the widths of all the pulse signals in the second reference pulse signal queue are relatively prime, the width of the first pulse signal after the second reference pulse signal queue can be taken as the minimum width.
若第二参考脉冲信号队列中的脉冲信号的宽度非互质,则重新采集多个脉冲信号,测量脉冲信号的宽度,根据对脉冲信号进行处理,直至第二参考脉冲信号队列中的脉冲信号的宽度互质。具体的,若第二参考脉冲信号队列中的脉冲信号的宽度非互质,即最大公约数不为1,则重新采集信号发送装置发送的多个脉冲信号,测量脉冲信号的宽度,根据宽度对脉冲信号进行处理,直至第二参考脉冲信号队列中的脉冲信号的宽度互质,则认定此时作为最小宽度的第二参考脉冲信号队列的首项脉冲信号的宽度内传输了一位数据,将第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度。这样根据第二参考脉冲信号队列中所有脉冲信号的宽度是否互质来判定是否将第二参考队列中首项脉冲信号的宽度作为最小宽度,避免由于某些情况下产生的特殊脉冲信号所产生的干扰,提高了物联网电器波特率调节装置根据宽度对脉冲信号处理以得到最小宽度的准确性,进而提高了根据最小宽度获得脉冲信号波特率并调节物联网电器波特率的准确性。If the width of the pulse signal in the second reference pulse signal queue is non-coprime, then re-gather a plurality of pulse signals, measure the width of the pulse signal, process the pulse signal until the pulse signal in the second reference pulse signal queue The width is relatively prime. Specifically, if the widths of the pulse signals in the second reference pulse signal queue are non-coprime, that is, the greatest common divisor is not 1, then re-acquire a plurality of pulse signals sent by the signal sending device, measure the width of the pulse signals, and compare The pulse signal is processed until the width of the pulse signal in the second reference pulse signal queue is relatively prime, then it is determined that one bit of data has been transmitted in the width of the first pulse signal of the second reference pulse signal queue as the minimum width at this time, and the The width of the pulse signal of the first item in the second reference pulse signal queue is used as the minimum width. In this way, according to whether the widths of all pulse signals in the second reference pulse signal queue are mutually prime, it is determined whether to use the width of the first pulse signal in the second reference queue as the minimum width, so as to avoid the occurrence of special pulse signals generated in some cases. The interference improves the accuracy of the baud rate adjustment device of the Internet of Things electrical appliance to process the pulse signal according to the width to obtain the minimum width, thereby improving the accuracy of obtaining the baud rate of the pulse signal and adjusting the baud rate of the Internet of Things electrical appliance according to the minimum width.
最小宽度与脉冲信号的波特率呈倒数关系,得到最小宽度,即可根据倒数关系获得信号发送装置发送脉冲信号的波特率。The minimum width has a reciprocal relationship with the baud rate of the pulse signal. If the minimum width is obtained, the baud rate of the pulse signal sent by the signal sending device can be obtained according to the reciprocal relationship.
需要说明的是,在根据倒数关系获得信号发送装置发送脉冲信号的过程中可能会出现对脉冲信号的宽度的测量存在误差的情况,导致根据最小宽度按照倒数关系获得的脉冲信号的波特率存在一定的误差,可以将获得的脉冲信号的波特率与4800波特、9600波特和19200波特作比较,并根据比较结果调整获得脉冲信号的波特率以消除误差。It should be noted that in the process of obtaining the pulse signal sent by the signal transmitting device according to the reciprocal relationship, there may be errors in the measurement of the width of the pulse signal, resulting in the baud rate of the pulse signal obtained according to the reciprocal relationship based on the minimum width. If there is a certain error, the baud rate of the obtained pulse signal can be compared with 4800 baud, 9600 baud and 19200 baud, and the baud rate of the obtained pulse signal can be adjusted according to the comparison result to eliminate the error.
S130,按照脉冲信号的波特率调节自身的波特率。S130. Adjust the baud rate of itself according to the baud rate of the pulse signal.
具体的,将上述步骤得到的最小宽度取倒数即得到信号发送装置发送脉冲信号的波特率,按照脉冲信号的波特率调节自身的波特率使二者波特率匹配。当信号发送装置发送的脉冲信号的波特率发生变化时,可以根据最小宽度获得脉冲信号的波特率,并按照脉冲信号的波特率调节物联网电器的波特率完成物联网电器对波特率变化的脉冲信号的自适应。Specifically, the baud rate of the pulse signal sent by the signal sending device is obtained by taking the reciprocal of the minimum width obtained in the above steps, and adjusts its own baud rate according to the baud rate of the pulse signal so that the two baud rates match. When the baud rate of the pulse signal sent by the signal sending device changes, the baud rate of the pulse signal can be obtained according to the minimum width, and the baud rate of the IoT appliance can be adjusted according to the baud rate of the pulse signal to complete the wave matching of the IoT appliance. Adaptation of pulse signals with changing baud rates.
本发明实施例通过对信号发送装置发送的脉冲信号处理得到最小宽度,并按照通过最小宽度得到的脉冲信号的波特率调节物联网电器的波特率。解决了由于信号发送装置与物联网电器波特率不匹配,导致传输数据丢失,物联网电器无法正确响应用户操作的问题,实现了物联网电器对不同波特率脉冲信号的自适应调整,可以实现对传输数据的无丢失接收,使得物联网电器能够正确响应用户操作,提高了物联网电器工作的可靠性。In the embodiment of the present invention, the minimum width is obtained by processing the pulse signal sent by the signal sending device, and the baud rate of the IoT appliance is adjusted according to the baud rate of the pulse signal obtained through the minimum width. It solves the problem that the transmission data is lost due to the mismatch between the signal sending device and the baud rate of the IoT appliance, and the IoT appliance cannot respond to user operations correctly, and realizes the self-adaptive adjustment of the IoT appliance to different baud rate pulse signals, which can The lossless reception of transmitted data is realized, so that the Internet of Things appliance can correctly respond to user operations, and the reliability of the work of the Internet of Things appliance is improved.
实施例二Embodiment two
图2是本发明实施例二提供的一种物联网电器波特率调节方法的流程示意图,该方法以前述实施例为基础,增加了按照获得的波特率发送确认询问信号,并接收波特率确认应答信号这一步骤。Figure 2 is a schematic flow chart of a method for adjusting the baud rate of an Internet of Things appliance provided by Embodiment 2 of the present invention. Based on the foregoing embodiments, the method adds the method of sending a confirmation inquiry signal according to the obtained baud rate and receiving the baud rate. This step confirms the response signal at a high rate.
相应的,本发明实施例的方法包括:Correspondingly, the method of the embodiment of the present invention includes:
S210,采集多个脉冲信号,测量脉冲信号的宽度。S210, collecting multiple pulse signals, and measuring the width of the pulse signals.
S220,根据宽度对脉冲信号进行处理,得到最小宽度,并根据最小宽度获得脉冲信号的波特率。S220. Process the pulse signal according to the width to obtain the minimum width, and obtain the baud rate of the pulse signal according to the minimum width.
S230,按照获得的波特率发送确认询问信号,并接收波特率确认应答信号。S230. Send a confirmation inquiry signal according to the obtained baud rate, and receive a baud rate confirmation response signal.
可选的,波特率确认询问信号包括地址询问请求和波特率确认请求,物联网电器向信号发送装置发送确认询问信号,确定当前获得的波特率是否与信号发送装置所发送的波特率相一致,并根据地址询问请求确定信号发送装置的IP地址,信号发送装置反馈波特率确认应答信号,物联网电器接收波特率确认应答信号。Optionally, the baud rate confirmation query signal includes an address query request and a baud rate confirmation request, and the IoT appliance sends a confirmation query signal to the signal sending device to determine whether the currently obtained baud rate is consistent with the baud rate sent by the signal sending device The rate is consistent, and the IP address of the signal sending device is determined according to the address query request, the signal sending device feeds back a baud rate confirmation response signal, and the Internet of Things appliance receives the baud rate confirmation response signal.
S240,按照脉冲信号的波特率调节自身的波特率。S240, adjusting the baud rate of itself according to the baud rate of the pulse signal.
本发明实施例通过在按照脉冲信号的波特率调节物联网电器的波特率之前,按照波特率发送确认询问信号,并接收波特率确认应答信号,确认根据宽度处理脉冲信号得到的波特率与信号发送装置的波特率匹配,再按照获得的波特率调节物联网电器的波特率,提高了物联网电器对不同波特率脉冲信号自适应的准确性,进一步提高了物联网电器工作的可靠性。In the embodiment of the present invention, before adjusting the baud rate of the Internet of Things appliance according to the baud rate of the pulse signal, a confirmation inquiry signal is sent according to the baud rate, and a baud rate confirmation response signal is received to confirm the waveform obtained by processing the pulse signal according to the width. The baud rate is matched with the baud rate of the signal sending device, and then the baud rate of the IoT appliance is adjusted according to the obtained baud rate, which improves the accuracy of the adaptation of the IoT appliance to different baud rate pulse signals, and further improves the Reliability of working with networked appliances.
实施例三Embodiment three
图3是本发明实施例三提供的一种物联网电器波特率调节装置的结构示意图,该系统包括:Fig. 3 is a schematic structural diagram of a device for adjusting the baud rate of an Internet of Things appliance provided by Embodiment 3 of the present invention. The system includes:
宽度测量模块310,用于采集多个脉冲信号,测量脉冲信号的宽度;Width measurement module 310, is used for collecting a plurality of pulse signals, measures the width of pulse signal;
波特率获取模块320,用于根据宽度对脉冲信号进行处理,得到最小宽度,并根据最小宽度获得脉冲信号的波特率;The baud rate acquisition module 320 is used to process the pulse signal according to the width to obtain the minimum width, and obtain the baud rate of the pulse signal according to the minimum width;
波特率调节模块330,用于按照脉冲信号的波特率调节自身的波特率。The baud rate adjustment module 330 is configured to adjust its own baud rate according to the baud rate of the pulse signal.
可选的,波特率获取模块320具体可以用于对所有宽度不相等的脉冲信号根据宽度进行升序排列;将相邻脉冲信号的宽度逐一相减,将相减后与相减前所有宽度不相等的脉冲信号根据宽度重新进行升序排列,生成参考脉冲信号队列;对参考脉冲信号队列循环进行宽度逐一相减与根据宽度升序排列操作,直至前一次生成的第一参考脉冲信号队列与后一次生成的第二参考脉冲信号队列中脉冲信号项数相同;将第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度。Optionally, the baud rate acquisition module 320 can specifically be used to arrange all pulse signals with unequal widths in ascending order according to their widths; Equal pulse signals are re-arranged in ascending order according to the width to generate a reference pulse signal queue; the width of the reference pulse signal queue is cyclically subtracted one by one and arranged in ascending order according to the width until the first reference pulse signal queue generated in the previous generation and the subsequent generation The number of pulse signal items in the second reference pulse signal queue is the same; the width of the pulse signal of the first item in the second reference pulse signal queue is taken as the minimum width.
可选的,波特率获取模块320具体还可以用于判断第二参考脉冲信号队列中所有脉冲信号的宽度是否互质。相应的,将第二参考脉冲信号队列的首项脉冲信号的宽度作为最小宽度,包括若第二参考脉冲信号队列中的脉冲信号的宽度互质,则将第二参考队列后的首项脉冲信号的宽度作为最小宽度。Optionally, the baud rate acquisition module 320 may also be specifically configured to determine whether the widths of all pulse signals in the second reference pulse signal queue are mutually prime. Correspondingly, taking the width of the first pulse signal of the second reference pulse signal queue as the minimum width, including if the widths of the pulse signals in the second reference pulse signal queue are mutually prime, then taking the first pulse signal after the second reference pulse signal queue of the width as the minimum width.
可选的,波特率获取模块320具体还可以用于若第二参考脉冲信号队列中的脉冲信号的宽度非互质,则重新采集多个脉冲信号,测量脉冲信号的宽度,根据宽度对脉冲信号进行处理,直至第二参考脉冲信号队列中的脉冲信号的宽度互质。Optionally, the baud rate acquisition module 320 can also be specifically used to re-acquire multiple pulse signals if the width of the pulse signals in the second reference pulse signal queue is non-coprime, measure the width of the pulse signals, and compare the pulses according to the width The signals are processed until the widths of the pulse signals in the second reference pulse signal queue are mutually prime.
可选的,在上述装置的基础上,还包括波特率确认模块,具体可以用于按照获得的波特率发送确认询问信号,并接收波特率确认应答信号。Optionally, on the basis of the above device, a baud rate confirmation module is further included, which can be specifically configured to send a confirmation inquiry signal according to the obtained baud rate, and receive a baud rate confirmation response signal.
可选的,波特率确认询问信号包括地址询问请求和波特率确认请求。Optionally, the baud rate confirmation inquiry signal includes an address inquiry request and a baud rate confirmation request.
本发明实施例通过对信号发送装置发送的脉冲信号处理得到最小宽度,并按照通过最小宽度得到的脉冲信号的波特率调节物联网电器的波特率。解决了由于信号发送装置与物联网电器波特率不匹配造成的传输数据丢失,物联网电器无法正确响应用户操作的问题,实现了物联网电器对不同波特率脉冲信号的自适应,实现对传输数据的无丢失接收,使得物联网电器能够正确响应用户操作,提高了物联网电器工作的可靠性。In the embodiment of the present invention, the minimum width is obtained by processing the pulse signal sent by the signal sending device, and the baud rate of the IoT appliance is adjusted according to the baud rate of the pulse signal obtained through the minimum width. It solves the problem that the transmission data is lost due to the mismatch between the signal sending device and the baud rate of the IoT appliance, and the IoT appliance cannot correctly respond to user operations, and realizes the self-adaptation of the IoT appliance to different baud rate pulse signals, and realizes the The lossless reception of the transmitted data enables the IoT appliances to correctly respond to user operations, improving the reliability of the IoT appliances.
本发明实施例还提供了一种空调,可以包括上述实施例提供的物联网电器波特率调节装置,也可以可执行上述任意实施例所提供的物联网电器波特率调节方法。示例性的,空调可以采集信号发送装置发送的多个脉冲信号,测量脉冲信号的宽度,根据宽度的处理脉冲信号得到最小宽度进而获得脉冲信号的波特率,再按照获得的波特率调节空调的波特率,是自身波特率与信号发送装置的波特率相匹配,实现了空调对不同波特率脉冲信号的自适应,实现了对传输数据的无丢失接收,使得空调能够正确响应用户操作,提高了空调工作的可靠性。An embodiment of the present invention also provides an air conditioner, which may include the device for adjusting the baud rate of the Internet of Things appliance provided in the above embodiments, and may also implement the method for adjusting the baud rate of the Internet of Things appliance provided in any of the above embodiments. Exemplarily, the air conditioner can collect multiple pulse signals sent by the signal sending device, measure the width of the pulse signal, process the pulse signal according to the width to obtain the minimum width and then obtain the baud rate of the pulse signal, and then adjust the air conditioner according to the obtained baud rate The baud rate is the match between its own baud rate and the baud rate of the signal sending device, which realizes the self-adaptation of the air conditioner to pulse signals of different baud rates, realizes the loss-free reception of transmitted data, and enables the air conditioner to respond correctly User operation improves the reliability of the air conditioner.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611159460.4A CN106642568B (en) | 2016-12-15 | 2016-12-15 | Internet-of-things electric appliance baud rate adjusting method and device and air conditioner |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611159460.4A CN106642568B (en) | 2016-12-15 | 2016-12-15 | Internet-of-things electric appliance baud rate adjusting method and device and air conditioner |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106642568A true CN106642568A (en) | 2017-05-10 |
| CN106642568B CN106642568B (en) | 2019-01-18 |
Family
ID=58823582
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611159460.4A Expired - Fee Related CN106642568B (en) | 2016-12-15 | 2016-12-15 | Internet-of-things electric appliance baud rate adjusting method and device and air conditioner |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106642568B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108826588A (en) * | 2018-05-11 | 2018-11-16 | 珠海格力电器股份有限公司 | Air conditioning unit communication method and device |
| CN111314018A (en) * | 2019-11-01 | 2020-06-19 | 珠海格力电器股份有限公司 | 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 |
| CN119030824A (en) * | 2024-10-23 | 2024-11-26 | 长沙硕博电子科技股份有限公司 | A method, system, device and medium for adaptively adjusting the baud rate of an on-vehicle CAN network |
Citations (9)
| 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 |
-
2016
- 2016-12-15 CN CN201611159460.4A patent/CN106642568B/en not_active Expired - Fee Related
Patent Citations (9)
| 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 |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108826588A (en) * | 2018-05-11 | 2018-11-16 | 珠海格力电器股份有限公司 | Air conditioning unit communication method and device |
| CN108826588B (en) * | 2018-05-11 | 2020-08-18 | 珠海格力电器股份有限公司 | Air conditioning unit communication method and device |
| CN111314018A (en) * | 2019-11-01 | 2020-06-19 | 珠海格力电器股份有限公司 | Baud rate self-adaptive adjustment processing system and method and information data processing terminal |
| 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 |
| CN119030824A (en) * | 2024-10-23 | 2024-11-26 | 长沙硕博电子科技股份有限公司 | A method, system, device and medium for adaptively adjusting the baud rate of an on-vehicle CAN network |
| CN119030824B (en) * | 2024-10-23 | 2025-01-03 | 长沙硕博电子科技股份有限公司 | A method, system, device and medium for adaptively adjusting the baud rate of an on-vehicle CAN network |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106642568B (en) | 2019-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102415031B (en) | System and method for adapting transmit data block size and rate based on quality of communication link | |
| CN103684678A (en) | Baud rate adaptive method for UART, device and UART | |
| CN108616818A (en) | A kind of data repeating method, Bluetooth slave devices and wireless communication system | |
| KR20050027022A (en) | Method and system for repeat request in hybrid ultra wideband - bluetooth radio | |
| CN106642568A (en) | Internet-of-things electric appliance baud rate adjusting method and device and air conditioner | |
| CN106487454B (en) | Sound wave configuration method and configuration system of Internet of things intelligent equipment | |
| JP2013510492A5 (en) | ||
| KR102397852B1 (en) | Authenticated confirmation and activation messages | |
| CN113826331A (en) | Apparatus, system and method for selecting wireless device antennas for communication | |
| JPWO2009008062A1 (en) | Transmitting apparatus and communication system | |
| WO2021068209A1 (en) | Methods for sending and receiving data, apparatus, terminal, and storage medium | |
| US9491770B1 (en) | System and method for avoiding interfering signals | |
| CN103544823A (en) | Pairing method and device for radio frequency remote controller and household appliance | |
| CN102160317B (en) | System and method for acknowledgement packet transmitting and receiving | |
| US10754479B2 (en) | Touch sensing system and data transmission method of a touch panel | |
| CN107994975B (en) | Radio frequency data transmission optimization method, radio frequency data transmission equipment and radio frequency receiving end | |
| CN104852871B (en) | RS-485 network-based resistor configuration system and method thereof | |
| CN108512738A (en) | The long-range control method and system of terminal | |
| CN111490938A (en) | Communication link checking method | |
| CN113746217B (en) | Wireless equipment matching communication method and system based on trend judgment and electronic equipment | |
| CN114243954B (en) | Wireless equipment matching communication system and method based on waveform characteristics and electronic equipment | |
| TW202002573A (en) | Server data sending method and apparatus | |
| CN107925527B (en) | Method, apparatus, apparatus and storage medium for controlling retry of data packet transmission | |
| US9307509B1 (en) | Transmitting radio signals using simultaneous retransmission | |
| CN114391292A (en) | Signal transmission method and device |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190118 |