CN109788019A - A kind of data processing method and proxy server - Google Patents
A kind of data processing method and proxy server Download PDFInfo
- Publication number
- CN109788019A CN109788019A CN201711135121.7A CN201711135121A CN109788019A CN 109788019 A CN109788019 A CN 109788019A CN 201711135121 A CN201711135121 A CN 201711135121A CN 109788019 A CN109788019 A CN 109788019A
- Authority
- CN
- China
- Prior art keywords
- related information
- address
- client
- target webpage
- curing data
- 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
Links
Abstract
The embodiment of the invention discloses a kind of data processing method and proxy servers, wherein method includes: the acquisition request about target webpage for receiving client and sending, the acquisition request carries the address of the target webpage, according to the corresponding relationship of web page address and curing data, obtain the corresponding curing data in address of the target webpage, the corresponding curing data is parsed, obtain the related information of the target webpage, the related information includes html file and static resource, the related information is returned to the client, so that the client reappears the target webpage according to the related information, the embodiment of the present invention can automatically parse curing data, and reappear client to webpage, the efficiency that client reappears web data can be improved.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of data processing method and proxy servers.
Background technique
With the fast development of Internet technology, network has become essential part in people's life and work.
But with frequent network activity, network bad behavior also happens occasionally, other people privacies are encroached in works, the publication for such as plagiarizing other people
Information or the account information for usurping other people etc..
Since network has opening, party can issue data on webpage by deleting or distorting, so that
It can not collect evidence to the bad behavior of party, therefore, webpage solidify particularly important.It is found in practice, to webpage
After solidification, research staff is needed to analyze the webpage after solidification, webpage could be reappeared, and then the webpage after reproduction is worked as
It testifies information.As it can be seen that the mode of this webpage reproduction operates comparatively laborious, efficiency is lower.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method and proxy server, can automatically solve to curing data
Analysis, so that client reappears webpage, can be improved the efficiency that client reappears webpage.
In a first aspect, the embodiment of the invention provides a kind of data processing methods, this method comprises:
The acquisition request about target webpage that client is sent is received, the acquisition request carries the target webpage
Address;
According to the corresponding relationship of web page address and curing data, the corresponding solidification number in address of the target webpage is obtained
According to;
The corresponding curing data is parsed, the related information of the target webpage, the related information are obtained
Including html file and static resource;
The related information is returned to the client, so that the client is according to the related information to the target
Webpage is reappeared.
Second aspect, the embodiment of the invention provides a kind of proxy server, which includes:
Receiving unit, for receiving the acquisition request about target webpage of client transmission, the acquisition request is carried
The address of the target webpage;
Acquiring unit obtains the address of the target webpage for the corresponding relationship according to web page address and curing data
Corresponding curing data;
Resolution unit obtains the related information of the target webpage for parsing to the corresponding curing data,
The related information includes html file and static resource;
Transmission unit, for returning to the related information to the client, so that the client is according to the association
Information reappears the target webpage.
The third aspect, the embodiment of the invention provides another terminal, which includes: processor, input equipment, output
Equipment and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is used for
One or one or more program instruction are stored, the processor is configured for load described program and instructs and execute first aspect
The method.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer storage medium
It is stored with one or more than one program instructions, described program instruction is suitable for being loaded and being executed by processor first aspect and the
Document handling method described in two aspects.
The embodiment of the present invention, proxy server receive client transmission the acquisition request about target webpage when,
The acquisition request carries the address of target webpage, can obtain the target according to the corresponding relationship of web page address and curing data
The corresponding curing data in the address of webpage, and the corresponding curing data can be parsed, obtain the pass of the target webpage
Join information, the related information is returned to the client, so that the client answers the target webpage according to the related information
It is existing, automatically curing data can be parsed, and reappear client to webpage, client can be improved to webpage
The efficiency of data reproduction.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides a kind of data processing method schematic flow diagram;
Fig. 3 is a kind of schematic block diagram of proxy server provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides a kind of proxy server schematic block diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
With the fast development of Internet technology, network has become essential part in people's life and work.
But with frequent network activity, network bad behavior also happens occasionally, other people privacies are encroached in works, the publication for such as plagiarizing other people
Information or the account information for usurping other people etc..
Since network has opening, party can issue data on webpage by deleting or distorting, so that
It can not collect evidence to the bad behavior of party, therefore, webpage solidify particularly important.It is found in practice, to webpage
After solidification, research staff is needed to analyze the webpage after solidification, webpage could be reappeared, and then the webpage after reproduction is worked as
It testifies information.As it can be seen that the mode of this webpage reproduction operates comparatively laborious, efficiency is lower.One kind is provided based on this present invention
Data processing method and proxy server can automatically parse curing data, carry out client to webpage
Reproduction, can be improved the efficiency that client reappears webpage.
In order to be best understood from a kind of data processing method provided in an embodiment of the present invention and proxy server, first describe below
Embodiment of the method for the invention.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of data processing method referring to Fig. 1, Fig. 1, counts as shown in the figure
According to processing method can include:
S101, the acquisition request about target webpage that client is sent is received, which carries the target webpage
Address.
In the embodiment of the present invention, proxy server can receive the acquisition request about target webpage of client transmission,
The acquisition request carries the address of the target webpage.
It should be noted that proxy server can receive client before receiving the downloading request that client is sent
The connection request of transmission, the connection request include the mark of the client, and proxy server can be according to the mark of the client
The client is verified, when being verified, establishes the connection with the client.As proxy server can be by client
Mark comparison in the mark and presetting database at end, if the mark of the client is identical as the mark in presetting database,
Determination is verified, and establishes the connection with the client.
Wherein, client can be browsing for application program of the setting in the terminal or in server, the client
Device client, being also possible to other can be to the client that file is reappeared.
Wherein, proxy server is a kind of server between client and Web server, passes through proxy server
The available related information for obtaining webpage.Since client is not the related information for obtaining webpage directly into Web server,
But issue and request to proxy server, proxy server returns to the related information of webpage, therefore the association of webpage can be improved
The efficiency of acquisition of information.
S102, according to the corresponding relationship of web page address and curing data, obtain the corresponding solidification in address of the target webpage
Data.
For example, if proxy server receives acquisition request, which carries the address of target webpage, the mesh
The address for marking webpage is http://www.XXX.com, and proxy server can be closed according to web page address is corresponding with curing data
System, judges whether there is the corresponding curing data in address of the target webpage, and if it exists, then obtain the corresponding curing data;
If it does not exist, then the acquisition request can be transmitted to Web server by proxy server.
In the embodiment of the present invention, proxy server can be according to the corresponding relationship of web page address and curing data, rapidly
The corresponding curing data in address of the target webpage is obtained, the efficiency that curing data obtains is improved, to avoid to agency service
Data in device carry out whole scan, to obtain the corresponding curing data.
It is established it should be noted that the corresponding relationship of web page address and curing data can be proxy server, it can also
To be that user establishes as needed.
It should be noted that due to plagiarizing other people works, issuing the information for encroaching on other people privacies or the account for usurping other people
The networks bad behaviors such as number information happen occasionally, simultaneously because network has opening, party can be by deleting or usurping
Data of the cloth on webpage are sent elsewhere, so that can not collect evidence to the bad behavior of party.Therefore it can pass through screenshotss or record
The mode of system gets the related information of target webpage, and the related information of target webpage is compressed, and obtains corresponding solid
Change data, and the correspondence curing data be stored in proxy server, can to avoid the data tampering to target webpage, so as to
It collects evidence in bad behavior, improves the safety obtained to the related information of target webpage, and improve the related information
Confidence level.
S103, the corresponding curing data is parsed, obtains the related information of the target webpage, the related information packet
Include html file and static resource.
For example, proxy server can parse the corresponding curing data using lempel-ziv algorithm,
The related information of the target webpage is obtained, which may include that the related information includes html file, css file or js
The web datas such as file or text file.
During the present invention is implemented, in order to save memory space, proxy server can be according to preset compression algorithm by target
The related information of webpage is compressed, and corresponding curing data is obtained.When needing to reappear the target webpage, can incite somebody to action
The corresponding curing data is decompressed, and the related information of the target webpage is obtained.
Wherein, preset compression algorithm may include Lempel-Ziv, LZ-Renau, Snappy, FastLZ or miniLZO
Deng decompression procedure is the inverse process of compression process, usually with the algorithm of compression function, it may have decompression function, therefore can be with
It is decompressed using the one of which in above-mentioned preset compression algorithm.
Wherein, which includes html file and static resource, which may include css file, pattern
The web page elements such as table, picture, js file or text file.
S104, the related information is returned to the client, so that the client is according to the related information to the target webpage
Reappeared.
In the embodiment of the present invention, which can be sent to visitor after getting related information by proxy server
Family end, so that the client reappears the target webpage according to the related information.
It should be noted that the related information includes html file and static resource, which is used to set up
HTML DOM, the static resource be used to render HTML DOM, the target webpage after being reappeared.
In the embodiment of the present invention, proxy server is in the acquisition request about target webpage for receiving client transmission
When, which carries the address of target webpage, can obtain the mesh according to the corresponding relationship of web page address and curing data
The corresponding curing data in address of webpage is marked, and the corresponding curing data can be parsed, the target webpage is obtained
Related information returns to the related information to the client, so that the client carries out the target webpage according to the related information
Reproduction, can automatically parse curing data, and reappear client to webpage, client can be improved to net
The efficiency of page data reproduction.
Based on a kind of description of the above-mentioned embodiment to data processing method, the embodiment of the present invention is provided at another data
Reason method, referring to Fig. 2, data processing method as described in Figure 2 may comprise steps of:
S201, the acquisition request about target webpage that client is sent is received, which carries the target webpage
Address.
As an alternative embodiment, following steps can also be performed after executing step S201 in proxy server:
Judge whether the address of the target webpage is identical as the address in presetting database, which includes at least one access
Address, the corresponding curing data of the access address is stored in the proxy server, if the address of the target webpage and present count
It is identical according to the address in library, then follow the steps S202.
In the embodiment of the present invention, proxy server may determine that the target webpage address whether in presetting database
Address is identical, if the address of the target webpage is identical as the address in presetting database, can execute step S202 and act on behalf of
The corresponding curing data of the target webpage is obtained in server, and the efficiency for obtaining the corresponding curing data can be improved;If should
Address in the address and presetting database of target webpage is not identical, then the acquisition request of the client can be forwarded to Web
Server, so as to get the curing data of the webpage.
S202, according to the corresponding relationship of web page address and curing data, obtain the corresponding solidification in address of the target webpage
Data.
S203, the corresponding curing data is parsed, obtains the related information of the target webpage, the related information packet
Include html file and static resource.
Wherein, which can also include first time information and the second temporal information, which is
The client receives the temporal information of web page interlinkage request, which is client institute's requested webpage load knot
The temporal information of beam can also include that each static resource start the temporal information of load in webpage and this is quiet in the related information
The temporal information that the load of state resource is completed, server can grasp the temporal information of webpage load to embody by solidifying to webpage
The confidence level of the related information can be improved in the authenticity of work.
For example, if the related information can also include first time information and the second temporal information, believe at the first time
The time of breath instruction is 8:00:00, and the time of the second temporal information instruction is 8:00:05, and server can determine that client terminates
The time for receiving web page interlinkage request is 8:00:00, and the time for determining that client institute's requested webpage load terminates is 8:00:
05。
S204, the related information is encrypted by predetermined encryption algorithm, obtains the digital signature of the related information.
In the embodiment of the present invention, proxy server can be encrypted the related information by default computation system, be obtained
The digital signature of the related information, so as to the related information authenticity or complete property verify.
It should be noted that the predetermined encryption algorithm may include the cipher key derivation function (Password- based on password
Based Key Derivation Function 2, PBKDF2), the message authentication code (Hash-based based on Hash operation
Message Authentication Code, HMAC) or Message Digest 5 (Message Digest Algorithm 5,
The Encryption Algorithm such as MD5), above-mentioned Encryption Algorithm are only citings, and non exhaustive, including but not limited to above-mentioned Encryption Algorithm.
Wherein, the digital signature of the related information can be at least one of letter, number, symbol or text etc. group
At.
S205, the digital signature of related information digital signature corresponding with the curing data is compared.
In the embodiment of the present invention, proxy server can be corresponding with the curing data by the digital signature of the related information
Digital signature is compared, and so as to judge whether the related information is tampered, or whether judges the corresponding curing data
It is that there are corresponding relationships with the address of the target webpage.I.e. when the digital signature of the related information and the described curing data are corresponding
Digital signature it is identical when, can determine that the related information is not tampered with, or determine the corresponding curing data and the target network
There are corresponding relationships for page.
S206, when the digital signature of related information digital signature corresponding with the described curing data is identical, to this
Client returns to the related information, so that the client reappears the target webpage according to the related information.
In the embodiment of the present invention, when the digital signature and the corresponding digital signature phase of the described curing data of the related information
Meanwhile proxy server can return to the related information to the client, so that the client is according to the related information to the mesh
Mark webpage is reappeared, and the confidence level of the related information can be improved, and the efficiency of webpage reproduction can be improved.
In the embodiment of the present invention, after proxy server gets the related information of target webpage, available association letter
The digital signature of breath, by comparing the digital signature of the digital signature of curing data and related information, to judge the pass
Whether connection information is tampered, when the digital signature of related information digital signature corresponding with the described curing data is identical,
Proxy server can determine that the related information is not tampered with, and return to the related information to the client, it is ensured that association
The integrality of information improves the confidence level for obtaining the related information of target webpage.
Based on a kind of description of the above-mentioned embodiment to data processing method, the embodiment of the present invention provides a kind of agency service
Device, which includes executing a kind of above-mentioned unit of data processing method, referring to Fig. 3, agency as described in Figure 3 takes
Business device may include:
Receiving unit 301, for receiving the acquisition request about target webpage of client transmission, the acquisition request is taken
Address with the target webpage.
Acquiring unit 302 obtains the ground of the target webpage for the corresponding relationship according to web page address and curing data
The corresponding curing data in location.
Resolution unit 303 obtains the association letter of the target webpage for parsing to the corresponding curing data
Breath, the related information includes html file and static resource.
Transmission unit 304, for returning to the related information to the client, so that the client is according to the pass
Connection information reappears the target webpage.
Encryption unit 305 obtains the association letter for encrypting by predetermined encryption algorithm to the related information
The digital signature of breath;
Comparison unit 306, for by the digital signature of the related information and the corresponding digital signature of the curing data
It is compared;
The transmission unit 304, specifically for when the related information digital signature and the curing data it is corresponding
When digital signature is identical, described the step of returning to the related information to the client is executed.
Judging unit 307, whether the address for judging the target webpage is identical as the address in presetting database, institute
Stating presetting database includes at least one access address, and the corresponding curing data of the access address is stored in the agency service
In device;
The acquiring unit 302, if the address specifically for the target webpage is identical as the address in presetting database,
The corresponding relationship according to web page address and curing data is then executed, the corresponding solidification number in address of the target webpage is obtained
According to the step of.
Based on the same inventive concept, the principle and beneficial effect solved the problems, such as due to the proxy server may refer to
State the embodiment and brought beneficial effect of data processing method described in Fig. 1 and Fig. 2, therefore the reality of the proxy server
The mode of applying may refer to the embodiment of data processing method described in above-mentioned Fig. 1 and Fig. 2, and overlaps will not be repeated.
The embodiment of the present invention, proxy server receive client transmission the acquisition request about target webpage when,
The acquisition request carries the address of target webpage, can obtain the target according to the corresponding relationship of web page address and curing data
The corresponding curing data in the address of webpage, and the corresponding curing data can be parsed, obtain the pass of the target webpage
Join information, the related information is returned to the client, so that the client answers the target webpage according to the related information
It is existing, automatically curing data can be parsed, and reappear client to webpage, client can be improved to webpage
The efficiency of data reproduction.
Based on a kind of description of the above-mentioned embodiment to data processing method, the embodiment of the present invention provides another agency's clothes
Business device, referring to Fig. 4, proxy server as described in Figure 4 may include: at least one processor 401, such as CPU
(Central Processing Unit, central processing unit), at least one communication interface 403, memory 404, at least one is logical
Believe bus 402.
Wherein, communication bus 402 can also be realized and other terminals for realizing the connection communication between these components
Interaction, such as can on Cloud Server transmitting file;The file of Cloud Server downloading can also be received;It can also be sent out to Cloud Server
Send request etc..Wherein, communication interface 403 may include display screen (Display), keyboard (Keyboard), optional communication interface
403 can also include standard wireline interface and wireless interface.
Wherein, memory 404 can be high speed RAM memory (Ramdom Access Memory, effumability deposited at random
Access to memory), it is also possible to non-labile memory (non-volatile memory), for example, at least a disk storage
Device.Memory 404 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 401, can be used for storing
The file of downloading.
At least one set of program code is stored in memory 404, and processor 401 calls the program stored in memory 404
Code, to be used to execute a kind of document handling method, i.e., for performing the following operations:
The acquisition request about target webpage that client is sent is received, the acquisition request carries the target webpage
Address;
According to the corresponding relationship of web page address and curing data, the corresponding solidification number in address of the target webpage is obtained
According to;
The corresponding curing data is parsed, the related information of the target webpage, the related information are obtained
Including html file and static resource;
The related information is returned to the client, so that the client is according to the related information to the target
Webpage is reappeared.
Optionally, processor 401 calls the program code in memory 404, is also used to execute following operation:
The related information is encrypted by predetermined encryption algorithm, obtains the digital signature of the related information;
The digital signature of the related information and the corresponding digital signature of the curing data are compared;
When the digital signature of related information digital signature corresponding with the curing data is identical, execute it is described to
The client returns to the step of related information.
Optionally, processor 401 calls the program code in memory 404, is also used to execute following operation:
Judge whether the address of the target webpage is identical as the address in presetting database, and the presetting database includes
At least one access address, the corresponding curing data of the access address are stored in the proxy server;
If the address of the target webpage is identical as the address in presetting database, execute it is described according to web page address with
The corresponding relationship of curing data, the step of obtaining the corresponding curing data in address of the target webpage.
Optionally, processor 401 calls the program code in memory 404, is also used to execute following operation:
The related information further includes first time information and the second temporal information, and the first time information is the visitor
Family termination receives the temporal information of web page interlinkage request, and second temporal information is client institute's requested webpage load knot
The temporal information of beam.
The embodiment of the present invention, proxy server receive client transmission the acquisition request about target webpage when,
The acquisition request carries the address of target webpage, can obtain the target according to the corresponding relationship of web page address and curing data
The corresponding curing data in the address of webpage, and the corresponding curing data can be parsed, obtain the pass of the target webpage
Join information, the related information is returned to the client, so that the client answers the target webpage according to the related information
It is existing, automatically curing data can be parsed, and reappear client to webpage, client can be improved to webpage
The efficiency of data reproduction.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, number shown in the application Fig. 1 and Fig. 2 embodiment when the computer program is executed by processor
According to processing method.
The computer readable storage medium can be the internal storage unit of terminal described in aforementioned any embodiment, example
Such as the hard disk or memory of terminal.The computer readable storage medium is also possible to the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
The internal storage unit for including the terminal also includes External memory equipment.The computer readable storage medium is described for storing
Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description [is
System], the specific work process of terminal and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed [system], terminal and method, it can
To realize by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
Division, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, be also possible to electricity, mechanical or other forms connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (10)
1. a kind of data processing method is applied to proxy server characterized by comprising
The acquisition request about target webpage that client is sent is received, the acquisition request carries the ground of the target webpage
Location;
According to the corresponding relationship of web page address and curing data, the corresponding curing data in address of the target webpage is obtained;
The corresponding curing data is parsed, the related information of the target webpage is obtained, the related information includes
Html file and static resource;
The related information is returned to the client, so that the client is according to the related information to the target webpage
Reappeared.
2. the method according to claim 1, wherein further include:
The related information is encrypted by predetermined encryption algorithm, obtains the digital signature of the related information;
The digital signature of the related information and the corresponding digital signature of the curing data are compared;
When the digital signature of related information digital signature corresponding with the curing data is identical, execute described to described
Client returns to the step of related information.
3. the method according to claim 1, wherein the obtaining about target webpage for receiving client and sending
After taking request, further includes:
Judge whether the address of the target webpage is identical as the address in presetting database, the presetting database includes at least
One access address, the corresponding curing data of the access address are stored in the proxy server;
If the address of the target webpage is identical as the address in presetting database, execute described according to web page address and solidification
The corresponding relationship of data, the step of obtaining the corresponding curing data in address of the target webpage.
4. method according to claim 1-3, which is characterized in that
The related information further includes first time information and the second temporal information, and the first time information is the client
The temporal information of web page interlinkage request is received, second temporal information is that client institute's requested webpage load terminates
Temporal information.
5. a kind of proxy server characterized by comprising
Receiving unit, for receiving the acquisition request about target webpage of client transmission, described in the acquisition request carries
The address of target webpage;
Acquiring unit, for the corresponding relationship according to web page address and curing data, the address for obtaining the target webpage is corresponding
Curing data;
Resolution unit obtains the related information of the target webpage for parsing to the corresponding curing data, described
Related information includes html file and static resource;
Transmission unit, for returning to the related information to the client, so that the client is according to the related information
The target webpage is reappeared.
6. proxy server according to claim 5, which is characterized in that further include:
Encryption unit obtains the number of the related information for encrypting by predetermined encryption algorithm to the related information
Word signature;
Comparison unit, for comparing the digital signature of the related information and the corresponding digital signature of the curing data
Compared with;
The transmission unit, specifically for working as the digital signature and the corresponding digital signature of the curing data of the related information
When identical, described the step of returning to the related information to the client is executed.
7. proxy server according to claim 5, which is characterized in that further include:
Judging unit, whether the address for judging the target webpage is identical as the address in presetting database, described default
Database includes at least one access address, and the corresponding curing data of the access address is stored in the proxy server;
The acquiring unit executes if the address specifically for the target webpage is identical as the address in presetting database
The corresponding relationship according to web page address and curing data obtains the step of the corresponding curing data in address of the target webpage
Suddenly.
8. according to the described in any item proxy servers of claim 5-7, which is characterized in that
The related information further includes first time information and the second temporal information, and the first time information is the client
The temporal information of web page interlinkage request is received, second temporal information is that client institute's requested webpage load terminates
Temporal information.
9. a kind of proxy server, which is characterized in that in the memory and can be including memory, processor and storage
The computer program run on the processor, the processor realize such as Claims 1-4 when executing the computer program
Any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In any one of such as Claims 1-4 of realization the method when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711135121.7A CN109788019A (en) | 2017-11-13 | 2017-11-13 | A kind of data processing method and proxy server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711135121.7A CN109788019A (en) | 2017-11-13 | 2017-11-13 | A kind of data processing method and proxy server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109788019A true CN109788019A (en) | 2019-05-21 |
Family
ID=66495548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711135121.7A Pending CN109788019A (en) | 2017-11-13 | 2017-11-13 | A kind of data processing method and proxy server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109788019A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112016014A (en) * | 2020-08-18 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Webpage display method, webpage resource generation method, webpage display device, webpage resource generation device, electronic equipment and medium |
CN112306546A (en) * | 2019-08-01 | 2021-02-02 | 北京东土科技股份有限公司 | Method and device for generating installation file of desktop application and storage medium |
CN112637254A (en) * | 2019-09-24 | 2021-04-09 | 拉扎斯网络科技(上海)有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111267A (en) * | 2009-12-28 | 2011-06-29 | 北京安码科技有限公司 | Website safety protection method based on digital signature and system adopting same |
CN103778352A (en) * | 2014-01-28 | 2014-05-07 | 福建伊时代信息科技股份有限公司 | Electronic evidence generation and verification method and device as well as electronic evidence generation system |
US20140173027A1 (en) * | 2012-12-18 | 2014-06-19 | Microsoft Corporation | Peer-to-peer sharing of cloud-based content |
CN104199962A (en) * | 2014-09-19 | 2014-12-10 | 合肥工业大学 | Trusted webpage forensics system and trusted webpage forensics method based on three-layer trusted webpage forensic model |
CN106878264A (en) * | 2016-12-21 | 2017-06-20 | 重庆华龙艾迪信息技术有限公司 | A kind of data managing method and server |
-
2017
- 2017-11-13 CN CN201711135121.7A patent/CN109788019A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111267A (en) * | 2009-12-28 | 2011-06-29 | 北京安码科技有限公司 | Website safety protection method based on digital signature and system adopting same |
US20140173027A1 (en) * | 2012-12-18 | 2014-06-19 | Microsoft Corporation | Peer-to-peer sharing of cloud-based content |
CN103778352A (en) * | 2014-01-28 | 2014-05-07 | 福建伊时代信息科技股份有限公司 | Electronic evidence generation and verification method and device as well as electronic evidence generation system |
CN104199962A (en) * | 2014-09-19 | 2014-12-10 | 合肥工业大学 | Trusted webpage forensics system and trusted webpage forensics method based on three-layer trusted webpage forensic model |
CN106878264A (en) * | 2016-12-21 | 2017-06-20 | 重庆华龙艾迪信息技术有限公司 | A kind of data managing method and server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306546A (en) * | 2019-08-01 | 2021-02-02 | 北京东土科技股份有限公司 | Method and device for generating installation file of desktop application and storage medium |
CN112637254A (en) * | 2019-09-24 | 2021-04-09 | 拉扎斯网络科技(上海)有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN112637254B (en) * | 2019-09-24 | 2023-04-07 | 拉扎斯网络科技(上海)有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN112016014A (en) * | 2020-08-18 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Webpage display method, webpage resource generation method, webpage display device, webpage resource generation device, electronic equipment and medium |
CN112016014B (en) * | 2020-08-18 | 2023-12-26 | 北京达佳互联信息技术有限公司 | Webpage display method, webpage resource generation device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5218080B2 (en) | Electronic coupon processing system, user management server device, service providing method, and program | |
CN109710533A (en) | A kind of interface test method, device and server | |
CN105205072B (en) | The methods of exhibiting and system of webpage information | |
KR101977624B1 (en) | Method and apparatus for providing authentication information on a web page | |
CN112788270B (en) | Video backtracking method, device, computer equipment and storage medium | |
CN109788019A (en) | A kind of data processing method and proxy server | |
CN109787974B (en) | Message data stream generation method and device, computer equipment and storage medium | |
CN105554136B (en) | Backup Data restoring method, apparatus and system | |
US10775751B2 (en) | Automatic generation of regular expression based on log line data | |
CN109510799B (en) | Page display method, browser client, equipment and storage medium | |
CN108256811A (en) | Job information processing method, device, computer equipment and storage medium | |
JP2011043924A (en) | Web action history acquisition system, web action history acquisition method, gateway device and program | |
CN112818270B (en) | Data cross-domain transfer method and device and computer equipment | |
CN113821254A (en) | Interface data processing method, device, storage medium and equipment | |
US11017029B2 (en) | Data transfer system, data transfer apparatus, data transfer method, and computer-readable recording medium | |
CN113220273A (en) | Micro front-end application resource processing method, device, equipment and medium | |
CN110633432A (en) | Method, device, terminal equipment and medium for acquiring data | |
CN107018164B (en) | Service processing method and device | |
JP4676329B2 (en) | Service providing system, interactive display apparatus, and service providing method | |
CN115774581A (en) | Method and related apparatus for executing robot feet | |
CN111131369B (en) | APP use condition transmission method and device, electronic equipment and storage medium | |
CN108345508A (en) | Interface calls test method and device | |
CN113064563A (en) | Printing method based on block chain | |
CN113779445A (en) | Page rendering method, device, system, equipment and storage medium | |
CN110750804A (en) | Report asynchronous downloading method, device, equipment and readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |
|
RJ01 | Rejection of invention patent application after publication |