Configuration method of remote controller, electronic equipment and storage medium

By establishing a connection with the storage device and parsing the mapping information in the configuration file, the problem of upgrading the electronic device system when upgrading or replacing the remote control is solved, and an efficient configuration method is realized to adapt to the function changes of the remote control without updating the electronic device system. .

CN119440603APending Publication Date: 2025-02-14GUANGZHOU SHIKUN ELECTRONICS TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310954105.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When upgrading or replacing the remote control, the system of the electronic device needs to be upgraded, which takes a long time and is inefficient.

Method used

By establishing a connection with the storage device, the configuration file is obtained from the storage device and the configuration file is verified; in response to the configuration file verification, the first mapping information is parsed from the configuration file, including the key value information of the remote control key and electronics The mapping relationship between the code value information of the device; receiving the key value information, and calculating the code value information corresponding to the key value information based on the first mapping information; performing a preset task corresponding to the code value information based on the code value information.

Benefits of technology

When the function of the remote control button changes, you only need to update the configuration file in the storage device, without updating the electronic device's system, improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440603A_ABST
    Figure CN119440603A_ABST
Patent Text Reader

Abstract

The invention discloses a configuration method of a remote controller, electronic equipment and a storage medium, and the method comprises the steps: establishing connection with storage equipment which is used for storing a configuration file; obtaining the configuration file from the storage device, and verifying the configuration file; in response to the fact that the configuration file passes verification, first mapping information is analyzed from the configuration file, and the first mapping information comprises a mapping relation between key value information of the remote controller keys and code value information of the electronic equipment; key value information is received, and code value information corresponding to the key value information is obtained through calculation based on the first mapping information; and executing a preset task corresponding to the code value information based on the code value information. When the function of the remote controller key is changed, only the configuration file needs to be updated in the storage device, the system of the electronic device does not need to be updated, and the efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of remote control adaptation, and in particular to a remote control configuration method, electronic device and storage medium. Background Art

[0002] Currently, when a remote control is upgraded or replaced, the system of the electronic device needs to be upgraded, which is time-consuming and inefficient. Summary of the invention

[0003] In view of this, the present application provides a remote control configuration method, an electronic device and a storage medium to solve the above technical problems.

[0004] In a first aspect, the present application provides a remote control configuration method, which is applied to an electronic device, and the method includes: establishing a connection with a storage device, the storage device being used to store a configuration file; obtaining the configuration file from the storage device, and verifying the configuration file; in response to the configuration file being verified, parsing first mapping information from the configuration file, the first mapping information including a mapping relationship between key value information of the remote control button and code value information of the electronic device; receiving the key value information, calculating the code value information corresponding to the key value information based on the first mapping information; and executing a preset task corresponding to the code value information based on the code value information. In some embodiments, before the step of establishing a connection with the storage device, the method includes: obtaining the key value information of the remote control button and the preset task of the remote control button; obtaining the code value information based on the preset task; and setting the configuration file based on the mapping relationship between the key value information and the code value information.

[0005] In some embodiments, before the step of establishing a connection with the storage device, the method further includes: determining whether the preset task of the remote control button has been modified; in response to the preset task of the remote control button being modified, obtaining the modified preset task; obtaining the code value information based on the modified preset task; and updating the configuration file based on the mapping relationship between the key value information and the code value information.

[0006] In some embodiments, before the step of establishing a connection with the storage device, the method further includes: determining whether the key value information of the remote control button has been modified; in response to the key value information of the remote control button being modified, obtaining the modified key value information; obtaining the code value information based on the preset task; and updating the configuration file based on the mapping relationship between the modified key value information and the code value information.

[0007] In some embodiments, before the step of executing a preset task corresponding to the code value information based on the code value information, the method includes: obtaining second mapping information, the second mapping information including a mapping relationship between the code value information of the electronic device and the preset task; and calculating the preset task corresponding to the code value information based on the second mapping information.

[0008] In some embodiments, before the step of establishing a connection with a storage device, the method further includes: establishing a configuration folder, the configuration folder being used to store the configuration file; and naming the configuration folder according to a preset file name.

[0009] In some embodiments, after the step of establishing a connection with the storage device, the method further includes: identifying the configuration folder based on the preset file name; and reading the configuration file from the configuration folder.

[0010] In some embodiments, after the step of verifying the configuration file, the method includes: in response to the configuration file failing to pass the verification, disconnecting the electronic device from the storage device.

[0011] The second aspect of the present application provides an integrated circuit board, including a circuit board body, a memory and a processor, wherein the memory and the processor are arranged on the circuit board body, the memory and the processor are coupled to each other, and the processor is used to execute program instructions stored in the memory to implement the above method.

[0012] A third aspect of the present application provides a non-volatile computer-readable storage medium having program instructions stored thereon, wherein the program instructions implement the above method when executed by a processor.

[0013] The present application provides a remote control configuration method, an electronic device, and a storage medium. The electronic device establishes a connection with a storage device, obtains a configuration file from the storage device, and verifies the configuration file; in response to the configuration file verification being passed, first mapping information is parsed from the configuration file, the first mapping information including a mapping relationship between key value information of a remote control button and code value information of the electronic device; upon receiving the key value information, the code value information corresponding to the key value information is calculated based on the first mapping information; and a preset task corresponding to the code value information is executed based on the code value information. When the function of a remote control button changes, only the configuration file needs to be updated in the storage device, and there is no need to update the system of the electronic device, thereby improving efficiency.

[0014] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 It is a flowchart of an embodiment of a remote control configuration method of the present application;

[0017] Figure 2 yes Figure 1 A schematic diagram of the flow chart of the first embodiment before step S11;

[0018] Figure 3 yes Figure 1 A schematic diagram of the flow chart of the second embodiment before step S11;

[0019] Figure 4 yes Figure 1 A schematic diagram of the process flow of the third embodiment before step S11;

[0020] Figure 5 yes Figure 1 A schematic diagram of a flow chart of an embodiment before step S15;

[0021] Figure 6 yes Figure 1 The flowchart of the fourth embodiment before step S11;

[0022] Figure 7 yes Figure 1 The flowchart of the fifth embodiment before step S11;

[0023] Figure 8 It is a schematic diagram of the framework of an embodiment of an integrated circuit board of the present application;

[0024] Fig. 9 It is a schematic diagram of a framework of an embodiment of the non-volatile computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0025] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification. It is particularly pointed out that the following embodiments are only used to illustrate the present application, but do not limit the scope of the present application. Similarly, the following embodiments are only some embodiments of the present application rather than all embodiments. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0026] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0027] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradicting each other.

[0028] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, can mean including any one or more elements selected from the set consisting of A, B, and C.

[0029] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0030] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0031] In order to enable those skilled in the art to better understand the technical solution of the present application, some definitions involved below are explained below.

[0032] The key value information of the remote control button refers to the digital information carried in a series of signals sent by the remote control when the button of the remote control is triggered. Optionally, the key value information can be a hexadecimal digital code or a decimal digital code.

[0033] The code value information of the electronic device refers to the corresponding encoding of the key value information in the system of the electronic device. For example, after the electronic device receives the key value information, the electronic device converts the key value information according to the first mapping information to obtain the code value information corresponding to the key value information. The first mapping information includes the mapping relationship between the key value information of the remote control button and the code value information of the electronic device.

[0034] The preset task of the remote control button refers to the function corresponding to the remote control button. For example, if the function of the remote control button is to open the Bluetooth interface, then the preset task of the remote control button is to open the Bluetooth interface. After the remote control button is triggered, the electronic device performs the task of opening the Bluetooth interface.

[0035] Currently, when a remote control is upgraded or replaced, the system of the electronic device needs to be upgraded, which is time-consuming and inefficient.

[0036] In order to solve the above problems, the present application proposes a remote control configuration method, an electronic device and a storage medium. Figure 1 , Figure 1 The present invention is a flowchart of an embodiment of a remote control configuration method of the present invention. The execution subject of the method may be an electronic device, for example, the remote control configuration method may be executed by a terminal device or a server or other processing device, wherein the terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc.

[0037] In some possible implementations, the method may be implemented by a processor calling a computer-readable instruction stored in a memory. Specifically, the method may include the following steps:

[0038] Step S11: Establishing a connection with a storage device, where the storage device is used to store configuration files.

[0039] The storage device may be an electronic device with a storage function, such as a USB interface mobile hard disk, a mobile hard disk, a flash memory card, a phase-change rewritable optical disk drive, etc. The storage device is used to store configuration files.

[0040] Optionally, the first mapping information may be parsed from the configuration file. The first mapping information may include a mapping relationship between key value information of a button of the remote controller and code value information of the electronic device.

[0041] Optionally, the storage device may be provided with a configuration folder, and the configuration folder stores the configuration file. After the electronic device is connected to the storage device, the electronic device is used to search the configuration folder of the storage device and read the configuration file.

[0042] Step S12: Obtain a configuration file from the storage device and verify the configuration file.

[0043] When the electronic device reads the storage device, the electronic device can obtain the configuration file from the storage device and verify the configuration file. In response to the configuration file verification passing, the process proceeds to step S13; in response to the configuration file verification failing, the electronic device is disconnected from the storage device.

[0044] Optionally, the file format of the configuration file may be verified. For example, a preset file format may be set. If the file format of the configuration file is the same as the file format of the preset file, the configuration file verification passes; if the file format of the configuration file is different from the file format of the preset file, the configuration file verification fails.

[0045] Step S13: parsing the configuration file to obtain first mapping information, where the first mapping information includes a mapping relationship between the key value information of the remote controller and the code value information of the electronic device.

[0046] When the configuration file is verified, the first mapping information may be parsed from the configuration file, and the first mapping information may include a mapping relationship between the key value information of the remote controller and the code value information of the electronic device.

[0047] Step S14: receiving the key value information, and calculating the code value information corresponding to the key value information based on the first mapping information.

[0048] Optionally, the remote controller may be an infrared remote controller, wherein the infrared remote controller includes an infrared transmitting module. The remote controller may send a series of modulated signals through the infrared transmitting module, wherein the modulated signals carry key value information;

[0049] Optionally, the electronic device may include an infrared receiving module. The electronic device may receive a series of modulated signals sent by the infrared remote controller through the infrared receiving module, and demodulate the modulated signals to obtain key value information.

[0050] In some embodiments, after the system of the electronic device obtains the key value information, it can obtain the code value information corresponding to the key value information based on the first mapping information.

[0051] Step S15: Execute a preset task corresponding to the code value information based on the code value information.

[0052] Optionally, the system of the electronic device includes a driver layer and an application layer. In some embodiments, the driver layer can obtain the first mapping information from the storage device. The electronic device can convert the key value information into code value information at the driver layer and throw the code value information to the application layer.

[0053] In some embodiments, the application layer may store second mapping information, where the second mapping information includes a mapping relationship between code value information of the electronic device and preset tasks of buttons on the remote control.

[0054] In some embodiments, the electronic device can determine the preset tasks to be performed through code value information at the application layer, and then run the related application program.

[0055] In this embodiment, the electronic device establishes a connection with the storage device, obtains a configuration file from the storage device, and verifies the configuration file; in response to the configuration file verification being passed, first mapping information is parsed from the configuration file, the first mapping information including a mapping relationship between key value information of a remote control button and code value information of the electronic device; upon receiving the key value information, code value information corresponding to the key value information is calculated based on the first mapping information; and a preset task corresponding to the code value information is executed based on the code value information. When the function of the remote control button changes, only the configuration file needs to be updated in the storage device, and there is no need to update the system of the electronic device, thereby improving efficiency.

[0056] See also Figure 2 , Figure 2 yes Figure 1 The flowchart of the first embodiment before step S11 in FIG. The steps before step S11 include the following steps:

[0057] Step S21: Acquire key value information of remote control buttons and preset tasks of remote control buttons.

[0058] The key value information of the remote control button refers to the digital information carried in a series of signals sent by the remote control when the button of the remote control is triggered. Optionally, the key value information can be a hexadecimal digital code or a decimal digital code.

[0059] The preset task of the remote control button refers to the function corresponding to the remote control button. For example, if the function of the remote control button is to open the Bluetooth interface, then the preset task of the remote control button is to open the Bluetooth interface. After the remote control button is triggered, the electronic device performs the task of opening the Bluetooth interface.

[0060] Step S22: Obtain code value information based on a preset task.

[0061] The code value information of the electronic device refers to the corresponding code of the key value information in the system of the electronic device.

[0062] When the preset task is acquired, the code value information corresponding to the preset task can be obtained based on the second mapping information, wherein the second mapping information includes a mapping relationship between the code value information of the electronic device and the preset task of the remote control button.

[0063] In some embodiments, the storage device stores the second mapping information. The electronic device can obtain the second mapping information from the storage device. In some embodiments, the second mapping information is stored in a system of the electronic device.

[0064] Step S23: Setting a configuration file based on the mapping relationship between the key value information and the code value information.

[0065] Optionally, the configuration file may be a data table, one column of the data table is set with key value information, another column of the data table is set with code value information, and the data in the data table is sorted according to the mapping relationship between the key value information and the code value information.

[0066] See also Figure 3 , Figure 3 yes Figure 1 The flowchart of the second embodiment before step S11 in FIG. The steps before step S11 include the following steps:

[0067] Step S31: Determine whether the preset task of the remote control button has been modified.

[0068] In response to the preset task of the remote control button being modified, the process proceeds to step S32.

[0069] In some embodiments, when the remote controller is upgraded, the functions of the buttons on the remote controller are modified, while the key value information sent by the buttons on the remote controller remains unchanged. In order to adapt to the modified remote controller, the modified preset task can be obtained, the code value information corresponding to the preset task can be calculated based on the second mapping information, and the configuration file can be updated based on the mapping relationship between the key value information and the code value information.

[0070] Step S32: Obtain the modified preset task.

[0071] In some embodiments, the functions of some buttons of the remote control may be modified after an upgrade. The functions of the buttons of the upgraded remote control may be obtained, and the modified remote control buttons and the modified preset tasks may be determined by comparing the button functions between the original remote control and the upgraded remote control.

[0072] Step S33: Obtain code value information based on the modified preset task.

[0073] When the modified preset task is acquired, the code value information corresponding to the modified preset task can be obtained based on the second mapping information, wherein the second mapping information includes a mapping relationship between the code value information of the electronic device and the preset task of the remote control button.

[0074] In some embodiments, the storage device stores the second mapping information. The electronic device can obtain the second mapping information from the storage device. In some embodiments, the second mapping information is stored in a system of the electronic device.

[0075] Step S34: updating the configuration file based on the mapping relationship between the key value information and the code value information.

[0076] Optionally, the configuration file may be a data table, one column of the data table is set with key value information, another column of the data table is set with code value information, and the data sorting in the data table is updated according to the mapping relationship between the key value information and the code value information.

[0077] In this embodiment, after the remote controller is upgraded, there is no need to modify the system program of the electronic device, and only the configuration file of the storage device needs to be updated to adapt to the upgraded remote controller.

[0078] See also Figure 4 , Figure 4 yes Figure 1 The flowchart of the third embodiment before step S11 in FIG. The steps before step S11 include the following steps:

[0079] Step S41: Determine whether the key value information of the remote control button has been modified.

[0080] In response to the key value information of the remote control button being modified, the process proceeds to step S42.

[0081] In some embodiments, when the remote control is replaced, the key value information of the remote control buttons is modified, while the functions of the remote control buttons remain unchanged. In order to adapt to the replaced remote control, the preset tasks of the remote control buttons can be obtained, the code value information corresponding to the preset tasks can be calculated based on the second mapping information, and the configuration file can be updated based on the mapping relationship between the modified key value information and the code value information.

[0082] Step S42: Obtain the modified key value information.

[0083] In some embodiments, after the remote control is replaced, the key value information of some buttons will be modified. The key value information of the replaced remote control buttons can be obtained, and the modified remote control buttons and the modified key value information can be determined by comparing the key value information between the original remote control and the upgraded remote control.

[0084] Step S43: Obtain code value information based on the preset task.

[0085] The code value information corresponding to the preset task can be obtained based on the second mapping information, wherein the second mapping information includes a mapping relationship between the code value information of the electronic device and the preset task of the remote control button.

[0086] In some embodiments, the storage device stores the second mapping information. The electronic device can obtain the second mapping information from the storage device. In some embodiments, the second mapping information is stored in a system of the electronic device.

[0087] Step S44: updating the configuration file based on the modified mapping relationship between the key value information and the code value information.

[0088] Optionally, the configuration file may be a data table, one column of the data table is set with key value information, another column of the data table is set with code value information, and the data sorting in the data table is updated according to the mapping relationship between the modified key value information and the code value information.

[0089] In this embodiment, after the remote control is replaced, there is no need to modify the system program of the electronic device, and only the configuration file of the storage device needs to be updated to adapt to the upgraded remote control.

[0090] See also Figure 5 , Figure 5 yes Figure 1 A flow chart of an embodiment before step S15 in FIG. The process before step S15 includes the following steps:

[0091] Step S51: Acquire second mapping information, where the second mapping information includes a mapping relationship between code value information of the electronic device and a preset task.

[0092] In some embodiments, the storage device stores the second mapping information. The electronic device can obtain the second mapping information from the storage device. In some embodiments, the second mapping information is stored in a system of the electronic device.

[0093] Step S52: Calculate and obtain a preset task corresponding to the code value information based on the second mapping information.

[0094] Optionally, the preset tasks may include switching HDMI (High Definition Multimedia Interface), opening a wireless network interface, opening a Bluetooth interface, etc. It should be noted that this application does not limit the types of preset tasks.

[0095] See also Figure 6 , Figure 6 yes Figure 1 The flowchart of the fourth embodiment before step S11 in FIG. The steps before step S11 include the following steps:

[0096] Step S61: Create a configuration folder, which is used to store configuration files.

[0097] A configuration folder is established in the storage device. In some embodiments, the name of the configuration folder can be set as a preset file name. The purpose of setting the preset file name for the configuration folder is that when the electronic device establishes a connection with the storage device, the electronic device can quickly identify the configuration folder, thereby improving the recognition efficiency of the electronic device.

[0098] Step S62: Name the configuration folder according to a preset file name.

[0099] In some embodiments, a terminal such as a computer can be connected to a storage device, and a configuration folder can be named based on a preset file name. Optionally, the configuration folder can be set in the root directory of the storage device, where the root directory refers to the top-level directory of the storage device. The purpose of setting the configuration folder in the root directory of the storage device is to reduce the scanning directory level of the electronic device and improve the recognition efficiency of the electronic device.

[0100] See also Figure 7 , Figure 7 yes Figure 1 The flowchart of the fifth embodiment before step S11 in FIG. The steps after step S11 include the following steps:

[0101] Step S71: Identify a configuration folder based on a preset file name.

[0102] When the electronic device determines whether the storage device is provided with a configuration folder, it can determine whether the storage device is provided with a configuration folder based on a preset file name. If the electronic device recognizes a configuration folder, it proceeds to step S72.

[0103] Step S72: Read the configuration file from the configuration folder.

[0104] In some embodiments, the electronic device may identify a configuration folder based on a preset file name and read a configuration file from the configuration folder.

[0105] See also Figure 8 , Figure 8 : is a schematic diagram of the framework of an embodiment of an integrated circuit board of the present application. The integrated circuit board 80 includes a circuit board body 83, a memory 81 and a processor 82. The memory 81 and the processor 82 are arranged on the circuit board body 83. The memory 81 and the processor 82 are coupled to each other. The processor 82 is used to execute the program instructions stored in the memory 81 to implement the steps of any of the above-mentioned method embodiments for calculating the configuration of the remote control. The integrated circuit board 80 of the present application is applied to electronic devices. In a specific implementation scenario, the electronic device may include but is not limited to: a microcomputer, a server. In addition, the electronic device may also include mobile devices such as laptops and tablet computers, which are not limited here.

[0106] Specifically, the processor 82 is used to control itself and the memory 81 to implement the steps of any of the above-mentioned method embodiments for calculating the configuration of the remote control. The processor 82 can also be called a CPU (Central Processing Unit). The processor 82 may be an integrated circuit chip with signal processing capabilities. The processor 82 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 82 can be implemented by an integrated circuit chip.

[0107] See also Fig. 9 , Fig. 9The non-volatile computer-readable storage medium 90 stores program instructions 901 that can be executed by a processor, and the program instructions 901 are used to implement the steps of any of the above-mentioned method embodiments for calculating the configuration of a remote controller.

[0108] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0109] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0110] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0111] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

Claims

1. A remote control configuration method, characterized in that: Applied to electronic equipment, the method comprises: Establishing a connection with a storage device, where the storage device is used to store a configuration file; Obtaining the configuration file from the storage device and verifying the configuration file; In response to the configuration file being verified, first mapping information is parsed from the configuration file, the first mapping information including a mapping relationship between key value information of the remote control button and code value information of the electronic device; Receiving the key value information, and calculating code value information corresponding to the key value information based on the first mapping information; A preset task corresponding to the code value information is executed based on the code value information.

2. The method according to claim 1, characterized in that Before the step of establishing a connection with the storage device, the method includes: Obtaining key value information of the remote control button and preset tasks of the remote control button; Acquire the code value information based on the preset task; The configuration file is set based on a mapping relationship between the key value information and the code value information.

3. The configuration method according to claim 1, characterized in that: Before the step of establishing a connection with the storage device, the method further includes: Determining whether the preset task of the remote control button has been modified; In response to a modification of a preset task of a button of the remote control, acquiring the modified preset task; Acquire the code value information based on the modified preset task; The configuration file is updated based on the mapping relationship between the key value information and the code value information.

4. The configuration method according to claim 1, characterized in that: Before the step of establishing a connection with the storage device, the method further includes: Determine whether the key value information of the remote control button is modified; In response to the key value information of the remote control button being modified, acquiring the modified key value information; Acquire the code value information based on the preset task; The configuration file is updated based on the mapping relationship between the modified key value information and the code value information.

5. The configuration method according to claim 1, characterized in that: Before the step of executing a preset task corresponding to the code value information based on the code value information, the method includes: Acquire second mapping information, where the second mapping information includes a mapping relationship between the code value information of the electronic device and the preset task; A preset task corresponding to the code value information is calculated based on the second mapping information.

6. The configuration method according to claim 1, characterized in that: Before the step of establishing a connection with the storage device, the method further includes: Establishing a configuration folder, wherein the configuration folder is used to store the configuration file; The configuration folder is named according to a preset file name.

7. The configuration method according to claim 6, characterized in that: After the step of establishing a connection with the storage device, the method further includes: identifying the configuration folder based on the preset file name; The configuration file is read from the configuration folder.

8. The configuration method according to claim 1, characterized in that: After the step of verifying the configuration file, the method includes: In response to the configuration file failing to be verified, the electronic device is disconnected from the storage device.

9. An integrated circuit board, characterized in that: It includes a circuit board body, a memory and a processor, wherein the memory and the processor are arranged on the circuit board body, the memory and the processor are coupled to each other, and the processor is used to execute program instructions stored in the memory to implement the method described in any one of claims 1 to 8.

10. A non-volatile computer-readable storage medium having program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Method and system for automatically configuring mapping of key values of remote controller keys

    CN120950146A