CN108153600A - A kind of panel button response method, television equipment and computer readable storage medium - Google Patents
A kind of panel button response method, television equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN108153600A CN108153600A CN201711439799.4A CN201711439799A CN108153600A CN 108153600 A CN108153600 A CN 108153600A CN 201711439799 A CN201711439799 A CN 201711439799A CN 108153600 A CN108153600 A CN 108153600A
- Authority
- CN
- China
- Prior art keywords
- button
- data
- menucontrol
- driving layer
- modules
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of panel button response method, television equipment and computer readable storage mediums, panel button action event is sent to MenuService controls by the television equipment of the present invention first when the hardware driving layer of Android system captures panel button action event;Panel button action event is converted into button data by MenuService controls again, button data is sent to MenuControl modules;Button data is finally fed back into hardware driving layer by MenuControl modules, so that hardware driving layer responds button data, since MenuService controls are to be switched on and start with television equipment, its priority is far above broadcast mechanism, television equipment can be quickly to key operation event processing after starting, button data is sent to MenuControl modules by MenuService controls, reduce the operating pressure of television equipment, performance will not be influenced as the usage time of television equipment increases, improve the response speed of television equipment panel button.
Description
Technical field
The present invention relates to a kind of ntelligent television technolog field more particularly to panel button response method, television equipment and meters
Calculation machine readable storage medium storing program for executing.
Background technology
TV control generally uses remote controler, but remote controler can not find when worrying operation again sometimes, just need to
It to use to television panels button.Android smart television panel button is all using broadcast mechanism at present, i.e. hardware driving layer obtains
Event is got, the MenuControl modules for informing Android system with the forms of broadcasting are responded.But this mode is in intelligent electricity
During depending on just booting, can not using for short time can be caused, because system broadcasts channel does not set up and finishes at this time.And this mode
It with the big increase of system running pressure after TV long-time use, causes the key response time slow, needs during more serious situation
The key operation event loss of data to be broadcasted causes panel button cannot respond to.
Invention content
It is a primary object of the present invention to provide a kind of panel button response method, television equipment and computer-readable deposit
Storage media, it is intended to which solving the problems, such as current intelligent television equipment, there are panel button response speed is slower.
To achieve the above object, it the present invention provides a kind of panel button response method, the described method comprises the following steps:
Television equipment is when the hardware driving layer of Android system captures panel button action event, by the panel button
Action event is sent to the MenuService controls of Android system;
The panel button action event is converted into button data by the MenuService controls of Android system, by institute
State the MenuControl modules that button data is sent to Android system;
The button data is fed back into the hardware driving layer by the MenuControl modules, so that the hardware
Driving layer responds the button data.
Preferably, the MenuService controls by Android system by the panel button action event be converted by
The button data is sent to the MenuControl modules of Android system, specifically included by key data:
The panel button action event is converted into button data by the MenuService controls of Android system, by institute
State the MenuControl modules that button data is sent to Android system by call-back manner.
Preferably, the MenuService controls by Android system by the panel button action event be converted by
Key data before the button data is sent to the MenuControl modules of Android system by call-back manner, further includes:
It is monitored from the MenuControl modules of Android system to the MenuService controls registered callbacks;
Correspondingly, the MenuService controls by Android system by the panel button action event be converted by
The button data by call-back manner is sent to the MenuControl modules of Android system, specifically included by key data:
The MenuService controls are listened in the readjustment registered by described in as the MenuControl modules
When panel button action event is converted into button data, the button data sent by the MenuService controls is received;
Conversion process is carried out to the button data according to scene by the MenuControl modules.
Preferably, it is described that the button data is fed back into the hardware driving layer by the MenuControl modules, with
The hardware driving layer is made to respond the button data, is specifically included:
The button data is sent to application layer by the MenuControl modules;
The button data is fed back into the hardware driving layer by the application layer, so that the hardware driving layer is to institute
Button data is stated to be responded.
Preferably, it is described that conversion process, tool carry out the button data according to scene by the MenuControl modules
Body includes:
The button data is analyzed by the MenuControl modules of Android system, is obtained and the panel button
The corresponding user behavior data of action event;
Correspondingly, it is described that the button data is fed back into the hardware driving layer by the MenuControl modules, with
The hardware driving layer is made to respond the button data, is specifically included:
Display information corresponding with the button data is generated according to the user behavior data, the display information is anti-
The hardware driving layer is fed to, the display information is shown by the hardware driving layer.
Preferably, it is described display information corresponding with the button data to be generated according to the user behavior data, and
The display information feeds back to the hardware driving layer, the display information is shown by the hardware driving layer, specifically
Including:
When the user behavior data reaches default pressing duration for the pressing duration of user's triggering panel button, generation
Default interface information, and the default interface information is fed back into the hardware driving layer;
The default interface information is shown by the hardware driving layer.
Preferably, it after acquisition user behavior data corresponding with the panel button action event, further includes:
Judge whether the user behavior data is default abnormal data, be default abnormal number in the user behavior data
According to when, the button data is intercepted.
Preferably, the television equipment, will when the hardware driving layer of Android system captures panel button action event
The panel button action event is sent to the MenuService controls of Android system, specifically includes:
Television equipment is when the hardware driving layer of Android system captures panel button action event, by the button operation
In event buffer to default storage region, and the panel button action event is sent to the MenuService of Android system
Control.
Correspondingly, it is described that the button data is fed back into the hardware driving layer by the MenuControl modules, with
Make after the hardware driving layer responds the button data, the method further includes:
Panel button action event in the default storage region is discharged by the MenuService controls.
In addition, to achieve the above object, the present invention also proposes a kind of television equipment, and the television equipment includes:Memory,
Processor and the panel button responder that can be run on the memory and on the processor is stored in, the panel is pressed
Key responder is arranged for carrying out the step of panel button response method as described above.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable
Panel button responder is stored on storage medium, as above institute is realized when the panel button responder is executed by processor
The step of stating the method for panel button response.
The television equipment of the present invention, will first when the hardware driving layer of Android system captures panel button action event
Panel button action event is sent to MenuService controls;Panel button action event is turned by MenuService controls again
Button data is turned to, button data is sent to MenuControl modules;Finally by MenuControl modules by button data
Hardware driving layer is fed back to, so that hardware driving layer responds button data, since MenuService controls are with TV
Device power-up and start, priority be far above broadcast mechanism, television equipment start after can be quickly to key operation event
Processing, is sent to MenuControl modules by button data by MenuService controls, reduces the operating pressure of television equipment,
Performance will not be influenced as the usage time of television equipment increases, improve the response speed of television equipment panel button.
Description of the drawings
Fig. 1 is the structure diagram of the television equipment for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of panel button response method first embodiment of the present invention;
Fig. 3 is the flow diagram in button data transmission process in one embodiment of the invention;
Fig. 4 is the flow diagram of panel button response method second embodiment of the present invention;
Fig. 5 is the flow diagram of panel button response method 3rd 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 embodiment
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.
With reference to Fig. 1, Fig. 1 is the television equipment structure diagram of hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the television equipment can include:Processor 1001, such as CPU, communication bus 1002, Yong Hujie
Mouth 1003, panel button interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the company between these components
Connect letter.Memory 1005 can be high-speed RAM memory.
It will be understood by those skilled in the art that the described device structure shown in Fig. 1 is not formed to the television equipment
Restriction, can include that more or fewer components either combine certain components or different components is arranged than illustrating.
As shown in Figure 1, Android operation system, Subscriber Interface Module SIM, panel button can be included in the memory 1005
Interface module and panel button responder, described device call the panel stored in memory 1005 by processor 1001
Key response program, and perform following operate:
When the hardware driving layer of Android system captures panel button action event, by the panel button action event
It is sent to the MenuService controls of Android system;
The panel button action event is converted into button data by the MenuService controls of Android system, by institute
State the MenuControl modules that button data is sent to Android system;
The button data is fed back into the hardware driving layer by the MenuControl modules, so that the hardware
Driving layer responds the button data.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
The panel button action event is converted into button data by the MenuService controls of Android system, by institute
State the MenuControl modules that button data is sent to Android system by call-back manner.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
It is monitored from the MenuControl modules of Android system to the MenuService controls registered callbacks;
Correspondingly, processor 1001 can call the panel button responder stored in memory 1005, also perform with
Lower operation:
The MenuService controls are listened in the readjustment registered by described in as the MenuControl modules
When panel button action event is converted into button data, the button data sent by the MenuService controls is received;
Conversion process is carried out to the button data according to scene by the MenuControl modules.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
The button data is sent to application layer by the MenuControl modules;
The button data is fed back into the hardware driving layer by the application layer, so that the hardware driving layer is to institute
Button data is stated to be responded.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
The button data is analyzed by the MenuControl modules of Android system, is obtained and the panel button
The corresponding user behavior data of action event;
Display information corresponding with the button data is generated according to the user behavior data;The display information is anti-
The hardware driving layer is fed to, the display information is shown by the hardware driving layer.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
When the user behavior data reaches default pressing duration for the pressing duration of user's triggering panel button, generation
Default interface information, and the default interface information is fed back into the hardware driving layer;
The default interface information is shown by the hardware driving layer.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
Judge whether the user behavior data is default abnormal data, be default abnormal number in the user behavior data
According to when, the button data is intercepted.
Further, processor 1001 can call the panel button responder stored in memory 1005, also perform
It operates below:
When the hardware driving layer of Android system captures panel button action event, the key operation event is cached
It extremely presets in storage region, and the panel button action event is sent to the MenuService controls of Android system.
Panel button action event in the default storage region is discharged by the MenuService controls.
The television equipment of the present embodiment first when the hardware driving layer of Android system captures panel button action event,
Panel button action event is sent to MenuService controls;Again by MenuService controls by panel button action event
Button data is converted into, button data is sent to MenuControl modules;It finally will be by bond number by MenuControl modules
According to hardware driving layer is fed back to, so that hardware driving layer responds button data, since MenuService controls are with electricity
Start depending on device power-up, priority is far above broadcast mechanism, and television equipment can be quickly to button operation thing after starting
Part processing, is sent to MenuControl modules by button data by MenuService controls, reduces the operation pressure of television equipment
Power will not influence performance as the usage time of television equipment increases, improve the response speed of television equipment panel button.
Based on above-mentioned hardware configuration, panel button response method embodiment of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is a kind of flow diagram of panel button response method first embodiment of the present invention.
In the present embodiment, the panel button response method includes the following steps:
Step S10:Television equipment is when the hardware driving layer of Android system captures panel button action event, by described in
Panel button action event is sent to the MenuService controls of Android system;
It will be appreciated that by taking the panel button of user's triggering is a menu key on television equipment as an example, existing
In technology when television set is just switched on, user presses the penal menu button, and hardware driving layer gets key operation event, with wide
The form of broadcasting informs that the MenuControl modules of Android system are responded, but this mode is when smart television is just switched on, by
Relatively low in the priority ratio of broadcast mechanism, system broadcasts channel, which is not set up, at this time finishes, and can cause can not using for short time.
Four big components of Android system are respectively:Activity activities, Service service, in Content Provider
Hold supplier, BroadcastReceiver radio receivers, in the present embodiment, directly start Android system in starting up
Service services MenuService controls, therefore priority can be more much higher than broadcast mechanism.In the concrete realization, TV
Equipment is when the hardware driving layer of Android system captures panel button action event, directly by the panel button action event
It is sent to the MenuService controls of Android system;
Step S20:The panel button action event is converted by bond number by the MenuService controls of Android system
According to the button data to be sent to the MenuControl modules of Android system;
In the concrete realization, the panel button action event is converted by the MenuService controls of Android system
Bottom key assignments, the bottom key assignments is button data, and the button data is sent to Android system by call-back manner
MenuControl modules.
Specifically, the MenuService controls by Android system by the panel button action event be converted by
Key data before the button data is sent to the MenuControl modules of Android system by call-back manner, further includes:
It is monitored from the MenuControl modules of Android system to the MenuService controls registered callbacks;
Correspondingly, the MenuService controls are listened in the readjustment registered by the MenuControl modules
When the panel button action event is converted into button data, receives and pressed as described in being sent the MenuService controls
Key data;The MenuControl modules can carry out the button data according to scene when receiving the button data
Conversion process.
Panel is not needed to by call-back manner and controls MenuControl poll panel services MenuService button operations
Event capturing situation, message adjust back notice, and then can reduce service operation pressure, will not have been made with television equipment
Performance is influenced with the increase of time.
Step S30:The button data is fed back into the hardware driving layer by the MenuControl modules, so that
The hardware driving layer responds the button data.
In the concrete realization, with reference to figure 3, Fig. 3 is the flow diagram in button data transmission process, institute in the present embodiment
MenuControl modules are stated after the button data that the MenuService controls are sent is received, it can be by the button data
It is sent to the Framework application layers of Android system;Since the transmission button data of the MenuService controls is good for for bottom
Value, it is therefore desirable to be adapted to bottom key value be converted into a standard key value with reference to the chip of television equipment hardware, finally by
The application layer is converted into the corresponding button data of standard key value and feeds back to the hardware driving layer, so that the hardware driving
Layer responds the button data.
The television equipment of the present embodiment first when the hardware driving layer of Android system captures panel button action event,
Panel button action event is sent to MenuService controls;Again by MenuService controls by panel button action event
Button data is converted into, button data is sent to MenuControl modules;It finally will be by bond number by MenuControl modules
According to hardware driving layer is fed back to, so that hardware driving layer responds button data, since MenuService controls are with electricity
Start depending on device power-up, priority is far above broadcast mechanism, and television equipment can be quickly to button operation thing after starting
Part processing, is sent to MenuControl modules by button data by MenuService controls, reduces the operation pressure of television equipment
Power will not influence performance as the usage time of television equipment increases, improve the response speed of television equipment panel button.
With reference to Fig. 3, Fig. 3 is a kind of flow diagram of panel button response method second embodiment of the present invention, based on upper
Embodiment shown in Fig. 2 is stated, proposes the second embodiment of panel button response method of the present invention.
In the present embodiment, before the step S30 of the above-mentioned first embodiment, i.e., described step is by described
MenuControl modules carry out conversion process according to scene to the button data, specifically include:
Step S201:The button data is analyzed by the MenuControl modules of Android system, obtain with it is described
The corresponding user behavior data of panel button action event;
Correspondingly, the step S30, specifically includes:
Step S301:Corresponding with button data display information is generated according to the user behavior data, and by institute
It states display information and feeds back to the hardware driving layer, the display information is shown by the hardware driving layer.
It will be appreciated that when television equipment is just switched on, user may think to enter some display interface as soon as possible.Such as in electricity
When being just switched on depending on equipment, user wants to enter video on demand interface, and the present embodiment can analyze user key-press action event,
Specifically, after the MenuControl modules of Android system analyze the button data, if the user behavior data is
The pressing duration that user triggers panel button reaches default pressing duration, then generates video on demand interface (i.e. default interface letter
Breath), and video on demand interface is fed back into the hardware driving layer;By the hardware driving layer to the video on demand interface into
Row displaying.By being analyzed to obtain user behavior data to user key-press action event, according to user behavior data generation pair
The default interface information answered, and then realize when television equipment is just switched on, in the base quickly responded to the operation of user
On plinth, the ideal interface of user can be shown at the first time, improve user experience.
Further, it after the step S201, further includes:
Step S202:Judge whether the user behavior data is default abnormal data, is in the user behavior data
During default abnormal data, the button data is intercepted.
When intelligible, user may go out during intelligent television equipment is used in the panel button for triggering TV
Existing improper operation, such as same panel button of continuous trigger 5 times or more in 2 seconds, can increase television equipment operation pressure in this way
Power, it is also possible to which so that panel button is by bad, therefore the similar above corresponding button data of key operation event is all default different
Regular data;
In the concrete realization, the button data is analyzed by the MenuControl modules of Android system, obtain with
The corresponding user behavior data of the panel button action event, the user behavior data be such as 2 seconds in continuous trigger
During the default abnormal data of same panel button 5 times or more, MenuControl modules can block the button data
It cuts, and then can effectively prevent due to the increase of television equipment operating pressure caused by the improper operation of user.
With reference to Fig. 4, Fig. 4 is a kind of flow diagram of panel button response method 3rd embodiment of the present invention, based on upper
Embodiment shown in Fig. 2 is stated, proposes the 3rd embodiment of panel button response method of the present invention.
In the present embodiment, the step S10 is specifically included:
Step S101:Television equipment is when the hardware driving layer of Android system captures panel button action event, by institute
It states key operation event to cache into default storage region, and the panel button action event is sent to Android system
MenuService controls;
When intelligible, television equipment receive every time panel button action event all can by the key operation event into
Row caching (caching into default storage region);
Correspondingly, after the step S30, the method further includes:
Step S40:Panel button in the default storage region is discharged by the MenuService controls and operates thing
Part.
When intelligible, due to being all that broadcast mechanism is taken to broadcast key operation event before, and broadcast mechanism is excellent
First grade is very low, in fact it could happen that two kinds of problems, the first problem is may when television equipment is in very big processing pressure
Actively panel button action event in the default storage region will not be discharged in area, in turn resulting in makes with television equipment
Increased with the time and influence performance.Second of problem is since television equipment is too big in very big processing pressure, will not be incited somebody to action firm
The panel button action event just received is broadcasted, and the panel button action event that user has just triggered is caused to go out active
Situation.
In the present embodiment, MenuService control priority is very high, belongs to resident type service, can be right in hardware driving layer
After button data is responded, setting MenuService controls actively discharge the panel button in the default storage region
The function of action event can be cleared up in this way with the data cached of key operation event, alleviate the pressure of television equipment operation,
Be not in as the usage time of television equipment increases and influences performance, key operation event loss is caused to cause panel button
The phenomenon that can not being responded.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with panel button responder, following operation is realized when the panel button responder is executed by processor:
When the hardware driving layer of Android system captures panel button action event, by the panel button action event
It is sent to the MenuService controls of Android system;
The panel button action event is converted into button data by the MenuService controls of Android system, by institute
State the MenuControl modules that button data is sent to Android system;
The button data is fed back into the hardware driving layer by the MenuControl modules, so that the hardware
Driving layer responds the button data.
Further, following operation is also realized when the panel button responder is executed by processor:
The panel button action event is converted into button data by the MenuService controls of Android system, by institute
State the MenuControl modules that button data is sent to Android system by call-back manner.
Further, following operation is also realized when the panel button responder is executed by processor:
It is monitored from the MenuControl modules of Android system to the MenuService controls registered callbacks;
The MenuService controls are listened in the readjustment registered by described in as the MenuControl modules
When panel button action event is converted into button data, the button data sent by the MenuService controls is received.
Conversion process is carried out to the button data according to scene by the MenuControl modules.
Further, following operation is also realized when the panel button responder is executed by processor:
The button data is sent to application layer by the MenuControl modules;
The button data is fed back into the hardware driving layer by the application layer, so that the hardware driving layer is to institute
Button data is stated to be responded.
Further, following operation is also realized when the panel button responder is executed by processor:
The button data is analyzed by the MenuControl modules of Android system, is obtained and the panel button
The corresponding user behavior data of action event;
Display information corresponding with the button data is generated according to the user behavior data;The display information is anti-
The hardware driving layer is fed to, the display information is shown by the hardware driving layer.
Further, following operation is also realized when the panel button responder is executed by processor:
When the user behavior data reaches default pressing duration for the pressing duration of user's triggering panel button, generation
Default interface information, and the default interface information is fed back into the hardware driving layer;
The default interface information is shown by the hardware driving layer.
Further, following operation is also realized when the panel button responder is executed by processor:
Judge whether the user behavior data is default abnormal data, be default abnormal number in the user behavior data
According to when, the button data is intercepted.
Further, following operation is also realized when the panel button responder is executed by processor:
When the hardware driving layer of Android system captures panel button action event, the key operation event is cached
It extremely presets in storage region, and the panel button action event is sent to the MenuService controls of Android system.
Correspondingly, following operation is also realized when the panel button responder is executed by processor:
Panel button action event in the default storage region is discharged by the MenuService controls.
The television equipment of the present embodiment first when the hardware driving layer of Android system captures panel button action event,
Panel button action event is sent to MenuService controls;Again by MenuService controls by panel button action event
Button data is converted into, button data is sent to MenuControl modules;It finally will be by bond number by MenuControl modules
According to hardware driving layer is fed back to, so that hardware driving layer responds button data, since MenuService controls are with electricity
Start depending on device power-up, priority is far above broadcast mechanism, and television equipment can be quickly to button operation thing after starting
Part processing, is sent to MenuControl modules by button data by MenuService controls, reduces the operation pressure of television equipment
Power will not influence performance as the usage time of television equipment increases, improve the response speed of television equipment panel button.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or system institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, computer takes
Be engaged in device, air conditioner or the network equipment etc.) perform 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
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of panel button response method, which is characterized in that the method includes:
Television equipment operates the panel button when the hardware driving layer of Android system captures panel button action event
Event is sent to the MenuService controls of Android system;
The panel button action event is converted into button data by the MenuService controls of Android system, is pressed by described in
Key data is sent to the MenuControl modules of Android system;
The button data is fed back into the hardware driving layer by the MenuControl modules, so that the hardware driving
Layer responds the button data.
2. the method as described in claim 1, which is characterized in that the MenuService controls as Android system are by described in
Panel button action event is converted into button data, and the button data is sent to the MenuControl modules of Android system,
It specifically includes:
The panel button action event is converted into button data by the MenuService controls of Android system, is pressed by described in
Key data is sent to the MenuControl modules of Android system by call-back manner.
3. method as claimed in claim 2, which is characterized in that the MenuService controls as Android system are by described in
Panel button action event is converted into button data, and the button data is sent to Android system by call-back manner
Before MenuControl modules, further include:
It is monitored from the MenuControl modules of Android system to the MenuService controls registered callbacks;
Correspondingly, the panel button action event is converted by bond number by the MenuService controls by Android system
According to the button data by call-back manner to be sent to the MenuControl modules of Android system, is specifically included:
The MenuService controls are listened in the readjustment registered by the panel by the MenuControl modules
When key operation event is converted into button data, the button data sent by the MenuService controls is received;
Conversion process is carried out to the button data according to scene by the MenuControl modules.
4. the method as described in any one of claim 1-3, which is characterized in that described to be incited somebody to action by the MenuControl modules
The button data feeds back to the hardware driving layer, so that the hardware driving layer responds the button data, tool
Body includes:
The button data is sent to application layer by the MenuControl modules;
The button data is fed back into the hardware driving layer by the application layer, so that the hardware driving layer is pressed to described
Key data is responded.
5. method as claimed in claim 3, which is characterized in that it is described by the MenuControl modules according to scene to institute
It states button data and carries out conversion process, specifically include:
The button data is analyzed by the MenuControl modules of Android system, obtains and is operated with the panel button
The corresponding user behavior data of event;
Correspondingly, it is described that the button data is fed back into the hardware driving layer by the MenuControl modules, so that institute
It states hardware driving layer to respond the button data, specifically include:
Display information corresponding with the button data is generated according to the user behavior data, the display information is fed back to
The hardware driving layer is shown the display information by the hardware driving layer.
6. method as claimed in claim 5, which is characterized in that described according to user behavior data generation and the button
The corresponding display information of data, and the display information is fed back into the hardware driving layer, by the hardware driving layer to institute
It states display information to be shown, specifically include:
When the user behavior data reaches default pressing duration for the pressing duration of user's triggering panel button, generation is default
Interface information, and the default interface information is fed back into the hardware driving layer;
The default interface information is shown by the hardware driving layer.
7. method as claimed in claim 5, which is characterized in that described to obtain use corresponding with the panel button action event
After the behavioral data of family, further include:
Judge whether the user behavior data is default abnormal data, be default abnormal data in the user behavior data
When, the button data is intercepted.
8. the method as described in any one of claim 1-3, which is characterized in that the television equipment is in the hardware of Android system
When driving layer captures panel button action event, the panel button action event is sent to Android system
MenuService controls, specifically include:
Television equipment is when the hardware driving layer of Android system captures panel button action event, by the key operation event
It caches into default storage region, and the panel button action event is sent to the MenuService controls of Android system;
Correspondingly, it is described that the button data is fed back into the hardware driving layer by the MenuControl modules, so that institute
It states after hardware driving layer responds the button data, the method further includes:
Panel button action event in the default storage region is discharged by the MenuService controls.
9. a kind of television equipment, which is characterized in that the television equipment includes:Memory, processor and it is stored in the storage
On device and the panel button responder that can run on the processor, the panel button responder be arranged for carrying out as
The step of panel button response method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium panel by
Key responder realizes the face as described in any one of claim 1 to 8 when the panel button responder is executed by processor
The step of method of plate key response.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711439799.4A CN108153600B (en) | 2017-12-26 | 2017-12-26 | Panel key response method, television equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711439799.4A CN108153600B (en) | 2017-12-26 | 2017-12-26 | Panel key response method, television equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108153600A true CN108153600A (en) | 2018-06-12 |
CN108153600B CN108153600B (en) | 2021-09-28 |
Family
ID=62462143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711439799.4A Active CN108153600B (en) | 2017-12-26 | 2017-12-26 | Panel key response method, television equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108153600B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569091A (en) * | 2019-09-02 | 2019-12-13 | 深圳市丰润达科技有限公司 | single chip microcomputer key processing method and device and computer readable storage medium |
CN110753419A (en) * | 2019-09-05 | 2020-02-04 | 合肥美的洗衣机有限公司 | Key control method and device and household appliance |
CN111556354A (en) * | 2020-04-22 | 2020-08-18 | 深圳Tcl数字技术有限公司 | Global interface display method, television and computer readable storage medium |
CN112578984A (en) * | 2020-12-14 | 2021-03-30 | 成都紫瑞青云航空宇航技术有限公司 | Processing method and system for man-machine interaction event of synthetic vision system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160119675A1 (en) * | 2012-09-06 | 2016-04-28 | Flextronics Ap, Llc | Programming user behavior reporting |
US9338164B1 (en) * | 2014-04-14 | 2016-05-10 | Symantec Corporation | Two-way authentication using two-dimensional codes |
CN105979375A (en) * | 2016-05-31 | 2016-09-28 | 青岛海信电器股份有限公司 | Intelligent TV starting method and intelligent TV starting device |
CN106162279A (en) * | 2016-07-01 | 2016-11-23 | 青岛海信电器股份有限公司 | TV remote key response method based on Android operation system and TV |
US20160353559A1 (en) * | 2015-05-29 | 2016-12-01 | Lutron Electronics Co., Inc. | Associating wireless control devices |
CN106303742A (en) * | 2016-07-26 | 2017-01-04 | 深圳Tcl数字技术有限公司 | The response method of panel button operation and device |
CN106325668A (en) * | 2016-08-11 | 2017-01-11 | 网易(杭州)网络有限公司 | Touch event response processing method and system |
CN106775712A (en) * | 2016-12-14 | 2017-05-31 | 深圳Tcl数字技术有限公司 | The response method and device of Android system start-up course |
-
2017
- 2017-12-26 CN CN201711439799.4A patent/CN108153600B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160119675A1 (en) * | 2012-09-06 | 2016-04-28 | Flextronics Ap, Llc | Programming user behavior reporting |
US9338164B1 (en) * | 2014-04-14 | 2016-05-10 | Symantec Corporation | Two-way authentication using two-dimensional codes |
US20160353559A1 (en) * | 2015-05-29 | 2016-12-01 | Lutron Electronics Co., Inc. | Associating wireless control devices |
CN105979375A (en) * | 2016-05-31 | 2016-09-28 | 青岛海信电器股份有限公司 | Intelligent TV starting method and intelligent TV starting device |
CN106162279A (en) * | 2016-07-01 | 2016-11-23 | 青岛海信电器股份有限公司 | TV remote key response method based on Android operation system and TV |
CN106303742A (en) * | 2016-07-26 | 2017-01-04 | 深圳Tcl数字技术有限公司 | The response method of panel button operation and device |
CN106325668A (en) * | 2016-08-11 | 2017-01-11 | 网易(杭州)网络有限公司 | Touch event response processing method and system |
CN106775712A (en) * | 2016-12-14 | 2017-05-31 | 深圳Tcl数字技术有限公司 | The response method and device of Android system start-up course |
Non-Patent Citations (1)
Title |
---|
张锡超: "数字电视机顶盒中EPG功能实现的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569091A (en) * | 2019-09-02 | 2019-12-13 | 深圳市丰润达科技有限公司 | single chip microcomputer key processing method and device and computer readable storage medium |
CN110569091B (en) * | 2019-09-02 | 2022-12-02 | 深圳市丰润达科技有限公司 | Single chip microcomputer key processing method and device and computer readable storage medium |
CN110753419A (en) * | 2019-09-05 | 2020-02-04 | 合肥美的洗衣机有限公司 | Key control method and device and household appliance |
CN111556354A (en) * | 2020-04-22 | 2020-08-18 | 深圳Tcl数字技术有限公司 | Global interface display method, television and computer readable storage medium |
CN111556354B (en) * | 2020-04-22 | 2024-02-06 | 深圳Tcl数字技术有限公司 | Global interface display method, television and computer readable storage medium |
CN112578984A (en) * | 2020-12-14 | 2021-03-30 | 成都紫瑞青云航空宇航技术有限公司 | Processing method and system for man-machine interaction event of synthetic vision system |
Also Published As
Publication number | Publication date |
---|---|
CN108153600B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108153600A (en) | A kind of panel button response method, television equipment and computer readable storage medium | |
CN107124661B (en) | Communication method, device and system in live channel | |
CN108781415B (en) | Method and device for adjusting DRX related parameters | |
CN107634962B (en) | The management method and Related product of network bandwidth | |
CN113453161B (en) | Service transmission method, network side equipment and terminal | |
CN103581725A (en) | Method for controlling smart TV terminal through mobile terminal and relevant terminals | |
CN113301559B (en) | Terminal capability reporting method and device and electronic equipment | |
US20230189381A1 (en) | Information transmission method and apparatus, terminal, and network side device | |
KR102615710B1 (en) | Transmission method, transmission processing method, and related devices for multicast service | |
US20240130003A1 (en) | Multicast service transmission, transmission indication method and apparatus, terminal, and network side device | |
WO2022222792A1 (en) | Service processing method, related device, and readable storage medium | |
CN113938977A (en) | Data transmission method, data transmission device, network side equipment and first terminal | |
CN111586781A (en) | Call method and device | |
CN113453162B (en) | Service receiving method, configuration method, terminal and network equipment | |
CN111800734A (en) | Data transmission method, device, equipment and medium | |
CN102572703B (en) | Determination method for duration and multi-cell/multicast coordination entity | |
CN106792051A (en) | The key-press event overall situation distribution method and device of intelligent television | |
CN102202260B (en) | Realize method, system and MBMS receiving system that MBMS receives | |
CN114916062A (en) | Paging method and related equipment | |
CN115086882B (en) | Transmission method, apparatus, device, and readable storage medium | |
CN102340743B (en) | The processing method of MBMS and system, UE processing method and device | |
CN115226165B (en) | Transmission switching method, terminal and network side equipment | |
CN115379283B (en) | Video call method and device | |
WO2023078198A1 (en) | Network congestion control method, network side device and terminal | |
WO2023125364A1 (en) | Information acquisition method and apparatus, and terminal, base station and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |