CN107705541B - Remote controller control method, device, equipment and computer readable storage medium - Google Patents

Remote controller control method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN107705541B
CN107705541B CN201710910779.4A CN201710910779A CN107705541B CN 107705541 B CN107705541 B CN 107705541B CN 201710910779 A CN201710910779 A CN 201710910779A CN 107705541 B CN107705541 B CN 107705541B
Authority
CN
China
Prior art keywords
application module
module
priority
remote control
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710910779.4A
Other languages
Chinese (zh)
Other versions
CN107705541A (en
Inventor
徐立灿
支彬
钟超强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Zhichi Technology Co.,Ltd.
Original Assignee
Beijing Shengshihui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shengshihui Technology Co ltd filed Critical Beijing Shengshihui Technology Co ltd
Priority to CN201710910779.4A priority Critical patent/CN107705541B/en
Publication of CN107705541A publication Critical patent/CN107705541A/en
Application granted granted Critical
Publication of CN107705541B publication Critical patent/CN107705541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4831Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例公开了一种遥控器控制方法、装置、设备及计算机可读存储介质。所述遥控器控制方法包括:设置遥控器应用模块的中止优先级;获取遥控器的当前运行状态;当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。本公开实施例能够使目标应用模块更灵活、更稳定、更快速地被按键调用,进而提高应用模块之间的跳转切换速度,提高智能遥控器的便捷性,增强用户的使用体验,同时还能促进智能遥控器与用户之间更多的交互。

Figure 201710910779

Embodiments of the present disclosure disclose a remote control control method, apparatus, device, and computer-readable storage medium. The remote controller control method includes: setting a suspension priority of a remote controller application module; acquiring a current running state of the remote controller; when the current running state satisfies a preset condition, suspending the running of the application module according to the suspension priority of the application module . The embodiments of the present disclosure can make the target application module more flexible, more stable, and faster to be called by keys, thereby improving the jumping and switching speed between application modules, improving the convenience of the smart remote control, and enhancing the user experience. It can promote more interaction between the smart remote control and the user.

Figure 201710910779

Description

遥控器控制方法、装置、设备及计算机可读存储介质Remote control control method, apparatus, device and computer-readable storage medium

技术领域technical field

本公开涉及遥控器控制技术领域,具体涉及一种遥控器控制方法、装置、设备及计算机可读存储介质。The present disclosure relates to the technical field of remote control control, and in particular, to a remote control control method, apparatus, device, and computer-readable storage medium.

背景技术Background technique

随着电子技术的飞速发展,越来越多的家用电器使用遥控器进行控制,为了进一步地为用户提供更好的使用体验,智能遥控器应运而生。通常来说,智能遥控器中设有多个应用模块,通过遥控器面板上的按键来对应调用,而应用模块之间的跳转切换速度直接影响了用户对于智能遥控器的使用体验。With the rapid development of electronic technology, more and more household appliances are controlled by remote controllers. In order to further provide users with a better experience, smart remote controllers emerge as the times require. Generally speaking, there are multiple application modules in the smart remote control, which are called correspondingly through the buttons on the remote control panel, and the speed of jumping and switching between the application modules directly affects the user's experience of using the smart remote control.

发明内容SUMMARY OF THE INVENTION

本公开实施例提供一种遥控器控制方法、装置、设备及计算机可读存储介质。Embodiments of the present disclosure provide a remote control control method, apparatus, device, and computer-readable storage medium.

第一方面,本公开实施例中提供了一种遥控器控制方法。In a first aspect, an embodiment of the present disclosure provides a remote controller control method.

具体的,所述遥控器控制方法,包括:Specifically, the remote control method includes:

设置遥控器应用模块的中止优先级;Set the abort priority of the remote control application module;

获取遥控器的当前运行状态;Get the current running status of the remote control;

当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。When the current running state satisfies the preset condition, the running of the application module is suspended according to the suspension priority of the application module.

可选地,所述设置遥控器应用模块的中止优先级,包括:Optionally, the setting of the suspension priority of the remote control application module includes:

设置遥控器应用模块的中止优先级参考元素;Set the abort priority reference element of the remote control application module;

为所述中止优先级参考元素分别设置权重值;respectively setting weight values for the suspension priority reference elements;

计算遥控器应用模块每一中止优先级参考元素对应的分值;Calculate the score corresponding to each abort priority reference element of the remote control application module;

根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;Sort the remote controller application module according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

根据所述排序结果确定遥控器应用模块的中止优先级。The suspension priority of the remote control application module is determined according to the sorting result.

可选地,所述中止优先级参考元素包括以下元素中的一种或多种:Optionally, the suspension priority reference element includes one or more of the following elements:

应用模块的使用频率;The frequency of use of the application module;

应用模块的重要性;the importance of application modules;

应用模块的预设参考元素。Preset reference elements for application modules.

可选地,所述预设条件至少包括:系统可用内存低于预设内存阈值。Optionally, the preset condition at least includes: the available memory of the system is lower than a preset memory threshold.

可选地,所述方法还包括:Optionally, the method further includes:

响应于键盘输入事件,确定是否为预设按键事件;In response to the keyboard input event, determine whether it is a preset key event;

当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;When it is determined that the keyboard input event is the preset key event, an application module corresponding to the preset key event is determined;

启动所述应用模块。Start the application module.

可选地,所述方法还包括:Optionally, the method further includes:

设置遥控器应用模块的运行优先级;Set the running priority of the remote control application module;

根据所述运行优先级运行相应的应用模块。Run the corresponding application module according to the running priority.

可选地,所述设置遥控器应用模块的运行优先级,包括:Optionally, the setting of the running priority of the remote control application module includes:

设置应用模块的运行优先级参考元素;Set the run priority reference element of the application module;

为所述运行优先级参考元素分别设置权重值;respectively setting weight values for the running priority reference elements;

计算应用模块每一运行优先级参考元素对应的分值;Calculate the score corresponding to each running priority reference element of the application module;

根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;Sort the application modules according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

根据所述排序结果确定应用模块的运行优先级。The running priority of the application module is determined according to the sorting result.

可选地,所述方法还包括:Optionally, the method further includes:

获取应用模块切换指令;Get the application module switching instruction;

计算应用模块切换所需的切换时间;Calculate the switching time required for application module switching;

响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。In response to the switching instruction of the application module, the preset display content is selected to be displayed within the switching time.

第二方面,本公开实施例提供了一种遥控器控制装置,所述装置包括:In a second aspect, an embodiment of the present disclosure provides a remote controller control device, the device comprising:

第一设置模块,被配置为设置遥控器应用模块的中止优先级;a first setting module, configured to set the suspension priority of the remote control application module;

第一获取模块,被配置为获取遥控器的当前运行状态;a first obtaining module, configured to obtain the current running state of the remote controller;

中止模块,被配置为当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。The suspending module is configured to suspend the running of the application module according to the suspending priority of the application module when the current running state satisfies the preset condition.

可选地,所述第一设置模块包括:Optionally, the first setting module includes:

第一设置子模块,被配置为设置遥控器应用模块的中止优先级参考元素;The first setting submodule is configured to set the reference element of the suspension priority of the remote control application module;

第二设置子模块,被配置为为所述中止优先级参考元素分别设置权重值;a second setting sub-module, configured to respectively set weight values for the suspension priority reference elements;

第一计算子模块,被配置为计算遥控器应用模块每一中止优先级参考元素对应的分值;a first calculation sub-module, configured to calculate a score corresponding to each aborted priority reference element of the remote control application module;

第一排序子模块,被配置为根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;a first sorting sub-module, configured to sort the remote control application module according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

第一确定子模块,被配置为根据所述排序结果确定遥控器应用模块的中止优先级。The first determination sub-module is configured to determine the suspension priority of the remote control application module according to the sorting result.

可选地,所述中止优先级参考元素包括以下元素中的一种或多种:Optionally, the suspension priority reference element includes one or more of the following elements:

应用模块的使用频率;The frequency of use of the application module;

应用模块的重要性;the importance of application modules;

应用模块的预设参考元素。Preset reference elements for application modules.

可选地,所述预设条件至少包括:系统可用内存低于预设内存阈值。Optionally, the preset condition at least includes: the available memory of the system is lower than a preset memory threshold.

可选地,所述装置还包括:Optionally, the device further includes:

第一确定模块,被配置为响应于键盘输入事件,确定是否为预设按键事件;a first determining module, configured to determine whether it is a preset key event in response to a keyboard input event;

第二确定模块,被配置为当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;a second determining module configured to, when determining that the keyboard input event is the preset key event, determine an application module corresponding to the preset key event;

启动模块,被配置为启动所述应用模块。A startup module configured to start the application module.

可选地,所述装置还包括:Optionally, the device further includes:

第二设置模块,被配置为设置遥控器应用模块的运行优先级;The second setting module is configured to set the running priority of the remote control application module;

运行模块,被配置为根据所述运行优先级运行相应的应用模块。The running module is configured to run the corresponding application module according to the running priority.

可选地,所述第二设置模块包括:Optionally, the second setting module includes:

第三设置子模块,被配置为设置应用模块的运行优先级参考元素;The third setting sub-module is configured to set the running priority reference element of the application module;

第四设置子模块,被配置为所述运行优先级参考元素分别设置权重值;a fourth setting submodule, configured to respectively set weight values for the operation priority reference elements;

第二计算子模块,被配置为计算应用模块每一运行优先级参考元素对应的分值;The second calculation sub-module is configured to calculate the score corresponding to each running priority reference element of the application module;

第二排序子模块,被配置为根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;a second sorting sub-module, configured to sort the application modules according to the sum of the products of the score and the corresponding weight value to obtain a sorting result;

第二确定子模块,被配置为根据所述排序结果确定应用模块的运行优先级。The second determining sub-module is configured to determine the running priority of the application module according to the sorting result.

可选地,所述装置还包括:Optionally, the device further includes:

第二获取模块,被配置为获取应用模块切换指令;The second acquisition module is configured to acquire the application module switching instruction;

计算模块,被配置为计算应用模块切换所需的切换时间;a calculation module, configured to calculate the switching time required for the switching of the application module;

显示模块,被配置为响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。The display module is configured to select the preset display content to be displayed within the switching time in response to the switching instruction of the application module.

第三方面,本公开实施例提供了一种电子设备,包括存储器和处理器,所述存储器用于存储一条或多条支持遥控器控制装置执行上述第一方面中遥控器控制方法的计算机指令,所述处理器被配置为用于执行所述存储器中存储的计算机指令。所述遥控器控制装置还可以包括通信接口,用于遥控器控制装置与其他设备或通信网络通信。In a third aspect, an embodiment of the present disclosure provides an electronic device, including a memory and a processor, where the memory is used to store one or more computer instructions that support a remote control device to execute the remote control control method in the first aspect, The processor is configured to execute computer instructions stored in the memory. The remote control device may further include a communication interface for the remote control device to communicate with other devices or a communication network.

第四方面,本公开实施例提供了一种计算机可读存储介质,用于存储遥控器控制装置所用的计算机指令,其包含用于执行上述第一方面中遥控器控制方法为遥控器控制装置所涉及的计算机指令。In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions used by a remote controller control device, including a method for executing the remote controller control method in the first aspect described above by the remote controller control device. The computer instructions involved.

本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

上述技术方案,通过对于遥控器中的应用模块设置不同的中止优先级来控制中止的应用模块;通过直接截取预设按键事件来实现第一时间启动相应的应用模块;通过设置遥控器中应用模块的运行优先级来控制当前运行的应用模块数目,从而保障使用频率较高、较为重要的应用模块长时间运行、避免不必要的应用模块占用较多的内存空间、使目标应用模块更灵活、更稳定、更快速地被按键调用,进而提高应用模块之间的跳转切换速度,提高智能遥控器的便捷性,增强用户的使用体验,同时还能促进智能遥控器与用户之间更多的交互。In the above technical solution, the application modules that are suspended are controlled by setting different suspension priorities for the application modules in the remote controller; the corresponding application modules can be started at the first time by directly intercepting the preset key event; by setting the application modules in the remote controller to control the number of currently running application modules, so as to ensure that the more frequently used and more important application modules run for a long time, avoid unnecessary application modules occupying more memory space, and make the target application modules more flexible and more efficient. It can be called by keys stably and quickly, thereby improving the jump switching speed between application modules, improving the convenience of the smart remote control, enhancing the user experience, and promoting more interaction between the smart remote control and the user. .

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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 disclosure.

附图说明Description of drawings

结合附图,通过以下非限制性实施方式的详细描述,本公开的其它特征、目的和优点将变得更加明显。在附图中:Other features, objects and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments, taken in conjunction with the accompanying drawings. In the attached image:

图1示出根据本公开一实施方式的遥控器控制方法的流程图;FIG. 1 shows a flowchart of a remote controller control method according to an embodiment of the present disclosure;

图2示出根据图1所示实施方式的步骤S101的流程图;Fig. 2 shows a flowchart of step S101 according to the embodiment shown in Fig. 1;

图3示出根据本公开另一实施方式的遥控器控制方法中对于键盘输入事件进行判断的流程图;3 shows a flowchart of judging a keyboard input event in a remote control control method according to another embodiment of the present disclosure;

图4示出根据本公开另一实施方式的遥控器控制方法中设置运行优先级的流程图;FIG. 4 shows a flowchart of setting a running priority in a remote control control method according to another embodiment of the present disclosure;

图5示出根据图4所示实施方式的步骤S401的流程图;Fig. 5 shows a flowchart of step S401 according to the embodiment shown in Fig. 4;

图6示出根据本公开另一实施方式的遥控器控制方法中对于切换界面进行控制的流程图;6 shows a flowchart of controlling a switching interface in a remote controller control method according to another embodiment of the present disclosure;

图7示出根据本公开一实施方式的遥控器控制装置的结构框图;7 shows a structural block diagram of a remote controller control device according to an embodiment of the present disclosure;

图8示出根据图7所示实施方式的第一设置模块701的结构框图;FIG. 8 shows a structural block diagram of the first setting module 701 according to the embodiment shown in FIG. 7;

图9示出根据本公开另一实施方式的遥控器控制装置中对于键盘输入事件进行判断部分的结构框图;FIG. 9 shows a structural block diagram of a part for judging a keyboard input event in a remote controller control device according to another embodiment of the present disclosure;

图10示出根据本公开另一实施方式的遥控器控制装置中设置运行优先级部分的结构框图;FIG. 10 shows a structural block diagram of a part for setting an operation priority in a remote controller control device according to another embodiment of the present disclosure;

图11示出根据图10所示实施方式的第二设置模块1001的结构框图;Fig. 11 shows a structural block diagram of the second setting module 1001 according to the embodiment shown in Fig. 10;

图12示出根据本公开另一实施方式的遥控器控制装置中对于切换界面进行控制部分的结构框图;FIG. 12 shows a structural block diagram of a part that controls a switching interface in a remote controller control device according to another embodiment of the present disclosure;

图13示出根据本公开一实施方式的电子设备的结构框图;13 shows a structural block diagram of an electronic device according to an embodiment of the present disclosure;

图14是适于用来实现根据本公开一实施方式的遥控器控制方法的计算机系统的结构示意图。14 is a schematic structural diagram of a computer system suitable for implementing a remote controller control method according to an embodiment of the present disclosure.

具体实施方式Detailed ways

下文中,将参考附图详细描述本公开的示例性实施方式,以使本领域技术人员可容易地实现它们。此外,为了清楚起见,在附图中省略了与描述示例性实施方式无关的部分。Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts unrelated to describing the exemplary embodiments are omitted from the drawings.

在本公开中,应理解,诸如“包括”或“具有”等的术语旨在指示本说明书中所公开的特征、数字、步骤、行为、部件、部分或其组合的存在,并且不欲排除一个或多个其他特征、数字、步骤、行为、部件、部分或其组合存在或被添加的可能性。In the present disclosure, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts, or combinations thereof disclosed in this specification, and are not intended to exclude a or multiple other features, numbers, steps, acts, components, parts, or combinations thereof may exist or be added.

另外还需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。In addition, it should be noted that the embodiments of the present disclosure and the features of the embodiments may be combined with each other under the condition of no conflict. The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

本公开实施例提供的技术方案,通过对于遥控器中的应用模块设置不同的中止优先级来控制中止的应用模块;通过直接截取预设按键事件来实现第一时间启动相应的应用模块;通过设置遥控器中应用模块的运行优先级来控制当前运行的应用模块数目,从而保障使用频率较高、较为重要的应用模块长时间运行、避免不必要的应用模块占用较多的内存空间、使目标应用模块更灵活、更稳定、更快速地被按键调用,进而提高应用模块之间的跳转切换速度,提高智能遥控器的便捷性,增强用户的使用体验,同时还能促进智能遥控器与用户之间更多的交互。The technical solutions provided by the embodiments of the present disclosure control the suspended application modules by setting different suspension priorities for the application modules in the remote control; start the corresponding application module at the first time by directly intercepting the preset key event; The running priority of the application modules in the remote control is used to control the number of currently running application modules, so as to ensure that the more frequently used and more important application modules run for a long time, avoid unnecessary application modules occupying more memory space, and make the target application The module is more flexible, more stable and faster to be called by the keys, thereby improving the jumping and switching speed between application modules, improving the convenience of the smart remote control, enhancing the user experience, and at the same time promoting the relationship between the smart remote control and the user. more interactions.

图1示出根据本公开一实施方式的遥控器控制方法的流程图。如图1所示,所述遥控器控制方法包括以下步骤S101-S103:FIG. 1 shows a flowchart of a remote controller control method according to an embodiment of the present disclosure. As shown in FIG. 1, the remote controller control method includes the following steps S101-S103:

在步骤S101中,设置遥控器应用模块的中止优先级;In step S101, setting the suspension priority of the remote control application module;

在步骤S102中,获取遥控器的当前运行状态;In step S102, the current operating state of the remote control is obtained;

在步骤S103中,当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。In step S103, when the current running state satisfies the preset condition, the running of the application module is suspended according to the suspension priority of the application module.

其中,所述预设条件至少包括:系统可用内存低于预设内存阈值。Wherein, the preset condition at least includes: the available memory of the system is lower than the preset memory threshold.

在常见的智能遥控器操作系统中,通常会设置低内存中止机制,即在系统检测发现内存低于某一内存阈值时,通过中止运行在后台的应用模块来释放内存。基于对于所述低内存中止机制的考虑,在上述实施例中,首先对于遥控器中的各个应用模块进行中止优先级的设置,然后获取遥控器的当前运行状态,当发现系统当前运行状态满足一预设条件时,按照应用模块的中止优先级中止应用模块的运行。这样能够保障使用频率较高、较为重要的应用模块长时间运行,避免不必要的应用模块占用较多的内存空间,提高应用模块之间的跳转切换速度,提高智能遥控器的便捷性,增强用户的使用体验。In common smart remote control operating systems, a low memory termination mechanism is usually set, that is, when the system detects that the memory is lower than a certain memory threshold, it releases the memory by suspending the application module running in the background. Based on the consideration of the low-memory suspension mechanism, in the above embodiment, firstly, the suspension priority is set for each application module in the remote controller, and then the current operating status of the remote controller is obtained. When it is found that the current operating status of the system satisfies a In the preset condition, the operation of the application module is aborted according to the abort priority of the application module. In this way, it can ensure that the more frequently used and more important application modules run for a long time, avoid unnecessary application modules occupying more memory space, improve the speed of jumping and switching between application modules, improve the convenience of the smart remote control, and enhance the User experience.

在本实施例的一个可选实现方式中,如图2所示,所述步骤S101即设置遥控器应用模块的中止优先级的步骤,包括步骤S201-S205:In an optional implementation manner of this embodiment, as shown in FIG. 2 , the step S101 is the step of setting the suspension priority of the remote control application module, including steps S201-S205:

在步骤S201中,设置遥控器应用模块的中止优先级参考元素;In step S201, setting the reference element of the suspension priority of the remote control application module;

在步骤S202中,为所述中止优先级参考元素分别设置权重值;In step S202, a weight value is respectively set for the suspension priority reference element;

在步骤S203中,计算遥控器应用模块每一中止优先级参考元素对应的分值;In step S203, calculate the score corresponding to each aborted priority reference element of the remote control application module;

在步骤S204中,根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;In step S204, the remote controller application module is sorted according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

在步骤S205中,根据所述排序结果确定遥控器应用模块的中止优先级。In step S205, the suspension priority of the remote control application module is determined according to the sorting result.

其中,所述中止优先级参考元素包括以下元素中的一种或多种:Wherein, the aborting priority reference element includes one or more of the following elements:

应用模块的使用频率;The frequency of use of the application module;

应用模块的重要性;the importance of application modules;

应用模块的预设参考元素。Preset reference elements for application modules.

在上述实施例中,可根据应用模块的使用频率、应用模块的重要性、以及应用模块的其他预设参考元素来综合设置遥控器应用模块的中止优先级。比如,可将智能遥控器中相对使用较为频繁的红外遥控、本地生活和同屏控制这三个应用模块的中止优先级设置地较低,这样当系统内存出现不足时,首先中止其他不太常用的应用模块,保证上述使用较为频繁的应用模块安全地留在系统后台,这样当用户调用使用较为频繁的应用模块时,就能够迅速地将相应的应用模块切换至前台,提高应用模块调用的速度,提升用户使用体验。In the above embodiment, the suspension priority of the remote control application module can be comprehensively set according to the usage frequency of the application module, the importance of the application module, and other preset reference elements of the application module. For example, the three application modules of infrared remote control, local life and same-screen control, which are relatively frequently used in the smart remote control, can be set to a lower priority, so that when the system memory is insufficient, the other less commonly used application modules will be terminated first. This ensures that the above frequently used application modules are safely left in the background of the system, so that when the user calls the more frequently used application modules, the corresponding application modules can be quickly switched to the foreground and the speed of application module calls is improved. , to improve the user experience.

当然,设置遥控器应用模块的中止优先级时,需要考虑的因素有很多,比如上文提及的应用模块的使用频率,还有应用模块的重要性,以及其他参考元素。在基于多种因素设置遥控器应用模块的中止优先级时,可先为所有的中止优先级参考元素分别设置权重值,然后计算遥控器应用模块对应于每一中止优先级参考元素的分值,根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到一个排序结果,最后根据所述排序结果确定遥控器应用模块的中止优先级。基于上述方案,当系统内存出现不足时,使用频率较低、重要性较低的应用模块首先被中止,使用频率较高、重要性较高的应用模块最后被中止。Of course, when setting the abort priority of the remote control application module, there are many factors that need to be considered, such as the frequency of use of the application module mentioned above, the importance of the application module, and other reference elements. When setting the abort priority of the remote control application module based on various factors, the weight value can be set for all the abort priority reference elements respectively, and then the score of the remote control application module corresponding to each abort priority reference element can be calculated. The remote controller application modules are sorted according to the sum of the product of the score and the corresponding weight value to obtain a sorting result, and finally the suspension priority of the remote controller application module is determined according to the sorting result. Based on the above solution, when the system memory is insufficient, the application modules with lower usage frequency and lower importance are terminated first, and the application modules with higher usage frequency and higher importance are terminated last.

需要说明的是,上述对于中止优先级参考元素的说明仅为示例性说明,在实际应用中,可根据实际应用的需要选择合适的中止优先级参考元素。It should be noted that the above description of the suspension priority reference element is only an exemplary illustration, and in practical applications, an appropriate suspension priority reference element may be selected according to the needs of the actual application.

在一个实施例中,如图3所示,所述方法还包括步骤S301-S303:In one embodiment, as shown in FIG. 3 , the method further includes steps S301-S303:

在步骤S301中,响应于键盘输入事件,确定是否为预设按键事件;In step S301, in response to a keyboard input event, determine whether it is a preset key event;

在步骤S302中,当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;In step S302, when it is determined that the keyboard input event is the preset key event, an application module corresponding to the preset key event is determined;

在步骤S303中,启动所述应用模块。In step S303, the application module is started.

在智能遥控器操作系统中,当用户按下键盘上的按键,即发生键盘输入事件时,操作系统会对键盘输入事件进行分析,以确定与该键盘输入事件相关联的动作或指令,然后操作系统会通过广播或其他信息发送方式将分析结果发送出去,与分析结果相关的应用模块或其他功能模块在收到消息后再根据指令的具体要求进行响应。对于使用较为频繁、重要性较高的应用模块,这样的处理方式,显然延长了相关应用模块的响应速度,降低用户的使用体验。因此,在上述实施例中,响应于键盘输入事件,本公开首先确定该键盘输入事件是否为预设按键事件,比如,确定该键盘输入事件是否为启动或者调用红外遥控、本地生活和同屏控制等相对使用较为频繁的应用模块的键盘输入事件;当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块,并启动所述应用模块,比如,当确定所述键盘输入事件确实为启动或者调用红外遥控、本地生活和同屏控制等相对使用较为频繁的应用模块时,再确定具体是启动或者调用哪个应用模块,最后通过发送事件消息或者其他方式启动相应的应用模块。In the smart remote control operating system, when the user presses a key on the keyboard, that is, when a keyboard input event occurs, the operating system analyzes the keyboard input event to determine the action or instruction associated with the keyboard input event, and then operates The system will send the analysis results through broadcasting or other information sending methods, and the application modules or other functional modules related to the analysis results will respond according to the specific requirements of the instruction after receiving the message. For application modules that are used more frequently and are of high importance, such a processing method obviously prolongs the response speed of the relevant application modules and reduces the user experience. Therefore, in the above-mentioned embodiment, in response to a keyboard input event, the present disclosure first determines whether the keyboard input event is a preset key event, for example, determines whether the keyboard input event is to activate or invoke infrared remote control, local living and on-screen control and other relatively frequently used keyboard input events of application modules; when it is determined that the keyboard input event is the preset key event, the application module corresponding to the preset key event is determined, and the application module is activated, such as , when it is determined that the keyboard input event is indeed a relatively frequently used application module, such as starting or calling infrared remote control, local life and on-screen control, then determine which application module is specifically started or called, and finally by sending an event message or other to start the corresponding application module.

根据本实施例的上述技术方案,能够省去分析结果信息发送、广播的时间,在系统得到对于键盘输入事件的分析结果后,直接启动相应的应用模块,这样就能够保证在按键触发的时候,在第一时间调用到相对应的应用模块,从而优化了预设应用模块的启动速度,其中,所述预设应用模块指的是用户使用频率较高、较为重要的应用模块。According to the above technical solution of this embodiment, the time for sending and broadcasting the analysis result information can be saved, and after the system obtains the analysis result of the keyboard input event, the corresponding application module is directly started, so that it can be ensured that when the key is triggered, the The corresponding application module is called at the first time, thereby optimizing the startup speed of the preset application module, wherein the preset application module refers to an application module that is frequently used by a user and is more important.

当然,在实际应用中,可采用多种启动应用模块的方法,比如,可设置一特定进程监听预设应用模块对应的按键事件,一旦监听到相关的按键事件就马上通知相应的应用模块进行启动。当然,也可将所述预设应用模块设置为自行监听相关的按键事件,并在监听到相关的按键事件之后自行启动。需要说明的是,上述启动应用模块的方法仅为示例性说明,不作为对于本公开的具体限制,本领域技术人员可根据实际应用的需要,对于上述启动应用模块的方法进行合理的变形,所有合理、可行的启动应用模块的方法均落入本公开的保护范围内。Of course, in practical applications, various methods of starting the application module can be adopted. For example, a specific process can be set to monitor the key event corresponding to the preset application module, and once the relevant key event is monitored, the corresponding application module is immediately notified to start. . Of course, the preset application module can also be set to monitor the relevant key events by itself, and start by itself after monitoring the relevant key events. It should be noted that the above-mentioned method for starting an application module is only an exemplary illustration, and does not serve as a specific limitation for the present disclosure. Those skilled in the art can make reasonable modifications to the above-mentioned method for starting an application module according to the needs of practical applications. Reasonable and feasible methods for starting the application module all fall within the protection scope of the present disclosure.

在一个实施例中,如图4所示,所述方法还包括步骤S401-S402:In one embodiment, as shown in FIG. 4 , the method further includes steps S401-S402:

在步骤S401中,设置遥控器应用模块的运行优先级;In step S401, the running priority of the remote control application module is set;

在步骤S402中,根据所述运行优先级运行相应的应用模块。In step S402, the corresponding application module is run according to the running priority.

在智能遥控器操作系统中,通常对于每个应用模块都预先分配有内存,但实际上有些应用模块目前并未运行,或者运行次数非常少,为了保证各个应用模块具有足够的使用内存,本实施例有选择地对于目前并不在运行的应用模块或者不常使用的应用模块所分配的内存进行释放。如上述所述,在本实施例中,通过设置遥控器应用模块的运行优先级,来确定应用模块的运行状态。In the smart remote control operating system, memory is usually pre-allocated for each application module, but in fact some application modules are not running at present, or the number of running times is very small. In order to ensure that each application module has enough memory, this implementation For example, the memory allocated by the application module that is not currently running or the application module that is not used frequently is released. As described above, in this embodiment, the running state of the application module is determined by setting the running priority of the remote control application module.

比如,对于红外遥控、本地生活和同屏控制等相对使用较为频繁、较为重要的应用模块,可为其设置较高的运行优先级,对于其他使用不太频繁、不太重要的应用模块,其运行优先级可设置地较低。甚至,可只保留供系统运行所必需的应用模块,使使用较为频繁、较为重要的应用模块运行时能够较大限度地使用到系统资源,在被按键调用时能够迅速地启动,保障应用模块切换的流畅性。For example, for infrared remote control, local life and on-screen control and other relatively frequently used and more important application modules, a higher running priority can be set for them. For other less frequently used and less important application modules, their The run priority can be set lower. Even, only the application modules necessary for system operation can be reserved, so that the more frequently used and more important application modules can use the system resources to the maximum extent when they are running, and can be started quickly when they are called by keys, ensuring the switching of application modules. of fluency.

在本实施例的一个可选实现方式中,如图5所示,所述步骤S401即设置遥控器应用模块的运行优先级的步骤,包括步骤S501-S505:In an optional implementation manner of this embodiment, as shown in FIG. 5 , the step S401 is the step of setting the operation priority of the remote control application module, including steps S501-S505:

在步骤S501中,设置应用模块的运行优先级参考元素;In step S501, set the operation priority reference element of the application module;

在步骤S502中,为所述运行优先级参考元素分别设置权重值;In step S502, a weight value is respectively set for the operation priority reference element;

在步骤S503中,计算应用模块每一运行优先级参考元素对应的分值;In step S503, calculate the score corresponding to each running priority reference element of the application module;

在步骤S504中,根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;In step S504, sorting the application modules according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

在步骤S505中,根据所述排序结果确定应用模块的运行优先级。In step S505, the running priority of the application module is determined according to the sorting result.

该实现方式中,对于遥控器应用模块的运行优先级进行设置的步骤,与上文中描述的遥控器应用模块的中止优先级的设置步骤比较相似,所述运行优先级参考元素也包括以下元素中的一种或多种:应用模块的使用频率;应用模块的重要性;应用模块的预设参考元素。区别在于,在设置遥控器应用模块的中止优先级时,使用频率越高、越重要的应用模块的中止优先级越低;而在设置遥控器应用模块的运行优先级时正好相反,使用频率越高、越重要的应用模块的运行优先级越高。也就是说,在系统运行时,首先要保证使用频率越高、越重要的应用模块的运行,尽量停止运行使用频率较低、重要性较低的应用模块,释放相应的内存。In this implementation manner, the step of setting the operation priority of the remote control application module is similar to the step of setting the suspension priority of the remote control application module described above, and the operation priority reference element also includes the following elements. One or more of: the frequency of use of the application module; the importance of the application module; the preset reference elements of the application module. The difference is that when setting the suspension priority of the remote control application module, the higher the frequency of use, the lower the suspension priority of the more important application module; Higher and more important application modules run with higher priority. That is to say, when the system is running, it is necessary to first ensure the operation of application modules with higher frequency and more importance, try to stop running application modules with lower frequency and less importance, and release the corresponding memory.

需要说明的是,上述对于运行优先级参考元素的说明仅为示例性说明,在实际应用中,可根据实际应用的需要选择合适的运行优先级参考元素。It should be noted that the above description of the operation priority reference element is only an exemplary illustration, and in practical applications, an appropriate operation priority reference element may be selected according to the needs of the actual application.

在一个实施例中,如图6所示,所述方法还包括步骤S601-S603:In one embodiment, as shown in FIG. 6 , the method further includes steps S601-S603:

在步骤S601中,获取应用模块切换指令;In step S601, an application module switching instruction is obtained;

在步骤S602中,计算应用模块切换所需的切换时间;In step S602, calculating the switching time required for the switching of the application module;

在步骤S603中,响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。In step S603, the preset display content is selected to be displayed within the switching time in response to the switching instruction of the application module.

当智能遥控器的控制界面进行切换时,通常会出现比较生硬的界面切换,尤其在横竖界面进行切换时,甚至会看到之前应用模块的残留界面,这就让用户的体验大打折扣。在该实施例中,通过在界面切换时植入过渡内容,来缓解上述问题。如上述内容所述,在该实施例中,首先获取应用模块的切换指令,然后计算或者估计应用模块切换所需的切换时间,最后响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。其中,所述预设显示内容可以为动画也可以为图像。这样就能够使界面切换时用户看到的画面更为流畅。When the control interface of the smart remote control is switched, there is usually a blunt interface switching, especially when the horizontal and vertical interfaces are switched, and even the residual interface of the previous application module will be seen, which greatly reduces the user experience. In this embodiment, the above problem is alleviated by implanting transition content when the interface is switched. As described above, in this embodiment, the switching instruction of the application module is obtained first, then the switching time required for switching the application module is calculated or estimated, and finally the preset display content is selected in response to the switching instruction of the application module at the switching time displayed inside. The preset display content may be an animation or an image. In this way, the screen that the user sees when the interface is switched is smoother.

其中,可根据特定的算法或者根据经验值计算或者估计应用模块切换所需的切换时间,对此,本公开不作具体限定。Wherein, the switching time required for the switching of the application modules can be calculated or estimated according to a specific algorithm or according to an empirical value, which is not specifically limited in the present disclosure.

下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are the apparatus embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure.

图7示出根据本公开一实施方式的遥控器控制装置的结构框图,如图7所示,所述遥控器控制装置包括第一设置模块701、第一获取模块702和中止模块703:FIG. 7 shows a structural block diagram of a remote controller control apparatus according to an embodiment of the present disclosure. As shown in FIG. 7 , the remote controller control apparatus includes a first setting module 701, a first acquisition module 702, and a stop module 703:

第一设置模块701,被配置为设置遥控器应用模块的中止优先级;The first setting module 701 is configured to set the suspension priority of the remote control application module;

第一获取模块702,被配置为获取遥控器的当前运行状态;The first obtaining module 702 is configured to obtain the current running state of the remote controller;

中止模块703,被配置为当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。The suspending module 703 is configured to suspend the running of the application module according to the suspending priority of the application module when the current running state satisfies the preset condition.

其中,所述预设条件至少包括:系统可用内存低于预设内存阈值。Wherein, the preset condition at least includes: the available memory of the system is lower than the preset memory threshold.

在常见的智能遥控器操作系统中,通常会设置低内存中止机制,即在系统检测发现内存低于某一内存阈值时,通过中止运行在后台的应用模块来释放内存。基于对于所述低内存中止机制的考虑,在上述实施例中,第一设置模块701对于遥控器中的各个应用模块进行中止优先级的设置,第一获取模块702获取遥控器的当前运行状态,当发现系统当前运行状态满足一预设条件时,中止模块703按照应用模块的中止优先级中止应用模块的运行。这样能够保障使用频率较高、较为重要的应用模块长时间运行,避免不必要的应用模块占用较多的内存空间,提高应用模块之间的跳转切换速度,提高智能遥控器的便捷性,增强用户的使用体验。In common smart remote control operating systems, a low memory termination mechanism is usually set, that is, when the system detects that the memory is lower than a certain memory threshold, it releases the memory by suspending the application module running in the background. Based on the consideration of the low memory suspension mechanism, in the above embodiment, the first setting module 701 sets the suspension priority for each application module in the remote controller, and the first obtaining module 702 obtains the current operating state of the remote controller, When it is found that the current running state of the system satisfies a preset condition, the suspending module 703 suspends the running of the application module according to the suspending priority of the application module. In this way, it can ensure that the more frequently used and more important application modules run for a long time, avoid unnecessary application modules occupying more memory space, improve the speed of jumping and switching between application modules, improve the convenience of the smart remote control, and enhance the User experience.

在本实施例的一个可选实现方式中,如图8所示,所述第一设置模块701包括第一设置子模块801、第二设置子模块802、第一计算子模块803、第一排序子模块804和第一确定子模块805:In an optional implementation manner of this embodiment, as shown in FIG. 8 , the first setting module 701 includes a first setting sub-module 801 , a second setting sub-module 802 , a first calculation sub-module 803 , and a first sorting sub-module 801 . Submodule 804 and first determination submodule 805:

第一设置子模块801,被配置为设置遥控器应用模块的中止优先级参考元素;The first setting sub-module 801 is configured to set the reference element of the suspension priority of the remote control application module;

第二设置子模块802,被配置为为所述中止优先级参考元素分别设置权重值;The second setting sub-module 802 is configured to respectively set weight values for the suspension priority reference elements;

第一计算子模块803,被配置为计算遥控器应用模块每一中止优先级参考元素对应的分值;The first calculation sub-module 803 is configured to calculate the score corresponding to each abort priority reference element of the remote control application module;

第一排序子模块804,被配置为根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;The first sorting sub-module 804 is configured to sort the remote controller application module according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

第一确定子模块805,被配置为根据所述排序结果确定遥控器应用模块的中止优先级。The first determination sub-module 805 is configured to determine the suspension priority of the remote control application module according to the sorting result.

其中,所述中止优先级参考元素包括以下元素中的一种或多种:Wherein, the aborting priority reference element includes one or more of the following elements:

应用模块的使用频率;The frequency of use of the application module;

应用模块的重要性;the importance of application modules;

应用模块的预设参考元素。Preset reference elements for application modules.

在上述实施例中,可根据应用模块的使用频率、应用模块的重要性、以及应用模块的其他预设参考元素来综合设置遥控器应用模块的中止优先级。比如,可将智能遥控器中相对使用较为频繁的红外遥控、本地生活和同屏控制这三个应用模块的中止优先级设置地较低,这样当系统内存出现不足时,首先中止其他不太常用的应用模块,保证上述使用较为频繁的应用模块安全地留在系统后台,这样当用户调用使用较为频繁的应用模块时,就能够迅速地将相应的应用模块切换至前台,提高应用模块调用的速度,提升用户使用体验。In the above embodiment, the suspension priority of the remote control application module can be comprehensively set according to the usage frequency of the application module, the importance of the application module, and other preset reference elements of the application module. For example, the three application modules of infrared remote control, local life and same-screen control, which are relatively frequently used in the smart remote control, can be set to a lower priority, so that when the system memory is insufficient, the other less commonly used application modules will be terminated first. This ensures that the above frequently used application modules are safely left in the background of the system, so that when the user calls the more frequently used application modules, the corresponding application modules can be quickly switched to the foreground and the speed of application module calls is improved. , to improve the user experience.

当然,设置遥控器应用模块的中止优先级时,需要考虑的因素有很多,比如上文提及的应用模块的使用频率,还有应用模块的重要性,以及其他参考元素。在基于第一设置子模块801设置的多种因素设置遥控器应用模块的中止优先级时,第二设置子模块802先为所有的中止优先级参考元素分别设置权重值,然后第一计算子模块803计算遥控器应用模块对应于每一中止优先级参考元素的分值,第一排序子模块804根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到一个排序结果,最后第一确定子模块805根据所述排序结果确定遥控器应用模块的中止优先级。基于上述方案,当系统内存出现不足时,使用频率较低、重要性较低的应用模块首先被中止,使用频率较高、重要性较高的应用模块最后被中止。Of course, when setting the abort priority of the remote control application module, there are many factors that need to be considered, such as the frequency of use of the application module mentioned above, the importance of the application module, and other reference elements. When setting the suspension priority of the remote control application module based on various factors set by the first setting sub-module 801, the second setting sub-module 802 firstly sets the weight values for all the suspension priority reference elements respectively, and then the first calculation sub-module 803 calculates the score of the remote control application module corresponding to each aborted priority reference element, and the first sorting sub-module 804 sorts the remote control application module according to the sum of the product of the score and the corresponding weight value to obtain a ranking. As a result, finally, the first determination sub-module 805 determines the suspension priority of the remote control application module according to the sorting result. Based on the above solution, when the system memory is insufficient, the application modules with lower usage frequency and lower importance are terminated first, and the application modules with higher usage frequency and higher importance are terminated last.

需要说明的是,上述对于中止优先级参考元素的说明仅为示例性说明,在实际应用中,可根据实际应用的需要选择合适的中止优先级参考元素。It should be noted that the above description of the suspension priority reference element is only an exemplary illustration, and in practical applications, an appropriate suspension priority reference element may be selected according to the needs of the actual application.

在一个实施例中,如图9所示,所述装置还包括第一确定模块901、第二确定模块902和启动模块903:In one embodiment, as shown in FIG. 9 , the apparatus further includes a first determining module 901, a second determining module 902 and a starting module 903:

第一确定模块901,被配置为响应于键盘输入事件,确定是否为预设按键事件;The first determination module 901 is configured to, in response to a keyboard input event, determine whether it is a preset key event;

第二确定模块902,被配置为当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;The second determination module 902 is configured to, when determining that the keyboard input event is the preset key event, determine an application module corresponding to the preset key event;

启动模块903,被配置为启动所述应用模块。The starting module 903 is configured to start the application module.

在智能遥控器操作系统中,当用户按下键盘上的按键,即发生键盘输入事件时,操作系统会对键盘输入事件进行分析,以确定与该键盘输入事件相关联的动作或指令,然后操作系统会通过广播或其他信息发送方式将分析结果发送出去,与分析结果相关的应用模块或其他功能模块在收到消息后再根据指令的具体要求进行响应。对于使用较为频繁、重要性较高的应用模块,这样的处理方式,显然延长了相关应用模块的响应速度,降低用户的使用体验。因此,在上述实施例中,响应于键盘输入事件,第一确定模块901首先确定该键盘输入事件是否为预设按键事件,比如,确定该键盘输入事件是否为启动或者调用红外遥控、本地生活和同屏控制等相对使用较为频繁的应用模块的键盘输入事件;当确定所述键盘输入事件为所述预设按键事件时,第二确定模块902确定与所述预设按键事件相应的应用模块,并通过启动模块903启动所述应用模块,比如,当确定所述键盘输入事件确实为启动或者调用红外遥控、本地生活和同屏控制等相对使用较为频繁的应用模块时,再确定具体是启动或者调用哪个应用模块,最后通过发送事件消息或者其他方式启动相应的应用模块。In the smart remote control operating system, when the user presses a key on the keyboard, that is, when a keyboard input event occurs, the operating system analyzes the keyboard input event to determine the action or instruction associated with the keyboard input event, and then operates The system will send the analysis results through broadcasting or other information sending methods, and the application modules or other functional modules related to the analysis results will respond according to the specific requirements of the instruction after receiving the message. For application modules that are used more frequently and are of high importance, such a processing method obviously prolongs the response speed of the relevant application modules and reduces the user experience. Therefore, in the above embodiment, in response to a keyboard input event, the first determination module 901 first determines whether the keyboard input event is a preset key event, for example, determines whether the keyboard input event is to activate or invoke infrared remote control, local life and The keyboard input event of relatively frequently used application modules such as on-screen control; when it is determined that the keyboard input event is the preset key event, the second determining module 902 determines the application module corresponding to the preset key event, And start the application module through the start-up module 903, for example, when it is determined that the keyboard input event is indeed to start or invoke the relatively frequently used application modules such as infrared remote control, local life and same-screen control, then determine whether to start or Which application module to call, and finally start the corresponding application module by sending event messages or other methods.

根据本实施例的上述技术方案,能够省去分析结果信息发送、广播的时间,在系统得到对于键盘输入事件的分析结果后,直接启动相应的应用模块,这样就能够保证在按键触发的时候,在第一时间调用到相对应的应用模块,从而优化了预设应用模块的启动速度,其中,所述预设应用模块指的是用户使用频率较高、较为重要的应用模块。According to the above technical solution of this embodiment, the time for sending and broadcasting the analysis result information can be saved, and after the system obtains the analysis result of the keyboard input event, the corresponding application module is directly started, so that it can be ensured that when the key is triggered, the The corresponding application module is called at the first time, thereby optimizing the startup speed of the preset application module, wherein the preset application module refers to an application module that is frequently used by a user and is more important.

当然,在实际应用中,启动模块903可采用多种启动应用模块的方法,比如,可设置一特定进程监听预设应用模块对应的按键事件,一旦监听到相关的按键事件就马上通知相应的应用模块进行启动。当然,也可将所述预设应用模块设置为自行监听相关的按键事件,并在监听到相关的按键事件之后自行启动。需要说明的是,上述启动应用模块的方法仅为示例性说明,不作为对于本公开的具体限制,本领域技术人员可根据实际应用的需要,对于上述启动应用模块的方法进行合理的变形,所有合理、可行的启动应用模块的方法均落入本公开的保护范围内。Of course, in practical applications, the start-up module 903 can adopt various methods for starting the application module. For example, a specific process can be set to monitor the key event corresponding to the preset application module, and once the relevant key event is monitored, the corresponding application can be notified immediately. The module starts up. Of course, the preset application module can also be set to monitor the relevant key events by itself, and start by itself after monitoring the relevant key events. It should be noted that the above-mentioned method for starting an application module is only an exemplary illustration, and does not serve as a specific limitation for the present disclosure. Those skilled in the art can make reasonable modifications to the above-mentioned method for starting an application module according to the needs of practical applications. Reasonable and feasible methods for starting the application module all fall within the protection scope of the present disclosure.

在一个实施例中,如图10所示,所述装置还包括第二设置模块1001和运行模块1002:In one embodiment, as shown in FIG. 10 , the apparatus further includes a second setting module 1001 and an operation module 1002:

第二设置模块1001,被配置为设置遥控器应用模块的运行优先级;The second setting module 1001 is configured to set the running priority of the remote control application module;

运行模块1002,被配置为根据所述运行优先级运行相应的应用模块。The running module 1002 is configured to run the corresponding application module according to the running priority.

在智能遥控器操作系统中,通常对于每个应用模块都预先分配有内存,但实际上有些应用模块目前并未运行,或者运行次数非常少,为了保证各个应用模块具有足够的使用内存,本实施例有选择地对于目前并不在运行的应用模块或者不常使用的应用模块所分配的内存进行释放。如上述所述,在本实施例中,通过第二设置模块1001设置遥控器应用模块的运行优先级,来确定应用模块的运行状态。In the smart remote control operating system, memory is usually pre-allocated for each application module, but in fact some application modules are not running at present, or the number of running times is very small. In order to ensure that each application module has enough memory, this implementation For example, the memory allocated by the application module that is not currently running or the application module that is not used frequently is released. As described above, in this embodiment, the running state of the application module is determined by setting the running priority of the remote control application module through the second setting module 1001 .

比如,对于红外遥控、本地生活和同屏控制等相对使用较为频繁、较为重要的应用模块,可为其设置较高的运行优先级,对于其他使用不太频繁、不太重要的应用模块,其运行优先级可设置地较低。甚至,可只保留供系统运行所必需的应用模块,使使用较为频繁、较为重要的应用模块运行时能够较大限度地使用到系统资源,在被按键调用时能够迅速地启动,保障应用模块切换的流畅性。For example, for infrared remote control, local life and on-screen control and other relatively frequently used and more important application modules, a higher running priority can be set for them. For other less frequently used and less important application modules, their The run priority can be set lower. Even, only the application modules necessary for system operation can be reserved, so that the more frequently used and more important application modules can use the system resources to the maximum extent when they are running, and can be started quickly when they are called by keys, ensuring the switching of application modules. of fluency.

在本实施例的一个可选实现方式中,如图11所示,所述第二设置模块1001包括第三设置子模块1101、第四设置子模块1102、第二计算子模块1103、第二排序子模块1104和第二确定子模块1105:In an optional implementation manner of this embodiment, as shown in FIG. 11 , the second setting module 1001 includes a third setting sub-module 1101 , a fourth setting sub-module 1102 , a second calculation sub-module 1103 , and a second sorting sub-module 1101 . Submodule 1104 and second determination submodule 1105:

第三设置子模块1101,被配置为设置应用模块的运行优先级参考元素;The third setting sub-module 1101 is configured to set the operation priority reference element of the application module;

第四设置子模块1102,被配置为为所述运行优先级参考元素分别设置权重值;a fourth setting sub-module 1102, configured to respectively set a weight value for the operation priority reference element;

第二计算子模块1103,被配置为计算应用模块每一运行优先级参考元素对应的分值;The second calculation sub-module 1103 is configured to calculate the score corresponding to each running priority reference element of the application module;

第二排序子模块1104,被配置为根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;The second sorting sub-module 1104 is configured to sort the application modules according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

第二确定子模块1105,被配置为根据所述排序结果确定应用模块的运行优先级。The second determining sub-module 1105 is configured to determine the running priority of the application module according to the sorting result.

该实现方式中,对于遥控器应用模块的运行优先级进行设置的部分,与上文中描述的遥控器应用模块的中止优先级的设置比较相似,所述运行优先级参考元素也包括以下元素中的一种或多种:应用模块的使用频率;应用模块的重要性;应用模块的预设参考元素。区别在于,在设置遥控器应用模块的中止优先级时,使用频率越高、越重要的应用模块的中止优先级越低;而在设置遥控器应用模块的运行优先级时正好相反,使用频率越高、越重要的应用模块的运行优先级越高。也就是说,在系统运行时,首先要保证使用频率越高、越重要的应用模块的运行,尽量停止运行使用频率较低、重要性较低的应用模块,释放相应的内存。In this implementation manner, the part for setting the running priority of the remote control application module is similar to the setting of the suspension priority of the remote control application module described above, and the running priority reference element also includes the following elements. One or more of: frequency of use of application modules; importance of application modules; preset reference elements of application modules. The difference is that when setting the suspension priority of the remote control application module, the higher the frequency of use, the lower the suspension priority of the more important application module; Higher and more important application modules run with higher priority. That is to say, when the system is running, it is necessary to first ensure the operation of application modules with higher frequency and more importance, try to stop running application modules with lower frequency and less importance, and release the corresponding memory.

需要说明的是,上述对于运行优先级参考元素的说明仅为示例性说明,在实际应用中,可根据实际应用的需要选择合适的运行优先级参考元素。It should be noted that the above description of the operation priority reference element is only an exemplary illustration, and in practical applications, an appropriate operation priority reference element may be selected according to the needs of the actual application.

在一个实施例中,如图12所示,所述装置还包括第二获取模块1201、计算模块1202和显示模块1203:In one embodiment, as shown in FIG. 12 , the apparatus further includes a second acquisition module 1201, a calculation module 1202 and a display module 1203:

第二获取模块1201,被配置为获取应用模块切换指令;The second obtaining module 1201 is configured to obtain an application module switching instruction;

计算模块1202,被配置为计算应用模块切换所需的切换时间;The calculation module 1202 is configured to calculate the switching time required for the switching of the application module;

显示模块1203,被配置为响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。The display module 1203 is configured to select the preset display content to be displayed within the switching time in response to the switching instruction of the application module.

当智能遥控器的控制界面进行切换时,通常会出现比较生硬的界面切换,尤其在横竖界面进行切换时,甚至会看到之前应用模块的残留界面,这就让用户的体验大打折扣。在该实施例中,通过在界面切换时植入过渡内容,来缓解上述问题。如上述内容所述,在该实施例中,第二获取模块1201获取应用模块的切换指令,计算模块1202计算或者估计应用模块切换所需的切换时间,显示模块1203响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。其中,所述预设显示内容可以为动画也可以为图像。这样就能够使界面切换时用户看到的画面更为流畅。When the control interface of the smart remote control is switched, there is usually a blunt interface switching, especially when the horizontal and vertical interfaces are switched, and even the residual interface of the previous application module will be seen, which greatly reduces the user experience. In this embodiment, the above problem is alleviated by implanting transition content when the interface is switched. As described above, in this embodiment, the second acquisition module 1201 acquires the switching instruction of the application module, the calculation module 1202 calculates or estimates the switching time required for switching the application module, and the display module 1203 selects the preset switching instruction in response to the application module switching instruction. It is assumed that the display content is displayed within the switching time. The preset display content may be an animation or an image. In this way, the screen that the user sees when the interface is switched is smoother.

其中,可根据特定的算法或者根据经验值计算或者估计应用模块切换所需的切换时间,对此,本公开不作具体限定。Wherein, the switching time required for the switching of the application modules can be calculated or estimated according to a specific algorithm or according to an empirical value, which is not specifically limited in the present disclosure.

根据本公开的另一方面,还公开了一种电子设备,图13示出根据本公开一实施方式的电子设备的结构框图,如图13所示,所述电子设备1300包括存储器1301和处理器1302;其中,According to another aspect of the present disclosure, an electronic device is also disclosed. FIG. 13 shows a structural block diagram of the electronic device according to an embodiment of the present disclosure. As shown in FIG. 13 , the electronic device 1300 includes a memory 1301 and a processor. 1302; of which,

所述存储器1301用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器1302执行以实现:The memory 1301 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 1302 to achieve:

设置遥控器应用模块的中止优先级;Set the abort priority of the remote control application module;

获取遥控器的当前运行状态;Get the current running status of the remote control;

当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。When the current running state satisfies the preset condition, the running of the application module is suspended according to the suspension priority of the application module.

所述一条或多条计算机指令还可被所述处理器1302执行以实现:The one or more computer instructions may also be executed by the processor 1302 to:

所述设置遥控器应用模块的中止优先级,包括:The setting of the suspension priority of the remote control application module includes:

设置遥控器应用模块的中止优先级参考元素;Set the abort priority reference element of the remote control application module;

为所述中止优先级参考元素分别设置权重值;respectively setting weight values for the suspension priority reference elements;

计算遥控器应用模块每一中止优先级参考元素对应的分值;Calculate the score corresponding to each abort priority reference element of the remote control application module;

根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;Sort the remote controller application module according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

根据所述排序结果确定遥控器应用模块的中止优先级。The suspension priority of the remote control application module is determined according to the sorting result.

所述中止优先级参考元素包括以下元素中的一种或多种:The abort priority reference element includes one or more of the following elements:

应用模块的使用频率;The frequency of use of the application module;

应用模块的重要性;the importance of application modules;

应用模块的预设参考元素。Preset reference elements for application modules.

所述预设条件至少包括:系统可用内存低于预设内存阈值。The preset conditions at least include: the available memory of the system is lower than the preset memory threshold.

还包括:Also includes:

响应于键盘输入事件,确定是否为预设按键事件;In response to the keyboard input event, determine whether it is a preset key event;

当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;When it is determined that the keyboard input event is the preset key event, an application module corresponding to the preset key event is determined;

启动所述应用模块。Start the application module.

还包括:Also includes:

设置遥控器应用模块的运行优先级;Set the running priority of the remote control application module;

根据所述运行优先级运行相应的应用模块。Run the corresponding application module according to the running priority.

所述设置遥控器应用模块的运行优先级,包括:The setting of the running priority of the remote control application module includes:

设置应用模块的运行优先级参考元素;Set the run priority reference element of the application module;

为所述运行优先级参考元素分别设置权重值;respectively setting weight values for the running priority reference elements;

计算应用模块每一运行优先级参考元素对应的分值;Calculate the score corresponding to each running priority reference element of the application module;

根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;Sort the application modules according to the sum of the product of the score and the corresponding weight value to obtain a sorting result;

根据所述排序结果确定应用模块的运行优先级。The running priority of the application module is determined according to the sorting result.

还包括:Also includes:

获取应用模块切换指令;Get the application module switching instruction;

计算应用模块切换所需的切换时间;Calculate the switching time required for application module switching;

响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。In response to the switching instruction of the application module, the preset display content is selected to be displayed within the switching time.

图14适于用来实现根据本公开实施方式的遥控器控制方法的计算机系统的结构示意图。FIG. 14 is a schematic structural diagram of a computer system suitable for implementing the remote controller control method according to an embodiment of the present disclosure.

如图14所示,计算机系统1400包括中央处理单元(CPU)1401,其可以根据存储在只读存储器(ROM)1402中的程序或者从存储部分1408加载到随机访问存储器(RAM)1403中的程序而执行上述图1所示的实施方式中的各种处理。在RAM1403中,还存储有系统1400操作所需的各种程序和数据。CPU1401、ROM1402以及RAM1403通过总线1404彼此相连。输入/输出(I/O)接口1405也连接至总线1404。As shown in FIG. 14, a computer system 1400 includes a central processing unit (CPU) 1401, which can be loaded into a random access memory (RAM) 1403 according to a program stored in a read only memory (ROM) 1402 or a program from a storage section 1408 Instead, various processes in the above-described embodiment shown in FIG. 1 are executed. In the RAM 1403, various programs and data necessary for the operation of the system 1400 are also stored. The CPU 1401 , the ROM 1402 , and the RAM 1403 are connected to each other through a bus 1404 . An input/output (I/O) interface 1405 is also connected to bus 1404 .

以下部件连接至I/O接口1405:包括键盘、鼠标等的输入部分1406;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1407;包括硬盘等的存储部分1408;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1409。通信部分1409经由诸如因特网的网络执行通信处理。驱动器1410也根据需要连接至I/O接口1405。可拆卸介质1411,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1410上,以便于从其上读出的计算机程序根据需要被安装入存储部分1408。The following components are connected to the I/O interface 1405: an input section 1406 including a keyboard, a mouse, etc.; an output section 1407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1408 including a hard disk, etc. ; and a communication section 1409 including a network interface card such as a LAN card, a modem, and the like. The communication section 1409 performs communication processing via a network such as the Internet. Drivers 1410 are also connected to I/O interface 1405 as needed. A removable medium 1411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is mounted on the drive 1410 as needed so that a computer program read therefrom is installed into the storage section 1408 as needed.

特别地,根据本公开的实施方式,上文参考图1描述的方法可以被实现为计算机软件程序。例如,本公开的实施方式包括一种计算机程序产品,其包括有形地包含在及其可读介质上的计算机程序,所述计算机程序包含用于执行图1的遥控器控制方法的程序代码。在这样的实施方式中,该计算机程序可以通过通信部分1409从网络上被下载和安装,和/或从可拆卸介质1411被安装。In particular, according to an embodiment of the present disclosure, the method described above with reference to FIG. 1 may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program tangibly embodied on a readable medium thereof, the computer program including program code for executing the remote control method of FIG. 1 . In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 1409, and/or installed from the removable medium 1411.

附图中的流程图和框图,图示了按照本公开各种实施方式的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,路程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the diagram or block diagram may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function. executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本公开实施方式中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules involved in the embodiments of the present disclosure can be implemented in software or hardware. The described units or modules may also be provided in the processor, and the names of these units or modules do not constitute a limitation on the units or modules themselves in certain circumstances.

作为另一方面,本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施方式中所述装置中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,所述程序被一个或者一个以上的处理器用来执行描述于本公开的方法。As another aspect, the present disclosure also provides a computer-readable storage medium, and the computer-readable storage medium may be a computer-readable storage medium included in the apparatus described in the foregoing embodiments; A computer-readable storage medium that fits into a device. The computer-readable storage medium stores one or more programs used by one or more processors to perform the methods described in the present disclosure.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover the above-mentioned technical features without departing from the inventive concept. Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.

本公开公开了A1、一种遥控器控制方法,包括:设置遥控器应用模块的中止优先级;获取遥控器的当前运行状态;当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。A2、根据A1所述的方法,所述设置遥控器应用模块的中止优先级,包括:设置遥控器应用模块的中止优先级参考元素;为所述中止优先级参考元素分别设置权重值;计算遥控器应用模块每一中止优先级参考元素对应的分值;根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;根据所述排序结果确定遥控器应用模块的中止优先级。A3、根据A2所述的方法,所述中止优先级参考元素包括以下元素中的一种或多种:应用模块的使用频率;应用模块的重要性;应用模块的预设参考元素。A4、根据A1所述的方法,所述预设条件至少包括:系统可用内存低于预设内存阈值。A5、根据A1所述的方法,所述方法还包括:响应于键盘输入事件,确定是否为预设按键事件;当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;启动所述应用模块。A6、根据A1所述的方法,所述方法还包括:设置遥控器应用模块的运行优先级;根据所述运行优先级运行相应的应用模块。A7、根据A6所述的方法,所述设置遥控器应用模块的运行优先级,包括:设置应用模块的运行优先级参考元素;为所述运行优先级参考元素分别设置权重值;计算应用模块每一运行优先级参考元素对应的分值;根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;根据所述排序结果确定应用模块的运行优先级。A8、根据A1所述的方法,所述方法还包括:获取应用模块切换指令;计算应用模块切换所需的切换时间;响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。The present disclosure discloses A1, a remote control control method, comprising: setting a suspension priority of a remote control application module; acquiring a current operating state of the remote control; The priority aborts the execution of the application module. A2. According to the method described in A1, the setting of the suspension priority of the remote control application module includes: setting a suspension priority reference element of the remote control application module; setting a weight value for the suspension priority reference element respectively; calculating the remote control according to the score value corresponding to each abort priority reference element of the controller application module; sort the remote controller application module according to the sum of the product of the score value and the corresponding weight value, and obtain a sorting result; determine the remote controller application module according to the sorting result The module's abort priority. A3. The method according to A2, wherein the suspension priority reference element includes one or more of the following elements: the usage frequency of the application module; the importance of the application module; the preset reference element of the application module. A4. The method according to A1, wherein the preset condition at least includes: the available memory of the system is lower than a preset memory threshold. A5. The method according to A1, further comprising: in response to a keyboard input event, determining whether it is a preset key event; when determining that the keyboard input event is the preset key event, determining whether to match the preset key event with the preset key event. Set an application module corresponding to the key event; start the application module. A6. The method according to A1, further comprising: setting a running priority of a remote control application module; running a corresponding application module according to the running priority. A7. According to the method described in A6, the setting of the operation priority of the remote control application module includes: setting the operation priority reference element of the application module; respectively setting a weight value for the operation priority reference element; A running priority refers to the score corresponding to the element; sorts the application modules according to the sum of the products of the score and the corresponding weight value to obtain a sorting result; determines the running priority of the application module according to the sorting result. A8. The method according to A1, further comprising: acquiring an application module switching instruction; calculating a switching time required for application module switching; and selecting a preset display content to display within the switching time in response to the application module switching instruction.

本公开公开了B9、一种遥控器控制装置,包括:第一设置模块,被配置为设置遥控器应用模块的中止优先级;第一获取模块,被配置为获取遥控器的当前运行状态;中止模块,被配置为当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行。B10、根据B9所述的装置,所述第一设置模块包括:第一设置子模块,被配置为设置遥控器应用模块的中止优先级参考元素;第二设置子模块,被配置为为所述中止优先级参考元素分别设置权重值;第一计算子模块,被配置为计算遥控器应用模块每一中止优先级参考元素对应的分值;第一排序子模块,被配置为根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;第一确定子模块,被配置为根据所述排序结果确定遥控器应用模块的中止优先级。B11、根据B10所述的装置,所述中止优先级参考元素包括以下元素中的一种或多种:应用模块的使用频率;应用模块的重要性;应用模块的预设参考元素。B12、根据B9所述的装置,所述预设条件至少包括:系统可用内存低于预设内存阈值。B13、根据B9所述的装置,所述装置还包括:第一确定模块,被配置为响应于键盘输入事件,确定是否为预设按键事件;第二确定模块,被配置为当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;启动模块,被配置为启动所述应用模块。B14、根据B9所述的装置,所述装置还包括:第二设置模块,被配置为设置遥控器应用模块的运行优先级;运行模块,被配置为根据所述运行优先级运行相应的应用模块。B15、根据B14所述的装置,所述第二设置模块包括:第三设置子模块,被配置为设置应用模块的运行优先级参考元素;第四设置子模块,被配置为为所述运行优先级参考元素分别设置权重值;第二计算子模块,被配置为计算应用模块每一运行优先级参考元素对应的分值;第二排序子模块,被配置为根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;第二确定子模块,被配置为根据所述排序结果确定应用模块的运行优先级。B16、根据B9所述的装置,所述装置还包括:第二获取模块,被配置为获取应用模块切换指令;计算模块,被配置为计算应用模块切换所需的切换时间;显示模块,被配置为响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。The present disclosure discloses B9, a remote controller control device, comprising: a first setting module, configured to set a suspension priority of a remote controller application module; a first acquisition module, configured to obtain the current running state of the remote controller; abort The module is configured to suspend the running of the application module according to the suspension priority of the application module when the current running state satisfies the preset condition. B10. The device according to B9, wherein the first setting module includes: a first setting sub-module configured to set a reference element of aborting priority of a remote control application module; a second setting sub-module configured to The suspension priority reference elements are respectively set with weight values; the first calculation submodule is configured to calculate the score corresponding to each suspension priority reference element of the remote control application module; the first sorting submodule is configured to calculate according to the score The sum of the products of the corresponding weight values is used to sort the remote control application modules to obtain a sorting result; the first determination sub-module is configured to determine the suspension priority of the remote control application modules according to the sorting result. B11. The device according to B10, wherein the suspension priority reference element includes one or more of the following elements: the usage frequency of the application module; the importance of the application module; the preset reference element of the application module. B12. The device according to B9, wherein the preset condition at least includes: the available memory of the system is lower than a preset memory threshold. B13. The device according to B9, further comprising: a first determination module configured to determine whether it is a preset key event in response to a keyboard input event; a second determination module configured to determine whether the keyboard input event is a preset key event; When the input event is the preset key event, an application module corresponding to the preset key event is determined; the activation module is configured to activate the application module. B14. The apparatus according to B9, further comprising: a second setting module, configured to set a running priority of a remote control application module; an running module, configured to run a corresponding application module according to the running priority . B15. The apparatus according to B14, wherein the second setting module comprises: a third setting sub-module configured to set the operation priority reference element of the application module; and a fourth setting sub-module configured to set the operation priority for the operation priority The weight values are respectively set for the priority reference elements; the second calculation sub-module is configured to calculate the score corresponding to each running priority reference element of the application module; the second sorting sub-module is configured to calculate the score and the corresponding weight value according to the The sum of the products sorts the application modules to obtain a sorting result; the second determining sub-module is configured to determine the running priority of the application modules according to the sorting result. B16. The apparatus according to B9, further comprising: a second obtaining module, configured to obtain an application module switching instruction; a computing module, configured to calculate the switching time required for switching the application module; a display module, configured The preset display content is selected to be displayed within the switching time in response to the switching instruction of the application module.

本公开公开了C17、一种电子设备,包括存储器和处理器;其中,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现如A1-A8任一项所述的方法。The present disclosure discloses C17, an electronic device comprising a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement The method of any one of A1-A8.

本公开还公开了D18、一种计算机可读存储介质,其上存储有计算机指令,该计算机指令被处理器执行时实现如A1-A8任一项所述的方法。The present disclosure also discloses D18, a computer-readable storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, implement the method described in any one of A1-A8.

Claims (14)

1.一种遥控器控制方法,其特征在于,包括:1. a remote controller control method, is characterized in that, comprises: 设置遥控器应用模块的运行优先级;Set the running priority of the remote control application module; 根据所述运行优先级运行相应的应用模块;Run the corresponding application module according to the running priority; 根据所述运行优先级释放部分应用模块所分配的内存;Release the memory allocated by some application modules according to the running priority; 设置遥控器应用模块的中止优先级;Set the abort priority of the remote control application module; 获取遥控器的当前运行状态;Get the current running status of the remote control; 当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行;When the current operating state satisfies the preset condition, suspend the operation of the application module according to the suspension priority of the application module; 响应于键盘输入事件,确定是否为预设按键事件;In response to the keyboard input event, determine whether it is a preset key event; 当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;When it is determined that the keyboard input event is the preset key event, an application module corresponding to the preset key event is determined; 启动所述应用模块;start the application module; 其中,所述启动所述应用模块,包括:Wherein, the starting the application module includes: 设置与所述预设按键事件相应的应用模块自行监听按键事件,并在监听到相关的按键事件之后自行启动。The application module corresponding to the preset key event is set to monitor the key event by itself, and starts automatically after monitoring the relevant key event. 2.根据权利要求1所述的方法,其特征在于,所述设置遥控器应用模块的中止优先级,包括:2. The method according to claim 1, wherein the setting of the suspension priority of the remote control application module comprises: 设置遥控器应用模块的中止优先级参考元素;Set the abort priority reference element of the remote control application module; 为所述中止优先级参考元素分别设置权重值;respectively setting weight values for the suspension priority reference elements; 计算遥控器应用模块每一中止优先级参考元素对应的分值;Calculate the score corresponding to each abort priority reference element of the remote control application module; 根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;Sort the remote controller application module according to the sum of the product of the score and the corresponding weight value to obtain a sorting result; 根据所述排序结果确定遥控器应用模块的中止优先级。The suspension priority of the remote control application module is determined according to the sorting result. 3.根据权利要求2所述的方法,其特征在于,所述中止优先级参考元素包括以下元素中的一种或多种:3. The method of claim 2, wherein the suspension priority reference element comprises one or more of the following elements: 应用模块的使用频率;The frequency of use of the application module; 应用模块的重要性;the importance of application modules; 应用模块的预设参考元素。Preset reference elements for application modules. 4.根据权利要求1所述的方法,其特征在于,所述预设条件至少包括:系统可用内存低于预设内存阈值。4 . The method according to claim 1 , wherein the preset condition at least comprises: the available memory of the system is lower than a preset memory threshold. 5 . 5.根据权利要求1所述的方法,其特征在于,所述设置遥控器应用模块的运行优先级,包括:5. The method according to claim 1, wherein the setting of the running priority of the remote control application module comprises: 设置应用模块的运行优先级参考元素;Set the run priority reference element of the application module; 为所述运行优先级参考元素分别设置权重值;respectively setting weight values for the running priority reference elements; 计算应用模块每一运行优先级参考元素对应的分值;Calculate the score corresponding to each running priority reference element of the application module; 根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;Sort the application modules according to the sum of the product of the score and the corresponding weight value to obtain a sorting result; 根据所述排序结果确定应用模块的运行优先级。The running priority of the application module is determined according to the sorting result. 6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, wherein the method further comprises: 获取应用模块切换指令;Get the application module switching instruction; 计算应用模块切换所需的切换时间;Calculate the switching time required for application module switching; 响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。In response to the switching instruction of the application module, the preset display content is selected to be displayed within the switching time. 7.一种遥控器控制装置,其特征在于,包括:7. A remote controller control device, characterized in that, comprising: 第二设置模块,被配置为设置遥控器应用模块的运行优先级;The second setting module is configured to set the running priority of the remote control application module; 运行模块,被配置为根据所述运行优先级运行相应的应用模块;根据所述运行优先级释放部分应用模块所分配的内存;a running module, configured to run a corresponding application module according to the running priority; release a part of the memory allocated by the application module according to the running priority; 第一设置模块,被配置为设置遥控器应用模块的中止优先级;a first setting module, configured to set the suspension priority of the remote control application module; 第一获取模块,被配置为获取遥控器的当前运行状态;a first obtaining module, configured to obtain the current running state of the remote controller; 中止模块,被配置为当所述当前运行状态满足预设条件时,按照应用模块的中止优先级中止应用模块的运行;a suspending module, configured to suspend the running of the application module according to the suspending priority of the application module when the current operating state satisfies the preset condition; 第一确定模块,被配置为响应于键盘输入事件,确定是否为预设按键事件;a first determining module, configured to determine whether it is a preset key event in response to a keyboard input event; 第二确定模块,被配置为当确定所述键盘输入事件为所述预设按键事件时,确定与所述预设按键事件相应的应用模块;a second determining module configured to, when determining that the keyboard input event is the preset key event, determine an application module corresponding to the preset key event; 启动模块,被配置为启动所述应用模块;a startup module configured to start the application module; 其中,所述启动所述应用模块,包括:Wherein, the starting the application module includes: 设置与所述预设按键事件相应的应用模块自行监听按键事件,并在监听到相关的按键事件之后自行启动。The application module corresponding to the preset key event is set to monitor the key event by itself, and starts by itself after monitoring the relevant key event. 8.根据权利要求7所述的装置,其特征在于,所述第一设置模块包括:8. The apparatus according to claim 7, wherein the first setting module comprises: 第一设置子模块,被配置为设置遥控器应用模块的中止优先级参考元素;The first setting submodule is configured to set the reference element of the suspension priority of the remote control application module; 第二设置子模块,被配置为为所述中止优先级参考元素分别设置权重值;a second setting sub-module, configured to respectively set weight values for the suspension priority reference elements; 第一计算子模块,被配置为计算遥控器应用模块每一中止优先级参考元素对应的分值;a first calculation sub-module, configured to calculate a score corresponding to each aborted priority reference element of the remote control application module; 第一排序子模块,被配置为根据所述分值与相应权重值乘积的总和对于所述遥控器应用模块进行排序,得到排序结果;a first sorting sub-module, configured to sort the remote control application module according to the sum of the product of the score and the corresponding weight value to obtain a sorting result; 第一确定子模块,被配置为根据所述排序结果确定遥控器应用模块的中止优先级。The first determination sub-module is configured to determine the suspension priority of the remote control application module according to the sorting result. 9.根据权利要求8所述的装置,其特征在于,所述中止优先级参考元素包括以下元素中的一种或多种:9. The apparatus of claim 8, wherein the suspension priority reference element comprises one or more of the following elements: 应用模块的使用频率;The frequency of use of the application module; 应用模块的重要性;the importance of application modules; 应用模块的预设参考元素。Preset reference elements for application modules. 10.根据权利要求7所述的装置,其特征在于,所述预设条件至少包括:系统可用内存低于预设内存阈值。10 . The apparatus according to claim 7 , wherein the preset condition at least comprises: the available memory of the system is lower than a preset memory threshold. 11 . 11.根据权利要求7所述的装置,其特征在于,所述第二设置模块包括:11. The device according to claim 7, wherein the second setting module comprises: 第三设置子模块,被配置为设置应用模块的运行优先级参考元素;The third setting sub-module is configured to set the running priority reference element of the application module; 第四设置子模块,被配置为为所述运行优先级参考元素分别设置权重值;a fourth setting submodule, configured to respectively set a weight value for the operation priority reference element; 第二计算子模块,被配置为计算应用模块每一运行优先级参考元素对应的分值;The second calculation sub-module is configured to calculate the score corresponding to each running priority reference element of the application module; 第二排序子模块,被配置为根据所述分值与相应权重值乘积的总和对于所述应用模块进行排序,得到排序结果;a second sorting sub-module, configured to sort the application modules according to the sum of the products of the score and the corresponding weight value to obtain a sorting result; 第二确定子模块,被配置为根据所述排序结果确定应用模块的运行优先级。The second determining sub-module is configured to determine the running priority of the application module according to the sorting result. 12.根据权利要求7所述的装置,其特征在于,所述装置还包括:12. The apparatus of claim 7, wherein the apparatus further comprises: 第二获取模块,被配置为获取应用模块切换指令;The second acquisition module is configured to acquire the application module switching instruction; 计算模块,被配置为计算应用模块切换所需的切换时间;a calculation module, configured to calculate the switching time required for the switching of the application module; 显示模块,被配置为响应于应用模块切换指令选择预设显示内容在所述切换时间内显示。The display module is configured to select the preset display content to be displayed within the switching time in response to the switching instruction of the application module. 13.一种电子设备,其特征在于,包括存储器和处理器;其中,13. An electronic device, comprising a memory and a processor; wherein, 所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行以实现如权利要求1-6任一项所述的方法。The memory is for storing one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method of any of claims 1-6. 14.一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该计算机指令被处理器执行时实现如权利要求1-6任一项所述的方法。14. A computer-readable storage medium on which computer instructions are stored, characterized in that, when the computer instructions are executed by a processor, the method according to any one of claims 1-6 is implemented.
CN201710910779.4A 2017-09-29 2017-09-29 Remote controller control method, device, equipment and computer readable storage medium Active CN107705541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710910779.4A CN107705541B (en) 2017-09-29 2017-09-29 Remote controller control method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710910779.4A CN107705541B (en) 2017-09-29 2017-09-29 Remote controller control method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107705541A CN107705541A (en) 2018-02-16
CN107705541B true CN107705541B (en) 2020-06-09

Family

ID=61174690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710910779.4A Active CN107705541B (en) 2017-09-29 2017-09-29 Remote controller control method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107705541B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110173835B (en) * 2019-05-10 2021-07-20 广东美的制冷设备有限公司 Control method and device of air conditioner and air conditioner

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959005A (en) * 2010-09-21 2011-01-26 深圳创维数字技术股份有限公司 Method and set top box (STB) for implementing shortcut of STB menu
CN103313130A (en) * 2012-03-14 2013-09-18 鸿富锦精密工业(深圳)有限公司 Television and system and method for rapidly accessing applications in television

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301791A (en) * 2004-04-14 2005-10-27 Nec Corp Mobile communication terminal and application start control method of mobile communication terminal
US9519490B2 (en) * 2013-03-07 2016-12-13 Microsoft Technology Licensing, Llc Adaptive data synchronization
CN103838630A (en) * 2014-03-03 2014-06-04 联想(北京)有限公司 Information processing method, system and electronic equipment
CN104714826B (en) * 2015-03-23 2018-10-26 小米科技有限责任公司 Using the loading method and device of theme
CN106371901A (en) * 2015-07-24 2017-02-01 东莞酷派软件技术有限公司 Application program switching method and device
CN106855826B (en) * 2015-12-08 2021-02-23 斑马智行网络(香港)有限公司 Background application program control method and device
CN105511740B (en) * 2015-12-30 2019-02-19 小米科技有限责任公司 Application interface switching method and device
CN105872682A (en) * 2016-01-26 2016-08-17 乐视致新电子科技(天津)有限公司 Shortcut menu invoking method and device
CN105843650B (en) * 2016-03-31 2020-03-31 青岛海信移动通信技术股份有限公司 Application program management method and device in intelligent terminal
CN106201679A (en) * 2016-06-28 2016-12-07 联想(北京)有限公司 Information processing method and electronic equipment
CN106201821A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control mechanism and terminal
CN106293805A (en) * 2016-07-26 2017-01-04 深圳天珑无线科技有限公司 The method and device that program loads
CN106293460A (en) * 2016-08-03 2017-01-04 深圳市金立通信设备有限公司 A kind of method and terminal preventing from touching maloperation
CN106502785A (en) * 2016-09-30 2017-03-15 维沃移动通信有限公司 A kind of cleaning internal memory method and device of mobile terminal
CN106708615A (en) * 2016-11-21 2017-05-24 珠海市魅族科技有限公司 Application management method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959005A (en) * 2010-09-21 2011-01-26 深圳创维数字技术股份有限公司 Method and set top box (STB) for implementing shortcut of STB menu
CN103313130A (en) * 2012-03-14 2013-09-18 鸿富锦精密工业(深圳)有限公司 Television and system and method for rapidly accessing applications in television

Also Published As

Publication number Publication date
CN107705541A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
EP3754490B1 (en) User interface rendering method and apparatus, and terminal
CN113110848B (en) Identifier across application instances
KR101702728B1 (en) Multi-environment operating system
KR101702729B1 (en) System and method for switching between environments in a multi-environment operating system
TWI656471B (en) Task management method, device and terminal device for multitasking interface
KR101399161B1 (en) System and method for initiating a multi-environment operating system
EP3215938B1 (en) System and method for fast starting an application
US10445132B2 (en) Method and apparatus for switching applications
US8639772B2 (en) Centralized application resource manager
US9317344B2 (en) Power efficient brokered communication supporting notification blocking
JP2022518127A (en) Resource scheduling methods and equipment, electronic devices and recording media
WO2015100933A1 (en) Data processing method for realizing multiple operating systems and terminal device
KR102301230B1 (en) Device and Method for performing scheduling for virtualized GPUs
CN104572110A (en) Optimizing method of Toast activeX in android system
US20170168628A1 (en) Method and electronic device for split-screen display
CN105573778B (en) Application program starting method and terminal
CN107682389B (en) Method, terminal and computer readable storage medium for executing network request
CN113268286B (en) Application starting method and device, projection equipment and storage medium
CN103997673B (en) A kind of event-handling method and device
CN109218817B (en) Method and device for displaying virtual gift prompting message
CN104090746B (en) A kind of application management method based on android system and its device
CN107705541B (en) Remote controller control method, device, equipment and computer readable storage medium
CN113114731B (en) Task processing method, device, server and storage medium
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
US11138024B2 (en) Multiple independent lifecycle states

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20220927

Granted publication date: 20200609

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20241126

Granted publication date: 20200609

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250409

Address after: Room 518-32, No. 115 Zhongshan Middle Road, Shangcheng District, Hangzhou City, Zhejiang Province 311000

Patentee after: Hangzhou Zhichi Technology Co.,Ltd.

Country or region after: China

Address before: Room 8013, Building D, Kangjian Baosheng Plaza, Heiquan Road, Haidian District, Beijing 100192

Patentee before: BEIJING SHENGSHIHUI TECHNOLOGY Co.,Ltd.

Country or region before: China