CN112104903A - Service opening method, device, terminal equipment and storage medium - Google Patents

Service opening method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112104903A
CN112104903A CN202010815106.2A CN202010815106A CN112104903A CN 112104903 A CN112104903 A CN 112104903A CN 202010815106 A CN202010815106 A CN 202010815106A CN 112104903 A CN112104903 A CN 112104903A
Authority
CN
China
Prior art keywords
target
service
focus control
key
interface
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
CN202010815106.2A
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010815106.2A priority Critical patent/CN112104903A/en
Publication of CN112104903A publication Critical patent/CN112104903A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42226Reprogrammable remote control devices
    • H04N21/42227Reprogrammable remote control devices the keys being reprogrammable, e.g. soft keys
    • H04N21/42228Reprogrammable remote control devices the keys being reprogrammable, e.g. soft keys the reprogrammable keys being displayed on a display screen in order to reduce the number of keys on the remote control device itself
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42224Touch pad or touch panel provided on the remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42226Reprogrammable remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering

Abstract

The embodiment of the invention provides a service starting method, a device, terminal equipment and a storage medium, wherein the service starting method comprises the following steps: receiving a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.

Description

Service opening method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a terminal device, and a storage medium for service activation.
Background
With the rapid development of the video network, the functions provided by the video network terminal to the user are more and more abundant, but based on the inconvenience of the operation of the remote controller, the video network service is often triggered to be started and can be completed by clicking the remote controller for many times.
For example, when a videophone is dialed through a video network terminal, the operation can be completed by clicking a video call on a main interface, jumping to a dialing interface from the main interface, inputting a video network terminal number of a called party on the dialing interface, and clicking a dialing control. For some complex services, many steps are required to complete, so that the complicated operation is required for starting the video networking service every time, the time is long, and the service triggering efficiency is low.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a service opening method, apparatus, terminal device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a method for starting a service, where the method includes:
receiving a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key;
searching target task data corresponding to the key values of the target function keys in a pre-stored task database, wherein the target task data comprise the target key values and the sequence of the target key values;
and under the condition that the current interface of the terminal equipment is a service initial page and a target focus control in the current interface is an initial focus control in the service initial page, executing the service triggering instruction according to the target key value and the sequence of the target key value so as to start a service corresponding to the function key on the terminal equipment.
Optionally, the task database is obtained by:
receiving a task creating instruction of a function key input by a user and sent by the remote controller, and displaying an initial interface on an interface of the terminal equipment, wherein the task creating instruction comprises a key value of the function key;
receiving a task selection instruction of a focus control input by a user and sent by the remote controller, wherein the focus control is any control on the initial interface;
receiving a recording starting instruction input by a user and sent by the remote controller, and storing an initial interface ID number and an initial focus control ID number;
receiving key values of all keys input by a user and sent by the remote controller;
storing the key values of the function keys, the ID numbers of the initial interface, the ID numbers of the initial focus controls, the key values of the keys, the sequence of the key values, the preset time among the key values, and the corresponding relation between the ID numbers of the key value interface and the ID numbers of the key value focus controls in the task database;
and receiving a recording ending instruction input by a user and sent by the remote controller.
Optionally, the method further comprises:
comparing the current interface ID number of the terminal equipment with the initial interface ID number in the task database;
if the current interface ID number of the terminal equipment is different from the initial interface ID number in the task database, displaying prompt information on the interface of the terminal equipment;
if the current interface ID number of the terminal equipment is the same as the initial interface ID number in the task database, comparing the focus control ID number in the current interface of the terminal equipment with the initial focus control ID number;
and if the current focus control ID number in the current interface of the terminal equipment is different from the initial focus control ID number, adjusting the current focus control of the current interface to the initial focus control.
Optionally, the adjusting the current focus control of the current interface to the initial focus control includes:
receiving an adjusting instruction input by a user and sent by the remote controller;
and controlling the cursor on the current interface to move according to the adjusting instruction, and moving the cursor from the current focus control to the target focus control, wherein the ID number of the target focus control is the same as that of the initial focus control.
Optionally, when the current interface of the terminal device is a service initial page and a destination focus control in the current interface is an initial focus control in the service initial page, executing the service trigger instruction according to the destination key value and the sequence of the destination key value, so that the service corresponding to the function key on the terminal device is started, including:
and if the current interface ID number of the terminal equipment is the same as the initial interface ID number and the current focus control ID number in the current interface is the same as the initial focus control ID number, executing an instruction corresponding to the target key value according to the sequence of the target key values and the preset time between the target key values so as to open the service corresponding to the function key on the terminal equipment.
Optionally, the method further comprises:
after executing an instruction corresponding to a first target key value, comparing the current interface ID number with the key value interface ID number in the task database;
comparing the current focus control ID number in the current interface of the terminal equipment with the key value focus control ID number;
and if the current interface ID number is the same as the key value interface ID number in the task database, and the current focus control ID number in the current interface of the terminal equipment is the same as the key value focus control ID number, executing an instruction corresponding to a second target key value, wherein the instruction of the first target key value and the instruction of the second target key value are separated by the preset time.
Optionally, after the receiving the service triggering instruction sent by the remote controller, the method further includes:
and in a pre-stored task database, if target task data corresponding to the key value of the target function key is not searched, displaying triggering failure information.
In a second aspect, an embodiment of the present invention provides a service opening apparatus, where the apparatus includes:
the remote controller comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a service triggering instruction sent by the remote controller, the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key;
the searching module is used for searching target task data corresponding to the key values of the target function keys in a pre-stored task database, wherein the target task data comprise the target key values and the sequence of the target key values;
and the triggering module is used for executing the service triggering instruction according to the target key value and the sequence of the target key value under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, so that the service corresponding to the function key on the terminal equipment is started.
Optionally, the apparatus further includes a task database establishing module, where the task database establishing module is configured to:
receiving a task creating instruction of a function key input by a user and sent by the remote controller, and displaying an initial interface on an interface of the terminal equipment, wherein the task creating instruction comprises a key value of the function key;
receiving a task selection instruction of a focus control input by a user and sent by the remote controller, wherein the focus control is any control on the initial interface;
receiving a recording starting instruction input by a user and sent by the remote controller, and storing an initial interface ID number and an initial focus control ID number;
receiving key values of all keys input by a user and sent by the remote controller;
storing the key values of the function keys, the ID numbers of the initial interface, the ID numbers of the initial focus controls, the key values of the keys, the sequence of the key values, the preset time among the key values, and the corresponding relation between the ID numbers of the key value interface and the ID numbers of the key value focus controls in the task database;
and receiving a recording ending instruction input by a user and sent by the remote controller.
Optionally, the apparatus further includes a determining module, where the determining module is configured to:
comparing the current interface ID number of the terminal equipment with the initial interface ID number in the task database;
if the current interface ID number of the terminal equipment is different from the initial interface ID number in the task database, displaying prompt information on the interface of the terminal equipment;
if the current interface ID number of the terminal equipment is the same as the initial interface ID number in the task database, comparing the focus control ID number in the current interface of the terminal equipment with the initial focus control ID number;
and if the current focus control ID number in the current interface of the terminal equipment is different from the initial focus control ID number, adjusting the current focus control of the current interface to the initial focus control.
Optionally, the determining module is configured to:
receiving an adjusting instruction input by a user and sent by the remote controller;
and controlling the cursor on the current interface to move according to the adjusting instruction, and moving the cursor from the current focus control to the target focus control, wherein the ID number of the target focus control is the same as that of the initial focus control.
Optionally, the triggering module is configured to:
and if the current interface ID number of the terminal equipment is the same as the initial interface ID number and the current focus control ID number in the current interface is the same as the initial focus control ID number, executing an instruction corresponding to the target key value according to the sequence of the target key values and the preset time between the target key values so as to open the service corresponding to the function key on the terminal equipment.
Optionally, the triggering module is further configured to:
after executing an instruction corresponding to a first target key value, comparing the current interface ID number with the key value interface ID number in the task database;
comparing the current focus control ID number in the current interface of the terminal equipment with the key value focus control ID number;
and if the current interface ID number is the same as the key value interface ID number in the task database, and the current focus control ID number in the current interface of the terminal equipment is the same as the key value focus control ID number, executing an instruction corresponding to a second target key value, wherein the instruction of the first target key value and the instruction of the second target key value are separated by the preset time.
Optionally, the lookup module is further configured to:
and in a pre-stored task database, if target task data corresponding to the key value of the target function key is not searched, displaying triggering failure information.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the service opening method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the service opening method provided in the first aspect is implemented.
The embodiment of the invention has the following advantages:
according to the service starting method, the device, the terminal equipment and the storage medium provided by the embodiment of the invention, the service triggering instruction sent by the remote controller is received, the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
Drawings
Fig. 1 is a flowchart of steps of an embodiment of a service opening method according to the present invention;
FIG. 2 is a flow chart of steps of another embodiment of a method for opening a service;
FIG. 3 is a schematic interface diagram of the remote control of the present invention;
FIG. 4 is a flowchart of the steps of a task entry method embodiment of the present invention;
FIG. 5 is a flowchart of the steps of a task triggering method embodiment of the present invention;
FIG. 6 is an interface schematic for task entry of the present invention;
FIG. 7 is an interface schematic of an input function key of the present invention;
FIG. 8 is a schematic diagram of a task entry home interface of the present invention;
FIG. 9 is a schematic view of a dial-up videophone interface for task entry in accordance with the present invention;
FIG. 10 is a data structure diagram of the task database of the present invention;
fig. 11 is a block diagram of a service opening apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal device of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
An embodiment of the present invention provides a service opening method, which is used for quickly triggering service opening. The execution subject of this embodiment is a service opening apparatus, and is arranged on a terminal device of a video network, that is, the terminal device in this embodiment of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a service activation method according to the present invention is shown, where the method specifically includes the following steps:
s101, receiving a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key;
specifically, a plurality of function keys are arranged on the remote controller, each function key has a different key value, for example, the function keys "function 1", "function 2", and … … "function 5" in the remote controller of fig. 3, each function key corresponds to a different service, and task data corresponding to the function key can be stored in the terminal device in advance, a user can click any function key on the remote controller, the remote controller receives a service trigger instruction input by the user, and sends the service trigger instruction to the terminal device of the video network, and the service trigger instruction includes the key value of the function key.
S102, searching target task data corresponding to the key values of the target function keys in a pre-stored task database, wherein the target task data comprise the target key values and the sequence of the target key values;
specifically, the task data corresponding to each function key is stored in advance on the terminal device of the video network, that is, a task database is formed, after the terminal device of the video network receives a service triggering instruction, according to a key value of a target function key in the service triggering instruction, whether target task data corresponding to the key value of the target function key exists or not is searched in the task database, if yes, target task data corresponding to the key value of the target function key is obtained, the target task data comprises the sequence of the target key value and the target key value, and in the process of triggering service opening, a user clicks the key value of a key on a remote controller, for example, an upper key, a lower key, a left key, a right key, a numeric key, a confirmation key, a record key and the like.
And S103, under the condition that the current interface of the terminal equipment is a service initial page and a target focus control in the current interface is an initial focus control in the service initial page, executing the service trigger instruction according to the target key value and the sequence of the target key value so as to start a service corresponding to the function key on the terminal equipment.
Specifically, the terminal device compares a current interface and a target focus control in the current interface with a corresponding business initial page and a corresponding initial focus control in the task database, and if the current interface is the business initial page and the target focus control in the current interface is the initial focus control in the business initial page, according to the sequence of the target key values and the target key values, executes an instruction corresponding to each target key value according to the sequence of the target key values, so that a business corresponding to the function key on the terminal device is triggered to be started, wherein the focus control is a control where a cursor in the page is located.
The service starting method provided by the embodiment of the invention receives a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
The present invention further provides a supplementary description of the service opening method provided in the above embodiment.
As shown in fig. 2, a flowchart of steps of another embodiment of a service activation method of the present invention is shown, where the service activation method includes:
s201, receiving a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key;
specifically, before executing the step, task data corresponding to each function key needs to be entered into the terminal device, so as to form a task database, where the task database is obtained by the following method, including:
a1, receiving a task creating instruction of a function key input by a user and sent by a remote controller, and displaying an initial interface on an interface of the terminal equipment, wherein the task creating instruction comprises a key value of the function key;
a2, receiving a task selection instruction of a focus control input by a user and sent by the remote controller, wherein the focus control is any control on the initial interface;
a3, receiving a recording start instruction input by a user and sent by the remote controller, and storing an initial interface ID number and an initial focus control ID number;
the embodiment of the invention stores the initial position of the recording of the user-defined task, and can better judge whether the user mistakenly operates or really wants the user-defined task. When the user-defined task is triggered, if the initial interface is correct, the position of the initial control can be automatically determined, and the method is more convenient and intelligent.
A4, receiving key values of each key input by a user and sent by the remote controller;
a5, storing the key values of the function keys, the ID number of the initial interface, the ID number of the initial focus control, the key values of all the keys, the sequence of the key values, the preset time among the key values, the ID number of the key value interface and the ID number of the key value focus control in the task database;
specifically, the stored content has a time interval between two keys in addition to the key values of the keys, so that the operation for simulation can be more realistic, and the program can be given time to react.
And a6, receiving a recording ending instruction input by a user and sent by the remote controller.
Illustratively, a page as shown in fig. 6 is displayed on the terminal device, in which page the "enter key customization task" is included, the user clicks the "confirm" key on the remote control as shown in fig. 3, jumps from this page to the page as shown in fig. 7, the page shows "please press the function key to enter the task", the user clicks the "function 1" key on the remote controller as shown in figure 3, the "function 1" is displayed on the interface, at which point the user clicks the "ok" button on the remote control again, jumps from the interface of figure 7 to the main interface shown in figure 8, positioning the cursor to the service to be set by moving the moving key on the remote controller, clicking the record key on the remote controller to start recording, and displaying an input state 'start input task' in the upper right corner of the main interface, and recording an initial interface ID number and an initial focus ID number. For example, the user moves to a "videophone" control, the control is the focus control, and records the ID number of the interface, i.e. the ID number of the initial interface, and the ID number of the "videophone" control is the ID number of the initial focus control.
The user clicks the 'confirm' button on the remote controller, the terminal interface jumps from the main interface of fig. 8 to the 'dial videophone interface' of fig. 9, the entry state 'entry in' is displayed in the upper right corner of the interface, the cursor is firstly on the 'dial-up keyboard' control, the user can input the video networking number of the video networking terminal to be dialed, then the 'up, down, left and right' buttons on the remote controller are clicked, the cursor is moved to the 'dial' control, the 'confirm' button is clicked, then the 'record' button is clicked, the entry is finished, and the 'end entry task' is displayed in the entry state in the upper right corner of the page.
In the above entry process, the terminal device stores all the key values corresponding to the "confirm" key, the "1-9" key, the mobile key, and the "confirm" key, stores the corresponding page ID number and the focus control ID number after operating each key, and stores the interval time between the two keys, i.e., the preset time, and the specific stored data structure is shown in fig. 10, and includes:
1. the key value of the function key corresponding to the user-defined task is as follows: 168 corresponds to function one
2. Customizing the initial interface of the task: main interface corresponding to MainActivity
3. Customizing the focus control of the initial task: button call corresponding to video call button
4. User key operation of self-defining task record: 23 corresponds to key up and 520 corresponds to a time interval of 520 milliseconds.
And the task data of each function key is input into the terminal equipment, and only the corresponding function key needs to be clicked without complicated steps when the service is triggered to be started next time.
S202, searching target task data corresponding to the key values of the target function keys in a pre-stored task database, wherein the target task data comprise the target key values and the sequence of the target key values;
and S203, if target task data corresponding to the key value of the target function key is not searched in a pre-stored task database, displaying triggering failure information.
S204, comparing the current interface ID number of the terminal equipment with the initial interface ID number in the task database;
s205, if the current interface ID number of the terminal equipment is different from the initial interface ID number in the task database, displaying prompt information on the interface of the terminal equipment;
s206, if the current interface ID number of the terminal equipment is the same as the initial interface ID number in the task database, comparing the focus control ID number in the current interface of the terminal equipment with the initial focus control ID number;
and S207, if the ID number of the current focus control in the current interface of the terminal equipment is different from the ID number of the initial focus control, adjusting the current focus control of the current interface to the initial focus control.
The specific adjustment mode comprises the following steps:
step b1, receiving an adjusting instruction input by a user and sent by the remote controller;
step b2, according to the adjusting instruction, controlling the cursor on the current interface to move, and moving the cursor from the current focus control to the target focus control, wherein the ID number of the target focus control is the same as the ID number of the initial focus control.
And S208, if the ID number of the current interface of the terminal equipment is the same as the ID number of the initial interface and the ID number of the current focus control in the current interface is the same as the ID number of the initial focus control, executing an instruction corresponding to the target key value according to the sequence of the target key values and the preset time between the target key values so as to open the service corresponding to the function key on the terminal equipment.
Specifically, in the process of recording a user-defined task, i.e., entering task data, in addition to key values and time intervals of keys, an interface ID after each key is pressed by a user, and a control, i.e., a focus control ID, where a cursor is located, that is, a specific position (located by the interface ID + the control ID) after the user presses the key. When a user triggers a function key, the terminal equipment detects whether the cursor reaches the position recorded by the user before every time the terminal equipment simulates a user key, and if not, the terminal equipment simulates again after 500 milliseconds, so that the key operation of the user can still be correctly simulated when the program is jammed and the network speed is not good, and the user can really realize the user-defined task.
The specific method comprises the following steps:
step c1, after executing the instruction corresponding to the first destination key value, comparing the current interface ID number with the key value interface ID number in the task database;
step c2, comparing the current focus control ID number in the current interface of the terminal equipment with the key value focus control ID number;
step c3, if the current interface ID number is the same as the key value interface ID number in the task database, and the current focus control ID number in the current interface of the terminal device is the same as the key value focus control ID number, executing an instruction corresponding to a second destination key value, wherein the instruction of the first destination key value and the instruction of the second destination key value are separated by the preset time.
Fig. 4 is a flowchart of steps of an embodiment of the task entry method of the present invention, as shown in fig. 4, including:
s401, determining a user-defined function key;
s402, determining a user-defined task starting interface and a focus control;
s403, recording key operation, key time interval, interface ID number and focus control ID number;
and S404, completing task entry and storing.
Each step is a detailed interface in the above embodiments, and is not described again.
Figure 5 is a flowchart of the steps of a task triggering method embodiment of the present invention,
s501, determining a user-defined function key;
s502, determining custom task data;
s503, judging a current interface and a focus control;
and S504, simulating to execute key operation and triggering service starting.
Each step is a detailed interface in the above embodiments, and is not described again.
In the embodiment of the invention, key values of remote control keys operated by a user and time intervals of the operations are recorded in sequence and stored in the local equipment at the stage of inputting the user-defined task. When the user triggers the user-defined task, the stored operation information is read, and the key pressing process of the user is simulated through the program sequence, so that the same operation effect as the input effect is achieved. Namely, the entry logic of the self-defined task and the response logic of the later-stage triggering of the self-defined task are recorded in advance, so that after a user enters the self-defined task once, namely task data, the program automatically executes a series of previous operations of the user by one-key triggering.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The service starting method provided by the embodiment of the invention receives a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
Another embodiment of the present invention provides a service opening apparatus, configured to execute the service opening method provided in the foregoing embodiment.
Referring to fig. 11, a block diagram of a service opening apparatus according to an embodiment of the present invention is shown, where the apparatus may specifically include the following modules: a receiving module 1101, a searching module 1102 and a triggering module 1103, wherein:
the receiving module 1101 is configured to receive a service triggering instruction sent by a remote controller, where the service triggering instruction is generated based on a user operating a destination function key of the remote controller, and the service triggering instruction includes a key value of the destination function key;
the searching module 1102 is configured to search target task data corresponding to key values of the target function keys in a pre-stored task database, where the target task data includes the target key values and a sequence of the target key values;
the triggering module 1103 is configured to execute the service triggering instruction according to the destination key value and the order of the destination key value when the current interface of the terminal device is a service initial page and the destination focus control in the current interface is an initial focus control in the service initial page, so as to start a service corresponding to the function key on the terminal device.
The service starting device provided by the embodiment of the invention receives a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
The present invention further provides a supplementary description of the service activation apparatus provided in the above embodiment.
Optionally, the apparatus further includes a task database establishing module, where the task database establishing module is configured to:
receiving a task creating instruction of a function key input by a user and sent by the remote controller, and displaying an initial interface on an interface of the terminal equipment, wherein the task creating instruction comprises a key value of the function key;
receiving a task selection instruction of a focus control input by a user and sent by the remote controller, wherein the focus control is any control on the initial interface;
receiving a recording starting instruction input by a user and sent by the remote controller, and storing an initial interface ID number and an initial focus control ID number;
receiving key values of all keys input by a user and sent by the remote controller;
storing the key values of the function keys, the ID numbers of the initial interface, the ID numbers of the initial focus controls, the key values of the keys, the sequence of the key values, the preset time among the key values, and the corresponding relation between the ID numbers of the key value interface and the ID numbers of the key value focus controls in the task database;
and receiving a recording ending instruction input by a user and sent by the remote controller.
Optionally, the apparatus further includes a determining module, where the determining module is configured to:
comparing the current interface ID number of the terminal equipment with the initial interface ID number in the task database;
if the current interface ID number of the terminal equipment is different from the initial interface ID number in the task database, displaying prompt information on the interface of the terminal equipment;
if the current interface ID number of the terminal equipment is the same as the initial interface ID number in the task database, comparing the focus control ID number in the current interface of the terminal equipment with the initial focus control ID number;
and if the current focus control ID number in the current interface of the terminal equipment is different from the initial focus control ID number, adjusting the current focus control of the current interface to the initial focus control.
Optionally, the determining module is configured to:
receiving an adjusting instruction input by a user and sent by the remote controller;
and controlling the cursor on the current interface to move according to the adjusting instruction, and moving the cursor from the current focus control to the target focus control, wherein the ID number of the target focus control is the same as that of the initial focus control.
Optionally, the triggering module 1103 is configured to:
and if the current interface ID number of the terminal equipment is the same as the initial interface ID number and the current focus control ID number in the current interface is the same as the initial focus control ID number, executing an instruction corresponding to the target key value according to the sequence of the target key values and the preset time between the target key values so as to open the service corresponding to the function key on the terminal equipment.
Optionally, the triggering module 1103 is further configured to:
after executing an instruction corresponding to a first target key value, comparing the current interface ID number with the key value interface ID number in the task database;
comparing the current focus control ID number in the current interface of the terminal equipment with the key value focus control ID number;
and if the current interface ID number is the same as the key value interface ID number in the task database, and the current focus control ID number in the current interface of the terminal equipment is the same as the key value focus control ID number, executing an instruction corresponding to a second target key value, wherein the instruction of the first target key value and the instruction of the second target key value are separated by the preset time.
Optionally, the lookup module 1102 is further configured to:
and in a pre-stored task database, if target task data corresponding to the key value of the target function key is not searched, displaying triggering failure information.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The service starting device provided by the embodiment of the invention receives a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
Another embodiment of the present invention provides a terminal device, configured to execute the service opening method provided in the foregoing embodiment.
Fig. 12 is a schematic structural diagram of a terminal device according to the present invention, and as shown in fig. 12, the terminal device includes: at least one processor 1201 and memory 1202;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the service opening method provided by the above embodiment.
In the terminal device provided in this embodiment, a service triggering instruction sent by a remote controller is received, where the service triggering instruction is generated based on a user operating a destination function key of the remote controller, and the service triggering instruction includes a key value of the destination function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the service opening method provided in any of the above embodiments is implemented.
According to the computer-readable storage medium of the embodiment, a service triggering instruction sent by a remote controller is received, the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key; searching target task data corresponding to key values of target function keys in a pre-stored task database, wherein the target task data comprise the target key values and sequences of the target key values; and under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, executing a service triggering instruction according to the sequence of the target key value and the target key value so as to start the service corresponding to the function key on the terminal equipment, thereby avoiding fussy operation, saving service starting time and improving service triggering efficiency.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing electronic devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device 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 electronic device. 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 electronic device that comprises the element.
The service opening method and the service opening apparatus provided by the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A service opening method is characterized in that the method comprises the following steps:
receiving a service triggering instruction sent by a remote controller, wherein the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key;
searching target task data corresponding to the key values of the target function keys in a pre-stored task database, wherein the target task data comprise the target key values and the sequence of the target key values;
and under the condition that the current interface of the terminal equipment is a service initial page and a target focus control in the current interface is an initial focus control in the service initial page, executing the service triggering instruction according to the target key value and the sequence of the target key value so as to start a service corresponding to the function key on the terminal equipment.
2. The method of claim 1, wherein the task database is obtained by:
receiving a task creating instruction of a function key input by a user and sent by the remote controller, and displaying an initial interface on an interface of the terminal equipment, wherein the task creating instruction comprises a key value of the function key;
receiving a task selection instruction of a focus control input by a user and sent by the remote controller, wherein the focus control is any control on the initial interface;
receiving a recording starting instruction input by a user and sent by the remote controller, and storing an initial interface ID number and an initial focus control ID number;
receiving key values of all keys input by a user and sent by the remote controller;
storing the key values of the function keys, the ID numbers of the initial interface, the ID numbers of the initial focus controls, the key values of the keys, the sequence of the key values, the preset time among the key values, and the corresponding relation between the ID numbers of the key value interface and the ID numbers of the key value focus controls in the task database;
and receiving a recording ending instruction input by a user and sent by the remote controller.
3. The method of claim 2, further comprising:
comparing the current interface ID number of the terminal equipment with the initial interface ID number in the task database;
if the current interface ID number of the terminal equipment is different from the initial interface ID number in the task database, displaying prompt information on the interface of the terminal equipment;
if the current interface ID number of the terminal equipment is the same as the initial interface ID number in the task database, comparing the focus control ID number in the current interface of the terminal equipment with the initial focus control ID number;
and if the current focus control ID number in the current interface of the terminal equipment is different from the initial focus control ID number, adjusting the current focus control of the current interface to the initial focus control.
4. The method of claim 3, wherein the adjusting the current focus control of the current interface to the initial focus control comprises:
receiving an adjusting instruction input by a user and sent by the remote controller;
and controlling the cursor on the current interface to move according to the adjusting instruction, and moving the cursor from the current focus control to the target focus control, wherein the ID number of the target focus control is the same as that of the initial focus control.
5. The method according to claim 3, wherein when a current interface of a terminal device is a service initial page and a destination focus control in the current interface is an initial focus control in the service initial page, executing the service trigger instruction according to the destination key value and the order of the destination key value to enable the service corresponding to the function key on the terminal device to be started comprises:
and if the current interface ID number of the terminal equipment is the same as the initial interface ID number and the current focus control ID number in the current interface is the same as the initial focus control ID number, executing an instruction corresponding to the target key value according to the sequence of the target key values and the preset time between the target key values so as to open the service corresponding to the function key on the terminal equipment.
6. The method of claim 2, further comprising:
after executing an instruction corresponding to a first target key value, comparing the current interface ID number with the key value interface ID number in the task database;
comparing the current focus control ID number in the current interface of the terminal equipment with the key value focus control ID number;
and if the current interface ID number is the same as the key value interface ID number in the task database, and the current focus control ID number in the current interface of the terminal equipment is the same as the key value focus control ID number, executing an instruction corresponding to a second target key value, wherein the instruction of the first target key value and the instruction of the second target key value are separated by the preset time.
7. The method according to claim 1, wherein after said receiving the service triggering instruction sent by the remote controller, the method further comprises:
and in a pre-stored task database, if target task data corresponding to the key value of the target function key is not searched, displaying triggering failure information.
8. A service opening apparatus, characterized in that the apparatus comprises:
the remote controller comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a service triggering instruction sent by the remote controller, the service triggering instruction is generated based on the operation of a user on a target function key of the remote controller, and the service triggering instruction comprises a key value of the target function key;
the searching module is used for searching target task data corresponding to the key values of the target function keys in a pre-stored task database, wherein the target task data comprise the target key values and the sequence of the target key values;
and the triggering module is used for executing the service triggering instruction according to the target key value and the sequence of the target key value under the condition that the current interface of the terminal equipment is a service initial page and the target focus control in the current interface is the initial focus control in the service initial page, so that the service corresponding to the function key on the terminal equipment is started.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the service opening method of any one of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored, which, when executed, implements the service opening method of any one of claims 1-7.
CN202010815106.2A 2020-08-13 2020-08-13 Service opening method, device, terminal equipment and storage medium Pending CN112104903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010815106.2A CN112104903A (en) 2020-08-13 2020-08-13 Service opening method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010815106.2A CN112104903A (en) 2020-08-13 2020-08-13 Service opening method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112104903A true CN112104903A (en) 2020-12-18

Family

ID=73753725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010815106.2A Pending CN112104903A (en) 2020-08-13 2020-08-13 Service opening method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112104903A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948264A (en) * 2021-03-30 2021-06-11 完美世界(重庆)互动科技有限公司 Test task execution method, device, system, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983867A (en) * 2012-12-03 2013-03-20 广东欧珀移动通信有限公司 Method and system for self-defining press key function of remote controller
CN104935992A (en) * 2015-06-12 2015-09-23 Tcl集团股份有限公司 Remote controller learning method and device
CN105915991A (en) * 2016-06-02 2016-08-31 深圳创维-Rgb电子有限公司 Television button combined processing method and system
CN106843675A (en) * 2016-12-26 2017-06-13 普联技术有限公司 The generation method and device of shortcut
CN108012174A (en) * 2017-12-20 2018-05-08 深圳创维-Rgb电子有限公司 Intelligent terminal shortcut customizing method, intelligent terminal and readable storage medium
US20190200068A1 (en) * 2017-12-26 2019-06-27 Sling Media Pvt Ltd Apparatuses, systems, and methods for adding functionalities to control buttons on a remote control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983867A (en) * 2012-12-03 2013-03-20 广东欧珀移动通信有限公司 Method and system for self-defining press key function of remote controller
CN104935992A (en) * 2015-06-12 2015-09-23 Tcl集团股份有限公司 Remote controller learning method and device
CN105915991A (en) * 2016-06-02 2016-08-31 深圳创维-Rgb电子有限公司 Television button combined processing method and system
CN106843675A (en) * 2016-12-26 2017-06-13 普联技术有限公司 The generation method and device of shortcut
CN108012174A (en) * 2017-12-20 2018-05-08 深圳创维-Rgb电子有限公司 Intelligent terminal shortcut customizing method, intelligent terminal and readable storage medium
US20190200068A1 (en) * 2017-12-26 2019-06-27 Sling Media Pvt Ltd Apparatuses, systems, and methods for adding functionalities to control buttons on a remote control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948264A (en) * 2021-03-30 2021-06-11 完美世界(重庆)互动科技有限公司 Test task execution method, device, system, storage medium and electronic device

Similar Documents

Publication Publication Date Title
JP4876228B2 (en) User interface with increased search characteristics
US11669219B2 (en) Launching application task based on single user input and preset condition
CN100552609C (en) Use the apparatus and method of jog and navigation key control user interface
US8015187B2 (en) Phone book group management method for mobile terminal
US7746244B2 (en) Programmable remote control and method for programming a programmable remote control, a readable memory and a program
RU2396727C2 (en) Mobile communication terminal with horizontal and vertical display of menu and submenu structure
EP1345360A2 (en) Method and apparatus for controlling devices connected to home network
CN110286978B (en) Window hierarchy switching method, device, equipment and storage medium
US20160349977A1 (en) Method and device for operating controls in terminal based on remote-control equipment
CN103456296A (en) Method for providing voice recognition function and electronic device thereof
CN103218128A (en) Method of displaying graphic user interface using time difference and terminal supporting the same
EP2759119B1 (en) Divided call history user interface
CN101137954A (en) Method of and device for predictive text editing
CN103533448A (en) Cursor control method of intelligent television and cursor control device thereof
CN107948746A (en) Smart television application startup method, smart television and computer-readable recording medium
CN103648048A (en) Video resource searching method and system of intelligent television
CN101197873A (en) Method and terminal for implementing preview function
EP3076642B1 (en) Operation processing method and device
CN112104903A (en) Service opening method, device, terminal equipment and storage medium
CN102177701A (en) Portable electronic device, character input screen display method, and program
CN104216750A (en) Mobile terminal and method and device for quickly starting application of mobile terminal
CN104750315A (en) Control method and device of screen touching device, and touch screening device
CN107135312B (en) Method and terminal for shaking dialing
CN102314218A (en) Man-machine interaction method on intelligentized mobile phone and system
CN103634679A (en) Deleting control method and device for intelligent television text

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