CN104063115A - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104063115A CN104063115A CN201310086299.2A CN201310086299A CN104063115A CN 104063115 A CN104063115 A CN 104063115A CN 201310086299 A CN201310086299 A CN 201310086299A CN 104063115 A CN104063115 A CN 104063115A
- Authority
- CN
- China
- Prior art keywords
- page
- data
- input operation
- communication unit
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The invention discloses an information processing method and electronic equipment. The method can be applied in electronic equipment, and the electronic equipment comprises a communication unit, wherein the communication unit is used for transmitting data; a first application is installed on the electronic equipment; the method comprises the following steps: the first application obtains first data from a first server on the basis of the communication unit in the light of scheduled rules and the first data is used for supporting the display of a first page; whether a specific event is obtained or not is detected, wherein the specific event is an input operation not in connection with the first page; an input operation is produced when the specific event happens and the input operation is in connection with the specific position of the first page; second data, used for updating partial areas of the first page, is obtained by the communication unit from the first server when the specific position responses to the input operation. The information processing method and electronic equipment can obtain contents appeared when an input operation is required.
Description
Technical field
The present invention relates to network field, relate in particular to a kind of information processing method and electronic equipment.
Background technology
It is the main path that search engine obtains internet content that webpage captures.In recent years, in order to solve crawler system, cannot extract the dynamically problem of the web data of generation of script, the internet content based on browser captures and has started to use for some vertical search engines.
In realizing the process of embodiment of the present invention technical scheme, inventor finds that in above-mentioned prior art, at least there are the following problems:
In the grasping system based on browser, product specification for example, buyer such as evaluates at some comparatively valuable content often needs user just can see after clicking.
Summary of the invention
The technical problem to be solved in the present invention is how to obtain to need the content that occurs after input operation.
In order to address the above problem, the invention provides a kind of information processing method, be applied in an electronic equipment, described electronic equipment comprises communication unit, described communication unit is used for carrying out data transmission; Described electronic equipment is provided with the first application; Described method comprises:
Described the first application obtains first data according to pre-defined rule from first server based on described communication unit, and described the first data are for supporting the demonstration of described first page;
Whether monitoring obtains particular event; Wherein, described particular event is the non-input operation for described first page;
When described particular event produces, produce input operation, described input operation is for the assigned address of described first page;
For described assigned address, respond described input operation, based on described communication unit, from described first server, obtain the second data, described the second data are for upgrading the subregion of described first page.
Further, described particular event comprise following situation or wherein any:
Described first page has shown;
Timer expiry.
Further, described pre-defined rule is one or more URL, and the step that described the first application obtains first data according to pre-defined rule from first server based on described communication unit comprises:
Described the first application, according to described URL, sets up network and be connected, and to the corresponding resource of this URL of first server request, the resource that request is arrived is as described the first data based on described communication unit with corresponding first server.
Further, the step of generation input operation comprises:
Carry out the good local JS code of predefined; Described local JS code carries out the instruction of clicking operation for generation of the assigned address in first page in the first application.
Further, based on described communication unit, from obtaining the step of the second data, described first server also comprises:
Described the first application is according to first page described in described the second Data Update.
The present invention also provides a kind of electronic equipment, comprising: communication unit, for carrying out data transmission;
Acquiring unit, for obtaining first data according to pre-defined rule from first server by described communication unit, described the first data are for supporting the demonstration of described first page;
Whether monitor unit, obtain particular event for monitoring; Wherein, described particular event is the non-input operation for described first page;
Processing unit, while producing for particular event detected when described monitor unit, produces input operation, and described input operation is for the assigned address of described first page;
Described acquiring unit also, for responding described input operation for described assigned address, obtains the second data by described communication unit from described first server, and described the second data are for upgrading the subregion of described first page.
Further, described particular event comprise following situation or wherein any:
Described first page has shown;
Timer expiry.
Further, described pre-defined rule is one or more URL, and described acquiring unit obtains first data according to pre-defined rule from first server by described communication unit and refers to:
Described acquiring unit, according to described URL, sets up network and be connected, and to the corresponding resource of this URL of first server request, the resource that request is arrived is as described the first data by described communication unit with corresponding first server.
Further, described processing unit generation input operation refers to:
Described processing unit is carried out the good local JS code of predefined; Described local JS code carries out the instruction of clicking operation for generation of the assigned address in first page in the first application.
Further, described electronic equipment also comprises:
Updating block, for when described acquiring unit is from described first server obtains the second data, according to first page described in described the second Data Update.
At least one embodiment of the present invention can analog input operation, obtains the content of pages after renewal; Another embodiment of the present invention can carry out personal settings for different situations, thereby can carry out input operation for different positions, and/or carries out different types of input operation for a position, more flexible.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of information processing method of embodiment mono-;
Fig. 2 is the schematic block diagram of a kind of electronic equipment of embodiment bis-.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described in detail.
It should be noted that, if do not conflicted, each feature in the embodiment of the present invention and embodiment can mutually combine, all within protection scope of the present invention.In addition, although there is shown logical order in flow process, in some cases, can carry out shown or described step with the order being different from herein.
Embodiment mono-, a kind of information processing method, be applied in an electronic equipment, and described electronic equipment comprises communication unit, and described communication unit is used for carrying out data transmission; Described electronic equipment is provided with the first application; It is characterized in that, described method as shown in Figure 1, comprising:
Described the first application obtains first data according to pre-defined rule from first server based on described communication unit, and described the first data are for supporting the demonstration of described first page;
Whether monitoring obtains particular event; Wherein, described particular event is the non-input operation for described first page;
When described particular event produces, produce input operation, described input operation is for the assigned address of described first page;
For described assigned address, respond described input operation, based on described communication unit, from described first server, obtain the second data, described the second data are for upgrading the subregion of described first page.
In the present embodiment, described electronic equipment can comprise desktop computer, notebook computer, mobile phone, panel computer, server etc.; Described communication unit can be wire/wireless network interface card, modulator-demodular unit, WIFI module etc.
In the present embodiment, described the first application can be browser, also can be that other can represent content of pages, and can respond the application for the input operation of content on this page, such as reading application (as Netease reads etc.), on-line shop's application (as No. 1 shop etc.), the application of social forum (as Renren Network etc.), microblogging etc.Described the first data can comprise the layout information of first page and the content that represents etc.
In the present embodiment, the subregion of upgrading can be in first page corresponding to a certain size region of described assigned address, can be also full page; The corresponding region of different assigned addresses can be not different, completely overlapping or partly overlap.Described assigned address can be direct link, can be also picture, icon, menu item, dialog box etc.Can in first page, mark out described assigned address by modes such as preset coordinate or sizes; Also can mark out described assigned address by the title of picture, chart or menu item, the field that link comprises etc., can also in the first data, mark out this assigned address, such as the 3rd link that assigned address can be set as in first page.For different first pages, assigned address can be identical or different; Along with the change of pre-defined rule or along with the change of first page, different assigned addresses can be set.
In an embodiment of the present embodiment, described particular event can be, but not limited to comprise following situation or wherein any:
Described first page has shown;
Timer expiry.
The timing of described timer can arrange as required and change, and when obtaining described the first data or while sending the request to the first data, resets and starts timing.When described first is applied as browser, described first page has shown and can be, but not limited to refer to that first page played up.
When there is a plurality of assigned address, for different particular events, assigned address can be identical or different.After having shown when first page, can first produce the input operation for the first assigned address; After first timer is overtime, produce the input operation for the second assigned address, after second timer is overtime, produce the input operation for the 3rd assigned address.In first page, there are so a plurality of regions can be according to input operation update content time, just can only load one time first page, and complete the demonstration of the content after these a plurality of area updates or crawl etc.
In other embodiments, described particular event can also comprise: receive input, the button on electronic equipment (comprising soft-key button and physical button) of certain gestures or key combination is pressed, the attitude of electronic equipment is carried out the situations such as specific change.Such as wanting to check as user, in webpage, need the commodity that clickthrough just can show but be unwilling or be inconvenient to click while linking in each webpage, can pass through pressing keys, or electronic equipment is changed into the modes such as vertical placement by horizontal positioned, make electronic equipment automatically produce an input operation, allow web page display commodity, and directly remove clickthrough without user.
In an embodiment of the present embodiment, described pre-defined rule can be one or more URL, and the step that described the first application obtains first data according to pre-defined rule from first server based on described communication unit specifically can comprise:
Described the first application, according to described URL, sets up network and be connected, and to the corresponding resource of this URL of first server request, the resource that request is arrived is as described the first data based on described communication unit with corresponding first server.
In the present embodiment, when there is a plurality of URL, can according to each URL, obtain the first data successively; After upgrading described first page, or when upgrading described first page and completing after other predetermined operation, then obtain the first data according to next URL.
In the present embodiment, described one or more URL can be, but not limited to preserve with the form of a url list.In other embodiments, described pre-defined rule can be also IP address or other page iden-tity; Can also be default condition in addition, such as network address meets all webpages of certain condition, such as this condition can be to comprise that specific character (string) and/or update time are between certain date field.
In an embodiment of the present embodiment, the step that produces input operation specifically can comprise:
Carry out good local JS (javaScript, a kind of script) code of predefined;
Described local JS code carries out the instruction of clicking operation for generation of the assigned address in first page in the first application.
In present embodiment, click behavior can trigger page events, refreshes the webpage of assigned address part, thereby can get the web page contents after click.In other embodiments, input operation is not limited to clicking operation, can be also the preset numeral of input, character etc., can also be in option, to choose one or more operations.For different pre-defined rules or for different first pages, can carry out different input operations.If for different pre-defined rules or different first pages, input operation and/or assigned address are different, can realize by defining different local JS codes.
In an embodiment of the present embodiment, based on described communication unit, from obtaining the step of the second data, described first server can also comprise:
Described the first application is according to first page described in described the second Data Update.
In present embodiment, first page after renewal is equivalent to user this first page was carried out to the page after input operation, if need to carry out to the page after click or other input operation content crawl or other operation, can complete in the first page after this renewal.In other embodiment, can not upgrade yet, but directly utilize these second data to complete content, capture or other operation.
Embodiment bis-, a kind of electronic equipment, as shown in Figure 2, comprising: communication unit, for carrying out data transmission;
Acquiring unit, for obtaining first data according to pre-defined rule from first server by described communication unit, described the first data are for supporting the demonstration of described first page;
Whether monitor unit, obtain particular event for monitoring; Wherein, described particular event is the non-input operation for described first page;
Processing unit, while producing for particular event detected when described monitor unit, produces input operation, and described input operation is for the assigned address of described first page;
Described acquiring unit also, for responding described input operation for described assigned address, obtains the second data by described communication unit from described first server, and described the second data are for upgrading the subregion of described first page.
In the present embodiment, described electronic equipment can comprise desktop computer, notebook computer, mobile phone, panel computer, server etc.; Described communication unit can be wire/wireless network interface card, modulator-demodular unit, WIFI module etc.
In the present embodiment, described the first application can be browser, also can be that other can represent content of pages, and can respond the application for the input operation of content on this page, such as reading application (as Netease reads etc.), on-line shop's application (as No. 1 shop etc.), the application of social forum (as Renren Network etc.), microblogging etc.Described the first data can comprise the layout information of first page and the content that represents etc.
In the present embodiment, the subregion of upgrading can be in first page corresponding to a certain size region of described assigned address, can be also full page; The corresponding region of different assigned addresses can be not different, completely overlapping or partly overlap.Described assigned address can be direct link, can be also picture, icon, menu item, dialog box etc.Can in first page, mark out described assigned address by modes such as preset coordinate or sizes; Also can mark out described assigned address by the title of picture, chart or menu item, the field that link comprises etc., can also in the first data, mark out this assigned address, such as the 3rd link that assigned address can be set as in first page.For different first pages, assigned address can be identical or different; Along with the change of pre-defined rule or along with the change of first page, different assigned addresses can be set.
In an embodiment of the present embodiment, described particular event can be, but not limited to comprise following situation or wherein any:
Described first page has shown;
Timer expiry.
The timing of described timer can arrange as required and change, and when obtaining described the first data or while sending the request to the first data, resets and starts timing.When described first is applied as browser, described first page has shown and can be, but not limited to refer to that first page played up.
When there is a plurality of assigned address, for different particular events, assigned address can be identical or different.After having shown when first page, can first produce the input operation for the first assigned address; After first timer is overtime, produce the input operation for the second assigned address, after second timer is overtime, produce the input operation for the 3rd assigned address.In first page, there are so a plurality of regions can be according to input operation update content time, just can only load one time first page, and complete the demonstration of the content after these a plurality of area updates or crawl etc.
In other embodiments, described particular event can also comprise: receive input, the button on electronic equipment (comprising soft-key button and physical button) of certain gestures or key combination is pressed, the attitude of electronic equipment is carried out the situations such as specific change.Such as wanting to check as user, in webpage, need the commodity that clickthrough just can show but be unwilling or be inconvenient to click while linking in each webpage, can pass through pressing keys, or electronic equipment is changed into the modes such as vertical placement by horizontal positioned, make electronic equipment automatically produce an input operation, allow web page display commodity, and directly remove clickthrough without user.
In an embodiment of the present embodiment, described pre-defined rule can be one or more URL, and described acquiring unit obtains first data according to pre-defined rule from first server by described communication unit and specifically can refer to:
Described acquiring unit, according to described URL, sets up network and be connected, and to the corresponding resource of this URL of first server request, the resource that request is arrived is as described the first data by described communication unit with corresponding first server.
In the present embodiment, when there is a plurality of URL, can according to each URL, obtain the first data successively; After upgrading described first page, or when upgrading described first page and completing after other predetermined operation, then obtain the first data according to next URL.
In the present embodiment, described one or more URL can be, but not limited to preserve with the form of a url list.In other embodiments, described pre-defined rule can be also IP address or other page iden-tity; Can also be default condition in addition, such as network address meets all webpages of certain condition, such as this condition can be to comprise that specific character (string) and/or update time are between certain date field.
In an embodiment of the present embodiment, described processing unit produces input operation and specifically can refer to:
Described processing unit is carried out the good local JS code of predefined; Described local JS code carries out the instruction of clicking operation for generation of the assigned address in first page in the first application.
In present embodiment, click behavior can trigger page events, refreshes the webpage of assigned address part, thereby can get the web page contents after click.In other embodiments, input operation is not limited to clicking operation, can be also the preset numeral of input, character etc., can also be in option, to choose one or more operations.For different pre-defined rules or for different first pages, can carry out different input operations.If for different pre-defined rules or different first pages, input operation and/or assigned address are different, can realize by defining different local JS codes.
In an embodiment of the present embodiment, described electronic equipment can also comprise:
Updating block, for when described acquiring unit is from described first server obtains the second data, according to first page described in described the second Data Update.
In present embodiment, first page after renewal is equivalent to user this first page was carried out to the page after input operation, if need to carry out to the page after click or other input operation content crawl or other operation, can complete in the first page after this renewal.In other embodiment, can not upgrade yet, but directly utilize these second data to complete content, capture or other operation.
One of ordinary skill in the art will appreciate that all or part of step in said method can come instruction related hardware to complete by program, described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuit.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of claim of the present invention.
Claims (10)
1. an information processing method, is applied in an electronic equipment, and described electronic equipment comprises communication unit, and described communication unit is used for carrying out data transmission; Described electronic equipment is provided with the first application; It is characterized in that, described method comprises:
Described the first application obtains first data according to pre-defined rule from first server based on described communication unit, and described the first data are for supporting the demonstration of described first page;
Whether monitoring obtains particular event; Wherein, described particular event is the non-input operation for described first page;
When described particular event produces, produce input operation, described input operation is for the assigned address of described first page;
For described assigned address, respond described input operation, based on described communication unit, from described first server, obtain the second data, described the second data are for upgrading the subregion of described first page.
2. the method for claim 1, is characterized in that, described particular event comprise following situation or wherein any:
Described first page has shown;
Timer expiry.
3. the method for claim 1, is characterized in that:
Described pre-defined rule is one or more URL;
The step that described the first application obtains first data according to pre-defined rule from first server based on described communication unit comprises:
Described the first application, according to described URL, sets up network and be connected, and to the corresponding resource of this URL of first server request, the resource that request is arrived is as described the first data based on described communication unit with corresponding first server.
4. the method for claim 1, is characterized in that, the step that produces input operation comprises:
Carry out the good local JS code of predefined; Described local JS code carries out the instruction of clicking operation for generation of the assigned address in first page in the first application.
5. method according to any one of claims 1 to 4, is characterized in that, based on described communication unit, from described first server obtains the step of the second data, also comprises:
Described the first application is according to first page described in described the second Data Update.
6. an electronic equipment, comprising:
Communication unit, for carrying out data transmission;
It is characterized in that, also comprise:
Acquiring unit, for obtaining first data according to pre-defined rule from first server by described communication unit, described the first data are for supporting the demonstration of described first page;
Whether monitor unit, obtain particular event for monitoring; Wherein, described particular event is the non-input operation for described first page;
Processing unit, while producing for particular event detected when described monitor unit, produces input operation, and described input operation is for the assigned address of described first page;
Described acquiring unit also, for responding described input operation for described assigned address, obtains the second data by described communication unit from described first server, and described the second data are for upgrading the subregion of described first page.
7. electronic equipment as claimed in claim 6, is characterized in that, described particular event comprise following situation or wherein any:
Described first page has shown;
Timer expiry.
8. electronic equipment as claimed in claim 6, is characterized in that:
Described pre-defined rule is one or more URL;
Described acquiring unit obtains first data according to pre-defined rule from first server by described communication unit and refers to:
Described acquiring unit, according to described URL, sets up network and be connected, and to the corresponding resource of this URL of first server request, the resource that request is arrived is as described the first data by described communication unit with corresponding first server.
9. electronic equipment as claimed in claim 6, is characterized in that, described processing unit produces input operation and refers to:
Described processing unit is carried out the good local JS code of predefined; Described local JS code carries out the instruction of clicking operation for generation of the assigned address in first page in the first application.
10. the electronic equipment as described in any one in claim 6 to 9, is characterized in that, also comprises:
Updating block, for when described acquiring unit is from described first server obtains the second data, according to first page described in described the second Data Update.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310086299.2A CN104063115B (en) | 2013-03-18 | 2013-03-18 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310086299.2A CN104063115B (en) | 2013-03-18 | 2013-03-18 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104063115A true CN104063115A (en) | 2014-09-24 |
CN104063115B CN104063115B (en) | 2018-06-01 |
Family
ID=51550855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310086299.2A Active CN104063115B (en) | 2013-03-18 | 2013-03-18 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104063115B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143736A (en) * | 2018-11-06 | 2020-05-12 | 广东万丈金数信息技术股份有限公司 | Data transmission method, device, main page server and storage medium |
CN114647466A (en) * | 2020-12-17 | 2022-06-21 | 国信君和(北京)科技有限公司 | Page content extraction method, device, equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101359276A (en) * | 2008-09-27 | 2009-02-04 | 北大方正集团有限公司 | Method and apparatus for displaying electronic document |
CN101645084A (en) * | 2009-04-23 | 2010-02-10 | 中国科学院声学研究所 | Processing method of dynamic data of embedded browser |
CN102193924A (en) * | 2010-03-09 | 2011-09-21 | 黄彦诚 | Webpage region tracing method |
US20120066379A1 (en) * | 2009-06-23 | 2012-03-15 | Beijing Sogou Technology Development Co., Ltd. | Method and system for notifying network resource updates |
-
2013
- 2013-03-18 CN CN201310086299.2A patent/CN104063115B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101359276A (en) * | 2008-09-27 | 2009-02-04 | 北大方正集团有限公司 | Method and apparatus for displaying electronic document |
CN101645084A (en) * | 2009-04-23 | 2010-02-10 | 中国科学院声学研究所 | Processing method of dynamic data of embedded browser |
US20120066379A1 (en) * | 2009-06-23 | 2012-03-15 | Beijing Sogou Technology Development Co., Ltd. | Method and system for notifying network resource updates |
CN102193924A (en) * | 2010-03-09 | 2011-09-21 | 黄彦诚 | Webpage region tracing method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111143736A (en) * | 2018-11-06 | 2020-05-12 | 广东万丈金数信息技术股份有限公司 | Data transmission method, device, main page server and storage medium |
CN111143736B (en) * | 2018-11-06 | 2024-02-06 | 广东万丈金数信息技术股份有限公司 | Data transmission method, device, main page server and storage medium |
CN114647466A (en) * | 2020-12-17 | 2022-06-21 | 国信君和(北京)科技有限公司 | Page content extraction method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104063115B (en) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3213210B1 (en) | Continuing an application session on a different device | |
CN106708496B (en) | Processing method and device for label page in graphical interface | |
CN103455582B (en) | The display packing of browser navigation page and mobile terminal | |
US9372885B2 (en) | System and methods thereof for dynamically updating the contents of a folder on a device | |
CN104657451B (en) | The processing method and processing device of the page | |
EP2924593A1 (en) | Method and apparatus for constructing documents | |
CN105302811B (en) | Browser page skipping method and device | |
KR20140072877A (en) | Techniques for managing and viewing followed content | |
CN104765746B (en) | Data processing method and device for mobile communication terminal browser | |
JP2011186913A (en) | Web site browsing system and server | |
CN109522500B (en) | Webpage display method, device, terminal and storage medium | |
CN105159532A (en) | Method for sorting pages in operation interface and terminal | |
CN105243407A (en) | Method and device for reading and writing smart card | |
CN104216929A (en) | Method and device for intercepting page elements | |
CN109196493A (en) | The automation of browse mode switching | |
CN104239559A (en) | Webpage opening method and device | |
CN104615787A (en) | Method and device for updating interface display | |
CN109063079B (en) | Webpage labeling method and electronic equipment | |
JP5753302B1 (en) | Program, method and system for warning access to web page | |
CN103488508A (en) | Browser working method, browser and terminal equipment | |
CN104063115A (en) | Information processing method and electronic equipment | |
US9984132B2 (en) | Combining search results to generate customized software application functions | |
CN105631059A (en) | Data processing method, data processing device and data processing system | |
US20170185656A1 (en) | Combining Search Results That Specify Software Application Functions | |
US20170068749A1 (en) | Performing Searches Using Computing Devices Equipped with Pressure-Sensitive Displays |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |