CN106303742A - The response method of panel button operation and device - Google Patents

The response method of panel button operation and device Download PDF

Info

Publication number
CN106303742A
CN106303742A CN201610599069.XA CN201610599069A CN106303742A CN 106303742 A CN106303742 A CN 106303742A CN 201610599069 A CN201610599069 A CN 201610599069A CN 106303742 A CN106303742 A CN 106303742A
Authority
CN
China
Prior art keywords
button
passage
panel
event
button operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610599069.XA
Other languages
Chinese (zh)
Other versions
CN106303742B (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
Shenzhen TCL Digital 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 CN201610599069.XA priority Critical patent/CN106303742B/en
Priority to PCT/CN2016/096065 priority patent/WO2018018684A1/en
Publication of CN106303742A publication Critical patent/CN106303742A/en
Application granted granted Critical
Publication of CN106303742B publication Critical patent/CN106303742B/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/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses the response method of a kind of panel button operation, when receiving panel button event, it is judged that whether the first button passage is carrying out button operation;If described first button passage is carrying out button operation, then calls the second button passage and perform the button operation that described panel button event is corresponding;According to the execution order of each button passage, show the execution result that each button passage is corresponding successively, wherein, when each button passage performs button operation, update current execution order.The invention also discloses the responding device of a kind of panel button operation.The present invention, by two button channel parallel response panel key-press event, shortens the response time of panel button event, improves response efficiency.

Description

The response method of panel button operation and device
Technical field
The present invention relates to television set control field, particularly relate to response method and the device of the operation of a kind of panel button.
Background technology
A lot of intelligent televisions are all to use Android operation system in the market, and the operation of TV depends on Remote controller.When remote controller is unavailable, the panel button of intelligent television has shouldered the mission of remote controller, due to panel button also Not having the function that andriod is primary, the realization of its function often relies on the customization of television manufacturer, therefore, remote controller to be realized Function, can add the support of new button in the keystroke handling flow process of panel button, to realize the control of TV, but existing Panel button processing scheme be: send key-press event by a button passage to system layer, the most again by system layer to should With sending key-press event, when continuous several times pressing control panel, after previous key-press event has processed, button passage ability The next key-press event of response, causes responding the time that each key-press event spent longer.
Summary of the invention
Present invention is primarily targeted at response method and the device proposing the operation of a kind of panel button, it is intended to solve continuously Repeatedly during pressing panel button, respond time that each key-press event spent longer technical problem.
For achieving the above object, the response method of a kind of panel button operation that the present invention provides, it is applied to television set, institute State television set and include that two virtual button passages, the response method of described panel button operation include:
When receiving panel button event, it is judged that whether the first button passage is carrying out button operation;
If described first button passage is carrying out button operation, then calls the second button passage and perform described panel button The button operation that event is corresponding;
According to the execution order of each button passage, show the execution result that each button passage is corresponding successively, wherein, When each button passage performs button operation, update current execution order.
Preferably, described when receiving panel button event, it is judged that whether the first button passage is carrying out button behaviour The step made includes:
When receiving panel button event, order corresponding for described panel button event is sent to the first button passage In;
If when preset duration arrives, do not receive the response message of described first button passage, it is determined that described first Button passage is carrying out button operation.
Preferably, if described first button passage is carrying out button operation, then calls the second button passage and perform The step of the button operation that described panel button event is corresponding includes:
Determine the button character type that described panel button event is corresponding;
When button character type is marking keys character, according to the panel button event received show preset virtual Interface;
In described virtual interface, described marking keys character is converted to key set code;
Call the function interface that described second button passage is corresponding to start described key set code.
Preferably, after the described step determining button character type corresponding to described panel button event, described panel The response method of button operation also includes:
When button character type is marking keys character string, show described virtual according to the panel button event received Interface;
In described virtual interface, described marking keys character string is converted to each key set code;
When the confirmation receiving key set code instructs, call described second button passage corresponding to start the key set code determined Function interface.
Preferably, described when receiving panel button event, it is judged that whether the first button passage is carrying out button behaviour After the step made, the response method of described panel button operation also includes:
If described first button passage is not carried out button operation, then call described first button passage perform described panel by The button operation that key events is corresponding.
Additionally, for achieving the above object, the present invention also proposes the responding device of a kind of panel button operation, is applied to TV Machine, described television set includes that two virtual button passages, the responding device of described panel button operation include:
Judge module, for when receiving panel button event, it is judged that whether the first button passage is carrying out button Operation;
Calling module, if being carrying out button operation for described first button passage, then calls the second button passage and holds The button operation that the described panel button event of row is corresponding;
Display module, for the execution order according to each button passage, shows each corresponding holding of button passage successively Row result, wherein, when each button passage performs button operation, updates current execution order.
Preferably, described judge module includes:
Transmitting element, for when receiving panel button event, sends order corresponding for described panel button event To the first button passage;
First determines unit, if for when preset duration arrives, not receiving the response letter of described first button passage Breath, it is determined that described first button passage is carrying out button operation.
Preferably, described calling module includes:
Second determines unit, for determining the button character type that described panel button event is corresponding;
Display unit, for when button character type is marking keys character, according to the panel button event received The virtual interface that display is preset;
Converting unit, in described virtual interface, is converted to key set code by described marking keys character;
Call unit, for calling the function interface that described second button passage is corresponding to start described key set code.
Preferably, described display unit, it is additionally operable to when button character type is marking keys character string, according to receiving Panel button event show described virtual interface;
Described converting unit, is additionally operable in described virtual interface, described marking keys character string is converted to each by Key;
Described call unit, be additionally operable to receive key set code confirmation instruct time, call described second button passage with Start the function interface that the key set code determined is corresponding.
Preferably, described calling module, if being additionally operable to described first button passage to be not carried out button operation, then calls described First button passage performs the button operation that described panel button event is corresponding.
The response method of the panel button operation that the present invention proposes and device, when receiving panel button event, first sentence Whether disconnected first button passage is carrying out button operation, if described first button passage is carrying out button operation, then calls Second button passage performs the button operation that described panel button event is corresponding, finally according to the execution time of each button passage Sequence, shows the execution result that each button passage is corresponding successively, it is achieved that in the case of the first button passage is busy, directly by Second button passage performs button operation rather than when continuous several times pressing panel button, can only be by the first button passage After having managed a key-press event, the more next key-press event of response, the present invention is by two channel parallel response panel buttons Event, shortens the time that response panel button is spent, improves the efficiency of panel button response.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the response method first embodiment of panel button of the present invention operation;
Fig. 2 is that the present invention judges whether the first button passage is carrying out the flow process signal of button operation preferred embodiment Figure;
Fig. 3 is that the button operation first that the present invention calls the second described panel button event of button passage execution corresponding is implemented The schematic flow sheet of example;
Fig. 4 is that the present invention preferably implements scene schematic diagram;
Fig. 5 is that the button operation second that the present invention calls the second described panel button event of button passage execution corresponding is implemented The schematic flow sheet of example;
Fig. 6 is the schematic flow sheet of response method second embodiment of panel button of the present invention operation;
Fig. 7 is the high-level schematic functional block diagram of the responding device first embodiment of panel button of the present invention operation;
Fig. 8 is the refinement high-level schematic functional block diagram of judge module in Fig. 7;
Fig. 9 is the refinement high-level schematic functional block diagram of calling module in Fig. 7.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention is: when receiving panel button event, it is judged that the first button passage Whether it is carrying out button operation;If described first button passage is carrying out button operation, then calls the second button passage and hold The button operation that the described panel button event of row is corresponding;According to the execution order of each button passage, show each button successively The execution result that passage is corresponding.When ensure that continuous several times pressing panel button, the time of response panel button operation spends relatively Short, response efficiency is high.
Panel button event originally, when quickly testing, is essentially all by a kind of button passage (such as jni, Java Native Interface calls window) call, it is impossible to process the fast operating of panel button in time, event easily occurs Severe obstruction, adds the time of panel button event response, thus affects Consumer's Experience.
Based on the problems referred to above, the present invention provides the response method that a kind of panel button operates, and is applied to television set, described electricity Two virtual button passages are included depending on machine.
Schematic flow sheet with reference to the response method first embodiment that Fig. 1, Fig. 1 are panel button of the present invention operation.
In the present embodiment, the response method of described panel button operation includes:
Step S10, when receiving panel button event, it is judged that whether the first button passage is carrying out button operation;
In the present embodiment, before described step S10, including arrange the dual pathways response panel key-press event step, tool Body ground: add the support of counter plate button in android operating system, by revising the driver of panel button, so that The panel button obtaining terminal supports dual pathways response.And described terminal preferably includes to be built-in with the TV of android operating system Machine.
When receiving panel button event, first judge whether the first button passage is carrying out button operation, specifically, With reference to Fig. 2, described step S10 includes:
Step S11, when receiving panel button event, sends order corresponding for described panel button event to first In button passage;
Step S12, if when preset duration arrives, does not receives the response message of described first button passage, it is determined that Described first button passage is carrying out button operation.
I.e. when receiving panel button event, first obtain the order that panel button event is corresponding, then order is sent In the first button passage, start timing from the time point sending order, when timing reaches preset duration, if it find that described First button passage does not return the response message run succeeded, then be judged to that the first button passage is carrying out key-press event. Wherein, described preset duration is default, the value that can draw after repeatedly test, it is notable that described Preset duration is less than the time of the panel button event of the first button channel response, and such guarantee the first button passage also exists When responding other panel button event, by calling the second button passage to perform current panel button event, thus improve The efficiency of panel button event response.
Certainly, if receiving the response message that described first button passage returns in preset duration, then it is assumed that described the One button passage is currently not carried out button operation, also just says, the most described first button passage is in idle condition.Pass through This comparison procedure, can quickly learn the state that the first button passage is current, thus quick decision whether to call second by Push-to road is to carry out the response of panel button event.
Step S20, if described first button passage is carrying out button operation, then calls the second button passage and performs described The button operation that panel button event is corresponding;
In the present embodiment, described first button passage is preferably jni (Java Native Interface calls window) and leads to Road, described second button passage is preferably serial port command parallel channel, and described first button passage and the second button passage It is invoked in default user's space and calls.
It is to say, when receiving panel button event, first obtain magnitude of voltage in panel button, then will get Magnitude of voltage be sent in user's space, in the user space, can be with Selection and call the first button passage or the second button passage To respond described panel button event, owing to the most described first button passage is carrying out button operation, therefore, in described use Space, family is called the second button passage, the button operation that described panel button event is corresponding can be performed.
Owing to panel button is different, the function interface of final display is different, and wherein, panel button includes volume adjusting key (volume+, volume-), channel adjustment key (channel+, channel-) and Menu key etc., therefore, call the second button passage and perform The mode of the button operation that described panel button event is corresponding includes multiple, specifically, and the embodiment bag of described step S20 Include:
1) mode one, reference Fig. 3, described step S20 includes:
Step S21, determines the button character type that described panel button event is corresponding;
Wherein, described button character type includes marking keys character and marking keys character string two types.
Step S22, when button character type is marking keys character, the panel button event according to receiving shows in advance If virtual interface;
Step S23, in described virtual interface, is converted to key set code by described marking keys character;
Step S24, calls the function interface that described second button passage is corresponding to start described key set code.
Before described step S21, needing first to initialize according to the panel button event received, system layer is first opened Machine carries out initializing system service, then starts the service of monitoring, if there being panel button event, sends panel button event to application Layer processes.
Application layer, according to panel button event, carries out registration broadcast, it is then determined that described corresponding the pressing of panel button event Key characters type, carries out page initialization further according to magnitude of voltage, and when button character type is marking keys character, display is corresponding Virtual interface, and in described virtual interface, described marking keys character is converted to key set code, described key set code is used Keycode represents, in present embodiment, owing to button character type is marking keys character, therefore, the key set code after conversion is One, key set code is sent to system and processes the most at last, is i.e. sent in user's space carry out calling of the second button passage, The function interface corresponding to start described key set code, such as, the panel button of now user's pressing is volume+key, then, call The function interface that second button passage shows is exactly the interface that volume increases.In the present embodiment, initialize and follow-up whole Handling process can refer to Fig. 4.In the present embodiment, call function circle that described second button passage is corresponding to start described key set code Key set code actually, will be stated and call so storehouse (a kind of dynamic chain in programming of system with serial port command parallel form in face Connect storehouse) transfer to system layer to process, the function interface corresponding to start described key set code, now need the regular hour to perform Complete.
2) mode two, reference Fig. 5, after described step S21, described step S20 includes:
Step S25, when button character type is marking keys character string, the panel button event according to receiving shows Described virtual interface;
Step S26, in described virtual interface, is converted to each key set code by described marking keys character string;
Step S27, receive key set code confirmation instruct time, call described second button passage with start determine by The function interface that key is corresponding.
In the present embodiment, when button character type is marking keys character string, in virtual interface, by described button Identification strings is converted to each key set code, now, is equivalent to user and presses the Menu key of panel button, and television set calls second The function interface of button channel start Menu key association, in this function interface, can show each functional keys, such as mode tuning Button, dormancy button and volume knob etc., if receive the confirmation instruction of key set code, then call described second button The function interface that passage is corresponding to start the key set code determined, say, that if user selects volume knob, finally start Be volume adjusting interface.
In the present embodiment, jni passage: be equivalent to add corresponding keystroke interface in system layer, in application layer statement correspondence Interface, by application call, system performs the processing scheme of practical operation;And serial port command: be equivalent to pass through Runtime (running the time) interface directly transmits the serial port command dummy node to hardware write correspondence.
Step S30, according to the execution order of each button passage, show successively each button passage corresponding perform knot Really, wherein, when each button passage performs button operation, current execution order is updated.
Perform button operation at described first button passage, and described second button passage performs described panel button thing After the button operation that part is corresponding, according to the execution order of each button passage, show each corresponding holding of button passage successively Row result, in the present embodiment, due to be finally start be function interface, therefore, show the execution that each button passage is corresponding Result is the most also to show the function interface that each button passage obtains.
Owing to each button passage is when performing button operation, the execution order that each button passage is current all can be updated, Therefore, according to the execution order that each button passage is the most up-to-date, the function interface that each button passage obtains, phase are shown successively When the function interface obtained in panel button has precedence, and the when of execution, the execution order according to current channel shows accordingly Show, it is necessary to the last result returned first shows, just can show result next time, to avoid button order entanglement.
Further, if each button passage returns execution result simultaneously, it is also possible to show each button passage simultaneously Corresponding execution result, and need not first remove to determine the execution order of passage, show further according to execution order, decrease this The time of process, improve the efficiency of panel button operation response.
It should be appreciated that in the present embodiment, calling, by jni passage and serial port command row, the processing mode coexisted has The execution accelerating panel button operation of effect, when jni passage is currently executing button operation, then by panel button order The mode being sent to serial port command performs, and uses this dual pathways to carry into execution a plan, and effective solution panel button blocks Situation, it is achieved the quick operating response of panel button is timely, improves panel button and performs speed, be greatly promoted Consumer's Experience.
The response method of the panel button operation that the present embodiment proposes, when receiving panel button event, first judges the Whether one button passage is carrying out button operation, if described first button passage is carrying out button operation, then calls second Button passage performs the button operation that described panel button event is corresponding, finally according to the execution order of each button passage, depends on The execution result that each button passage of secondary display is corresponding, it is achieved that in the case of the first button passage is busy, directly by second Button passage performs button operation rather than when continuous several times pressing panel button, can only have been processed by the first button passage After one key-press event, the more next key-press event of response, the present invention responds panel key-press event by two channel parallels, Shorten the time that response panel button is spent, improve the efficiency of panel button response.
Further, in order to improve the motility of panel button response, propose panel of the present invention based on first embodiment and press Second embodiment of the response method of key operation, in the present embodiment, with reference to Fig. 6, after described step S10, described panel is pressed The response method of key operation also includes:
Step S40, if described first button passage is not carried out button operation, then calls described first button passage and performs institute State the button operation that panel button event is corresponding.
Should be appreciated that in the present embodiment, the response priority of described first button passage is higher than the second button passage, because of This, when described first button passage is not carried out button operation, when the most described first button passage is in idle condition, directly adjust Perform, with described first button passage, the button operation that described panel button event is corresponding, call described first button passage and perform The process of the button operation that described panel button event is corresponding, is the most also first to determine the button that described panel button event is corresponding Character types, and perform corresponding operation, finally call the merit that described first button passage is corresponding to start corresponding key set code Energy interface, concrete mode is consistent with mention in the second button passage, and here is omitted.
In the present embodiment, when described first button passage is not carried out button operation, described first button is directly invoked Passage performs button operation corresponding to described panel button event, it is achieved that by the passage that response priority is high carry out panel by The response of key events, thus improve the motility of panel button operation response.
The present invention further provides the responding device of a kind of panel button operation, be applied to television set, described television set bag Include two virtual button passages.
High-level schematic functional block diagram with reference to the responding device first embodiment that Fig. 7, Fig. 7 are panel button of the present invention operation.
The responding device of described panel button operation preferably includes to be built-in with the television set of android operating system.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 7 is only a preferable reality Execute the exemplary plot of example, the functional module of the responding device that those skilled in the art operates around the panel button shown in Fig. 7, can Carry out supplementing of new functional module easily;The title of each functional module is self-defined title, is only used for auxiliary and understands this panel Each program function block of the responding device of button operation, is not used in restriction technical scheme, technical solution of the present invention Core be, the function that the functional module of each self-defined title is to be reached.
In the present embodiment, the responding device of described panel button operation includes:
Judge module 10, for when receiving panel button event, it is judged that the first button passage whether be carrying out by Key operation
In the present embodiment, the responding device of described panel button also includes arranging module, and the described module that arranges is for setting Put dual pathways response panel key-press event, specifically: in android operating system, add the support of counter plate button, pass through The driver of amendment panel button, so that the panel button of the responding device of panel button supports dual pathways response.
When receiving panel button event, first judge whether the first button passage is carrying out button operation, specifically, With reference to Fig. 8, described judge module 10 includes:
Transmitting element 11, for when receiving panel button event, sends out order corresponding for described panel button event Deliver in the first button passage;
First determines unit 12, if for when preset duration arrives, not receiving the response of described first button passage Information, it is determined that described first button passage is carrying out button operation.
I.e. when receiving panel button event, first obtain the order that panel button event is corresponding, then transmitting element 11 Send commands in the first button passage, start timing from the time point sending order, when timing reaches preset duration, as Fruit finds that described first button passage does not return the response message run succeeded, then first determine unit 12 be judged to first by Push-to road is carrying out key-press event.Wherein, described preset duration is default, can draw after repeatedly test Value, it is notable that described preset duration is less than time of panel button event of the first button channel response, Can guarantee that the first button passage also respond other panel button event time, current to perform by calling the second button passage Panel button event, thus improve the efficiency of panel button event response.
Certainly, if receiving the response message that described first button passage returns in preset duration, then it is assumed that described the One button passage is currently not carried out button operation, also just says, the most described first button passage is in idle condition.Pass through This comparison procedure, can quickly learn the state that the first button passage is current, thus quick decision whether to call second by Push-to road is to carry out the response of panel button event.
Calling module 20, if being carrying out button operation for described first button passage, then calls the second button passage Perform the button operation that described panel button event is corresponding;
In the present embodiment, described first button passage is preferably jni (Java Native Interface calls window) and leads to Road, described second button passage is preferably serial port command parallel channel, and described first button passage and the second button passage Call to have and call in default user's space.
It is to say, when receiving panel button event, first obtain magnitude of voltage in panel button, then will get Magnitude of voltage be sent in user's space, in the user space, can be with Selection and call the first button passage or the second button passage To respond described panel button event, owing to the most described first button passage is carrying out button operation, therefore, calling module 20 call the second button passage in described user's space, can perform the button operation that described panel button event is corresponding.
Owing to panel button is different, the function interface of final display is different, and wherein, panel button includes volume adjusting key (volume+, volume-), channel adjustment key (channel+, channel-) and Menu key etc., therefore, call the second button passage and perform The mode of the button operation that described panel button event is corresponding includes multiple, specifically, described calling module 20 call second by Push-to road performs the embodiment of button operation corresponding to described panel button event and includes:
1) mode one, reference Fig. 9, described calling module 20 includes:
Second determines unit 21, for determining the button character type that described panel button event is corresponding;
Display unit 22, for when button character type is marking keys character, according to the panel button thing received Part shows the virtual interface preset;
Converting unit 23, in described virtual interface, is converted to key set code by described marking keys character;
Call unit 24, for calling the function interface that described second button passage is corresponding to start described key set code.
Before second determines that unit 21 determines the button character type that described panel button event is corresponding, need first basis The panel button event received initializes, and system layer is first started shooting and carried out initializing system service, then starts and monitors clothes Business, if there being panel button event, sending panel button event and processing to application layer.
Application layer according to panel button event, carry out registration broadcast, then second determine unit 21 determine described panel by The button character type that key events is corresponding, carries out page initialization further according to magnitude of voltage, is marking keys in button character type During character, display unit 22 shows corresponding virtual interface, and converting unit 23 is in described virtual interface, by described button Mark character is converted to key set code, and described key set code keycode represents, in present embodiment, owing to button character type is Marking keys character, therefore, the key set code after conversion is one, and key set code is sent to system and processes the most at last, i.e. sends Calling of the second button passage is carried out by call unit 24, function circle corresponding to start described key set code in user's space Face, such as, the panel button of now user's pressing is volume+key, then, just call function interface that the second button passage shows It it is the interface of volume increase.In the present embodiment, initialize and follow-up whole handling process can refer to Fig. 4.In the present embodiment, Call described second button passage and be actually, with the side that serial port command is parallel to start function interface corresponding to described key set code Formula is called stating key set code so storehouse (a kind of dynamic link library in programming) of system and is transferred to system layer to process, described to start The function interface that key set code is corresponding, now needs the regular hour to have performed.
2) mode two, described display unit 22, is additionally operable to when button character type is marking keys character string, according to connecing The panel button event received shows described virtual interface;
Described converting unit 23, is additionally operable in described virtual interface, and described marking keys character string is converted to each Key set code;
Described call unit 24, is additionally operable to, when the confirmation receiving key set code instructs, call described second button passage The function interface corresponding to start the key set code determined.
In the present embodiment, when button character type is marking keys character string, in virtual interface, described conversion is single Described marking keys character string is converted to each key set code by unit 23, now, is equivalent to user and presses the Menu key of panel button, Described call unit 24 calls the function interface of the second button channel start Menu key association, in this function interface, described aobvious Show that unit 22 can show each functional keys, such as mode tuning button, dormancy button and volume knob etc., if receiving When the confirmation of key set code instructs, it is corresponding to start the key set code determined that the most described call unit 24 calls described second button passage Function interface, say, that if user selects volume knob, final start is volume adjusting interface.
In the present embodiment, jni passage: be equivalent to add corresponding keystroke interface in system layer, in application layer statement correspondence Interface, by application call, system performs the processing scheme of practical operation;And serial port command: be equivalent to pass through Runtime (running the time) interface directly transmits the serial port command dummy node to hardware write correspondence.
Display module 30, for the execution order according to each button passage, shows that each button passage is corresponding successively Perform result, wherein, when each button passage performs button operation, update current execution order.
Perform button operation at described first button passage, and described second button passage performs described panel button thing After the button operation that part is corresponding, display module 30, according to the execution order of each button passage, shows that each is by push-to successively The execution result that road is corresponding, in the present embodiment, due to be finally start be function interface, therefore, show each button passage Corresponding execution result is the most also to show the function interface that each button passage obtains.
Owing to each button passage is when performing button operation, the execution order that each button passage is current all can be updated, Therefore, according to the execution order that each button passage is the most up-to-date, the function interface that each button passage obtains, phase are shown successively When the function interface obtained in panel button has precedence, and the when of execution, the execution order according to current channel shows accordingly Show, it is necessary to the last result returned first shows, just can show result next time, to avoid button order entanglement.
Further, if each button passage returns execution result simultaneously, display module 30 can also show respectively simultaneously The execution result that individual button passage is corresponding, and need not first remove to determine the execution order of passage, show further according to execution order, Decrease the time of this process, improve the efficiency of panel button operation response.
It should be appreciated that in the present embodiment, calling, by jni passage and serial port command row, the processing mode coexisted has The execution accelerating panel button operation of effect, when jni passage is currently executing button operation, then sends out panel button order The mode delivering to serial port command performs, and uses this dual pathways to carry into execution a plan, the effective feelings solving panel button obstruction Condition, it is achieved the quick operating response of panel button is timely, improves panel button and performs speed, be greatly promoted Consumer's Experience.
The responding device of the panel button operation that the present embodiment proposes, when receiving panel button event, first judges the Whether one button passage is carrying out button operation, if described first button passage is carrying out button operation, then calls second Button passage performs the button operation that described panel button event is corresponding, finally according to the execution order of each button passage, depends on The execution result that each button passage of secondary display is corresponding, it is achieved that in the case of the first button passage is busy, directly by second Button passage performs button operation rather than when continuous several times pressing panel button, can only have been processed by the first button passage After one key-press event, the more next key-press event of response, the present invention responds panel key-press event by two channel parallels, Shorten the time that response panel button is spent, improve the efficiency of panel button response.
Further, in order to improve the accuracy of panel button response, propose panel of the present invention based on first embodiment and press Second embodiment of the responding device of key operation, in the present embodiment,
Described calling module 20, if being additionally operable to described first button passage to be not carried out button operation, then calls described first Button passage performs the button operation that described panel button event is corresponding.
Should be appreciated that in the present embodiment, the response priority of described first button passage is higher than the second button passage, because of This, when described first button passage is not carried out button operation, when the most described first button passage is in idle condition, described tune Directly invoke described first button passage by module 20 and perform button operation corresponding to described panel button event, call described the One button passage performs the process of button operation corresponding to described panel button event, is the most also first to determine described panel button The button character type that event is corresponding, and perform corresponding operation, final described calling module 20 calls described first by push-to The function interface that road is corresponding to start corresponding key set code, concrete mode is consistent, herein with mention in the second button passage Repeat no more.
In the present embodiment, when described first button passage is not carried out button operation, described first button is directly invoked Passage performs button operation corresponding to described panel button event, it is achieved that by the passage that response priority is high carry out panel by The response of key events, thus improve the motility of panel button operation response.
It should be noted that in this article, term " includes ", " comprising " or its other variant any are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or system not only include those key elements, and And also include other key element being not expressly set out, or also include intrinsic for this process, method, article or system Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or system there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skill Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. a response method for panel button operation, is applied to television set, it is characterised in that described television set includes two void The button passage intended, the response method of described panel button operation includes:
When receiving panel button event, it is judged that whether the first button passage is carrying out button operation;
If described first button passage is carrying out button operation, then calls the second button passage and perform described panel button event Corresponding button operation;
According to the execution order of each button passage, show the execution result that each button passage is corresponding successively, wherein, at each When button passage performs button operation, update current execution order.
2. the response method of panel button operation as claimed in claim 1, it is characterised in that described receiving panel button During event, it is judged that whether the first button passage is carrying out the step of button operation includes:
When receiving panel button event, order corresponding for described panel button event is sent to the first button passage;
If when preset duration arrives, do not receive the response message of described first button passage, it is determined that described first button Passage is carrying out button operation.
3. the response method of panel button operation as claimed in claim 1, it is characterised in that if described first by push-to Road is carrying out button operation, then call the second button passage and perform the step of button operation corresponding to described panel button event Including:
Determine the button character type that described panel button event is corresponding;
When button character type is marking keys character, show the virtual boundary preset according to the panel button event received Face;
In described virtual interface, described marking keys character is converted to key set code;
Call the function interface that described second button passage is corresponding to start described key set code.
4. the response method of panel button operation as claimed in claim 3, it is characterised in that described determine described panel button After the step of the button character type that event is corresponding, the response method of described panel button operation also includes:
When button character type is marking keys character string, show described virtual boundary according to the panel button event received Face;
In described virtual interface, described marking keys character string is converted to each key set code;
When the confirmation receiving key set code instructs, call the merit that described second button passage is corresponding to start the key set code determined Can interface.
5. the response method of the panel button operation as described in any one of claim 1-4, it is characterised in that described receiving During panel button event, it is judged that after whether the first button passage is carrying out the step of button operation, described panel button is grasped The response method made also includes:
If described first button passage is not carried out button operation, then calls described first button passage and perform described panel button thing The button operation that part is corresponding.
6. a responding device for panel button operation, is applied to television set, it is characterised in that described television set includes two void The button passage intended, the responding device of described panel button operation includes:
Judge module, for when receiving panel button event, it is judged that whether the first button passage is carrying out button operation;
Calling module, if being carrying out button operation for described first button passage, then calls the second button passage and performs institute State the button operation that panel button event is corresponding;
Display module, for according to the execution order of each button passage, show successively each button passage corresponding perform knot Really, wherein, when each button passage performs button operation, current execution order is updated.
7. the responding device of panel button operation as claimed in claim 6, it is characterised in that described judge module includes:
Transmitting element, for when receiving panel button event, sends order corresponding for described panel button event to the In one button passage;
First determines unit, if for when preset duration arrives, not receiving the response message of described first button passage, then Determine that described first button passage is carrying out button operation.
8. the responding device of panel button operation as claimed in claim 6, it is characterised in that described calling module includes:
Second determines unit, for determining the button character type that described panel button event is corresponding;
Display unit, for when button character type is marking keys character, the panel button event according to receiving shows The virtual interface preset;
Converting unit, in described virtual interface, is converted to key set code by described marking keys character;
Call unit, for calling the function interface that described second button passage is corresponding to start described key set code.
9. the responding device of panel button operation as claimed in claim 8, it is characterised in that described display unit, is additionally operable to When button character type is marking keys character string, the panel button event according to receiving shows described virtual interface;
Described converting unit, is additionally operable in described virtual interface, and described marking keys character string is converted to each key set code;
Described call unit, is additionally operable to, when the confirmation receiving key set code instructs, call described second button passage to start The function interface that the key set code that determines is corresponding.
10. as described in any one of claim 6-9 panel button operation responding device, it is characterised in that described in call mould Block, if being additionally operable to described first button passage to be not carried out button operation, then calls described first button passage and performs described panel The button operation that key-press event is corresponding.
CN201610599069.XA 2016-07-26 2016-07-26 The response method and device of panel button operation Active CN106303742B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610599069.XA CN106303742B (en) 2016-07-26 2016-07-26 The response method and device of panel button operation
PCT/CN2016/096065 WO2018018684A1 (en) 2016-07-26 2016-08-19 Method and apparatus for responding to key press on panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610599069.XA CN106303742B (en) 2016-07-26 2016-07-26 The response method and device of panel button operation

Publications (2)

Publication Number Publication Date
CN106303742A true CN106303742A (en) 2017-01-04
CN106303742B CN106303742B (en) 2019-11-05

Family

ID=57652537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610599069.XA Active CN106303742B (en) 2016-07-26 2016-07-26 The response method and device of panel button operation

Country Status (2)

Country Link
CN (1) CN106303742B (en)
WO (1) WO2018018684A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094238A (en) * 2017-04-13 2017-08-25 青岛海信电器股份有限公司 The key assignments processing method and intelligent television of intelligent television
CN108153600A (en) * 2017-12-26 2018-06-12 深圳Tcl数字技术有限公司 A kind of panel button response method, television equipment and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645023A (en) * 2009-09-14 2010-02-10 青岛海信宽带多媒体技术有限公司 Method and device for solving the delayed response of embedded system
CN101867377A (en) * 2010-06-17 2010-10-20 青岛海信宽带多媒体技术有限公司 Processing method of panel key signal and processing circuit thereof
US20110234429A1 (en) * 2010-03-24 2011-09-29 Whirlpool Corporation Capacitive touch multi-function keys
CN102981875A (en) * 2012-11-28 2013-03-20 深圳市航盛电子股份有限公司 X86 end press key adapting method and system based on android
CN103581725A (en) * 2013-09-27 2014-02-12 深圳市同洲电子股份有限公司 Method for controlling smart TV terminal through mobile terminal and relevant terminals
CN103716689A (en) * 2013-12-26 2014-04-09 Tcl集团股份有限公司 Detection method for television channel changing and intelligent television set
CN103870004A (en) * 2012-12-18 2014-06-18 上海黄浦船用仪器有限公司 Dual-channel keyboard data recording system and application thereof
US20150046950A1 (en) * 2013-08-08 2015-02-12 Samsung Electronics Co., Ltd. Display apparatus and method of setting up channel of the same
CN104811813A (en) * 2015-04-14 2015-07-29 青岛海信传媒网络技术有限公司 Intelligent TV and user interaction method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645023A (en) * 2009-09-14 2010-02-10 青岛海信宽带多媒体技术有限公司 Method and device for solving the delayed response of embedded system
US20110234429A1 (en) * 2010-03-24 2011-09-29 Whirlpool Corporation Capacitive touch multi-function keys
CN101867377A (en) * 2010-06-17 2010-10-20 青岛海信宽带多媒体技术有限公司 Processing method of panel key signal and processing circuit thereof
CN102981875A (en) * 2012-11-28 2013-03-20 深圳市航盛电子股份有限公司 X86 end press key adapting method and system based on android
CN103870004A (en) * 2012-12-18 2014-06-18 上海黄浦船用仪器有限公司 Dual-channel keyboard data recording system and application thereof
US20150046950A1 (en) * 2013-08-08 2015-02-12 Samsung Electronics Co., Ltd. Display apparatus and method of setting up channel of the same
CN103581725A (en) * 2013-09-27 2014-02-12 深圳市同洲电子股份有限公司 Method for controlling smart TV terminal through mobile terminal and relevant terminals
CN103716689A (en) * 2013-12-26 2014-04-09 Tcl集团股份有限公司 Detection method for television channel changing and intelligent television set
CN104811813A (en) * 2015-04-14 2015-07-29 青岛海信传媒网络技术有限公司 Intelligent TV and user interaction method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094238A (en) * 2017-04-13 2017-08-25 青岛海信电器股份有限公司 The key assignments processing method and intelligent television of intelligent television
CN107094238B (en) * 2017-04-13 2020-02-28 青岛海信电器股份有限公司 Key distribution processing method of smart television and smart television
CN108153600A (en) * 2017-12-26 2018-06-12 深圳Tcl数字技术有限公司 A kind of panel button response method, television equipment and computer readable storage medium
CN108153600B (en) * 2017-12-26 2021-09-28 深圳Tcl数字技术有限公司 Panel key response method, television equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2018018684A1 (en) 2018-02-01
CN106303742B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
US11310730B2 (en) Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system
US10284896B2 (en) Smart TV controlling method and smart TV thereof
CN103391122B (en) Multiband operation while MIMO communication device
CN102938818A (en) Household appliance intelligent controlling method based on smart mobile phone
CN102665137A (en) Method for controlling media player and terminal thereof
CN103634592A (en) Automatic test method and system for intelligent televisions
CN102750812A (en) Method for matching reception device and remote controller, reception device and remote controller
CN106528301A (en) Method and device for updating timeout wait duration
CN106303742A (en) The response method of panel button operation and device
CN105159721A (en) Method of multi-mode startup intelligent equipment and system of multi-mode startup intelligent equipment
CN103440402A (en) Method and device for controlling electronic game basing on middleware
CN105740010A (en) Power-on method and terminal equipment
CN107463407A (en) Fingerprint chip initiation method and device
CN108513157A (en) The method, apparatus and computer readable storage medium of keystroke handling
CN105224369A (en) Application start method and system
CN112203132A (en) Method for quickly connecting Bluetooth remote controller during startup of android smart television
CN106101836A (en) The player method of intelligent television and device
CN105323643A (en) Control device for realizing fast switching of television channels and television applications
CN106028142B (en) A kind of upgrade control method and device of playback equipment
CN103170136A (en) Method and system of achieving game control through set top box
CN107659933A (en) A kind of wireless device two-way pairing connection method, wireless device and storage medium
CN102984583A (en) System and method for setting television parameters through handheld device and handheld device
CN106416126A (en) Robot for controlling smart device, and system for controlling smart device through robot
CN106604204A (en) Remote Bluetooth terminal application control method and system
CN111885564B (en) Data transmission method, equipment upgrading method and computer readable storage medium

Legal Events

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