CN100419758C - An embedded browsing device and method - Google Patents

An embedded browsing device and method Download PDF

Info

Publication number
CN100419758C
CN100419758C CNB2005101259245A CN200510125924A CN100419758C CN 100419758 C CN100419758 C CN 100419758C CN B2005101259245 A CNB2005101259245 A CN B2005101259245A CN 200510125924 A CN200510125924 A CN 200510125924A CN 100419758 C CN100419758 C CN 100419758C
Authority
CN
China
Prior art keywords
unit
information
data
access
network element
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.)
Expired - Fee Related
Application number
CNB2005101259245A
Other languages
Chinese (zh)
Other versions
CN1971558A (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.)
BEIJING SUNPLUS-EHUE TECHNOLOGY CO., LTD.
Sunplus Technology Co Ltd
Original Assignee
BEIJING BEIYANG ELECTRONIC TECHNOLOGY Co Ltd
Sunplus Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING BEIYANG ELECTRONIC TECHNOLOGY Co Ltd, Sunplus Technology Co Ltd filed Critical BEIJING BEIYANG ELECTRONIC TECHNOLOGY Co Ltd
Priority to CNB2005101259245A priority Critical patent/CN100419758C/en
Publication of CN1971558A publication Critical patent/CN1971558A/en
Application granted granted Critical
Publication of CN100419758C publication Critical patent/CN100419758C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an embedded browse device and method. The content filter unit is mounted on the device to control the access authority or the display content. The method includes that the grip unit generates the access information use to access the web relative to the user's information and the browsing information input by the user; the content filter unit control the access authority according to the access information; if the access is permitted, the network unit can obtain the corresponding data from the network; if the access is refused, the fail process is done; the data analysis unit analyzes the data, and the display unit displays the analysis result. Other method controls the content in the data analysis course.

Description

A kind of embedded browsing device and method
Technical field
The present invention relates to the built-in network apparatus field, particularly relate to a kind of embedded browsing device and method.
Background technology
Along with the development of infotech, people are increasing for the demand of network service.At present, the user comprises PC (computing machine) or server for obtaining the common employed terminal device of network service.In addition, some users also use embedded system, and for example STB (Set Top Box, set-top box), palm system PDA (personal digital assistant) wait the network service of obtaining.
Usually, the user needs to use browser (Browser) when using the network service.Browser is the client utility (User Agent) that the user uses the network service, it uses HTTP (Hyper TextTransfer Protocol, HTML (Hypertext Markup Language)) agreement obtains HTML (Hyper Text MarkLanguage, HTML (Hypertext Markup Language)) resource, and HTML resolved.
Browser maximum market in embedded system is STB, secondly is the PDA of palm system; It is powerful that the development trend of Browser is that function more is tending towards, and supports a series of functions such as JavaScript, ssl, JavaVM Realplay, MP3 broadcast such as needs.
Because the trend that Internet popularizes is obvious day by day, when bringing convenience to people, some objectionable websites are also given the user of service, and especially the teenager has brought adverse influence., need control for this reason, forbid that some crowds visit some specific website and webpage the Internet content.
In the prior art, United States Patent (USP) the 6th, 519 discloses a kind of set-top-box system that can carry out information filtering to cable television program No. 770, but it just carries out information filtering for the cable television program that receives, and can't finish the information filtering of the webpage of browsing for the user.And existing built-in browser does not possess the function of information filtering.
The solution that has some screen contents in the prior art.For example be disclosed in " web page server of content-based classification " of No. the 01139014th, Chinese patent.Also occur some on the market and had the software of this type of function, but they all are based on PC or server, they are applied to embedded system exist following problem: 1) STB inner space with respect to PC littler (FLASH and RAM), and do not consider occupation space when moving too much based on the scheme of PC or server in the prior art, be difficult to adapt to the situation of STB; 2) STB running software speed must meet the ability of STB CPU, and the situation of the same incompatibility STB of scheme that proposes based on PC or server in the prior art.
In addition, in the existing browser software, its each several part all is difficult to be configured by the user, thereby is difficult to more optimally adapt to different systems and user's actual demand.
In addition, also there is weak point in the scheme of prior art aspect content control comprehensive: this is because the information filtering software of prior art is different software with browser, also might be not on a machine, therefore when browser execution, can walk around information filtering software with comparalive ease, make its control action be adversely affected.
And, seeing also Fig. 1, the buffer unit in the built-in browser of prior art (Cache) 800 comprises data cell 810, buffer memory user interface 820, network interface 830, data maintenance unit 840, timer 850.Wherein the course of work of buffer unit comprises: 1.: the buffer memory user is to buffer unit 800 request msgs; 2.: data cell 810 is to user's return data; 3.: the data in the data unit 810 are safeguarded for example the oldest data of deletion are distributed new memory headroom etc.; 4.: regularly data are checked,, then carried out step 2. if find to surpass certain quantity; 5.: buffer unit 800 is to outside request msg; 6.: outside to buffer unit 800 return datas.
The effect that adds timer 850 in buffer unit 800 is that the data that arrive on can be as soon as possible with network send to the user.But, check that at every turn institute's time spent is many because buffer data size is bigger.If will the time interval longerly fixed, can not get situation about handling after then may causing data to arrive for a long time.If will decide in the time interval shortly, then system will often handle timer event.These handle the burden that is nothing for the higher PC of performance, still will cause system performance obviously to descend in embedded system, and the web displaying time rises appreciably.Therefore, under the more weak situation of processor performance, cause adverse influence all can for the demonstration of webpage no matter be long or weak point the interval time of timer.
Summary of the invention
The technical matters that the present invention solves is to provide a kind of embedded browsing device and method, can overcome the defective that the scheme of prior art can be walked around easily, thereby plays the effect of comprehensive control content.
For this reason, the technical scheme of technical solution problem of the present invention is: a kind of embedded browsing device is provided, comprises user interface section, frame unit, buffer unit, network element, data parsing unit, display unit; Described user interface section is used for importing URL address and steering order for the user; Described frame unit is used to receive URL address and the steering order that user interface section sends, and sends the instruction of first request msg to buffer unit, gives the data parsing unit with the data transmission that buffer unit returns; Buffer unit is used to receive first request msg instruction that frame unit sends, and judge whether to exist the pairing data in corresponding URL address, if there is no, then send the instruction of second request msg to network element, give frame unit with the data transmission that network element is returned, if exist, then send data to frame unit; The data parsing unit is used to resolve the data from frame unit, and analysis result is sent to display unit; Display unit is used for showing according to aforementioned analysis result;
Also comprise the accessed content filter element, the information that is used for access internet that the network element that receives is sent is filtered control and is sent access control information to described network element, the authority of Control Network unit access internet; Described network element is used to receive second request msg instruction that buffer unit sends, according to second request msg instruction that receives with from the access control information access internet of accessed content filter element, obtain corresponding data, and the corresponding data that will obtain send to buffer unit.
Preferably, described accessed content filter element comprises:
The access authority information storage unit is used to store the access authority information that sets in advance;
The visit information receiving element is used to receive the visit information from network element;
The visit information comparing unit is used for the access authority information that visit information that the visit information receiving element is received and access authority information storage unit set in advance and compares;
Access control unit is used for judging whether to possess access rights according to the comparative result of visit information comparing unit, and control information is sent to network element.
Preferably, also comprise the displaying contents filter element, be used for the data of data resolution unit analysis are carried out content constraints control; Described data parsing unit is according to carrying out the parsing of data from the control information of displaying contents filter element.
Preferably, described displaying contents filter element comprises:
Show the authority information storage unit, be used to store the demonstration authority information that sets in advance;
The analytical information receiving element is used to receive the analyzing and processing information from the data parsing unit;
The analytical information comparing unit is used for the analyzing and processing information that the analytical information receiving element is received and shows that the demonstration authority information that the authority information storage unit sets in advance compares;
Indicative control unit is used for judging whether to possess the demonstration authority according to the comparative result of analytical information comparing unit, and control information is sent to the data parsing unit.
Preferably, described data parsing unit comprises:
Document element is used to receive the data that frame unit sends, and calls units corresponding according to the data type that receives the data that receive are handled;
Graphics processing unit is used to receive the call instruction of document element, and image document and image tagged that document element receives are decoded;
Resolution unit is used to receive the call instruction of document element, and the html document that document element receives is analyzed;
Style and script unit are used to receive the call instruction of document element, and the single and script of the style in the html document that document element is received is handled;
The composing unit is used for receiving the html document of handling of document element transmission and the style list and the script of html document, and it is set type.
Preferably, described frame unit is supported in source code level and is configured to single frame and/or many frameworks; Described resolution unit, document element and composing unit possess the configuration of label tag.
Preferably, described buffer unit comprises buffer memory user interface, data cell, network interface and data maintenance unit; Whether described buffer unit needs to send data by the network element decision.
Preferably, also comprise timing unit,, send prompting message by display unit through preset time by frame unit control.
Another kind of embedded browsing device provided by the invention comprises user interface section, frame unit, buffer unit, network element, data parsing unit, display unit; Described user interface section is used for importing URL address and steering order for the user; Described frame unit is used to receive URL address and the steering order that user interface section sends, and sends the instruction of first request msg to buffer unit, gives the data parsing unit with the data transmission that buffer unit returns; Buffer unit is used to receive first request msg instruction that frame unit sends, and judge whether to exist the pairing data in corresponding URL address, if there is no, then send the instruction of second request msg to network element, give frame unit with the data transmission that network element is returned, if exist, then send data to frame unit; Described network element is used to receive second request msg instruction that buffer unit sends, and according to the second request msg instruction access internet that receives, obtain corresponding data, and the corresponding data that will obtain sends to buffer unit; The data parsing unit is used to resolve the data from frame unit, and analysis result is sent to display unit; Display unit is used for showing according to aforementioned analysis result;
It is characterized in that, also comprise the displaying contents filter element, be used for the analyzing and processing information that the data parsing unit that receives sends is filtered control and sent control information to the data parsing unit; Described data parsing unit is according to carrying out the parsing of data from the control information of displaying contents filter element.
Preferably, described displaying contents filter element comprises:
Show the authority information storage unit, be used to store the demonstration authority information that sets in advance;
The analytical information receiving element is used to receive the analyzing and processing information from the data parsing unit;
The analytical information comparing unit is used for the analyzing and processing information that the analytical information receiving element is received and shows that the demonstration authority information that the authority information storage unit sets in advance compares;
Indicative control unit is used for judging whether to possess the demonstration authority according to the comparative result of analytical information comparing unit, and control information is sent to the data parsing unit.
The present invention also provides a kind of embedded browsing method, comprises step:
1) the corresponding visit information that is used for accesses network of browsing information of network element generation and user profile and user input;
2) information of accessed content filter element access internet that the network element that receives is sent is filtered control and is sent access control information to described network element, the authority of Control Network unit access internet;
3) if allow visit, then network element obtains corresponding data from network; If do not allow visit, the processing of then failing;
4) the data parsing unit is resolved described data and is shown according to analysis result by display unit.
Preferably, described step 2) specifically comprise: the visit information that 101) receives network element; 102) visit information that receives and the access authority information that sets in advance of storage are compared; 103) judge whether to possess access rights according to comparative result; 104) control information is sent to network element.
Preferably, described step 101) and step 102) in visit information comprise the IP address information and the URL address information of calling party; The access authority information of the storage described step 102) comprises an IP address prevention-permission inventory and a URL address prevention-permission inventory; Described step 104) control information in comprises: allow visit, send and allow the access control instruction, do not allow to visit, send friendly information.
Preferably, described step 4) also comprises when resolving: the analyzing and processing information that 121) receives resolution unit; 122) the analyzing and processing information that receives and the demonstration authority information that sets in advance of storage are compared; 123) judge whether to possess the demonstration authority according to comparative result; 124) control information is sent to resolution unit.
Preferably, described step 121) and step 122) in the key word of analyzing and processing packets of information purse rope page or leaf; Described step 122) the demonstration authority information in comprises forbids the Keyword List that shows; Described step 124) control information comprises: allow to show, send and allow to show steering order, do not allow to show, send and forbid idsplay order.
Another kind of embedded browsing method provided by the invention comprises step:
A) from the corresponding data of browsing information of network acquisition and user profile and user's input;
B) resolve the described data that obtain from network the data parsing unit; The analyzing and processing information that the displaying contents filter element sends the data parsing unit that receives is filtered control and is sent control information to the data parsing unit;
C) show that then the data parsing unit sends to display unit with analysis result if allow; Do not show the processing of then failing if do not allow;
D) display unit shows according to this analysis result.
Preferably, described step B) specifically comprise: the analyzing and processing information that 171) receives resolution unit; 172) the analyzing and processing information that receives and the demonstration authority information that sets in advance of storage are compared; 173) judge whether to possess the demonstration authority according to comparative result; 174) control information is sent to resolution unit.
Preferably, described step 171) and step 172) in the key word of analyzing and processing packets of information purse rope page or leaf; Described step 172) the demonstration authority information in comprises forbids the Keyword List that shows; Described step 174) control information comprises: allow to show, send and allow to show steering order, do not allow to show, send and forbid idsplay order.
With respect to prior art, the invention has the beneficial effects as follows: because the present invention is provided with visit (demonstration) information filtering unit (step) in built-in browser, therefore can be implemented in the filtration of carrying out the network service content in the embedded system, because this visit (demonstration) information filtering unit (step) is organic to be arranged in the embedded browsing device (method), therefore can prevent to be walked around easily, really realize comprehensive control of content.And owing to The present invention be directed to embedded system development, its product than prior art takies littler space, and travelling speed meets the ability of embedded system.
In preferred version of the present invention, another information filtering unit further is set, can realize the control and the filtration of content better.
In preferred version of the present invention, can be configured frame unit, resolution unit, document element and composing unit, thereby can ignore unwanted code, accomplish the optimization of code in the system; And can come the using system resource according to user's actual conditions, make that the operation of browsing apparatus is more stable.
In preferred version of the present invention, adopt network element to decide buffer unit whether to need to send data, thereby overcome the shortcoming that system performance descends and the web displaying time increases that prior art adopts timer to cause to the requestor.
Description of drawings
Fig. 1 is the block diagram of buffer unit in the browsing apparatus of prior art;
Fig. 2 is the block diagram of the embedded browsing device of the first embodiment of the present invention;
Fig. 3 is the block diagram of accessed content filter element shown in Figure 2;
Fig. 4 is the block diagram of the embedded browsing device of the second embodiment of the present invention;
Fig. 5 is the block diagram of accessed content filter element shown in Figure 4;
Fig. 6 is the block diagram of the embedded browsing device of the second embodiment of the present invention, the inner structure of the unit of data parsing shown in it;
Fig. 7 is that resolution unit is carried out the synoptic diagram that document is resolved;
Fig. 8 is the block diagram of the embodiment of the buffer unit in the embedded browsing device of the present invention;
Fig. 9 is the synoptic diagram of the timing unit in the embedded browsing device of the present invention;
Figure 10 is the process flow diagram of embedded browsing method of the present invention.
Embodiment
See also Fig. 2, the embedded browsing device of first embodiment of the invention comprises: user interface section 110, frame unit 120, buffer unit 130, network element 140, accessed content filter element 150 and data parsing unit 160, display unit 170.
Wherein, described user interface section 110 is used for importing URL (uniform resource locator) address and steering order for the user.
Frame unit 120 is used to receive URL address and the steering order that user interface section 120 sends, and sends the instruction of first request msg to buffer unit 130; Give data parsing unit 150 with the data transmission that buffer unit 130 returns.
Buffer unit 130 is used to receive first request msg instruction that frame unit 120 sends, and judge whether to exist the pairing data in corresponding URL address, if there is no, then send the instruction of second request msg, give frame unit 120 data transmission that network element 140 is returned to network element 140; If exist, then send data to frame unit 120.
Accessed content filter element 150 is used for sending access control information to network element 140, and the authority of network element 140 access internet is controlled.
Network element 140 is used to receive second request msg instruction that buffer unit 130 sends, according to second request msg instruction that receives with from the access control information access internet 900 of accessed content filter element 150, obtain corresponding data, and the corresponding data that will obtain send to buffer unit 130.
Data parsing unit 160 is used to resolve the data from frame unit, and analysis result is sent to display unit 170.
Display unit 170 shows according to aforementioned analysis result.
See also Fig. 3, described accessed content filter element 150 comprises access authority information storage unit 151, visit information receiving element 152, visit information comparing unit 153 and access control unit 154.
Wherein, this access authority information storage unit 151 is used to store the access authority information that sets in advance.This access authority information can comprise an IP address prevention-permission inventory and a URL address prevention-permission inventory.
Described IP address prevention-permission inventory and URL address prevention-permission inventory can be system definition, also can allow the user to make amendment.Comprise and to delete unwanted prevention URL address, perhaps add and wish URL address that stops or the like.
Visit information receiving element 152 is used to receive the visit information from network element 140.This visit information comprises the IP address information of calling party and URL address information etc.
Visit information comparing unit 153 is used for the access authority information that visit information that visit information receiving element 152 is received and access authority information storage unit 151 set in advance and compares.
Access control unit 154 is used for judging whether to possess access rights according to the comparative result of visit information comparing unit 153, and control information is sent to network element 140.
Described access control unit 154 sends to the control information of network element 140 and can adopt following form to realize: the permission visit, send and allow the access control instruction; Do not allow to visit, send friendly information.
See also Fig. 4, in order further to satisfy the demand that the user filters Web content, the second embodiment of the present invention further is provided with displaying contents filter element 180.
This second embodiment and first embodiment are roughly the same, difference is, the displaying contents filter element 180 that is connected with data parsing unit 160 is set, and described displaying contents filter element 180 is used for the data that data resolution unit 160 is analyzed are carried out content constraints control.
See also Fig. 5, displaying contents filter element 180 comprises demonstration authority information storage unit 181, analytical information receiving element 182, analytical information comparing unit 183 and indicative control unit 184.
Wherein, this demonstration authority information storage unit 181 is used to store the demonstration authority information that sets in advance.This demonstration authority information can be to forbid the Keyword List that shows.The described Keyword List that shows of forbidding can be a system definition, also can allow the user to make amendment.
Analytical information receiving element 182 is used to receive the analyzing and processing information from data parsing unit 160.The key word of this analyzing and processing packets of information purse rope page or leaf.
Analytical information comparing unit 183 is used for the analyzing and processing information that analytical information receiving element 182 is received and shows that the demonstration authority information that authority information storage unit 181 sets in advance compares.
Indicative control unit 184 is used for judging whether to possess the demonstration authority according to the comparative result of analytical information comparing unit 183, and control information is sent to data parsing unit 160.
Described indicative control unit 184 sends to the control information of data parsing unit 160 can adopt following form: permission shows, sends and allows to show steering order; Do not allow to show, send and forbid idsplay order.
The described idsplay order of forbidding can adopt following form: if this forbids that the key word that shows occurs once, then replaces key word with certain special symbol; If this forbids that the key word that shows occurs then forbidding showing whole webpage more than twice and twice.
See also Fig. 6, the data parsing unit 160 that embedded browsing device adopted of the second embodiment of the present invention comprises document element 161, graphics processing unit 162, resolution unit 163, style and script unit 164, composing unit 165.
Wherein, document element 161 is used to receive the data that frame unit 120 sends, and calls units corresponding according to the data type that receives the data that receive are handled.
Graphics processing unit 162 is used to receive the call instruction of document element 161, and image document and image tagged that document element 161 receives are decoded.
Resolution unit 163 is used to receive the call instruction of document element 161, and the html document that document element 161 receives is analyzed.
Style and script unit 164 are used to receive the call instruction of document element 161, and the single and script of the style among the HTML that document element 161 is received is handled.
Composing unit 165 is used for receiving the html document of handling of document element 161 transmissions and style list and the script of HTML, and it is set type.
Among this embodiment, image document and image tagged after document after setting type in display unit 170 reception composing unit 165 and graphics processing unit 162 are handled, and display result.
In order to carry out the filtration of displaying contents, described displaying contents filter element 180 is connected to resolution unit 163.
Being appreciated that 163 pairs of html texts of resolution unit are handled is meant html text is word for word analyzed and set up corresponding document tree (Fig. 7 with reference to) according to the content of text.A html text can be handled sequentially several times.Arrive because web page contents is gradation, each batch data is all handled after arriving immediately, and just handles after not needing all data all here.
Referring to Fig. 7, in processing procedure, html document word string content is divided into four types, in addition different disposal.
First kind is the processing of tag.If beginning tag just extracts respective attributes, set up tree node, if finish tag, just end the analysis of this tag.
Second kind of character string that is included among script, the style, the direct copy of this class word string is given units corresponding and is handled.To the processing of this word string is constantly to collect word string up to running into corresponding end mark,</script,</style etc. till, call different unit then and handle.Units corresponding described in the present embodiment is meant style and script unit 164.
The third is the processing to text, comprises the processing entities word, extracts necessary attribute, sets up corresponding text node.The entity word is meant with a kind of another symbol of special symbology, and is very common in webpage.For example use “ ﹠amp; Lt; " expression "<", use “ ﹠amp; Gt; " expression ">" etc.When showing, need be converted into actual characters earlier.The attribute of the text in the necessary attribute of described extraction comprises font, font size, and runic, a little bodies, hollow, color or the like.The corresponding text node of described foundation is meant sets up the Text node in dom tree.
The 4th kind is the processing to note, directly discards.
Need to prove that the frame unit among the present invention can select to support single frame and many frameworks; Single frame is much structurally simpler than manying framework, and is much lower to the requirement of system resource; And many frameworks can satisfy the display requirement of more senior and complicated webpage.
The selection of frame unit of the present invention can be configured at source code level.Comprise a configuration file in the source code, comprise the expression formula of many a=b of elephant.Wherein, a representation module name, b represents whether support, if b be y then express support for this module, if n does not then support this module.After the configuration, when compiling, unwanted code can be neglected fully in this way, only those codes that need be compiled, really accomplish in the system without any useless code.
Possesses the configuration of tag in resolution unit among the present invention, document element and the composing unit.After a large amount of webpages were analyzed, this browser was lined up to the priority orders of the tag of all HTML4.0, is divided into base, three ranks of advance and complete.The standard of classification is according to The result of statistics.The tag of HTML is a lot, but the frequency that they use is different.Webpage commonly used is analyzed, can be ranked successively, be divided into three grade according to height the frequency of utilization of tag.The user can select the rank of support according to system resource.The user is configured at source code level, can directly reject the code that those do not need function, does not have superfluous components in the assurance system.And in the configuration that operation the time is carried out, can not influence the size of code, even certain partial function need not, but corresponding code still is present in the system.The user can also select to support or do not support to each tag.For different systems, can select the rank supported according to demands of applications.If system resource at this moment still can not satisfy the demand of browser, then can reject some functions, so that browser can normally run in the system.
Buffer unit among the present invention can change needed internal memory automatically according to the size of Installed System Memory.Buffer unit can the automatic checkout system free memory.The certain percentage of these internal memories can be used as buffer memory, thereby reaches for different systems, because what difference of its available resources, the operable internal memory of buffer unit is also different, realizes the internal memory target of configuration automatically.
Whether the user interface section among the present invention can dispose supports menu and toolbar, to adapt to the different displays that use in the embedded system.In the described equally in front configuration file of this configuration, in the source code level realization, promptly select the mode of compiler toggle.
The buffer unit of embedded browsing device of the present invention can adopt the buffer unit of prior art.To improve the performance of device of the present invention, the present invention also provides a kind of novel buffer unit, sees also Fig. 8 for only, the main difference of the buffer unit of this buffer unit and prior art shown in Figure 1 be to need not to adopt timer units.Corresponding with it, 4. its course of work does not comprise process.6. realize in regularly the inspection of data is promptly determined directly by network element whether buffer unit needs to send data to the requestor in process.Network element adds up for the data that arrive, and sends data above the interface that directly calls buffer unit after the some to the requestor
Test shows, the travelling speed ratio that improves browser afterwards by Fig. 8 adopts the browser of the buffer unit of Fig. 1 obviously to improve, and saves working time about about 20%.
See also Fig. 9, embedded browsing device of the present invention can also comprise a timing reminding unit 190 by frame unit 120 controls, sends prompting message, call user's attention rest eyes through preset time by display unit 170.
Seeing also Figure 10, is the process flow diagram of embedded browsing method of the present invention.
Step S101, user interface section receives the URL address and the steering order of user's input;
Step S102, frame unit receive URL address and the steering order from user interface section, and send first request msg and instruct buffer unit;
Step S103, buffer unit judge whether to exist the data of corresponding URL address correspondence according to first request msg instruction; If exist, then enter step S104; If there is no, then enter step S105;
Step S104 sends the data to frame unit;
Step S105 sends second request msg and instructs to network element;
Step S106, network element is according to the second request msg instruction access internet; The accessed content filter element limits control according to the visit information of network element to the authority of network element access internet; If do not allow visit, then enter step S107; If allow visit, then enter step S108;
Step S107 returns friendly information to network element;
Step S108, network element obtains corresponding data and sends to buffer unit;
Step S109, analysis result is resolved and exported in the data parsing unit to described data;
Step S110, display unit is realized showing according to this analysis result.
Wherein, among the described step S106, the step that described authority to the network element access internet limits control comprises the steps: 1) receive the visit information of network element; 2) visit information that receives and the access authority information that sets in advance of storage are compared; 3) judge whether to possess access rights according to comparative result; 4) control information is sent to network element.
Described step 1) and step 2) in visit information comprise the IP address information and the URL address information of calling party.
The access authority information of the storage described step 2) comprises an IP address prevention-permission inventory and a URL address prevention-permission inventory.Described IP address prevention-permission inventory and URL address prevention-permission inventory can be system definition, can allow the user to make amendment.
Control information in the described step 4) comprises: allow visit, send and allow the access control instruction, do not allow to visit, send friendly information.
Described step 3) comprises: judge 31) whether visit information is present in the permission tabulation; 32) if exist, the cancellation key word detects sign, allows visit, if there is no, and execution in step 33); 33) judge whether visit information is present in the prevention tabulation; 34) if there is no, key word is set detects sign, allow visit, if having disable access and display reminding dialog box.
Wherein, the parsing of described step S109 comprises: A) document element receives data, and calls corresponding units the data that receive are handled:
I) if what receive is image document and image tagged, calls graphics processing unit and decode;
If what ii) receive is html document, call resolution unit analysis;
If what iii) receive is style list and script among the HTML, call style and the script unit is handled;
B) the single and script of the html document handled of document element and the style among the HTML sends to the composing unit and sets type;
Subsequently, image document and figure image scale after document after set type in the composing unit and graphics processing unit are handled send to display unit.
In addition, step S109 in the methods of the invention also comprises the step of the html web page of resolution unit analysis being carried out content constraints control.
The step that described html web page carries out content constraints control comprises the steps: 10) receive the analyzing and processing information of resolution unit; 20) the analyzing and processing information that receives and the demonstration authority information that sets in advance of storage are compared; 30) judge whether to possess the demonstration authority according to comparative result; 40) control information is sent to resolution unit.
Described step 10) and step 20) in the key word of analyzing and processing packets of information purse rope page or leaf.
Described step 30) the demonstration authority information in comprises forbids the Keyword List that shows.
The described Keyword List that shows of forbidding can be a system definition, can allow the user to make amendment.
Described step 40) control information comprises: allow to show, send and allow to show steering order, do not allow to show, send and forbid idsplay order.
The described idsplay order of forbidding comprises, if this forbids that the key word that shows occurs once, then replaces key word with certain special symbol; If this forbids that the key word that shows occurs then forbidding showing whole webpage more than twice and twice.
In sum, embedded browsing method provided by the invention comprises: the corresponding visit information that is used for accesses network of browsing information of network element generation and user profile and user's input; The accessed content filter element is according to the control of authority that conducts interviews of this visit information; If allow visit, then network element obtains corresponding data from network; If do not allow visit, the processing of then failing; The data parsing unit is resolved described data and is shown according to this analysis result by display unit.
Another kind of embedded browsing method provided by the invention comprises: from the corresponding data of browsing information of network acquisition and user profile and user's input; Resolve the described information that obtains from network the data parsing unit; The data that the displaying contents filter element is resolved the data resolution unit are carried out content constraints control; Show that then the data parsing unit sends to display unit with analysis result if allow; Do not show the processing of then failing if do not allow; Display unit shows according to this analysis result.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (18)

1. an embedded browsing device comprises user interface section, frame unit, buffer unit, network element, data parsing unit, display unit; Described user interface section is used for importing URL address and steering order for the user; Described frame unit is used to receive URL address and the steering order that user interface section sends, and sends the instruction of first request msg to buffer unit, gives the data parsing unit with the data transmission that buffer unit returns; Buffer unit is used to receive first request msg instruction that frame unit sends, and judge whether to exist the pairing data in corresponding URL address, if there is no, then send the instruction of second request msg to network element, give frame unit with the data transmission that network element is returned, if exist, then send data to frame unit; The data parsing unit is used to resolve the data from frame unit, and analysis result is sent to display unit; Display unit is used for showing according to aforementioned analysis result;
It is characterized in that, also comprise the accessed content filter element, the information that is used for access internet that the network element that receives is sent is filtered control and is sent access control information to described network element, the authority of Control Network unit access internet;
Described network element is used to receive second request msg instruction that buffer unit sends, according to second request msg instruction that receives with from the access control information access internet of accessed content filter element, obtain corresponding data, and the corresponding data that will obtain send to buffer unit.
2. embedded browsing device as claimed in claim 1 is characterized in that, described accessed content filter element comprises:
The access authority information storage unit is used to store the access authority information that sets in advance;
The visit information receiving element is used to receive the visit information from network element;
The visit information comparing unit is used for the access authority information that visit information that the visit information receiving element is received and access authority information storage unit set in advance and compares;
Access control unit is used for judging whether to possess access rights according to the comparative result of visit information comparing unit, and control information is sent to network element.
3. embedded browsing device as claimed in claim 1 is characterized in that, also comprises the displaying contents filter element, is used for the data of data resolution unit analysis are carried out content constraints control; Described data parsing unit is according to carrying out the parsing of data from the control information of displaying contents filter element.
4. embedded browsing device as claimed in claim 3 is characterized in that, described displaying contents filter element comprises:
Show the authority information storage unit, be used to store the demonstration authority information that sets in advance;
The analytical information receiving element is used to receive the analyzing and processing information from the data parsing unit;
The analytical information comparing unit is used for the analyzing and processing information that the analytical information receiving element is received and shows that the demonstration authority information that the authority information storage unit sets in advance compares;
Indicative control unit is used for judging whether to possess the demonstration authority according to the comparative result of analytical information comparing unit, and control information is sent to the data parsing unit.
5. as each described embedded browsing device of claim 1 to 4, it is characterized in that described data parsing unit comprises:
Document element is used to receive the data that frame unit sends, and calls units corresponding according to the data type that receives the data that receive are handled;
Graphics processing unit is used to receive the call instruction of document element, and image document and image tagged that document element receives are decoded;
Resolution unit is used to receive the call instruction of document element, and the html document that document element receives is analyzed;
Style and script unit are used to receive the call instruction of document element, and the single and script of the style in the html document that document element is received is handled;
The composing unit is used for receiving the html document of handling of document element transmission and the style list and the script of html document, and it is set type.
6. embedded browsing device as claimed in claim 5 is characterized in that, described frame unit is supported in source code level and is configured to single frame and/or many frameworks; Described resolution unit, document element and composing unit possess the configuration of label tag.
7. embedded browsing device as claimed in claim 1 is characterized in that, described buffer unit comprises buffer memory user interface, data cell, network interface and data maintenance unit; Whether described buffer unit needs to send data by the network element decision.
8. embedded browsing device as claimed in claim 1 is characterized in that, also comprises timing unit, by frame unit control, sends prompting message through preset time by display unit.
9. an embedded browsing device comprises user interface section, frame unit, buffer unit, network element, data parsing unit, display unit; Described user interface section is used for importing URL address and steering order for the user; Described frame unit is used to receive URL address and the steering order that user interface section sends, and sends the instruction of first request msg to buffer unit, gives the data parsing unit with the data transmission that buffer unit returns; Buffer unit is used to receive first request msg instruction that frame unit sends, and judge whether to exist the pairing data in corresponding URL address, if there is no, then send the instruction of second request msg to network element, give frame unit with the data transmission that network element is returned, if exist, then send data to frame unit; Described network element is used to receive second request msg instruction that buffer unit sends, and according to the second request msg instruction access internet that receives, obtain corresponding data, and the corresponding data that will obtain sends to buffer unit; The data parsing unit is used to resolve the data from frame unit, and analysis result is sent to display unit; Display unit is used for showing according to aforementioned analysis result;
It is characterized in that, also comprise the displaying contents filter element, be used for the analyzing and processing information that the data parsing unit that receives sends is filtered control and sent control information to the data parsing unit; Described data parsing unit is according to carrying out the parsing of data from the control information of displaying contents filter element.
10. embedded browsing device as claimed in claim 9 is characterized in that, described displaying contents filter element comprises:
Show the authority information storage unit, be used to store the demonstration authority information that sets in advance;
The analytical information receiving element is used to receive the analyzing and processing information from the data parsing unit;
The analytical information comparing unit is used for the analyzing and processing information that the analytical information receiving element is received and shows that the demonstration authority information that the authority information storage unit sets in advance compares;
Indicative control unit is used for judging whether to possess the demonstration authority according to the comparative result of analytical information comparing unit, and control information is sent to the data parsing unit.
11. an embedded browsing method is characterized in that, comprises step:
1) the corresponding visit information that is used for accesses network of browsing information of network element generation and user profile and user input;
2) information of accessed content filter element access internet that the network element that receives is sent is filtered control and is sent access control information to described network element, the authority of Control Network unit access internet;
3) if allow visit, then network element obtains corresponding data from network; If do not allow visit, the processing of then failing;
4) the data parsing unit is resolved described data and is shown according to analysis result by display unit.
12. embedded browsing method as claimed in claim 11 is characterized in that, described step 2) specifically comprise: the visit information that 101) receives network element; 102) visit information that receives and the access authority information that sets in advance of storage are compared; 103) judge whether to possess access rights according to comparative result; 104) control information is sent to network element.
13. embedded browsing method as claimed in claim 12 is characterized in that, described step 101) and step 102) in visit information comprise the IP address information and the URL address information of calling party; The access authority information of the storage described step 102) comprises an IP address prevention-permission inventory and a URL address prevention-permission inventory; Described step 104) control information in comprises: allow visit, send and allow the access control instruction, do not allow to visit, send friendly information.
14. embedded browsing method as claimed in claim 11 is characterized in that, described step 4) also comprises when resolving: the analyzing and processing information that 121) receives resolution unit; 122) the analyzing and processing information that receives and the demonstration authority information that sets in advance of storage are compared; 123) judge whether to possess the demonstration authority according to comparative result; 124) control information is sent to resolution unit.
15. embedded browsing method as claimed in claim 14 is characterized in that, described step 121) and step 122) in the key word of analyzing and processing packets of information purse rope page or leaf; Described step 122) the demonstration authority information in comprises forbids the Keyword List that shows; Described step 124) control information comprises: allow to show, send and allow to show steering order, do not allow to show, send and forbid idsplay order.
16. an embedded browsing method is characterized in that, comprises step:
A) from the corresponding data of browsing information of network acquisition and user profile and user's input;
B) resolve the described data that obtain from network the data parsing unit; The analyzing and processing information that the displaying contents filter element sends the data parsing unit that receives is filtered control and is sent control information to the data parsing unit;
C) show that then the data parsing unit sends to display unit with analysis result if allow; Do not show the processing of then failing if do not allow;
D) display unit shows according to this analysis result.
17. embedded browsing method according to claim 16 is characterized in that, described step B) specifically comprise: the analyzing and processing information that 171) receives resolution unit; 172) the analyzing and processing information that receives and the demonstration authority information that sets in advance of storage are compared; 173) judge whether to possess the demonstration authority according to comparative result; 174) control information is sent to resolution unit.
18. embedded browsing method as claimed in claim 17 is characterized in that, described step 171) and step 172) in the key word of analyzing and processing packets of information purse rope page or leaf; Described step 172) the demonstration authority information in comprises forbids the Keyword List that shows; Described step 174) control information comprises: allow to show, send and allow to show steering order, do not allow to show, send and forbid idsplay order.
CNB2005101259245A 2005-11-25 2005-11-25 An embedded browsing device and method Expired - Fee Related CN100419758C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101259245A CN100419758C (en) 2005-11-25 2005-11-25 An embedded browsing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101259245A CN100419758C (en) 2005-11-25 2005-11-25 An embedded browsing device and method

Publications (2)

Publication Number Publication Date
CN1971558A CN1971558A (en) 2007-05-30
CN100419758C true CN100419758C (en) 2008-09-17

Family

ID=38112383

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101259245A Expired - Fee Related CN100419758C (en) 2005-11-25 2005-11-25 An embedded browsing device and method

Country Status (1)

Country Link
CN (1) CN100419758C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5455582B2 (en) * 2009-11-27 2014-03-26 キヤノン株式会社 Information processing apparatus, control method therefor, and program
CN102591877A (en) * 2011-01-14 2012-07-18 深圳市同洲电子股份有限公司 Webpage resource request method for embedded browser and browsing device
CN102857480B (en) * 2011-06-30 2014-12-10 北京新媒传信科技有限公司 Data collecting system and data collecting method thereof
CN102682240B (en) * 2012-05-16 2015-05-13 河南辉煌科技股份有限公司 Method for controlling resources in large browser/server (BS) structured system
CN103324710A (en) * 2013-06-19 2013-09-25 深圳市共进电子股份有限公司 User experiencing method based on uniform resource locator (URL) filtering function
CN103473301A (en) * 2013-09-09 2013-12-25 北京思特奇信息技术股份有限公司 Business model automatic filtering method and system based on fine grit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233618B1 (en) * 1998-03-31 2001-05-15 Content Advisor, Inc. Access control of networked data
CN1417704A (en) * 2001-11-06 2003-05-14 爱达数码科技(杭州)有限公司 Embedded intelligent explorer
CN1112639C (en) * 1997-09-11 2003-06-25 国际商业机器公司 HTTP caching proxy to filter and control display of data in web browser
CN1470999A (en) * 2002-06-27 2004-01-28 Content filter for network browsing
US6772214B1 (en) * 2000-04-27 2004-08-03 Novell, Inc. System and method for filtering of web-based content stored on a proxy cache server
CN1529863A (en) * 2001-07-16 2004-09-15 �ʼҷ����ֵ������޹�˾ Personalized filter for web browsing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1112639C (en) * 1997-09-11 2003-06-25 国际商业机器公司 HTTP caching proxy to filter and control display of data in web browser
US6233618B1 (en) * 1998-03-31 2001-05-15 Content Advisor, Inc. Access control of networked data
US6772214B1 (en) * 2000-04-27 2004-08-03 Novell, Inc. System and method for filtering of web-based content stored on a proxy cache server
CN1529863A (en) * 2001-07-16 2004-09-15 �ʼҷ����ֵ������޹�˾ Personalized filter for web browsing
CN1417704A (en) * 2001-11-06 2003-05-14 爱达数码科技(杭州)有限公司 Embedded intelligent explorer
CN1470999A (en) * 2002-06-27 2004-01-28 Content filter for network browsing

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
嵌入式浏览器的设计与实现. 阳富民,李俊,周正勇,胡贯荣.计算机工程与科学,第25卷第4期. 2003
嵌入式浏览器的设计与实现. 阳富民,李俊,周正勇,胡贯荣.计算机工程与科学,第25卷第4期. 2003 *
嵌入式浏览器缓存策略的设计与实现. 胡贯荣,阳富民.计算机工程与设计,第26卷第12期. 2005
嵌入式浏览器缓存策略的设计与实现. 胡贯荣,阳富民.计算机工程与设计,第26卷第12期. 2005 *

Also Published As

Publication number Publication date
CN1971558A (en) 2007-05-30

Similar Documents

Publication Publication Date Title
US9729499B2 (en) Browser and method for domain name resolution by the same
US10515142B2 (en) Method and apparatus for extracting webpage information
RU2522103C2 (en) Update notification method and browser
CN105843815B (en) Page comment processing method and device and browser
CN108717435B (en) Webpage loading method, information processing method, computer equipment and storage medium
CN104021172A (en) Advertisement filtering method and advertisement filtering device
CN100419758C (en) An embedded browsing device and method
CN103577597A (en) Keyword searching system based on current browse webpage
CN107153716B (en) Webpage content extraction method and device
CN101894138B (en) Visual page content subscription processing method and system thereof
CN103577596A (en) Keyword searching method and device based on current browse webpage
CN102436455A (en) Method and system for browsing characters as well as client browser
US10169477B2 (en) Method and system for rendering a web page free of inappropriate URLs
CN102750352A (en) Method and device for classified collection of historical access records in browser
CN103577392A (en) Keyword pushing method and device based on current browse webpage
CN105528369B (en) Webpage code-transferring method, device and server
CN102346738A (en) Customized web page processing device and method
CN101488154B (en) Words input implementing method used for web page
CN106649787A (en) Method and device for filtering advertisement in mobile terminal client
CN103389972A (en) Method and device for obtaining text based on really simple syndication (RSS)
CN101650713B (en) Method and device for realizing tabs in browsers
CN102819556B (en) Method and device for viewing pictures
KR100996037B1 (en) Apparatus and method for providing hyperlink information in mobile communication terminal which can connect with wireless-internet
CN111381809A (en) Method and device for searching focus page
CN103246680B (en) A kind of method in browser, web page contents polymerization being represented and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING SUNPLUS EHUE TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BEIJING BEIYANG ELECTRONIC TECHNOLOGY CO., LTD.

Effective date: 20140610

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20140610

Address after: Science and Industry Park, Taiwan, Hsinchu, China, No. 19

Patentee after: Lingyang Science and Technology Co., Ltd.

Patentee after: BEIJING SUNPLUS-EHUE TECHNOLOGY CO., LTD.

Address before: Science and Industry Park, Taiwan, Hsinchu, China, No. 19

Patentee before: Lingyang Science and Technology Co., Ltd.

Patentee before: Beijing Beiyang Electronic Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080917

Termination date: 20161125

CF01 Termination of patent right due to non-payment of annual fee