CN106611025A - Web page data collecting method and device - Google Patents

Web page data collecting method and device Download PDF

Info

Publication number
CN106611025A
CN106611025A CN201510708768.9A CN201510708768A CN106611025A CN 106611025 A CN106611025 A CN 106611025A CN 201510708768 A CN201510708768 A CN 201510708768A CN 106611025 A CN106611025 A CN 106611025A
Authority
CN
China
Prior art keywords
page
picture
collection
data
collecting area
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.)
Pending
Application number
CN201510708768.9A
Other languages
Chinese (zh)
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 Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510708768.9A priority Critical patent/CN106611025A/en
Publication of CN106611025A publication Critical patent/CN106611025A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a Web page data collecting method and device. Through the method and the device, a user can conveniently and directly check collected local area data, and save an actual visual effect of the collected area data without any need of recomposing the collected area data. The method comprises the following steps: acquiring a parameter identifier corresponding to an area to be collected of a page when a page data collecting request is received; acquiring an entity element corresponding to the parameter identifier according to the parameter identifier; and generating a picture of the area to be collected of the page through the entity element, and storing the picture of the area to be collected of the page in a picture server, wherein the picture of the area to be collected of the page is a picture in which the collected page data has an actual presentation effect on the page. The method and the device are mainly applied to collection of local data of a Web page.

Description

Web page collection of data method and device
Technical field
The present invention relates to page data collection field, more particularly to a kind of Web page collection of data method And device.
Background technology
Web page collection of data is one of basic function of Modern Web website, and user is carrying out Web The data in current page can be collected while page access, so as to facilitate user in needs Shi Jinhang is checked.
Generally when user checks collection data, mainly using following two methods:One kind is in user When checking collection data, according to User Status from page data set (such as tables of data or daily record) Association is found actual collection content and is presented, and does not preserve the real data of collection, but is preserved Unique mark of current User Status, i.e. active user mark, querying condition or data to be collected etc., However, the method needs the data again to collecting to be associated inquiry when collection data are checked every time, Equivalent to searching again for data, it has not been convenient to which user directly carries out collecting data and checks, while working as The data volume collected than it is larger when, also data acquisition system can be caused during data are checked Larger pressure;Another kind is that actual data are directly collected when user checks collection data, is presented To the data of the actual collection of user, however, what the method only preserved is collection data itself, not The actual visual effect of collection data is preserved, user is if wanting to obtain the real visual effect of collection data Need, by re-starting typesetting to collecting data, to user operation inconvenience to be brought.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the problems referred to above or at least portion to provide one kind The collecting method and device of the Web page data for solving the above problems with dividing, is easy to user directly to receiving The part area data of Tibetan is checked, while the real visual effect of collection area data can be preserved, User to collecting area data without the need for re-starting typesetting.
By above-mentioned technical proposal, according to one aspect of the present invention, there is provided a kind of Web page data Collecting method, including:
When page data collection request is received, obtain the page and treat the corresponding parameter in collecting area domain Mark, wherein, the Web page is preset with multiple collection regions, and each collection region correspondence has this The parameter identification and collection request triggering event in collection region;
According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;
The entity elements generation page is treated into collecting area domain picture, and the page is treated into collecting area domain Picture is stored to picture servers, and the page is treated collecting area domain picture and had for collection page data The true picture that effect is presented on the page.
According to another aspect of the present invention, there is provided a kind of holding device fo of Web page data, including:
First acquisition unit, for when page data collection request is received, obtaining the page and treating The corresponding parameter identification in collection region, wherein, the Web page is preset with multiple collection regions, often Individual collection region correspondence has the parameter identification and collection request triggering event in the collection region;
Second acquisition unit, for according to the parameter identification, obtaining the corresponding reality of the parameter identification Element of volume;
Picture signal generating unit, for the entity elements generation page to be treated into collecting area domain picture, and will The page treats that collecting area domain picture is stored to picture servers, and the page treats that collecting area domain picture is Collection page data has the true picture that effect is presented on the page.
By a kind of Web page collection of data method and device that above-mentioned technical proposal, the present invention are provided, First, when page data collection request is received, obtain the page and treat the corresponding ginseng in collecting area domain Number mark;According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;Will be described Entity elements generate the page and treat collecting area domain picture, and the page of the generation treats that collecting area domain picture retains very Real visual effect;Further the page is treated into that collecting area domain picture is stored to picture servers, with Just user subsequently checks the page data of collection;The method compared with existing page data collecting method, By to entity elements process, saving the sectional drawing picture for treating collecting area domain, partial zones are being realized Numeric field data remains regional area collection data real visual effect while collection, and then reduces Data are coupled, and by the way that the page is treated into collecting area domain picture is stored to picture servers, facilitate user Check.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's Technological means, and being practiced according to the content of description, and in order to allow the above-mentioned of the present invention and Other objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantage and benefit for Those of ordinary skill in the art will be clear from understanding.Accompanying drawing is only used for illustrating the mesh of preferred implementation , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
Fig. 1 shows a kind of collecting method flow chart of Web page data provided in an embodiment of the present invention;
Fig. 2 shows the collecting method flow process of another kind of Web page data provided in an embodiment of the present invention Figure;
Fig. 3 shows a kind of holding device fo structure chart of Web page data provided in an embodiment of the present invention;
Fig. 4 shows the holding device fo structure of another kind of Web page data provided in an embodiment of the present invention Figure.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure And should not be limited by embodiments set forth here.On the contrary, there is provided these embodiments are able to more Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure Personnel.
A kind of collecting method of Web page data is embodiments provided, as shown in figure 1, institute The method of stating includes:
101st, when the page data collection request of user's transmission is received, obtain the page and wait to collect The corresponding parameter identification in region.
Wherein, the Web page is preset with multiple collection regions, and each collection region correspondence has the receipts The parameter identification and collection request triggering event in Tibetan area domain.
Further, when receive treat described in the domain of collecting area collect request triggering event preset triggering behaviour When making, the parameter identification of the data area to be collected is obtained, for example, when user can click on collecting area is treated The collection button in domain, can treat that collecting area domain is corresponding by calling acquisition instruction to obtain the page Parameter identification.
In a particular application, when user clicks on collection button initiates page data collection request, client End determines the regional extent of page data to be collected, that is, user wants the area of the page data of collection Domain, in the page of data to be collected multiple default collection regions have been divided, each collection region pair Should there are the default collection button in the region and default parameter identification, wherein, the parameter identification is appreciated that For the ID labels in the collection region, multiple regions of current page can be distinguished by parameter identification, be entered One step ground, when user clicks on the corresponding multiple collection buttons of data to be collected multiple collections can be got Parameter identification corresponding to region.
102nd, according to the parameter identification, the corresponding entity elements of the parameter identification are obtained.
User is got after the parameter identification in collecting area domain by step 101, each parameter identification is right There should be the entity elements in the collection region, the entity elements are and collect region itself per block, according to every Block collects the parameter identification in region, further obtains the entity elements in user all regions to be collected.
Specifically, the corresponding entity elements of the parameter identification are obtained by calling predetermined instruction, it is described The predetermined instruction is the correlation technique of Javascript.
103rd, the entity elements generation page is treated into collecting area domain picture, and the page is waited to collect Region picture is stored to picture servers.
Further, the interface method for calling Html5 specifications is processed the entity elements, raw Collecting area domain picture is treated into the page, wherein, Html5 is a kind of HTML, is supported at present The browser of Html5 mainly includes:Red fox browser, IE9 and its more highest version, Google's browser, Safari etc., and based on IE or Chromium (the engineering version or title experiment version of Chrome) institute The domestic browsers such as 360 browsers, sogou browser, the QQ browsers released are likewise supplied with supporting The ability of Html5.
Further, the embodiment of the present invention is drawn to institute using the 2D in the interface method of Html5 specifications State entity elements to be processed, generate the page and treat collecting area domain picture, effect and work as that the picture is presented The effect that the front page is presented is the same, remains real visual effect, and the picture is preserved to figure Piece server, while recording the picture servers network address, completes collection process, facilitates user to check, Simultaneously any data processing need not be done.
Picture servers described in this step are the separate servers exclusively for the optimization of picture read-write operation, Generally when website has a large amount of picture read-write operations, it should photo services are separated first, Independent picture servers are exactly set up, the picture servers set up in the present embodiment are used for storing use The page data picture of the collection finally to be checked of family, can not only improve web site performance, while also can Improve Consumer's Experience, facilitate user to check collection data picture.
A kind of Web page collection of data method provided in an embodiment of the present invention, first, when receiving use During the page data collection request that family sends, obtain the page and treat the corresponding parameter identification in collecting area domain; According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;By the entity elements Generate the page and treat collecting area domain picture, the page of the generation treats that collecting area domain picture retains real vision Effect;Further the page is treated into that collecting area domain picture is stored to picture servers, after user The continuous page data for checking collection;The method compared with existing page data collecting method, by right The entity elements are processed, and are saved and are treated collecting area domain sectional drawing picture, are realizing part area data receipts Regional area is remained while Tibetan and collects the real visual effect of data, and then reduce data coupling Close, by the way that the page is treated into collecting area domain picture is stored to picture servers, facilitate user to check.
The collecting method of another kind of Web page data is embodiments provided, as shown in Fig. 2 Methods described includes:
201st, when receiving whne the preset trigger action of collection request triggering event described in the domain of collecting area, Obtain the corresponding parameter identification in the data area to be collected.
It should be noted that the page treats the corresponding parameter identification in collecting area domain needs collection for user The unique mark in region, because current page has been divided multiple regions, each region is each to having From the collection button and parameter identification of itself, user is direct by the collection button for clicking on each region Triggering obtains the operation of the region parameter mark.
202nd, it is corresponding by calling predetermined instruction to obtain the parameter identification according to the parameter identification Entity elements.
Wherein, the predetermined instruction is the correlation technique for calling Javascript, and Javascript is a kind of foot This language, has been widely used in Web application and developments, can be used for reading and writing each in the present embodiment The corresponding entity elements of parameter identification.
203rd, call the interface method of Html5 specifications carries out 2D drawing to the entity elements, obtains The page treats collecting area domain picture, and the page is treated into collecting area domain picture is stored to photo services Device.
Specifically, drawn using the 2D in the interface method of the Html5 specifications, to step 202 The entity elements for obtaining carry out cutting and size is processed, and obtain the page and treat collecting area domain picture, separately Outward, some parameter informations for treating collecting area domain, such as the collection region are included in the entity elements The other information such as parameter identification, total length overall width, collection can be obtained by the parameter information The parameter information in region.
204th, when receiving collection page data and checking request, according to the address of picture servers to institute State picture servers transmission and check request.
Specifically, when user needs to check the local data for collecting the page, can be according to photo services The network address that device sends is clicked through checks, the local collection data of the page now are in the form of picture Reveal and, and save the visual effect of current browse webpage, user need not carry out any process or Person's inquiry operation.
205th, the corresponding page of the collection page data for receiving the picture servers transmission is waited to collect Region picture.
For the embodiment of the present invention, specific application scenarios are as follows, when user clicks on current page Collection of data button, client is obtained treats the parameter identification in collecting area domain, is designated as DomId, while Operations described below is carried out, is called Javascript methods to get parms first and is identified the corresponding entity units of DomId Element, is designated as Element;Then entity elements Element are called with the interface method of Html5 specifications 2D drawing process is carried out, so as to generate the page collecting area domain picture is treated, and the page is treated into collecting area domain Picture is preserved to picture servers, records the network address of the picture servers, completes page local data receipts Hide.Further, when user needs to check the collection picture, can be by clicking on the photo services The network address of device completes the process of checking.
Another kind of Web page collection of data method provided in an embodiment of the present invention, first, when receiving During the page data collection request that user sends, obtain the page and treat the corresponding parameter mark in collecting area domain Know;According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;By the entity The Element generation page treats collecting area domain picture, and the page of the generation treats that collecting area domain picture retains really Visual effect;Further the page is treated into that collecting area domain picture is stored to picture servers, so as to The page data of collection is subsequently checked at family;The method is led to compared with existing page data collecting method Cross to entity elements process, save and treat collecting area domain sectional drawing picture, realize part area data Regional area is remained while collection and collects the real visual effect of data, and then reduce data Coupling, by the way that the page is treated into collecting area domain picture is stored to picture servers, facilitates user to check.
Further, implementing as method shown in Fig. 1, the embodiment of the present invention provides a kind of Web Page data holding device fo, the device embodiment is corresponding with preceding method embodiment, for ease of reading, Detail content of this device not in preceding method embodiment is repeated one by one, it should be understood that Device in the present embodiment can correspond to the full content realized in preceding method embodiment, such as Fig. 3 institutes Show, described device includes:First acquisition unit 31, second acquisition unit 32, picture signal generating unit 33.
The first acquisition unit 31, for when receive user transmission page data collection request when, Obtain the page and treat the corresponding parameter identification in collecting area domain;
The second acquisition unit 32, for according to the parameter identification, obtaining the parameter identification pair The entity elements answered;
The picture signal generating unit 33, for the entity elements generation page to be treated into collecting area domain picture, And the page is treated into that collecting area domain picture is stored to picture servers.
A kind of Web page collection of data device provided in an embodiment of the present invention, first, when receiving use During the page data collection request that family sends, obtain the page and treat the corresponding parameter identification in collecting area domain; According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;By the entity elements Generate the page and treat collecting area domain picture, the page of the generation treats that collecting area domain picture retains real vision Effect;Further the page is treated into that collecting area domain picture is stored to picture servers, after user The continuous page data for checking collection;The method compared with existing page data collecting method, by right The entity elements are processed, and are saved and are treated collecting area domain sectional drawing picture, realize that part area data is collected While remain regional area collect data real visual effect, and then reduce data coupling, By the way that the page is treated into collecting area domain picture is stored to picture servers, user is facilitated to check.
Further, implementing as method shown in Fig. 2, the embodiment of the present invention provides another kind of Web page collection of data device, the device embodiment is corresponding with preceding method embodiment, for ease of readding Read, detail content of this device not in preceding method embodiment is repeated one by one, but it should bright Really, the device in the present embodiment can correspond to the full content realized in preceding method embodiment, such as Fig. 4 Shown, described device also includes transmitting element 34, receiving unit 35;
The transmitting element 34, for when receive collection page data check request when, according to picture The address of server sends to the picture servers and checks request;
The receiving unit 35, for receiving the collection page data that the picture servers send The corresponding page treats collecting area domain picture.
Further, the first acquisition unit 31, specifically for:
When receiving when the preset trigger action of request triggering event is collected described in the domain of collecting area, obtain The parameter identification of the data area to be collected.
The second acquisition unit 32, specifically for:
The corresponding entity elements of the parameter identification are obtained by calling predetermined instruction.
The picture signal generating unit 33, specifically for:
Call the interface method of Html5 specifications carries out 2D drawing to the entity elements, obtains the page Treat collecting area domain picture in face.
Another kind of Web page collection of data device provided in an embodiment of the present invention, first, when receiving During the page data collection request that user sends, obtain the page and treat the corresponding parameter mark in collecting area domain Know;According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;By the entity The Element generation page treats collecting area domain picture, and the page of the generation treats that collecting area domain picture retains really Visual effect;Further the page is treated into that collecting area domain picture is stored to picture servers, so as to The page data of collection is subsequently checked at family;The method is led to compared with existing page data collecting method Cross to entity elements process, save and treat collecting area domain sectional drawing picture, realize part area data Regional area is remained while collection and collects the real visual effect of data, and then reduce data Coupling, by the way that the page is treated into collecting area domain picture is stored to picture servers, facilitates user to check.
The Web page collection of data device includes processor and memorizer, above-mentioned first acquisition unit 31st, second acquisition unit 32 and picture signal generating unit 33 etc. are stored in memorizer as program unit In, corresponding function is realized by computing device storage said procedure unit in memory.
Kernel is included in processor, is gone in memorizer to transfer corresponding program unit by kernel.Kernel can To arrange one or more, it is easy to the direct localized region of user to collect number by adjusting kernel parameter According to being checked, while the visual effect of collection area data can be preserved, user is without the need for collecting area Numeric field data re-starts typesetting.
Memorizer potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM), memorizer includes at least one storage chip.
Present invention also provides a kind of computer program, when performing in data handling equipment, It is adapted for carrying out initializing the program code of there are as below methods step:When the page number for receiving user's transmission According to during collection request, obtain the page and treat the corresponding parameter identification in collecting area domain;According to the parameter Mark, obtains the corresponding entity elements of the parameter identification;The entity elements are generated into the page due-in Tibetan area domain picture, and the page is treated into that collecting area domain picture is stored to picture servers.
Those skilled in the art it should be appreciated that embodiments herein can be provided as method, system, Or computer program.Therefore, the application can be implemented using complete hardware embodiment, complete software Example or with reference to the form of the embodiment in terms of software and hardware.And, the application can be adopted at one Or it is multiple wherein include computer usable program code computer-usable storage medium (including but not Be limited to disk memory, CD-ROM, optical memory etc.) on the computer program implemented Form.
The application is with reference to the method according to the embodiment of the present application, equipment (system) and computer program The flow chart and/or block diagram of product is describing.It should be understood that can be realized flowing by computer program instructions In each flow process and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram Flow process and/or square frame combination.Can provide these computer program instructions to general purpose computer, specially With the processor of computer, Embedded Processor or other programmable data processing devices producing one Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices It is raw to be used to realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple sides The device of the function of specifying in frame.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas to process In the computer-readable memory that equipment works in a specific way so that be stored in the computer-readable and deposit Instruction in reservoir is produced and includes the manufacture of command device, and command device realization is in flow chart one The function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices On so that series of operation steps is performed on computer or other programmable devices to produce computer The process of realization, so as to the instruction performed on computer or other programmable devices is provided for realizing Specify in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/ Output interface, network interface and internal memory.
Memorizer potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).Memorizer is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read only memory (ROM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light Disk read only memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, Can be used to store the information that can be accessed by a computing device.Define according to herein, computer-readable Medium does not include temporary computer readable media (transitory media), the such as data signal and load of modulation Ripple.
Embodiments herein is these are only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model Within enclosing.

Claims (10)

1. a kind of Web page collection of data method, it is characterised in that include:
When page data collection request is received, obtain the page and treat the corresponding parameter in collecting area domain Mark, wherein, the Web page is preset with multiple collection regions, and each collection region correspondence has this The parameter identification and collection request triggering event in collection region;
According to the parameter identification, the corresponding entity elements of the parameter identification are obtained;
The entity elements generation page is treated into collecting area domain picture, and the page is treated into collecting area domain Picture is stored to picture servers, and the page is treated collecting area domain picture and had for collection page data The true picture that effect is presented on the page.
2. method according to claim 1, it is characterised in that the acquisition page is due-in The corresponding parameter identification in Tibetan area domain, including:
When receiving when the preset trigger action of request triggering event is collected described in the domain of collecting area, obtain The parameter identification of the data area to be collected.
3. method according to claim 2, it is characterised in that
It is described to obtain the corresponding entity elements of the parameter identification, including:
The corresponding entity elements of the parameter identification are obtained by calling predetermined instruction.
4. method according to claim 1, it is characterised in that it is described to the entity elements at Reason, generates the page and treats collecting area domain picture, including:
Call the interface method of Html5 specifications carries out 2D drawing to the entity elements, obtains the page Treat collecting area domain picture in face.
5. the method according to any one of claim 1-4, it is characterised in that also include:
When receiving collection page data and checking request, according to the address of picture servers to the figure Piece server sends and checks request;
The corresponding page of the collection page data for receiving the picture servers transmission treats collecting area domain Picture.
6. a kind of Web page collection of data device, it is characterised in that include:
First acquisition unit, for when page data collection request is received, obtaining the page and treating The corresponding parameter identification in collection region, wherein, the Web page is preset with multiple collection regions, often Individual collection region correspondence has the parameter identification and collection request triggering event in the collection region;
Second acquisition unit, for according to the parameter identification, obtaining the corresponding reality of the parameter identification Element of volume;
Picture signal generating unit, for the entity elements generation page to be treated into collecting area domain picture, and will The page treats that collecting area domain picture is stored to picture servers, and the page treats that collecting area domain picture is Collection page data has the true picture that effect is presented on the page.
7. device according to claim 6, it is characterised in that the first acquisition unit, tool Body is used for:
When receiving when the preset trigger action of request triggering event is collected described in the domain of collecting area, obtain The parameter identification of the data area to be collected.
8. device according to claim 6, it is characterised in that the second acquisition unit, tool Body is used for:
The corresponding entity elements of the parameter identification are obtained by calling predetermined instruction.
9. device according to claim 6, it is characterised in that the picture signal generating unit, tool Body is used for:
Call the interface method of Html5 specifications carries out 2D drawing to the entity elements, obtains the page Treat collecting area domain picture in face.
10. the device according to any one of claim 6-9, it is characterised in that also include:
Transmitting element, for when receive collection page data check request when, according to picture servers Address to the picture servers send check request;
Receiving unit, the collection page data for receiving the picture servers transmission is corresponding The page treats collecting area domain picture.
CN201510708768.9A 2015-10-27 2015-10-27 Web page data collecting method and device Pending CN106611025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510708768.9A CN106611025A (en) 2015-10-27 2015-10-27 Web page data collecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510708768.9A CN106611025A (en) 2015-10-27 2015-10-27 Web page data collecting method and device

Publications (1)

Publication Number Publication Date
CN106611025A true CN106611025A (en) 2017-05-03

Family

ID=58614732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510708768.9A Pending CN106611025A (en) 2015-10-27 2015-10-27 Web page data collecting method and device

Country Status (1)

Country Link
CN (1) CN106611025A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247547A (en) * 2017-05-25 2017-10-13 北京小米移动软件有限公司 Screenshot processing method and device
CN107943906A (en) * 2017-11-17 2018-04-20 珠海格力电器股份有限公司 A kind of collection of information, methods of exhibiting and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6601100B2 (en) * 1999-01-27 2003-07-29 International Business Machines Corporation System and method for collecting and analyzing information about content requested in a network (world wide web) environment
CN101710936A (en) * 2009-12-16 2010-05-19 中兴通讯股份有限公司 IPTV printscreen realization method and device based on set-top box
CN103020263A (en) * 2012-12-24 2013-04-03 北京小米科技有限责任公司 Method, device and terminal for storing webpage information
CN103685514A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method for storing page in webpage favorite and browser
CN103677519A (en) * 2013-12-05 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for collecting multimedia resource, terminal and server
CN104346465A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN104536993A (en) * 2014-12-10 2015-04-22 北京奇虎科技有限公司 Collected webpage processing method, collected webpage processing device and client-side

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6601100B2 (en) * 1999-01-27 2003-07-29 International Business Machines Corporation System and method for collecting and analyzing information about content requested in a network (world wide web) environment
CN101710936A (en) * 2009-12-16 2010-05-19 中兴通讯股份有限公司 IPTV printscreen realization method and device based on set-top box
CN103020263A (en) * 2012-12-24 2013-04-03 北京小米科技有限责任公司 Method, device and terminal for storing webpage information
CN103677519A (en) * 2013-12-05 2014-03-26 乐视网信息技术(北京)股份有限公司 Method for collecting multimedia resource, terminal and server
CN103685514A (en) * 2013-12-13 2014-03-26 北京奇虎科技有限公司 Method for storing page in webpage favorite and browser
CN104346465A (en) * 2014-11-07 2015-02-11 北京奇虎科技有限公司 Method and device for saving web page elements, and browser client
CN104536993A (en) * 2014-12-10 2015-04-22 北京奇虎科技有限公司 Collected webpage processing method, collected webpage processing device and client-side

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ROB HAWKER: "HTML5 Canvas基础教程", 《HTML5 CANVAS基础教程》 *
一诺CODE: "html5 实现网页截屏 页面生成图片(图文)", 《HTTPS://WWW.CNBLOGS.COM/YUANQIAO/P/4768895.HTML》 *
清姿: "H 5 Canvas API", 《HTTPS://WWW.CNBLOGS.COM/LINDA586586/ARTICLES/4309669.HTML》 *
独孤残情: "HTML5 Canvas 获取网页的像素值。", 《HTTPS://WWW.CNBLOGS.COM/JUNXI/P/5228466.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247547A (en) * 2017-05-25 2017-10-13 北京小米移动软件有限公司 Screenshot processing method and device
US10580101B2 (en) 2017-05-25 2020-03-03 Beijing Xiaomi Mobile Software Co., Ltd. Method, device and computer readable storage medium for screenshot processing
CN107943906A (en) * 2017-11-17 2018-04-20 珠海格力电器股份有限公司 A kind of collection of information, methods of exhibiting and device

Similar Documents

Publication Publication Date Title
CN108363602B (en) Intelligent UI (user interface) layout method and device, terminal equipment and storage medium
WO2017071189A1 (en) Webpage access method, apparatus, device and non-volatile computer storage medium
CN104503891B (en) The method and apparatus that JVM thread is monitored online
CN105138312B (en) A kind of table generation method and device
CN106651416A (en) Analyzing method and analyzing device of application popularization information
CN106295382B (en) A kind of Information Risk preventing control method and device
CN109614569A (en) Page rendering method, apparatus and intelligent terminal
CN108304410A (en) A kind of detection method, device and the data analysing method of the abnormal access page
US9454535B2 (en) Topical mapping
CN103389895A (en) Method and system for generating front end page
CN104182506A (en) Log management method
US11030384B2 (en) Identification of sequential browsing operations
US9747385B2 (en) Compression of cascading style sheet files
CN103699544B (en) The method and system of cross-page selection data
CN110717801A (en) Commodity information pushing method and device
CN106933887A (en) A kind of data visualization method and device
CN106886545A (en) The caching method and device of page display method, page resource
CN107368500B (en) Data extraction method and system
CN106933903B (en) Storage method and device applied to distributed storage
CN106611025A (en) Web page data collecting method and device
CN104572874B (en) A kind of abstracting method and device of webpage information
CN111273964B (en) Data loading method and device
CN112882890A (en) Log collection method and device
CN106815269A (en) A kind of method for exhibiting data and device
CN103312785B (en) A kind of determination method and device of access relation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20170503

RJ01 Rejection of invention patent application after publication