CN105227984B - Remote controller key distribution method and device - Google Patents

Remote controller key distribution method and device Download PDF

Info

Publication number
CN105227984B
CN105227984B CN201510599345.8A CN201510599345A CN105227984B CN 105227984 B CN105227984 B CN 105227984B CN 201510599345 A CN201510599345 A CN 201510599345A CN 105227984 B CN105227984 B CN 105227984B
Authority
CN
China
Prior art keywords
key
card
key command
command
assignments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510599345.8A
Other languages
Chinese (zh)
Other versions
CN105227984A (en
Inventor
包林玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201510599345.8A priority Critical patent/CN105227984B/en
Publication of CN105227984A publication Critical patent/CN105227984A/en
Priority to PCT/CN2016/084723 priority patent/WO2017045444A1/en
Application granted granted Critical
Publication of CN105227984B publication Critical patent/CN105227984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Selective Calling Equipment (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses a kind of remote controller key distribution methods, and the method comprising the steps of:When receiving the key command of remote controler transmission, the corresponding key assignments of the key command is parsed;Judge whether default key assignments corresponding with the key assignments;If in the presence of default key assignments corresponding with the key assignments, the corresponding operation of the key command is executed;If default key assignments corresponding with the key assignments is not present, the key command is abandoned, the card end for receiving the key command executes the corresponding operation of the key command.The invention also discloses a kind of remote controller key distributors.When the present invention realizes when the card end of module TV and shields end while receiving the key command of remote controler, the key command of remote controler can be preferably distributed, the experience effect of user is improved.

Description

Remote controller key distribution method and device
Technical field
The present invention relates to TV domain more particularly to a kind of remote controller key distribution method and devices.
Background technology
Module TV is the forward position theory of current TV industry, and many producers are all in exploitation and development.Module TV is Finger can formulate, scalable smart television, user can according to the demand of oneself customize differentiation product function module.In mould In block TV, there are two boards, in order to distinguish the two boards, board that is closely related with display screen, will not replacing Screen end is cried, another can plug, the board replaced is card end.
As soon as very big that the TV card according to replacement may be needed to repair after the replacement TV card of the card end of module TV Change the software at screen end.For remote controler, shields end and card end is completely independent, both sides have the GUI of oneself (Graphical User Interface, graphic user interface, also known as graphical user interface) system.Card end and screen end will be located The respective received remote information of reason.So when handling remote controller key, it is easy to lead to the card where TV card The logic entanglement at end and screen end software.When user sends out remote keying order, module TV cannot distribute remote keying very well There are abnormal conditions when user is using screen in order.
Invention content
The main purpose of the present invention is to provide a kind of remote controller key distribution method and devices, solve when module TV When card end and screen end receive the key command of remote controler simultaneously, it is easy to cause card end and shields the technology of the logic entanglement of end software Problem.
To achieve the above object, a kind of remote controller key distribution method provided by the invention, including step:
When receiving the key command of remote controler transmission, the corresponding key assignments of the key command is parsed;
Judge whether default key assignments corresponding with the key assignments;
If in the presence of default key assignments corresponding with the key assignments, the corresponding operation of the key command is executed;And
If default key assignments corresponding with the key assignments is not present, abandon the key command, for receive it is described by The card end of key instruction executes the corresponding operation of the key command.
Preferably, if described in the presence of default key assignments corresponding with the key assignments, the corresponding behaviour of the key command is executed After the step of making, further include:
Judge whether the key command is obstruction instruction;
If the key command is obstruction instruction, the operating status at screen end is changed according to the key command, with prompt The next key command of user can be performed after the key command is finished.
Preferably, if the key command is obstruction instruction, the operation at screen end is changed according to the key command State, to prompt the next key command of user after the step of being performed after the key command is finished, also Including:
Judged whether to need to forward the key command to the card end to execute according to the corresponding function of the key command;
If desired it forwards the key command to the card end to execute, then sends preset signals to the card end, for institute It states card end and executes the corresponding operation of the key command according to the preset signals.
Preferably, described when receiving the key command of remote controler transmission, parse the corresponding key assignments of the key command The step of before, further include:
When detecting the card end and being inserted into TV card, the attribute type of the TV card is obtained;
According to the attribute type of the TV card, the corresponding key assignments of the TV card key command is set.
Preferably, the corresponding key assignments of the TV card key command is arranged in the attribute type according to the TV card Step includes:
Judge whether the TV card is known card according to the attribute type of the TV card;
If the TV card is non-known card, the corresponding key assignments of the TV card key command is converted into standard Android Button value;
If the TV card is known card, it sets the corresponding key assignments of the TV card key command to state of activation.
In addition, to achieve the above object, the present invention also provides a kind of remote controller key distributor, described device includes:
Parsing module, for when receiving the key command of remote controler transmission, parsing the corresponding key of the key command Value;
First judgment module, for judging whether default key assignments corresponding with the key assignments;
Execution module, if in the presence of default key assignments corresponding with the key assignments, it is corresponding to execute the key command Operation;
Discard module abandons the key command for if default key assignments corresponding with the key assignments to be not present, for The card end for receiving the key command executes the corresponding operation of the key command.
Preferably, the remote controller key distributor further includes:
Second judgment module, for judging whether the key command is obstruction instruction;
Module is changed, if being obstruction instruction for the key command, the fortune at screen end is changed according to the key command Row state, to prompt the next key command of user that can be performed after the key command is finished.
Preferably, the remote controller key distributor further includes:
Third judgment module, for judging according to the corresponding function of the key command whether need that the button is forwarded to refer to It enables to the card end and executing;
Sending module then sends preset signals to institute for if desired forwarding the key command to the card end to execute Card end is stated, so that the card end executes the corresponding operation of the key command according to the preset signals.
Preferably, the remote controller key distributor further includes:
Acquisition module, for when detecting the card end and being inserted into TV card, obtaining the attribute type of the TV card;
Setup module, for the corresponding key of the TV card key command to be arranged according to the attribute type of the TV card Value.
Preferably, the setup module includes:
Judging unit, for judging whether the TV card is known card according to the attribute type of the TV card;
Converting unit, if being non-known card for the TV card, by the corresponding key assignments of the TV card key command Be converted to standard Android button value;
Setting unit sets the corresponding key assignments of the TV card key command if being known card for the TV card It is set to state of activation.
The present invention is by when screen termination receives the key command that remote controler is sent, parsing the corresponding key of the key command Value executes the corresponding operation of the key command if screen end has default key assignments corresponding with key assignments, if being not present and key assignments When corresponding default key assignments, then show there is default key assignments corresponding with the key assignments of the key command in card end, which refers to Enable be executed by the card end for receiving the key command simultaneously.I.e. receive remote controler key command before, card end and Screen end just consults the distribution of remote controller key instruction, realizes when the card end of module TV and screen end while receiving remote controler Key command when, can preferably distribute the key command of remote controler, improve the experience effect of user.
Description of the drawings
Fig. 1 is the flow diagram of remote controller key distribution method first embodiment of the present invention;
Fig. 2 is the flow diagram of remote controller key distribution method second embodiment of the present invention;
Fig. 3 is the flow diagram of remote controller key distribution method 3rd embodiment of the present invention;
Fig. 4 is that the TV card key command is arranged according to the attribute type of the TV card in the embodiment of the present invention to correspond to Key assignments a kind of flow diagram;
Fig. 5 is the high-level schematic functional block diagram of remote controller key distributor first embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of remote controller key distributor second embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of remote controller key distributor 3rd embodiment of the present invention;
Fig. 8 is a kind of high-level schematic functional block diagram of setup module in the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:When receiving the key command of remote controler transmission, described in parsing The corresponding key assignments of key command;Judge whether default key assignments corresponding with the key assignments;If being answered in the presence of with the key-value pair Default key assignments, then execute the corresponding operation of the key command;If default key assignments corresponding with the key assignments is not present, lose The key command is abandoned, the card end for receiving the key command executes the corresponding operation of the key command.By working as When screen termination receives the key command of remote controler transmission, the corresponding key assignments of the key command is parsed, if screen end exists and key assignments Corresponding default key assignments then executes the corresponding operation of the key command, if there is no when default key assignments corresponding with key assignments, Show there is default key assignments corresponding with the key assignments of the key command in card end, which should be by receiving institute simultaneously The card end for stating key command executes.I.e. receive remote controler key command before, card end and screen end just consult remote controler by The distribution of key instruction can be preferably when realizing when the card end of module TV and shielding end while receiving the key command of remote controler Ground distributes the key command of remote controler, improves the experience effect of user.
In module TV, when card end and screen end simultaneously receive the key command of remote controler when, be easy to cause card end and Shield the logic entanglement of end software, module TV cannot distribute the key commands of remote controler transmission well.
Based on the above issues, the present invention provides a kind of remote controller key distribution method.
Referring to Fig.1, Fig. 1 is the flow diagram of remote controller key distribution method first embodiment of the present invention.
In the present embodiment, the remote controller key distribution method includes:
Step S10 parses the corresponding key assignments of the key command when receiving the key command of remote controler transmission;
When the screen termination of module TV receives the key command of remote controler transmission, the corresponding key of the key command is parsed Value.When the screen end of module TV is while receiving the key command of remote controler transmission, the card end of the module TV also exists The key command that the remote controler is sent is received, and parses the corresponding key assignments of the key command.The remote controler is sent every One key command has corresponding key assignments, so that the equipment differentiation key command for receiving the key command is corresponding Function.
Step S20 judges whether default key assignments corresponding with the key assignments;
After the screen end parses the key command corresponding key assignments, judge whether to answer with the key-value pair Default key assignments, that is, judge whether there is permission and handle the key command.Institute is received at the screen end of the module TV and card end Before the key command for stating remote controler, the screen end and the card end reach the processing authority of remote controller key instruction At agreement.The screen end stores the corresponding key assignments of the key command for oneself having permission processing, as default key assignments, when connecing When receiving the key command that the remote controler is sent, judge whether the corresponding key assignments of the key command is corresponding with default key assignments. The card end also stores the corresponding key assignments of the key command for oneself having permission processing, as default key assignments, when receiving When the key command that the remote controler is sent, judge whether the corresponding key assignments of the key command is corresponding with default key assignments.
If step S30 executes the corresponding operation of the key command in the presence of default key assignments corresponding with the key assignments;
When the screen end judges to have default key assignments corresponding with the key assignments, the corresponding behaviour of the key command is executed Make, implementation procedure is as follows:Judge whether to be immediately performed the corresponding operation of the key command.Specifically, if working as the screen end It detects the corresponding operation of last key command to be finished not yet, and under current working status, cannot hold simultaneously When the other key commands of row, the corresponding operation of the key command, that is, the system for handling the key command will not be immediately performed In busy state.Preferably, when the system is in busy state, the screen end can prompt system described in user to be in numerous Busy condition, the corresponding operation of the key command just continue to execute after waiting for certain time, described to prevent user from thinking Key command fails, frequent operation remote controler.The reminding method including but not limited to sends out prompting sound by loud speaker, or User is prompted by indicator light., whereas if the system of the key command is in idle condition, then the button is immediately performed Instruct corresponding operation.Assuming that the key command that the screen end is received is power keys, and the corresponding key assignments of the power keys Be 0 × 81, when the screen end in its default key assignments stored there are when 0 × 81, and when the screen end handles key command System when being in idle condition, be immediately performed the corresponding operation of power keys.The card termination receives holding for the key command Row process is similar with the implementation procedure for receiving the key command at screen end, and details are not described herein.
Step S40 abandons the key command if default key assignments corresponding with the key assignments is not present, for receiving The corresponding operation of the key command is executed to the card end of the key command.
If default key assignments corresponding with the key assignments is not present in the screen end judgement, show the disposal right of the key command Limit belongs to card end, then the screen end will abandon the key command, while the card end for receiving the key command will be held The corresponding operation of the row key command.
The present embodiment is by the way that when screen termination receives the key command that remote controler is sent, it is corresponding to parse the key command Key assignments executes the corresponding operation of the key command if screen end has default key assignments corresponding with key assignments, if being not present and key When being worth corresponding default key assignments, then show there is default key assignments corresponding with the key assignments of the key command, the button in card end Instruction should be executed by the card end for receiving the key command simultaneously.I.e. before the key command for receiving remote controler, card end The distribution that remote controller key instruction is just consulted with screen end realizes when the card end of module TV and screen end while receiving remote control When the key command of device, the key command of remote controler can be preferably distributed, the experience effect of user is improved.
It is the flow diagram of remote controller key distribution method second embodiment of the present invention with reference to Fig. 2, Fig. 2, is based on first Embodiment proposes remote controller key distribution method second embodiment of the present invention.
In the present embodiment, after the step S30, further include:
Step S50 judges whether the key command is obstruction instruction;
During the screen end executes the key command corresponding operation, judge whether the key command is resistance Plug instruction judges that the key command is synchronic command or asynchronous instruction, described synchronize refer to after sender sends out data, Equal recipients beam back the communication modes that a data packet is just given in response later, it is understood that the operation for two threads is phase It closes, one of thread will block the operation for waiting for another thread, i.e. blocking model;It is described it is asynchronous be that sender sends out It after data, is not to wait for recipient and beams back response, then send the communication modes of next data packet, it is understood that be two threads It has no bearing on, oneself runs oneself, i.e. non-blocking mode.It is described if the key command is executed by the card end The implementation procedure at card end is similar with the screen end, and details are not described herein.
Step S60 changes the operation shape at screen end according to the key command if the key command is obstruction instruction State, to prompt the next key command of user that can be performed after the key command is finished.
When the screen end judges that the key command is obstruction instruction, the screen end is pressed by finger daemon according to Key instruction change runs the operating status of the program of the key command, to prompt the next key command of the user described Key command can be performed after being finished.When the screen end judges that the key command is that non-obstruction instructs, and has executed After the corresponding operation of the key command, show that the function of the key command has been carried out.The operating status is described Screen end executes the operating status of the program of the key command.The operating status of the program for executing the key command includes Busy, stopping, free time etc..When the screen end execute the program of the key command operating status be busy, indicate the screen end It is carrying out the corresponding operation of the key command;When the operating status that the screen end executes the program of the key command is sky Idle indicates that screen end executed finishes the corresponding operation of the key command.When the screen end executes the key command The operating status of program be to indicate that the screen end is paused when stopping and execute the corresponding operation of the key command.Such as when When the key command of the remote controler is power keys, after screen termination receives the power keys, need described in waiting The feedback message at card end instructs because the power key mappings are obstruction, at this moment just needs to notify the screen end stopping reception other The operating status for the program for executing the key command is changed to hurry by key command, the screen end, and the power keys are corresponding State is to be not carried out to finish.Until the card end notifies the screen end that can execute the corresponding operation of the power keys, that is, close The power supply at the card end, the screen end can be just waken up, and continue to execute the corresponding operation of the power keys, otherwise the screen end It can be constantly in wait state, when waiting until time-out, abandon executing the corresponding operation of the power keys, continue to execute The corresponding operation of next key command.If the key command is executed by the card end, the execution at the card end Journey is similar with the screen end, and details are not described herein.
Step S70 judges whether to need to forward the key command to described according to the corresponding function of the key command Card end executes;
The screen end judges whether to need to forward the key command to described according to the corresponding function of the key command Card end executes, that is, judges whether to need to be communicated with the card end, whether the key command needs the screen end and described The collaboration processing of card end.Preferably, the mode communicated is serial communication.When the key command is executed by the card end , then the card end judges whether to need to forward the key command to the screen end to execute, that is, judge whether need with it is described Screen end is communicated.Such as when the user need adjust backlight, however the control of backlight screen end, so the card end just needs By being communicated with the screen end, the screen end is notified to adjust backlight.
If desired step S80 forwards the key command to the card end to execute, then sends preset signals to the card End, so that the card end executes the corresponding operation of the key command according to the preset signals.
If the screen end judgement needs that the key command to the card end is forwarded to execute, i.e., when the key command needs When the screen end and card end collaboration processing, preset signals are sent to the card end, so that the card end is according to described default Signal executes the corresponding operation of the key command.The preset signals are had been completed pair for shielding end described in announcement card end The operation of the key command needs the card end to continue to handle the key command, to realize the key command Corresponding function.If the screen end judgement need not forward the key command to the card end to execute, show the button The corresponding function of instruction can be realized by the screen end.When the screen end has executed the corresponding operation of the key command Afterwards, show that the function of the key command has been carried out.If the key command is executed by the card end, the card end Implementation procedure it is similar with the screen end, details are not described herein.
The present embodiment is by when the key command is obstruction instruction, sending out prompting message prompt user, avoiding the occurrence of User thinks that the invalid situation of button occurs;And by carrying out the communication between screen end and card end when the key command When, preset signals are sent, so that after the one end for receiving preset signals receives the preset signals, execute the key command The corresponding function of the key command is realized in corresponding operation, and module TV is enable preferably to handle the button of remote controler transmission Instruction, improves the experience effect of user.
It is the flow diagram of remote controller key distribution method 3rd embodiment of the present invention with reference to Fig. 3, Fig. 3, is based on first Embodiment proposes remote controller key distribution method 3rd embodiment of the present invention.
In the present embodiment, before the step S10, further include:
Step S90 obtains the attribute type of the TV card when detecting the card end and being inserted into TV card;
When the screen end after power-up, the screen end judges whether that detecting the card end has been inserted into TV card.If institute It states screen end to detect the card end and be already inserted into TV card, is then communicated with the TV card, it is preferable that the communication mode For serial communication, the screen end obtains the attribute type of the TV card by serial port command.The attribute type of the TV card Including production firm, model, the size of memory, eMMC (Embedded Multi Media Card) size etc..If the card End is not inserted into TV card, then exports prompt message, and the user is prompted to be inserted into TV card.The TV card had both had to TV mould The processing function of quasi-/digital signal, while also including the functions such as network communication, high definition decoding and output.
The corresponding key assignments of the TV card key command is arranged according to the attribute type of the TV card in step S110.
The corresponding key assignments of the TV card key command is arranged according to the attribute type of the TV card in the screen end.
Specifically, it is that the electricity is arranged according to the attribute type of the TV card in the embodiment of the present invention with reference to Fig. 4, Fig. 4 Depending on a kind of flow diagram of the corresponding key assignments of card key command.The step S110 includes:
Step S111 judges whether the TV card is known card according to the attribute type of the TV card;
Step S112 converts the corresponding key assignments of the TV card key command if the TV card is non-known card For standard Android button value;
Step S113 sets the corresponding key assignments of the TV card key command to if the TV card is known card State of activation.
The screen end judges whether the TV card is known card according to the attribute type of the TV card, i.e., the described screen end Whether the TV card is compatible with, if the incompatible TV card in the screen end, the TV card is non-known card.When the electricity When regarding card as non-known card, the corresponding key assignments of the TV card key command is converted to standard Android button key by the screen end Value.When the screen end is compatible with the TV card, i.e., when the described TV card is known card, the TV card key command is corresponded to Button value be set as state of activation, then when the remote controler send key command when, the screen end and the card end are simultaneously Receive the key command.
The present embodiment is by by TV card generalization, alloing screen end to be compatible with a variety of different TV cards.For module TV The key command that remote controler transmission can preferably be distributed provides necessary condition, improves user experience effect.
The present invention further provides a kind of remote controller key distributors.
It is the high-level schematic functional block diagram of remote controller key distributor first embodiment of the present invention with reference to Fig. 5, Fig. 5.
In the present embodiment, the remote controller key distributor includes:
Parsing module 10, for when receiving the key command of remote controler transmission, it is corresponding to parse the key command Key assignments;
When the screen termination of module TV receives the key command of remote controler transmission, parsing module 10 parses the button and refers to Enable corresponding key assignments.When the screen end of module TV receive remote controler transmission key command while, the module TV Card end also in the key command for receiving the remote controler and sending, and parse the corresponding key assignments of the key command.The remote control Each key command that device is sent has corresponding key assignments, so that the equipment for receiving the key command distinguishes the button Instruct corresponding function.
First judgment module 20, for judging whether default key assignments corresponding with the key assignments;
After the screen end parses the key command corresponding key assignments, the first judgment module 20 judges whether Default key assignments corresponding with the key assignments judges whether there is permission and handles the key command.In the screen of the module TV Before end and card end receive the key command of the remote controler, the screen end and the card end refer to the remote controller key The processing authority of order is reached an agreement.The screen end stores the corresponding key assignments of the key command for oneself having permission processing, makees To preset key assignments, when receiving the key command that the remote controler is sent, whether the corresponding key assignments of the key command is judged It is corresponding with default key assignments.The card end also stores the corresponding key assignments of the key command for oneself having permission processing, as pre- If key assignments, when receiving the key command that the remote controler is sent, judge the corresponding key assignments of the key command whether in advance If key-value pair is answered.
If execution module 30 executes the key command and corresponds in the presence of default key assignments corresponding with the key assignments Operation;
When the screen end judges to have default key assignments corresponding with the key assignments, execution module 30 executes the button and refers to Enable corresponding operation, implementation procedure as follows:Judge whether to be immediately performed the corresponding operation of the key command.Specifically, if It is finished not yet when the screen end detects the corresponding operation of last key command, and under current working status, When being unable to simultaneously perform other key commands, it will not be immediately performed the corresponding operation of the key command, that is, handle the button The system of instruction is in busy state.Preferably, when the system is in busy state, the screen end can prompt described in user System is in busy state, and the corresponding operation of the key command just continues to execute after waiting for certain time, to prevent from using Family for the key command to fail, frequent operation remote controler.The reminding method includes but not limited to be sent out by loud speaker Prompting sound, or user is prompted by indicator light., whereas if the system of the key command is in idle condition, then immediately Execute the corresponding operation of the key command.Assuming that the key command that the screen end is received is power keys, and the power The corresponding key assignments of key is 0 × 81, when the screen end exists in its default key assignments stored when 0 × 81, and when the screen end When the system of processing key command is in idle condition, it is immediately performed the corresponding operation of power keys.The card termination receives described The implementation procedure of key command is similar with the implementation procedure for receiving the key command at screen end, and details are not described herein.
Discard module 40 abandons the key command for if default key assignments corresponding with the key assignments to be not present, with Card end for receiving the key command executes the corresponding operation of the key command.
If default key assignments corresponding with the key assignments is not present in the screen end judgement, show the disposal right of the key command Limit belongs to card end, then the discard module 40 will abandon the key command, while receiving the card of the key command End will execute the corresponding operation of the key command.
The present embodiment is by the way that when screen termination receives the key command that remote controler is sent, it is corresponding to parse the key command Key assignments executes the corresponding operation of the key command if screen end has default key assignments corresponding with key assignments, if being not present and key When being worth corresponding default key assignments, show there is default key assignments corresponding with the key assignments of the key command in card end, which refers to Enable be executed by the card end for receiving the key command simultaneously.I.e. receive remote controler key command before, card end and Screen end just consults the distribution of remote controller key instruction, realizes when the card end of module TV and screen end while receiving remote controler Key command when, can preferably distribute the key command of remote controler, improve the experience effect of user.
With reference to Fig. 6, Fig. 6 is the high-level schematic functional block diagram of remote controller key distributor second embodiment of the present invention, is based on First embodiment proposes remote controller key distributor second embodiment of the present invention.
In the present embodiment, the remote controller key distributor further includes:
Second judgment module 50, for judging whether the key command is obstruction instruction;
During the screen end executes the key command corresponding operation, the second judgment module 50 judges described press Whether key instruction is obstruction instruction, that is, judges that the key command is synchronic command or asynchronous instruction, described synchronize refers to hair After the side of sending sends out data, the communication modes of a data packet are just given after waiting recipients to beam back response, it is understood that be two The operation of a thread is relevant, and one of thread will block the operation for waiting for another thread, i.e. blocking model;It is described Asynchronous is to be not to wait for recipient after sender sends out data and beam back response, then send the communication modes of next data packet, also may be used It is had no bearing on being interpreted as two threads, oneself runs oneself, i.e. non-blocking mode.If the key command is by the card What end executed, then the implementation procedure at the card end is similar with the screen end, and details are not described herein.
Module 60 is changed, if being obstruction instruction for the key command, screen end is changed according to the key command Operating status, to prompt the next key command of user that can be performed after the key command is finished.
When the screen end judges that the key command is obstruction instruction, change module 60 is by finger daemon according to Key command change runs the operating status of the program of the key command, to prompt the next key command of the user in institute Stating can be performed after key command is finished.When the screen end judges that the key command is that non-obstruction instructs, and executes After the corresponding operation of the complete key command, show that the function of the key command has been carried out.The operating status is institute State the operating status that screen end executes the program of the key command.The operating status packet of the program for executing the key command Include busy, stopping, free time etc..When the screen end execute the program of the key command operating status be busy, indicate the screen End is carrying out the corresponding operation of the key command;When the operating status for the program that the screen end executes the key command is When idle, indicate that screen end executed finishes the corresponding operation of the key command.Refer to when the screen end executes the button The operating status of the program of order is to indicate that the screen end is paused when stopping and execute the corresponding operation of the key command.Such as It when the key command of the remote controler is power keys, instructs because the power key mappings are obstruction, is received at the screen end To after the power keys, the feedback message for waiting for the card end is needed, at this moment just needs that the screen end is notified to stop receiving it The operating status for the program for executing the key command is changed to hurry by its key command, the screen end, and the power keys correspond to State be to be not carried out and finish.Until the card end notifies the screen end that can execute the corresponding operation of the power keys, that is, close The power supply at the card end is closed, the screen end can be just waken up, and continue to execute the corresponding operation of the power keys, otherwise the screen End can be constantly in wait state, when waiting until time-out, abandon executing the corresponding operation of the power keys, continue to hold The corresponding operation of the next key command of row.If the key command is executed by the card end, the execution at the card end Process is similar with the screen end, and details are not described herein.
Third judgment module 70, for judging whether to need to forward the button according to the corresponding function of the key command Instruction to the card end executes;
Third judgment module 70 judges whether to need to forward the key command according to the corresponding function of the key command It is executed to the card end, that is, judges whether to need to be communicated with the card end, whether the key command needs the screen end It is handled with card end collaboration.Preferably, the mode communicated is serial communication.When the key command is by the card end Execute, then the card end judges whether to need to forward the key command to the screen end to execute, that is, judge whether need and The screen end is communicated.Such as when the user need adjust backlight, however the control of backlight screen end, so the card end is just It needs, by being communicated with the screen end, the screen end to be notified to adjust backlight.
Sending module 80, for if desired forwarding the key command to the card end to execute, then send preset signals to The card end, so that the card end executes the corresponding operation of the key command according to the preset signals.
If the screen end judgement needs that the key command to the card end is forwarded to execute, i.e., when the key command needs When the screen end and card end collaboration processing, sending module 80 sends preset signals to the card end, for card end root The corresponding operation of the key command is executed according to the preset signals.The preset signals are for having shielded end described in announcement card end Through completing the operation to the key command, the card end is needed to continue to handle the key command, to realize State the corresponding function of key command.If the screen end judgement need not forward the key command to the card end to execute, table Function corresponding to the bright key command can be realized by the screen end.When the screen end has executed the key command pair After the operation answered, show that the function of the key command has been carried out.If the key command is executed by the card end, Then the implementation procedure at the card end is similar with the screen end, and details are not described herein.
The present embodiment is by when the key command is obstruction instruction, sending out prompting message prompt user, avoiding the occurrence of User thinks that the invalid situation of button occurs;And by carrying out the communication between screen end and card end when the key command When, preset signals are sent, so that after the one end for receiving preset signals receives the preset signals, execute the key command The corresponding function of the key command is realized in corresponding operation, and module TV is enable preferably to handle the button of remote controler transmission Instruction, improves the experience effect of user.
With reference to Fig. 7, Fig. 7 is the high-level schematic functional block diagram of remote controller key distributor 3rd embodiment of the present invention, is based on First embodiment proposes remote controller key distributor 3rd embodiment of the present invention.
In the present embodiment, the remote controller key distributor further includes:
Acquisition module 90, for when TV card has been inserted at card end, obtaining the attribute type of the TV card;
When the screen end after power-up, the screen end judges whether that detecting the card end has been inserted into TV card.If institute It states screen end to detect the card end and be already inserted into TV card, is then communicated with the TV card, it is preferable that the communication mode For serial communication, acquisition module 90 obtains the attribute type of the TV card by serial port command.The Attribute class of the TV card Type includes production firm, model, the size of memory, eMMC (Embedded Multi Media Card) size etc..If described Card end is not inserted into TV card, then exports prompt message, and the user is prompted to be inserted into TV card.The TV card had both had to TV The processing function of analog/digital signal, while also including the functions such as network communication, high definition decoding and output.
Setup module 110, for the key command that TV card can receive to be arranged according to the attribute type of the TV card Corresponding key assignments.
The corresponding key assignments of the TV card key command is arranged according to the attribute type of the TV card in setup module 110.
Specifically, it is a kind of high-level schematic functional block diagram of setup module in the embodiment of the present invention with reference to Fig. 8, Fig. 8.
In the present embodiment, the setup module 110 includes:
Judging unit 111, for judging whether the TV card is known card according to the attribute type of the TV card;
Converting unit 112, if being non-known card for the TV card, by the corresponding key of the TV card key command Value is converted to standard Android button value;
Setting unit 113, if being known card for the TV card, by the corresponding key assignments of the TV card key command It is set as state of activation.
Judging unit 111 judges whether the TV card is known card according to the attribute type of the TV card, i.e., described Whether screen end is compatible with the TV card, if the incompatible TV card in the screen end, the TV card is non-known card.Work as institute State TV card be non-known card when, the corresponding key assignments of the TV card key command is converted to standard Android by converting unit 112 Button value.When the screen end is compatible with the TV card, i.e., when the described TV card is known card, setting unit 113 will be described The corresponding button value of TV card key command is set as state of activation, then described when the remote controler sends key command Screen end and the card end receive the key command simultaneously.
The present embodiment is by by TV card generalization, alloing screen end to be compatible with a variety of different TV cards.For module TV The key command that remote controler transmission can preferably be distributed provides necessary condition, improves user experience effect.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of remote controller key distribution method, which is characterized in that the remote controller key distribution method includes the following steps:
When screen termination receives the key command of remote controler transmission, the corresponding key assignments of the key command is parsed, wherein work as TV When card is non-known card, the corresponding key assignments of the key command is standard Android button value;When the TV card is known card When, the corresponding key assignments of the key command is state of activation;
Judge that the screen end whether there is default key assignments corresponding with the key assignments;
If the screen end has default key assignments corresponding with the key assignments, the corresponding operation of the key command is executed;And
If default key assignments corresponding with the key assignments is not present in the screen end, the key command is abandoned, for receiving The card end for stating key command executes the corresponding operation of the key command.
2. remote controller key distribution method as described in claim 1, which is characterized in that if described answer in the presence of with the key-value pair Default key assignments further include after the step of then executing the key command corresponding operation:
Judge whether the key command is obstruction instruction;
If the key command is obstruction instruction, the operating status at screen end is changed according to the key command, to prompt user Next key command can be performed after the key command is finished.
3. remote controller key distribution method as claimed in claim 2, which is characterized in that if the key command is obstruction Instruction then changes the operating status at screen end, to prompt the next key command of user in the button according to the key command After the step of instruction execution can be performed after finishing, further include:
Judged whether to need to forward the key command to the card end to execute according to the corresponding function of the key command;
If desired it forwards the key command to the card end to execute, then sends preset signals to the card end, for the card End executes the corresponding operation of the key command according to the preset signals.
4. remote controller key distribution method as described in any one of claims 1 to 3, which is characterized in that described distant when receiving When controlling the key command that device is sent, before the step of parsing the key command corresponding key assignments, further include:
When detecting the card end and being inserted into TV card, the attribute type of the TV card is obtained;
According to the attribute type of the TV card, the corresponding key assignments of the TV card key command is set.
5. remote controller key distribution method as claimed in claim 4, which is characterized in that the attribute according to the TV card Type is arranged the step of TV card key command corresponding key assignments and includes:
Judge whether the TV card is known card according to the attribute type of the TV card;
If the TV card is non-known card, the corresponding key assignments of the TV card key command is converted into standard Android button Key assignments;
If the TV card is known card, it sets the corresponding key assignments of the TV card key command to state of activation.
6. a kind of remote controller key distributor, which is characterized in that the remote controller key distributor includes:
Parsing module, for when screen termination receives the key command that remote controler is sent, parsing the corresponding key of the key command Value, wherein when TV card is non-known card, the corresponding key assignments of the key command is standard Android button value;When described When TV card is known card, the corresponding key assignments of the key command is state of activation;
First judgment module, for judging that the screen end whether there is default key assignments corresponding with the key assignments;
Execution module executes the key command pair if there is default key assignments corresponding with the key assignments for the screen end The operation answered;
Discard module abandons the key command if default key assignments corresponding with the key assignments is not present for the screen end, Card end for receiving the key command executes the corresponding operation of the key command.
7. remote controller key distributor as claimed in claim 6, which is characterized in that the remote controller key distributor is also Including:
Second judgment module, for judging whether the key command is obstruction instruction;
Module is changed, if being obstruction instruction for the key command, the operation shape at screen end is changed according to the key command State, to prompt the next key command of user that can be performed after the key command is finished.
8. remote controller key distributor as claimed in claim 7, which is characterized in that the remote controller key distributor is also Including:
Third judgment module, for judging whether to need to forward the key command extremely according to the corresponding function of the key command The card end executes;
Sending module then sends preset signals to the card for if desired forwarding the key command to the card end to execute End, so that the card end executes the corresponding operation of the key command according to the preset signals.
9. such as claim 6 to 8 any one of them remote controller key distributor, which is characterized in that the remote controller key Distributor further includes:
Acquisition module, for when detecting the card end and being inserted into TV card, obtaining the attribute type of the TV card;
Setup module, for the corresponding key assignments of the TV card key command to be arranged according to the attribute type of the TV card.
10. remote controller key distributor as claimed in claim 9, which is characterized in that the setup module includes:
Judging unit, for judging whether the TV card is known card according to the attribute type of the TV card;
Converting unit converts the corresponding key assignments of the TV card key command if being non-known card for the TV card For standard Android button value;
Setting unit sets the corresponding key assignments of the TV card key command to if being known card for the TV card State of activation.
CN201510599345.8A 2015-09-18 2015-09-18 Remote controller key distribution method and device Active CN105227984B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510599345.8A CN105227984B (en) 2015-09-18 2015-09-18 Remote controller key distribution method and device
PCT/CN2016/084723 WO2017045444A1 (en) 2015-09-18 2016-06-03 Remote controller key allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510599345.8A CN105227984B (en) 2015-09-18 2015-09-18 Remote controller key distribution method and device

Publications (2)

Publication Number Publication Date
CN105227984A CN105227984A (en) 2016-01-06
CN105227984B true CN105227984B (en) 2018-10-02

Family

ID=54996619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510599345.8A Active CN105227984B (en) 2015-09-18 2015-09-18 Remote controller key distribution method and device

Country Status (2)

Country Link
CN (1) CN105227984B (en)
WO (1) WO2017045444A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227984B (en) * 2015-09-18 2018-10-02 深圳Tcl数字技术有限公司 Remote controller key distribution method and device
CN106162279B (en) * 2016-07-01 2020-11-17 海信视像科技股份有限公司 Television remote control key response method based on android operating system and television
CN112951228A (en) * 2021-02-02 2021-06-11 上海市胸科医院 Method and equipment for processing control instruction
CN113533953B (en) * 2021-07-09 2024-06-11 深圳创维-Rgb电子有限公司 Automatic detection method, device, equipment and storage medium for key board

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175390B1 (en) * 1996-12-23 2001-01-16 Lg Electronics Inc. Module TV and control method thereof
CN103905863A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Webview-adopting remote controller control method based on Android television
CN104079967A (en) * 2014-06-30 2014-10-01 Tcl集团股份有限公司 Communication method and device for module televisions
CN104113774A (en) * 2014-07-25 2014-10-22 海信集团有限公司 Television device control method and system and television device
CN104869449A (en) * 2014-02-25 2015-08-26 青岛海尔电子有限公司 Method for changing remote controller key function in TV mode switching

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100738521B1 (en) * 2000-09-25 2007-07-11 삼성전자주식회사 Method for selecting icon in modular television appartus and remocon thereof
CN102340703B (en) * 2010-07-16 2014-04-02 深圳Tcl新技术有限公司 IPTV and remote controller key reusing method
CN202759554U (en) * 2012-06-21 2013-02-27 青岛海尔电子有限公司 Television set and television program receiving system
CN105227984B (en) * 2015-09-18 2018-10-02 深圳Tcl数字技术有限公司 Remote controller key distribution method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6175390B1 (en) * 1996-12-23 2001-01-16 Lg Electronics Inc. Module TV and control method thereof
CN103905863A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Webview-adopting remote controller control method based on Android television
CN104869449A (en) * 2014-02-25 2015-08-26 青岛海尔电子有限公司 Method for changing remote controller key function in TV mode switching
CN104079967A (en) * 2014-06-30 2014-10-01 Tcl集团股份有限公司 Communication method and device for module televisions
CN104113774A (en) * 2014-07-25 2014-10-22 海信集团有限公司 Television device control method and system and television device

Also Published As

Publication number Publication date
WO2017045444A1 (en) 2017-03-23
CN105227984A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105227984B (en) Remote controller key distribution method and device
CN104093050B (en) The controlled decision-making technique and device of controlled terminal based on multiple intelligent remote controllers
CN104239132B (en) A kind of wake up the method for alignment, device and terminal up
US10264424B2 (en) Information processing method and central control device
CN102984478B (en) The method and apparatus for controlling television set
WO2017165105A1 (en) Universal internet of things (iot) smart translator
CN105487394A (en) Intelligent household appliance control method and device and gateway
CN104239076A (en) Interface color adjusting method and device
CN104093220B (en) The mobile terminal and its implementation of a kind of dual system
CN102929385A (en) Method for controlling application program by voice
CN104331661A (en) Method and system for switching encryption state of terminal
CN104602110A (en) Method and system for setting television parameters, terminal, remote control unit and television
US20200004614A1 (en) Broadcast Transmission Method, Terminal, and Storage Medium
CN108513157A (en) The method, apparatus and computer readable storage medium of keystroke handling
CN107702274A (en) Terminal control method, device and computer-readable recording medium
CN105187878B (en) TV Bluetooth connecting method and device
CN104394266B (en) Terminal operating status changing method and system
CN104063033B (en) State switching method and electronic equipment based on interconnection electronic devices
CN105025373B (en) Television set, tele-control system and its control method
KR20150014499A (en) Communication processing method and device
CN102917129A (en) Method for deleting application program of mobile communication terminal through television remote controller
WO2018161535A1 (en) Method, apparatus and terminal device for sending broadcast
CN104244105A (en) Method for controlling multiple applications of intelligent set top box through multiple terminals
CN110266529A (en) Extensive individualized intelligent service customization method based on Internet of Things
CN103973862A (en) Unhandled-event reminding method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant