CN107800689A - A kind of Website Usability ensures processing method and processing device - Google Patents

A kind of Website Usability ensures processing method and processing device Download PDF

Info

Publication number
CN107800689A
CN107800689A CN201710897220.2A CN201710897220A CN107800689A CN 107800689 A CN107800689 A CN 107800689A CN 201710897220 A CN201710897220 A CN 201710897220A CN 107800689 A CN107800689 A CN 107800689A
Authority
CN
China
Prior art keywords
target data
website
access request
user terminal
pretreated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710897220.2A
Other languages
Chinese (zh)
Inventor
王照旗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qianxin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qianxin Technology Co Ltd filed Critical Beijing Qianxin Technology Co Ltd
Priority to CN201710897220.2A priority Critical patent/CN107800689A/en
Publication of CN107800689A publication Critical patent/CN107800689A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of Website Usability to ensure processing method and processing device, and method includes:The access request for the access website that user terminal is sent is received, access request is pre-processed, and target data is searched in the local cache of protection server according to pretreated access request;If not finding target data in the local cache of protection server, pretreated access request is sent to mirror image server, so that mirror image server finds target data according to pretreated access request, and target data is back to user terminal.The embodiment of the present invention to access request by pre-processing, the user terminal is back to after finding target data by mirror image server, realize that data return based on mirror image server, user terminal not with website direct communication, when source station goes wrong, remain able to provide normal service, ensure the availability of website;Target data is returned to by mirror image server simultaneously, can speed up website service.

Description

A kind of Website Usability ensures processing method and processing device
Technical field
The present embodiments relate to technical field of network security, and in particular to a kind of Website Usability ensure processing method and Device.
Background technology
It is blog, forum, on-line shop, interior with the popularization and application of the development of computer technology and network technology, and network Hold the websites such as management to emerge in an endless stream, interpersonal communication, transaction, displaying increasingly rely on network.Network give everybody with There is also various risks while to facilitate, such as all kinds of website wooden horses, malicious websites are destroyed, information leakage.
During the embodiment of the present invention is realized, inventor has found that existing website service strategy is based primarily upon application layer And Internet, and realized based on the rule match of blacklist, good clothes can be provided in the case of source station is normally functioning Business, once but source station go wrong, then normal service can not be provided, i.e., can not ensure the availability of website.
The content of the invention
Because above mentioned problem be present in existing method, the embodiment of the present invention propose a kind of Website Usability ensure processing method and Device.
In a first aspect, the embodiment of the present invention proposes that a kind of Website Usability ensures processing method, including:
The access request for the access website that user terminal is sent is received, the access request is pre-processed, and according to The pretreated access request searches target data in the local cache of protection server;
If target data is not found in the local cache of the protection server, by the pretreated access Request is sent to mirror image server, so that the mirror image server finds the mesh according to the pretreated access request Data are marked, and the target data is back to the user terminal, to ensure the availability of the website.
Alternatively, before the access request for receiving the access website that user terminal is sent, in addition to:
Receive the protection configuration parameter that configuration platform is sent;
Wherein, the protection configuration parameter includes the reptile time, protects time, reptile level and mirror image black and white lists again.
Alternatively, methods described also includes:
According to the protection configuration parameter generation reptile task, and according to the reptile task by the data mirror of targeted website As to the mirror image server.
Alternatively, methods described also includes:
If finding the target data in the local cache of the protection server, the target data is returned To the user terminal.
Alternatively, the access request for receiving the access website that user terminal is sent, is carried out pre- to the access request Processing, and target data is searched in the local cache of protection server according to the pretreated access request, specific bag Include:
The access request for the access website that user terminal is sent is received, the access request is pre-processed;
If judgement, which knows that the website is opened, protects function again, serviced according to the pretreated access request in protection Target data is searched in the local cache of device;Otherwise the pretreated access request is sent to the website, and by page 404 Face or jump page are back to the user terminal.
Alternatively, it is described that the access request is pre-processed, specifically include:
Flow cleaning processing and Web application guard system protective treatments are carried out to the access request.
Second aspect, the embodiment of the present invention also propose that a kind of Website Usability ensures processing method, including:
The pretreated access request that protection server is sent is received, according to the pretreated access request in rope Draw in snapshot ES distributed type assemblies and search target data;
If finding the target data, the target data is obtained;
If not finding the target data, obtain described in website corresponding to the pretreated access request Target data;
The target data is back to the user terminal, to ensure the availability of the website.
Alternatively, described device also includes:
The mirror configuration parameter that configuration platform is sent is received, and mirrored state is sent to the configuration platform;
Wherein, the mirror configuration parameter includes creating mirror cache parameter, renewal mirror cache parameter and deletes mirror image Cached parameters.
The third aspect, the embodiment of the present invention also propose that a kind of Website Usability ensures processing unit, including:
Pretreatment module is asked, the access request of the access website for receiving user terminal transmission please to the access Ask and pre-processed, and number of targets is searched in the local cache of protection server according to the pretreated access request According to;
First data return to module, if for not finding target data in the local cache of the protection server, Then the pretreated access request is sent to mirror image server, so that after the mirror image server is according to the pretreatment Access request find the target data, and the target data is back to the user terminal, to ensure the net The availability stood.
Alternatively, described device also includes:
First configuration parameter receiving module, for receiving the protection configuration parameter of configuration platform transmission;
Wherein, the protection configuration parameter includes the reptile time, protects time, reptile level and mirror image black and white lists again.
Alternatively, described device also includes:
Mirror module, for according to the protection configuration parameter generation reptile task, and according to the reptile task by mesh The data image of website is marked to the mirror image server.
Alternatively, described device also includes:
Local searching modul, if for finding the target data in the local cache of the protection server, The target data is back to the user terminal.
Alternatively, the request pretreatment module specifically includes:
Pretreatment unit, the access request of the access website for receiving user terminal transmission, enters to the access request Row pretreatment;
Requesting processing, if for judging that knowing that the website is opened protects function again, according to described pretreated Access request searches target data in the local cache of protection server;Otherwise sent to the website described pretreated Access request, and 404 pages or jump page are back to the user terminal.
Alternatively, the request pretreatment module is specifically used for carrying out flow cleaning processing and Web to the access request Using guard system protective treatment.
Fourth aspect, the embodiment of the present invention also propose that a kind of Website Usability ensures processing unit, including:
Data search module, the pretreated access request sent for receiving protection server, according to the pre- place Access request after reason searches target data in snapshot ES distributed type assemblies are indexed;
First data acquisition module, if for finding the target data, obtain the target data;
Second data acquisition module, if for not finding the target data, obtain the pretreated access The target data in website corresponding to request;
Second data return to module, for the target data to be back into the user terminal, to ensure the website Availability.
Alternatively, described device also includes:
Second configuration parameter receiving module, for receiving the mirror configuration parameter of configuration platform transmission, and by mirrored state Send to the configuration platform;
Wherein, the mirror configuration parameter includes creating mirror cache parameter, renewal mirror cache parameter and deletes mirror image Cached parameters.
5th aspect, the embodiment of the present invention also propose a kind of electronic equipment, including:
At least one processor;And
At least one memory being connected with the processor communication, wherein:
The memory storage has and by the programmed instruction of the computing device, the processor described program can be called to refer to Order is able to carry out the above method.
6th aspect, the embodiment of the present invention also propose a kind of non-transient computer readable storage medium storing program for executing, the non-transient meter Calculation machine readable storage medium storing program for executing stores computer program, and the computer program makes the computer perform the above method.
As shown from the above technical solution, the embodiment of the present invention to access request by pre-processing, by mirror image server Be back to the user terminal after finding target data, based on mirror image server realize data return, user terminal not with net Stand direct communication, when source station goes wrong, remain able to provide normal service, ensure the availability of website;Pass through mirror simultaneously As server return target data, website service can speed up.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these figures.
Fig. 1 is the schematic flow sheet that a kind of Website Usability that one embodiment of the invention provides ensures processing method;
Fig. 2 is the operation schematic diagram that a kind of Website Usability that one embodiment of the invention provides ensures processing system;
Fig. 3 is the schematic flow sheet that a kind of Website Usability that another embodiment of the present invention provides ensures processing method;
Fig. 4 is the structural representation that a kind of Website Usability that one embodiment of the invention provides ensures processing unit;
Fig. 5 is the structural representation that a kind of Website Usability that another embodiment of the present invention provides ensures processing unit;
Fig. 6 is the logic diagram for the electronic equipment that one embodiment of the invention provides;
Fig. 7 is the logic diagram for the electronic equipment that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawings, the embodiment of the present invention is further described.Following examples are only used for more Clearly demonstrate technical scheme, and can not be limited the scope of the invention with this.
Fig. 1 shows that a kind of Website Usability that the present embodiment provides ensures the schematic flow sheet of processing method, including:
S101, the access request for receiving the access website that user terminal is sent, are pre-processed to the access request, and Target data is searched in the local cache of protection server according to the pretreated access request.
Wherein, the access request is user terminal initiation, it is necessary to access the request of some specific website.
The pretreatment is that the processing such as flow cleaning or data protection is carried out to access request, primarily determines that access request is No safety.
The protection server is locally delaying to receive the access request after being pre-processed to the access request File for reference and look for the server of target data.
The target data is the data of the user terminal actual request corresponding to the access request.For example, user Terminal request A files, then target data is A files;User terminal requests B-source, then target data is B-source.
If S102, not it is described protection server local cache in find target data, after the pretreatment Access request send to mirror image server so that the mirror image server is found according to the pretreated access request The target data, and the target data is back to the user terminal, to ensure the availability of the website.
Wherein, the data that the local cache prestores for the protection server local.
The mirror image server is duplication and searches the server of each website data.
Specifically, by by the data image of each website to mirror image server, when user terminal requests target data, and The target data is found in mirror image server, then user terminal is returned directly to by mirror image server, avoids user terminal With the direct communication of source website, when source station goes wrong, remain able to provide normal service, ensure the availability of website;Together When by mirror image server return target data, can speed up website service.
The present embodiment is back to institute by being pre-processed to access request after finding target data by mirror image server State user terminal, based on mirror image server realize data return, user terminal not with website direct communication, when source station goes wrong When, remain able to provide normal service, ensure the availability of website;Target data is returned to by mirror image server simultaneously, can Accelerate website service.
Further, on the basis of above method embodiment, the visit for receiving the access website that user terminal is sent Before asking request, in addition to:
S100, receive the protection configuration parameter that configuration platform is sent;
Wherein, the protection configuration parameter includes the reptile time, protects time, reptile level and mirror image black and white lists again.
Wherein, the configuration platform is that protection server and mirror image server are carried out to protect configuration parameter configuration to put down Platform.
The reptile time is the run time of crawlers.
Heavy guarantor's time is the time protected.
The reptile level is the type of crawlers;
The mirror image black and white lists are the blacklist and white list in mirror image server.
Parameter configuration is carried out to protection server and mirror image server by configuration platform, multiple services can be uniformly set The parameter of device, it is easy to effective protection of website.
Further, on the basis of above method embodiment, methods described also includes:
S103, according to the protection configuration parameter generation reptile task, and according to the reptile task by targeted website Data image is to the mirror image server.
Wherein, the reptile task is according to specific rules to crawl data from each website, mirror image to mirror image server, in case During user terminal requests, user terminal is returned directly to.
Data are crawled by reptile task automatically so that the data in mirror image server often update, and improve user terminal Target data return rate, further effectively prevent unauthorized access.
Further, on the basis of above method embodiment, methods described also includes:
If S104, the target data is found in the local cache of the protection server, by the number of targets According to being back to the user terminal.
By in protection server local cache data, when target data is protecting server local cache, Neng Gouti While high data return speed, website completeness is improved.
Further, on the basis of above method embodiment, S101 is specifically included:
S1011, the access request for receiving the access website that user terminal is sent, are pre-processed to the access request;
If S1012, judgement know that the website is opened protects function again, according to the pretreated access request anti- Protect in the local cache of server and search target data;Otherwise the pretreated access request is sent to the website, and 404 pages or jump page are back to the user terminal.
Wherein, heavy guarantor's function is directly by protecting server local cache or mirror image server to return to target data To user terminal, without by source website (source station) corresponding to target data, unauthorized access can be greatly reduced.
Functional switch is protected again by setting, and can be determined whether to open according to different requirement of shelter and be protected function again.
Further, on the basis of above method embodiment, the access request is pre-processed described in S101, Specifically include:
Flow cleaning processing and Web application guard system protective treatments are carried out to the access request.
Wherein, the flow cleaning processing is that the data traffic for entering Customer ID C is monitored in real time, finds bag in time Include the abnormal flow including dos attack.On the premise of regular traffic is not influenceed, abnormal flow is washed.Can effectively it meet Client operates successional requirement to IDC.
Specifically, the Website Usability that the present embodiment provides ensures the operation schematic diagram of processing system as shown in Fig. 2 this is System includes source station 201, protects server 202, mirror image server 203 and configuration platform 204, wherein, protection server 202 includes LVS (Linux virtual server), WAF (Web applications guard system) and CACHE (local cache), LVS are carried out to accessing data After flow cleaning, generation HTTP request is sent to WAF, and security protection processing is carried out by WAF, and judges to protect whether server is opened Caching is opened, is not opened such as, then directly accesses source station 201;Caching is such as opened, then judges to whether there is number of targets in local cache According to existing, return directly to user terminal;If target data is not present in protection server local cache, judge whether out Qi Chong protects function, does not open such as and protects function again, then directly accesses source station 201;Such as open and protect function again, then send the request to mirror As server 203, mirror image server 203 is searched by ES distributed type assemblies, such as finds target data, then return to user Terminal, otherwise directly access source station 201.
Before Website Usability ensures processing system operation or in operation, protection server and mirror image server can be matched somebody with somebody Parameter is put to be configured, including protection configuration, guarantor's time configuration, cached configuration, the establishment of mirror cache, renewal or deletion etc. again Deng.
During the carrying out practically that Website Usability ensures processing system, it may comprise steps of:
A1, user access website, carry out LVS DDOS flow cleanings, are then protected by application layer WAF, if it is determined that should Website is opened and protected again, then into A2;
Flow is all forwarded to CACHE cachings (access needs to empty cache contents protect again before for the first time) by A2, WAF Node, if hit caching, returns to response contents, otherwise, into A3;
If A3, CACHE caching are not hit, ES clusters are forwarded the request to, inquiring about the request, whether ES has storage Content, if inquired, the content that inquires will be responded, otherwise into A4;
If A4, not hitting mirrored content, selected, take source, return to 404 pages or redirect page according to user Face etc..
The method provided by the present embodiment, it can ensure that website normally effectively accesses during national momentous conference, The fault rate of website is reduced, while improves the availability of website.
Fig. 3 shows that a kind of Website Usability that the present embodiment provides ensures the schematic flow sheet of processing method, including:
S301, the pretreated access request that protection server is sent is received, please according to the pretreated access Ask and search target data in snapshot ES distributed type assemblies are indexed.
Wherein, the access request is user terminal initiation, it is necessary to access the request of some specific website.
The pretreatment is that the processing such as flow cleaning or data protection is carried out to access request, primarily determines that access request is No safety.
The protection server is locally delaying to receive the access request after being pre-processed to the access request File for reference and look for the server of target data.
The target data is the data of the user terminal actual request corresponding to the access request.For example, user Terminal request A files, then target data is A files;User terminal requests B-source, then target data is B-source.
If S302, finding the target data, the target data is obtained.
If S303, not finding the target data, obtain in website corresponding to the pretreated access request The target data.
S304, the target data is back to the user terminal, to ensure the availability of the website.
Specifically, mirror image server receives the pretreated access request that protection server is sent, according to the pre- place Access request after reason searches target data in snapshot ES distributed type assemblies are indexed;If finding the target data, obtain Take the target data;If not finding the target data, website corresponding to the pretreated access request is obtained In the target data;The target data is back to the user terminal.
By by the data image of each website to mirror image server, when user terminal requests target data, and in mirror image The target data is found in server, then user terminal is returned directly to by mirror image server, avoids user terminal and source net The direct communication stood, effectively prevent various unauthorized access.
The present embodiment is back to institute by being pre-processed to access request after finding target data by mirror image server State user terminal, based on mirror image server realize data return, user terminal not with website direct communication, when source station goes wrong When, remain able to provide normal service, ensure the availability of website;Target data is returned to by mirror image server simultaneously, can Accelerate website service.
Further, on the basis of above method embodiment, described device also includes:
The mirror configuration parameter that configuration platform is sent is received, and mirrored state is sent to the configuration platform;
Wherein, the mirror configuration parameter includes creating mirror cache parameter, renewal mirror cache parameter and deletes mirror image Cached parameters.
The configuration platform is the platform for protection server and mirror image server protect configuration parameter configuration.
It is described to create mirror cache parameter to create the related parameter of mirror cache;The renewal mirror cache parameter is more The related parameter of new mirror cache;It is described to delete mirror cache parameter to delete the related parameter of mirror cache.
Parameter configuration is carried out to protection server and mirror image server by configuration platform, multiple services can be uniformly set The parameter of device, it is easy to effective protection of website.
Fig. 4 shows that a kind of Website Usability that the present embodiment provides ensures the structural representation of processing unit, the dress Put including:The data of pretreatment module 401 and first are asked to return to module 402, wherein:
The request pretreatment module 401, the access request of the access website for receiving user terminal transmission, to described Access request is pre-processed, and searches mesh in the local cache of protection server according to the pretreated access request Mark data;
First data return to module 402, if for not finding mesh in the local cache of the protection server Data are marked, then are sent the pretreated access request to mirror image server, so that the mirror image server is according to Pretreated access request finds the target data, and the target data is back into the user terminal, to protect Hinder the availability of the website.
Specifically, the request pretreatment module 401 receives the access request for the access website that user terminal is sent, to institute State access request to be pre-processed, and searched according to the pretreated access request in the local cache of protection server Target data;If first data return to module 402 and do not find number of targets in the local cache of the protection server According to then the pretreated access request being sent to mirror image server, so that the mirror image server is according to the pre- place Access request after reason finds the target data, and the target data is back into the user terminal.
The present embodiment is back to institute by being pre-processed to access request after finding target data by mirror image server State user terminal, based on mirror image server realize data return, user terminal not with website direct communication, when source station goes wrong When, remain able to provide normal service, ensure the availability of website;Target data is returned to by mirror image server simultaneously, can Accelerate website service.
Further, on the basis of said apparatus embodiment, described device also includes:
First configuration parameter receiving module, for receiving the protection configuration parameter of configuration platform transmission;
Wherein, the protection configuration parameter includes the reptile time, protects time, reptile level and mirror image black and white lists again.
Further, on the basis of said apparatus embodiment, described device also includes:
Mirror module, for according to the protection configuration parameter generation reptile task, and according to the reptile task by mesh The data image of website is marked to the mirror image server.
Further, on the basis of said apparatus embodiment, described device also includes:
Local searching modul, if for finding the target data in the local cache of the protection server, The target data is back to the user terminal.
Further, on the basis of said apparatus embodiment, the request pretreatment module 401 specifically includes:
Pretreatment unit, the access request of the access website for receiving user terminal transmission, enters to the access request Row pretreatment;
Requesting processing, if for judging that knowing that the website is opened protects function again, according to described pretreated Access request searches target data in the local cache of protection server;Otherwise sent to the website described pretreated Access request, and 404 pages or jump page are back to the user terminal.
Further, on the basis of said apparatus embodiment, the request pretreatment module 401 is specifically used for described Access request carries out flow cleaning processing and Web application guard system protective treatments.
Website Usability described in the present embodiment ensures that processing unit can be used for performing above-mentioned corresponding embodiment of the method, Its principle is similar with technique effect, and here is omitted.
Fig. 5 shows that a kind of Website Usability that the present embodiment provides ensures the structural representation of processing unit, the dress Put including:Data search module 501, the first data acquisition module 502, the second data acquisition module 503 and the second data return Module 504, wherein:
The data search module 501 is used to receive the pretreated access request that protection server is sent, according to institute State pretreated access request and search target data in snapshot ES distributed type assemblies are indexed;
If first data acquisition module 502 is used to find the target data, the target data is obtained;
If second data acquisition module 503 is used to not find the target data, after obtaining the pretreatment Access request corresponding to the target data in website;
Second data return to module 504 and are used to the target data being back to the user terminal, to ensure State the availability of website.
Specifically, the data search module 501 receives the pretreated access request that protection server is sent, according to The pretreated access request searches target data in snapshot ES distributed type assemblies are indexed;The first data acquisition mould If block 502 finds the target data, the target data is obtained;If second data acquisition module 503 is not searched To the target data, then the target data in website corresponding to the pretreated access request is obtained;Described Two data return to module 504 and the target data are back into the user terminal.
The present embodiment is back to institute by being pre-processed to access request after finding target data by mirror image server State user terminal, based on mirror image server realize data return, user terminal not with website direct communication, when source station goes wrong When, remain able to provide normal service, ensure the availability of website;Target data is returned to by mirror image server simultaneously, can Accelerate website service.
Further, on the basis of said apparatus embodiment, described device also includes:
Second configuration parameter receiving module, for receiving the mirror configuration parameter of configuration platform transmission, and by mirrored state Send to the configuration platform;
Wherein, the mirror configuration parameter includes creating mirror cache parameter, renewal mirror cache parameter and deletes mirror image Cached parameters.
Website Usability described in the present embodiment ensures that processing unit can be used for performing above-mentioned corresponding embodiment of the method, Its principle is similar with technique effect, and here is omitted.
Reference picture 6, the electronic equipment, including:First processor (processor) 601, first memory (memory) 602 and first bus 603;
Wherein,
The first processor 601 and first memory 602 complete mutual communication by first bus 603;
The first processor 601 is used to call the programmed instruction in the first memory 602, to perform above-mentioned each side The method that method embodiment is provided.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine performs, computer is able to carry out the method that above-mentioned corresponding each method embodiment is provided.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction makes the computer perform the side that above-mentioned corresponding each method embodiment is provided Method.
Reference picture 7, the electronic equipment, including:Second processor (processor) 701, second memory (memory) 702 and second bus 703;
Wherein,
The second processor 701 and second memory 702 complete mutual communication by second bus 703;
The second processor 701 is used to call the programmed instruction in the second memory 702, to perform above-mentioned each side The method that method embodiment is provided.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include programmed instruction, when described program instruction is calculated When machine performs, computer is able to carry out the method that above-mentioned corresponding each method embodiment is provided.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing Computer instruction is stored, the computer instruction makes the computer perform the side that above-mentioned corresponding each method embodiment is provided Method.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, it can be as the part that unit is shown or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
It should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although reference The present invention is described in detail previous embodiment, it will be understood by those within the art that:It still can be right Technical scheme described in foregoing embodiments is modified, or carries out equivalent substitution to which part technical characteristic;And this A little modifications are replaced, and the essence of appropriate technical solution is departed from the spirit and model of various embodiments of the present invention technical scheme Enclose.

Claims (20)

1. a kind of Website Usability ensures processing method, it is characterised in that including:
The access request for the access website that user terminal is sent is received, the access request is pre-processed, and according to described Pretreated access request searches target data in the local cache of protection server;
If target data is not found in the local cache of the protection server, by the pretreated access request Send to mirror image server, so that the mirror image server finds the number of targets according to the pretreated access request According to, and the target data is back to the user terminal, to ensure the availability of the website.
2. according to the method for claim 1, it is characterised in that the access for receiving the access website that user terminal is sent Before request, in addition to:
Receive the protection configuration parameter that configuration platform is sent;
Wherein, the protection configuration parameter includes the reptile time, protects time, reptile level and mirror image black and white lists again.
3. according to the method for claim 2, it is characterised in that methods described also includes:
According to it is described protection configuration parameter generation reptile task, and according to the reptile task by the data image of targeted website extremely The mirror image server.
4. according to the method for claim 1, it is characterised in that methods described also includes:
If finding the target data in the local cache of the protection server, the target data is back to institute State user terminal.
5. according to the method for claim 1, it is characterised in that the access for receiving the access website that user terminal is sent Request, is pre-processed to the access request, and according to the pretreated access request in the local of protection server Target data is searched in caching, is specifically included:
The access request for the access website that user terminal is sent is received, the access request is pre-processed;
If judgement knows that the website is opened protects function again, according to the pretreated access request in protection server Target data is searched in local cache;Otherwise send the pretreated access request to the website, and by 404 pages or Jump page is back to the user terminal.
6. according to the method for claim 1, it is characterised in that described to be pre-processed to the access request, specific bag Include:
Flow cleaning processing and Web application guard system protective treatments are carried out to the access request.
7. a kind of Website Usability ensures processing method, it is characterised in that including:
The pretreated access request that protection server is sent is received, it is fast in index according to the pretreated access request According to searching target data in ES distributed type assemblies;
If finding the target data, the target data is obtained;
If not finding the target data, the target in website corresponding to the pretreated access request is obtained Data;
The target data is back to the user terminal, to ensure the availability of the website.
8. according to the method for claim 7, it is characterised in that methods described also includes:
The mirror configuration parameter that configuration platform is sent is received, and mirrored state is sent to the configuration platform;
Wherein, the mirror configuration parameter includes creating mirror cache parameter, renewal mirror cache parameter and deletes mirror cache Parameter.
9. a kind of Website Usability ensures processing unit, it is characterised in that including:
Pretreatment module is asked, the access request of the access website for receiving user terminal transmission, the access request is entered Row pretreatment, and target data is searched in the local cache of protection server according to the pretreated access request;
First data return to module, if for not finding target data in the local cache of the protection server, will The pretreated access request is sent to mirror image server, so that the mirror image server is according to the pretreated visit Ask that request finds the target data, and the target data is back to the user terminal, to ensure the website Availability.
10. device according to claim 9, it is characterised in that described device also includes:
First configuration parameter receiving module, for receiving the protection configuration parameter of configuration platform transmission;
Wherein, the protection configuration parameter includes the reptile time, protects time, reptile level and mirror image black and white lists again.
11. device according to claim 10, it is characterised in that described device also includes:
Mirror module, for according to the protection configuration parameter generation reptile task, and according to the reptile task by target network The data image stood is to the mirror image server.
12. device according to claim 9, it is characterised in that described device also includes:
Local searching modul, if for finding the target data in the local cache of the protection server, by institute State target data and be back to the user terminal.
13. device according to claim 9, it is characterised in that the request pretreatment module specifically includes:
Pretreatment unit, the access request of the access website for receiving user terminal transmission, is carried out pre- to the access request Processing;
Requesting processing, if for judging that knowing that the website is opened protects function again, according to the pretreated access Ask to search target data in the local cache of protection server;Otherwise the pretreated access is sent to the website Request, and 404 pages or jump page are back to the user terminal.
14. device according to claim 9, it is characterised in that the request pretreatment module is specifically used for the visit Ask that request carries out flow cleaning processing and Web application guard system protective treatments.
15. a kind of Website Usability ensures processing unit, it is characterised in that including:
Data search module, the pretreated access request sent for receiving protection server, after the pretreatment Access request search target data in snapshot ES distributed type assemblies are indexed;
First data acquisition module, if for finding the target data, obtain the target data;
Second data acquisition module, if for not finding the target data, obtain the pretreated access request The target data in corresponding website;
Second data return to module, can with ensure the website for the target data to be back into the user terminal The property used.
16. device according to claim 15, it is characterised in that described device also includes:
Second configuration parameter receiving module, for receiving the mirror configuration parameter of configuration platform transmission, and mirrored state is sent To the configuration platform;
Wherein, the mirror configuration parameter includes creating mirror cache parameter, renewal mirror cache parameter and deletes mirror cache Parameter.
17. a kind of electronic equipment, it is characterised in that including:
At least one processor;And
At least one memory being connected with the processor communication, wherein:
The memory storage has can be by the programmed instruction of the computing device, and the processor calls described program instruction energy Enough perform the method as described in claim 1 to 6 is any.
18. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer program is stored up, the computer program makes the computer perform the method as described in claim 1 to 6 is any.
19. a kind of electronic equipment, it is characterised in that including:
At least one processor;And
At least one memory being connected with the processor communication, wherein:
The memory storage has can be by the programmed instruction of the computing device, and the processor calls described program instruction energy Enough perform the method as described in claim 7 to 8 is any.
20. a kind of non-transient computer readable storage medium storing program for executing, it is characterised in that the non-transient computer readable storage medium storing program for executing is deposited Computer program is stored up, the computer program makes the computer perform the method as described in claim 7 to 8 is any.
CN201710897220.2A 2017-09-28 2017-09-28 A kind of Website Usability ensures processing method and processing device Pending CN107800689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710897220.2A CN107800689A (en) 2017-09-28 2017-09-28 A kind of Website Usability ensures processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710897220.2A CN107800689A (en) 2017-09-28 2017-09-28 A kind of Website Usability ensures processing method and processing device

Publications (1)

Publication Number Publication Date
CN107800689A true CN107800689A (en) 2018-03-13

Family

ID=61532757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710897220.2A Pending CN107800689A (en) 2017-09-28 2017-09-28 A kind of Website Usability ensures processing method and processing device

Country Status (1)

Country Link
CN (1) CN107800689A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124993A (en) * 2018-10-31 2020-05-08 伊姆西Ip控股有限责任公司 Method, apparatus and program product for reducing cache data mirroring latency during I/O processing
CN112087459A (en) * 2020-09-11 2020-12-15 杭州安恒信息技术股份有限公司 Access request detection method, device, equipment and readable storage medium
CN112347167A (en) * 2020-09-30 2021-02-09 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and storage medium
CN113949579A (en) * 2021-10-20 2022-01-18 安天科技集团股份有限公司 Website attack defense method and device, computer equipment and storage medium
CN115543747A (en) * 2022-10-20 2022-12-30 舟谱数据技术南京有限公司 Method for automatically inspecting front-end webpage performance

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414639A (en) * 2013-07-16 2013-11-27 广东工业大学 Routing request method
CN104168300A (en) * 2013-05-17 2014-11-26 中国电信股份有限公司 Content acceleration method and system
CN104462570A (en) * 2014-12-26 2015-03-25 小米科技有限责任公司 Webpage content obtaining method and device
CN106302512A (en) * 2016-09-05 2017-01-04 上海云盾信息技术有限公司 A kind of for controlling method, equipment and the system accessed

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168300A (en) * 2013-05-17 2014-11-26 中国电信股份有限公司 Content acceleration method and system
CN103414639A (en) * 2013-07-16 2013-11-27 广东工业大学 Routing request method
CN104462570A (en) * 2014-12-26 2015-03-25 小米科技有限责任公司 Webpage content obtaining method and device
CN106302512A (en) * 2016-09-05 2017-01-04 上海云盾信息技术有限公司 A kind of for controlling method, equipment and the system accessed

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124993A (en) * 2018-10-31 2020-05-08 伊姆西Ip控股有限责任公司 Method, apparatus and program product for reducing cache data mirroring latency during I/O processing
CN111124993B (en) * 2018-10-31 2023-09-01 伊姆西Ip控股有限责任公司 Method, apparatus and program product for reducing cache data mirror latency in I/O processing
CN112087459A (en) * 2020-09-11 2020-12-15 杭州安恒信息技术股份有限公司 Access request detection method, device, equipment and readable storage medium
CN112347167A (en) * 2020-09-30 2021-02-09 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and storage medium
CN113949579A (en) * 2021-10-20 2022-01-18 安天科技集团股份有限公司 Website attack defense method and device, computer equipment and storage medium
CN113949579B (en) * 2021-10-20 2024-04-30 安天科技集团股份有限公司 Website attack defense method and device, computer equipment and storage medium
CN115543747A (en) * 2022-10-20 2022-12-30 舟谱数据技术南京有限公司 Method for automatically inspecting front-end webpage performance
CN115543747B (en) * 2022-10-20 2024-04-02 舟谱数据技术南京有限公司 Method for automatically inspecting front-end webpage performance

Similar Documents

Publication Publication Date Title
CN107800689A (en) A kind of Website Usability ensures processing method and processing device
CN103607385B (en) Method and apparatus for security detection based on browser
CN109818937A (en) For the control method of Android permission, device and storage medium, electronic device
CN104917779B (en) A kind of means of defence, the apparatus and system of CC attacks based on cloud
CN103955405B (en) A kind of application management method and its device
CN106411823B (en) A kind of access control method and relevant device based on CDN
CN109274632A (en) A kind of recognition methods of website and device
CN102402620A (en) Method and system for defending malicious webpage
CN108259425A (en) The determining method, apparatus and server of query-attack
CN105939326A (en) Message processing method and device
Sanchez-Rola et al. The web is watching you: A comprehensive review of web-tracking techniques and countermeasures
CN106209744A (en) Subscriber sign-in conversation management-control method, device and server
US8856877B2 (en) Method and system to optimize efficiency when managing lists of untrusted network sites
CN106302595A (en) A kind of method and apparatus that server is carried out physical examination
CN101901232A (en) Method and device for processing webpage data
CN102045319A (en) Method and device for detecting SQL (Structured Query Language) injection attack
CN107770125A (en) A kind of network security emergency response method and emergency response platform
CN105897694B (en) A kind of client session recognition methods and system
CN110213234A (en) Developer's recognition methods, device, equipment and the storage medium of application file
CN108052824A (en) A kind of risk prevention system method, apparatus and electronic equipment
EP3987728A1 (en) Dynamically controlling access to linked content in electronic communications
CN106127031A (en) Method and device for protecting process and electronic equipment
CN109787964A (en) Process behavior is traced to the source device and method
CN106210050A (en) It is a kind of that intelligence is counter shields network crawler system
CN103561076B (en) Webpage trojan-linking real-time protection method and system based on cloud

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180313