Infrared code modification method and device based on decoder, equipment and storage medium

By acquiring infrared encoding modulation type and appliance type information through a decoder, and generating a test encoding set using a preset encoding library, the problem of learning remote controls requiring cooperation from other remote controls is solved. This enables infrared encoding modification without the need for other remote controls, improving the adaptability and practicality of the remote control.

CN117058865BActive Publication Date: 2025-12-16GUANGZHOU ANJU INTERNET OF THINGS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311265795.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-12-16
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

Existing learning remote controls require pairing with other remote controls to modify infrared codes; if no other remote control can be found, the learning function is lost.

Method used

The infrared encoding modulation type and appliance type information are obtained by the decoder. A test encoding set is generated using a preset encoding library, and an infrared test is conducted to modify the infrared encoding of the remote control.

Benefits of technology

The infrared code of the remote control can be modified without the need for other remote controls, which improves the compatibility and practicality of the remote control and avoids the risk of the remote control losing its function due to damage to the object being controlled.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117058865B_ABST
    Figure CN117058865B_ABST
Patent Text Reader

Abstract

The application relates to an infrared code modification method and device based on a decoder, equipment and a storage medium. The method comprises the following steps: acquiring infrared code modulation type information, obtaining a first code characteristic value for distinguishing code formats according to the infrared code modulation type information; acquiring electric appliance type information, obtaining a second code characteristic value for distinguishing remote control objects according to the electric appliance type information; acquiring a test code set for performing an infrared test from a preset code library according to the first code characteristic value and the second code characteristic value; and obtaining modified infrared codes based on the test code set for performing the infrared test. The application provides a method for modifying infrared codes of a remote controller without other remote controllers.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of infrared remote control, and in particular to an infrared code modification method and device based on a decoding instrument, an equipment and a storage medium. BACKGROUND

[0002] At present, as a wireless control technology, infrared remote control is applied in all aspects of people's daily life, and its technology has also developed relatively maturely. For example, a learning type remote controller on the market can learn and record the functions of other remote controllers and save them, so that the learning type remote controller can realize the remote control functions of other remote controllers.

[0003] The related learning type remote controller needs to cooperate with other remote controllers to modify the infrared codes of the learning type remote controller, and thus realize the remote control functions of different electric appliances. However, if the other remote controllers cannot be found, the learning function of the learning type remote controller is lost.

[0004] The related technical solutions in the above have the following defects: if the other remote controllers cannot be found, the learning function of the learning type remote controller is lost. SUMMARY

[0005] In order to provide a method for modifying the infrared codes of a remote controller without other remote controllers, the present application provides an infrared code modification method and device based on a decoding instrument, an equipment and a storage medium.

[0006] In the first aspect, the above application aims to achieve the following technical solutions:

[0007] An infrared code modification method based on a decoding instrument, the infrared code modification method based on a decoding instrument comprising:

[0008] Obtaining infrared code modulation type information, and obtaining a first encoding characteristic value for distinguishing encoding formats according to the infrared code modulation type information;

[0009] Obtaining electric appliance type information, and obtaining a second encoding characteristic value for distinguishing remote control objects according to the electric appliance type information;

[0010] According to the first encoding characteristic value and the second encoding characteristic value, obtaining a test encoding set for infrared test from a preset encoding library;

[0011] Based on the test encoding set for infrared test, obtaining modified infrared codes.

[0012] By adopting the technical scheme, the encoding and modulation mode of the infrared signal includes the mode of separately and complexly modulating the amplitude, phase, frequency, pulse width or duty cycle of the infrared radiation signal, different infrared signal modulation modes are selected according to the complexity of the remote control function, after the decoding instrument receives and identifies the infrared signal, the first encoding characteristic value obtained represents the modulation mode of the infrared code of the remote controller, and the second encoding characteristic value represents the type of the remote control object, for example, a television and an air conditioner, and the functions required to be implemented by the same type of electrical appliances are basically consistent, therefore, the infrared code of the same type of electrical appliances is used to perform infrared test on the remote control object, that is, the modulated infrared signal is emitted to the remote control object, so as to judge the infrared code matched with the remote control object, and based on this, the infrared code of the remote controller can be modified without other remote controllers.

[0013] In a preferred example, the application can be further configured to, before the infrared code modulation type is acquired and the first encoding characteristic value is obtained according to the infrared code modulation type, the infrared code modification method based on the decoding instrument further includes:

[0014] Acquiring infrared code modification instruction information, and triggering a characteristic value acquisition instruction according to the infrared code modification instruction information.

[0015] By adopting the technical scheme, the decoding instrument receives the infrared signal emitted by the remote controller and decodes the infrared signal, and in the information obtained after decoding, in addition to the conventional waveform and carrier and other information, there are the first encoding characteristic value for distinguishing the encoding format and the second encoding characteristic value for distinguishing the remote control object, based on the first encoding characteristic value and the second encoding characteristic value, the infrared code substantially matched with the remote control object can be screened from the preset encoding library, and the efficiency of modifying the infrared code of the remote controller is improved.

[0016] In a preferred example, the application can be further configured to: the infrared code modulation type information is acquired, and the first encoding characteristic value for distinguishing the encoding format is obtained according to the infrared code modulation type information, specifically including:

[0017] Based on the characteristic value acquisition instruction, the infrared code modulation type information is acquired;

[0018] According to the encoding modulation type information, the infrared code format information is acquired;

[0019] According to the infrared code format information, the first encoding characteristic value for distinguishing the encoding format is obtained.

[0020] By adopting the technical scheme, the standards of modulated infrared signals are different, and the formats of obtained infrared codes are also different. The infrared code format information indicates the standard of the modulated infrared signal adopted by the remote controller. According to the standard of the modulated infrared signal, the obtained infrared code in the preset code library should also be based on the standard of the modulated infrared signal. Therefore, by the first code characteristic value, the format of the infrared code is unified, and the situation that the obtained infrared codes have different basic formats and further cause test errors is avoided.

[0021] In a preferred example, the application can be further configured to: obtain the appliance type information, obtain a second code characteristic value for distinguishing remote control objects according to the appliance type information, and specifically include:

[0022] Obtain the appliance type information, and obtain a remote control function information table according to the appliance type information.

[0023] Obtain the remote control function information table and a preset coefficient table corresponding to the remote control function, and obtain a second code characteristic value for distinguishing remote control objects. The second code characteristic value includes a difference function tag for identifying infrared codes with different functions.

[0024] By adopting the technical scheme, for the same type of appliance, the functions of different models of appliances will also be different, and some appliances also have some special functions, such as voice wake-up function, etc. The second code characteristic value represents remote control objects with different functions. Only the remote control objects are distinguished according to the different functions between each other, the data amount of the obtained infrared code is reduced, and only the test according to the different functions between each other is needed during the infrared test, thereby improving the efficiency of the infrared test.

[0025] In a preferred example, the application can be further configured to: obtain a test code set for infrared test from a preset code library according to the first code characteristic value and the second code characteristic value, and specifically include:

[0026] Obtain a first test code set from a preset code library according to the first code characteristic value.

[0027] Obtain a test code set for infrared test from the first test code set according to the second code characteristic value and the difference function tag.

[0028] By adopting the technical scheme, the first test code set includes infrared codes in the same code format as the original remote control object of the remote controller, the infrared codes of the same electric appliance type as the original remote control object of the remote controller are obtained from the first test code set according to the second code characteristic value, and the part of the infrared codes of the remote control objects with different functions for realizing different functions is extracted from the infrared codes of the remote control objects with different functions, and the part of the infrared codes is arranged in the front row in sequence, so as to obtain the test code set for performing infrared test. The remote controller can judge the infrared code matched with the remote control object after the remote controller performs the infrared test according to the test code set for performing infrared test.

[0029] In a preferred example, the application can be further configured to: obtain the modified infrared code based on the test code set for performing infrared test, specifically comprising:

[0030] Trigger the infrared test instruction based on the test code set for performing infrared test, and obtain the modified test code for indicating the matching success;

[0031] Obtain the modified infrared code corresponding to all keys of the remote controller from the preset code library according to the modified test code.

[0032] By adopting the technical scheme, the infrared test refers to that the remote controller transmits infrared signals to the remote control object according to the infrared codes in the test code set, and judges whether the corresponding infrared code is matched correctly according to the response of the remote control object, so as to realize the modification of the infrared code of the remote controller, so that the remote controller can be adapted to and applied to various different remote control objects, and the situation that the remote controller loses the function when the corresponding remote control object is damaged is avoided, and the practicability of the remote controller is improved.

[0033] In a second aspect, the above application aims to achieve the following technical scheme:

[0034] An infrared code modification device based on a decoding instrument, comprising:

[0035] A first code characteristic value acquisition module is configured to acquire infrared code modulation type information, and obtain a first code characteristic value for distinguishing code formats according to the infrared code modulation type information;

[0036] A second code characteristic value acquisition module is configured to acquire electric appliance type information, and obtain a second code characteristic value for distinguishing remote control objects according to the electric appliance type information;

[0037] A test code set acquisition module is configured to acquire a test code set for performing infrared test from a preset code library according to the first code characteristic value and the second code characteristic value;

[0038] The infrared code modification obtaining module is modified to obtain a modified infrared code based on the test code set used for the infrared test.

[0039] Optionally, the infrared code modification device based on the decoder further comprises:

[0040] The characteristic value obtaining instruction module is configured to obtain infrared code modification instruction information and trigger a characteristic value obtaining instruction according to the infrared code modification instruction information.

[0041] In a third aspect, the above-mentioned application purposes are achieved by the following technical solutions:

[0042] A computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned infrared code modification method based on the decoder when executing the computer program.

[0043] In a fourth aspect, the above-mentioned application purposes are achieved by the following technical solutions:

[0044] A computer readable storage medium stores a computer program, and the computer program implements the steps of the above-mentioned infrared code modification method based on the decoder when executed by a processor.

[0045] In summary, the present application has at least one of the following beneficial technical effects:

[0046] 1. The same type of infrared code of an electric appliance is used to perform an infrared test on a remote control object, that is, a modulated infrared signal is emitted to the remote control object to determine the matching infrared code of the remote control object, and based on this, the infrared code of the remote control object can be modified without using other remote controls.

[0047] 2. The remote control object can determine the matching infrared code of the remote control object after performing an infrared test according to a test code set used for the infrared test.

[0048] 3. Whether the corresponding infrared code is correct is determined according to the response of the remote control object, thereby modifying the infrared code of the remote control object, making the remote control object applicable to a variety of different remote control objects, avoiding the situation that the remote control object loses its function when the corresponding remote control object is damaged, and improving the practicability of the remote control object. BRIEF DESCRIPTION OF DRAWINGS

[0049] Figure 1 is the first implementation flowchart of the infrared code modification method based on the decoder in the embodiments of the present application.

[0050] Figure 2is a second implementation flowchart of the infrared code modification method based on a decoder in the embodiment of the application;

[0051] Figure 3 is an implementation flowchart of S10 of the infrared code modification method based on a decoder in the embodiment of the application;

[0052] Figure 4 is an implementation flowchart of S20 of the infrared code modification method based on a decoder in the embodiment of the application;

[0053] Figure 5 is an implementation flowchart of S30 of the infrared code modification method based on a decoder in the embodiment of the application;

[0054] Figure 6 is an implementation flowchart of S40 of the infrared code modification method based on a decoder in the embodiment of the application;

[0055] Figure 7 is a principle block diagram of the infrared code modification device based on a decoder in the embodiment of the application;

[0056] Figure 8 is an internal structure diagram of the computer equipment based on a decoder in the embodiment of the application. DETAILED DESCRIPTION

[0057] The following will be described in detail with reference to the accompanying drawings. Figures 1-8 The application will be further described in detail.

[0058] In an embodiment, as shown in the accompanying drawings, Figure 1 The application discloses an infrared code modification method based on a decoder, specifically comprising the following steps:

[0059] S10: acquiring infrared code modulation type information, and obtaining a first encoding characteristic value for distinguishing an encoding format according to the infrared code modulation type information.

[0060] In the embodiment, the infrared code modulation type information refers to modulation mode information of the infrared code of the remote controller. The first encoding characteristic value refers to a value for distinguishing the encoding format of the infrared code.

[0061] Specifically, the decoder has a function of identifying an infrared signal, therefore, the infrared signal is identified by the decoder, according to the identification result, information representing the infrared code of the infrared signal of the remote controller is acquired, including infrared code modulation type information representing the modulation mode of the infrared code, in the embodiment, the infrared code modulation type information includes single modulation type information and composite modulation type information, according to the infrared code modulation type information, a first encoding characteristic value for distinguishing the modulation mode and the encoding format of the infrared code is obtained.

[0062] S20: Obtain the appliance type information, and obtain the second encoding characteristic value for distinguishing the remote control object according to the appliance type information.

[0063] In the embodiment, the appliance type information refers to information indicating the appliance type of the original remote control object of the remote controller. The second encoding characteristic value refers to a value for distinguishing the appliance type of the remote control object.

[0064] Specifically, the information indicating the appliance type of the original remote control object of the remote controller is obtained according to the information obtained after the decoding instrument identifies the infrared signal of the remote controller, that is, the appliance type information. According to the appliance type information and the preset second characteristic value library, the second encoding characteristic value for distinguishing the appliance type of the remote control object corresponding to the appliance type information is obtained.

[0065] S30: Obtain the test encoding set for performing the infrared test from the preset encoding library according to the first encoding characteristic value and the second encoding characteristic value.

[0066] In the embodiment, the test encoding set refers to a set of infrared encodings for performing the infrared test.

[0067] Specifically, the test encoding set corresponding to the first encoding characteristic value and the second encoding characteristic value is obtained from the preset encoding library according to the modulation mode of the infrared encoding of the remote controller indicated by the first encoding characteristic value and the appliance type of the remote control object corresponding to the remote controller indicated by the second encoding characteristic value. The test encoding set includes a plurality of different infrared encodings for performing the infrared test.

[0068] S40: Obtain the modified infrared encoding based on the test encoding set for performing the infrared test.

[0069] In the embodiment, the modified infrared encoding refers to the modified infrared encoding of the remote controller.

[0070] Specifically, after the test encoding set is obtained, the infrared encodings in the test encoding set are written into the remote controller by the tester, and the remote controller is used to emit infrared rays to the remote control object. When the remote control object responds to the remote controller, the infrared encoding in the test encoding set that matches the infrared encoding of the remote control object is obtained as the modified infrared encoding.

[0071] In an embodiment, as shown in FIG. 1, before step S10, the infrared encoding modification method based on the decoding instrument further includes: Figure 2

[0072] S01: Obtain the infrared encoding modification instruction information, and trigger the characteristic value acquisition instruction according to the infrared encoding modification instruction information.

[0073] ​In this embodiment, the infrared code modification instruction information refers to the instruction information for modifying the infrared code of the remote control. The feature value acquisition instruction refers to the instruction information for the decoder to decode the infrared signal of the remote control.

[0074] Specifically, before modifying the infrared code of the remote control, the decoder is triggered with an instruction to modify the infrared code, that is, the function of receiving infrared signals of the decoder is turned on, and the remote control is used to transmit an infrared signal to the decoder. After the decoder receives the infrared signal, the remote control is triggered with an instruction to modify the infrared code, and the infrared code modification instruction information is obtained. The decoder recognizes and decodes the infrared signal, that is, it triggers the feature value acquisition instruction.

[0075] In one embodiment, such as Figure 3 As shown, in step S10, infrared coding modulation type information is obtained, and based on the infrared coding modulation type information, a first coding feature value used to distinguish coding formats is obtained, specifically including:

[0076] S11: Obtain infrared coded modulation type information based on feature value acquisition instructions.

[0077] Specifically, based on the feature value acquisition instruction, the decoder decodes the infrared signal of the remote control and obtains information including the modulation method of the infrared signal's infrared code, i.e., the infrared code modulation type information.

[0078] S12: Obtain infrared encoding format information based on the encoding modulation type information.

[0079] In this embodiment, infrared encoding format information refers to the encoding protocol information of infrared encoding.

[0080] Specifically, while acquiring the infrared coding modulation type information, the infrared coding protocol information of the infrared signal, i.e., the infrared coding format information, is also acquired.

[0081] S13: Based on the infrared coding format information, obtain the first coding feature value used to distinguish the coding format.

[0082] Specifically, based on the infrared encoding protocol information represented by the infrared encoding format information and the infrared encoding modulation method information represented by the infrared encoding modulation type information, and based on the preset first encoding rule, a first encoding feature value for distinguishing encoding formats is obtained.

[0083] In one embodiment, such as Figure 4 As shown, in step S20, appliance type information is obtained, and based on the appliance type information, a second coded feature value used to distinguish remote-controlled objects is obtained, specifically including:

[0084] S21: Obtain appliance type information, and based on the appliance type information, obtain the remote control function information form.

[0085] In this embodiment, the remote control function information form refers to the form containing the functions of electrical appliances of the same type as the original remote control object.

[0086] Specifically, the appliance type information representing the appliance type of the original remote control object is obtained. Based on the appliance type information, the remote control function information corresponding to the appliance type information is obtained from the preset function library, and the obtained remote control function information is used to generate a remote control function information form.

[0087] S22: Based on the remote control function information form and the preset coefficient table corresponding to the remote control function, obtain the second coded feature value used to distinguish the remote control object. The second coded feature value includes a differential function label used to identify infrared codes with different functions.

[0088] In this embodiment, the differential function label refers to label information that indicates different functions.

[0089] Specifically, based on the remote control function represented by the remote control function information form, a second coded feature value for distinguishing remote control objects is obtained by referring to the corresponding coefficient table. The coefficient table includes the coefficients for each remote control function in the corresponding remote control function information form. The coefficient table can be updated at any time to delete damaged devices. Therefore, the coefficients corresponding to the remote control function information form in the coefficient table are extracted and used as the second coded feature value. The second coded feature value includes a differential function tag for identifying infrared codes with different functions. This differential function tag is associated with some coefficients in the coefficient table.

[0090] Furthermore, in the coefficient table, the coefficient is determined based on the length of the infrared code in the corresponding coding library for each coefficient; the shorter the length of the infrared code, the larger the corresponding coefficient.

[0091] In one embodiment, such as Figure 5 As shown, in step S30, based on the first and second coding feature values, a test code set for conducting infrared experiments is obtained from a preset coding library, specifically including:

[0092] S31: Obtain the first experimental code set from the preset code library based on the first coding feature value.

[0093] In this embodiment, the first experimental code set refers to the set of codes obtained based on the first coding feature value.

[0094] Specifically, after obtaining the first coding feature value, a first test code corresponding to the first coding feature value is obtained from a preset coding library based on the first coding feature value, and a set of first test codes is generated, namely the first test code set. The first test code set represents the set of infrared codes received by electrical appliances of the same type as the original remote control object.

[0095] S32: obtaining a test code set for carrying out the infrared test from the first test code set according to the second encoding characteristic value and the difference function label.

[0096] Specifically, the test code for carrying out the infrared test is obtained from the first test code set according to the second encoding characteristic value for distinguishing the remote control object, and a set of test codes is generated, the test code associated with the difference function label is arranged in the front according to the difference function label, and the test codes are arranged in descending order according to the numerical value of the second encoding characteristic value, so as to obtain the test code set with the order.

[0097] In an embodiment, as shown in FIG. 4, in step S40, the modified infrared code is obtained based on the test code set for carrying out the infrared test, specifically including: Figure 6

[0098] S41: triggering the infrared test instruction based on the test code set for carrying out the infrared test, and obtaining the modified test code for indicating the matching success.

[0099] In the embodiment, the infrared test instruction refers to the instruction information for emitting the infrared signal to the remote control object based on the infrared code in the test code set.

[0100] Specifically, the infrared code in the test code set is input to the remote controller by the tester according to the test code set for carrying out the infrared test, and the infrared signal is emitted to the remote control object by using the remote controller, that is, the infrared test instruction is triggered. In the embodiment, after the decoding instrument obtains the test code set, the tester inputs the infrared code in the test code set to the remote controller in the following manner: the tester uses the infrared emission function of the decoding instrument to emit the infrared signal to the remote controller in sequence according to the order of the test code set. The tester judges that the infrared code corresponding to the currently emitted infrared signal is the infrared code matching the remote control object according to the response of the remote control object, and takes the infrared code as the modified test code.

[0101] Further, when the infrared test instruction is triggered, that is, when the tester inputs the infrared code in the test code set to the remote controller, only the part of the infrared code indicating the different function of the infrared code marked with the difference function label is input to the remote controller for the function key of the remote controller, and the part of the infrared code indicating the different function of the infrared code marked with the difference function label is input to the remote controller for each function key. If the infrared codes marked with the difference function label are all not matched with the remote control object, the remaining infrared codes in the test code set are input to the remote controller.

[0102] S42: obtaining the modified infrared code corresponding to all the keys of the remote controller from the preset code library according to the modified test code. ​

[0103] Specifically, when it is judged that the infrared code corresponding to the current transmitted infrared signal is the infrared code matching the remote control object, the infrared code is taken as a modification test code, and the complete infrared code of the remote control object corresponding to the modification test code is obtained from the preset code library, and the complete infrared code of the modification test code is taken as a modification infrared code.

[0104] Further, after obtaining the modification infrared code, the modification infrared code is input into the remote control by the tester.

[0105] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0106] In an embodiment, an infrared code modification device based on a decoder is provided, which corresponds to the infrared code modification method based on the decoder in the above embodiment. As shown in the figure, the infrared code modification device based on the decoder includes a first code characteristic value acquisition module, a second code characteristic value acquisition module, a test code set acquisition module, and a modification infrared code acquisition module. The detailed description of each functional module is as follows: Figure 7

[0107] The first code characteristic value acquisition module is configured to obtain infrared code modulation type information, and obtain a first code characteristic value for distinguishing the code format according to the infrared code modulation type information;

[0108] The second code characteristic value acquisition module is configured to obtain appliance type information, and obtain a second code characteristic value for distinguishing the remote control object according to the appliance type information;

[0109] The test code set acquisition module is configured to obtain a test code set for infrared test from the preset code library according to the first code characteristic value and the second code characteristic value;

[0110] The modification infrared code acquisition module is configured to obtain a modification infrared code based on the test code set for infrared test.

[0111] Optionally, the infrared code modification device based on the decoder further includes:

[0112] The characteristic value acquisition instruction module is configured to obtain infrared code modification instruction information, and trigger the characteristic value acquisition instruction according to the infrared code modification instruction information.

[0113] Optionally, the first code characteristic value acquisition module includes:

[0114] ​The infrared code modulation type information acquisition submodule is configured to acquire infrared code modulation type information based on the characteristic value acquisition instruction.

[0115] The infrared code format information acquisition submodule is configured to acquire infrared code format information according to the code modulation type information.

[0116] The first code characteristic value acquisition submodule is configured to obtain a first code characteristic value for distinguishing code formats according to the infrared code format information.

[0117] Optionally, the second code characteristic value acquisition module includes:

[0118] The remote control function information table acquisition submodule is configured to acquire appliance type information and acquire a remote control function information table according to the appliance type information.

[0119] The second code characteristic value acquisition submodule is configured to obtain a second code characteristic value for distinguishing remote control objects according to the remote control function information table and a preset coefficient table corresponding to remote control functions, and the second code characteristic value includes a difference function tag for identifying infrared codes with different functions.

[0120] Optionally, the test code set acquisition module includes:

[0121] The first test code set acquisition submodule is configured to acquire a first test code set from a preset code library according to the first code characteristic value.

[0122] The test code set acquisition submodule is configured to acquire a test code set for infrared testing from the first test code set according to the second code characteristic value and the difference function tag.

[0123] Optionally, the modified infrared code acquisition module includes:

[0124] The modified test code acquisition submodule is configured to trigger an infrared test instruction based on the test code set for infrared testing and obtain a modified test code indicating a successful match.

[0125] The modified infrared code acquisition submodule is configured to acquire a modified infrared code corresponding to all keys of the remote controller from a preset code library according to the modified test code.

[0126] The specific limitations of the decoding instrument-based infrared code modification device can refer to the limitations of the decoding instrument-based infrared code modification method described above, which will not be repeated here. Each module in the above decoding instrument-based infrared code modification device can be implemented by software, hardware, and a combination thereof, in whole or in part. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.

[0127] In one embodiment, a computer device, which can be a server, is provided, and an internal structure diagram of the computer device can be as shown in Figure 8 The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The database of the computer device is configured to store a test code set, a modified infrared code, a first code feature value, and a second code feature value. The network interface of the computer device is configured to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement a decoding instrument-based infrared code modification method.

[0128] In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor implements the following steps when executing the computer program:

[0129] Obtain infrared code modulation type information, and obtain a first code feature value for distinguishing a code format according to the infrared code modulation type information;

[0130] Obtain appliance type information, and obtain a second code feature value for distinguishing a remote control object according to the appliance type information;

[0131] Obtain a test code set for infrared testing from a preset code library according to the first code feature value and the second code feature value;

[0132] Obtain a modified infrared code based on the test code set for infrared testing.

[0133] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the following steps:

[0134] acquire infrared code modulation type information, and acquire a first code characteristic value for distinguishing code formats according to the infrared code modulation type information;

[0135] acquire appliance type information, and acquire a second code characteristic value for distinguishing remote control objects according to the appliance type information;

[0136] acquire a test code set for infrared testing from a preset code library according to the first code characteristic value and the second code characteristic value;

[0137] acquire a modified infrared code based on the test code set for infrared testing.

[0138] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware, and the computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. Any reference to memory, storage, database or other medium used in the embodiments provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0139] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the above-mentioned functions.

[0140] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit them; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for modifying infrared codes based on a decoder, characterized in that, The infrared encoding modification method based on the decoder includes: Obtain infrared coded modulation type information, and based on the infrared coded modulation type information, obtain a first coded feature value used to distinguish the coded format; Obtain appliance type information, and based on the appliance type information, obtain a second coded feature value used to distinguish remote control objects; Based on the first and second coding feature values, a test code set for conducting infrared experiments is obtained from a preset coding library; Based on the test code set used for conducting infrared tests, a modified infrared code is obtained; in, The step of acquiring appliance type information and obtaining a second coded feature value for distinguishing remote-controlled objects based on the appliance type information specifically includes: Obtain appliance type information, and based on the appliance type information, obtain a remote control function information form; Based on the remote control function information form and the preset coefficient table corresponding to the remote control function, a second coded feature value for distinguishing remote control objects is obtained. The second coded feature value includes a differential function label for identifying infrared codes with different functions. The step of obtaining a test code set for infrared testing from a preset coding library based on the first coding feature value and the second coding feature value specifically includes: Based on the first encoded feature value, obtain the first experimental code set from the preset encoding library; Based on the second encoded feature value and the differential function label, a test code set for conducting infrared tests is obtained from the first test code set.

2. The infrared encoding modification method based on a decoder according to claim 1, characterized in that, Before obtaining the infrared coded modulation type information and, based on the infrared coded modulation type information, obtaining the first coded feature value used to distinguish the coded format, the infrared coded modification method based on the decoder further includes: Obtain infrared code modification instruction information, and trigger feature value acquisition instruction based on the infrared code modification instruction information.

3. The infrared encoding modification method based on a decoder according to claim 2, characterized in that, The step of obtaining infrared coded modulation type information, and obtaining a first coded feature value for distinguishing coded formats based on the infrared coded modulation type information, specifically includes: Based on the feature value acquisition instruction, the infrared coded modulation type information is obtained; Based on the encoding modulation type information, obtain the infrared encoding format information; Based on the infrared encoding format information, a first encoding feature value is obtained to distinguish the encoding format.

4. The infrared encoding modification method based on a decoder according to claim 1, characterized in that, The process of obtaining modified infrared codes based on the test code set used for conducting infrared tests specifically includes: Based on the test code set used for conducting infrared tests, an infrared test instruction is triggered to obtain a modified test code indicating a successful match; Based on the modified test code, the modified infrared codes for all buttons on the corresponding remote control are obtained from the preset code library.

5. An infrared encoding modification device based on a decoder, characterized in that, The infrared encoding modification device based on the decoder includes: The first coding feature value acquisition module is used to acquire infrared coding modulation type information and, based on the infrared coding modulation type information, obtain a first coding feature value used to distinguish coding formats. The second encoding feature value acquisition module is used to acquire electrical appliance type information and, based on the electrical appliance type information, obtain a second encoding feature value used to distinguish remote control objects. The test code set acquisition module is used to acquire a test code set for conducting infrared tests from a preset code library based on the first code feature value and the second code feature value. The infrared code acquisition module is modified to obtain modified infrared codes based on the test code set used for conducting infrared tests. in, The second encoding feature value acquisition module includes: The remote control function information form acquisition submodule is used to obtain appliance type information and, based on the appliance type information, obtain the remote control function information form. The second encoding feature value acquisition submodule is used to obtain the second encoding feature value for distinguishing remote control objects based on the remote control function information form and the preset coefficient table corresponding to the remote control function. The second encoding feature value includes a differential function label for identifying infrared codes with different functions. The test code set acquisition module includes: The first test code set acquisition submodule is used to acquire the first test code set from a preset code library based on the first code feature value; The test code set acquisition submodule is used to acquire the test code set for conducting infrared tests from the first test code set based on the second code feature value and the difference function label.

6. The infrared encoding modification device based on a decoder according to claim 5, characterized in that, The infrared encoding modification device based on the decoder also includes: The feature value acquisition instruction module is used to acquire infrared code modification instruction information and trigger the feature value acquisition instruction according to the infrared code modification instruction information.

7. A computer 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 steps of the infrared encoding modification method based on the decoder as described in any one of claims 1 to 4.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the infrared encoding modification method based on the decoder as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Infrared code matching method, device and system, electronic equipment and storage medium

    CN114078314A

  • Equipment matching method and device, computer equipment and readable storage medium

    CN115206080A