CN102289477A - A method and apparatus for a mobile terminal page data filtering - Google Patents

A method and apparatus for a mobile terminal page data filtering Download PDF

Info

Publication number
CN102289477A
CN102289477A CN 201110216332 CN201110216332A CN102289477A CN 102289477 A CN102289477 A CN 102289477A CN 201110216332 CN201110216332 CN 201110216332 CN 201110216332 A CN201110216332 A CN 201110216332A CN 102289477 A CN102289477 A CN 102289477A
Authority
CN
China
Prior art keywords
step
page
data
filter
module
Prior art date
Application number
CN 201110216332
Other languages
Chinese (zh)
Inventor
鲁林
Original Assignee
深圳市五巨科技有限公司
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 深圳市五巨科技有限公司 filed Critical 深圳市五巨科技有限公司
Priority to CN 201110216332 priority Critical patent/CN102289477A/en
Publication of CN102289477A publication Critical patent/CN102289477A/en

Links

Abstract

本发明公开了一种移动终端页面数据筛选的方法和装置。 The present invention discloses a method and apparatus for a mobile terminal page data filtering. 本发明在浏览器成功解析网页页面数据后,再根据用户自定义的筛选条件对这些页面数据做一次筛选,最后将筛选出的符合筛选条件的页面数据显示出来。 The present invention successfully resolved in the browser web page data, and then filter based on user-defined conditions to do a screening data on these pages, the last page will display the selected data matching the filter out. 本发明能够实现直接在客户端(即移动终端)对页面数据进行筛选,而无需重复请求服务器端,节省时间,还能够让用户自定义筛选条件,而不再受限于服务器端提供的筛选服务,让用户的筛选更灵活。 The present invention enables screening of page data directly in the client (i.e., a mobile terminal), without repeating the request server, saves time, but also allows the user to customize the filters, but not longer limited to the filtering services provided by the server , allowing users to filter more flexible.

Description

一种移动终端页面数据筛选的方法和装置 A method and apparatus for a mobile terminal page data filtering

技术领域 FIELD

[0001] 本发明涉及网页页面数据筛选技术,特别涉及一种移动终端页面数据筛选的方法和装置。 [0001] The present invention relates to web page data screening techniques, particularly to a method and apparatus for a mobile terminal page data filtering.

背景技术 Background technique

[0002] 平常我们在移动终端浏览页面时,要筛选的数据都是通过服务器端过滤的。 [0002] when we usually mobile terminal browser page, you want to filter the data is filtered by the server. 举例说明,我们在看微博所有关注的人的信息时,如果我们想只看某一个人的信息,则点击“只关注某人”,这时移动终端会再次请求服务器端,服务端会只返回“某人”的数据。 An example, when we look at micro-blog information of all persons concerned, if we want to look at a person's information, then click on the "only concerned about someone", then the mobile terminal will again request the server, the server will only return "someone" data. 这样达到筛选数据。 In this way meets the screening data. 但这样的实现是建立在服务端支持的情况下实现的,即只有服务器端约定好的, 才能进行数据筛选,用户需要特定的数据筛选,服务端并不一定会支持。 However, such an implementation is built to achieve in the case of server support, a good agreement that only the server can perform data filtering, users require specific data filtering, the server will not necessarily support.

[0003] 比如,通过移动终端查看NBA文字直播,文字直播除了直播员的信息外,可能会有很多用户提交上来的信息,这时,如果你想只查看直播员的信息时,不想查看其它用户的信息时,但是服务器端却没有专门提供这样的筛选。 [0003] For example, see NBA Live through a mobile terminal, Live Live Members addition to the information, there may be a lot of information submitted by the user up, then, if you want to see only the information Live members, do not want to see other users when the information, but the server did not specifically provide such screening. 又比如,某一个用户不断提交垃圾信息上来,你想单独屏蔽该用户的信息,服务端又没有提供这样的筛选,诸如此类,很多在用户特定的页面数据筛选,服务器端都没有提供支持。 As another example, some users continue to submit a spam up, you want to separate the shield information of the user, and the server does not provide such screening, and so on, a lot of screening user-specific page data, the server can not provide support.

发明内容 SUMMARY

[0004] 本发明的目的是提供一种移动终端页面数据筛选的方法和装置,其能够实现直接在客户端对页面数据进行筛选,并使用户可以自定义筛选条件。 [0004] The object of the present invention is to provide a mobile terminal a page of data screening methods and apparatus which enables a page to filter data directly in the client, and the user can customize filters.

[0005] 为达到上述目的,本发明采用如下技术方案: [0005] To achieve the above object, the present invention adopts the following technical solution:

[0006] 一种移动终端页面数据筛选的方法,包括: [0006] A mobile terminal page data filtering, comprising:

[0007] 步骤1 :打开浏览器; [0007] Step 1: Open a browser;

[0008] 步骤2 :选择是否输入筛选条件,若是,则进入步骤3,若否,则转至步骤3' ; [0008] Step 2: select whether an input filter criteria, and if yes, proceeds to step 3, and if not, go to step 3 ';

[0009] 步骤3 :输入筛选条件并在移动终端的ROM空间保存筛选条件,完成后进入步骤4; [0009] Step 3: Filters input filters and stored in the ROM space of the mobile terminal proceeds to step 4 after the completion;

[0010] 步骤3' :在移动终端的ROM空间将筛选条件保存为空,完成后进入步骤4 ; [0010] Step 3 ': in the ROM of the mobile terminal to save space filter criteria is empty, the process proceeds to step 4 is completed;

[0011] 步骤4:请求页面链接; [0011] Step 4: Request page links;

[0012] 步骤5 :根据步骤4的请求获取将要显示的页面数据; [0012] Step 5: obtaining page data to be displayed according to the request of step 4;

[0013] 步骤6 :读取并分析保存的筛选条件,确定该筛选条件是否为空,若筛选条件为空,则转入步骤8',否则进入步骤7 ; [0013] Step 6: filter condition storage reads and analyzes to determine whether the filter condition is empty, if the filter criteria is empty, the process proceeds to step 8 ', otherwise, proceed to step 7;

[0014] 步骤7 :根据保存的筛选条件筛选所述将要显示的页面数据,将所述将要显示的页面数据中与所述保存的筛选条件匹配的所述页面数据存放至列表中; [0014] Step 7: Screening of page data to be displayed according to the filter criteria stored in the page data to the page data to be displayed with the stored matched filter condition is stored into the list;

[0015] 步骤8 :在浏览器端显示存放在所述列表中的所述页面数据,并进入步骤9 ; [0015] Step 8: In the browser displays the list stored in the page data, and proceeds to step 9;

[0016] 步骤8' :在浏览器端显示步骤5中所述的将要显示的页面数据,并进入步骤9 ; [0016] Step 8 ': displaying the browser in step 5 of page data to be displayed, and proceeds to step 9;

[0017] 步骤9:结束。 [0017] Step 9: End.

[0018] 进一步地,所述步骤2具体包括:[0019] 步骤21 :显示是否增加筛选页面数据的筛选条件对话框; [0018] Further, the step 2 specifically includes: [0019] Step 21: Display whether to increase the filtering criteria to filter dialog page data;

[0020] 步骤22 :确定是否增加筛选页面数据的筛选条件,若是,则进入步骤3,若否,则转至步骤3'。 [0020] Step 22: determining whether to increase the filtering criteria to filter the data pages, and if yes, proceeds to step 3, and if not, go to step 3 '.

[0021] 进一步地,所述步骤4具体包括: [0021] Further, the step 4 comprises:

[0022] 步骤41,用户向移动终端请求页面链接; [0022] Step 41, the user requests a page linked to the mobile terminal;

[0023] 步骤42,移动终端创建与服务器端的连接; [0023] Step 42, the mobile terminal creates a connection with the server;

[0024] 步骤43,向服务器端请求所述页面链接。 [0024] Step 43, the requested page linked to the server.

[0025] 进一步地,所述步骤5具体包括: [0025] Further, the step 5 comprises:

[0026] 步骤51 :接收所述页面链接的页面源数据; [0026] Step 51: receiving a source data page of the linked page;

[0027] 步骤52 :解析所述页面源数据; [0027] Step 52: parsing the source data page;

[0028] 步骤53 :获取将要显示的页面数据。 [0028] Step 53: Get page data to be displayed.

[0029] 进一步地,所述步骤7具体包括: [0029] Further, step 7 comprises:

[0030] 步骤71 :以行为单位,遍历步骤5中所述的将要显示的页面数据; [0030] Step 71: in units, said traversing step 5 to be displayed in the page data;

[0031] 步骤72 :判断是否还有页面的行的数据,若是,则进入步骤72,若否,则进入步骤8 ; [0031] Step 72: determining whether there are data rows of the page, and if yes, proceeds to step 72, and if not, the process proceeds to step 8;

[0032] 步骤73 :判断所述行的数据是否与保存的筛选条件匹配,若是,则将行的数据存放至列表中,若否,则转至步骤72。 [0032] Step 73: determining whether the data of the rows that match the filter saved data and if yes, the line is stored to the list, if not, then go to step 72.

[0033] 一种移动终端页面数据筛选的装置,包括: [0033] A mobile terminal apparatus screened page data, comprising:

[0034] 选择单元,用于选择是否输入筛选条件; [0034] The selection unit for selecting whether the input filters;

[0035] 输入保存单元,用于在所述选择单元选择输入筛选条件时,输入筛选条件,并将筛选条件保存在移动终端的ROM空间,或者用于在所述选择单元选择不输入筛选条件时,将筛选条件记录为空并保存在移动终端的ROM空间; [0035] The input storage unit, a unit selection input when the selection filters, the input filter criteria, and the spatial filter conditions stored in the ROM of the mobile terminal, or for, when the selection unit selects not to enter the filter conditions filtering criteria and the record is stored in the ROM empty space of the mobile terminal;

[0036] 请求单元,用于请求页面链接; [0036] request means for requesting the page links;

[0037] 接收处理单元,用于获取将要显示的页面数据; [0037] The reception processing unit, configured to obtain page data to be displayed;

[0038] 读取分析单元,用于读取并分析保存的筛选条件是否为空,若为空,则转至下述显示单元显示所述接收处理单元获取的将要显示的页面数据,否则,转至下述筛选单元; [0038] reading analyzing unit for reading and analyzing whether to save the filter criteria is empty, if it is empty, go to the following display unit displays the reception processing unit acquires page data to be displayed, otherwise, turn following to the screening unit;

[0039] 筛选单元,用于筛选所述将要显示的页面数据,将所述将要显示的页面数据中与所述保存的筛选条件匹配的所述页面数据存放至列表中; [0039] filtering means for filtering the data page to be displayed, the page data to the page data to be displayed with the stored matched filter condition is stored into the list;

[0040] 显示单元,用于当所述读取分析单元判断筛选条件为空时,在浏览器端显示所述接收处理单元获取的将要显示的页面数据,否则,用于在浏览器端显示列表中的页面数据; [0040] the display unit, the analysis unit for determining when the read filter criteria is empty, the display of the reception processing unit acquires page data to be displayed in the browser, or, for displaying a list in the browser the page data;

[0041] 结束单元,用于结束整个程序。 [0041] The end unit to end the entire process.

[0042] 进一步地,所述输入保存单元具体包括显示模块、输入模块和保存模块,其中, [0042] Furthermore, the input storage unit comprises a display module, an input module and a storage module, wherein

[0043] 所述显示模块,用于显示是否增加筛选页面数据的筛选条件对话框,若是,则转至所述输入模块,若否,则将筛选条件记录为空并转至所述保存模块; [0043] The display module for displaying whether to increase the filtering criteria to filter dialog page data, if yes, then go to the input module, if not, the record is empty and the filters transferred to said storage module;

[0044] 所述输入模块,用于输入筛选条件; [0044] The input module for inputting filter criteria;

[0045] 所述保存模块,用于保存输入模块输入的筛选条件。 [0045] The storage module is configured to filter condition storage input module inputs.

[0046] 进一步地,所述请求单元具体包括: [0046] Further, the request means comprises:

[0047] 请求接收模块,用于接收用户对页面链接的请求; [0047] The request receiving module configured to receive a user request for a link to a page;

5[0048] 创建连接模块,用于创建与服务器端的连接; 5 [0048] create a connection module for creating a connection with the server;

[0049] 请求发送模块,用于向服务器端请求所述页面链接。 [0049] The request sending module, for requesting the page linked to the server.

[0050] 进一步地,所述接收处理单元具体包括: [0050] Further, the reception processing unit comprises:

[0051] 接收模块,用于接收所述页面链接的页面源数据; [0051] a receiving module configured to receive the source data page link page;

[0052] 解析模块,用于解析所述页面源数据 [0052] The parsing module configured to parse the source data page

[0053] 获取模块,用于获取将要显示的页面数据。 [0053] obtaining module, configured to obtain page data to be displayed.

[0054] 进一步地,所述筛选单元具体包括: [0054] Furthermore, the screening unit comprises:

[0055] 遍历模块,用于以行为单位,遍历接收处理模块获取的将要显示的页面数据; [0055] The traversal module is configured in units of page data, the reception processing module acquires the traversing to be displayed;

[0056] 第一判断模块,用于判断是否还有页面的行的数据; [0056] a first determining module, data for determining whether there is a page row;

[0057] 第二判断模块,用于判断所述行的数据是否与保存的筛选条件匹配,若是,则将行的数据存放至列表中,若否,则转至所述第一判断模块。 [0057] The second determining module, for determining whether the data of the rows that match the filter saved data and if yes, the line is stored to the list, if not, go to the first determining module.

[0058] 本发明在浏览器成功解析网页页面数据后,再根据用户自定义的筛选条件对这些页面数据做一次筛选,最后将筛选出的符合筛选条件的页面数据显示出来。 [0058] The present invention successfully resolved in the browser web page data, and then filter based on user-defined conditions to do a screening data on these pages, the last page will display the selected data matching the filter out. 本发明能够实现直接在客户端(即移动终端)对页面数据进行筛选,而无需重复请求服务器端,节省时间,还能够让用户自定义筛选条件,而不再受限于服务器端提供的筛选服务,让用户的筛选更灵活。 The present invention enables screening of page data directly in the client (i.e., a mobile terminal), without repeating the request server, saves time, but also allows the user to customize the filters, but not longer limited to the filtering services provided by the server , allowing users to filter more flexible.

附图说明 BRIEF DESCRIPTION

[0059] 图1为本发明的一种移动终端页面数据筛选的方法的一个实施例的流程示意图。 A flow diagram of an embodiment of a mobile terminal page data screening method [0059] FIG. 1 of the present invention.

[0060] 图2为本发明的一种移动终端页面数据筛选的方法的另一个实施例中步骤2的流程示意图。 Example 2 a schematic flow chart of another step in a mobile terminal page data screening method [0060] FIG. 2 embodiment of the present invention.

[0061] 图3为本发明的一种移动终端页面数据筛选的方法的另一个实施例中步骤4的流程示意图。 Step 4 schematic flowchart of another embodiment of a mobile terminal page data screening method [0061] FIG 3 embodiments of the present invention.

[0062] 图4为本发明的一种移动终端页面数据筛选的方法的另一个实施例中步骤5的流程示意图。 Step 5 is a schematic flowchart of a mobile terminal to another page of data screening method [0062] FIG. 4 embodiment of the present invention.

[0063] 图5为本发明的一种移动终端页面数据筛选的方法的另一个实施例中步骤7的流程示意图。 7 is a schematic flow diagram of another embodiment of a step in a mobile terminal page data screening method [0063] FIG. 5 of the present invention.

[0064] 图6为本发明的一种移动终端页面数据筛选的装置的结构示意图。 Schematic structural diagram of a mobile terminal device page data filtering [0064] FIG. 6 of the present invention. 具体实施方式 Detailed ways

[0065] 为了使本发明的目的、技术方案及优点更加清楚明白,下面结合附图及实施例,对本发明进行进一步详细说明。 [0065] To make the objectives, technical solutions and advantages of the present invention will become more apparent from the following embodiments and the accompanying drawings, the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are merely used to explain the present invention and are not intended to limit the present invention.

[0066] 针对现有技术中必须通过服务器端实现对页面数据进行筛选和服务器端无法使用户自定义筛选条件的弊端,本发明提供一种移动终端页面数据筛选的方法,如图1所示, 该方法包括: [0066] For the prior art must be implemented by the server and to filter the data to the page server can not make a user-defined filter conditions drawbacks, the present invention provides a method of screening a mobile terminal data page, shown in Figure 1, the method comprising:

[0067] 步骤1 :打开浏览器; [0067] Step 1: Open a browser;

[0068] 步骤2 :选择是否输入筛选条件,若是,则进入步骤3,若否,则转至步骤3' ; [0068] Step 2: select whether an input filter criteria, and if yes, proceeds to step 3, and if not, go to step 3 ';

[0069] 步骤3 :输入筛选条件并在移动终端的ROM空间保存筛选条件,完成后进入步骤4; [0069] Step 3: Filters input filters and stored in the ROM space of the mobile terminal proceeds to step 4 after the completion;

[0070] 步骤3' :在移动终端的ROM空间将筛选条件保存为空,完成后进入步骤4 ; [0070] Step 3 ': in the ROM of the mobile terminal to save space filter criteria is empty, the process proceeds to step 4 is completed;

[0071] 步骤4:请求页面链接; [0071] Step 4: Request page links;

[0072] 步骤5 :根据步骤4的请求获取将要显示的页面数据; [0072] Step 5: obtaining page data to be displayed according to the request of step 4;

[0073] 步骤6 :读取分析保存的筛选条件,确定该筛选条件是否为空,若筛选条件为空, 则转入步骤8 ',否则进入步骤7 ; [0073] Step 6: Screening Conditions read stored, determines whether the filter condition is empty, if the filter criteria is empty, the process proceeds to step 8 ', otherwise, proceed to step 7;

[0074] 步骤7 :根据保存的筛选条件筛选所述将要显示的页面数据,将所述将要显示的页面数据中与所述保存的筛选条件匹配的所述页面数据存放至列表中; [0074] Step 7: Screening of page data to be displayed according to the filter criteria stored in the page data to the page data to be displayed with the stored matched filter condition is stored into the list;

[0075] 步骤8 :在浏览器端显示存放在所述列表中的所述页面数据,并进入步骤9 ; [0075] Step 8: In the browser displays the list stored in the page data, and proceeds to step 9;

[0076] 步骤8,:在浏览器端显示步骤5中所述的将要显示的页面数据,并进入步骤9 ; [0076] Step 8 ,: said displaying step 5 to be displayed in the browser page data, and proceeds to step 9;

[0077] 步骤9:结束。 [0077] Step 9: End.

[0078] 本发明设计思想是,在浏览器成功解析网页页面数据后,再根据用户自定义的筛选条件对这些页面数据做一次筛选,最后将筛选出的符合筛选条件的页面数据显示出来。 [0078] design concept of the invention is that, after the success of the browser parses the web page data, and then filter based on user-defined conditions to do a screening data on these pages, the last page will display the selected data matching the filter out. 本发明可以实现直接在客户端(即移动终端)对页面数据进行筛选,不需要重复请求服务端,可以快速显示筛选后的数据给用户,减少了重复请求所要花费的5-10秒的时间。 The present invention may be implemented to filter data directly to the page on the client (i.e., a mobile terminal), the server does not need to repeat the request, the data can be quickly displayed to the user after the screening, reducing the 5-10 seconds it takes to repeat the request. 并且, 筛选的条件可以用户自定义,不再限定于服务器端提供的筛选服务,让用户的使用更灵活。 And screening conditions can be user-defined, no longer limited to screening services provided by the server, allowing users more flexibility.

[0079] 为完善本发明的方法,如图2所示,本发明的步骤2可以包括两个细分的步骤, 即: [0079] The method of the present invention is to improve, as shown in FIG. 2, step 2 of the present invention may comprise the step of two segments, namely:

[0080] 步骤21 :显示是否增加筛选页面数据的筛选条件对话框; [0080] Step 21: Display whether to increase the filtering criteria to filter dialog page data;

[0081] 步骤22 :确定是否增加筛选页面数据的筛选条件,若是,则进入步骤3,若否,则转至步骤3'。 [0081] Step 22: determining whether to increase the filtering criteria to filter the data pages, and if yes, proceeds to step 3, and if not, go to step 3 '.

[0082] 这样,如果用户在浏览网页时,首先为用户显示输入(或增加)筛选条件的提示性对话框,若用户此时需要进行页面数据的筛选,可以通过例如点击对话框上显示的“是”或“确定”,反馈给程序后,即可输入自己的筛选条件,即程序进入步骤3 ;若用户此时不需要进行页面数据的筛选,则可以例如点击对话框上显示的“否”或“取消”,反馈给程序后,程序默认将用户的筛选条件记录为空,并存储在移动终端的ROM空间,即程序进入步骤3'。 [0082] Thus, if the user is browsing the web, first of all for the user to display informational dialog box enter (or increase) the filtering criteria, if users need at this time to screen page data, for example, can be displayed by clicking on the dialog. " yes "or" OK ", the feedback to the program, to enter their own filters, i.e., the program proceeds to step 3; If the user does not need to filter this case page data, may be displayed on the dialog, for example, clicking" No " or "cancel", the feedback to the program, the program's default user filter criteria is empty records, stored in the ROM and the space of the mobile terminal, i.e., the program proceeds to step 3 '.

[0083] 这里值得说明的是,本发明优选将用户的筛选条件保存在移动终端的ROM空间内,然而将筛选条件保存在其他合适的存储空间或存储介质上,也是可行的。 [0083] It should be noted here that the present invention is preferably the filter condition is stored in the user space of the ROM of the mobile terminal, but the filters stored in the memory or other suitable storage medium, is also possible. 另外,本发明的筛选条件可以是一个,例如包含A,或者不包含B,也可以是两个或多个条件同时存在,每个条件之间可以是“和”也可以是“或”的关系,例如可以使既包含A又不包含B,也可是或者包含A,或者不包含B。 Furthermore, filters of the present invention may be one, for example, contains A, B, or does not contain, or may be two or more conditions exist between each condition may "and" may be "OR" , for example, possible to include both A nor a B, A may also be or contain, or does not contain B. 输入两个或多个筛选条件可以通过例如设计筛选条件的多重输入框即可,并且可以让用户自己设置条件数量和条件间的关系。 Enter two or more filter criteria can be, for example, multiple input boxes to design the filter criteria, and enables users to set the relationship between the number of conditions and the conditions themselves.

[0084] 作为另外一个优选实施例,如图3所示,本发明的请求页面链接的步骤(即步骤4) 可以实施为: [0084] As another preferred embodiment, shown in Figure 3, the step of requesting the page link of the present invention (i.e., step 4) may be implemented as:

[0085] 由用户向移动终端请求页面链接;移动终端收到请求后,创建与服务器端的连接; 连接成功后再向服务器端请求用户请求的页面链接。 [0085] requested by the user link page to the mobile terminal; the mobile terminal after receiving the request, the server creates a connection; connection request after a successful link page requested by the user to the server.

[0086] 作为另外一个优选实施例,如图4所示,本发明的步骤5也可以实施为:首先,移动终端接收前述步骤请求的页面链接的页面源数据;其次,移动终端解析所述页面源数据; 最后,获取将要显示的页面数据。 [0086] As another preferred example embodiment, as shown in step 5 of the present invention may also be implemented as a 4: Firstly, the mobile terminal receives the source data page linked page request in the previous step; secondly, the mobile terminal parsing the page source data; and finally, gets the page data to be displayed. 需要注意的是,此时的页面数据正是现有技术中移动终端 Note that, when page data is a mobile terminal prior art

7显示给用户的页面数据,即没有筛选条件的情况下,服务器端提供的用于显示的全部页面数据。 7 is displayed to the user data page, i.e. without the filter conditions, all pages of the server to provide data for display. 本发明正是针对这些数据进行筛选。 The present invention is screened against the data.

[0087] 接下来,如上述记载,读取并分析已保存的筛选条件,若用户输入并保存了不为空的筛选条件,则程序进入步骤7,步骤7是一个遍历页面数据并判断的步骤,如图6所示,作为一个优选实施例,其优选包括: [0087] Next, as described above, reads and analyzes the filters saved, if the user input and save the filter condition is not empty, the routine proceeds to step 7, Step 7 is a step of traversing the data page and judgments as shown in FIG 6, as a preferred embodiment, which preferably comprises:

[0088] 步骤71 :以行为单位,遍历步骤5中所述的将要显示的页面数据; [0088] Step 71: in units, said traversing step 5 to be displayed in the page data;

[0089] 步骤72 :判断是否还有页面的行的数据,若是,则进入步骤72,若否,则进入步骤8 ; [0089] Step 72: determining whether there are data rows of the page, and if yes, proceeds to step 72, and if not, the process proceeds to step 8;

[0090] 步骤73 :判断所述行的数据是否与保存的筛选条件匹配,若是,则将行的数据存放至列表中,若否,则转至步骤72。 [0090] Step 73: determining whether the data of the rows that match the filter saved data and if yes, the line is stored to the list, if not, then go to step 72.

[0091] 此处需要说明的是,本发明中是以行为单位(即处理的最小粒度),来约定筛选过程,当然可以根据不同需求,也可以以句子,段落等作为单位约定筛选过程。 [0091] It should be noted here that the present invention is based (i.e., a minimum particle size of the processing) in units, to agree screening process, according to the different needs of course, also possible to sentences, paragraphs, and other units as stipulated screening process.

[0092] 另外,本发明的移动终端页面数据筛选程序可以设置为在用户打开下一个网页时自动开启运行,直至用户取消该筛选程序,或者设置为在用户打开下一个网页时需要重新开启运行。 [0092] Further, the mobile terminal page data selection procedure of the present invention can be set to a open automatically runs a web page in a user opens, until the user cancels the screening process or to a need to restart the running web in the user opens. 本发明的移动终端页面数据筛选程序还可以设置为在任意步骤均可以由用户手动取消而结束。 The mobile terminal page data selection procedure of the present invention may be provided as any of the steps can be canceled manually by the user is ended.

[0093] 与上述方法相对应地,本发明还提供一种移动终端页面数据筛选的装置,如图6 所示,包括: [0093] corresponding to the above-described method, the present invention also provides a mobile terminal apparatus screened page data, shown in Figure 6, comprising:

[0094] 选择单元101,用于选择是否输入筛选条件; [0094] The selection unit 101 for selecting whether the input filters;

[0095] 输入保存单元102,用于在选择单元选择输入筛选条件时,输入筛选条件,并将筛选条件保存在移动终端的ROM空间,或者用于在选择单元101选择不输入筛选条件时,将筛选条件记录为空并保存在移动终端的ROM空间; When [0095] the input storage unit 102, the selection unit configured to select the input filter criteria, input filters, and the spatial filter conditions stored in the ROM of the mobile terminal, or to not enter the filter selection unit 101 selects the condition, the filters recorded and stored in the ROM is blank space of the mobile terminal;

[0096] 请求单元103,用于请求页面链接; [0096] request unit 103 for requesting the page links;

[0097] 接收处理单元104,用于获取将要显示的页面数据; [0097] The reception processing unit 104, configured to obtain page data to be displayed;

[0098] 读取分析单元105,用于读取并分析保存的筛选条件是否为空,若为空,则转至下述显示单元107显示接收处理单元104获取的将要显示的页面数据,否则,转至下述筛选单元106 ; [0098] analysis unit 105 reads, for reading and analyzing whether to save the filter criteria is empty, if it is empty, then go below the display unit 107 displays the page data acquired by the reception processing unit 104 to be displayed, otherwise, go following the screening unit 106;

[0099] 筛选单元106,用于筛选将要显示的页面数据,将将要显示的页面数据中与保存的筛选条件匹配的页面数据存放至列表中; [0099] Filter unit 106, a data page data page data page to be displayed for the screening, will be displayed in the filter condition storage matched to the stored list;

[0100] 显示单元107,用于当读取分析单元105判断筛选条件为空时,在浏览器端显示接收处理单元104获取的将要显示的页面数据,否则,用于在浏览器端显示列表中的页面数据; [0100] display unit 107, for analysis unit 105 determines when the reading filter criteria is empty, the page display processing unit 104 acquires the reception data to be displayed in the browser, or, for display in the browser list page data;

[0101] 结束单元108,用于结束整个程序。 [0101] End unit 108, for ending the entire process.

[0102] 本发明的移动终端页面数据筛选的装置能够在浏览器成功解析网页页面数据后, 再根据用户自定义的筛选条件对这些页面数据做一次筛选,最后将筛选出的符合筛选条件的页面数据显示出来。 [0102] The mobile terminal page data filtering apparatus of the invention can be in the browser successfully parsed web page data, then according to the screening conditions custom made a screening for these pages of data, and finally the page filter out matching the filter data is displayed. 还可以实现直接在客户端(即移动终端)对页面数据进行筛选,不需要重复请求服务端,可以快速显示筛选后的数据给用户,减少了重复请求所要花费的5-10 秒的时间。 Filter may also be implemented directly in the page data of the client (i.e., a mobile terminal), the server does not need to repeat the request, the data can be quickly displayed to the user after the screening, reducing the 5-10 seconds it takes to repeat the request. 并且,筛选的条件可以用户自定义,不再限定于服务器端提供的筛选服务,让用户的使用更灵活。 And screening conditions can be user-defined, no longer limited to screening services provided by the server, allowing users more flexibility. [0103] 优选地,本发明的输入保存单元102可以包括显示模块、输入模块和保存模块,其中,显示模块,用于显示是否增加筛选页面数据的筛选条件对话框,若是,则转至输入模块, 若否,则将筛选条件记录为空并转至保存模块;输入模块,用于输入筛选条件;保存模块, 用于保存输入模块输入的筛选条件。 [0103] Preferably, the input storage unit 102 of the present invention may include a display module, an input module and a storage module, wherein the display module for displaying whether to increase the filtering criteria to filter dialog page data, if yes, go to the input module If not, then the filter conditions and transferred to a recording storage module is empty; an input module for inputting filter conditions; save means for saving the filter conditions input module inputs.

[0104] 优选地,本发明的请求单元103具体可以包括:请求接收模块,用于接收用户对页面链接的请求;创建连接模块,用于创建与服务器端的连接;请求发送模块,用于向服务器端请求页面链接。 [0104] Preferably, the request unit 103 of the present invention may include: a request receiving module, configured to receive a user request for a linked page; create a connection module configured to create a connection to the server; request sending module, configured to the server side requests a page link.

[0105] 优选地,本发明的本发明的接收处理单元104具体可以包括:接收模块,用于接收页面链接的页面源数据;解析模块,用于解析页面源数据获取模块,用于获取将要显示的页面数据。 [0105] Preferably, the receiving processing unit 104 according to the present invention, the present invention specifically comprises: receiving means for receiving source data page linked page; parsing module configured to parse the source data page obtaining module, configured to obtain to be displayed page data.

[0106] 优选地,本发明的筛选单元106具体可以包括:遍历模块,用于以行为单位,遍历接收处理模块获取的将要显示的页面数据;第一判断模块,用于判断是否还有页面的行的数据;第二判断模块,用于判断行的数据是否与保存的筛选条件匹配,若是,则将行的数据存放至列表中,若否,则转至第一判断模块。 [0106] Preferably, the screening unit 106 of the present invention specifically comprises: traversing module configured in units, traverse the reception processing module acquires page data to be displayed; a first determining module, for determining whether there is a page data lines; a second determining module, for determining whether the row of data that match the filter saved data and if yes, the line is stored to the list, if not, go to the first determining module.

[0107] 以上所述仅为本发明的较佳实施例,并非用来限定本发明的实施范围;如果不脱离本发明的精神和范围,对本发明进行修改或者等同替换,均应涵盖在本发明权利要求的保护范围当中。 [0107] The foregoing is only preferred embodiments of the present invention, not intended to limit the scope of embodiments of the present invention; without departing from the spirit and scope of the present invention, the present invention may be modified or equivalent replacements shall be encompassed by the present invention, among the scope of the claims.

Claims (10)

1. 一种移动终端页面数据筛选的方法,其特征在于,包括: 步骤1 :打开浏览器;步骤2 :选择是否输入筛选条件,若是,则进入步骤3,若否,则转至步骤3' ; 步骤3 :输入筛选条件并在移动终端的ROM空间保存筛选条件,完成后进入步骤4 ; 步骤3' :在移动终端的ROM空间将筛选条件保存为空,完成后进入步骤4 ; 步骤4 :请求页面链接;步骤5 :根据步骤4的请求获取将要显示的页面数据;步骤6 :读取并分析保存的筛选条件,确定该筛选条件是否为空,若筛选条件为空,则转入步骤8',否则进入步骤7 ;步骤7 :根据保存的筛选条件筛选所述将要显示的页面数据,将所述将要显示的页面数据中与所述保存的筛选条件匹配的所述页面数据存放至列表中;步骤8 :在浏览器端显示存放在所述列表中的所述页面数据,并进入步骤9 ; 步骤8,:在浏览器端显示 A mobile terminal page data screening method comprising: Step 1: Open browser; Step 2: Select whether an input filter criteria, and if yes, proceeds to step 3, and if not, go to step 3 ' ; step 3: enter the filter criteria and save the filters in the ROM space of the mobile terminal, after completion proceeds to step 4; step 3 ': in the ROM space of the mobile terminal is saved filters is empty, after completing proceeds to step 4; step 4: Links requested page; step 5: step 4 according to a request of obtaining page data to be displayed; step 6: filter condition storage reads and analyzes to determine whether the filter condition is empty, if the filter criteria is empty, the process proceeds to step 8 ', otherwise, step 7; step 7: screening of page data to be displayed according to the filter criteria stored, the page data of the page data to be displayed with the stored matched filter criteria to the list of storage ; step 8: the browser displaying the page data is stored in the list and proceeds to step 9; step 8 ,: displayed in the browser 步骤5中所述的将要显示的页面数据,并进入步骤9 ; 步骤9 :结束。 The page data in step 5 to be displayed, and proceeds to step 9; Step 9: End.
2.根据权利要求1所述的方法,其特征在于,所述步骤2具体包括: 步骤21 :显示是否增加筛选页面数据的筛选条件对话框;步骤22 :确定是否增加筛选页面数据的筛选条件,若是,则进入步骤3,若否,则转至步马聚3 ο 2. The method according to claim 1, wherein the step 2 specifically includes: Step 21: whether to increase the filtering criteria to filter the display of page data box; Step 22: determining whether to increase the filtering criteria to filter the data page, If yes, the process proceeds to step 3, and if not, go to step 3 o poly horse
3.根据权利要求1所述的方法,其特征在于,所述步骤4具体包括: 步骤41,用户向移动终端请求页面链接;步骤42,移动终端创建与服务器端的连接; 步骤43,向服务器端请求所述页面链接。 3. The method according to claim 1, wherein said step 4 comprises: step 41, the user requests a page linked to the mobile terminal; a step 42, the mobile terminal creates a connection with the server; step 43, to the server requesting the page links.
4.根据权利要求1所述的方法,其特征在于,所述步骤5具体包括: 步骤51 :接收所述页面链接的页面源数据;步骤52 :解析所述页面源数据; 步骤53 :获取将要显示的页面数据。 4. The method according to claim 1, wherein said step 5 includes: Step 51: receiving the page source page data link; Step 52: parsing the source data page; Step 53: Get be data page display.
5.根据权利要求1所述的方法,其特征在于,所述步骤7具体包括: 步骤71 :以行为单位,遍历步骤5中所述的将要显示的页面数据;步骤72 :判断是否还有页面的行的数据,若是,则进入步骤72,若否,则进入步骤8 ; 步骤73 :判断所述行的数据是否与保存的筛选条件匹配,若是,则将行的数据存放至列表中,若否,则转至步骤72。 5. The method according to claim 1, wherein said step 7 comprises: Step 71: in units traversing step 5 to be displayed in the page data; Step 72: determining whether there is page rows of data, and if so, proceeds to step 72, and if not, the process proceeds to step 8; step 73: determining whether the data of the rows that match the filter saved, if yes, storing the data row to the list, if No, go to step 72.
6. 一种移动终端页面数据筛选的装置,其特征在于,包括: 选择单元,用于选择是否输入筛选条件;输入保存单元,用于在所述选择单元选择输入筛选条件时,输入筛选条件,并将筛选条件保存在移动终端的ROM空间,或者用于在所述选择单元选择不输入筛选条件时,将筛选条件记录为空并保存在移动终端的ROM空间; 请求单元,用于请求页面链接; 接收处理单元,用于获取将要显示的页面数据;读取分析单元,用于读取并分析保存的筛选条件是否为空,若为空,则转至下述显示单元显示所述接收处理单元获取的将要显示的页面数据,否则,转至下述筛选单元;筛选单元,用于筛选所述将要显示的页面数据,将所述将要显示的页面数据中与所述保存的筛选条件匹配的所述页面数据存放至列表中;显示单元,用于当所述读取分析单元判断筛选条件为空 A mobile terminal page data filtering apparatus, characterized by comprising: selecting means for selecting whether the input filters; input storage unit, the selection unit for selecting the input filters, the input filter conditions, and the spatial filter conditions stored in the ROM of the mobile terminal, or for, when the selection unit selects not to enter the filter criteria, the filter condition record stored in the ROM and empty space of the mobile terminal; requesting unit for requesting the page links ; reception processing unit, configured to obtain page data to be displayed; reading analyzing unit for reading and analyzing whether to save the filter criteria is empty, if it is empty, go to the following display unit displays the reception processing unit obtaining page data to be displayed, otherwise, go to the following screening unit; page data filter means for filtering the data page to be displayed, to be displayed in the filter condition with the stored matching the storing said page data to the list; a display unit, an evaluation unit for determining when the read filter criteria is empty ,在浏览器端显示所述接收处理单元获取的将要显示的页面数据,否则,用于在浏览器端显示列表中的页面数据; 结束单元,用于结束整个程序。 , The browser displaying a page of the reception processing unit acquires data to be displayed, otherwise, the page data for displaying a list in the browser; end unit to end the entire process.
7.根据权利要求6所述的装置,其特征在于,所述输入保存单元具体包括显示模块、输入模块和保存模块,其中,所述显示模块,用于显示是否增加筛选页面数据的筛选条件对话框,若是,则转至所述输入模块,若否,则将筛选条件记录为空并转至所述保存模块; 所述输入模块,用于输入筛选条件; 所述保存模块,用于保存输入模块输入的筛选条件。 7. The device according to claim 6, wherein said input storage unit comprises a display module, an input module and a storage module, wherein the display module for displaying page data whether to increase the screening filters dialogue block, if yes, then go to the input module, if not, the record is empty and the filters transferred to said storage module; the input module for inputting filters; said storage module configured to store input filters module inputs.
8.根据权利要求6所述的装置,其特征在于,所述请求单元具体包括: 请求接收模块,用于接收用户对页面链接的请求;创建连接模块,用于创建与服务器端的连接; 请求发送模块,用于向服务器端请求所述页面链接。 8. The apparatus according to claim 6, wherein the requesting unit comprises: a request receiving module, configured to receive a user request for a linked page; create a connection module configured to create a connection to the server; request means for requesting the page linked to the server.
9.根据权利要求6所述的装置,其特征在于,所述接收处理单元具体包括: 接收模块,用于接收所述页面链接的页面源数据;解析模块,用于解析所述页面源数据获取模块,用于获取将要显示的页面数据。 9. The apparatus according to claim 6, wherein said reception processing unit comprises: a receiving module configured to receive the source data page link page; parsing module configured to parse the source data page acquisition module for acquiring data page will be displayed.
10.根据权利要求6所述的装置,其特征在于,所述筛选单元具体包括: 遍历模块,用于以行为单位,遍历接收处理模块获取的将要显示的页面数据; 第一判断模块,用于判断是否还有页面的行的数据;第二判断模块,用于判断所述行的数据是否与保存的筛选条件匹配,若是,则将行的数据存放至列表中,若否,则转至所述第一判断模块。 10. The apparatus according to claim 6, wherein said screening unit comprises: a traversal module configured in units, traverse the reception processing module acquires page data to be displayed; a first judging module, configured to determining whether there is a page of data lines; a second determining module, for determining whether the data matches the row filter criteria saved, if yes, storing the data row to the list, if not, go to the said first determining module.
CN 201110216332 2011-07-29 2011-07-29 A method and apparatus for a mobile terminal page data filtering CN102289477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110216332 CN102289477A (en) 2011-07-29 2011-07-29 A method and apparatus for a mobile terminal page data filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110216332 CN102289477A (en) 2011-07-29 2011-07-29 A method and apparatus for a mobile terminal page data filtering

Publications (1)

Publication Number Publication Date
CN102289477A true CN102289477A (en) 2011-12-21

Family

ID=45335904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110216332 CN102289477A (en) 2011-07-29 2011-07-29 A method and apparatus for a mobile terminal page data filtering

Country Status (1)

Country Link
CN (1) CN102289477A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150370A (en) * 2013-03-07 2013-06-12 黄晓惠 Database system and data sieving method thereof
CN103902436A (en) * 2012-12-28 2014-07-02 百度在线网络技术(北京)有限公司 Method and device for restoring user access behaviors

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1285553A (en) * 2000-08-30 2001-02-28 王逖 System for automatic checking screening transmission of network personal information and method for realizing the same
WO2001057733A1 (en) * 2000-02-02 2001-08-09 Doongo Technologies, Inc. Apparatus and methods for providing personalized application search results for wireless devices based on user profiles
US20020147775A1 (en) * 2001-04-06 2002-10-10 Suda Aruna Rohra System and method for displaying information provided by a provider
CN101470742A (en) * 2007-12-27 2009-07-01 英业达股份有限公司 Data system of personalized web page, display and data storage method
CN102073747A (en) * 2011-02-28 2011-05-25 深圳市五巨科技有限公司 Method, device and system for screening webpage page data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001057733A1 (en) * 2000-02-02 2001-08-09 Doongo Technologies, Inc. Apparatus and methods for providing personalized application search results for wireless devices based on user profiles
CN1285553A (en) * 2000-08-30 2001-02-28 王逖 System for automatic checking screening transmission of network personal information and method for realizing the same
US20020147775A1 (en) * 2001-04-06 2002-10-10 Suda Aruna Rohra System and method for displaying information provided by a provider
CN101470742A (en) * 2007-12-27 2009-07-01 英业达股份有限公司 Data system of personalized web page, display and data storage method
CN102073747A (en) * 2011-02-28 2011-05-25 深圳市五巨科技有限公司 Method, device and system for screening webpage page data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902436A (en) * 2012-12-28 2014-07-02 百度在线网络技术(北京)有限公司 Method and device for restoring user access behaviors
CN103902436B (en) * 2012-12-28 2018-04-03 百度在线网络技术(北京)有限公司 A method of user access devices and reduction of
CN103150370A (en) * 2013-03-07 2013-06-12 黄晓惠 Database system and data sieving method thereof

Similar Documents

Publication Publication Date Title
US8768731B2 (en) Syndicating ultrasound echo data in a healthcare environment
EP2183881B1 (en) Cross-domain communication
US20060265489A1 (en) Disaster management using an enhanced syndication platform
KR101372718B1 (en) System and method for obtaining content based on data from an electronic device
US20110110568A1 (en) Web enabled medical image repository
RU2460131C2 (en) Equipping user interface with search query expansion
US8849649B2 (en) System and method for determining sentiment expressed in documents
US20070288247A1 (en) Digital life server
US8200700B2 (en) Systems and methods for use of structured and unstructured distributed data
CN102144243B (en) Content recommendations based on browsing information
US20070174260A1 (en) Search engine facility with automated knowledge retrieval, generation and maintenance
US20130104251A1 (en) Security systems and methods for use with structured and unstructured data
JP4834042B2 (en) User-created content management system, the preference survey methods of user-created content management system and visitors
US20070136255A1 (en) System and method for generating, maintaining, and rendering landing and web pages
US20070250531A1 (en) System and Method of Web Browser-Based Document and Content Management
JP2014522030A (en) Configuration of the web crawler for extracting web page information
WO2007011753A2 (en) Acquiring and assembling real property data
WO2004088540A1 (en) Method and system for generating a search result list based on local information
US20120246343A1 (en) Synchronizing digital content
US8341157B2 (en) System and method for intent-driven search result presentation
CN101375281B (en) Using user feedback to improve search results
US7076534B1 (en) Server-side scripting that enables creation of customized documents for clients
CN1677403A (en) System and method for automated optimization of search result relevance
CN101137985A (en) Reranking and increasing the relevance of the results of searches
JP2011023018A (en) Apparatus, method and program storage medium for providing and processing information

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C02 Deemed withdrawal of patent application after publication (patent law 2001)