CN106487851A - Web wrapper information transferring method, apparatus and system - Google Patents
Web wrapper information transferring method, apparatus and system Download PDFInfo
- Publication number
- CN106487851A CN106487851A CN201510547924.8A CN201510547924A CN106487851A CN 106487851 A CN106487851 A CN 106487851A CN 201510547924 A CN201510547924 A CN 201510547924A CN 106487851 A CN106487851 A CN 106487851A
- Authority
- CN
- China
- Prior art keywords
- browser
- character string
- uniquely corresponding
- character
- marking
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses Web wrapper information transferring method, apparatus and system, it is related to internet arena, solve the problems, such as to transmit the Web wrapper information of large information capacity by url browser-cross.The method includes:Web wrapper information to be passed is changed into uniquely corresponding character string create unique corresponding character marking for character string by the first browser, this character marking write url is passed to the second browser corresponding character string is sent to server simultaneously and preserve and uniquely corresponding character marking generated by server, second browser reads the character marking in url and sends it to server, the character marking of reception is compared by server with the character marking that it generates, by identical characters labelling institute, uniquely corresponding character string is sent to the second browser, the character string receiving is converted into uniquely corresponding Web wrapper information by the second browser.Present invention is mainly used in Web wrapper information browser-cross transmitting procedure.
Description
Technical field
The present invention relates to internet arena, more particularly to a kind of Web wrapper information transferring method, dress
Put and system.
Background technology
Generally browser, during carrying out webpage switching, needs to program letter to network side requested webpage
Breath (variable, constant, object), such as HTML (Hypertext Markup Language,
Abbreviation HTML) file, script (Javascript, abbreviation JS) file etc., HTML is used for compiling
Write static page;Javascript can be nested in HTML, realizes some dynamic functions.Webpage with
Information exchange between webpage, typically requires using unification particularly across the information exchange between browser
URLs (Uniform Resource Locator, abbreviation ur l) transmits Web wrapper information.
URL (Uniform Resource Locator, abbreviation ur l) is on the Internet
The address of standard resource, on the Internet, each file has unique ur l, and the information that it comprises points out literary composition
How the position of part and browser should process it.The grammer of general ur l is extendible, webpage
Programming information passes through to carry the transmission carrying out inter-network page or browser-cross in ur l.But due to ur l
Limited length, if necessary to transmission Web wrapper quantity of information very big, then by ur l across clear
Device of looking at transmission webpage programming information just cannot be realized.
Content of the invention
In view of this, the present invention proposes a kind of Web wrapper information transferring method, apparatus and system,
Main purpose is that solution cannot be by the Web wrapper information of ur l browser-cross transmission large information capacity
Problem.
According to the first aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Transmission method, the method is generally used for the first browser side, including:
Web wrapper information to be passed is changed into uniquely corresponding character string by the first browser;
Determine character string uniquely corresponding character marking;
Character marking is added URL ur l and passes to the second browser.
According to the second aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Transmission method, the method is generally used for the second browser side, including:
Second browser receives the URL carrying character marking of the first browser transmission
Ur l, uniquely corresponding character string is uniquely corresponding with Web wrapper information to be passed for character marking;
Read the character marking that ur l carries;
According to reading the character marking that ur l carries, receive character marking uniquely corresponding character string;
Character string is converted into uniquely corresponding Web wrapper information.
According to the third aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Transmission method, the method is generally used for server-side, including:
Receive the character string that the first browser reports, character string is uniquely right with Web wrapper information to be passed
Should;
The character string that reports of the first browser for receiving creates uniquely corresponding character marking, and by the
The character string that one browser reports and the uniquely corresponding character marking creating for it are saved in memory block
In;
Receive the character marking that the second browser sends, and the character marking sending according to the second browser
Uniquely corresponding character string is searched in memory block;
The uniquely corresponding character string finding is returned to the second browser.
According to the fourth aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Defeated device, this device is usually located in the first browser, or independent of the first browser but clear with first
Utensil of looking at has data interaction relation, and this device includes:
Conversion unit, for changing into uniquely corresponding character string by Web wrapper information to be passed;
Creating unit, for determining the character string uniquely corresponding character marking that conversion unit generates;
Processing unit, the character marking for determining creating unit adds URL ur l
And pass to the second browser.
According to the fifth aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Defeated device, this device is usually located in the second browser, or independent of the second browser but clear with second
Utensil of looking at has data interaction relation, and this device includes:
Receiving unit, for receiving the unified resource positioning carrying character marking of the first browser transmission
Symbol ur l, uniquely corresponding character string is uniquely corresponding with Web wrapper information to be passed for character marking;
Reading unit, the character that the URL ur l for reading receiving unit reception carries
Labelling;
Receiving unit is used for the character marking reading according to reading unit, receives character marking and uniquely corresponds to
Character string;
Conversion unit, the character string for receiving receiving unit is converted into uniquely corresponding Web wrapper
Information.
According to the sixth aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Defeated device, this device is usually located in server, or independent of server but has data with server
Interactive relation, this device includes:
Receiving unit, for receiving the character string that the first browser reports, character string and webpage to be passed
Programming information uniquely corresponds to;
Processing unit, the character string that the first browser for receiving for receiving unit reports creates unique
Corresponding character marking, and character string that the first browser is reported and for its create uniquely corresponding
Character marking is saved in memory block;
Searching unit, the character marking that the second browser for being received according to receiving unit sends is being deposited
Uniquely corresponding character string is searched in storage area;
Transmitting element, it is clear that the uniquely corresponding character string for finding searching unit returns to second
Look at device.
According to the seventh aspect of the invention, embodiments provide a kind of Web wrapper information and pass
Defeated system, this system includes:
First browser, the second browser and server;Wherein first browser comprises such as first 4th
Device described in aspect, the second browser comprise in terms of first 5th as described in device, server bag
Containing the device as described in terms of first 6th.
By technique scheme, Web wrapper information transferring method provided in an embodiment of the present invention, dress
Put and system, by the first browser, Web wrapper information to be passed can be changed into uniquely corresponding
Character string, and create uniquely corresponding character marking for character string, this character marking write ur l is passed
Pass the second browser and corresponding character string is sent to server simultaneously and preserved and given birth to by server
Become unique corresponding character marking, subsequent second browser read character marking in ur l and by its
Give server, so that the character mark that the character marking that the second browser sends is generated by server with it
Note is compared, and by identical characters labelling institute, uniquely corresponding character string is sent to the second browser, with
Just the character string receiving is converted into uniquely corresponding Web wrapper information by the second browser.With existing
In technology, the excessive Web wrapper information of quantity of information cannot carry out the defect of browser-cross transmission by ur l
Compare, the Web wrapper information size that the present invention enables to by the transmission of ur l browser-cross is unrestricted
System.
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.
Brief description
By reading the detailed description of hereafter preferred implementation, various other advantages 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:
The flow chart that Fig. 1 shows a kind of Web wrapper information transferring method provided in an embodiment of the present invention;
The flow chart that Fig. 2 shows a kind of Web wrapper information transferring method provided in an embodiment of the present invention;
The flow chart that Fig. 3 shows a kind of Web wrapper information transferring method provided in an embodiment of the present invention;
Fig. 4 shows a kind of composition frame of Web wrapper information carrying means provided in an embodiment of the present invention
Figure;
Fig. 5 shows a kind of composition frame of Web wrapper information carrying means provided in an embodiment of the present invention
Figure;
Fig. 6 shows a kind of composition frame of Web wrapper information carrying means provided in an embodiment of the present invention
Figure;
Fig. 7 shows a kind of schematic diagram of Web wrapper information transmission system provided in an embodiment of the present invention.
Specific embodiment
It is described more fully the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although in accompanying drawing
Show the exemplary embodiment of the disclosure it being understood, however, that may be realized in various forms this public affairs
Open and should not be limited by embodiments set forth here.On the contrary, these embodiments are provided to be able to
It is best understood from the disclosure, and can be by the skill conveying to this area complete for the scope of the present disclosure
Art personnel.
Information exchange generally between webpage and webpage, leads to particularly across the information exchange between browser
Often need to transmit using URL (Uniform Resource Locator, abbreviation ur l)
Web wrapper information.The grammer of general ur l is extendible, and Web wrapper information is passed through to carry in ur l
In carry out the transmission of inter-network page or browser-cross, but the limited length due to ur l, if necessary to pass
The Web wrapper quantity of information passed is very big, then just transmit webpage programming information by ur l browser-cross
Cannot realize.
The Web wrapper letter of large information capacity cannot be transmitted to solve prior art by ur l browser-cross
The problem of breath.Embodiments provide a kind of Web wrapper information transferring method, the method is main
It is applied to the first browser side, as shown in figure 1, the method includes:
101st, Web wrapper information to be passed is changed into uniquely corresponding character string by the first browser.
Information exchange generally between webpage and webpage, leads to particularly across the information exchange between browser
Often need to transmit Web wrapper information using URL ur l, including html file, JS literary composition
Variable in part, Web wrapper, object, constant etc., when the letter of the Web wrapper information needing transmission
When breath amount is very big, ur l generally cannot correctly transmit these Web wrapper information.Therefore, across browsing
When device transmits a large amount of Web wrapper information, the embodiment of the present invention needs the first browser by webpage to be passed
Programming information changes into uniquely corresponding character string.This process is to convert Web wrapper information
For ease of the form storing and transmit, it is capable of the quantity of information of compressed webpage programming information simultaneously.
102nd, determine character string uniquely corresponding character marking.
When in a step 101 Web wrapper information to be passed being changed into uniquely after corresponding character string,
For the ease of corresponding for Web wrapper information character string being transmitted by ur l, the embodiment of the present invention
Need to determine character string uniquely corresponding character marking by step 102, this process is included by spy
Fixed rule enters row operation to character string, creates this character string uniquely corresponding character marking, certainly should
The quantity of information of character marking is very little.
103rd, character marking is added URL ur l and pass to the second browser.
Wherein, the corresponding character string of Web wrapper information to be passed is transmitted not by ur l, should
Character string can be reported server by the first browser and carry out transfer, will character string report accordingly
Server.
In the embodiment of the present invention by ur l transmitted be in step 102 determine character string uniquely right
The character marking answered, character marking is added URL ur l and passes to the by step 103
Two browsers.
As the correspondence to method shown in above-mentioned Fig. 1, the embodiment of the present invention additionally provides a kind of webpage and compiles
Journey information transferring method, the method is mainly used in the second browser side, as shown in Fig. 2 the party
Method includes:
201st, the second browser receives the unified resource positioning carrying character marking of the first browser transmission
Symbol ur l.
In the ur l that the second browser receives, the character marking and the Web wrapper letter to be passed that carry
Uniquely corresponding character string uniquely corresponds to breath, and the character marking that the second browser passes through in ur l can obtain
Get Web wrapper information to be passed.
202nd, read the character marking that ur l carries.
It is necessary to read from ur l after the second browser receives the ur l of the first browser transmission
The character marking carrying.
203rd, according to reading the character marking that ur l carries, receive character marking uniquely corresponding character string.
After the second browser reads the character marking carrying in ur l, this character marking can be sent
To server and waiting for server response, receive this character marking uniquely corresponding character string.
204th, character string is converted into uniquely corresponding Web wrapper information.
It is possible to be converted into character string after the second browser receives the character string of server return
Uniquely corresponding Web wrapper information, the Web wrapper information obtaining after conversion is exactly that webpage to be passed is compiled
Journey information.This process is in order to the character string being easy to store and transmit is changed into Web wrapper information,
So that the second browser operates these Web wrapper information as needed.
As the correspondence to method shown in above-mentioned Fig. 1 and Fig. 2, the embodiment of the present invention additionally provides one kind
Web wrapper information transferring method, the method is mainly used in server-side, as shown in figure 3, should
Method includes:
301st, receive the character string that the first browser reports.
Server is as terminal it is necessary first to receive the character string that the first browser reports, this character
String is uniquely corresponding with Web wrapper information to be passed, is transformed by Web wrapper information.
302nd, it is that the character string that the first browser receiving reports creates uniquely corresponding character marking, and
The character string that report the first browser and the uniquely corresponding character marking creating for it are saved in storage
Qu Zhong.
After server receives the character string that the first browser reports, need the character string wound for receiving
Build uniquely corresponding character marking, create only for character string in this establishment process and above-mentioned steps 102
The process of one corresponding character marking is just the same, including using identical rule, character string is transported
Calculate, calculate character string uniquely corresponding character marking.When server is that the character string receiving creates only
After one corresponding character marking, need to be saved in character marking corresponding for the character string of reception to deposit
In storage area.
303rd, receive the character marking that the second browser sends, and the character being sent according to the second browser
It is marked in memory block and search uniquely corresponding character string.
After server receives the character marking that the second browser sends, need to search in memory block
With the presence or absence of the character marking identical character marking sending with the second browser, if it is present obtaining
Take the character marking identical character marking institute uniquely corresponding character string sending with the second browser.
304th, the uniquely corresponding character string finding is returned to the second browser.
When server find in memory block second browser send character marking institute uniquely corresponding
It is necessary to the uniquely corresponding character string finding is returned to the second browser after character string, so that
Second browser obtains Web wrapper information to be passed according to the character string of this return.
Web wrapper information transferring method provided in an embodiment of the present invention, can pass through the first browser will
Web wrapper information to be passed changes into uniquely corresponding character string, and uniquely corresponds to for character string establishment
Character marking, by this character marking write ur l pass to the second browser simultaneously by corresponding character
String is sent to server and is preserved and generate uniquely corresponding character marking by server, and second browses
Device reads the character marking in ur l and sends it to server, so that server is by the second browser
The character marking sending is compared with the character marking that it generates, will be uniquely right for identical characters labelling institute
The character string answered is sent to the second browser, so that the character string receiving is converted into by the second browser
Uniquely corresponding Web wrapper information.The Web wrapper information excessive with quantity of information in prior art cannot
Compared by the defect that ur l carries out browser-cross transmission, the present invention enables to by ur l across browsing
The Web wrapper information size of device transmission is unrestricted.
In order to preferably understand to the method shown in above-mentioned Fig. 1, Fig. 2 and Fig. 3, the present invention is implemented
Example will be described in detail with reference to each step in Fig. 1, Fig. 2 and Fig. 3.
In embodiments of the present invention, carry out Web wrapper letter between the first browser and the second browser
During the transmission of breath, because the quantity of information of Web wrapper information is excessive, the therefore first browser needs to treat
Transmission Web wrapper information is converted into uniquely corresponding character string, as a kind of optional embodiment,
Web wrapper information to be passed can be carried out character string by the first browser, generate uniquely corresponding
Character string.In general, can be entered to Web wrapper information by Java.serializable interface
Line character serializes, and obtains the character string of default form, XML format or json form.For example, exist
Web wrapper information to be passed can be changed into uniquely corresponding json character string in the present embodiment.
Due to ur l generally can not the excessive information of transmission information amount, the therefore embodiment of the present invention do not pass through
Ur l transmits Web wrapper information to be passed uniquely corresponding json character string, but needs for json word
Symbol string creates uniquely corresponding character marking, and this character marking quantity of information is very little, can carry in ur l
In transmitted.As a kind of optional embodiment, the first browser can pass through ad hoc rule
Algorithm calculates to json character string, generates uniquely corresponding character marking.For example, the present embodiment
Message digest algorithm (Message-Digest Algorithm 5, abbreviation MD5) coding staff can be passed through
Formula calculates to this json character string, generates uniquely corresponding character marking.MD5 can be by arbitrarily
Character string changes into the character marking of regular length, and if in the case that character string is constant, right
It is all identical, therefore in the present embodiment by MD5 pair that it carries out any secondary character marking obtaining that converts
Uniquely corresponding character string is calculated Web wrapper information to be passed, can generate uniquely corresponding word
Symbol labelling.
Due to the first browser be not directed through ur l transmit Web wrapper information to be passed uniquely corresponding
Character string, but will be transmitted in this character string uniquely corresponding character marking write ur l.Therefore
The embodiment of the present invention needs will be unique for Web wrapper information to be passed by post mode by the first browser
Corresponding character string reports server, and uniquely corresponding character string exists to make Web wrapper information to be passed
Server carries out transfer, simultaneously by this character string uniquely corresponding character marking write ur l and by ur l
It is sent to the second browser, so that the second browser obtains uniquely according to the character marking carrying in ur l
Corresponding Web wrapper information to be passed.First browser reports character string by post mode, can
Ensure that character string will not be buffered in the first browser and post mode does not have to the data reporting yet
Limit and more will not be shown in ur l the safety it is ensured that transmitting.
After the first browser completes the work of itself, server can receive the first browser and report
Web wrapper information to be passed uniquely corresponding character string, subsequent server can be the character string receiving
Create uniquely corresponding character marking, the specific mode that creates is created for character string with above-mentioned first browser
The mode building uniquely corresponding character marking is identical, and here is omitted.In practical situations both,
If server and the first browser are all adopted creates character marking for character string in a like fashion, then
The character marking that same character string generates in the first browser and the character mark generating in the server
Note is identical.After server is that the character string receiving creates uniquely corresponding character marking,
The character marking of reception and the uniquely corresponding character marking creating for it can be preserved, be placed in and deposit
In storage area.For example, it is possible to be stored in the caching of server or other designated memory in, when
Cloud storage so can also be used.
After the first browser completes the work of itself, the second browser can receive the first browser and pass
The ur l carrying character marking passing, this character marking and Web wrapper information to be passed uniquely corresponding word
Symbol string uniquely corresponds to, and subsequent second browser can read the character marking carrying in ur l, and by this word
Symbol labelling is sent to server.
After server receives the character marking that the second browser sends, the second browser can be sent
Character marking and its memory block in the character marking that preserves be compared, if preserving in its memory block
The character marking that a certain character marking is sent with the second browser is identical, then obtain this word in memory block
Symbol labelling uniquely corresponding character string, and the character string of acquisition is sent to the second browser.When second
After browser receives the character string of server transmission, character string can be entered line character unserializing and obtain
Operate these Web wrapper information to uniquely corresponding Web wrapper information and as needed.
Web wrapper information to be passed is carried out character string by the first browser by the embodiment of the present invention
Change into uniquely corresponding character string, and server is sent in post mode, by server as treating
The terminal of transmission Web wrapper information, can not transmit Web wrapper across any browser in the same time
Information, and do not limited by the quantity of information size of Web wrapper information;Simultaneously from the second browser to
Server sends Web wrapper information to be passed uniquely corresponding character marking, and the reception server returns
This character marking uniquely corresponding character string, string characters unserializing is obtained uniquely corresponding
Web wrapper information, the Web wrapper information that character unserializing obtains does not need to carry out parsing can be straight
Connect for programming.
Further, as the application to method shown in above-mentioned Fig. 1, embodiments provide one
Kind of Web wrapper information carrying means, this device is usually located in the first browser, or independent of first
Browser but with the first browser, there is data interaction relation.As shown in figure 4, this device includes:Turn
Change unit 41, creating unit 42 and processing unit 43, wherein,
Conversion unit 41, for changing into uniquely corresponding character string by Web wrapper information to be passed;
Creating unit 42, for determining the character string uniquely corresponding character marking that conversion unit 41 generates;
Processing unit 43, the character marking for determining creating unit 42 adds URL
Ur l simultaneously passes to the second browser.
Further, as the application to method shown in above-mentioned Fig. 2, embodiments provide one
Kind of Web wrapper information carrying means, this device is usually located in the second browser, or independent of second
Browser but with the second browser, there is data interaction relation.As shown in figure 5, this device includes:Connect
Receive unit 51, reading unit 52 and conversion unit 53, wherein,
Receiving unit 51, the unified resource carrying character marking for receiving the first browser transmission is determined
Position symbol ur l, uniquely corresponding character string is uniquely corresponding with Web wrapper information to be passed for character marking;
Reading unit 52, the URL ur l for reading receiving unit 51 reception carries
Character marking;
Receiving unit 51 is used for the character marking reading according to reading unit 52, receives character marking only
One corresponding character string;
Conversion unit 53, the character string for receiving receiving unit 51 is converted into uniquely corresponding webpage
Programming information.
Further, as the application to method shown in above-mentioned Fig. 3, embodiments provide one
Kind of Web wrapper information carrying means, this device is usually located in server, or independent of server but
With server, there is data interaction relation.As shown in fig. 6, this device includes:Receiving unit 61, place
Reason unit 62, searching unit 63 and transmitting element 64, wherein,
Receiving unit 61, for receiving the character string that the first browser reports, character string and net to be passed
Page programming information uniquely corresponds to;
Processing unit 62, the character string that the first browser for receiving for receiving unit 61 reports creates
Uniquely corresponding character marking, and character string that the first browser is reported and for its create uniquely right
The character marking answered is saved in memory block;
Searching unit 63, the character marking that the second browser for being received according to receiving unit 61 sends
Uniquely corresponding character string is searched in memory block;
Transmitting element 64, the uniquely corresponding character string for finding searching unit 63 returns to
Two browsers.
Web wrapper information carrying means provided in an embodiment of the present invention, can pass through the first browser will
Web wrapper information to be passed changes into uniquely corresponding character string, and uniquely corresponds to for character string establishment
Character marking, by this character marking write ur l pass to the second browser simultaneously by corresponding character
String is sent to server and is preserved and generate uniquely corresponding character marking by server, and second browses
Device reads the character marking in ur l and sends it to server, so that server is by the second browser
The character marking sending is compared with the character marking that it generates, will be uniquely right for identical characters labelling institute
The character string answered is sent to the second browser, so that the character string receiving is converted into by the second browser
Uniquely corresponding Web wrapper information.The Web wrapper information excessive with quantity of information in prior art cannot
Compared by the defect that ur l carries out browser-cross transmission, the present invention enables to by ur l across browsing
The Web wrapper information size of device transmission is unrestricted.
Additionally, Web wrapper information to be passed is entered line character by the first browser by the embodiment of the present invention
Serializing changes into uniquely corresponding character string, and is sent to server in post mode, by server
As the terminal of Web wrapper information to be passed, can be not in the same time across any browser transmission network
Page programming information, and do not limited by the quantity of information size of Web wrapper information;Simultaneously clear by second
Device of looking at sends Web wrapper information to be passed uniquely corresponding character marking to server, and receives service
This character marking uniquely corresponding character string that device returns, enters line character unserializing and obtains to character string
Uniquely corresponding Web wrapper information, the Web wrapper information that character unserializing obtains does not need to carry out
Parsing is used directly for programming.
Further, as to the realization of method and Fig. 4 Fig. 5 shown in above-mentioned Fig. 1 Fig. 2 and Fig. 3
And the application of Fig. 6 shown device, the embodiment of the present invention additionally provides a kind of Web wrapper information transfer system
System, as shown in fig. 7, this system includes:First browser 71, the second browser 72 and server
73;Wherein, the first browser 71 comprises the device shown in Fig. 4, and the second browser 72 comprises Fig. 5
Shown device, server 73 comprises device as shown in Figure 6.
Web wrapper information transmission system provided in an embodiment of the present invention, can pass through the first browser will
Web wrapper information to be passed changes into uniquely corresponding character string, and uniquely corresponds to for character string establishment
Character marking, by this character marking write ur l pass to the second browser simultaneously by corresponding character
String is sent to server and is preserved and generate uniquely corresponding character marking by server, and second browses
Device reads the character marking in ur l and sends it to server, so that server is by the second browser
The character marking sending is compared with the character marking that it generates, will be uniquely right for identical characters labelling institute
The character string answered is sent to the second browser, so that the character string receiving is converted into by the second browser
Uniquely corresponding Web wrapper information.The Web wrapper information excessive with quantity of information in prior art cannot
Compared by the defect that ur l carries out browser-cross transmission, the present invention enables to by ur l across browsing
The Web wrapper information size of device transmission is unrestricted.
Additionally, Web wrapper information to be passed is entered line character by the first browser by the embodiment of the present invention
Serializing changes into uniquely corresponding character string, and is sent to server in post mode, by server
As the terminal of Web wrapper information to be passed, can be not in the same time across any browser transmission network
Page programming information, and do not limited by the quantity of information size of Web wrapper information;Simultaneously clear by second
Device of looking at sends Web wrapper information to be passed uniquely corresponding character marking to server, and receives service
This character marking uniquely corresponding character string that device returns, enters line character unserializing and obtains to character string
Uniquely corresponding Web wrapper information, the Web wrapper information that character unserializing obtains does not need to carry out
Parsing is used directly for programming.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part being described in detail, may refer to the associated description of other embodiment.
It is understood that the correlated characteristic in said method and device can mutually reference.In addition,
" first ", " second " in above-described embodiment etc. is for distinguishing each embodiment, and does not represent
The quality of each embodiment.
Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned
The specific work process of the system, apparatus, and unit of description, may be referred in preceding method embodiment
Corresponding process, will not be described here.
Provided herein algorithm and display not with any certain computer, virtual system or miscellaneous equipment
Inherently related.Various general-purpose systems can also be used together with based on teaching in this.According to above
Description, the structure constructing required by this kind of system is obvious.Additionally, the present invention is also not for
Any certain programmed language.It is understood that, it is possible to use various programming languages realize described here
The content of invention, and the description above language-specific done is the optimal reality in order to disclose the present invention
Apply mode.
In description mentioned herein, illustrate a large amount of details.It is to be appreciated, however, that
Embodiments of the invention can be put into practice in the case of not having these details.In some instances,
Known method, structure and technology are not been shown in detail, so as not to obscure the understanding of this description.
Similarly it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Individual or multiple, in the description to the exemplary embodiment of the present invention above, each feature of the present invention
Sometimes it is grouped together in single embodiment, figure or descriptions thereof.However, should be by
The method of the disclosure is construed to reflect following intention:I.e. the present invention for required protection requires ratio at each
The more feature of feature being expressly recited in claim.More precisely, as following right will
As asking book to be reflected, inventive aspect is all features less than single embodiment disclosed above.
Therefore, it then follows claims of specific embodiment are thus expressly incorporated in this specific embodiment,
Wherein each claim itself is as the separate embodiments of the present invention.
Those skilled in the art are appreciated that and the module in the equipment in embodiment can be carried out
Adaptively change and they are arranged in one or more equipment different from this embodiment.
Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and
In addition multiple submodule or subelement or sub-component can be divided into.Except such feature and/or
Outside at least some of process or unit exclude each other, can be using any combinations to this explanation
All features disclosed in book (including adjoint claim, summary and accompanying drawing) and such as the displosure
Any method or all processes of equipment or unit be combined.Unless expressly stated otherwise, originally
Each feature disclosed in description (including adjoint claim, summary and accompanying drawing) can be by carrying
Alternative features for identical, equivalent or similar purpose to replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include
Included some features rather than further feature in other embodiments, but the feature of different embodiment
Combination mean to be within the scope of the present invention and formed different embodiments.For example, under
In the claims in face, embodiment required for protection one of arbitrarily can be in any combination
Mode is using.
The all parts embodiment of the present invention can be realized with hardware, or with one or more
The software module run on reason device is realized, or is realized with combinations thereof.Those skilled in the art
It should be appreciated that can be realized using microprocessor or digital signal processor (DSP) in practice
Some in denomination of invention (as determined the device of website internal chaining grade) according to embodiments of the present invention
Or some or all functions of whole parts.The present invention is also implemented as execution institute here
Description some or all equipment of method or program of device (for example, computer program and
Computer program).Such program realizing the present invention can be stored in computer-readable medium
On, or can have the form of one or more signal.Such signal can be from the Internet net
Download on standing and obtain, or provide on carrier signal, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than the present invention is limited
Make, and those skilled in the art can design without departing from the scope of the appended claims
Alternative embodiment.In the claims, any reference markss between bracket should not be configured to
Limitations on claims.Word "comprising" do not exclude the presence of element not listed in the claims or
Step.Word "a" or "an" before element does not exclude the presence of multiple such elements.
The present invention can be by means of the hardware including some different elements and by means of properly programmed calculating
Machine is realizing.If in the unit claim listing equipment for drying, several in these devices can
To be to be embodied by same hardware branch.The use of word first, second, and third
Do not indicate that any order.These words can be construed to title.
Claims (10)
1. a kind of Web wrapper information transferring method is it is characterised in that methods described includes:
Web wrapper information to be passed is changed into uniquely corresponding character string by the first browser;
Determine described character string uniquely corresponding character marking;
Described character marking is added URL ur l and passes to the second browser.
2. method according to claim 1 is it is characterised in that described first browser will be to be passed
Pass Web wrapper information and change into uniquely corresponding character string, including:
Web wrapper information to be passed is carried out character string by the first browser, generates uniquely corresponding
Character string.
3. method according to claim 1 it is characterised in that the described character string of described determination only
One corresponding character marking, including:
It is that described character string creates uniquely corresponding character mark by message digest algorithm MD5 coded system
Note.
4. a kind of Web wrapper information transferring method is it is characterised in that methods described includes:
Second browser receives the URL carrying character marking of the first browser transmission
Ur l, uniquely corresponding character string is uniquely corresponding with Web wrapper information to be passed for described character marking;
Read the character marking that described ur l carries;
According to reading the character marking that described ur l carries, receive described character marking uniquely corresponding word
Symbol string;
Described character string is converted into uniquely corresponding Web wrapper information.
5. method according to claim 4 is it is characterised in that described convert described character string
For uniquely corresponding Web wrapper information, including:
Described character string is entered line character unserializing, generates uniquely corresponding Web wrapper information.
6. a kind of Web wrapper information transferring method is it is characterised in that methods described includes:
Receive the character string that the first browser reports, described character string is with Web wrapper information to be passed only
One is corresponding;
Create uniquely corresponding character marking for the character string that described first browser receiving reports, and
The character string that report described first browser and the uniquely corresponding character marking creating for it are saved in
In memory block;
Receive the character marking that the second browser sends, and the character sending according to described second browser
It is marked in described memory block and search uniquely corresponding character string;
The described uniquely corresponding character string finding is returned to the second browser.
7. a kind of Web wrapper information carrying means is it is characterised in that described device includes:
Conversion unit, for changing into uniquely corresponding character string by Web wrapper information to be passed;
Creating unit, for determining the described character string uniquely corresponding character that described conversion unit generates
Labelling;
Processing unit, the described character marking for determining described creating unit adds unified resource fixed
Position symbol ur l simultaneously passes to the second browser.
8. a kind of Web wrapper information carrying means is it is characterised in that described device includes:
Receiving unit, for receiving the unified resource positioning carrying character marking of the first browser transmission
Symbol ur l, uniquely corresponding character string is uniquely corresponding with Web wrapper information to be passed for described character marking;
Reading unit, takes for reading the described URL ur l that described receiving unit receives
The character marking of band;
Described receiving unit is used for the described character marking reading according to described reading unit, receives described
Character marking uniquely corresponding character string;
Conversion unit, the described character string for receiving described receiving unit is converted into uniquely corresponding
Web wrapper information.
9. a kind of Web wrapper information carrying means is it is characterised in that described device includes:
Receiving unit, for receiving the character string that the first browser reports, described character string with to be passed
Web wrapper information uniquely corresponds to;
Processing unit, the character string that described first browser for receiving for described receiving unit reports
Create unique corresponding character marking, and character string that described first browser is reported and creating for it
Uniquely corresponding character marking be saved in memory block;
Searching unit, the character marking that the second browser for being received according to described receiving unit sends
Uniquely corresponding character string is searched in described memory block;
Transmitting element, the described uniquely corresponding character string for finding described searching unit returns
To the second browser.
10. a kind of Web wrapper information transmission system is it is characterised in that described system includes:
First browser, the second browser and server;Wherein,
Described first browser comprises the device described in claim 7, and described second browser comprises to weigh
Profit requires the device described in 8, and described server comprises the device described in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510547924.8A CN106487851B (en) | 2015-08-31 | 2015-08-31 | Web wrapper information transferring method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510547924.8A CN106487851B (en) | 2015-08-31 | 2015-08-31 | Web wrapper information transferring method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106487851A true CN106487851A (en) | 2017-03-08 |
CN106487851B CN106487851B (en) | 2019-06-18 |
Family
ID=58236306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510547924.8A Active CN106487851B (en) | 2015-08-31 | 2015-08-31 | Web wrapper information transferring method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106487851B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295003A (en) * | 2017-07-17 | 2017-10-24 | 联动优势科技有限公司 | A kind of data transmission method, apparatus and system |
CN111078219A (en) * | 2019-12-13 | 2020-04-28 | 北京金山云网络技术有限公司 | Page display method, device and system, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101853174A (en) * | 2009-04-03 | 2010-10-06 | 中兴通讯股份有限公司 | Method and device for synchronizing defining and calling of string resource |
CN103095663A (en) * | 2011-11-04 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Information interactive method among non-login users and device |
CN103973730A (en) * | 2013-01-29 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Method, terminal and system for achieving data sharing |
CN104049557A (en) * | 2014-05-12 | 2014-09-17 | 南昌大学 | Connecting rod characteristic analyzing and displaying method based on LabVIEM and single-chip microcomputer |
WO2015097789A1 (en) * | 2013-12-25 | 2015-07-02 | 株式会社日立製作所 | Query generating method and query generating device |
-
2015
- 2015-08-31 CN CN201510547924.8A patent/CN106487851B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101853174A (en) * | 2009-04-03 | 2010-10-06 | 中兴通讯股份有限公司 | Method and device for synchronizing defining and calling of string resource |
CN103095663A (en) * | 2011-11-04 | 2013-05-08 | 阿里巴巴集团控股有限公司 | Information interactive method among non-login users and device |
CN103973730A (en) * | 2013-01-29 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Method, terminal and system for achieving data sharing |
WO2015097789A1 (en) * | 2013-12-25 | 2015-07-02 | 株式会社日立製作所 | Query generating method and query generating device |
CN104049557A (en) * | 2014-05-12 | 2014-09-17 | 南昌大学 | Connecting rod characteristic analyzing and displaying method based on LabVIEM and single-chip microcomputer |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295003A (en) * | 2017-07-17 | 2017-10-24 | 联动优势科技有限公司 | A kind of data transmission method, apparatus and system |
CN111078219A (en) * | 2019-12-13 | 2020-04-28 | 北京金山云网络技术有限公司 | Page display method, device and system, electronic equipment and storage medium |
CN111078219B (en) * | 2019-12-13 | 2023-10-03 | 北京金山云网络技术有限公司 | Page display method, device and system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106487851B (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200106850A1 (en) | System and method for mobile application deep linking | |
US7783723B2 (en) | Systems and methods for submitting data from a WML-based browser | |
CN103002010B (en) | A kind of data-updating method based on incremental data, device and system | |
US7660844B2 (en) | Network service system and program using data processing | |
CN102929984B (en) | Inefficacy address searching method and apparatus | |
CN102447726A (en) | Method and system for page access | |
CN107992557A (en) | Static resource update method, device, storage medium and computer equipment | |
CN103383687A (en) | Page processing method and device | |
CN103440276A (en) | Method and device for improving webpage display speed | |
CN104427627A (en) | Test data obtaining method, client and server | |
CN102929985A (en) | Method and system for displaying collected webpage | |
US20140201616A1 (en) | Cross-platform embeddable media player | |
CN103685604A (en) | Domain name pre-resolution method and domain name pre-resolution device | |
CN106897336A (en) | Web page files sending method, webpage rendering intent and device, webpage rendering system | |
CN103279538A (en) | Server, browser client side and method for preloading webpages in visited websites | |
CN106980698A (en) | Browser static resource loading method, browser program and readable storage medium storing program for executing | |
WO2014112727A1 (en) | Shortened url management method and management device, and storage medium storing computer program for management thereof | |
CN102937981A (en) | Webpage representing system and method | |
CN105068806A (en) | Browser cache control method and system | |
CN102968448B (en) | A kind of browser | |
CN108847952A (en) | The processing method of request link context, apparatus and system | |
CN109936605A (en) | A kind of method and apparatus of loading interface data | |
WO2007084362A2 (en) | Method and system for integrating calculation and presentation technologies | |
CN106487851A (en) | Web wrapper information transferring method, apparatus and system | |
US20210390155A1 (en) | Edge cache static asset optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |