CN108347638A - A kind of button processing method and system of IPTV set top box browser - Google Patents
A kind of button processing method and system of IPTV set top box browser Download PDFInfo
- Publication number
- CN108347638A CN108347638A CN201810163909.7A CN201810163909A CN108347638A CN 108347638 A CN108347638 A CN 108347638A CN 201810163909 A CN201810163909 A CN 201810163909A CN 108347638 A CN108347638 A CN 108347638A
- Authority
- CN
- China
- Prior art keywords
- key
- reconstruct
- button
- browser
- events
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- 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
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8166—Monomedia components thereof involving executable data, e.g. software
- H04N21/8173—End-user applications, e.g. Web browser, game
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Details Of Television Systems (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of button processing methods and system of IPTV set top box browser, are related to set-top box technique field.This method includes the following steps:When browser, which receives user, to be instructed to the button operation of current page by remote controler, the keystroke handling logic of browser acquiescence is closed;Reconstruct key-press event is sent to current page according to the button operation instruction received, wherein reconstruct the remote controller key information structuring during key-press event is instructed according to button operation and for executing button operation instruction.The present invention executes button operation instruction by reconstructing key-press event in current page, no matter the registration key-press event in current page is onkeypress, onkeydown or onkeyup event, it can ensure the correct execution of each button operation instruction, the difficulty for reducing the set box browser adaptation page, improves service quality and user experience.
Description
Technical field
The present invention relates to set-top box technique fields, are specifically related to a kind of button processing method of IPTV set top box browser
And system.
Background technology
Interactive television (Interactive Personality TV, IPTV) using broadband provide a user it is interactive and
Multimedia service, popularity is higher and higher in average family.IPTV set top box usually completes electronic programming by browser
The displaying of menu (Electronic Program Guide, EPG) business, remote controler is the primary input device of set-top box, is used
Family can be carried out by the page that the button of remote controler loads set box browser focus navigation (such as upper and lower, left and right and
Determination key), video Broadcast Control operation (such as F.F., rewind and pause etc.) and quick key operation (such as live streaming, program request, review
With information etc.) etc. operations, the service for selecting oneself to need.These remote controller keys processing event is defined on browser kernel and is used for
In the JavaScript scripts of loading page, i.e., the button of remote controler trigger corresponding keystroke handling event can realize it is above-mentioned
Operation.
In browser kernel, mainly device is remotely controlled using tri- events of onkeypress, onkeydown, onkeyup
Key-press event intercepts capture, wherein any button that user presses remote controler can all trigger onkeydown events, and user decontrols
Onkeyup events are triggered when any button for the remote controler pressed before, still, user pins the number key of remote controler, letter
It can just trigger onkeypress events when key or determination key, onkeypress events are unable to response system function key, such as before
Into with retreat etc..Since the page of different set box browsers load has the characteristics that diversity, scrambling, IPTV platforms
The author of JavaScript scripts can generally ignore the difference of onkeydown events and onkeypress events, directly will
The keystroke handling logical definition of onkeydown events causes user that can not pass through remote controler inside onkeypress events
Focus navigation is carried out to the page of browser load, can not also the operations such as skip forward/back be carried out to video, reduce service quality
And user experience.
Invention content
In view of the deficiencies in the prior art, pressing the purpose of the present invention is to provide a kind of IPTV set top box browser
Key processing method and system are held by reconstructing key-press event in current page after browser receives each button operation instruction
Row button operation instructs, and no matter the registration key-press event in current page is onkeypress, onkeydown or onkeyup
Event can ensure the correct execution of each button operation instruction, efficiently avoid carrying out focus navigation and vision operation
When button without response etc. various abnormal phenomenon, reduce set box browser adaptation the page difficulty, improve service quality and use
Family Experience Degree.
The present invention provides a kind of button processing method of IPTV set top box browser comprising following steps:
When browser, which receives user, to be instructed to the button operation of current page by remote controler, browser acquiescence is closed
Keystroke handling logic;
Reconstruct key-press event is sent to current page according to the button operation instruction received, wherein reconstruct key-press event
Remote controller key information structuring in being instructed according to button operation and for executing button operation instruction.
Based on the above technical solution, the reconstruct key-press event includes the onkeydown events of reconstruct, reconstruct
The onkeyup events of onkeypress events and reconstruct, wherein user presses any button triggering reconstruct of remote controler
Onkeydown events, user pin the onkeypress events of any button triggering reconstruct of remote controler, and user presses before decontroling
Under remote controler any button triggering reconstruct onkeyup events.
Based on the above technical solution, the key information of the reconstruct key-press event includes the button key of current page
Value, remote controller key key assignments, key assignments mark and key assignments, wherein remote controller key key assignments, key assignments mark and key assignments root
It is determined according to the remote controller key information, the button value of current page corresponds to remote controller key key assignments and according to fixed in advance
The key assignments mapping relations of justice determine.
Based on the above technical solution, after receiving the button operation instruction, browser is pressed according to the remote controler
Key information generates the key information of the reconstruct key-press event, and described in the key information construction based on the reconstruct key-press event
Reconstruct key-press event.
Based on the above technical solution, browser construct it is described reconstruct key-press event sequence be:The reconstruct
The onkeyup events of onkeydown events, the onkeypress events of reconstruct and reconstruct.
Based on the above technical solution, before browser receives the button operation instruction, the method is also wrapped
It includes:
Browser constructs the reconstruct key-press event according to previously selected remote controller key key assignments, wherein Yu Xianxuanding
Remote controller key key assignments be remote controler on some or all of button key assignments;
After browser receives the button operation instruction, according to the remote controller key information searching reconstruct accordingly
After key-press event, the reconstruct key-press event found is sent to the current page, otherwise, is based on the remote controller key
It is sent to the current page after reconstructing key-press event described in information structuring.
Based on the above technical solution, the registration key-press event in the current page is executed according to its key assignments
The onkeypress events of the onkeydown events, reconstruct that reconstruct accordingly or the onkeyup events of reconstruct.
Based on the above technical solution, the method further includes:The reconstruct is obtained in the current page to press
The implementing result of key events, and return result to browser kernel.
The present invention also provides a kind of key processing system of IPTV set top box browser, the system is set to the interior of browser
In core, the system comprises receiving module, shroud module and control modules;
The receiving module is used to receive user and is instructed to the button operation of current page by remote controler, and button is grasped
Make instruction and is sent to the shroud module;
The shroud module is used to close the keystroke handling logic of browser acquiescence according to the button operation instruction received;
The control module is sent to current page for will reconstruct key-press event, wherein reconstructs key-press event according to pressing
Remote controller key key assignments constructs and is used to execute button operation instruction in key operation instruction.
Based on the above technical solution, the reconstruct key-press event includes the onkeydown events of reconstruct, reconstruct
The onkeyup events of onkeypress events and reconstruct, wherein user presses any button triggering reconstruct of remote controler
Onkeydown events, user pin the onkeypress events of any button triggering reconstruct of remote controler, and user presses before decontroling
Under remote controler any button triggering reconstruct onkeyup events.
Based on the above technical solution, the key information of the reconstruct key-press event includes the button key of current page
Value, remote controller key key assignments, key assignments mark and key assignments, wherein remote controller key key assignments, key assignments mark and key assignments root
It is determined according to the remote controller key information, the button value of current page corresponds to remote controller key key assignments and according to pre-defined
Key assignments mapping relations determine.
Based on the above technical solution, the control module is used to be generated according to button operation instruction described heavy
The key information of structure key-press event, and the key information based on the reconstruct key-press event constructs the reconstruct key-press event.
Based on the above technical solution, the system also includes memory modules;
The control module is additionally operable to construct the reconstruct key-press event according to previously selected remote controller key key assignments, and
It is sent in the memory module and preserves, wherein previously selected remote controller key key assignments is some or all of on remote controler
The key assignments of button;
The control module is additionally operable to be deposited described according to the remote controller key information of the button operation instruction received
It stores up and searches the corresponding reconstruct key-press event in module, the reconstruct key-press event found is sent to the current page
Face.
Based on the above technical solution, the system also includes analysis module, the analysis module is used for described
The implementing result of the reconstruct key-press event is obtained in current page, and returns result to browser kernel.
Compared with prior art, advantages of the present invention is as follows:
(1) after browser receives each button operation instruction, reconstruct all is constructed to button operation instruction
The onkeyup events of onkeydown events, the onkeypress events of reconstruct and reconstruct, by reconstructing key-press event current
Execute button operation instruction in the page, no matter the registration key-press event in current page be onkeypress, onkeydown or
Onkeyup events can ensure the correct execution of each button operation instruction, efficiently avoid carrying out focus navigation and regarding
Button reduces the difficulty of the set box browser adaptation page, improves Service Quality without various abnormal phenomenon such as responses when frequency operates
Amount and user experience.
(2) can in different browser versions Rapid transplant, later maintenance cost is low, improves development efficiency, can
It is widely used in set box browser field.
Description of the drawings
Fig. 1 is the button processing method flow chart of first embodiment of the invention IPTV set top box browser;
Fig. 2 is the key processing system schematic diagram of fifth embodiment of the invention IPTV set top box browser.
Specific implementation mode
The embodiment of the present invention provides a kind of button processing method of IPTV set top box browser, leads to when browser receives user
When crossing button operation instruction of the remote controler to current page, the keystroke handling logic of browser acquiescence is closed;According to receive by
Reconstruct key-press event is sent to current page by key operation instruction, wherein during reconstruct key-press event is instructed according to button operation
Remote controller key information structuring is simultaneously instructed for executing button operation.
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, first embodiment of the invention provides a kind of button processing method of IPTV set top box browser,
Include the following steps:
S110. after set-top-box opening and browser application start, browser loads the EPG pages.
In the various embodiments of the invention, each button of remote controler is had registered in the script of the current page of browser load
Handle logic, wherein registration key-press event includes the button thing of the Window objects of browser, Document objects or element
Part each registers the key assignments of key-press event as keydown, keypress or keyup.
Window objects indicate the window opened in browser.Browser can be that html document creates one Window pairs
As, and create an additional Window object for each frame.Document objects are the root nodes of html document and own
Other nodes (node element, text node, attribute node, comment nodes).Document objects can be from script to HTML
All elements in the page access.Document objects are a parts for Window objects, can be passed through
Window.document attributes access to it.Element rank is the child node of HTML, can be passed through
Document.getElementById (" demo ") finds corresponding HTML nodes.
Register method obj.addEventListener can be used, can also directly be defined such as document.onkeydown
=function test () { }, but not limited to this, the practical literary style of current page of being subject to.obj.addEventListener
It is the literary style that the page registers key-press event with document.onkeydown=function test () { }, it is specific as follows:
A kind of registration key mode is as follows:
Another kind register the method for button as:Document.onkeydown=keydown11 can also be
Document.onkeypress=** functions or document.onkeyup=** functions;Function keydown11 is as above fixed
Justice.
Both above registration is all Document ranks, can also be directed to Window or element level registry, method are same
On, the action scope only registered is different.Either Window objects, Document objects or element rank have registered
Onkeydown, onkeypress or onkeyup event can be performed to.
S120. it receives user to instruct the button operation of current page by remote controler, the button operation received is instructed
Remote controller key information is obtained after being parsed.
Wherein, the remote control message that user is sent by remote controller key can control on set-top box by conversion and mapping
Various application programs, including browser application.User's current operation button institute can be obtained according to remote controller key information
Corresponding remote controller key key assignments, key assignments mark and key assignments.
S130. the keystroke handling logic of browser acquiescence is closed.The keystroke handling logic of browser acquiescence is in browser
The original button of core triggers logic, wherein number key, letter key or the determination key of onkeypress event response remote controlers,
Be unable to response system function key, such as advance, retreat and delete etc..
S140. key-press event is reconstructed according to remote controller key information structuring.
Specifically, reconstruct key-press event includes onkeydown events, the onkeypress events of reconstruct and the reconstruct of reconstruct
Onkeyup events, wherein user press remote controler any button triggering reconstruct onkeydown events, user pins distant
The onkeypress events of any button triggering reconstruct of device are controlled, user decontrols any button triggering for the remote controler pressed before
The onkeyup events of reconstruct.
The key information of reconstruct key-press event includes the button value of current page, remote controller key key assignments, key assignments mark
And key assignments, wherein remote controller key key assignments, key assignments mark and key assignments are according to the determination of remote controller key information, currently
The button value of the page corresponds to remote controller key key assignments and is determined according to pre-defined key assignments mapping relations, and browser adds
While load current page or before, the key assignments mapping relations are obtained from IPTV platforms.
The key assignments of the onkeydown events of reconstruct are that button presses (keydown) downwards, the onkeypress things of reconstruct
The key assignments of part are to press & hold (keypress), and the key assignments relieving of the onkeyup events of reconstruct is pressed before
Button (keyup).
Specifically, after receiving button operation instruction, browser generates reconstruct key-press event according to remote controller key information
Key information, and the key information construction reconstruct key-press event based on reconstruct key-press event.
Step S140 includes the following steps:
S141 key assignments maps.The button operation instruction that remote controler is sent out is suitable for all set-top box application programs, application
The remote controller key information carried in button operation instruction is analyzed and handled to program, and remote controller key key assignments is turned by system key assignments
Turn to the button value of current page.
The onkeydown events of S142 construction reconstruct are simultaneously sent in the current page of browser load.Reconstruct
Onkeydown events need to include following key information:The button value of current page, remote controller key key assignments, key assignments mark,
Key assignments (being keydown here) etc..The current page of browser load refers to that browser focuses the page of (focus).
The onkeypress events of S143 construction reconstruct are simultaneously sent in the page that browser currently loads.Reconstruct
Onkeypress events need to include following information:The button value of current page, remote controller key key assignments, key assignments mark, key
Value Types (being keypress here) etc..
The onkeyup events of S144 construction reconstruct are simultaneously sent in the page that browser currently loads.The onkeyup of reconstruct
Event needs to include following information:The button value of current page, remote controller key key assignments, key assignments mark are (such as to the right
Right, carriage return Enter etc.), key assignments (being keyup here) etc..
Step S142, S143 and S144 sequences execute, i.e. the sequence of browser construction reconstruct key-press event is:Reconstruct
The onkeyup events of onkeydown events, the onkeypress events of reconstruct and reconstruct.Current page receives reconstruct button thing
The sequence of part is the onkeydown events of reconstruct>The onkeypress events of reconstruct>The onkeyup events of reconstruct.
S150. reconstruct key-press event is sent to current page and executes button operation instruction.
The onkeyup events of the onkeydown events of reconstruct, the onkeypress events of reconstruct and reconstruct issue current page
Face, registration key-press event in current page execute the onkeydown events reconstructed accordingly, reconstruct according to its key assignments
Onkeypress events or the onkeyup events of reconstruct are different from the key assignments of key-press event are registered in current page
Reconstruct key-press event can be discarded by current page and (not handled).Corresponding reconstruct key-press event has with registration key-press event
The button value of one-to-one remote controller key key assignments and current page, and key assignments mark is identical with key assignments.For example, working as
The key assignments for registering key-press event in the preceding page is keypress, and the registration key-press event in current page is according to the key assignments
Type executes the onkeypress events reconstructed accordingly, and abandons the onkeydown events of reconstruct and the onkeyup things of reconstruct
Part.
After browser receives each button operation instruction, the onkeydown of reconstruct is all constructed to button operation instruction
The onkeyup events of event, the onkeypress events of reconstruct and reconstruct are executed by reconstructing key-press event in current page
Button operation instructs, and no matter the registration key-press event in current page is onkeypress, onkeydown or onkeyup thing
Part can ensure the correct execution of each button operation instruction, efficiently avoid when carrying out focus navigation and vision operation
Button reduces the difficulty of the set box browser adaptation page, improves service quality and user without various abnormal phenomenon such as responses
Experience Degree.
On the basis of first embodiment of the invention, the keystroke handling side of second embodiment of the invention IPTV set top box browser
Method further includes the implementing result of reconstruct key-press event being obtained in current page, and return result to browser kernel.
Specifically, analysis content include reconstruct key-press event whether perform current page registration key-press event and
The return value of execution, return value here is true or false, gives tacit consent in the case of the no related return value of current page and returns
It is true to return.
The button processing method of third embodiment of the invention IPTV set top box browser includes the following steps:
S210. after set-top-box opening and browser application start, browser loads the EPG pages.
S220. browser constructs reconstruct key-press event according to previously selected remote controller key key assignments, wherein Yu Xianxuanding
Remote controller key key assignments be remote controler on some or all of button key assignments, for example, previously selected remote controller key key
Value is the common button on remote controler, to each previously selected remote controller key, all construction reconstruct key-press event, reconstructs button
Event illustrates in the first embodiment of the invention, repeats no more.
S230. it receives user to instruct the button operation of current page by remote controler, the button operation received is instructed
Remote controller key information is obtained after being parsed.
S240. the keystroke handling logic of browser acquiescence is closed.
S250. after reconstructing key-press event accordingly according to remote controller key information searching, if finding, S260 is entered step;
Otherwise, S270 is entered step.
S260. the reconstruct key-press event found is sent to current page and executes button operation instruction, terminated.
S270. key-press event is reconstructed according to remote controller key information structuring, specific configuration process is real referring to the present invention first
Example is applied, details are not described herein again.
S280. the reconstruct key-press event of construction is sent to current page and executes button operation instruction, terminated.
To each previously selected remote controller key, all construction reconstruct key-press event, when the button of user's operation is advance
When selected remote controller key, the reconstruct key-press event constructed in advance can be sent to current page immediately and held by browser
Row further increases service quality and user experience to reduce the response time of the operation to user.
On the basis of third embodiment of the invention, the keystroke handling of fourth embodiment of the invention IPTV set top box browser
Method further includes the implementing result of reconstruct key-press event being obtained in current page, and return result to browser kernel.
This method can in different browser versions Rapid transplant, later maintenance cost is low, improves development efficiency,
It can be widely applied to set box browser field.
Shown in Figure 2, fifth embodiment of the invention provides a kind of key processing system of IPTV set top box browser, this
Key processing system can be set in the kernel of browser as button middleware program, this key processing system includes receiving mould
Block, shroud module and control module.
Receiving module is used to receive user and is instructed to the button operation of current page by remote controler, and button operation is referred to
Order is sent to shroud module.
Shroud module is used to close the keystroke handling logic of browser acquiescence according to the button operation instruction received.
Control module is sent to current page for that will reconstruct key-press event, wherein reconstruct key-press event is grasped according to button
Remote controller key key assignments constructs and is used to execute button operation instruction in instructing.
Specifically, reconstruct key-press event includes onkeydown events, the onkeypress events of reconstruct and the reconstruct of reconstruct
Onkeyup events, wherein user press remote controler any button triggering reconstruct onkeydown events, user pins distant
The onkeypress events of any button triggering reconstruct of device are controlled, user decontrols any button triggering for the remote controler pressed before
The onkeyup events of reconstruct.
The key information of reconstruct key-press event includes the button value of current page, remote controller key key assignments, key assignments mark
And key assignments, wherein remote controller key key assignments, key assignments mark and key assignments are according to the determination of remote controller key information, currently
The button value of the page corresponds to remote controller key key assignments and is determined according to pre-defined key assignments mapping relations.
Specifically, control module is used to instruct the key information for generating reconstruct key-press event according to button operation, and it is based on
Reconstruct the key information construction reconstruct key-press event of key-press event.
On the basis of fifth embodiment of the invention, the keystroke handling of sixth embodiment of the invention IPTV set top box browser
System further includes analysis module, and analysis module reconstructs the implementing result of key-press event for being obtained in current page, and will knot
Fruit returns to browser kernel.
On the basis of fifth embodiment of the invention, the keystroke handling of seventh embodiment of the invention IPTV set top box browser
System further includes memory module.
Specifically, control module is additionally operable to construct reconstruct key-press event according to previously selected remote controller key key assignments, and
It is sent in memory module and preserves, wherein previously selected remote controller key key assignments is some or all of button on remote controler
Key assignments.And corresponding reconstruct is searched according to the remote controller key information of the button operation instruction received in a storage module
The reconstruct key-press event found is sent to current page by key-press event.
On the basis of seventh embodiment of the invention, the keystroke handling of eighth embodiment of the invention IPTV set top box browser
System further includes analysis module, and analysis module reconstructs the implementing result of key-press event for being obtained in current page, and will knot
Fruit returns to browser kernel.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention
Within the scope of.The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (14)
1. a kind of button processing method of IPTV set top box browser, which is characterized in that it includes the following steps:
When browser, which receives user, to be instructed to the button operation of current page by remote controler, the button of browser acquiescence is closed
Handle logic;
According to receive button operation instruction will reconstruct key-press event is sent to current page, wherein reconstruct key-press event according to
Button operation instruction in remote controller key information structuring and for execute button operation instruction.
2. the button processing method of IPTV set top box browser as described in claim 1, it is characterised in that:The reconstruct button
Event includes the onkeydown events of reconstruct, the onkeyup events of the onkeypress events of reconstruct and reconstruct, wherein user
The onkeydown events of any button triggering reconstruct of remote controler are pressed, user pins any button triggering reconstruct of remote controler
Onkeypress events, user decontrol press before remote controler any button triggering reconstruct onkeyup events.
3. the button processing method of IPTV set top box browser as claimed in claim 2, it is characterised in that:The reconstruct button
The key information of event includes the button value of current page, remote controller key key assignments, key assignments mark and key assignments, wherein
Remote controller key key assignments, key assignments identify and key assignments are determined according to the remote controller key information, the button key of current page
Value is determined corresponding to remote controller key key assignments and according to pre-defined key assignments mapping relations.
4. the button processing method of IPTV set top box browser as claimed in claim 3, it is characterised in that:Receive the button
After operational order, browser generates the key information of the reconstruct key-press event according to the remote controller key information, and is based on
The key information of the reconstruct key-press event constructs the reconstruct key-press event.
5. the button processing method of IPTV set top box browser as claimed in claim 4, which is characterized in that browser constructs institute
State reconstruct key-press event sequence be:The onkeydown events of the reconstruct, the onkeypress events of reconstruct and reconstruct
Onkeyup events.
6. the button processing method of IPTV set top box browser as claimed in claim 3, which is characterized in that received in browser
Before the button operation instruction, the method further includes:
Browser constructs the reconstruct key-press event according to previously selected remote controller key key assignments, wherein previously selected distant
Control the key assignments that device button value is some or all of button on remote controler;
After browser receives button operation instruction, according to the remote controller key information searching reconstruct button accordingly
After event, the reconstruct key-press event found is sent to the current page, otherwise, is based on the remote controller key information
It is sent to the current page after constructing the reconstruct key-press event.
7. the button processing method of IPTV set top box browser as claimed in claim 2, it is characterised in that:The current page
Interior registration key-press event executes the onkeypress of the onkeydown events, reconstruct that reconstruct accordingly according to its key assignments
Event or the onkeyup events of reconstruct.
8. the button processing method of IPTV set top box browser as described in any one of claim 1 to 7, which is characterized in that institute
The method of stating further includes:The implementing result of the reconstruct key-press event is obtained in the current page, and is returned result to clear
Look at device kernel.
9. a kind of key processing system of IPTV set top box browser, it is characterised in that:The system is set to the kernel of browser
In, the system comprises receiving module, shroud module and control modules;
The receiving module is used to receive user and is instructed to the button operation of current page by remote controler, and button operation is referred to
Order is sent to the shroud module;
The shroud module is used to close the keystroke handling logic of browser acquiescence according to the button operation instruction received;
The control module is sent to current page for that will reconstruct key-press event, wherein reconstruct key-press event is grasped according to button
Remote controller key key assignments constructs and is used to execute button operation instruction in instructing.
10. the key processing system of IPTV set top box browser as claimed in claim 9, it is characterised in that:The reconstruct is pressed
Key events include the onkeydown events of reconstruct, the onkeyup events of the onkeypress events of reconstruct and reconstruct, wherein are used
The onkeydown events of any button triggering reconstruct of remote controler are pressed at family, and user pins any button triggering weight of remote controler
The onkeypress events of structure, user decontrol the onkeyup events of any button triggering reconstruct for the remote controler pressed before.
11. the key processing system of IPTV set top box browser as claimed in claim 10, it is characterised in that:The reconstruct is pressed
The key information of key events includes the button value of current page, remote controller key key assignments, key assignments identifies and key assignments,
In, remote controller key key assignments, key assignments mark and key assignments are determined according to the remote controller key information, the button of current page
Key assignments corresponds to remote controller key key assignments and is determined according to pre-defined key assignments mapping relations.
12. the key processing system of IPTV set top box browser as claimed in claim 11, it is characterised in that:The control mould
Block is used to generate the key information of the reconstruct key-press event according to button operation instruction, and is based on the reconstruct button thing
The key information of part constructs the reconstruct key-press event.
13. the key processing system of IPTV set top box browser as claimed in claim 12, it is characterised in that:The system is also
Including memory module;
The control module is additionally operable to construct the reconstruct key-press event according to previously selected remote controller key key assignments, and sends
To being preserved in the memory module, wherein previously selected remote controller key key assignments is some or all of button on remote controler
Key assignments;
The control module is additionally operable to the remote controller key information according to the button operation instruction received in the storage mould
The corresponding reconstruct key-press event is searched in block, and the reconstruct key-press event found is sent to the current page.
14. such as the key processing system of claim 9 to 13 any one of them IPTV set top box browser, it is characterised in that:
The system also includes analysis module, the analysis module is used to obtain the reconstruct key-press event in the current page
Implementing result, and return result to browser kernel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810163909.7A CN108347638B (en) | 2018-02-27 | 2018-02-27 | Key processing method and system for IPTV set top box browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810163909.7A CN108347638B (en) | 2018-02-27 | 2018-02-27 | Key processing method and system for IPTV set top box browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108347638A true CN108347638A (en) | 2018-07-31 |
CN108347638B CN108347638B (en) | 2020-10-27 |
Family
ID=62958933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810163909.7A Active CN108347638B (en) | 2018-02-27 | 2018-02-27 | Key processing method and system for IPTV set top box browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108347638B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948092A (en) * | 2019-03-20 | 2019-06-28 | 四川长虹电器股份有限公司 | A kind of method of Android TV platform lightweight browsers engine pages button control |
CN112073779A (en) * | 2019-06-10 | 2020-12-11 | 海信视像科技股份有限公司 | Display device and fault-tolerant method for key transmission |
CN112312179A (en) * | 2019-07-23 | 2021-02-02 | 青岛海信宽带多媒体技术有限公司 | Key response method, equipment and play control terminal |
CN115334343A (en) * | 2022-08-01 | 2022-11-11 | 中国电信股份有限公司 | Method and device for controlling IPTV service |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092917A (en) * | 2012-12-20 | 2013-05-08 | 山东舜德数据管理软件工程有限公司 | Method of achieving query of business dictionary of browser page by custom tag |
CN103294467A (en) * | 2012-11-27 | 2013-09-11 | 乐视致新电子科技(天津)有限公司 | Method for moving webpage focus on terminal browser by utilizing remote controller |
CN104506941A (en) * | 2014-12-11 | 2015-04-08 | 中国科学院声学研究所 | Key event processing method and device in smart television |
CN105791992A (en) * | 2014-12-23 | 2016-07-20 | 中国电信股份有限公司 | Control method and system for web page of set top box and set top box |
CN105847922A (en) * | 2016-04-01 | 2016-08-10 | 青岛海信电器股份有限公司 | Intelligent television control method and intelligent television |
US20180007308A1 (en) * | 2016-07-01 | 2018-01-04 | Hisense Electric Co., Ltd. | Method for televison remote keypress response based on android operating system and televison thereof |
-
2018
- 2018-02-27 CN CN201810163909.7A patent/CN108347638B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103294467A (en) * | 2012-11-27 | 2013-09-11 | 乐视致新电子科技(天津)有限公司 | Method for moving webpage focus on terminal browser by utilizing remote controller |
CN103092917A (en) * | 2012-12-20 | 2013-05-08 | 山东舜德数据管理软件工程有限公司 | Method of achieving query of business dictionary of browser page by custom tag |
CN104506941A (en) * | 2014-12-11 | 2015-04-08 | 中国科学院声学研究所 | Key event processing method and device in smart television |
CN105791992A (en) * | 2014-12-23 | 2016-07-20 | 中国电信股份有限公司 | Control method and system for web page of set top box and set top box |
CN105847922A (en) * | 2016-04-01 | 2016-08-10 | 青岛海信电器股份有限公司 | Intelligent television control method and intelligent television |
US20180007308A1 (en) * | 2016-07-01 | 2018-01-04 | Hisense Electric Co., Ltd. | Method for televison remote keypress response based on android operating system and televison thereof |
Non-Patent Citations (1)
Title |
---|
罗培松: "IPTV机顶盒的浏览器设计与实现", 《华中科技大学硕士学位论文》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109948092A (en) * | 2019-03-20 | 2019-06-28 | 四川长虹电器股份有限公司 | A kind of method of Android TV platform lightweight browsers engine pages button control |
CN112073779A (en) * | 2019-06-10 | 2020-12-11 | 海信视像科技股份有限公司 | Display device and fault-tolerant method for key transmission |
CN112073779B (en) * | 2019-06-10 | 2023-02-17 | 海信视像科技股份有限公司 | Display device and fault-tolerant method for key transmission |
CN112312179A (en) * | 2019-07-23 | 2021-02-02 | 青岛海信宽带多媒体技术有限公司 | Key response method, equipment and play control terminal |
CN112312179B (en) * | 2019-07-23 | 2024-03-01 | 青岛海信宽带多媒体技术有限公司 | Key response method, equipment and play control terminal |
CN115334343A (en) * | 2022-08-01 | 2022-11-11 | 中国电信股份有限公司 | Method and device for controlling IPTV service |
Also Published As
Publication number | Publication date |
---|---|
CN108347638B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108347638A (en) | A kind of button processing method and system of IPTV set top box browser | |
Singh et al. | Exs: Explainable search using local model agnostic interpretability | |
JP7317879B2 (en) | METHOD AND DEVICE, ELECTRONIC DEVICE, STORAGE MEDIUM AND COMPUTER PROGRAM FOR RECOGNIZING VIDEO | |
CN109033115B (en) | Dynamic webpage crawler system | |
Wang et al. | Efficient video transformers with spatial-temporal token selection | |
US8838651B2 (en) | Database system testing | |
US10261999B2 (en) | Searching multimedia based on trigger events | |
US20190243883A1 (en) | Internet browsing | |
CN110784759A (en) | Barrage information processing method and device, electronic equipment and storage medium | |
CN105608005B (en) | The test method and system of a kind of television system | |
CN102932390A (en) | Network request processing method and system, and network service providing device | |
CN105100913B (en) | Video access method and system, set top box, proxy server and media server | |
CN106776318A (en) | A kind of test script method for recording and system | |
US11303969B2 (en) | Methods and systems for implementing an elastic cloud based voice search using a third-party search provider | |
GB2539262A (en) | Testing interactive network systems | |
CN105791971A (en) | method and device for switching stream media audio | |
Chaqfeh et al. | JSAnalyzer: a Web developer tool for simplifying mobile Web pages through non-critical JavaScript elimination | |
CN112383623A (en) | Multimedia file processing method and device, terminal and network access point equipment | |
CN117251538A (en) | Document processing method, computer terminal and computer readable storage medium | |
CN112866793B (en) | Media mode switching method, device, equipment and storage medium | |
CN112333560B (en) | Webpage video analysis playing method, device, equipment and readable storage medium | |
US20170171269A1 (en) | Media content playback method, apparatus and system | |
KR101498920B1 (en) | Web page pre-caching system and method for offline-executing | |
CN111966253A (en) | Page focus processing method and device, electronic equipment and computer storage medium | |
CN111125587B (en) | Webpage structure optimization method, device, equipment 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 |