CN112564820B - Signal receiving and transmitting method and device and electric kettle - Google Patents

Signal receiving and transmitting method and device and electric kettle Download PDF

Info

Publication number
CN112564820B
CN112564820B CN201910917166.2A CN201910917166A CN112564820B CN 112564820 B CN112564820 B CN 112564820B CN 201910917166 A CN201910917166 A CN 201910917166A CN 112564820 B CN112564820 B CN 112564820B
Authority
CN
China
Prior art keywords
pulse
pulse signal
transmitted
signal
received
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
CN201910917166.2A
Other languages
Chinese (zh)
Other versions
CN112564820A (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.)
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Original Assignee
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd filed Critical Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority to CN201910917166.2A priority Critical patent/CN112564820B/en
Publication of CN112564820A publication Critical patent/CN112564820A/en
Application granted granted Critical
Publication of CN112564820B publication Critical patent/CN112564820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/02Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a signal receiving and transmitting method and device and an electric kettle. The signal transmitting method comprises the steps of determining the total pulse number of a current pulse signal to be transmitted according to data to be transmitted; if the total pulse number is smaller than or equal to a pulse number threshold value, the current pulse signal to be sent is sent to a receiving end; if the total pulse number is larger than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses. The technical scheme can solve the technical problem that the base of the electric kettle in the prior art cannot accurately receive data sent by the kettle body.

Description

Signal receiving and transmitting method and device and electric kettle
[ field of technology ]
The invention relates to the technical field of signal transmission of household appliances, in particular to a signal receiving and transmitting method and device and an electric kettle.
[ background Art ]
At present, in the communication scheme of wireless transmission between the kettle body and the base of the all-glass electric kettle or health-preserving kettle, the printed circuit board (Printed Circuit Board, abbreviated as PCB) of the kettle body provides power in a wireless transmission mode through the PCB of the base, and signals are transmitted from the PCB of the kettle body to the PCB of the base in a wireless transmission mode. Therefore, under the condition that the power and the signal are transmitted through the wireless transmission mode, the bilateral time convention is not easy to agree, and due to the influence of the transmission power of the base to the kettle body, after a pulse signal is sent when the signal is transmitted from the kettle body to the base, the base can not receive the signal in real time, and delay often exists, so that the error rate is extremely high when the signal is only transmitted in one direction, and the time cannot be set.
[ invention ]
In view of the above, the embodiment of the invention provides a signal transceiving method and device and an electric kettle, which are used for solving the technical problem that a base of the electric kettle in the prior art cannot accurately receive data sent by a kettle body.
In one aspect, an embodiment of the present invention provides a signal sending method, including: determining the total pulse number of the current pulse signal to be transmitted according to the data to be transmitted; if the total pulse number is smaller than or equal to a pulse number threshold value, the current pulse signal to be sent is sent to a receiving end; if the total pulse number is larger than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
Optionally, the dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to the receiving end includes: dividing the pulse signal to be transmitted into a plurality of sub-pulse signals according to the total pulse number of the pulse signal to be transmitted, so that the pulse number contained in each sub-pulse signal is smaller than the pulse number threshold value; and transmitting the sub-pulse signals one by one until all the sub-pulse signals are transmitted to a receiving end, wherein a first transmission time interval is reserved between two adjacent sub-pulse signals.
Optionally, the signal sending method further includes: and after the current pulse signal to be transmitted is transmitted to the receiving end, transmitting the next pulse signal to be transmitted after a second transmission time interval.
Optionally, the determining the total pulse number of the current pulse signal to be sent according to the data to be sent includes: setting the minimum pulse number; and determining the total pulse number of the current pulse signal to be transmitted according to the sum of the data to be transmitted and the minimum pulse number.
On the other hand, the embodiment of the invention also provides a signal receiving method, which comprises the following steps: receiving a pulse signal; the pulse signal is sent to the receiving end by the sending end according to the signal sending method in the wireless transmission mode; judging whether the next pulse signal is received after the pulse signal is currently received and the first transmission time interval passes; if yes, continuing to receive the next pulse signal until the next pulse signal is received currently and is not received within the second transmission time interval, and determining that the data to be received is received; and determining the data to be received based on the pulse numbers contained in all the received pulse signals.
Optionally, the signal receiving method further includes: if the pulse signal is currently received and the next pulse signal is not received in the first transmission time interval, judging whether the next pulse signal is still not received in the second transmission time interval; if yes, the data to be received is determined based on the number of pulses contained in the pulse signal received currently.
Optionally, the determining the data to be received based on the number of pulses included in all the received pulse signals includes: and determining the data to be received according to the difference between the pulse number contained in all the received pulse signals and the lowest pulse number.
In still another aspect, an embodiment of the present invention further provides a signal transmitting apparatus, including: the pulse number determining module is used for determining the total pulse number of the current pulse signal to be transmitted according to the data to be transmitted; the pulse signal sending module is used for sending the current pulse signal to be sent to a receiving end if the total pulse number is smaller than or equal to a pulse number threshold value; if the total pulse number is larger than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
In still another aspect, an embodiment of the present invention further provides a signal receiving apparatus, including: the pulse signal receiving module is used for receiving the pulse signal after receiving the trigger pulse signal; the pulse signal is sent to the receiving end by the signal sending device in the wireless transmission mode; the pulse signal judging module is used for judging whether the next pulse signal is received after the pulse signal is received currently and the first transmission time interval passes; if the judgment result of the pulse signal judgment module is yes, the pulse signal receiving module continues to receive the next pulse signal; and the data to be received determining module is used for determining that the data to be received is received until the pulse signal is currently received and the next pulse signal is not received within the second transmission time interval, and determining the data to be received based on the number of pulses contained in all the received pulse signals.
In still another aspect, the embodiment of the invention also provides an electric kettle, which comprises a kettle body and a base; wherein the kettle body comprises the signal sending device; the base comprises the signal receiving device.
Compared with the prior art, the technical scheme has at least the following beneficial effects:
according to the signal transmission method provided by the embodiment of the invention, the data to be transmitted is determined at the transmitting end according to the total pulse number in the pulse signal to be transmitted instead of the high-low level of the pulse signal. If the total pulse number is smaller than or equal to the pulse number threshold, directly transmitting the pulse signal to be transmitted to the receiving end. If the total pulse number is greater than the pulse number threshold, dividing the pulse signal to be transmitted into a plurality of sub-pulse signals and sequentially transmitting the sub-pulse signals to a receiving end.
Further, the transmitting end and the receiving end agree that after one pulse signal to be transmitted is transmitted, the next pulse signal to be transmitted is transmitted after a preset time interval (namely, a second transmission time interval) is passed, so that the receiving end can judge whether the current data to be transmitted is transmitted or not in the process of receiving the pulse signal. When one pulse signal to be transmitted is divided into a plurality of sub-pulse signals to be transmitted, a time interval (i.e., a first transmission time interval) is also provided between two sub-pulse signals to be transmitted adjacently.
Further, in order to avoid the situation that the total pulse number of the pulse signal to be transmitted is also 0 because the data to be transmitted is 0, a minimum pulse number (for example, 5 to 10) is set to correspond to the data to be transmitted as 0, so that the total pulse number of the pulse signal to be transmitted is the sum of the minimum pulse number and the data to be transmitted.
According to the signal receiving method provided by the embodiment of the invention, after receiving the pulse signal, the receiving end judges whether the next pulse signal is received in the first sending time interval, if so, the receiving end continues to receive the next pulse signal until the next pulse signal is currently received and the next pulse signal is not received in the second sending time interval, and the receiving of the data to be received is determined to be completed. Therefore, the receiving end only needs to determine the data to be received according to the number of pulses contained in the received pulse signal, and the data to be received does not need to be determined by reading the high and low levels of the pulse signal within fixed time, so that accurate time between the receiving end and the transmitting end is not required to be approved, and the data to be received can be accurately transmitted between the receiving end and the transmitting end.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an embodiment of a signaling method provided by an embodiment of the present invention;
fig. 2 is a flowchart of an embodiment of a signal receiving method according to an embodiment of the present invention;
fig. 3A is a schematic diagram of an embodiment of transmitting and receiving a pulse signal according to an embodiment of the present invention;
fig. 3B is a schematic diagram of another embodiment of transmitting and receiving pulse signals by a transmitting end and a receiving end according to an embodiment of the present invention;
fig. 4 is a schematic structural view of an embodiment of a signal transmission device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an embodiment of a signal receiving apparatus according to an embodiment of the present invention.
[ detailed description ] of the invention
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of an embodiment of a signaling method according to an embodiment of the present invention. Referring to fig. 1, the method comprises the steps of:
step 101, determining the total pulse number of the current pulse signals to be transmitted according to the data to be transmitted;
102, if the total pulse number is smaller than or equal to a pulse number threshold, transmitting the current pulse signal to be transmitted to a receiving end;
step 103, if the total pulse number is greater than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
Because there is no delay in the data transmission mode with electrical connection or in an ideal state, as long as the interval time of the data bits sent by the sending end is reasonably fixed, the receiving end can almost read the high and low levels of the data bits in the middle section of the fixed time (because the middle section is more reliable to read). At this time, after the receiving end receives the first trigger, all the data read subsequently are correct.
In the wireless transmission mode, when the transmitting end transmits the pulse signal, although the pulse signal is transmitted at fixed intervals, the interval time of the pulse signal received at the receiving end changes after the pulse signal passes through the wireless coil, and the pulse signal is transmitted on the same coil with low-frequency data transmission and high-frequency power supply energy transmission, so that the signal can be interfered, the time interval of the pulse signal received at the receiving end is different, and the high-low level of the pulse signal can not be correctly read in the fixed time.
Therefore, the signal sending method of the embodiment is mainly applied to a scenario that pulse signals are transmitted between a sending end and a receiving end in a wireless transmission mode and signal interference exists, and the method of the embodiment is applied to the sending end.
Specifically, as described in step 101, the total pulse number of the pulse signal to be transmitted is determined according to the data to be transmitted.
The data to be sent by the sending end can be determined according to different application scenes, for example, if the application scene is an electric kettle, the kettle body (serving as the sending end) of the electric kettle transmits water temperature data in the electric kettle to the base (serving as the receiving end), and the data to be sent is temperature data.
In one implementation, the total pulse number of the pulse signal to be sent is determined according to the value of the data to be sent. For example, if the data to be sent is 45 degrees celsius (i.e., the value of the data to be sent is 45 degrees celsius), the total number of pulses of the current pulse signal to be sent is 45. That is, the total number of pulses of the pulse signal to be transmitted currently is equal to the value of the data to be transmitted currently.
However, according to the above implementation, there is a problem that if the data to be transmitted is 0 degrees celsius (i.e., the value of the data to be transmitted is 0), the total number of pulses of the current pulse signal to be transmitted is 0, i.e., no pulse signal can be transmitted.
Accordingly, the inventors contemplate that in another implementation, the step comprises:
step 1011, setting the lowest pulse number.
Step 1012, determining the total pulse number of the current pulse signal to be sent according to the sum of the data to be sent and the minimum pulse number.
In step 1011, the minimum pulse number is a natural number greater than 0, and the minimum pulse number is not set to a natural number having a too large value, and the minimum pulse number may be set to a natural number between 5 and 10. In step 1012, when determining the total number of pulses of the current pulse signal to be transmitted, the total number of pulses is determined according to the sum of the minimum number of pulses and the data to be transmitted. For example, if the minimum pulse number is 5, when the value of the data to be transmitted is 0, the total pulse number of the current pulse signal to be transmitted is 5. And when the value of the data to be transmitted is 45, the total pulse number of the pulse signal to be transmitted is 50.
In practical applications, if the value of the data to be sent is large (for example, 500, 1000, etc.), the total number of pulses of the pulse signal to be sent is large according to the above manner of step 101, and in this case, if the pulse signal to be sent including all the total number of pulses is sent to the receiving end at one time, it is not easy for the receiving end to accurately receive the data to be sent. Therefore, in this embodiment, a pulse number threshold is set, where the pulse number threshold is the maximum pulse number included in a pulse signal to be transmitted.
And step 102, if the total pulse number is less than or equal to the pulse number threshold, transmitting the current pulse signal to be transmitted to a receiving end.
Step 103, if the total pulse number is greater than a pulse number threshold, dividing the current pulse signal to be transmitted into a plurality of sub-pulse signals and sequentially transmitting the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
Specifically, the method comprises the following steps:
step 1031, dividing the pulse signal to be sent into a plurality of sub-pulse signals according to the total pulse number of the pulse signal to be sent, so that the pulse number contained in each sub-pulse signal is smaller than the pulse number threshold;
step 1032, transmitting the sub-pulse signals one by one until all the sub-pulse signals are transmitted to the receiving end, and a first transmission time interval is reserved between two adjacent sub-pulse signals.
After determining the total pulse number of the current pulse signal to be sent according to the step 101, comparing the total pulse number with the pulse number threshold, and if the total pulse number is smaller than or equal to the pulse number threshold, directly sending the current pulse signal to be sent to a receiving end.
Otherwise, if the total pulse number is greater than the pulse number threshold, the current pulse signal to be sent is further divided into a plurality of sub-pulse signals according to the total pulse number, and in this embodiment, the number of pulses included in each sub-pulse signal is not limited, but the condition that the number of pulses included in each sub-pulse signal is less than the pulse number threshold needs to be satisfied.
In one implementation, for example, the total number of pulses is divided by the threshold number of pulses, and if the total number of pulses is divided, the quotient obtained is determined as the number of sub-pulse signals, and the number of pulses included in each sub-pulse signal is the threshold number of pulses, so that the number of sub-pulse signals can be reduced as much as possible. For example, if the total number of pulses is 80, the threshold number of pulses is 10, and the quotient of the total number of pulses divided by the threshold number of pulses is 8, the current pulse signal to be transmitted is divided into 8 sub-pulse signals, and the number of pulses included in each sub-pulse signal is 10.
For another example, the total pulse number is divided by the pulse number threshold, and if there is a remainder, the quotient obtained is added with a number determined as the number of sub-pulse signals, and the remainder is the number of pulses included in the last sub-pulse signal. For example, if the total number of pulses is 85, the threshold number of pulses is 10, the quotient of the total number of pulses divided by the threshold number of pulses is 8, and the remainder is 5, the number of sub-pulse signals is determined to be 9, wherein each sub-pulse signal in the first 8 sub-pulse signals contains 10 pulses, and the last sub-pulse signal contains 5 pulses.
In other implementations, the number of pulses included in each sub-pulse signal may be less than the threshold number of pulses, and the number of pulses included in each sub-pulse signal may be different. In this way, the number of sub-pulse signals may be increased, and the number of pulses included in each sub-pulse signal may be reduced, compared to the previous implementation.
In step 1032, in order to ensure that the receiving end can accurately receive the data to be transmitted sent by the transmitting end, in the case of dividing the pulse signal to be transmitted into a plurality of sub-pulse signals, the sub-pulse signals need to be sent to the receiving end one by one until all the sub-pulse signals are sent to the receiving end. Unlike the prior art, the data to be transmitted is determined at the receiving end according to the total pulse number of the received pulse signals to be transmitted, rather than determining the corresponding data bit according to the high and low levels of the pulse signals transmitted at the corresponding time of each transmitting end. Therefore, in this step, the transmission sequence is not limited between the sub-pulse signals.
In order to enable the receiving end to determine whether the sub-pulse signal to be transmitted still exists after the currently received sub-pulse signal, a first transmission time interval exists between two adjacent sub-pulse signals transmitted by the transmitting end, and a specific time interval can be pre-agreed between the transmitting end and the receiving end. Therefore, after receiving a sub-pulse signal, if the receiving end receives the sub-pulse signal again in the first sending time interval, the receiving end can determine that the sub-pulse signal still belongs to the current pulse signal to be sent.
Further, in this embodiment, after the current pulse signal to be sent is sent to the receiving end, if the next pulse signal to be sent is to be sent, after the second sending time interval elapses, a trigger pulse signal is sent to the receiving end first.
Specifically, in order for the receiving end to determine whether the currently received sub-pulse signal is the last sub-pulse signal in the current pulse signal to be transmitted, a second transmission time interval will be also pre-agreed between the transmitting end and the receiving end. Thus, after the receiving end receives the sub-pulse signal, if a pulse signal (actually, a trigger pulse signal sent by the sending end) is received after the second sending time interval, the receiving end can determine that the sub-pulse signal received before is the last sub-pulse signal in the pulse signal to be sent currently, that is, the pulse signal to be sent currently is sent completely.
In practical applications, the second transmission time interval may be set longer than the first transmission time interval, for example, the first transmission time interval is 3 ms and the second transmission time interval is 10 ms.
It should be noted that, when the transmitting end directly transmits the current pulse signal to be transmitted to the receiving end, if the next pulse signal to be transmitted is to be transmitted, it is also necessary to transmit the trigger pulse signal to the receiving end after the second transmission time interval.
Fig. 2 is a flowchart of an embodiment of a signal receiving method according to an embodiment of the present invention. Referring to fig. 2, the method includes the steps of:
step 201, after receiving the trigger pulse signal, receiving the pulse signal; the pulse signal is sent to the receiving end by the sending end according to the signal sending method;
step 202, judging whether the next pulse signal is received after the pulse signal is received currently and the first transmission time interval passes;
step 203, if yes, continuing to receive the next pulse signal until the next pulse signal is received currently and is not received within the second transmission time interval, and determining that the data to be transmitted is received;
and 204, determining the data to be transmitted based on the pulse numbers contained in all the received pulse signals.
The signal receiving method of the present embodiment is also mainly applied to a scenario in which a pulse signal is transmitted between a transmitting end and a receiving end in a wireless transmission manner and signal interference exists, and the present embodiment is applied to the receiving end, where the receiving end receives a pulse signal to be transmitted, which is transmitted by the transmitting end according to the signal transmitting method provided in the embodiment of fig. 1.
After receiving the trigger pulse signal, the pulse signal is received, as described in step 201.
Specifically, the receiving end starts to count the received pulse signals after receiving the trigger pulse signals sent by the sending end. For example, during initial signal receiving and transmitting, the transmitting end transmits a trigger pulse signal to the receiving end, and the receiving end starts to receive subsequent pulse signals after receiving the trigger pulse signal. For another example, when the transmitting end transmits a current pulse signal to be transmitted to the receiving end, after a second transmission time interval, a trigger pulse signal is transmitted to the receiving end before the next pulse signal to be transmitted is transmitted. That is, in the process of receiving and transmitting signals, when the receiving end receives the last pulse signal to be transmitted and passes the second transmission time interval, the pulse signal received again is regarded as the trigger pulse signal (i.e. triggering the receiving of the next pulse signal to be transmitted).
In step 202, it is determined whether the next pulse signal is received after the first transmission time interval has elapsed while the pulse signal is currently received.
Specifically, since the receiving end does not know in advance whether the currently received pulse signal is a complete pulse signal to be transmitted or a sub pulse signal in the pulse signal to be transmitted. Therefore, when receiving a pulse signal, the receiving end will determine whether the next pulse signal is received again after the first transmission time interval.
As described in the embodiment of fig. 1 above, the first transmission time interval is a transmission time interval of two adjacent sub-pulse signals. Therefore, as described in step 203, if the receiving end receives the next pulse signal after the first transmission time interval, it is determined that the currently received pulse signal is a sub pulse signal in the pulse signal to be transmitted, and then the receiving end continues to receive the next pulse signal, and so on, until the receiving end receives the pulse signal currently and does not receive the next pulse signal after the second transmission time interval, it is determined that the receiving of the data to be transmitted is completed. That is, when the receiving end does not receive the next pulse signal after receiving a certain pulse signal in the second transmission time interval, the certain pulse signal is the last sub-pulse signal in the currently received pulse signal to be transmitted, so as to determine that the receiving end finishes receiving the currently transmitted pulse signal sent by the transmitting end (i.e. finishes receiving the data to be transmitted).
The data to be transmitted is determined based on the number of pulses contained in all the received pulse signals, as described in step 204.
Specifically, after the receiving end determines that the current pulse signal to be sent by the sending end is received, the number of pulses contained in all pulse signals received after the trigger pulse signal is received is counted, so that the data to be sent is determined according to the number of pulses contained in all pulse signals (namely, the total number of pulses of the current pulse signal to be sent).
Corresponding to the embodiment shown in fig. 1, for example, if the transmitting end takes the total number of pulses of the current pulse signal to be transmitted as the value of the current data to be transmitted. At the receiving end, the data to be sent is directly determined according to the pulse numbers contained in all the pulse signals, namely, the numerical value of the pulse numbers is equal to the numerical value of the data to be sent. For another example, if the transmitting end and the receiving end pre-agree with the minimum pulse number, the total pulse number of the current pulse signal to be transmitted is the sum of the data to be transmitted and the minimum pulse number. And at the receiving end, determining the data to be received according to the difference between the number of pulses contained in all the received pulse signals and the minimum number of pulses.
Further, the embodiment further includes the following steps:
if the determination result in step 202 is no (i.e. if the next pulse signal is not received in the first transmission time interval and the pulse signal is currently received), it is determined whether the next pulse signal is not received in the second transmission time interval. If yes, the data to be received is determined based on the number of pulses contained in the pulse signal received currently.
Specifically, after receiving a pulse signal, the receiving end does not receive a next pulse signal in the first sending time interval, and does not receive a next pulse signal in the second sending time interval, then determining that the pulse signal currently received is a complete current pulse signal to be sent by the sending end, and then determining the data to be received based on the number of pulses contained in the pulse signal currently received.
Fig. 3A is a schematic diagram of an embodiment of transmitting and receiving a pulse signal according to an embodiment of the present invention.
The embodiment is a schematic diagram that a transmitting end divides a pulse signal to be transmitted into a plurality of sub-pulse signals and sequentially transmits the sub-pulse signals to a receiving end.
Referring to fig. 3A, one sub-pulse signal of the pulse signals to be transmitted from the transmitting end is a pulse signal of a fixed pulse width, for example, a pulse width of 0.5 ms. In the process of receiving the pulse signal, the pulse width of the received pulse signal may not be completely consistent due to factors such as signal interference. However, in this embodiment, the receiving end only counts the number of pulses in the received pulse signal, and does not calculate when the pulses are received.
The first pulse signal sent by the sending end is a trigger pulse signal, after the receiving end receives the trigger pulse signal, the receiving end starts to receive subsequent pulse signals, as shown in fig. 3A, the sub-pulse signals sent subsequently by the sending end include 7 pulses, and correspondingly, the receiving end receives the 7 pulses sequentially at different time points (i.e. the sending time of the corresponding pulse of the pulse signal of the sending end does not completely correspond to the sending time of the corresponding pulse of the pulse signal of the sending end), and then counts the number of pulses in the sub-pulse signals after the sub-pulse signals are received, i.e. counts +1 of the number of pulses when each pulse is received. Then, the transmitting end continues to transmit the next sub-pulse signal to the receiving end after the first transmitting time interval, and correspondingly, the receiving end receives the next pulse signal after the first transmitting time interval. And by analogy, the transmitting end finishes transmitting the whole pulse signal to be transmitted, the receiving end correspondingly finishes receiving the pulse signal to be transmitted, and the data to be transmitted is determined according to the pulse numbers contained in all the sub-pulse signals.
Fig. 3B is a schematic diagram of another embodiment of transmitting and receiving a pulse signal according to an embodiment of the present invention.
The embodiment is a schematic diagram that a transmitting end directly transmits a pulse signal to be transmitted to a receiving end.
Referring to fig. 3B, the pulse signal to be transmitted by the transmitting end is also a pulse signal with a fixed pulse width, for example, a pulse width of 0.5 ms. In the process of receiving the pulse signal, the pulse width of the received pulse signal may not be completely consistent due to factors such as signal interference. However, in this embodiment, the receiving end only counts the number of pulses in the received pulse signal, and does not calculate when the pulses are received.
The first pulse signal sent by the sending end is a trigger pulse signal, after the receiving end receives the trigger pulse signal, the receiving end starts to receive subsequent pulse signals, as shown in fig. 3B, the pulse signal to be sent, which is sent by the sending end subsequently, includes 7 pulses, correspondingly, the receiving end sequentially receives the 7 pulses at different time points (i.e. the sending time of the corresponding pulse of the pulse signal of the sending end does not completely correspond to the sending time of the corresponding pulse of the pulse signal of the sending end), and further after the receiving end receives the pulse signal to be sent, the number of pulses in the pulse signal to be sent is counted, i.e. the count of the number of pulses is +1 after each pulse is received. And determining the data to be transmitted according to the number of all the pulses contained in the pulse signal to be transmitted. Then, the transmitting end continues to transmit the next pulse signal to be transmitted to the receiving end after the second transmitting time interval, and correspondingly, the receiving end receives the next pulse signal to be transmitted after the second transmitting time interval.
Fig. 4 is a schematic structural diagram of an embodiment of a signal transmission device according to an embodiment of the present invention.
Referring to fig. 4, the signal transmission apparatus 4 includes: the pulse number determining module 41 is configured to determine the total pulse number of the current pulse signal to be sent according to the data to be sent. A pulse signal sending module 42, configured to send the current pulse signal to be sent to a receiving end if the total pulse number is less than or equal to a pulse number threshold; if the total pulse number is larger than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
Wherein the pulse number determining module 41 includes: a minimum pulse number setting unit (not shown in fig. 4) for setting the minimum pulse number. A pulse number determining unit (not shown in fig. 4) for determining the total pulse number of the current pulse signal to be transmitted according to the sum of the data to be transmitted and the minimum pulse number.
The pulse signal transmission module 42 includes: the pulse signal dividing unit 421 is configured to divide the pulse signal to be sent into a plurality of sub-pulse signals according to the total pulse number of the pulse signal to be sent, so that the pulse number included in each sub-pulse signal is smaller than the pulse number threshold. The pulse signal transmitting unit 422 is configured to transmit the sub-pulse signals one by one until all the sub-pulse signals are transmitted to the receiving end, where a first transmission time interval is provided between two adjacent sub-pulse signals.
The pulse signal sending module 42 is further configured to send a trigger pulse signal to the receiving end after a second sending time interval elapses if a next pulse signal to be sent is to be sent after the current pulse signal to be sent is sent to the receiving end.
The specific implementation manner of each module and unit in the apparatus of this embodiment may refer to the embodiment described in fig. 1, and will not be described herein.
Fig. 5 is a schematic structural diagram of an embodiment of a signal receiving apparatus according to an embodiment of the present invention.
Referring to fig. 5, the signal receiving apparatus 5 includes: a pulse signal receiving module 51, configured to receive a pulse signal after receiving a trigger pulse signal; wherein, the pulse signal is sent to the receiving end by the signal sending device 4 shown in fig. 4. The pulse signal judging module 52 is configured to judge whether the next pulse signal is received again after the first transmission time interval has elapsed after the pulse signal is currently received. If the judgment result of the pulse signal judgment module is yes, the pulse signal receiving module continues to receive the next pulse signal. The to-be-received data determining module 53 is configured to determine that to-be-received data has been received until a pulse signal is currently received and a next pulse signal is not received within the second transmission time interval, and determine the to-be-received data based on the number of pulses included in all the received pulse signals.
The pulse signal determining module 52 is further configured to determine whether a next pulse signal is still not received after the second transmission time interval if the next pulse signal is not received after the first transmission time interval and the pulse signal is currently received. If the judgment result of the pulse signal judgment module 52 is yes, the data to be received determination module 53 is further configured to determine the data to be received based on the number of pulses included in the currently received pulse signal.
The data to be received determining module 53 is further configured to determine the data to be received according to a difference between the number of pulses included in all the received pulse signals and the minimum number of pulses.
The specific implementation manner of each module and unit in the apparatus of this embodiment may refer to the embodiment described in fig. 2, and will not be described herein.
The embodiment of the invention also provides an electric kettle which comprises a kettle body and a base. Wherein the kettle body comprises the signal transmitting device shown in fig. 4, and the base comprises the signal receiving device shown in fig. 5. By utilizing the signal sending method and the signal receiving method provided by the technical scheme, the kettle body can send the pulse signal to be sent to the base under the condition that the power and the signal are transmitted between the kettle body and the base in a wireless transmission mode, and the data to be sent corresponding to the pulse signal to be sent can be related data (such as water temperature data, water quantity data and the like) of liquid in the electric kettle. Furthermore, pulse signal transmission can be realized between the kettle body and the base through the wireless coil.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (15)

1. A signal transmission method, comprising:
determining the total pulse number of the current pulse signal to be transmitted according to the data to be transmitted;
if the total pulse number is smaller than or equal to a pulse number threshold value, the current pulse signal to be sent is sent to a receiving end;
if the total pulse number is larger than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
2. The method of claim 1, wherein dividing the current pulse signal to be transmitted into a plurality of sub-pulse signals and sequentially transmitting the sub-pulse signals to a receiving end comprises:
dividing the pulse signal to be transmitted into a plurality of sub-pulse signals according to the total pulse number of the pulse signal to be transmitted, so that the pulse number contained in each sub-pulse signal is smaller than the pulse number threshold value;
and transmitting the sub-pulse signals one by one until all the sub-pulse signals are transmitted to a receiving end, wherein a first transmission time interval is reserved between two adjacent sub-pulse signals.
3. The method of claim 1 or 2, further comprising:
after the current pulse signal to be sent is sent to a receiving end, if the next pulse signal to be sent is to be sent, after a second sending time interval, a trigger pulse signal is sent to the receiving end first.
4. The method of claim 1, wherein determining the current total number of pulses of the pulse signal to be transmitted based on the data to be transmitted comprises:
setting the minimum pulse number;
and determining the total pulse number of the current pulse signal to be transmitted according to the sum of the data to be transmitted and the minimum pulse number.
5. A signal receiving method, comprising:
after receiving the trigger pulse signal, receiving the pulse signal; wherein the pulse signal is transmitted to the receiving end by the transmitting end according to the signal transmitting method of any one of claims 1 to 4;
judging whether the next pulse signal is received after the pulse signal is currently received and a first transmission time interval passes;
if yes, continuing to receive the next pulse signal until the next pulse signal is received currently and is not received within a second transmission time interval, and determining that the data to be transmitted is received;
and determining the data to be transmitted based on the pulse numbers contained in all the received pulse signals.
6. The method as recited in claim 5, further comprising:
if the pulse signal is currently received and the next pulse signal is not received in the first transmission time interval, judging whether the next pulse signal is still not received in the second transmission time interval;
if yes, determining the data to be sent based on the number of pulses contained in the pulse signal received currently.
7. The method of claim 5, wherein the determining the data to be transmitted based on the number of pulses contained in all of the received pulse signals comprises:
and determining the data to be transmitted according to the difference between the pulse number contained in all the received pulse signals and the lowest pulse number.
8. A signal transmission apparatus, comprising:
the pulse number determining module is used for determining the total pulse number of the current pulse signal to be transmitted according to the data to be transmitted;
the pulse signal sending module is used for sending the current pulse signal to be sent to a receiving end if the total pulse number is smaller than or equal to a pulse number threshold value; if the total pulse number is larger than a pulse number threshold, dividing the current pulse signal to be sent into a plurality of sub-pulse signals and sequentially sending the sub-pulse signals to a receiving end; the number of pulses contained in each sub-pulse signal is smaller than the threshold value of the number of pulses.
9. The apparatus of claim 8, wherein the pulse signal transmission module comprises:
the pulse signal dividing unit is used for dividing the pulse signal to be transmitted into a plurality of sub-pulse signals according to the total pulse number of the pulse signal to be transmitted, so that the pulse number contained in each sub-pulse signal is smaller than the pulse number threshold value;
and the pulse signal transmitting unit is used for transmitting the sub-pulse signals one by one until all the sub-pulse signals are transmitted to the receiving end, and a first transmission time interval is reserved between two adjacent sub-pulse signals.
10. The apparatus of claim 8 or 9, wherein the pulse signal transmitting module is further configured to, after transmitting the current pulse signal to be transmitted to the receiving end, if a next pulse signal to be transmitted is to be transmitted, transmit a trigger pulse signal to the receiving end after a second transmission time interval has elapsed.
11. The apparatus of claim 8, wherein the pulse number determination module comprises:
a minimum pulse number setting unit for setting a minimum pulse number;
and the pulse number determining unit is used for determining the total pulse number of the current pulse signal to be transmitted according to the sum of the data to be transmitted and the minimum pulse number.
12. A signal receiving apparatus, comprising:
the pulse signal receiving module is used for receiving the pulse signal after receiving the trigger pulse signal; wherein the pulse signal is transmitted to the receiving end by the signal transmitting device according to any one of claims 8 to 11;
the pulse signal judging module is used for judging whether the next pulse signal is received after the first transmission time interval is passed when the pulse signal is received currently;
if the judgment result of the pulse signal judgment module is yes, the pulse signal receiving module continues to receive the next pulse signal;
and the data to be received determining module is used for determining that the data to be transmitted is completely received until the pulse signal is currently received and the next pulse signal is not received within the second transmission time interval, and determining the data to be transmitted based on the number of pulses contained in all the received pulse signals.
13. The apparatus of claim 12, wherein the pulse signal determination module is further configured to determine whether a next pulse signal has not been received over the second transmission time interval if the next pulse signal has not been received over the first transmission time interval and the pulse signal is currently received;
and if the judgment result of the pulse signal judgment module is yes, the data to be received determination module is further used for determining the data to be sent based on the number of pulses contained in the pulse signal which is currently received.
14. The apparatus of claim 12, wherein the means for determining the data to be transmitted is further configured to determine the data to be transmitted based on a difference between a number of pulses contained in all pulse signals received and a minimum number of pulses.
15. An electric kettle, includes kettle body and base, its characterized in that, the kettle body includes: the signal transmission device according to any one of claims 8 to 11; the base includes: the signal receiving apparatus of any one of claims 12 to 14.
CN201910917166.2A 2019-09-26 2019-09-26 Signal receiving and transmitting method and device and electric kettle Active CN112564820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910917166.2A CN112564820B (en) 2019-09-26 2019-09-26 Signal receiving and transmitting method and device and electric kettle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910917166.2A CN112564820B (en) 2019-09-26 2019-09-26 Signal receiving and transmitting method and device and electric kettle

Publications (2)

Publication Number Publication Date
CN112564820A CN112564820A (en) 2021-03-26
CN112564820B true CN112564820B (en) 2024-04-12

Family

ID=75029930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910917166.2A Active CN112564820B (en) 2019-09-26 2019-09-26 Signal receiving and transmitting method and device and electric kettle

Country Status (1)

Country Link
CN (1) CN112564820B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684725A (en) * 2013-12-03 2014-03-26 深圳市华星光电技术有限公司 Method for avoiding interference in pulse signal and terminal applicable thereto
CN108107777A (en) * 2017-12-11 2018-06-01 深圳市显控科技股份有限公司 A kind of pulse sending method and system
CN110224762A (en) * 2018-03-02 2019-09-10 科大国盾量子技术股份有限公司 A kind of impulsive synchronization method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9130625B2 (en) * 2013-12-03 2015-09-08 Shenzhen China Star Optoelectronics Technology Co., Ltd. Interference avoidance method of pulse signal and terminal applicable thereto

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684725A (en) * 2013-12-03 2014-03-26 深圳市华星光电技术有限公司 Method for avoiding interference in pulse signal and terminal applicable thereto
CN108107777A (en) * 2017-12-11 2018-06-01 深圳市显控科技股份有限公司 A kind of pulse sending method and system
CN110224762A (en) * 2018-03-02 2019-09-10 科大国盾量子技术股份有限公司 A kind of impulsive synchronization method and system

Also Published As

Publication number Publication date
CN112564820A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
KR101390431B1 (en) Method, device and terminal for determining transmission mode
EP3675398A1 (en) Check code processing method, electronic device, and storage medium
US8588328B2 (en) Information transmission system, information transmission device, information transmission method, and computer readable medium storing a program for information transmission
WO2018095181A1 (en) Data transmission method and device
US20170191818A1 (en) Position indicator and position indicating method
CN110635874B (en) Method and device for triggering SRS transmission
CN111835673B (en) Method and device for transmitting concealed data by modulating amplitude of LoRa signal
CN102891745A (en) Network equipment and terminal abnormality identification method thereof
US10608778B2 (en) Data transmission method and terminal
US20220094505A1 (en) Information sending method and apparatus, storage medium, and electronic apparatus
CN109644094B (en) Information processing method, communication device, and computer storage medium
CN115801118A (en) Interface compensation parameter setting method and communication single board
CN107241162B (en) Data transmission method and device
CN112564820B (en) Signal receiving and transmitting method and device and electric kettle
CN203574663U (en) Automatic baud rate detection module
CN107368446B (en) Transmission parameter adaptive data transmission method and device
CN108366407A (en) Service cell selection method and device
CN107423248B (en) Data frame header sending method and sending device
CN104796181A (en) Short-wave double-antenna digital communication system and automatic receiving verification method for the same
CN105813142A (en) Data frame transmission method, data frame transmission device, and data frame transmission system
CN107404319A (en) Data receiver method and device
CN107346998B (en) Data frame tail detection method and data transmission device
CN107346999B (en) data frame tail detection method and data transmission device
CN107359964A (en) Data transmission method for uplink and device
CN107359962B (en) Data receiving 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