Automatic key reproduction method, device and equipment of remote controller and medium

By obtaining the remote control's key log and writing scripts, the automatic reproduction of key operation is solved, and the problem of low operation efficiency of the remote control is improved and manpower consumption is reduced.

CN118945406AInactive Publication Date: 2024-11-12SICHUAN TIANYI COMHEART TELECOM
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411433248.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a home environment, when using a remote control to operate set-top boxes and other equipment, a large number of buttons are required to frequently perform a large number of key operations, resulting in inefficiency and large labor losses.

Method used

By obtaining the remote control's key log, extracting the key data group and writing scripts, the key press operation is automatically reproduced at the preset time point, reducing manual repeated operations.

Benefits of technology

It greatly improves the button reproduction efficiency of the remote control, reduces manpower loss, and reduces time spent and the need for personnel to squat.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945406A_ABST
    Figure CN118945406A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic key reproduction method and device of a remote controller, equipment and a medium, relates to the technical field of remote controller keys, and aims to solve the problem of low key reproduction efficiency of the remote controller in the prior art. The method comprises the following steps: acquiring a remote controller key log; acquiring a plurality of key data groups according to the remote controller key log; wherein each key data set comprises a key value and an operation interval time; writing a script according to the plurality of key data groups; wherein the script comprises a key operation command corresponding to each operation interval time; the script is executed, and the corresponding key operation is automatically reproduced at the preset time point, so that the key reproduction efficiency of the remote controller is improved, and the manpower loss is reduced.
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 button technology, and provides a method, device, equipment and medium for automatically reproducing buttons of a remote control. Background Art

[0002] With the rapid development of mobile Internet, set-top boxes are used by more and more people, and users can watch programs by operating the set-top boxes through remote controls. Among them, in a specific home environment, for example, when it is necessary to control devices such as TVs and set-top boxes at the same time, a large number of remote control operations may be required; or, in a specific time period, users are required to repeat a large number of remote control operations to complete the playback of a specific video, picture or background music. Obviously, these situations require a large number of remote control operations, which takes a huge amount of time and requires personnel to squat, resulting in large manpower losses and low efficiency.

[0003] Therefore, how to improve the key reproduction efficiency of the remote control has become a problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a method, device, equipment and medium for automatically reproducing keys of a remote controller, which are used to solve the problem of low key reproduction efficiency of remote controllers in the prior art.

[0005] In one aspect, a method for automatically reproducing a keystroke of a remote controller is provided, the method comprising: Get the remote control key log; According to the remote control key log, a plurality of key data groups are obtained; wherein each key data group includes a key value and an operation interval time; Compile a script according to the plurality of key data groups; wherein the script includes key operation commands corresponding to each operation interval time; Execute the script to automatically reproduce the corresponding key operation at the preset time point.

[0006] Optionally, the step of obtaining the remote control key log includes: According to the input log capture command, the remote control key log is obtained, and the remote control key log is copied to a USB flash drive; wherein the log capture command is logcat -v monotonic> / data / 1.log&.

[0007] Optionally, the step of acquiring multiple key data groups according to the remote control key log includes: Use notepad++ software to open the remote control key log; According to the input target search command, information query is performed in the remote control key log to obtain multiple information lines including CPU time and key values; Copy the multiple information rows containing CPU time and key values ​​into Excel software for data sorting to obtain two columns of data; wherein the two columns of data contain one-to-one corresponding CPU time and key values; According to the two columns of data, the operation interval time corresponding to each CPU time is calculated to obtain two updated columns of data; wherein the two updated columns of data contain one-to-one corresponding operation interval time and key value; According to the input target replacement command, the updated two columns of data are pasted into the newly created notepad++ document.

[0008] Optionally, the step of writing a script according to the multiple key data groups includes: Copy the multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write the telecom local video playback script.

[0009] Optionally, the step of writing a script according to the multiple key data groups includes: Copy the multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write the script for playing pictures and background music.

[0010] Optionally, the step of writing a script according to the multiple key data groups includes: Copy the multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write a script for playing local music in multiple formats.

[0011] Optionally, after writing a script according to the plurality of key data groups, the method further comprises: Execute and verify the script to obtain a verification result; According to the verification result, determine whether to re-record the remote control key log and write a corresponding script.

[0012] In one aspect, a remote controller automatic recurring button device is provided, the device comprising: A key log acquisition unit, used to acquire a remote control key log; A key data group acquisition unit, used to acquire multiple key data groups according to the remote control key log; wherein each key data group includes a key value and an operation interval time; A script writing unit, used for writing a script according to the plurality of key data groups; wherein the script includes key operation commands corresponding to each operation interval time; The key reproducing unit is used to execute the script and automatically reproduce the corresponding key operation at a preset time point.

[0013] On the one hand, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein any one of the above methods is implemented when the processor executes the computer program.

[0014] In one aspect, a computer storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any of the above methods is implemented.

[0015] Compared with the prior art, the beneficial effects of this application are: In the present application, when reproducing the remote control buttons of the set-top box, first, the remote control button log can be obtained; then, multiple button data groups can be obtained based on the remote control button log; wherein each button data group includes a button value and an operation interval time; next, a script can be written based on multiple button data groups; wherein the script includes button operation commands corresponding to each operation interval time; finally, the script can be executed, and the corresponding button operation can be automatically reproduced at a preset time point. Therefore, in the present application, since the script is written based on multiple button data groups in the remote control button log, and the script is executed to automatically reproduce the corresponding button operation at a preset time point, compared with the prior art of "repeated button operation by manual operation", the present application not only does not need to spend a huge amount of time, but also does not require personnel to squat, which greatly improves the efficiency of remote control button reproduction and reduces manpower loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0017] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application; Figure 2 A schematic diagram of a flow chart of a method for automatically reproducing keystrokes of a remote controller provided in an embodiment of the present application; Figure 3 A schematic diagram of an automatic recurring button device of a remote controller provided in an embodiment of the present application.

[0018] Markings in the figure: 10 - automatic reproducing key device of remote control, 101 - processor, 102 - memory, 103 - I / O interface, 104 - database, 30 - automatic reproducing key device of remote control, 301 - key log acquisition unit, 302 - key data group acquisition unit, 303 - script writing unit, 304 - key reproduction unit, 305 - script verification unit. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0020] With the rapid development of mobile Internet, set-top boxes are used by more and more people, and users can watch programs by operating the set-top boxes through remote controls. Among them, in a specific home environment, for example, when it is necessary to control devices such as TVs and set-top boxes at the same time, a large number of remote control operations may be required; or, in a specific time period, users are required to repeat a large number of remote control operations to complete the playback of a specific video, picture or background music. Obviously, these situations require a large number of remote control operations, which takes a huge amount of time and requires personnel to squat, resulting in large manpower losses and low efficiency.

[0021] Based on this, the embodiment of the present application provides a method for automatically reproducing keystrokes of a remote control, in which, first, a remote control keystroke log can be obtained; then, multiple keystroke data groups can be obtained based on the remote control keystroke log; wherein each keystroke data group includes a keystroke value and an operation interval time; next, a script can be written based on multiple keystroke data groups; wherein the script includes keystroke operation commands corresponding to each operation interval time; finally, the script can be executed, and the corresponding keystroke operation can be automatically reproduced at a preset time point. Therefore, in the present application, since a script is written based on multiple keystroke data groups in the remote control keystroke log, and the script is executed to automatically reproduce the corresponding keystroke operation at a preset time point, compared to the prior art of "repeated keystroke operation by manual labor", the present application not only does not require a huge amount of time, but also does not require personnel to squat, which greatly improves the efficiency of remote control keystroke reproduction and reduces manpower loss.

[0022] After introducing the design ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0023] like Figure 1 FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. The application scenario may include an automatic recurring button device 10 of a remote controller.

[0024] Among them, the automatic recurring key device 10 of the remote control can automatically and timely reproduce the key operation of the remote control through the remote control key log, for example, it can be a personal computer (PC), a server and a laptop. The automatic recurring key device 10 of the remote control may include one or more processors 101, a memory 102, an I / O interface 103 and a database 104. Specifically, the processor 101 may be a central processing unit (CPU), or a digital processing unit, etc. The memory 102 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 102 may also be a non-volatile memory (non-volatile memory), such as a read-only memory, a flash memory (flash memory), a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 102 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 102 may be a combination of the above memories. The memory 102 may store some program instructions of the automatic recurrence key method of the remote controller provided in the embodiment of the present application, and these program instructions, when executed by the processor 101, can be used to implement the steps of the automatic recurrence key method of the remote controller provided in the embodiment of the present application, so as to solve the problem of low efficiency of recurrence key of the remote controller in the prior art. The database 104 may be used to store data such as remote controller key logs, scripts, log capture commands, target search commands, target replacement commands, push_key functions, and sleep_time functions involved in the solution provided in the embodiment of the present application.

[0025] In the embodiment of the present application, the automatic recurrence key device 10 of the remote control can obtain the remote control key log through the I / O interface 103, and then the processor 101 of the automatic recurrence key device 10 of the remote control can improve the key recurrence efficiency of the remote control according to the program instructions of the automatic recurrence key method of the remote control provided in the embodiment of the present application in the memory 102. In addition, data such as the remote control key log, script, log capture command, target search command, target replacement command, push_key function and sleep_time function can also be stored in the database 104.

[0026] Of course, the method provided in the embodiment of the present application is not limited to Figure 1 The application scenarios shown can also be used in other possible application scenarios, and the embodiments of the present application are not limited thereto. Figure 1The functions that can be realized by each device in the application scenario shown will be described in the subsequent method embodiments, and will not be described in detail here. Below, the method of the embodiment of the present application will be introduced in conjunction with the accompanying drawings.

[0027] like Figure 2 FIG. 1 is a flow chart of a method for automatically reproducing keys of a remote controller provided in an embodiment of the present application, wherein the method can be performed by Figure 1 The method is executed by the automatic recurring button device 10 of the remote controller. Specifically, the process of the method is described as follows.

[0028] Step 201: Obtain remote control key log.

[0029] Specifically, you can obtain the remote control key log according to the log capture command input through the serial port, and copy the remote control key log to a USB flash drive. When capturing the log, you can capture the log in CPU time (seconds) to facilitate the subsequent calculation of the key interval time. The log capture command can be logcat -v monotonic> / data / 1.log&.

[0030] In particular, after starting to capture the remote control key log based on the "logcat -v monotonic> / data / 1.log&" log capture command, you can perform remote control key operations. Next, after the remote control key operations are completed, the capture of the remote control key log is stopped, and the captured remote control key log is copied to the U disk. Specifically, the log copy can be performed through the following code: killall logcat cp / data / 1.log / mnt / media_rw / 10B24FABB24F945E That is, a large number of repeated key operations of the remote controller can be recorded.

[0031] Step 202: Acquire multiple key data groups according to the remote control key log.

[0032] In the embodiment of the present application, each key data group may include a key value and an operation interval time. In addition, in order to facilitate script writing, after obtaining the remote control key log, the remote control key log may be viewed and data sorted.

[0033] Specifically, first, you can use notepad++ software on your computer to open the remote control key log.

[0034] Then, you can search for information in the remote control key log according to the input target search command (according to the search option in the "ctrl+f" key), and obtain multiple information lines containing CPU time and key values. For example, you can obtain multiple similar information lines as follows (mainly recording two types of data: CPU time and key values): 119.91343324332 D RemoteIME: keycode: 24, realAction: true The first data "119.913" indicates the CPU time (seconds); the number 24 after "keycode:" indicates the key value.

[0035] Next, you can copy multiple rows of information containing CPU time and key values ​​into Excel software for data sorting (sort out two columns of data containing only CPU time and key values ​​in one-to-one correspondence) to obtain two columns of data; wherein the two columns of data contain one-to-one corresponding CPU time and key values.

[0036] Then, based on these two columns of data, the operation interval time corresponding to each CPU time can be calculated to obtain two updated columns of data; wherein, the updated two columns of data contain one-to-one corresponding operation interval time and key value (the first key value does not require a leading interval time, and the sleep command executed after the first key value will use the operation interval time).

[0037] Finally, you can replace the command according to the input target (according to the replacement option in the "ctrl+f" key, that is, ctrl+f--Replace--Replace\r\n with space, select regular expression in the search mode, and click Replace All), paste the updated two columns of data into the newly created notepad++ document, and convert the columns into rows.

[0038] Step 203: Write a script based on the multiple key data groups.

[0039] In the embodiment of the present application, the script includes key operation commands corresponding to each operation interval time.

[0040] In order to make the scripts applicable to different scenarios, in the embodiment of the present application, scripts can be written for different scenarios respectively (requiring a USB flash drive with specific path resources and a corresponding set-top box version that supports local playback), and the specific situation is as follows: (1) Write the script for local video playback of Telecom: First, multiple key data groups can be copied to the push_key function and the sleep_time function, that is, all key values ​​can be copied to the push_key function, and all intervals can be copied to the sleep_time function. Then, the local video playback script of the telecommunications can be written directly according to the push_key function and the sleep_time function.

[0041] (2) Write scripts for playing pictures and background music: First, you can copy multiple key data groups to the push_key function and the sleep_time function, that is, you can copy all key values ​​to the push_key function, and copy all interval times to the sleep_time function. Then, you can directly write the picture and background music playback script based on the push_key function and the sleep_time function.

[0042] (3) Write scripts for playing local music in multiple formats: First, multiple key data groups can be copied to the push_key function and the sleep_time function, that is, all key values ​​can be copied to the push_key function, and all interval times can be copied to the sleep_time function. Then, the local music multi-format playback script can be written directly based on the push_key function and the sleep_time function.

[0043] In the embodiment of the present application, the specific script contents of the telecommunications local video playback script, picture and background music playback script, and local music multi-format playback script are almost the same, with only the data added in the push_key function and the sleep_time function being different, that is, the key values ​​and operation intervals being different.

[0044] Step 204: Execute the script to automatically reproduce the corresponding key operation at a preset time point.

[0045] In order to make the script conform to the actual situation, in the embodiment of the present application, after writing the script according to multiple key data groups, the script needs to be executed and verified to obtain the verification result; specifically, first, the script can be named 1.sh and saved and copied to a USB flash drive, and then the USB flash drive can be connected to the set-top box to copy the script to the set-top box / data directory. That is, the script can be given permissions through the code "chmod 777 / data / 1.sh".

[0046] Then, based on the verification result, it can be determined whether to re-record the remote control key log and write a corresponding script.

[0047] The following takes the "Telecom local video playback script" as an example to introduce the script testing process in detail: First, you can connect the local playback USB disk containing the corresponding path and resources of the telecom local video playback script to the set-top box.

[0048] Then, the set-top box screen can be adjusted to the interface where the key operation was just started.

[0049] Next, you can use the codes “cd / data” and “. / 1.sh&” to execute the telecom local video playback script.

[0050] Then, it can be determined whether the set-top box screen switches normally and whether the automatic key operation is consistent with the previous manual key operation.

[0051] Finally, if it is confirmed that the set-top box screen is switched normally, and the automatic key operation is consistent with the previous manual key operation, it means that the telecom local video playback script (current script) is functioning normally and is available. If it is determined that the set-top box screen is not switched normally, or the automatic key operation is inconsistent with the previous manual key operation, it is necessary to re-record the keystrokes of the inconsistent parts and write a script to retry (you can appropriately use the method of slowly pressing the keys to solve this problem).

[0052] In the embodiment of the present application, the script can be set to stop automatically after execution, or the running script can be terminated prematurely by executing the command killall sh.

[0053] Furthermore, after the written script is verified, the script can be directly executed to automatically reproduce the corresponding key operation at the preset time point.

[0054] In the embodiment of the present application, for scenarios with high timeliness requirements, in order to further improve the key reproduction efficiency of the remote control, the user can reduce the sleep operation interval in the script according to the actual scenario, identify the long press process in the data, and optimize the script to cancel the sleep operation. For the process of grabbing logs and organizing data with Excel and Notepad++, the user can also optimize the script to directly organize the data inside the set-top box and import it into the script to replace the manual data organization process.

[0055] To sum up, since the script is written based on multiple key data groups in the remote control key log, and the script is executed to automatically reproduce the corresponding key operations at the preset time point, compared with the existing technology of "repeated key operations manually", the present application not only does not need to spend a huge amount of time, but also does not require personnel to stay on guard, which greatly improves the remote control key reproduction efficiency and reduces manpower loss.

[0056] Based on the same inventive concept, the embodiment of the present application provides an automatic recurring button device 30 of a remote controller, such as Figure 3 As shown, the automatic recurring button device 30 of the remote controller includes: A key log acquisition unit 301 is used to acquire a remote control key log; The key data group acquisition unit 302 is used to acquire multiple key data groups according to the remote control key log; wherein each key data group includes a key value and an operation interval time; The script writing unit 303 is used to write a script according to the multiple key data groups; wherein the script includes key operation commands corresponding to each operation interval time; The key reproducing unit 304 is used to execute the script and automatically reproduce the corresponding key operation at a preset time point.

[0057] Optionally, the key log obtaining unit 301 is further configured to: According to the input log capture command, obtain the remote control key log and copy the remote control key log to the USB flash drive; the log capture command is logcat -v monotonic> / data / 1.log&.

[0058] Optionally, the key data group acquiring unit 302 is further used to: Use notepad++ software to open the remote control key log; According to the input target search command, information is queried in the remote control key log to obtain multiple information lines containing CPU time and key values; Copy multiple rows of information containing CPU time and key values ​​into Excel software for data sorting to obtain two columns of data; wherein the two columns of data contain one-to-one corresponding CPU time and key values; According to the two columns of data, the operation interval time corresponding to each CPU time is calculated to obtain two updated columns of data; wherein the updated two columns of data contain one-to-one corresponding operation interval time and key value; According to the input target replacement command, paste the updated two columns of data into the newly created notepad++ document.

[0059] Optionally, the script writing unit 303 is further used for: Copy multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write the telecom local video playback script.

[0060] Optionally, the script writing unit 303 is further used for: Copy multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write the script for playing pictures and background music.

[0061] Optionally, the script writing unit 303 is further used for: Copy multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write a script for playing local music in multiple formats.

[0062] Optionally, the automatic recurring button device 30 of the remote controller further includes a script verification unit 305, which is used to: Execute and verify the script to obtain the verification result; Based on the verification result, determine whether to re-record the remote control key log and write a corresponding script.

[0063] The automatic recurring key device 30 of the remote controller can be used to perform Figure 2 The method executed in the embodiment shown in FIG. 1 is a method for executing the method in the embodiment shown in FIG. 1 . Therefore, for the functions that can be realized by each functional module of the automatic recurring key device 30 of the remote controller, reference can be made to FIG. Figure 2 The description of the illustrated embodiment will not be repeated again.

[0064] In some possible implementations, various aspects of the method provided in the present application may also be implemented in the form of a program part, which includes a program code. When the program part is run on a computer device, the program code is used to enable the computer device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 2 The method performed in the illustrated embodiment.

[0065] It can be understood by those skilled in the art that all or part of the steps of the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiment are executed; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks or optical disks. Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent part, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software part, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in various embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0066] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0067] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A remote control automatic recurrence key method, characterized in that: The method comprises: Get the remote control key log; According to the remote control key log, a plurality of key data groups are obtained; wherein each key data group includes a key value and an operation interval time; Compile a script according to the plurality of key data groups; wherein the script includes key operation commands corresponding to each operation interval time; Execute the script to automatically reproduce the corresponding key operation at the preset time point.

2. The method according to claim 1, characterized in that The step of obtaining the remote control key log includes: According to the input log capture command, the remote control key log is obtained, and the remote control key log is copied to a USB flash drive; wherein the log capture command is logcat -v monotonic > / data / 1.log &.

3. The method according to claim 1, characterized in that The step of obtaining a plurality of key data groups according to the remote control key log comprises: Use notepad++ software to open the remote control key log; According to the input target search command, information query is performed in the remote control key log to obtain multiple information lines including CPU time and key values; Copy the multiple information rows containing CPU time and key values ​​into Excel software for data sorting to obtain two columns of data; wherein the two columns of data contain one-to-one corresponding CPU time and key values; According to the two columns of data, the operation interval time corresponding to each CPU time is calculated to obtain two updated columns of data; wherein the two updated columns of data contain one-to-one corresponding operation interval time and key value; According to the input target replacement command, the updated two columns of data are pasted into the newly created notepad++ document.

4. The method according to claim 1, characterized in that The step of writing a script according to the plurality of key data groups comprises: Copy the multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write the telecom local video playback script.

5. The method according to claim 1, characterized in that The step of writing a script according to the plurality of key data groups comprises: Copy the multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write the script for playing pictures and background music.

6. The method according to claim 1, characterized in that The step of writing a script according to the plurality of key data groups comprises: Copy the multiple key data groups to the push_key function and the sleep_time function; According to the push_key function and sleep_time function, write a script for playing local music in multiple formats.

7. The method according to claim 1, characterized in that After writing a script according to the plurality of key data groups, the method includes: Execute and verify the script to obtain a verification result; According to the verification result, determine whether to re-record the remote control key log and write a corresponding script.

8. An automatic recurring key device for a remote controller, characterized in that: The device comprises: A key log acquisition unit, used to acquire a remote control key log; A key data group acquisition unit, used to acquire multiple key data groups according to the remote control key log; wherein each key data group includes a key value and an operation interval time; A script writing unit, used for writing a script according to the plurality of key data groups; wherein the script includes key operation commands corresponding to each operation interval time; The key reproducing unit is used to execute the script and automatically reproduce the corresponding key operation at a preset time point.

9. An electronic device, characterized in that: The device comprises: A memory for storing program instructions; A processor is used to call the program instructions stored in the memory, and execute any method according to claims 1-7 according to the obtained program instructions.

10. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute any one of the methods of claims 1-7.

Citation Information

Patent Citations

  • Multimedia business realizing method and digital television receiving terminal

    CN102137299A

  • Log management method of numerical control system

    CN103064905A

  • Intelligent equipment key reuse method, device, storage medium and computer equipment

    CN110362255A

  • Performance estimation system and method for IPTV interactive broadcasting program

    KR1020110067923A

  • Method and apparatus for setting and enabling shortcut key of remote controller

    US20090138910A1