An infrared receiving and decoding method, device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202210457703.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-27
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-04-27
AI Technical Summary
[0004]相关技术中,通过模拟电路对红外信号的解调去载波,只能对特定载波频率的红外信号进行解调,当接收到不同频率载波调制的红外信号时,需要对不同频率载波调制的红外信号分别设置相应的模拟电路,还需要调整模拟电路中滤波器的相关参数,以实现对不同频率载波调制的红外信号的解调,而由于大量新增的模拟电路的存在,会导致电路成本显著增加;并且会因红外信号对应载波的载波频率未知,难以自适应地对红外信号进行解调,无法完全匹配红外发射管;如果模拟电路切换或者相关参数调整不及时,还会影响红外信号的解调,导致无法对接收到的红外信号进行解码,进而无法及时获取红外信号中携带的信息
[0039]本申请实施例所提供的红外接收解码方法,接收到业务数据方发送的目标红外信号之后,获取设定时间范围内,目标红外信号的各电平持续时长;接着,在确定各电平持续时长,均不大于预设的第一持续时长阈值时,采用高低电平转换方式,对目标红外信号进行解调,得到目标数字基带信号;最终,基于目标数字基带信号的目标标识关联的目标解码方案,对目标数字基带信号进行解码,获得相应的业务数据。采用这种方式,在确定各电平持续时长,均不大于预设的第一持续时长阈值时,采用高低电平转换方式,对目标红外信号进行解调,得到目标数字基带信号,一方面,避免了相关技术中,需要对不同频率载波调制的红外信号分别设置相应的模拟电路,或者,调整模拟电路中滤波器的相关参数,从而导致兼容性较差的技术弊端;另一方面,避免了相关技术中,当载波频率未知时,需要消耗大量的时间进行模拟电路的切换,或者,调整模拟电路中滤波器的相关参数,这样,如果模拟电路切换或者相关参数调整不及时,会影响红外信号的解调,从而导致无法对接收到的红外信号进行解码,进而无法及时获取红外信号中携带的信息的技术缺陷,提高了红外接收解码的兼容性以及工作效率。
Smart Images

Figure CN117014076B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of infrared data processing technology, and in particular to an infrared receiving and decoding method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of the Internet of Things and sensor technology, infrared data communication technology has gradually become a widely used wireless connection technology, supported by numerous hardware and software platforms. It is a technology that achieves wireless data transmission and reception by converting between data electrical pulses and infrared light pulses.
[0003] like Figure 1 As shown, the infrared data communication technology currently used mainly consists of two parts: infrared transmission and infrared reception. In the process of infrared reception, infrared signals can be received through an infrared receiver head or a photodiode. The output signal of the photodiode needs to be demodulated to remove the carrier wave in the infrared signal and obtain the corresponding digital baseband signal. Then, the carrier-decarrier digital baseband signal is decoded to obtain the valid codeword.
[0004] In related technologies, demodulation and decarrier removal of infrared signals using analog circuits can only demodulate infrared signals with specific carrier frequencies. When receiving infrared signals modulated by carriers of different frequencies, corresponding analog circuits need to be set up for each frequency, and the relevant parameters of the filters in the analog circuits also need to be adjusted to achieve demodulation of infrared signals modulated by different frequency carriers. However, the presence of a large number of newly added analog circuits leads to a significant increase in circuit costs. Furthermore, because the carrier frequency corresponding to the infrared signal is unknown, it is difficult to adaptively demodulate the infrared signal, and it cannot be perfectly matched to the infrared emitter. If the analog circuit switching or related parameter adjustment is not timely, it will also affect the demodulation of the infrared signal, making it impossible to decode the received infrared signal and thus unable to obtain the information carried in the infrared signal in a timely manner. Summary of the Invention
[0005] This application provides an infrared receiving and decoding method, apparatus, electronic device, and storage medium to improve the compatibility and working efficiency of infrared receiving and decoding.
[0006] In a first aspect, embodiments of this application provide an infrared receiving and decoding method, the method comprising:
[0007] The system receives the target infrared signal sent by the service data provider and obtains the duration of each level of the target infrared signal within a set time range; the target infrared signal has periodic phase transition characteristics.
[0008] When the duration of each low level is determined to be no greater than the preset first duration threshold, a high-low level switching method is used to demodulate the target infrared signal to obtain the target digital baseband signal.
[0009] A target decoding scheme based on target identifier association of target digital baseband signal is used to decode target digital baseband signal and obtain corresponding service data.
[0010] Secondly, embodiments of this application also provide an infrared receiving and decoding device, the device comprising:
[0011] The receiving module is used to receive the target infrared signal sent by the service data provider and obtain the duration of each level of the target infrared signal within a set time range; wherein, the target infrared signal has periodic phase transition characteristics;
[0012] The demodulation module is used to demodulate the target infrared signal by high-low level switching when the duration of each level is determined to be no greater than a preset first duration threshold, so as to obtain the target digital baseband signal.
[0013] The decoding module is used to decode the target digital baseband signal based on the target identifier association of the target digital baseband signal to obtain the corresponding service data.
[0014] In an optional embodiment, before receiving the target infrared signal sent by the service data provider, the receiving module is further configured to:
[0015] The carrier frequency and duty cycle information of each original carrier are obtained respectively; wherein, the duty cycle information of each original carrier represents the ability of the corresponding original carrier to modulate the digital baseband signal.
[0016] For each raw carrier, perform the following operations:
[0017] Determine the frequency range to which the original carrier frequency belongs.
[0018] Based on the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, and combined with the corresponding frequency range, candidate identifiers for the original digital baseband signal modulated by the original carrier are generated.
[0019] The candidate identifier is associated with the decoding scheme of the corresponding original digital baseband signal.
[0020] In one optional embodiment, when it is determined that the duration of each low level is not greater than a preset first duration threshold, the demodulation module is specifically used to demodulate the target infrared signal by employing a high-low level switching method, wherein the demodulation module is used to:
[0021] When the duration of each level is determined to be no greater than a preset first duration threshold, the target digital baseband signal is converted from an initial low level to a high level; wherein, the duration of each level includes at least one low level duration and one high level duration.
[0022] When the duration of the low level of the detected target infrared signal is equal to the preset second duration threshold, the target digital baseband signal is switched from high level to low level.
[0023] In an optional embodiment, after the target digital baseband signal is converted from an initial low level to a high level, before the duration of the low level of the detected target infrared signal is equal to a preset second duration threshold, the demodulation module is further configured to:
[0024] If a low-level duration longer than a preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped.
[0025] If a high-level duration longer than a preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal will be stopped.
[0026] In one optional embodiment, when decoding the target digital baseband signal using a target decoding scheme associated with the target identifier of the target digital baseband signal to obtain the corresponding service data, the decoding module is specifically used for:
[0027] Based on the duty cycle set to which the target carrier of the modulated target digital baseband signal belongs, and the frequency range to which the carrier frequency of the target carrier belongs, the target identifier of the target digital baseband signal is selected from each candidate identifier; wherein, the duty cycle information of the target carrier represents the ability of the target carrier to modulate the digital baseband signal.
[0028] Select the target decoding scheme that matches the target identifier from the preset set of decoding schemes.
[0029] Based on the target decoding scheme, the target digital baseband signal is decoded to obtain the corresponding service data.
[0030] In one optional embodiment, when decoding the target digital baseband signal based on the target decoding scheme to obtain the corresponding service data, the decoding module is specifically used for:
[0031] Obtain the baseband characteristic information of the target digital baseband signal; wherein, the baseband characteristic information includes at least: the service data to be decoded.
[0032] Based on the parsing method set according to the corresponding baseband feature information, the service data to be decoded is parsed from the target digital baseband signal.
[0033] Based on the target decoding scheme, the business data to be decoded is decoded to obtain the corresponding business data.
[0034] Thirdly, this application provides an electronic device, the electronic device comprising:
[0035] Memory, used to store computer programs;
[0036] When the processor executes the computer program stored in the memory, it implements the steps of the infrared receiving and decoding method described above.
[0037] Fourthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the infrared receiving and decoding method described above.
[0038] Fifthly, a computer program product is provided, which, when invoked by a computer, causes the computer to execute the infrared receiving and decoding method steps as described in the first aspect.
[0039] The infrared receiving and decoding method provided in this application, after receiving the target infrared signal sent by the service data provider, obtains the duration of each level of the target infrared signal within a set time range; then, when it is determined that the duration of each level is not greater than a preset first duration threshold, a high-low level conversion method is used to demodulate the target infrared signal to obtain the target digital baseband signal; finally, based on the target decoding scheme associated with the target identifier of the target digital baseband signal, the target digital baseband signal is decoded to obtain the corresponding service data. This approach, when the duration of each level is determined to be no greater than a preset first duration threshold, uses a high-low level switching method to demodulate the target infrared signal, obtaining the target digital baseband signal. On the one hand, it avoids the technical drawbacks of related technologies, which require setting corresponding analog circuits for infrared signals modulated by different frequency carriers, or adjusting the relevant parameters of filters in analog circuits, leading to poor compatibility. On the other hand, it avoids the technical defects of related technologies, which require a lot of time to switch analog circuits or adjust the relevant parameters of filters in analog circuits when the carrier frequency is unknown. If the analog circuit switching or related parameter adjustment is not timely, it will affect the demodulation of the infrared signal, resulting in the inability to decode the received infrared signal and thus the inability to obtain the information carried in the infrared signal in a timely manner. This improves the compatibility and working efficiency of infrared reception and decoding. Attached Figure Description
[0040] Figure 1 An exemplary schematic diagram of an infrared data communication structure provided in an embodiment of this application is shown;
[0041] Figure 2 An exemplary schematic diagram of the system architecture applicable to the embodiments of this application is shown;
[0042] Figure 3 An exemplary illustration shows a flowchart of a method for associating candidate identifiers and decoding schemes provided in an embodiment of this application;
[0043] Figure 4 An exemplary embodiment of this application provides a method based on... Figure 3 Logic diagram;
[0044] Figure 5 An exemplary schematic diagram of an infrared receiving encoding method provided in an embodiment of this application is shown;
[0045] Figure 6 An exemplary schematic diagram of a demodulation method provided in an embodiment of this application is shown;
[0046] Figure 7 An exemplary schematic diagram of a decoding method provided in an embodiment of this application is shown;
[0047] Figure 8 An exemplary embodiment of this application provides a method based on... Figure 5 Logic diagram;
[0048] Figure 9 An example diagram illustrating a possible application scenario provided by an embodiment of this application is shown;
[0049] Figure 10 An exemplary schematic diagram of an infrared receiving encoding device provided in an embodiment of this application is shown;
[0050] Figure 11 An exemplary schematic diagram of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0051] To improve the compatibility and efficiency of infrared reception decoding, in this embodiment, after receiving the target infrared signal sent by the service data provider, based on a set time range, when the duration of each level of the target infrared signal is determined to be no greater than a preset first duration threshold, a high-low level conversion method is used to demodulate the target infrared signal to obtain the target digital baseband signal. Then, based on the target decoding scheme associated with the target identifier of the target digital baseband signal, the target digital baseband signal is decoded to obtain the corresponding service data.
[0052] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this invention.
[0053] It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. A connected to B can represent: A and B directly connected, or A and B connected through C. Furthermore, in the description of this application, terms such as "first" and "second" are used only for descriptive purposes and should not be construed as indicating or implying relative importance or order.
[0054] Figure 2 An exemplary system architecture diagram applicable to embodiments of this application is shown, such as... Figure 2 As shown, the system architecture includes: terminal devices (201a, 201b) and server 202. Server 202 and terminal devices (201a, 201b) can exchange information via wireless or wired communication.
[0055] For example, server 202 can access the network via cellular mobile communication technology to communicate with terminal devices (201a, 201b) and receive target infrared signals sent by terminal devices 201a and 201b respectively. The cellular mobile communication technology includes, for example, 5th Generation Mobile Networks (5G) technology.
[0056] Optionally, server 202 can access the network via short-range wireless communication to communicate with terminal devices (201a, 201b) and receive target infrared signals sent by terminal devices 201a and 201b respectively. The short-range wireless communication method may include, for example, Wireless Fidelity (Wi-Fi) technology.
[0057] This application embodiment does not limit the number of servers and other devices mentioned above. Figure 2 This description uses only one server as an example.
[0058] Terminal equipment (201a, 201b) is a device that can provide voice and / or data connectivity to users, including handheld terminal equipment with wireless connectivity, vehicle-mounted terminal equipment, etc.
[0059] For example, terminal devices can be: mobile phones, tablets, laptops, handheld computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminal devices in industrial control, wireless terminal devices in autonomous driving, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, or wireless terminal devices in smart homes, etc.
[0060] It should be noted that the terminal devices (201a, 201b) have corresponding infrared transmitting modules, which can send infrared signals modulated by a corresponding carrier to the server 202 via a data transmission serial port, such as the TXD port. The infrared transmitting module includes at least an infrared transmitting circuit and an infrared signal focusing device.
[0061] For ease of description and understanding, in this paper, the terminal devices (201a, 201b) can be service data senders that communicate via specific infrared signals or complete specific business operations. Different infrared encoding protocols employ different carrier frequencies, encoding methods, and frame formats.
[0062] Server 202 is used to receive the target infrared signal sent by the service data provider and obtain the duration of each level of the target infrared signal within a set time range. Then, when it is determined that the duration of each level is not greater than a preset first duration threshold, the target infrared signal is demodulated by a high-low level conversion method to obtain the target digital baseband signal. Finally, based on the target decoding scheme associated with the target identifier of the target digital baseband signal, the target digital baseband signal is decoded to obtain the corresponding service data.
[0063] It should be noted that, using the above method, the server can demodulate carriers of various frequencies through digital demodulation, and at the same time obtain the carrier frequency and duty cycle information of the corresponding carrier. Thus, by using the carrier frequency and duty cycle information, it can assist the decoding process of software decoding and realize infrared reception decoding of various infrared protocols.
[0064] Furthermore, based on the above system architecture, before receiving the target infrared signal sent by the service data provider, the candidate identifiers of each raw digital baseband signal are obtained, and each candidate identifier is associated with the decoding scheme set for the corresponding raw digital baseband signal. (See [reference needed]). Figure 3 As shown in the embodiment of this application, the method flow for associating each candidate identifier with the decoding scheme of the corresponding original digital baseband signal is as follows:
[0065] S301: Obtain the carrier frequency and duty cycle information of each original carrier.
[0066] Specifically, during step S301, the server can obtain the carrier frequency and duty cycle information of each original carrier from the feature information sets of each original carrier contained in the original database, based on the feature data extraction algorithm for duty cycle information and the feature data extraction algorithm for carrier frequency. The duty cycle information of each original carrier represents its ability to modulate digital baseband signals; that is, the larger the duty cycle information, the stronger the ability of the corresponding original carrier to modulate digital baseband signals; conversely, the smaller the duty cycle information, the weaker the ability of the corresponding original carrier to modulate digital baseband signals.
[0067] It should be noted that the target infrared signal has periodic phase transition characteristics, that is, the target infrared signal has periodic high and low level changes; in addition, in the embodiments of this application, the role of duty cycle information is not limited in any way.
[0068] Optionally, the duty cycle information of each of the above-mentioned original carriers can help the corresponding devices to simulate sending or receiving infrared signals during the infrared reception process.
[0069] Furthermore, for each original carrier, the following operations are performed to associate the corresponding candidate identifier with the decoding scheme set for the corresponding original digital baseband signal.
[0070] S302: Determine the frequency range to which the original carrier frequency belongs.
[0071] In one possible implementation, when executing step S302, after obtaining the carrier frequency of the original carrier, the server determines the frequency range corresponding to the carrier frequency of the original carrier. The frequency range can be divided into a first frequency range, a second frequency range, and a third frequency range in ascending order of carrier frequency. That is, carriers with carrier frequencies less than the first frequency threshold are determined as carriers in the first frequency range; carriers with carrier frequencies greater than or equal to the first frequency threshold and less than the second frequency threshold are determined as carriers in the second frequency range; and carriers with carrier frequencies greater than or equal to the second frequency threshold are determined as carriers in the third carrier range.
[0072] For example, based on the standard for infrared remote control transmitters, commonly used carrier frequencies are 33kHz, 36kHz, and 38kHz. Assuming a first frequency threshold of 36kHz and a second frequency threshold of 38kHz, the server can determine that original carriers with a carrier frequency less than 36kHz belong to the first frequency range; original carriers with a carrier frequency greater than or equal to 36kHz and less than 38kHz belong to the second frequency range; and original carriers with a carrier frequency greater than or equal to 38kHz belong to the third frequency range. For instance, assuming the original carrier frequency is 33kHz, it can be seen from the frequency ranges of the aforementioned frequency ranges that the original carrier frequency belongs to the first frequency range.
[0073] S303: Based on the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, and combined with the corresponding frequency range, generate candidate identifiers for the original digital baseband signal modulated by the original carrier.
[0074] Specifically, in step S303, after determining the frequency range to which the original carrier frequency belongs, the server determines the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, according to the preset duty cycle set division rules. It should be noted that the duty cycle sets can be divided into three sets in ascending order of carrier duty cycle: a first duty cycle set, a second duty cycle set, and a third duty cycle set. That is, carriers with a duty cycle less than the first duty cycle threshold are determined as carriers in the first duty cycle set; carriers with a duty cycle greater than or equal to the first duty cycle threshold and less than the second duty cycle threshold are determined as carriers in the second duty cycle set; and carriers with a frequency greater than or equal to the second duty cycle threshold are determined as carriers in the third duty cycle set. The first duty cycle threshold is used to distinguish whether the original carrier belongs to the first or second duty cycle set; the second duty cycle threshold is used to distinguish whether the original carrier belongs to the second or third duty cycle set.
[0075] It is worth noting that the preset duty cycle set division rules can be modified according to the actual situation. If there is no need to modify the duty cycle set division rules, the original carrier's duty cycle information can be automatically classified after it is obtained to determine the duty cycle set to which the original carrier's duty cycle information belongs. If the duty cycle set division rules need to be modified, the duty cycle set to which the original carrier's duty cycle information belongs can be determined after the duty cycle set division rules are modified.
[0076] For example, assuming the first duty cycle threshold is 1 / 3 and the second duty cycle threshold is 1 / 2, the server can determine that original carriers with a duty cycle less than 1 / 3 belong to the first duty cycle set; original carriers with a duty cycle greater than or equal to 1 / 3 and less than 1 / 2 belong to the second duty cycle set; and original carriers with a duty cycle greater than or equal to 1 / 2 belong to the third duty cycle set. For instance, assuming the original carrier's duty cycle is 1 / 4, according to the above duty cycle set division rules, this original carrier's duty cycle belongs to the first duty cycle set.
[0077] Furthermore, the server generates a unique candidate identifier for the original digital baseband signal modulated by the original carrier, based on the frequency range to which the original carrier frequency belongs and the duty cycle set to which the original carrier duty cycle information belongs.
[0078] For example, the server can select a unique candidate identifier from the candidate identifier library for the original digital baseband signal modulated by the corresponding original carrier, based on the frequency range and duty cycle set to which each original carrier belongs. It should be noted that, based on the frequency range and duty cycle set, the candidate identifier library includes nine categories of candidate identifiers.
[0079] For example, assuming the carrier frequency of the original carrier belongs to a first frequency range and the carrier duty cycle of the original carrier belongs to a first duty cycle set, a unique uppercase letter can be assigned to the original digital baseband signal modulated by the original carrier as a candidate identifier for the corresponding original digital baseband signal. For example, the uppercase letter "A" can be used as a candidate identifier for the original digital baseband signal modulated by the original carrier whose carrier frequency belongs to the first frequency range and whose carrier duty cycle belongs to the first duty cycle set.
[0080] S304: Associate the candidate identifier with the decoding scheme set for the corresponding original digital baseband signal.
[0081] Specifically, when executing step S304, after obtaining the candidate identifier of the original digital baseband signal modulated by the original carrier, the server selects a decoding scheme that matches the corresponding original digital baseband signal from the preset decoding scheme set, and associates the obtained candidate identifier with the decoding scheme set for the corresponding original digital baseband signal.
[0082] It is worth noting that the infrared encoding protocols used by various raw infrared signals have different carrier frequencies, encoding methods, and frame formats. Therefore, a decoding scheme that matches the corresponding raw digital baseband signal can be selected from a set of preset decoding schemes based on at least one of the above three characteristics.
[0083] Based on the above methods and steps, please refer to Figure 4 As shown, the server first obtains the carrier frequency and duty cycle information of each original carrier; then, for each original carrier, it performs the following operations: determines the frequency range to which the carrier frequency of the original carrier belongs, and the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, and generates a candidate identifier for the original digital baseband signal modulated by the original carrier by combining the corresponding frequency range, and then associates the candidate identifier with the decoding scheme set for the corresponding original digital baseband signal.
[0084] Furthermore, based on the aforementioned pre-processing, the server associates each candidate identifier with the decoding scheme set for the corresponding original digital baseband signal, and then... (See...) Figure 5 As shown in the embodiments of this application, the infrared receiving encoding method flow and specific steps are as follows:
[0085] S501: Receives the target infrared signal sent by the service data provider and obtains the duration of each level of the target infrared signal within a set time range.
[0086] Specifically, when executing step S501, after the server receives the target infrared signal sent by the business data provider, it first amplifies and filters the received target infrared signal to remove interference signals, and then obtains the duration of each level of the target infrared signal within a set time range; when the set time range is reached, the server starts a duration counter to record the duration of each level.
[0087] S502: When the duration of each level is determined to be no greater than the preset first duration threshold, a high-low level conversion method is used to demodulate the target infrared signal to obtain the target digital baseband signal.
[0088] Specifically, during step S502, when the server determines that the duration of each level is not greater than a preset first duration threshold, it switches the target digital baseband signal from an initial low level to a high level; when the low level duration of the detected target infrared signal is equal to a preset second duration threshold, it switches the target digital baseband signal from a high level to a low level; wherein, each level duration includes at least one low level duration and one high level duration, and there is no necessary relationship between the preset second duration threshold and the preset first duration threshold, both are reasonably adjusted to ensure that the target infrared signal meets the demodulation requirements.
[0089] It should be noted that the preset second duration threshold can be the sum of the durations of each level mentioned above, that is, the duration corresponding to the set time range, thereby ensuring that the high and low level fluctuation duration of the target infrared signal is equal to the high level duration of the corresponding target digital baseband signal. This ensures that the server can completely demodulate the target digital baseband signal modulated by the target carrier, and also avoids the problem that the demodulation time of the target infrared signal is too short, resulting in an incomplete demodulated target digital baseband signal carrying service data, which would lead to the inability to obtain complete service data, or that the demodulation time of the target infrared signal is too long, which would consume too much time and reduce demodulation efficiency.
[0090] In addition, the preset second duration threshold also ensures the effectiveness of the target infrared signal to a certain extent. That is, within the set time range, the sum of the durations of each level of the recorded target infrared signal is not greater than the preset second duration threshold.
[0091] Optionally, the server can determine whether the preset second duration threshold is equal to the duration corresponding to the preset time range by comparing the current duration counter count with the duration counter count within a pre-recorded set time range.
[0092] For example, assuming that within a set time range, the duration of each level is not greater than a preset first duration threshold of 2.5μs, and the sum of the durations of each level measured by the duration counter is 25μs, then the target digital baseband signal is converted from the initial low level to the high level; if the duration counter counts 25μs, then it can be known that the duration of the low level of the target infrared signal is equal to the preset second duration threshold, and thus the target digital baseband signal is converted from the high level to the low level.
[0093] It should be noted that after the server changes the target digital baseband signal from the initial low level to the high level, and until the duration of the low level of the detected target infrared signal is equal to the preset second duration threshold, the target digital baseband signal will continue to be output at a high level.
[0094] However, if a low-level duration longer than a preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped, that is, the target digital baseband signal stops maintaining a high-level output state; if a high-level duration longer than a preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped, that is, the target digital baseband signal stops maintaining a high-level output state.
[0095] Furthermore, the server uses a high-low level conversion method to demodulate the target infrared signal and then filters out the target carrier in the target infrared signal, thereby obtaining the corresponding target digital baseband signal.
[0096] Based on the above methods and steps, please refer to Figure 6As shown, the server operates in three main states during demodulation: 1. Check lead; 2. Measure; 3. Wait_end. In the Check lead state: within the configured time range `lead_cycles` for checking the validity of the target infrared signal, the server starts a `timeout_cnt` counter, recording the duration of each level of the target infrared signal. When all count values do not exceed the preset first duration threshold `TO`, the target infrared signal input is considered valid, and demodulation can proceed, causing the corresponding target digital baseband signal to output a high level. The server also records the corresponding time length `lead_cnt` within the set time range. `lead_cnt` serves as the delay for the target digital baseband signal to start outputting a high level and is used as a comparison value with the low-level duration `T_end` at the end of the demodulation process. In Measure state: Within the configured measurement time range of measure_cycles for acquiring the carrier frequency and duty cycle information of the target carrier corresponding to the target infrared signal; the server starts the measure_cnt counter to record the carrier frequency of the target carrier; and starts the measure_high_cnt counter to obtain the duty cycle information of the target carrier (e.g., carrier duty cycle). During this process, the timeout_cnt counter is still started to ensure that the duration of each level of the target infrared signal recorded within measure_cycles does not exceed the TO value, that is, the target infrared signal input is considered valid, the target digital baseband signal output is kept high, and timeout_cnt is reset at the last rising / falling edge transition within measure_cycles. It should be noted that the carrier duty cycle = measure_high_cnt / measure_cnt; the carrier frequency = f_demod*measure_cycles / measure_cnt, where f_demod is the frequency of the built-in clock. In the Wait_end state: The server waits for the carrier demodulation to finish. During this process, the timeout_cnt counter is still started to ensure that within the time range corresponding to the Wait_end state, the duration of each level of the target infrared signal does not exceed the TO value. In this case, the target infrared signal input is considered valid, and the target digital baseband signal output remains high. When the duration of the low level of the target infrared signal T_end does not exceed lead_cnt, the target infrared signal input is considered valid, and the target digital baseband signal output remains high. When the duration of the low level T_end equals lead_cnt, the carrier is considered to have ended, and the target digital baseband signal output changes from high to low. When the last rising / falling edge transition of the target infrared signal is detected, timeout_cnt is reset.
[0097] It should be noted that throughout the entire demodulation process described above, it is necessary to ensure that the duration of each level of the target infrared signal does not exceed the TO value to ensure that the target infrared signal is a valid signal. Optionally, the server can also set corresponding TO values for different states, or set corresponding TO values for the time corresponding to each time state. That is, in this embodiment, no restrictions are placed on the specific setting method of the TO value; in addition, as Figure 6 As shown, the time range corresponding to the Wait_end state can also include several else_cycles. During this time period, only the demodulation operation of the target infrared signal is performed.
[0098] It is worth noting that timeout_cnt is reset when the target infrared signal changes between rising and falling edges, and does not count continuously throughout the demodulation process.
[0099] S503: A target decoding scheme based on the target identifier association of the target digital baseband signal, which decodes the target digital baseband signal to obtain the corresponding service data.
[0100] Specifically, in step S503, the server selects the target identifier of the target digital baseband signal from among the candidate identifiers based on the duty cycle set to which the duty cycle information of the target carrier of the modulated target digital baseband signal belongs, and the frequency range to which the carrier frequency of the target carrier belongs; then, it selects the target decoding scheme that matches the target identifier from the preset decoding scheme set; wherein, the duty cycle information of the target carrier represents the ability of the target carrier to modulate the digital baseband signal.
[0101] For example, based on the three frequency ranges and three duty cycle sets mentioned above, candidate identifiers and their corresponding decoding schemes can be pre-determined after pairing, resulting in nine pairing methods. Table 1 provides six candidate identifiers and their corresponding decoding schemes for each pairing frequency and duty cycle. Assuming the target carrier frequency is 33kHz and the carrier duty cycle is 1 / 4, it can be seen that the target carrier frequency belongs to the first frequency range and the target carrier duty cycle belongs to the first duty cycle set. Therefore, the target identifier of the corresponding target digital baseband signal can be determined as "1" from the candidate identifiers. Then, based on the correspondence between candidate identifiers and decoding schemes in Table 1, the target decoding scheme associated with the target identifier and the target digital baseband signal setting is determined.
[0102] Table 1
[0103] Decoding scheme Re.Code.M1 Re.Code.M2 Re.Code.M3 Re.Code.M4 Re.Code.M5 Re.Code.M6
[0104] As can be seen from the table above, the server can determine the target decoding scheme corresponding to the target digital baseband signal of the target carrier modulation as Re.Code.M1 based on the obtained target identifier "1" and the correspondence between candidate identifiers and decoding schemes in Table 1.
[0105] Furthermore, after obtaining the target decoding scheme, the server decodes the target digital baseband signal based on the obtained target decoding scheme to obtain the corresponding service data.
[0106] It should be noted that the decoding operation used in the embodiments of this application can be either hardware decoding or software decoding; that is, there are no restrictions on the method used for the decoding operation.
[0107] In one possible implementation, see [link / reference] Figure 7 As shown, the specific process by which the server decodes the target digital baseband signal to obtain the corresponding service data according to the obtained target decoding scheme is as follows: obtaining the baseband feature information of the target digital baseband signal, wherein the baseband feature information includes at least the service data to be decoded; then parsing the service data to be decoded from the target digital baseband signal according to the parsing method set according to the corresponding baseband feature information; and finally decoding the service data to be decoded according to the target decoding scheme to obtain the corresponding service data.
[0108] It should be noted that the baseband feature information is merely one naming convention for the target digital baseband signal feature set, and there are no restrictions on the naming conventions for the aforementioned parameters.
[0109] Optionally, during the acquisition of baseband feature information, the server can perform edge detection on the target digital baseband signal, and count the high-level counter of the rising edge of the target digital baseband signal by clearing the latched low-level counter / high-level counter to 0, and count the low-level counter of the falling edge of the target digital baseband signal by clearing the latched high-level counter / low-level counter to 0.
[0110] Based on the above methods and steps, please refer to Figure 8 As shown, after receiving the target infrared signal sent by the service data provider, the server obtains the duration of each level of the target infrared signal within a set time range. When it is determined that the duration of each level is not greater than a preset first duration threshold, the server demodulates the target infrared signal using a high-low level conversion method to obtain the target digital baseband signal. Then, from a preset set of decoding schemes, the server determines the target decoding scheme associated with the target identifier of the target digital baseband signal. Based on the target decoding scheme, the server decodes the target digital baseband signal to obtain the corresponding service data. Each level duration includes at least one low level duration and one high level duration.
[0111] For example, see Figure 9 As shown, the service data provider sends a target infrared signal carrying the message "Query the weather conditions for the next week" to the server via an infrared transmitter. After receiving the target infrared signal, the server obtains the duration of each level of the target infrared signal during the period from low to high level (i.e., the rising edge of the signal). If the duration of each level is determined to be no greater than a preset first duration threshold, the server demodulates the target infrared signal using a high-low level conversion method, removes the target carrier of the modulated target digital baseband signal, and obtains the target digital baseband signal. Then, from a preset set of decoding schemes, the server determines the target decoding scheme associated with the target identifier of the target digital baseband signal. Based on the target decoding scheme, the server decodes the target digital baseband signal to obtain the service data X corresponding to "Query the weather conditions for the next week".
[0112] The infrared receiving and decoding method provided in this application, after receiving the target infrared signal sent by the service data provider, obtains the duration of each level of the target infrared signal within a set time range; then, when it is determined that the duration of each level is not greater than a preset first duration threshold, a high-low level conversion method is used to demodulate the target infrared signal to obtain the target digital baseband signal; finally, based on the target decoding scheme associated with the target identifier of the target digital baseband signal, the target digital baseband signal is decoded to obtain the corresponding service data. This approach, when the duration of each level is determined to be no greater than a preset first duration threshold, uses a high-low level switching method to demodulate the target infrared signal, obtaining the target digital baseband signal. On the one hand, it avoids the technical drawbacks of related technologies, which require setting corresponding analog circuits for infrared signals modulated by different frequency carriers, or adjusting the relevant parameters of filters in analog circuits, leading to poor compatibility. On the other hand, it avoids the technical defects of related technologies, which require a lot of time to switch analog circuits or adjust the relevant parameters of filters in analog circuits when the carrier frequency is unknown. If the analog circuit switching or related parameter adjustment is not timely, it will affect the demodulation of the infrared signal, resulting in the inability to decode the received infrared signal and thus the inability to obtain the information carried in the infrared signal in a timely manner. This improves the compatibility and working efficiency of infrared reception and decoding.
[0113] Based on the same technical concept, this application also provides an infrared receiving and decoding device, which can implement the above-described method flow of this application embodiment. For example... Figure 10 As shown, the infrared receiving and decoding device includes: a receiving module 1001, a demodulation module 1002, and a decoding module 1003, wherein:
[0114] The receiving module 1001 is used to receive the target infrared signal sent by the service data provider and obtain the duration of each level of the target infrared signal within a set time range; wherein the target infrared signal has periodic phase transition characteristics.
[0115] Demodulation module 1002 is used to demodulate the target infrared signal by high-low level switching when the duration of each level is determined to be no greater than a preset first duration threshold, so as to obtain the target digital baseband signal.
[0116] The decoding module 1003 is used to decode the target digital baseband signal based on the target identifier association of the target digital baseband signal to obtain the corresponding service data.
[0117] In an optional embodiment, before receiving the target infrared signal sent by the service data provider, the receiving module 1001 is further configured to:
[0118] The carrier frequency and duty cycle information of each original carrier are obtained respectively; wherein, the duty cycle information of each original carrier represents the ability of the corresponding original carrier to modulate the digital baseband signal.
[0119] For each raw carrier, perform the following operations:
[0120] Determine the frequency range to which the original carrier frequency belongs.
[0121] Based on the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, and combined with the corresponding frequency range, candidate identifiers for the original digital baseband signal modulated by the original carrier are generated.
[0122] The candidate identifier is associated with the decoding scheme of the corresponding original digital baseband signal.
[0123] In an optional embodiment, when the duration of each level is determined to be no greater than a preset first duration threshold, the demodulation module 1002 is specifically used to demodulate the target infrared signal by employing a high-low level switching method when the high-low level conversion method is used.
[0124] When the duration of each level is determined to be no greater than a preset first duration threshold, the target digital baseband signal is converted from an initial low level to a high level; wherein, the duration of each level includes at least one low level duration and one high level duration.
[0125] When the duration of the low level of the detected target infrared signal is equal to the preset second duration threshold, the target digital baseband signal is switched from high level to low level.
[0126] In an optional embodiment, after the target digital baseband signal is converted from an initial low level to a high level, before the duration of the low level of the detected target infrared signal is equal to a preset second duration threshold, the demodulation module 1002 is further configured to:
[0127] If a low-level duration longer than a preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped.
[0128] If a high-level duration longer than a preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal will be stopped.
[0129] In an optional embodiment, when decoding the target digital baseband signal using a target decoding scheme associated with the target identifier of the target digital baseband signal to obtain the corresponding service data, the decoding module 1003 is specifically used for:
[0130] Based on the duty cycle set to which the target carrier of the modulated target digital baseband signal belongs, and the frequency range to which the carrier frequency of the target carrier belongs, the target identifier of the target digital baseband signal is selected from each candidate identifier; wherein, the duty cycle information of the target carrier represents the ability of the target carrier to modulate the digital baseband signal.
[0131] Select the target decoding scheme that matches the target identifier from the preset set of decoding schemes.
[0132] Based on the target decoding scheme, the target digital baseband signal is decoded to obtain the corresponding service data.
[0133] In an optional embodiment, when decoding the target digital baseband signal based on the target decoding scheme to obtain the corresponding service data, the decoding module 1003 is specifically used for:
[0134] Obtain the baseband characteristic information of the target digital baseband signal; wherein, the baseband characteristic information includes at least: the service data to be decoded.
[0135] Based on the parsing method set according to the corresponding baseband feature information, the service data to be decoded is parsed from the target digital baseband signal.
[0136] Based on the target decoding scheme, the business data to be decoded is decoded to obtain the corresponding business data.
[0137] Based on the same technical concept, embodiments of this application also provide an electronic device that can implement the method flow provided in the above embodiments of this application. In one embodiment, the electronic device may be a server, a terminal device, or other electronic equipment. Figure 11As shown, the electronic device may include:
[0138] At least one processor 1101 and a memory 1102 connected to at least one processor 1101. In this embodiment, the specific connection medium between the processor 1101 and the memory 1102 is not limited. Figure 11 The example shown is the connection between processor 1101 and memory 1102 via bus 1100. Bus 1100 is... Figure 11 The connections between other components are shown in thick lines only and are not intended to be limiting. Bus 1100 can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 11 The term 1101 is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Alternatively, the processor 1101 may also be referred to as a controller; there is no restriction on the name.
[0139] In this embodiment, memory 1102 stores instructions executable by at least one processor 1101. By executing the instructions stored in memory 1102, at least one processor 1101 can execute an infrared receiving and decoding method as described above. Processor 1101 can implement... Figure 10 The functions of each module in the device shown.
[0140] The processor 1101 is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory 1102 and calling data stored in memory 1102, the processor can perform various functions and process data, thereby monitoring the device as a whole.
[0141] In one possible design, processor 1101 may include one or more processing units. Processor 1101 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 1101. In some embodiments, processor 1101 and memory 1102 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.
[0142] The processor 1101 can be a general-purpose processor, such as a CPU, digital signal processor, application-specific integrated circuit, field-programmable gate array, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the infrared receiving and decoding method disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0143] Memory 1102, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 1102 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 1102 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 1102 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0144] By designing and programming the processor 1101, the code corresponding to the infrared receiving and decoding method described in the foregoing embodiments can be embedded into the chip, thereby enabling the chip to execute the code during operation. Figure 5 The illustrated embodiment presents the steps of an infrared receiving and decoding method. How to design and program the processor 1101 is a technique well-known to those skilled in the art and will not be described further here.
[0145] Based on the same inventive concept, embodiments of this application also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform an infrared receiving and decoding method described above.
[0146] In some possible implementations, various aspects of the infrared receiving and decoding method provided in this application can also be implemented in the form of a program product, which includes program code that, when the program product is run on a device, causes the control device to perform the steps in an infrared receiving and decoding method according to various exemplary embodiments of this application as described above.
[0147] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0148] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0149] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0150] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
Claims
1. An infrared receiving and decoding method, characterized in that, include: The system receives a target infrared signal sent by a service data provider and acquires the duration of each level of the target infrared signal within a set time range; wherein the target infrared signal has periodic phase transition characteristics. When the duration of each level is determined to be no greater than a preset first duration threshold, a high-low level switching method is used to demodulate the target infrared signal to obtain the target digital baseband signal, including: When it is determined that the duration of each level is not greater than the preset first duration threshold, the target digital baseband signal is converted from the initial low level to the high level; wherein, the duration of each level includes at least: a low level duration and a high level duration; When the duration of the low level of the target infrared signal is equal to a preset second duration threshold, the target digital baseband signal is switched from high level to low level. Based on the duty cycle set to which the target carrier to which the target digital baseband signal modulates belongs, and the frequency range to which the carrier frequency of the target carrier belongs, a target identifier for the target digital baseband signal is selected from each candidate identifier. Based on the target decoding scheme associated with the target identifier of the target digital baseband signal, the target digital baseband signal is decoded to obtain the corresponding service data. The duty cycle information of the target carrier represents the ability of the target carrier to modulate the digital baseband signal.
2. The method as described in claim 1, characterized in that, Before the target infrared signal sent by the receiving service data party, the method further includes: The carrier frequency and duty cycle information of each original carrier are obtained respectively; wherein, the duty cycle information of each original carrier represents the ability of the corresponding original carrier to modulate the digital baseband signal; For each of the original carriers, perform the following operations respectively: Determine the frequency range to which the original carrier frequency belongs; Based on the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, and combined with the corresponding frequency range, candidate identifiers for the original digital baseband signal modulated by the original carrier are generated. The candidate identifier is associated with the decoding scheme corresponding to the original digital baseband signal setting.
3. The method as described in claim 1, characterized in that, After the target digital baseband signal is converted from an initial low level to a high level, before the low level duration of the detected target infrared signal is equal to the preset second duration threshold, the method further includes: If a low-level duration longer than the preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped. If a high-level duration greater than the preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped.
4. The method as described in claim 1 or 2, characterized in that, The target decoding scheme, based on the target identifier associated with the target digital baseband signal, decodes the target digital baseband signal to obtain corresponding service data, including: Select a target decoding scheme that matches the target identifier from a preset set of decoding schemes; Based on the target decoding scheme, the target digital baseband signal is decoded to obtain the corresponding service data.
5. The method as described in claim 4, characterized in that, The step of decoding the target digital baseband signal based on the target decoding scheme to obtain the corresponding service data includes: Obtain the baseband feature information of the target digital baseband signal; wherein, the baseband feature information includes at least: the service data to be decoded; Based on the parsing method set according to the baseband feature information, the service data to be decoded is parsed from the target digital baseband signal; Based on the target decoding scheme, the service data to be decoded is decoded to obtain the corresponding service data.
6. An infrared receiving and decoding device, characterized in that, include: The receiving module is used to receive the target infrared signal sent by the service data provider and obtain the duration of each level of the target infrared signal within a set time range; wherein the target infrared signal has periodic phase transition characteristics. The demodulation module is used to demodulate the target infrared signal by employing a high-low level switching method to obtain the target digital baseband signal when the duration of each level is determined to be no greater than a preset first duration threshold, including: When it is determined that the duration of each level is not greater than the preset first duration threshold, the target digital baseband signal is converted from the initial low level to the high level; wherein, the duration of each level includes at least: a low level duration and a high level duration; When the duration of the low level of the target infrared signal is equal to a preset second duration threshold, the target digital baseband signal is switched from high level to low level. The decoding module is used to select the target identifier of the target digital baseband signal from various candidate identifiers based on the duty cycle set to which the duty cycle information of the target carrier modulating the target digital baseband signal belongs, and the frequency range to which the carrier frequency of the target carrier belongs, and to decode the target digital baseband signal based on the target decoding scheme associated with the target identifier of the target digital baseband signal to obtain the corresponding service data; wherein, the duty cycle information of the target carrier represents the ability of the target carrier to modulate the digital baseband signal.
7. The apparatus as claimed in claim 6, characterized in that, Before the target infrared signal is sent by the receiving service data provider, the receiving module is further configured to: The carrier frequency and duty cycle information of each original carrier are obtained respectively; wherein, the duty cycle information of each original carrier represents the ability of the corresponding original carrier to modulate the digital baseband signal; For each of the original carriers, perform the following operations respectively: Determine the frequency range to which the original carrier frequency belongs; Based on the duty cycle set to which the duty cycle information corresponding to the original carrier belongs, and combined with the corresponding frequency range, candidate identifiers for the original digital baseband signal modulated by the original carrier are generated. The candidate identifier is associated with the decoding scheme corresponding to the original digital baseband signal setting.
8. The apparatus as claimed in claim 6, characterized in that, After the target digital baseband signal is converted from an initial low level to a high level, and before the low-level duration of the detected target infrared signal is equal to the preset second duration threshold, the demodulation module is further configured to: If a low-level duration longer than the preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped. If a high-level duration greater than the preset first duration threshold is detected in the target infrared signal, demodulation of the target infrared signal is stopped.
9. The apparatus as claimed in claim 6 or 7, characterized in that, When the target digital baseband signal is decoded to obtain corresponding service data using the target decoding scheme associated with the target identifier based on the target digital baseband signal, the decoding module is specifically used to: select a target decoding scheme that matches the target identifier from a preset set of decoding schemes; Based on the target decoding scheme, the target digital baseband signal is decoded to obtain the corresponding service data.
10. The apparatus as claimed in claim 9, characterized in that, When decoding the target digital baseband signal based on the target decoding scheme to obtain the corresponding service data, the decoding module is specifically used for: Obtain the baseband feature information of the target digital baseband signal; wherein, the baseband feature information includes at least: the service data to be decoded; Based on the parsing method set according to the baseband feature information, the service data to be decoded is parsed from the target digital baseband signal; Based on the target decoding scheme, the service data to be decoded is decoded to obtain the corresponding service data.
11. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1-5.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Learning method for infrared signals
CN103400494A
Adaptive infrared signal decoding method, computer device and control device thereof
CN109064733A