CN109874060B - Error prompting method and system for browser nested hidden page - Google Patents

Error prompting method and system for browser nested hidden page Download PDF

Info

Publication number
CN109874060B
CN109874060B CN201910008892.2A CN201910008892A CN109874060B CN 109874060 B CN109874060 B CN 109874060B CN 201910008892 A CN201910008892 A CN 201910008892A CN 109874060 B CN109874060 B CN 109874060B
Authority
CN
China
Prior art keywords
page
sub
user
epg
hidden
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910008892.2A
Other languages
Chinese (zh)
Other versions
CN109874060A (en
Inventor
邵艳洁
姜超
陈世庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910008892.2A priority Critical patent/CN109874060B/en
Publication of CN109874060A publication Critical patent/CN109874060A/en
Application granted granted Critical
Publication of CN109874060B publication Critical patent/CN109874060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an error prompting method and system for a browser nested hidden page, and relates to the technical field of terminal set-top boxes. The method comprises the steps of determining the characteristics of key hidden sub-pages in a frame page by analyzing an EPG page, and presetting the characteristic values into an IPTV system; when a user watches IPTV programs through a set-top box, if a browser detects that a specific type of HTTP error occurs in an EPG page request, whether the page is a key hidden sub-page is checked, if so, a page containing error information is generated and pushed to the user, the user can select operations such as restarting, reloading an EPG home page, dialing a customer service call and the like, user experience is improved, and the complaint rate of the user is reduced.

Description

Error prompting method and system for browser nested hidden page
Technical Field
The invention relates to the technical field of terminal set-top boxes, in particular to an error prompting method and system for nested hidden pages of a browser.
Background
With the rapid development of network construction, video services have increased greatly, and especially the number of users who use IPTV set-top boxes as home entertainment centers has increased year by year. Today, network resource applications and service contents are becoming huge, people's demands for IPTV set-top boxes are not limited to diversified functions, but also put higher demands on user experience and the like.
An EPG page of an IPTV is generally a frame page in which a plurality of sub-pages are nested, where only one sub-page is visible for showing EPG content to a user, and other sub-pages are hidden and invisible to the user for implementing key functions such as heartbeat and broadcast control. If some nested hidden sub-page has HTTP exception such as 404, 500, etc. during loading, the sub-page has corresponding error description, but because these sub-pages are hidden, the user can not know that the page loading exception occurs. However, when the loading of key sub-pages such as heartbeat and broadcast control is abnormal, partial functions of the EPG may fail, for example, heartbeat keep-alive and broadcast control operation cannot be performed normally, which affects user experience, and a user may complain to an operator because of the abnormal operation. The invention aims to solve the problem that a user is agnostic when a key hidden page nested in a frame page is subjected to error prompt.
Disclosure of Invention
The invention aims to overcome the defects of the background technology and provides a method and a system for prompting the error of a nested hidden page of a browser, which can prompt a user in time when a hidden sub-page which causes partial function failure of an EPG is loaded with an error.
In a first aspect, an error prompt method for a nested hidden page of a browser is provided, which includes the following steps:
analyzing an EPG page, determining a characteristic value of a key hidden sub-page in a frame page, and presetting the characteristic value into an IPTV system;
the browser detects that the EPG page request has a set type of HTTP error, judges whether the page meets the preset characteristic value of a key hidden sub-page, if so, judges that the page is the key hidden sub-page, generates a page containing error information and pushes the page to a user, otherwise, the page is not processed.
According to the first aspect, in a first possible implementation manner of the first aspect, the feature value of the key hidden sub-page includes:
the sub-page is in a frame of size 0 in the frame page;
the display style of the sub-page is visability: hidden or display: none;
and the name or id value of the frame where the sub-page is located is as follows: refwin, CTRL, channelAuthWin, or reminndwin.
According to the first aspect, in a second possible implementation manner of the first aspect, the HTTP errors of the set types include 400, 403, and 404 network type errors and 500 and 502 server type errors.
According to the first aspect, in a third possible implementation manner of the first aspect, the method further includes the step of providing a prompt for selecting to restart, reload an EPG home page, or make a customer service call to the user when the browser generates a page including error information and pushes the page to the user if the sub page is a key hidden sub page.
According to the first aspect, in a fourth possible implementation manner of the first aspect, the method specifically includes the following steps:
step S1, analyzing EPG page, determining the characteristics of key hidden sub-page in frame page, and presetting these characteristic values into IPTV system;
step S2, when the user watches IPTV program through the set-top box and the browser detects that the EPG page request has HTTP error of 400, 403, 404, 500, 502 types, executing step S3;
step S3, judging whether the page is a key hidden sub-page according to the characteristics preset in the step S1, if so, executing the step S4;
and step S4, the browser generates a page containing error information and pushes the page to the user, and prompts the user to select restarting, reloading the EPG home page or calling a customer service telephone for operation.
In a second aspect, an error prompt system for nesting hidden pages in a browser is provided, which includes:
a feature value presetting module for: analyzing an EPG page, determining a characteristic value of a key hidden sub-page in a frame page, and presetting the characteristic value into an IPTV system;
a page fault handling module to: when the browser detects that the EPG page request has a set type of HTTP error, judging whether the page meets the preset characteristic value of a key hidden sub-page, if so, judging that the page is the key hidden sub-page, generating a page containing error information and pushing the page to a user, otherwise, not processing.
According to the second aspect, in a first possible implementation manner of the second aspect, the feature values of the key hidden sub-pages include:
the sub-page is in a frame of size 0 in the frame page;
the display style of the sub-page is visability: hidden or display: none;
and the name or id value of the frame where the sub-page is located is as follows: refwin, CTRL, channelAuthWin, or reminndwin.
According to the second aspect, in a second possible implementation manner of the second aspect, the set type of HTTP error includes a network error or a server type error.
According to the second aspect, in a third possible implementation manner of the second aspect, the system further includes an operation prompting module, where the operation prompting module is configured to: and when the sub-page is judged to be the key hidden sub-page, generating a page containing error information and pushing the page to the user, and providing a prompt for selecting restarting, reloading an EPG home page or dialing customer service telephone operation for the user.
According to the second aspect, in a fourth possible implementation manner of the second aspect, the method specifically includes the following steps: the key hiding sub-pages comprise a heartbeat hiding sub-page and a broadcast control hiding sub-page.
Compared with the prior art, the invention has the following advantages:
the method comprises the steps of determining the characteristics of key hidden sub-pages in a frame page by analyzing an EPG page, and presetting the characteristic values into an IPTV system; when a user watches IPTV programs through a set-top box, if a browser detects that HTTP errors occur in an EPG page request, whether the page is a key hidden sub-page is checked, if yes, a page containing error information is generated and pushed to the user, and the user can select operations such as restarting, reloading an EPG home page, dialing a customer service call and the like. The beneficial effects are as follows:
1. user experience is improved: when the hidden subpage loading error which causes partial functions of the EPG to be invalid occurs, the user is prompted in time, and the user can restart, reload the EPG home page, dial a customer service call and the like according to the prompt.
2. And (3) reducing the complaint rate of users: under the condition that the normal use of the EPG is influenced by the loading error of the key hidden subpage, the user can operate by himself according to the displayed error information, and if the user operates normally by himself, the user does not complain to an operator.
Drawings
Fig. 1 is a flowchart illustrating an error prompt method for a nested hidden page of a browser according to an embodiment of the present invention.
Detailed Description
Description of terms:
IPTV: the interactive network television is a brand-new technology which integrates a plurality of technologies such as internet, multimedia, communication and the like by utilizing a broadband cable television network and provides a plurality of interactive services including digital televisions for home users. The international definition of IPTV is that of a wired or wireless Ip network with QoS authentication, which can control secure transmission, and provide multimedia services including video, audio (including voice), text, graphics, and data services. The receiving terminal comprises a television, a Pad, a mobile phone, a mobile television and other similar terminals. The definition of IPTV in China is that the terminal based on the cable Ip network is the multimedia service of a television through controllable and controllable safe QoS transmission.
EPG: EPG is an english abbreviation of Electronic Program Guide, meaning Electronic Program Guide. The indexing and navigation of various services provided by IPTV are all accomplished through the EPG system. The IPTV EPG is actually a portal system of IPTV. The interface of the EPG system is similar to a Web page, and various menus, buttons, links and other components which can be directly clicked when a user selects a program are generally provided on the EPG interface; the EPG may also include various types of dynamic or static multimedia content on its interface for the user to browse through.
HTTP error: HTTP errors are error cues that are added for browsers not being able to connect to the server. Guiding and telling the viewer where the page is problematic. Common HTTP errors are as follows:
errors occurring in 4xx clients
400 error request-there is a syntax problem in the request, or the request cannot be satisfied.
401 unauthorized-unauthorized clients access data.
A payment is required 402-indicating that the billing system is active.
403 prohibited-access is not required even if authorized.
404-the server cannot find a given resource; the document does not exist.
407 proxy authentication request-the client first has to authenticate itself using the proxy.
415 media type is not supported-the server rejects the service request because the format of the requesting entity is not supported.
Errors in 5xx servers
500 internal error-because of an unexpected situation, the server cannot complete the request.
501 not executed-the server does not support the requested tool.
502 error gateway-server receives an invalid response from an upstream server.
503 cannot get service-the server cannot process the request due to temporary overload or maintenance.
The invention is described in further detail below with reference to the figures and the embodiments.
Example 1:
referring to fig. 1, an embodiment of the present invention provides an error prompting method for a nested hidden page of a browser, including the following steps:
analyzing an EPG page, determining a characteristic value of a key hidden sub-page in a frame page, and presetting the characteristic value into an IPTV system; the key hiding sub-pages comprise a heartbeat hiding sub-page and a broadcast control hiding sub-page.
The browser detects that the EPG page request has a set type of HTTP error, judges whether the page meets the preset characteristic value of a key hidden sub-page, if so, judges that the page is the key hidden sub-page, generates a page containing error information and pushes the page to a user, otherwise, the page is not processed.
By adopting the method of the embodiment, when the loading of the hidden sub-page which causes the partial function failure of the EPG is wrong, the user is prompted in time, and the user can restart, reload the EPG home page, dial a customer service call and the like according to the prompt.
Example 2:
on the basis of embodiment 1, the feature values of the key hidden subpage include:
the sub-page is in a frame of size 0 in the frame page;
the display style of the sub-page is visability: hidden or display: none;
and the name or id value of the frame where the sub-page is located is as follows: refwin, CTRL, channelAuthWin, or reminndwin.
Wherein the html terms or custom terms have the following meanings:
a frame;
hidden visibility: hiding;
none shows: if not;
name;
id identification;
refwin refreshes the window;
CTRL control;
a channelAuthWin channel authentication window;
remindWin alerts the window.
By adopting the characteristic value of the key hidden sub-page of the embodiment, whether the HTTP error is from the key hidden sub-page can be accurately identified.
The set type of HTTP error includes a network error or a server type error. The network errors include HTTP errors of types 400, 403, 404, and the server type errors include HTTP errors of types 500, 502.
Example 3:
on the basis of the embodiment 1, the method further comprises the following step that if the sub-page is the key hidden sub-page, when the browser generates a page containing error information and pushes the page to the user, a prompt for selecting to restart, reload the EPG home page or call a customer service telephone is provided for the user.
By adopting the method of the embodiment, under the condition that the normal use of the EPG is influenced by the loading error of the key hidden sub-page, the user can operate by himself according to the displayed error information, and if the user operates normally by himself, the user does not complain to an operator.
Example 4:
on the basis of the embodiment 1, the error prompting method of the browser nested hidden page specifically comprises the following steps:
step S1, analyzing EPG page, determining the characteristics of key hidden sub-page in frame page, and presetting these characteristic values into IPTV system;
step S2, when the user watches IPTV program through the set-top box and the browser detects that the EPG page request has HTTP error of 400, 403, 404, 500, 502 types, executing step S3;
step S3, judging whether the page is a key hidden sub-page according to the characteristics preset in the step S1, if so, executing the step S4;
and step S4, the browser generates a page containing error information and pushes the page to the user, and prompts the user to select restarting, reloading the EPG home page or calling a customer service telephone for operation.
By adopting the method of the embodiment, when the loading of the hidden sub-page which causes the partial function failure of the EPG is wrong, the user is prompted in time, and the user can restart, reload the EPG home page, dial a customer service call and the like according to the prompt. The method and the device solve the problem that a user is agnostic when the key hidden page nested in the frame page is subjected to error prompt.
Example 5:
the embodiment of the invention provides an error prompt system for a browser nested hidden page, which comprises:
a feature value presetting module for: analyzing an EPG page, determining a characteristic value of a key hidden sub-page in a frame page, and presetting the characteristic value into an IPTV system; the key hiding sub-pages comprise a heartbeat hiding sub-page and a broadcast control hiding sub-page.
A page fault handling module to: when the browser detects that the EPG page request has a set type of HTTP error, judging whether the page meets the preset characteristic value of a key hidden sub-page, if so, judging that the page is the key hidden sub-page, generating a page containing error information and pushing the page to a user, otherwise, not processing.
By adopting the system of the embodiment, when a hidden sub-page loading error which causes partial function failure of the EPG occurs, the user is prompted in time, and the user can restart, reload the EPG home page, dial a customer service call and the like according to the prompt.
Example 6:
on the basis of embodiment 5, the feature values of the key hidden subpage include:
the sub-page is in a frame of size 0 in the frame page;
the display style of the sub-page is visability: hidden or display: none;
and the name or id value of the frame where the sub-page is located is as follows: refwin, CTRL, channelAuthWin, or reminndwin.
By adopting the characteristic value of the key hidden sub-page of the embodiment, whether the HTTP error is from the key hidden sub-page can be accurately identified.
The set type of HTTP error includes a network error or a server type error. The network errors include HTTP errors of types 400, 403, 404, and the server type errors include HTTP errors of types 500, 502.
The system also comprises an operation prompting module, wherein the operation prompting module is used for: and when the sub-page is judged to be the key hidden sub-page, generating a page containing error information and pushing the page to the user, and providing a prompt for selecting restarting, reloading an EPG home page or dialing customer service telephone operation for the user.
By adopting the system of the embodiment, under the condition that the normal use of the EPG is influenced by the loading error of the key hidden sub-page, the user can operate by himself according to the displayed error information, and if the user operates normally by himself, the operator is not complained.
Various modifications and variations of the embodiments of the present invention may be made by those skilled in the art, and they are also within the scope of the present invention, provided they are within the scope of the claims of the present invention and their equivalents. What is not described in detail in the specification is prior art that is well known to those skilled in the art.

Claims (10)

1. An error prompting method for a browser nested hidden page is characterized by comprising the following steps:
analyzing an EPG page, determining a characteristic value of a key hidden sub-page in a frame page, and presetting the characteristic value into an IPTV system;
the browser detects that the EPG page request has a set type of HTTP error, judges whether the page meets the preset characteristic value of a key hidden sub-page, if so, judges that the page is the key hidden sub-page, generates a page containing error information and pushes the page to a user, otherwise, the page is not processed.
2. The method of claim 1, wherein: the characteristic values of the key hidden sub-page comprise:
the sub-page is in a frame of size 0 in the frame page;
the display style of the sub-page is visability: hidden or display: none;
and the name or id value of the frame where the sub-page is located is as follows: refwin, CTRL, channelAuthWin, or reminndwin.
3. The method of claim 1, wherein: the set types of HTTP errors include 400, 403, 404 network type errors and 500, 502 server type errors.
4. The method of claim 1, wherein: if the sub-page is the key hidden sub-page, when the browser generates a page containing error information and pushes the page to the user, the browser also provides a prompt for the user to select restarting, reloading an EPG first page or dialing a customer service telephone operation.
5. The method according to claim 1, comprising in particular the steps of:
step S1, analyzing EPG page, determining the characteristics of key hidden sub-page in frame page, and presetting these characteristic values into IPTV system;
step S2, when the user watches IPTV program through the set-top box and the browser detects that the EPG page request has HTTP error of 400, 403, 404, 500, 502 types, executing step S3;
step S3, judging whether the page is a key hidden sub-page according to the characteristics preset in the step S1, if so, executing the step S4;
and step S4, the browser generates a page containing error information and pushes the page to the user, and prompts the user to select restarting, reloading the EPG home page or calling a customer service telephone for operation.
6. An error prompt system for nesting hidden pages in a browser, comprising:
a feature value presetting module for: analyzing an EPG page, determining a characteristic value of a key hidden sub-page in a frame page, and presetting the characteristic value into an IPTV system;
a page fault handling module to: when the browser detects that the EPG page request has a set type of HTTP error, judging whether the page meets the preset characteristic value of a key hidden sub-page, if so, judging that the page is the key hidden sub-page, generating a page containing error information and pushing the page to a user, otherwise, not processing.
7. The system of claim 6, wherein: the characteristic values of the key hidden sub-page comprise:
the sub-page is in a frame of size 0 in the frame page;
the display style of the sub-page is visability: hidden or display: none;
and the name or id value of the frame where the sub-page is located is as follows: refwin, CTRL, channelAuthWin, or reminndwin.
8. The system of claim 6, wherein: the set type of HTTP error includes a network error or a server type error.
9. The system of claim 6, wherein: the system also comprises an operation prompting module, wherein the operation prompting module is used for: and when the sub-page is judged to be the key hidden sub-page, generating a page containing error information and pushing the page to the user, and providing a prompt for selecting restarting, reloading an EPG home page or dialing customer service telephone operation for the user.
10. The system of claim 6, comprising in particular the steps of: the key hiding sub-pages comprise a heartbeat hiding sub-page and a broadcast control hiding sub-page.
CN201910008892.2A 2019-01-04 2019-01-04 Error prompting method and system for browser nested hidden page Active CN109874060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910008892.2A CN109874060B (en) 2019-01-04 2019-01-04 Error prompting method and system for browser nested hidden page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910008892.2A CN109874060B (en) 2019-01-04 2019-01-04 Error prompting method and system for browser nested hidden page

Publications (2)

Publication Number Publication Date
CN109874060A CN109874060A (en) 2019-06-11
CN109874060B true CN109874060B (en) 2021-04-27

Family

ID=66917454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910008892.2A Active CN109874060B (en) 2019-01-04 2019-01-04 Error prompting method and system for browser nested hidden page

Country Status (1)

Country Link
CN (1) CN109874060B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010048939A (en) * 1999-11-30 2001-06-15 이계철 Method for keeping information status in internet electronic commerce system
CN103376974A (en) * 2013-06-28 2013-10-30 广州市动景计算机科技有限公司 Window switching method and device
CN107818171A (en) * 2017-11-14 2018-03-20 北京思特奇信息技术股份有限公司 A kind of page loading method and system based on iframe
CN108833980A (en) * 2018-05-24 2018-11-16 烽火通信科技股份有限公司 A method of it generates and reappears based on the IPTV page that multiwindow is realized
CN108920653A (en) * 2018-07-03 2018-11-30 武汉斗鱼网络科技有限公司 A kind of page generation method, device, server and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7358956B2 (en) * 1998-09-14 2008-04-15 Microsoft Corporation Method for providing feedback responsive to sensing a physical presence proximate to a control of an electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010048939A (en) * 1999-11-30 2001-06-15 이계철 Method for keeping information status in internet electronic commerce system
CN103376974A (en) * 2013-06-28 2013-10-30 广州市动景计算机科技有限公司 Window switching method and device
CN107818171A (en) * 2017-11-14 2018-03-20 北京思特奇信息技术股份有限公司 A kind of page loading method and system based on iframe
CN108833980A (en) * 2018-05-24 2018-11-16 烽火通信科技股份有限公司 A method of it generates and reappears based on the IPTV page that multiwindow is realized
CN108920653A (en) * 2018-07-03 2018-11-30 武汉斗鱼网络科技有限公司 A kind of page generation method, device, server and storage medium

Also Published As

Publication number Publication date
CN109874060A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
AU2009217479B2 (en) Television receiver, a server, and method of operating a server
AU2002222253A1 (en) Television receiver and method of operating a server
US9807224B2 (en) Method and apparatus for accessing services of a device
US9053324B2 (en) IPTV devices and methods adapted for such devices
JP2005539297A5 (en)
US9032021B2 (en) Method for providing customized advertisement/news on scalable application service system
CN109874060B (en) Error prompting method and system for browser nested hidden page
WO2006044052A2 (en) Method and apparatus for content download
GB2478767B (en) Method and apparatus for accessing services of a device
US9549002B2 (en) Method and device for making available at least one communication datum
US9185443B1 (en) Method and system for determining a channel service
AU2012275038A1 (en) Television receiver, a server, and method of operating a server
CA2596288A1 (en) Television receiver and method of operating a server

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