Encoding method, decoding method, encoding device, decoding device and household appliance
An encoding method and technology of an encoding device are applied in the field of household appliances, which can solve problems such as increasing product production costs, and achieve the effects of reducing communication costs, improving handshake operations, and improving communication efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0084] figure 2 A schematic flowchart of a decoding method according to an embodiment of the present invention is shown.
[0085] Such as figure 2 As shown, the decoding method according to an embodiment of the present invention includes: Step 202, in the process of receiving the data frame generated by the encoding method described in any of the above technical solutions, determine the data frame according to the transmission frequency band and transmission time The data header; step 204, after determining the data header, detect the acquisition time of the byte header of the data frame, and record the time slice of any one data bit of the data frame; step 206, judge whether the preset time slice and the time slice Match; step 208, judge any bit of data according to the matching result to be binary data 0 or binary data 1, to complete the frame-by-frame decoding of the data frame, wherein the preset time slice includes the preset first corresponding to binary data 0 time ...
Embodiment 2
[0091] image 3 A schematic flowchart of a decoding method according to another embodiment of the present invention is shown.
[0092] Such as image 3 As shown, the decoding method according to another embodiment of the present invention includes: step 302, first initialize the single-chip microcomputer, enter the while loop, and start to interrupt and record the current pulse width frequency; step 304, judge whether to perform data processing according to the frequency of the data frame Transmission, if yes, skip the judgment data header inspection, if not, then judge whether the data header is established, where the transmission frequency band of the byte header and the data header are the same, judge by the transmission time of the two, M represents the length of the byte header , N is the length of the data header, both M and N are positive integers, and N≥3×M; step 306, if it is determined that the data header is established, then initialize all array registers, and sta...
Embodiment approach
[0117] (1) Large time slice of the data header: record how many frequencies have been recorded from the first correct data header frequency to the N-length correct data header frequency, including correct and wrong frequencies.
[0118] (2) The small time slice of the data header: the correct frequency number of the data header, the small time slice of the data header > the large time slice of the data header / 2.
[0119] (3) Byte large time slice: record how many frequencies have been recorded from the first correct byte frequency to the frequency of the M length correct byte, including correct and wrong frequencies.
[0120] (4) Small time slice of byte header: the correct frequency number of byte header, small time slice of byte header > large time slice of byte / 2.
[0121] (5) Small time slice of 0-byte header: the correct number of 0-byte frequency, small time slice of 0-byte header > big time slice of byte / 2.
[0122] (6) 1-byte header small time slice: the correct numbe...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



