CN113938733A - Shortcut key control method and device for remote control equipment, storage medium and device - Google Patents
Shortcut key control method and device for remote control equipment, storage medium and device Download PDFInfo
- Publication number
- CN113938733A CN113938733A CN202111224476.XA CN202111224476A CN113938733A CN 113938733 A CN113938733 A CN 113938733A CN 202111224476 A CN202111224476 A CN 202111224476A CN 113938733 A CN113938733 A CN 113938733A
- Authority
- CN
- China
- Prior art keywords
- shortcut key
- application
- target
- remote control
- pressing
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42212—Specific keyboard arrangements
- H04N21/42213—Specific keyboard arrangements for facilitating data entry
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42212—Specific keyboard arrangements
- H04N21/42213—Specific keyboard arrangements for facilitating data entry
- H04N21/42215—Specific keyboard arrangements for facilitating data entry by measuring the time interval during which a key is pressed, e.g. for inputting sequences of digits when selecting a television channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42212—Specific keyboard arrangements
- H04N21/42213—Specific keyboard arrangements for facilitating data entry
- H04N21/42216—Specific keyboard arrangements for facilitating data entry for quick navigation, e.g. through an EPG
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a shortcut key control method, equipment, a storage medium and a device for remote control equipment, which receive a control instruction sent by the remote control equipment when establishing connection with the remote control equipment; and acquiring a target shortcut key for triggering a control instruction, searching historical application package name information corresponding to the target shortcut key, determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started. According to the invention, the application identifier to be started is determined through the historical application package name information corresponding to the target shortcut key, and the target application is started.
Description
Technical Field
The invention relates to the field of televisions, in particular to a method, equipment, a storage medium and a device for controlling shortcut keys of remote control equipment.
Background
At present, with the development of smart television technology and the increase of application scenes, televisions are ubiquitous at present, and Android television applications in the prior art are also diversified. The user needs to enter or operate a specific application, and needs to enter a home page, find the specific application in my applications and then click to operate. The application which is required to be entered can be entered through the up-switch operation each time, and the process is tedious, so that the user experience is poor.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a shortcut key control method, equipment, a storage medium and a device for remote control equipment, and aims to solve the technical problems that in the prior art, the application steps of the remote control equipment for starting a television system are complicated, and the user experience is poor.
In order to achieve the above object, the present invention provides a method for controlling a shortcut key of a remote control device, comprising the steps of:
when connection with remote control equipment is established, receiving a control instruction sent by the remote control equipment;
acquiring a target shortcut key for triggering the control instruction, and searching historical application package name information corresponding to the target shortcut key;
and determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started.
Optionally, after the step of receiving the control instruction sent by the remote control device when the connection is established with the remote control device, the method further includes:
acquiring the pressing times of a target shortcut key for triggering the control instruction;
determining a pressing type corresponding to the target shortcut key according to the pressing times and preset times;
and when the pressing type is a first preset type, executing the steps of acquiring the target shortcut key triggering the control instruction and searching historical application package name information corresponding to the target shortcut key.
Optionally, after the step of determining the pressing type corresponding to the target shortcut key according to the pressing times and preset times, the method further includes:
when the pressing type is a second preset type, prompting a user whether the target shortcut key needs to be set or not;
recording the name information of the current application package when a target shortcut key setting instruction triggered by a user is received;
and binding the application identifier to be started corresponding to the current application package name information with the target shortcut key.
Optionally, the step of obtaining the number of times of pressing the target shortcut key that triggers the control instruction includes:
acquiring a key pressing signal and a key resetting signal contained in a control instruction;
and when a key pressing signal is detected, acquiring the pressing times of a target shortcut key for triggering the control instruction according to the key resetting signal.
Optionally, the step of determining the pressing type corresponding to the target shortcut key according to the pressing times and preset times includes:
when the pressing times are smaller than preset times, judging that the pressing type corresponding to the target shortcut key is a first preset type;
and when the pressing times are larger than or equal to the preset times, judging that the pressing type corresponding to the target shortcut key is a second preset type.
Optionally, when the pressing type is a second preset type, the step of recording the name information of the current application package includes:
when the pressing type is a second preset type, generating a preset type character string according to the package name information and the workflow name of the target application to be started;
and inputting the preset type character string serving as the name information of the current application package into a preset record database.
Optionally, before the step of determining the identifier of the application to be started according to the historical package name information of the application, and starting the target application corresponding to the identifier of the application to be started, the method further includes:
acquiring a shortcut key setting instruction triggered by a user based on a current application page;
acquiring corresponding application package name information according to the current application page;
and binding the application identifier corresponding to the application package name information with the target shortcut key.
Furthermore, in order to achieve the above object, the present invention further provides a remote control device shortcut control device, which includes a memory, a processor, and a remote control device shortcut control program stored in the memory and operable on the processor, wherein the remote control device shortcut control program is configured to implement the steps of the remote control device shortcut control as described above.
Furthermore, to achieve the above object, the present invention further provides a storage medium having a remote control device shortcut control program stored thereon, which when executed by a processor implements the steps of the remote control device shortcut control method as described above.
In addition, in order to achieve the above object, the present invention further provides a shortcut key control apparatus for a remote control device, including:
the instruction receiving module is used for receiving a control instruction sent by the remote control equipment when the connection with the remote control equipment is established;
the information searching module is used for acquiring a target shortcut key for triggering the control instruction and searching historical application package name information corresponding to the target shortcut key;
and the application starting module is used for determining an application identifier to be started according to the historical application package name information and starting the target application corresponding to the application identifier to be started.
The invention receives the control instruction sent by the remote control equipment when the connection is established with the remote control equipment; and acquiring a target shortcut key for triggering a control instruction, searching historical application package name information corresponding to the target shortcut key, determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started. According to the method and the device, the application identifier to be started is determined through the historical application package name information corresponding to the target shortcut key, and the target application is started.
Drawings
Fig. 1 is a schematic structural diagram of a remote control device shortcut control device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for controlling a shortcut key of a remote control device according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a shortcut key of a remote control device according to a first embodiment of the shortcut key control method of the present invention;
FIG. 4 is a flowchart illustrating a method for controlling a shortcut key of a remote control device according to a second embodiment of the present invention;
FIG. 5 is a schematic view illustrating a shortcut key control flow of a second embodiment of a shortcut key control method of a remote control device according to the present invention;
FIG. 6 is a flowchart illustrating a method for controlling a shortcut key of a remote control device according to a third embodiment of the present invention;
fig. 7 is a block diagram showing the structure of the shortcut key control device of the remote control apparatus according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects 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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a shortcut key control device of a remote control device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the remote control device shortcut control device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may further include a standard wired interface and a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the remote control device shortcut control device and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, identified as one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a remote control device shortcut control program.
In the shortcut key control device of the remote control device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and communicating data with the background server; the user interface 1003 is mainly used for connecting user equipment; the shortcut key control device of the remote control device calls a shortcut key control program of the remote control device stored in the memory 1005 through the processor 1001 and executes the shortcut key control method of the remote control device provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the shortcut key control method of the remote control equipment is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for controlling a shortcut key of a remote control device according to a first embodiment of the present invention.
In this embodiment, the method for controlling a shortcut key of a remote control device includes the following steps:
step S10: and receiving a control instruction sent by the remote control equipment when the connection is established with the remote control equipment.
It should be noted that the execution main body in this embodiment may be a television device, and the television device may be a television device based on an Android system. This is not a limitation in this embodiment.
It should be understood that the remote control device may refer to a remote controller adapted to the television device, and the remote controller may be a virtual remote controller or a physical remote controller, which is not limited in this embodiment. The remote controller is an important component of a television, can freely customize keys to realize the remote controller which can be quickly accessed by application, has a certain application scene in a household use occasion, and mainly has the following two purposes in terms of functions and product purposes: the key under the user scene can quickly and freely enter the designated application, so that the product practicability is improved; the humanization of the product is highlighted, the product design concept is enhanced, and the technological sense of the product is improved. The control instruction may be an instruction sent by a shortcut key correspondingly, the instruction may be an instruction for controlling the television device to start an application interface, and the control instruction may be an instruction generated by a virtual key correspondingly or an instruction generated by an entity key correspondingly.
In a specific implementation, when the television device establishes a connection with the remote control device, the television device receives an instruction sent by the remote control device, and can perform related operations according to the control instruction.
Step S20: and acquiring a target shortcut key for triggering the control instruction, and searching historical application package name information corresponding to the target shortcut key.
It should be noted that the target shortcut key may refer to a shortcut key corresponding to a quick start application interface set on the remote control device. For example: for further explanation, referring to fig. 3, a schematic diagram of shortcut keys may be referred to, where four shortcut keys on a remote control device are shortcut keys for quickly starting an application interface, the target shortcut key may refer to one of the four shortcut keys, for example, the four shortcut keys are numbered as 1, 2, 3, and 4, if the shortcut key 1 is used for starting a WeChat, the shortcut key 2 is used for starting QQ music, the shortcut key 3 is used for starting QQ, the shortcut key 4 is used for starting a photograph, and when the target shortcut key is 1, a control instruction for starting the WeChat is obtained when the shortcut key 1 is triggered. The present embodiment does not specifically limit the number of shortcut keys and the fast start application.
It should be understood that the historical app package name information may refer to app package name information stored corresponding to the target shortcut key, and the app package name information may include a package name in the system application corresponding to the key and an Activity name of the program.
In the specific implementation, the television equipment acquires a target shortcut key for triggering a control instruction, and searches historical application package name information corresponding to the target shortcut key.
Step S30: and determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started.
It should be noted that the to-be-started application identifier may be determined according to the application icon information, the package name, and the Activity name of the program included in the history package name information.
It is understood that the target application can be determined from the system application according to the application icon information, the package name, and the Activity name of the program.
In specific implementation, the TV wading pen can determine the application identifier to be opened according to the historical application package name information, and open the target application corresponding to the application identifier to be opened.
The embodiment receives the control instruction sent by the remote control equipment when the connection is established with the remote control equipment; and acquiring a target shortcut key for triggering a control instruction, searching historical application package name information corresponding to the target shortcut key, determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started. Because the application identifier to be started is determined by the historical application package name information corresponding to the target shortcut key and the target application is started, compared with the prior art, the method for starting the application in the television system by the remote control device is complex, the method for quickly starting the application is realized, and the user experience is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for controlling a shortcut key of a remote control device according to a second embodiment of the present invention, and the method for controlling a shortcut key of a remote control device according to the second embodiment of the present invention is proposed based on the first embodiment illustrated in fig. 2.
In this embodiment, after the step S10, the method includes:
step S110: and acquiring the pressing times of the target shortcut key for triggering the control instruction.
It should be noted that the pressing frequency of the target shortcut key of the trigger control instruction may be obtained through polling detection by a preset counting function, where the preset counting function may be a preset frequency for detecting that the user recognizes the shortcut key when the application is started by using the shortcut key, and the preset counting function may be a Count function, a Counta function, a Countblank function, a Countif function, a Countifs function, or the like.
It is understood that polling detection may refer to detecting the pressing signal of the target shortcut key triggering the control instruction repeatedly until the pressing signal disappears.
It should be understood that the number of pressing times may refer to the number of times of detecting pressing signals generated by the user when using the shortcut key through a round-robin, for example: when a user presses a shortcut key to start an application, polling the frequency of detecting a pressing signal of the shortcut key.
In a specific implementation, the television device may poll and detect the pressing times of the target shortcut key triggering the control instruction through a preset counting function.
Step S120: and determining the pressing type corresponding to the target shortcut key according to the pressing times and the preset times.
It should be noted that the preset times may refer to times preset for distinguishing types of shortcut key presses, and the preset times may be times set according to a sample data test, for example: when the television equipment leaves a factory, the number of times of pressing types corresponding to the shortcut keys can be set according to the test data, and when a user uses the television equipment for the first time and sets the shortcut keys according to the remote control equipment matched with the television equipment, the preset number of times can be adjusted through the use habits of the user.
It can be understood that the pressing type may be determined according to a comparison between the pressing times and a preset number of times, the pressing type may be divided into a long pressing and a short pressing, and the long pressing may refer to a pressing time for which a user detects that a pressing signal is greater than or equal to the preset number of times when the user uses a shortcut key to perform quick start application setting. The short press may refer to a press number of times that a user detects a press signal less than a preset number of times in using a shortcut key quick start application. The pressing times corresponding to the long press and the short press can be determined by the habit of the user, which is not limited in this embodiment.
In specific implementation, the television device may determine the pressing type corresponding to the shortcut key according to the pressing frequency corresponding to the target shortcut key and a preset frequency, and the pressing type may be divided into a long press and a short press according to a comparison between the pressing frequency and the preset frequency. The pressing type in this embodiment is not limited to the short press and the long press.
Step S130: and when the pressing type is a first preset type, executing the steps of acquiring the target shortcut key triggering the control instruction and searching historical application package name information corresponding to the target shortcut key.
It should be noted that the first preset type may be a press type that does not need to perform application start setting on the shortcut key, that is, the first preset type may be a press type that directly starts an application interface corresponding to the target shortcut key.
In a specific implementation, when the television equipment identifies that the current pressing type is the first preset type, the step of obtaining the target shortcut key triggering the control instruction and searching the historical application package name information corresponding to the target shortcut key is executed. When the pressing type is a first preset type, extracting historical application package name information corresponding to the target shortcut key from a preset record database; detecting the number of applications contained in the historical application package name information, sequencing the applications according to preset time sequencing, and extracting target application package name information from the historical application package name information according to a sequencing result; and controlling and starting the target application according to the target application package name information.
Further, the step S120 is followed by: when the pressing type is a second preset type, prompting a user whether the target shortcut key needs to be set or not; recording the name information of the current application package when a target shortcut key setting instruction triggered by a user is received; and binding the application identifier to be started corresponding to the current application package name information with the target shortcut key.
It should be noted that the second preset type may be a press type that needs to perform application start setting on the shortcut key, that is, the second preset type may be a press type that needs to perform application binding on the target shortcut key. The user may be prompted through the display screen whether the target shortcut key needs to be set, for example: prompting the user to press the A key to determine to set the target shortcut key or press the B key to cancel the set target shortcut key, and recording the name information of the current application package when receiving a target shortcut key setting instruction triggered by the user. The target shortcut key setting instruction may be an instruction generated by pressing a key for determining to set a shortcut key, for example: and pressing the key A, specifically, whether the user needs to set the target shortcut key can be identified by detecting the pressing times, so that the wrong setting of the shortcut key caused by mistaken pressing by the user can be avoided.
It can be understood that the current application package name information may be information between a shortcut key and an application to be bound, and the current application package name information may include application icon information, a package name, and an Activity name of a program of the application to be bound, that is, the Android system may interact with a user in the context of the Android Framework series PhonewindowManager, and the following 5 keys (Back, Home, Menu, Power, Volume) in the Android system may be implemented in the Framework layer.
It should be understood that, the preset mode when the user shortcut key setting is finished is prompted according to the preset mode when the binding is successful may refer to a preset mode for prompting the user that the shortcut key setting is finished, the preset mode may prompt the user through text display on a television window of the television device, may also prompt the user through voice of the television device, and may also prompt the user through a remote control device adapted to the television device, for example: the user can be reminded by flashing the signal lamp, and also can be reminded in an adaptive mode of equipment with a remote control function, for example: when the remote control equipment is a mobile phone, the user can be reminded by performing text display on a mobile phone interface. This embodiment is not limited in this regard.
In a specific implementation, the television device may prompt a user whether to set the target shortcut key when the pressing type is a second preset type; recording the name information of the current application package when a target shortcut key setting instruction triggered by a user is received; and binding the application identifier to be started corresponding to the current application package name information with the target shortcut key, and prompting the user that the shortcut key setting is finished according to a preset mode when the binding is successful. For further explanation, referring to fig. 5, a schematic diagram of a shortcut key control flow may be referred to, where it is recognized that the shortcut key pressed by the user is a long press, current application package name information is recorded, and when it is recognized that the shortcut key pressed by the user is not a long press, historical application package name information is started, so as to realize quick start of an application in the television device system.
Further, in order to improve the information search rate, when the pressing type is a second preset type, the step of recording the current application packet name information includes: when the pressing type is a second preset type, generating a preset type character string according to the package name information and the workflow name of the target application to be started; and inputting the preset type character string serving as the name information of the current application package into a preset record database.
It should be noted that the Package name information of the target application to be started may refer to Package name information of the target application that needs to be bound with the target shortcut key, where the Package name information may include information such as path information, application icon information, and Package name (Package name) stored in the application of the television system by the target application, and the Package name information is a unique identifier for determining one App in the Android system, and different apps may have the same name, but the Package names of the apps may not be the same. The workflow name (Activity name) may refer to a launch page name, and may refer to a page in different application programs, where one page is an Activity, and the Activity names corresponding to different launch pages are different, and an application may be pulled up by the Activity name.
It is understood that the preset type string may refer to a preset string, such as: the String type character String of the reference type can be assigned to one String character String through the package name information and the Activity name of the target application to be started, and therefore the binding efficiency of later-stage application is improved.
In specific implementation, in order to improve the binding efficiency between the application of the later-stage television equipment system and the shortcut key, when the information is recorded in the system, the package name information and the Activity name of the target application to be started can be assigned to a String character String, and the String character String is recorded into a preset recording database as the package name information of the current application.
The step S110 includes: acquiring a key pressing signal and a key resetting signal contained in a control instruction; and when a key pressing signal is detected, acquiring the pressing times of a target shortcut key for triggering the control instruction according to the key resetting signal.
It should be noted that the key pressing signal may be a signal generated when a user presses a shortcut key, the key resetting signal may be a signal generated when the user lifts and presses a key, and the shortcut key may be an entity key or a virtual key.
In the specific implementation, when the Android system receives a pressing signal of pressing a target shortcut key at Framework phonewindow manager.
Further, in order to improve the user experience, the step S120 includes: when the pressing times are smaller than preset times, judging that the pressing type corresponding to the target shortcut key is a first preset type; when the pressing times are larger than or equal to the preset times, judging that the pressing type corresponding to the target shortcut key is a second preset type
It should be noted that the first preset type may be a press type that does not need to perform application start setting on the shortcut key, that is, the first preset type may be a press type that directly starts an application interface corresponding to the target shortcut key.
It can be understood that the second preset type may refer to a press type that requires application start setting on the shortcut key, that is, the second preset type may refer to a press type that requires application binding on the target shortcut key.
In a specific implementation, the preset times may be set through a user's use habit, the first preset type may refer to that the user presses a shortcut key for a short time, and the second preset type may refer to that the user presses a shortcut key for a long time, for example: the preset times are set to be 20 times, when the pressing times are recognized to be less than 20 times, the current user is judged to press the shortcut key for a short time, when the pressing times are recognized to reach 20 times, the current user is judged to press the shortcut key for a long time, and the pressing types are classified, so that the user requirements can be recognized quickly, and the user experience is improved. The preset times in this embodiment may be set according to actual conditions, and are not particularly limited.
In the embodiment, when the connection with the remote control equipment is established, the control instruction sent by the remote control equipment is received, and the pressing times of the target shortcut key triggering the control instruction are obtained; determining a pressing type corresponding to the target shortcut key according to the pressing times and preset times; and when the pressing type is a first preset type, executing the steps of acquiring a target shortcut key triggering the control instruction, searching historical application package name information corresponding to the target shortcut key, determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started. Because the embodiment identifies the number of pressing times corresponding to the target shortcut key, determines the identifier of the application to be started according to the historical application package name information, and starts the target application, the embodiment has complicated steps for starting the application in the television system by the remote control device in the prior art, the embodiment realizes quick start of the application, and improves the user experience.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for controlling a shortcut key of a remote control device according to a third embodiment of the present invention, and the third embodiment of the method for controlling a shortcut key of a remote control device according to the present invention is proposed based on the first embodiment illustrated in fig. 2.
In this embodiment, before the step S30, the method further includes:
step S301: and acquiring a shortcut key setting instruction triggered by a user based on the current application page.
It should be noted that the current application page may refer to an application page that needs to be bound with a shortcut key.
It is understood that the shortcut key setting instruction may refer to an instruction generated by a user pressing a shortcut key that needs to be bound with a current application for a long time.
It should be understood that when the application corresponding to the shortcut key needs to be replaced, the shortcut key and the current application may be bound in a first preset pressing type manner, that is, the shortcut key to be set may be pressed for a duration of opening the current application interface.
In a specific implementation, the television device may set the instruction by obtaining a shortcut key triggered by the user based on the current application page.
Step S302: and acquiring corresponding application package name information according to the current application page.
It should be noted that the current application page may refer to an application page to be bound, and the television device may determine name information of the application package to be bound according to the application page to be bound.
In specific implementation, in order to change application binding in the shortcut key, late binding can be performed by acquiring name information of an application package of the application to be bound.
Step S303: and binding the application identifier corresponding to the application package name information with the target shortcut key.
It should be noted that the application identifier corresponding to the application package name information may refer to application icon information, a package name, and an Activity name of a program corresponding to the application to be bound.
The embodiment receives the control instruction sent by the remote control equipment when the connection is established with the remote control equipment; acquiring a target shortcut key for triggering a control instruction, searching historical application package name information corresponding to the target shortcut key, and acquiring a shortcut key setting instruction triggered by a user based on a current application page; acquiring corresponding application package name information according to the current application page; and binding the application identifier corresponding to the application package name information with the target shortcut key, determining the application identifier to be started according to the historical application package name information, and starting the target application corresponding to the application identifier to be started. In the embodiment, the target shortcut key is used for replacing, and corresponding application package name information is acquired according to the current application page; the application identification corresponding to the application package name information is bound with the target shortcut key, so that the application to be bound is started.
Furthermore, to achieve the above object, the present invention further provides a storage medium having a remote control device shortcut control program stored thereon, which when executed by a processor implements the steps of the remote control device shortcut control method as described above.
Referring to fig. 7, fig. 7 is a block diagram illustrating a first embodiment of a shortcut key control apparatus for a remote control device according to the present invention.
As shown in fig. 7, a shortcut key control apparatus of a remote control device according to an embodiment of the present invention includes:
the instruction receiving module 10 is configured to receive a control instruction sent by a remote control device when a connection is established with the remote control device;
the information searching module 20 is configured to acquire a target shortcut key for triggering the control instruction, and search historical application package name information corresponding to the target shortcut key;
and the application starting module 30 is configured to determine an application identifier to be started according to the historical application package name information, and start a target application corresponding to the application identifier to be started.
The embodiment receives the control instruction sent by the remote control equipment when the connection is established with the remote control equipment; and acquiring a target shortcut key for triggering a control instruction, searching historical application package name information corresponding to the target shortcut key, determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started. Because the application identifier to be started is determined by the historical application package name information corresponding to the target shortcut key and the target application is started, compared with the prior art, the method for starting the application in the television system by the remote control device is complex, the method for quickly starting the application is realized, and the user experience is improved.
Further, the shortcut key control device of the remote control device further comprises: the counting and identifying module is used for acquiring the pressing times of a target shortcut key for triggering the control instruction; determining a pressing type corresponding to the target shortcut key according to the pressing times and preset times; and when the pressing type is a first preset type, executing the steps of acquiring the target shortcut key triggering the control instruction and searching historical application package name information corresponding to the target shortcut key.
Further, the shortcut key control device of the remote control device further comprises: the shortcut key setting module is used for prompting a user whether the target shortcut key needs to be set or not when the pressing type is a second preset type; recording the name information of the current application package when a target shortcut key setting instruction triggered by a user is received; and binding the application identifier to be started corresponding to the current application package name information with the target shortcut key.
Furthermore, the counting identification module is also used for acquiring a key pressing signal and a key resetting signal contained in the control command; and when a key pressing signal is detected, acquiring the pressing times of a target shortcut key for triggering the control instruction according to the key resetting signal.
Further, the shortcut key control device of the remote control device further comprises: the type determining module is used for judging that the pressing type corresponding to the target shortcut key is a first preset type when the pressing times are smaller than preset times; and when the pressing times are larger than or equal to the preset times, judging that the pressing type corresponding to the target shortcut key is a second preset type.
Further, the shortcut key setting module is further configured to generate a preset type character string according to the package name information and the workflow name of the target application to be started when the pressing type is a second preset type; and inputting the preset type character string serving as the name information of the current application package into a preset record database.
Furthermore, the shortcut key setting module is also used for acquiring a shortcut key setting instruction triggered by a user based on the current application page; acquiring corresponding application package name information according to the current application page; and binding the application identifier corresponding to the application package name information with the target shortcut key.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to a shortcut key control method of a remote control device provided in any embodiment 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 phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises 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. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words first, second, third, etc. are to be interpreted as names.
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 solutions 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 storage medium (e.g., a Read Only Memory (ROM)/Random Access Memory (RAM), a magnetic disk, an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) 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 control method for remote control equipment is characterized by comprising the following steps:
when connection with remote control equipment is established, receiving a control instruction sent by the remote control equipment;
acquiring a target shortcut key for triggering the control instruction, and searching historical application package name information corresponding to the target shortcut key;
and determining an application identifier to be started according to the historical application package name information, and starting a target application corresponding to the application identifier to be started.
2. The method for shortcut control of remote control device according to claim 1, wherein said step of receiving a control command transmitted from said remote control device when establishing connection with said remote control device further comprises:
acquiring the pressing times of a target shortcut key for triggering the control instruction;
determining a pressing type corresponding to the target shortcut key according to the pressing times and preset times;
and when the pressing type is a first preset type, executing the steps of acquiring the target shortcut key triggering the control instruction and searching historical application package name information corresponding to the target shortcut key.
3. The method for controlling the shortcut keys of the remote control device according to claim 2, wherein after the step of determining the pressing type corresponding to the target shortcut key according to the pressing times and the preset times, the method further comprises:
when the pressing type is a second preset type, prompting a user whether the target shortcut key needs to be set or not;
recording the name information of the current application package when a target shortcut key setting instruction triggered by a user is received;
and binding the application identifier to be started corresponding to the current application package name information with the target shortcut key.
4. The method for controlling the shortcut keys of the remote control device according to claim 2, wherein said step of obtaining the number of times of pressing the target shortcut key triggering the control command comprises:
acquiring a key pressing signal and a key resetting signal contained in a control instruction;
and when a key pressing signal is detected, acquiring the pressing times of a target shortcut key for triggering the control instruction according to the key resetting signal.
5. The method for controlling the shortcut keys of the remote control device according to claim 3, wherein the step of determining the pressing type corresponding to the target shortcut key according to the pressing times and the preset times comprises:
when the pressing times are smaller than preset times, judging that the pressing type corresponding to the target shortcut key is a first preset type;
and when the pressing times are larger than or equal to the preset times, judging that the pressing type corresponding to the target shortcut key is a second preset type.
6. The shortcut key control method of claim 3, wherein said step of recording name information of a current application package when said pressing type is a second preset type includes:
when the pressing type is a second preset type, generating a preset type character string according to the package name information and the workflow name of the target application to be started;
and inputting the preset type character string serving as the name information of the current application package into a preset record database.
7. The method for controlling the shortcut keys of the remote control device according to any one of claims 1 to 6, wherein before the step of determining the identifier of the application to be started according to the historical package name information and starting the target application corresponding to the identifier of the application to be started, the method further comprises:
acquiring a shortcut key setting instruction triggered by a user based on a current application page;
acquiring corresponding application package name information according to the current application page;
and binding the application identifier corresponding to the application package name information with the target shortcut key.
8. A remote control device shortcut control device characterized in that the remote control device shortcut control device comprises: memory, a processor and a remote control device shortcut control program stored on the memory and executable on the processor, the remote control device shortcut control program implementing the remote control device shortcut control method of any of claims 1 to 7 when executed by the processor.
9. A storage medium having stored thereon a remote control device shortcut control program which, when executed by a processor, implements a remote control device shortcut control method as recited in any one of claims 1 to 7.
10. A shortcut key control apparatus for a remote control device, the shortcut key control apparatus comprising:
the instruction receiving module is used for receiving a control instruction sent by the remote control equipment when the connection with the remote control equipment is established;
the information searching module is used for acquiring a target shortcut key for triggering the control instruction and searching historical application package name information corresponding to the target shortcut key;
and the application starting module is used for determining an application identifier to be started according to the historical application package name information and starting the target application corresponding to the application identifier to be started.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111224476.XA CN113938733B (en) | 2021-10-19 | 2021-10-19 | Shortcut key control method and device for remote control equipment, storage medium and device |
PCT/CN2021/139234 WO2023065517A1 (en) | 2021-10-19 | 2021-12-17 | Shortcut key control method for remote control device, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111224476.XA CN113938733B (en) | 2021-10-19 | 2021-10-19 | Shortcut key control method and device for remote control equipment, storage medium and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113938733A true CN113938733A (en) | 2022-01-14 |
CN113938733B CN113938733B (en) | 2023-08-22 |
Family
ID=79281060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111224476.XA Active CN113938733B (en) | 2021-10-19 | 2021-10-19 | Shortcut key control method and device for remote control equipment, storage medium and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113938733B (en) |
WO (1) | WO2023065517A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174976A (en) * | 2022-07-04 | 2022-10-11 | 冠捷显示科技(武汉)有限公司 | Method for realizing editable signal source hot key by remote controller |
CN115951623A (en) * | 2023-03-10 | 2023-04-11 | 北京市农林科学院信息技术研究中心 | Control method, control device, control system, moving object, electronic apparatus, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1901563A (en) * | 2005-07-18 | 2007-01-24 | 乐金电子(中国)研究开发中心有限公司 | Multifunctional shortcut key setting device and method, and mobile terminal with the same |
CN101441548A (en) * | 2008-11-24 | 2009-05-27 | 宇龙计算机通信科技(深圳)有限公司 | Touch screen processing method, system and mobile terminal |
CN102890616A (en) * | 2012-09-26 | 2013-01-23 | 杨生虎 | Shortcut input method and shortcut input system of touch screen |
CN105573748A (en) * | 2015-12-11 | 2016-05-11 | 北京元心科技有限公司 | Shortcut key customization method and intelligent terminal |
CN107948746A (en) * | 2017-12-06 | 2018-04-20 | 深圳Tcl新技术有限公司 | Smart television application startup method, smart television and computer-readable recording medium |
CN112492366A (en) * | 2020-11-16 | 2021-03-12 | 未来电视有限公司 | Remote controller key customization method and device for smart television, smart television and medium |
CN112637652A (en) * | 2020-12-17 | 2021-04-09 | 深圳创维-Rgb电子有限公司 | Application starting control method and device of smart television, terminal equipment and medium |
CN113141530A (en) * | 2021-04-15 | 2021-07-20 | 深圳市欢太科技有限公司 | Remote control interaction based method and device, electronic equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005252577A (en) * | 2004-03-03 | 2005-09-15 | Sanyo Electric Co Ltd | Remote control system |
-
2021
- 2021-10-19 CN CN202111224476.XA patent/CN113938733B/en active Active
- 2021-12-17 WO PCT/CN2021/139234 patent/WO2023065517A1/en unknown
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1901563A (en) * | 2005-07-18 | 2007-01-24 | 乐金电子(中国)研究开发中心有限公司 | Multifunctional shortcut key setting device and method, and mobile terminal with the same |
CN101441548A (en) * | 2008-11-24 | 2009-05-27 | 宇龙计算机通信科技(深圳)有限公司 | Touch screen processing method, system and mobile terminal |
CN102890616A (en) * | 2012-09-26 | 2013-01-23 | 杨生虎 | Shortcut input method and shortcut input system of touch screen |
CN105573748A (en) * | 2015-12-11 | 2016-05-11 | 北京元心科技有限公司 | Shortcut key customization method and intelligent terminal |
CN107948746A (en) * | 2017-12-06 | 2018-04-20 | 深圳Tcl新技术有限公司 | Smart television application startup method, smart television and computer-readable recording medium |
CN112492366A (en) * | 2020-11-16 | 2021-03-12 | 未来电视有限公司 | Remote controller key customization method and device for smart television, smart television and medium |
CN112637652A (en) * | 2020-12-17 | 2021-04-09 | 深圳创维-Rgb电子有限公司 | Application starting control method and device of smart television, terminal equipment and medium |
CN113141530A (en) * | 2021-04-15 | 2021-07-20 | 深圳市欢太科技有限公司 | Remote control interaction based method and device, electronic equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174976A (en) * | 2022-07-04 | 2022-10-11 | 冠捷显示科技(武汉)有限公司 | Method for realizing editable signal source hot key by remote controller |
CN115951623A (en) * | 2023-03-10 | 2023-04-11 | 北京市农林科学院信息技术研究中心 | Control method, control device, control system, moving object, electronic apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113938733B (en) | 2023-08-22 |
WO2023065517A1 (en) | 2023-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107240400B (en) | Terminal operation method and device | |
CN106096425A (en) | System permission starting method, device and equipment | |
CN107329750A (en) | The recognition methods of advertisement page, jump method and mobile terminal in application program | |
CN109979465A (en) | Electronic device, server and its control method | |
CN113938733A (en) | Shortcut key control method and device for remote control equipment, storage medium and device | |
CN104809174A (en) | Opening method of terminal application | |
CN107370772A (en) | Account login method, device and computer-readable recording medium | |
CN107820232B (en) | Method for controlling user equipment to bind microphone equipment and user equipment | |
EP3173963B1 (en) | Unlocking method and apparatus, computer program and recording medium | |
CN111081005B (en) | Directional remote control method, device, equipment and storage medium | |
EP3113051A1 (en) | Method and apparatus for acquiring search results, computer program and recording medium | |
WO2022022566A1 (en) | Graphic code identification method and apparatus and electronic device | |
CN110876077B (en) | Control method of smart television, mobile terminal and computer readable storage medium | |
CN110570846B (en) | Voice control method and device and mobile phone | |
CN104808899A (en) | Terminal | |
CN107621921B (en) | Application program starting method and mobile device | |
CN108205455B (en) | Application function implementation method and device and terminal | |
CN110933772A (en) | Connection method of wireless device, mobile terminal and computer readable storage medium | |
CN111459272A (en) | Interaction method, interaction device, storage medium and electronic equipment | |
CN110891265A (en) | Wireless connection control method and device, mobile terminal and storage medium | |
CN110659082A (en) | Application program interface display method and device, terminal and storage medium | |
WO2022001564A1 (en) | Operation set obtaining and executing methods and apparatuses, storage medium, and terminal device | |
CN105898053A (en) | Communication recording processing device and method and mobile terminal | |
CN103546614A (en) | Method and device for quick dialing | |
CN111884910A (en) | Control method of mobile terminal, mobile terminal and storage medium |
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 |