CN115834938A - Shortcut key configuration method, device, equipment and medium - Google Patents

Shortcut key configuration method, device, equipment and medium Download PDF

Info

Publication number
CN115834938A
CN115834938A CN202211555600.5A CN202211555600A CN115834938A CN 115834938 A CN115834938 A CN 115834938A CN 202211555600 A CN202211555600 A CN 202211555600A CN 115834938 A CN115834938 A CN 115834938A
Authority
CN
China
Prior art keywords
shortcut key
key
configuration
information
shortcut
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.)
Pending
Application number
CN202211555600.5A
Other languages
Chinese (zh)
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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202211555600.5A priority Critical patent/CN115834938A/en
Publication of CN115834938A publication Critical patent/CN115834938A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a shortcut key configuration method, a shortcut key configuration device, shortcut key configuration equipment and a computer storage medium, which relate to the technical field of television remote control, and the method comprises the following steps: when a request for carrying out self-defining setting on the shortcut key is received, reading configuration information and preset optional information of a configuration file of the shortcut key; and determining whether to carry out self-defining setting on the shortcut key according to the state information and the preset optional information in the configuration information. The invention reduces the operation threshold when configuring the shortcut key through fool configuration, software integrators only need to know the function definition of the shortcut key without concerning the concrete content and meaning of the configuration file, thereby greatly reducing the operation threshold and the error probability and improving the flexibility and the efficiency of configuring the shortcut key.

Description

Shortcut key configuration method, device, equipment and medium
Technical Field
The invention relates to the technical field of television remote control, in particular to a shortcut key configuration method, a shortcut key configuration device, shortcut key configuration equipment and a computer storage medium.
Background
At present, the most important television operation mode which most conforms to the operation habit is remote control operation. For most users, only some functions of the television may be used in daily use, but if the triggering level of the television function is deep, the operation through the remote controller is troublesome, so that it is particularly important to realize direct triggering and jumping of some television functions by setting shortcut keys. For a relevant television manufacturer, whether to promote a certain television function or to improve the exposure rate, or to facilitate a user to use a certain television function, it is necessary to directly configure shortcut keys corresponding to the television functions when the television leaves the factory.
For the television vendor, when configuring the shortcut: 1, most systems of all large television manufacturers adopt android systems, and Google does not provide a configuration method of a remote controller shortcut on an android television platform, and needs independent design and development of all television manufacturers; 2, for software integrators of television manufacturers, since the software integrators are not software developers of the shortcut keys but only compilers, how to implement the shortcut keys and what meaning of the configuration files may not be known, and the tedious configuration files may increase the error probability of software integration, resulting in the invalidation of the latest television version.
Disclosure of Invention
The invention mainly aims to provide a shortcut key configuration method, a shortcut key configuration device, shortcut key configuration equipment and a computer storage medium, and aims to solve the technical problem of low configuration efficiency when a shortcut key is configured in the conventional shortcut key configuration method.
In order to achieve the above object, the present invention provides a shortcut key configuration method, which includes the following steps:
when a request for carrying out self-defining setting on a shortcut key is received, reading the configuration information and preset optional information of a configuration file of the shortcut key;
determining whether to perform user-defined setting on the shortcut key according to the state information and the preset optional information in the configuration information;
the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a self-defined manner.
Further, the step of determining whether to perform a user-defined setting on the shortcut key according to the state information and the preset optional information in the configuration information includes:
if the state information is that the user is not allowed to carry out user-defined setting, hiding a shortcut key corresponding to the state information on a user-defined setting interface;
and if the state information is that the user is allowed to perform user-defined setting, performing user-defined setting on the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key on the user-defined setting interface by referring to the preset optional information.
Further, before the step of receiving the request for performing the custom setting on the shortcut key, the method further includes:
the method comprises the steps of obtaining configuration information for configuring the shortcut key through a configuration entrance, and storing the configuration information of the shortcut key in a configuration file.
Further, the step of obtaining configuration information for configuring the shortcut key through the configuration entry includes:
providing preset optional information corresponding to the configuration information at the configuration entrance;
and determining the selected preset optional information as the configuration information.
Further, the shortcut key configuration method further includes:
when a shortcut key is triggered, receiving the physical key corresponding to the shortcut key;
and analyzing the configuration file, determining the identification information matched with the physical key, and jumping to a jumping target of the shortcut key corresponding to the identification information.
Further, before the step of parsing the configuration file, the method further includes:
converting the system native key corresponding to the physical key into a broadcast key;
the step of determining the identification information matched with the physical key comprises the following steps:
and broadcasting the broadcast key, and determining the identification information matched with the broadcast key.
Further, before the step of receiving the physical key corresponding to the shortcut key, the method further includes:
performing broadcast key registration on the identification information corresponding to the jump target with the installed application to determine an identification information base for matching;
the step of broadcasting the broadcast key and determining the identification information matched with the broadcast key comprises the following steps:
and determining the identification information corresponding to the broadcast key in the identification information base.
In addition, to achieve the above object, the present invention also provides a shortcut key configuration apparatus, including:
the reading module is used for reading the configuration information and preset optional information of the configuration file of the shortcut key when receiving a request for carrying out self-defining setting on the shortcut key;
the setting module is used for determining whether to carry out self-defining setting on the shortcut key according to the state information in the configuration information and the preset optional information;
the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a self-defined manner.
In addition, to achieve the above object, the present invention further provides a shortcut key configuration device, including: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the shortcut configuration method as defined in any of the above.
Furthermore, to achieve the above object, the present invention further provides a computer storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the shortcut key configuration method as described in any of the above.
According to the shortcut key configuration method, the shortcut key configuration device, the shortcut key configuration equipment and the computer storage medium, when a request for self-defining setting of the shortcut key is received, the configuration information and the preset optional information of the configuration file of the shortcut key are read; determining whether to perform user-defined setting on the shortcut key according to the state information and the preset optional information in the configuration information; the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a self-defined manner.
In the application, a configuration file format is defined, the configuration file comprises a shortcut key for jumping, a jump target and the like, the configuration is selected by using a drop-down box mode at a webpage end before compiling software, the configuration file is automatically generated, and the configuration file is integrated into a certain directory of a system when the software is compiled. The machine reads the configuration file through the system service during operation and determines the jump of the current shortcut key. In the application, the operation threshold when the shortcut key is configured is reduced through fool configuration, software integrators do not need to care about the specific content and meaning of the configuration file, and only need to know the function definition of the shortcut key, so that the operation threshold and the error probability are greatly reduced, and the flexibility and the efficiency of configuring the shortcut key are improved.
Drawings
Fig. 1 is a schematic structural diagram of the hardware operation of a terminal device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for configuring a shortcut key according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for configuring a shortcut key according to a third embodiment of the present invention;
FIG. 4 is a diagram illustrating an apparatus for configuring a shortcut key according to an embodiment of the present invention;
fig. 5 is a matching diagram of an embodiment of a shortcut key configuration method according to the present invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment related to a terminal device according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the terminal device. The terminal device in the embodiment of the present invention may be a device for executing the shortcut key configuration method provided by the present invention for a storage device based on a nand flash as a storage medium, and the terminal device may specifically be a mobile terminal, a data storage control terminal, a PC, a portable computer, or other terminal.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a storage device 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The storage device 1005 may be a non-volatile storage device (e.g., a Flash storage device), a high-speed RAM storage device, or a non-volatile memory device (e.g., a magnetic disk storage device). The storage device 1005 may alternatively be a storage means separate from the aforementioned processor 1001.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 1 is not intended to be limiting of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a storage device 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a computer program. Among other things, the operating system is a program that manages and controls the hardware and software resources of the sample terminal device, supporting the operation of computer programs and other software or programs.
In the terminal apparatus shown in fig. 1, the user interface 1003 is mainly used for data communication with each terminal; the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; and the processor 1001 may be configured to call a computer program stored in the storage device 1005 and perform the following operations:
when a request for carrying out self-defining setting on a shortcut key is received, reading the configuration information and preset optional information of a configuration file of the shortcut key;
determining whether to perform user-defined setting on the shortcut key according to the state information and the preset optional information in the configuration information;
the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a self-defined manner.
Further, the processor 1001 may call a computer program stored in the storage device 1005, and also perform the following operations:
the step of determining whether to perform user-defined setting on the shortcut key according to the state information and the preset optional information in the configuration information includes:
if the state information is that the user is not allowed to carry out user-defined setting, hiding a shortcut key corresponding to the state information on a user-defined setting interface;
and if the state information is that the user is allowed to perform user-defined setting, performing user-defined setting on the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key on the user-defined setting interface by referring to the preset optional information.
Further, the processor 1001 may call a computer program stored in the storage device 1005, and also perform the following operations:
before the step of receiving the request for the user-defined setting of the shortcut key, the method further comprises:
the method comprises the steps of obtaining configuration information for configuring the shortcut key through a configuration entry, and storing the configuration information of the shortcut key in a configuration file.
Further, the processor 1001 may call a computer program stored in the storage device 1005, and also perform the following operations:
the step of obtaining the configuration information for configuring the shortcut key through the configuration entry includes:
providing preset optional information corresponding to the configuration information at the configuration entrance;
and determining the selected preset optional information as the configuration information.
Further, the processor 1001 may call a computer program stored in the storage device 1005, and also perform the following operations:
the shortcut key configuration method further comprises the following steps:
when a shortcut key is triggered, receiving the physical key corresponding to the shortcut key;
and analyzing the configuration file, determining the identification information matched with the physical key, and jumping to a jumping target of the shortcut key corresponding to the identification information.
Further, the processor 1001 may call a computer program stored in the storage device 1005, and also perform the following operations:
before the step of parsing the configuration file, the method further includes:
converting the system native key corresponding to the physical key into a broadcast key;
the step of determining the identification information matched with the physical key comprises the following steps:
and broadcasting the broadcast key, and determining the identification information matched with the broadcast key.
Further, the processor 1001 may call a computer program stored in the storage device 1005, and also perform the following operations:
before the step of receiving the physical key corresponding to the shortcut key, the method further includes:
performing broadcast key registration on the identification information corresponding to the jump target with the installed application to determine an identification information base for matching;
the step of broadcasting the broadcast key and determining the identification information matched with the broadcast key comprises the following steps:
and determining the identification information corresponding to the broadcast key in the identification information base.
Referring to fig. 2, fig. 2 is a flowchart illustrating a shortcut key configuration method according to a first embodiment of the present invention.
In this embodiment, the shortcut key configuration method of the present invention includes:
and step S10, when a request for carrying out self-defining setting on the shortcut key is received, reading the configuration information and preset optional information of the configuration file of the shortcut key.
And step S20, determining whether to carry out self-defining setting on the shortcut key according to the state information in the configuration information and the preset optional information.
The configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a customized manner.
The configuration information comprises the skip target of the shortcut key and the identification information matched with the physical key of the shortcut key, and also comprises the state information of whether the user is allowed to self-define and set the skip target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information.
When software integrators need to compile software, identification information such as color or name matched with a physical key corresponding to a shortcut key, a jump target and whether a user can set three options in a user-defined mode are selected through a configuration entry such as a drop-down box at a webpage end, and the three options respectively correspond to three fields of an attribute, an actionKey and a status in a configuration file.
When a user opens a shortcut setting page, a request for carrying out user-defined setting on the shortcut key is triggered, a background system service obtains an attribute field of the shortcut key, a jump target actionKey field, a status field which can be set by the user in a user-defined way or not and preset optional information corresponding to the attribute field and the actionKey field in the configuration information by reading a configuration file of the shortcut key. The status field is written to death during development, and a user cannot modify the status field through a custom setting interface after leaving a factory.
Optionally, the step of determining whether to perform a user-defined setting on the shortcut key according to the state information in the configuration information and the preset optional information includes:
if the state information is that the user is not allowed to carry out user-defined setting, hiding a shortcut key corresponding to the state information on a user-defined setting interface;
and if the state information is that the user is allowed to perform user-defined setting, performing user-defined setting on the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key on the user-defined setting interface by referring to the preset optional information.
If the value of the status field is fix, which indicates that the user can not define the status field by self, directly hiding the setting list of the shortcut key on a self-defining setting interface; and if the value of the status field is default, performing custom setting on a jump target of the shortcut key and identification information matched with the physical key of the shortcut key, and selecting and confirming by referring to preset optional information. The Chinese name of the jump function can be matched through the actionKey field of the jump target and displayed on the user-defined setting interface, so that the jump function corresponding to the shortcut key can be changed into other jump functions.
In this embodiment, the background has a system service for parsing the configuration file, and generates a corresponding data structure after parsing, and the foreground has a UI layer for displaying the data structure provided by the system service, so as to provide user-defined set interaction for the user. Therefore, the skip targets and the display modes of the shortcut keys can be controlled in a file configuration mode, the customization requirements of manufacturers on the shortcut keys can be met, and software integration personnel can directly configure the shortcut keys in a graphical interface mode under the condition that the specific meanings of various configuration fields are not known, so that the error probability is reduced, and the software integration efficiency is improved. Furthermore, the configuration file format is defined, the configuration file comprises a shortcut key for jumping, a jumping target and the like, the configuration is selected by using a drop-down frame mode at a webpage end before compiling software, the configuration file is automatically generated, and the configuration file is integrated into a certain directory of the system when the software is compiled. The machine reads the configuration file through the system service during operation and determines the jump of the current shortcut key. In the application, the operation threshold when the shortcut key is configured is reduced through fool configuration, software integrators do not need to care about the specific content and meaning of the configuration file, and only need to know the function definition of the shortcut key, so that the operation threshold and the error probability are greatly reduced, and the flexibility and the efficiency of configuring the shortcut key are improved.
In the second embodiment of the shortcut key configuration method of the present invention, before the step of receiving the request for performing the custom setting on the shortcut key, the method further includes:
the method comprises the steps of obtaining configuration information for configuring the shortcut key through a configuration entrance, and storing the configuration information of the shortcut key in a configuration file.
The configuration information in the configuration file is mainly divided into the following aspects: 1, configuring which shortcut key the information corresponds to; 2 what function the shortcut needs to implement and what the jump target is.
When software integrators need to compile software, identification information such as color or name matched with a physical key corresponding to a shortcut key and selectable options of a jump target are selected through a configuration entry such as a drop-down box at a webpage end, and the identification information and the selectable options respectively correspond to an attribute and an actionKey field in a configuration file. After the configuration entry determines the configuration information of the two fields, generating a setting _ onekey _ orientation _ action.xml configuration file, saving the configuration information, saving the configuration file to a/system/pcfg/machine _ type/config directory after generation, and automatically copying a new configuration file to the directory when upgrading software. Therefore, the configuration efficiency of software integration personnel can be greatly improved, the error probability during configuration is reduced, and the differentiation functions of shortcut keys, including opening application, interface jump, brightness reduction, garbage cleaning, system speed increase and the like, are realized in a flexible configuration mode.
Optionally, the step of obtaining configuration information for configuring the shortcut key through the configuration entry includes:
providing preset optional information corresponding to the configuration information at the configuration entrance;
and determining the selected preset optional information as the configuration information.
And providing preset optional information for selecting the configuration information at the configuration entry, wherein the preset optional information selected by the user based on the configuration entry of the pull-down box is the configuration information corresponding to the shortcut key which is currently configured.
In this embodiment, a configuration file format is defined, the configuration file includes a shortcut key for jumping, a jump target, and the like, the configuration is selected by using a drop-down box on a webpage end before compiling software, the configuration file is automatically generated, and the configuration file is integrated into a certain directory of the system when the software is compiled. When the machine runs, the configuration file is read through the system service, and the jump of the current shortcut key is determined. For large software, a small error of the software version may cause the version to be invalid, thereby causing waste of manpower and time, therefore, in the embodiment, through fool configuration, the operation threshold when the shortcut key is configured is reduced, software integrators do not need to care about the specific content and meaning of the configuration file, and only need to know the function definition of the shortcut key, thereby greatly reducing the operation threshold and the error probability, and improving the flexibility and the efficiency of configuring the shortcut key.
Referring to fig. 3, fig. 3 is a flowchart illustrating a shortcut key configuration method according to a third embodiment of the present invention.
In this embodiment, the shortcut key configuration method of the present invention further includes:
step B1: when the shortcut key is triggered, receiving the physical key corresponding to the shortcut key;
and step B2: and analyzing the configuration file, determining the identification information matched with the physical key, and jumping to a jumping target of the shortcut key corresponding to the identification information.
In the present embodiment, a shortcut key response method is provided. And when the shortcut key is triggered, receiving a physical key corresponding to the shortcut key, such as an infrared signal of a remote controller. And then analyzing the developed configuration file, determining identification information matched with the received physical key in the configuration file, and jumping to a jump target of a shortcut key corresponding to the identification information, thereby realizing quick and direct jump of the television function.
Optionally, before the step of parsing the configuration file, the method further includes:
converting the system native key corresponding to the physical key into a broadcast key;
the step of determining the identification information matched with the physical key comprises the following steps:
and broadcasting the broadcast key, and determining the identification information matched with the broadcast key.
Referring to fig. 5, in the present embodiment, after the physical key is received and before the configuration file is parsed, the system native key corresponding to the received physical key is converted into a broadcast key keyCode. When the identification information is determined, the broadcast key keyCode is broadcast, and identification information such as various attributes matching the broadcast key keyCode is determined.
Optionally, before the step of receiving the physical key corresponding to the shortcut key, the method further includes:
performing broadcast key registration on the identification information corresponding to the jump target with the installed application to determine an identification information base for matching;
the step of broadcasting the broadcast key and determining the identification information matched with the broadcast key comprises the following steps:
and determining the identification information corresponding to the broadcast key in the identification information base.
In the shortcut key response method of this embodiment, the broadcast key keyCode needs to be registered in advance, the identification information corresponding to the jump target to which the application has been installed is acquired, and the response of the jump target corresponding to the broadcast key keyCode is registered, so as to obtain the identification information base. Therefore, when the broadcast key keyCode is broadcast, the identification information corresponding to the broadcast key keyCode is determined in the identification information base.
That is, when the shortcut key is pressed, the converted broadcast key keyCode is broadcasted, the setting _ onekey _ displacement _ action xml file is analyzed, the broadcast key keyCode is matched with the color in the configuration file, then the broadcast key keyCode is converted into the corresponding jump target through the actionKey field, and finally the jump step is executed.
In this embodiment, the android system key is converted into a broadcast key, the broadcast key is different from the android native key, the application of the target function is required to be in a foreground and in a running state through the jump of the android system key, and the jump through the broadcast key can be background application in this embodiment, so that the visible range of the shortcut key is increased, and the jump can be made to the target function of the system application or the non-system application.
In summary, the functions of the shortcut keys are common in the market, but the invention provides a practical solution for the pain point of the shortcut key, and the core innovation points are as follows: software integrators do not need to care about the specific content and meaning of the configuration files, and only need to know the function definition, so that the operation threshold and the error probability are greatly reduced, the flexibility is improved, and the efficiency is improved. The realization difficulty of the invention is that:
how to automatically generate configuration files: and selecting the configuration file through a configuration inlet of a drop-down box on a compiling platform by a software integration worker to generate the configuration file.
How to implement the profile functionality: the background system service generates a corresponding data format by analyzing the configuration file, the data format is defined in advance, each field has the function definition, and the self-defined setting page of the foreground provides a user interaction interface if setting application.
3, how to respond to the key: the system converts the physical key value into broadcast and sends out (the mode is not an android standard method, the response range of the key can be improved), and the system service realizes the function definition of the configuration file by registering the broadcast response.
In addition, referring to fig. 4, an embodiment of the present invention further provides a shortcut key configuration apparatus, where the apparatus includes:
the reading module C1 is used for reading the configuration information and the preset optional information of the configuration file of the shortcut key when receiving a request for carrying out user-defined setting on the shortcut key;
a setting module C2, configured to determine whether to perform user-defined setting on the shortcut key according to the state information in the configuration information and the preset optional information;
the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a customized manner.
Optionally, the setting module is further used for
If the state information is that the user is not allowed to carry out user-defined setting, hiding a shortcut key corresponding to the state information on a user-defined setting interface;
and if the state information is that the user is allowed to perform user-defined setting, performing user-defined setting on the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key on the user-defined setting interface by referring to the preset optional information.
Optionally, the shortcut key configuration device further includes a configuration module for configuring the shortcut key
The method comprises the steps of obtaining configuration information for configuring the shortcut key through a configuration entry, and storing the configuration information of the shortcut key in a configuration file.
Optionally, the configuration module is also used for
Providing preset optional information corresponding to the configuration information at the configuration entrance;
and determining the selected preset optional information as the configuration information.
Optionally, the apparatus further comprises:
the receiving module is used for receiving the physical keys corresponding to the shortcut keys when the shortcut keys are triggered;
and the skipping module is used for analyzing the configuration file, determining the identification information matched with the physical key and skipping to a skipping target of the shortcut key corresponding to the identification information.
Optionally, the apparatus further comprises:
the conversion module, before the step of parsing the configuration file, further includes:
converting the system native key corresponding to the physical key into a broadcast key;
the skip module is further configured to broadcast the broadcast key and determine identification information matched with the broadcast key.
Optionally, the apparatus further comprises:
the registration module, configured to, before the step of receiving the physical key corresponding to the shortcut key, further include:
performing broadcast key registration on the identification information corresponding to the jump target with the installed application to determine an identification information base for matching;
the skip module is further configured to determine the identification information corresponding to the broadcast key in the identification information base.
By adopting the shortcut key configuration method in the embodiment, the shortcut key configuration device provided by the invention solves the technical problems of high operation threshold, low configuration efficiency and high error probability when the shortcut key is configured in the conventional shortcut key configuration method. Compared with the prior art, the beneficial effects of the shortcut key configuration device provided by the embodiment of the present invention are the same as the beneficial effects of the shortcut key configuration method provided by the above embodiment, and other technical features of the shortcut key configuration device are the same as those disclosed in the above embodiment method, which are not described herein again.
In addition, an embodiment of the present invention further provides a shortcut key configuration device, where the shortcut key configuration device includes: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the shortcut configuration method as defined in any of the above.
Furthermore, an embodiment of the present invention further provides a computer storage medium, where a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the steps of the shortcut key configuration method described in any of the above are implemented.
The steps implemented when the computer program running on the processor is executed may refer to various embodiments of the shortcut key configuration method of the present invention, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a computer storage medium (e.g., flash storage device, ROM/RAM, magnetic disk, optical disk), and includes several instructions for enabling a controller, which is used for controlling a terminal device (e.g., a mobile phone, a computer, a server, or a network device), to perform data reading and writing operations on the storage medium to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A shortcut key configuration method is characterized by comprising the following steps:
when a request for carrying out self-defining setting on a shortcut key is received, reading the configuration information and preset optional information of a configuration file of the shortcut key;
determining whether to perform user-defined setting on the shortcut key according to the state information and the preset optional information in the configuration information;
the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a self-defined manner.
2. The method for configuring a shortcut key according to claim 1, wherein the step of determining whether to perform a custom setting on the shortcut key according to the status information and the preset optional information in the configuration information comprises:
if the state information is that the user is not allowed to carry out user-defined setting, hiding a shortcut key corresponding to the state information on a user-defined setting interface;
and if the state information is that the user is allowed to perform user-defined setting, performing user-defined setting on the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key on the user-defined setting interface by referring to the preset optional information.
3. The method for configuring a shortcut key according to claim 1, wherein before the step of receiving the request for customizing the shortcut key, further comprising:
the method comprises the steps of obtaining configuration information for configuring the shortcut key through a configuration entry, and storing the configuration information of the shortcut key in a configuration file.
4. The method for configuring a shortcut key according to claim 3, wherein said step of obtaining configuration information for configuring the shortcut key through the configuration portal comprises:
providing preset optional information corresponding to the configuration information at the configuration entrance;
and determining the selected preset optional information as the configuration information.
5. The shortcut key configuration method according to claim 1, further comprising:
when the shortcut key is triggered, receiving the physical key corresponding to the shortcut key;
and analyzing the configuration file, determining the identification information matched with the physical key, and jumping to a jumping target of the shortcut key corresponding to the identification information.
6. The shortcut key configuration method of claim 5, wherein said step of parsing said configuration file is preceded by further comprising:
converting the system native key corresponding to the physical key into a broadcast key;
the step of determining the identification information matched with the physical key comprises the following steps:
and broadcasting the broadcast key, and determining the identification information matched with the broadcast key.
7. The method for configuring a shortcut key according to claim 6, wherein before the step of receiving the physical key corresponding to the shortcut key, the method further comprises:
performing broadcast key registration on the identification information corresponding to the jump target with the installed application to determine an identification information base for matching;
the step of broadcasting the broadcast key and determining the identification information matched with the broadcast key comprises the following steps:
and determining the identification information corresponding to the broadcast key in the identification information base.
8. A shortcut configuration apparatus, comprising:
the reading module is used for reading the configuration information and preset optional information of the configuration file of the shortcut key when receiving a request for carrying out self-defining setting on the shortcut key;
the setting module is used for determining whether to carry out self-defining setting on the shortcut key according to the state information in the configuration information and the preset optional information;
the configuration information comprises a jump target of the shortcut key, identification information matched with a physical key of the shortcut key, and state information of whether a user is allowed to set the jump target of the shortcut key and the identification information matched with the physical key of the shortcut key in the configuration information in a self-defined manner.
9. A shortcut key configuration device, characterized in that the shortcut key configuration device comprises: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the shortcut configuration method of any of claims 1 to 7.
10. A computer storage medium, characterized in that the computer storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the shortcut configuration method of any of claims 1 to 7.
CN202211555600.5A 2022-12-06 2022-12-06 Shortcut key configuration method, device, equipment and medium Pending CN115834938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211555600.5A CN115834938A (en) 2022-12-06 2022-12-06 Shortcut key configuration method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211555600.5A CN115834938A (en) 2022-12-06 2022-12-06 Shortcut key configuration method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115834938A true CN115834938A (en) 2023-03-21

Family

ID=85545245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211555600.5A Pending CN115834938A (en) 2022-12-06 2022-12-06 Shortcut key configuration method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115834938A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109995A (en) * 2010-12-28 2011-06-29 青岛海信宽带多媒体技术有限公司 Method and device for generating shortcut key
KR20130133435A (en) * 2012-05-29 2013-12-09 주식회사 인프라웨어 Method of operating tv browser using shortcut buttons of remote-controllers, and computer-readable recording medium with television browser operation program for the same
CN106603946A (en) * 2016-12-28 2017-04-26 深圳Tcl数字技术有限公司 Remote control method, device and system for television set
CN106775432A (en) * 2016-12-22 2017-05-31 金蝶软件(中国)有限公司 A kind of method for setting fast key and device
CN112637652A (en) * 2020-12-17 2021-04-09 深圳创维-Rgb电子有限公司 Application starting control method and device of smart television, terminal equipment and medium
CN114928760A (en) * 2022-05-09 2022-08-19 海信视像科技股份有限公司 Key setting method of control device and display equipment
CN115373564A (en) * 2022-08-10 2022-11-22 西安诺瓦星云科技股份有限公司 Function shortcut key self-defining method and device, software function control method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109995A (en) * 2010-12-28 2011-06-29 青岛海信宽带多媒体技术有限公司 Method and device for generating shortcut key
KR20130133435A (en) * 2012-05-29 2013-12-09 주식회사 인프라웨어 Method of operating tv browser using shortcut buttons of remote-controllers, and computer-readable recording medium with television browser operation program for the same
CN106775432A (en) * 2016-12-22 2017-05-31 金蝶软件(中国)有限公司 A kind of method for setting fast key and device
CN106603946A (en) * 2016-12-28 2017-04-26 深圳Tcl数字技术有限公司 Remote control method, device and system for television set
CN112637652A (en) * 2020-12-17 2021-04-09 深圳创维-Rgb电子有限公司 Application starting control method and device of smart television, terminal equipment and medium
CN114928760A (en) * 2022-05-09 2022-08-19 海信视像科技股份有限公司 Key setting method of control device and display equipment
CN115373564A (en) * 2022-08-10 2022-11-22 西安诺瓦星云科技股份有限公司 Function shortcut key self-defining method and device, software function control method and terminal

Similar Documents

Publication Publication Date Title
US11709668B2 (en) Systems and methods for application program and application program update deployment to a mobile device
CN107577459B (en) Dragging type cross-platform application development system and method based on componentization
CN107741844B (en) Method and device for generating application installation package
CN104090749A (en) Processing method and system for updating and changing interface theme of WinCE product
WO2022247594A1 (en) Page rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
CN106502717B (en) Application program running method and device
CN110297624B (en) Implementation method of Widget system based on electron framework and television adopting system
CN112925717B (en) Method, apparatus, device and medium for determining object of call stack frame
CN112925718B (en) Call stack backtracking method, device, equipment and medium
CN114115870A (en) User interface implementation method and device
CN113391808A (en) Page configuration method and device and electronic equipment
KR20050056270A (en) Creating software applications
KR101116939B1 (en) Mobile terminal and method for operating web application the mobile terminal
CN113010178B (en) Application program operation control method, device, equipment and medium
CN114443051A (en) Application program compiling and running method and device and storage medium
CN113408260A (en) Project engineering generation method and device, computer equipment and storage medium
CN111552480B (en) Cross-platform compiling method, device, equipment and readable storage medium
CN105657551A (en) Method and apparatus used by smart television to respond to analog key
CN110442419B (en) Interface layout method and device for Android application
CN115834938A (en) Shortcut key configuration method, device, equipment and medium
CN103853567A (en) Method and device for installing terminal software
CN112911359B (en) Resource display method, display equipment and remote controller
CN116340680A (en) Display equipment and control method for managing life cycle of plug-in object
CN114070898B (en) Signal pushing method, device and computer readable medium for vehicle type and vehicle state

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