[go: up one dir, main page]

CN104967630B - The processing method and processing device of web access requests - Google Patents

The processing method and processing device of web access requests Download PDF

Info

Publication number
CN104967630B
CN104967630B CN201410143393.1A CN201410143393A CN104967630B CN 104967630 B CN104967630 B CN 104967630B CN 201410143393 A CN201410143393 A CN 201410143393A CN 104967630 B CN104967630 B CN 104967630B
Authority
CN
China
Prior art keywords
access requests
pretreatment
web access
result
business
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.)
Active
Application number
CN201410143393.1A
Other languages
Chinese (zh)
Other versions
CN104967630A (en
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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410143393.1A priority Critical patent/CN104967630B/en
Publication of CN104967630A publication Critical patent/CN104967630A/en
Application granted granted Critical
Publication of CN104967630B publication Critical patent/CN104967630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1425Traffic logging, e.g. anomaly detection
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of processing method of web access requests, including:The web access requests uploaded are obtained, the required parameter information submitted in web access requests is extracted;Pretreatment service server list is obtained, and therefrom chooses pretreatment service server;The required parameter information is sent to the pretreatment service server of the selection, and receives the result of its return;Judge whether the result of the return is abnormal, if so, then jumping to the wrong page.In addition, additionally providing a kind of processing unit of web access requests.The processing method and processing device of above-mentioned web access requests can improve reliability.

Description

The processing method and processing device of web access requests
Technical field
The present invention relates to network technique field, more particularly to a kind of processing method and processing device of web access requests.
Background technology
Web application frameworks in conventional art generally use MVC(Model-View-Control, model-view-control structure Device pattern)Design pattern design.Wherein, view layer identification code is used for the user interface for showing input window and result, Model layer identification code is used to storing and reading business datum, and controls layer identification code to be then used to perform specific service logic, for example, can Call multiple business processing functions to obtain returning to result successively in key-course, be then stored in model layer.At each business Being pre-defined in reason function has corresponding business processing algorithm, and business processing algorithm determines holding for specific service logic OK.
For example, if desired in nginx(Web server/the Reverse Proxy and email agent of a lightweight Server, and issued under a BSD-like agreement, developed, occupied by the programmer Igor Sysoev of Russia Internal memory is few, and concurrent capability is strong)Hole Detection first is carried out to web request in framework(For example, checking whether attacked in request comprising SQL Hit or other attack scripts), then the data that web request is submitted are handled again, then first called in the controller corresponding Hole Detection function, if returning result is safety, the data for recalling follow-up business processing function pair web request submission are entered Row processing.
However, due in conventional art business processing function it is embedded in sight by code definition in web application frameworks, if Business processing algorithm in business processing function is updated upgrading(Such as the detected rule for updating Hole Detection)Afterwards There is program error, then the abnormal end of whole web applications is likely to result in, so as to cause reliability not enough.
The content of the invention
Based on this, it is necessary to provide a kind of processing method for the web access requests that can improve reliability.
A kind of processing method of web access requests, including:
The web access requests uploaded are obtained, the required parameter information submitted in web access requests is extracted;
Pretreatment service server list is obtained, and therefrom chooses pretreatment service server;
The required parameter information is sent to the pretreatment service server of the selection, and receives the processing of its return As a result;
Judge whether the result of the return is abnormal, if so, then jumping to the wrong page.
A kind of processing unit for the web access requests that can improve reliability is provided in addition, there is a need to.
A kind of processing unit of web access requests, it is characterised in that including:
Parameter extraction module, for obtaining the web access requests uploaded, extracts the request submitted in web access requests Parameter information;
Business chooses module, for obtaining pretreatment service server list, and therefrom chooses pretreatment service server;
Result receiving module, for the required parameter information to be sent to the pretreatment business service of the selection Device, and receive the result of its return;
Result analysis module, for judging whether the result of the return is abnormal;
Mistake page reminding module, for jumping to the wrong page when result is abnormal.
In the processing method and processing device of above-mentioned web access requests, by the business processing algorithm of specific processing business logic Execution task be placed on can with the pretreatment service server of web application server independences, if business processing algorithm carry out more Newly, and web application servers need not be redeployed, web application servers can constantly processing be used in the case of machine of not delaying The web access requests at family.Service server is pre-processed when performing business processing algorithm, if there is fatal exception, will not also be led The collapse of web application servers is caused, so as to improve reliability.
Meanwhile, the execution of business processing algorithm is positioned on independent pretreatment service server so that calculating task It can pre-process on service servers and perform at many, it is to avoid web application servers under high concurrent environment perform business processing The problem of calculating task is overweight during algorithm, improves the response speed of web application servers.
Brief description of the drawings
Fig. 1 is the flow chart of the processing method of web access requests in one embodiment;
Fig. 2 is the topology diagram of web application servers and pretreatment service server in one embodiment;
Fig. 3 is the structural representation of the processing unit of web access requests in one embodiment;
Fig. 4 is the structural representation of the processing unit of web access requests in another embodiment;
Fig. 5 is the server running environment schematic diagram of the processing method of operation web access requests in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Element and component in the description of specific distinct unless the context otherwise, the present invention, quantity both can be with single shape Formula is present, and form that can also be multiple is present, and the present invention is defined not to this.Although the step in the present invention is entered with label Arrangement is gone, but is not used to limit the precedence of step, unless expressly stated the order of step or holding for certain step Row is needed based on other steps, and otherwise the relative rank of step is adjustable.It is appreciated that used herein Term "and/or" is related to and covers one of associated Listed Items or one or more of any and all possible group Close.
In one embodiment, as shown in figure 1, a kind of processing method of web access requests, this method can be dependent on meter Calculation machine program, can run in the computer system based on Von Neumann system.The computer system can be web application clothes Business device, such as nginx application servers.
In the present embodiment, this method includes:
Step S102, obtains the web access requests uploaded, extracts the required parameter information submitted in web access requests.
Web access requests be user by input web page address in browser address bar or on webpage clickthrough and Button and to web application servers initiate access request.The required parameter information extracted in web access requests then includes Required parameter(Such as at least one of header information, method information, url information and host information)Or submit data (For example user fills in the form data submitted after list in POST modes on webpage).
Web application servers are encapsulated after web access requests are received generally according to the required parameter information of extraction Into request object.For example, in nginx frameworks, web access requests are packaged into request objects;In j2ee frameworks, net Access to web page request is then encapsulated as in httpRequest objects.
In the present embodiment, the step of extracting the required parameter information submitted in web access requests includes:Obtain webpage The request type of access request, whether be POST, if so, then calling POST event call-back functions, pass through if judging request type POST event call-backs function extracts the required parameter information submitted in web access requests.
For example, in nginx frameworks, web application servers are receiving the web access requests of POST types(That is http Method property values in header information are POST)POST events can be triggered afterwards, the POST events can be called after being triggered Corresponding POST event call-back functions.The code of required parameter information can be extracted defined in POST event call-back functions in advance. When POST events are triggered, then it can perform the code defined in the POST event call-back functions automatically to extract web access requests The required parameter information of middle submission.
Step S104, obtains pretreatment service server list, and therefrom chooses pretreatment service server.
Pretreatment business be to web access requests carry out with web apply operation maintenance it is related the need for request it is pre- The business first handled.For example, it may be Hole Detection(To whether being examined in request comprising aggressive script or code Survey, safety assurance is provided for subsequent treatment), data encryption(Encryption data is decrypted, facilitates subsequent treatment), code conversion (Coded format to the data in request is changed in advance, facilitates subsequent treatment), log statistic and analysis(Web is applied The daily record for receiving request carries out statistic record and analysis)And it is compressed and decompressed(To the data of the gzip types included in request It is compressed and decompresses)Deng.
Pretreatment service server is the computer equipment of the corresponding pretreatment service logic of processing.As shown in Fig. 2 Web application servers 10 can be connected with a variety of pretreatment service servers.For example, in the corresponding application scenarios of Fig. 2, pre-processing industry Business server may include that the Hole Detection server 20, data encryption services device 30 and coding that are connected with web application servers turn Change server 40.
Wherein, pretreatment service identification, the pretreatment service identification correspondence are included in pretreatment service server list Service server is pre-processed, the corresponding service server that pre-processes of every kind of service identification can also have multiple, for example, can have many Individual service identification, corresponds to log statistic and analysis, Hole Detection, compressed and decompressed etc. specifically pretreatment business respectively.And leak Hole detection service device 20 can also have multiple, and web application servers are according to pretreatment service server list selection leak inspection Hole Detection server can be chosen on the premise of load balancing by surveying in server 20.In other application scene, industry is pre-processed The service identification of business is also not necessarily limited to above-mentioned Hole Detection, data encryption, code conversion, log statistic and analysis and compression solution Compression, web application servers 10 can be also connected with other kinds of pretreatment service server.
In the present embodiment, the step of pretreatment service server is chosen from pretreatment service server list can be specific For:
The pretreatment service identification included in traversal pretreatment service server list, in the pretreatment business with traversing Chosen in the corresponding pretreatment service server of mark.
The N kinds pretreatment business that is, if developer's configuration in preprocessing server list in advance is known clearly, and be It is every kind of to pre-process one or more corresponding pretreatment service server of service deployment, then receiving web access requests When, can according to preprocessing server list be every kind of pretreatment business in select one or more pre-process service server come pair The web access requests are pre-processed.
Step S106, required parameter information is sent to the pretreatment service server of selection, and receives the place of its return Manage result.
In the present embodiment, the required parameter information of foregoing extraction can be sent to pre- to foregoing selection in the way of UDP Processing business server.Required parameter information is sent it should be noted that can be defined in pretreatment service server list Order and synchronous/asynchronous mode.In such as precedent, in the business procession of some web access requests, the knot of Hole Detection Fruit is the precondition for performing data encryption and code conversion, then can defined in pretreatment service server list with the webpage The corresponding pretreatment service server transmission order of the url of access request is:Hole Detection server priority, and be synchronized transmission (It only just may proceed to send required parameter letter to other pretreatment service servers after the result of return is received Breath);It is follow-up to be data encryption services device and code conversion server and be asynchronous transmission(Result can not received In the case of to other pretreatment service servers send required parameter information).
In the present embodiment, also include before the step of receiving the result of pretreatment service server return:Obtain The corresponding request object of web access requests, to request object locking, and caches its corresponding context, and be request object note Volume result receives event.
For example, in nginx frameworks, can by request object lockings, then by it in internal memory corresponding context number According to caching, then event is received for request object registration result.It is that web application servers exist that result, which receives event, When receiving the result that pretreatment service server is returned, the system event of triggering.Result receives event can be in note During volume mapping relations are set up with corresponding request object(It can be mapped by asking the identification information of object to be set up, for example, can be in hair Include in the identification information of request object, the result accordingly returned and also believe comprising the mark in the required parameter information sent Also the identification information is included in breath, then the result reception event triggered).
In nginx frameworks, if after some request object is locked, and its context is buffered, then its treatment progress Other request objects are then switched to be handled.That is, web application servers are sent out to pretreatment service server Send after required parameter information, processing web access requests corresponding with the required parameter information can be suspended, and switch to processing The state of other web access requests, it is achieved thereby that the multiple web access requests of concurrent processing.
If, can asynchronous process 3 web page access for example, nginx application servers receive 3 web access requests Request, i.e. processor can distribute computing resource for each web access requests.If some web access requests is in processing procedure, In a synchronous manner to pretreatment service server have sent required parameter information, into etc. return to be received result Blocked state, then can by the corresponding request object locking of the web access requests, and by the context cache of the request object, I.e. processor stops handling the corresponding web access requests of request object, and computing resource is switched to and handles other 2 web access requests.So that the processor resource of web application servers is maximally utilized and is unlikely to cause to calculate to provide The waste in source.
Step S108, judges whether the result returned is abnormal, if so, then performing step S110:Jump to faulty page Face.
The mistake page can be 501 pages(It is wrong inside the page of the mistake of numbering 501, identification server in http agreements By mistake)Or the page comprising result.If if for example, foregoing Hole Detection server detect web page access please The suspicious character string attacked in the submission data asked comprising SQL, then can jump to comprising warning message and articles of law The mistake page.If the account for initiating web access requests is Admin Account, the faulty page comprising log information can be jumped to Face, facilitates keeper to test.
In the present embodiment, if the result returned is without exception, step S112 is performed:Obtain corresponding with result Result receive the corresponding request object of event, will request object unblock, and extract from caching its corresponding context.
As in precedent, the web application servers based on nginx frameworks are receiving the place that pretreatment service server is returned When managing result, result can be triggered and receive event, its can be defined when foregoing registration result receives event corresponding Callback events handle function, then the event handling function are called when triggering result reception event, in the event handling Result is obtained in function and receives the corresponding request object of event, by request object unblock.In the present embodiment, can according to please Ask the identification information of object to obtain result and receive the corresponding request object of event, can be extracted in the buffer after being unlocked Its corresponding context data.After request object is unlocked, the request object that web application servers can have been unlocked to this enters The follow-up processing of row.
It should be noted that when the web application servers carry out follow-up processing to the request object, can continue to other Pre-process service server and send required parameter information, then again by the request object locking;Also it can directly invoke pre-defined Business processing function(The business processing function bound with embedded mode and web application frameworks, that is to say, that can be with biography The processing method of web access requests is combined in system technology).
In one embodiment, also include after the step of context that cache request object is corresponding:Detect that webpage is visited Ask whether the corresponding request object of request is recovered cancellation, if so, the result corresponding with request object for removing registration connects Receipts event.
In nginx frameworks, the context of the request objects of caching generally has life cycle, even receives and returns Result wait overlong time, then its will not forever be buffered in the internal memory of web application servers, may be by web The Garbage Collection Mechanism of application server reclaims cancellation and fallen.It can be removed in the call back function of the Logout Events of request objects The result corresponding with the request object of registration receives event.Remove after the result reception event, if web is applied Server is in subsequently received result corresponding with the request object(The place of identification information for example comprising the request object Manage result)When, corresponding result will not be triggered and receive event, i.e., do not have the follow-up further place to request objects Reason.
In the present embodiment, also predeterminable timeout threshold, if being sent to pretreatment service server after required parameter information, Do not receive the result of return within the time of timeout threshold, then can jump to the wrong page.
In an application scenarios, the operation of this method can be based on blocker object.For example, the interception that can be applied in web This method is run in device object.In web access requests before controller object is passed to, first it is entered by blocker object Row pretreatment, performs above-mentioned steps, if result is without exception, can terminate the operation of blocker object, and by web page access Request is transferred blocker object to and handled.
This method is run in the way of blocker object, fixed business processing logic web application frameworks can be defined on Controller object in, and the required parameter information extracted in web access requests, selection pretreatment and are held service server Row sends the task definitions such as required parameter information in blocker object to pretreatment service server, and can be according to business demand Difference, pre-define polytype blocker object.If developer wishes the class for the required parameter information that switching is extracted The load-balancing algorithm of type or switching selection pretreatment service server, then can run the party by switching blocker object Method is quickly realized, and when running into abnormal, also may switch back to former blocker object, so that the coupling between reducing code Degree, convenient deployment and maintenance.
In one embodiment, as shown in figure 3, a kind of processing unit of web access requests, including parameter extraction module 102nd, business chooses module 104, result receiving module 106, result analysis module 108 and wrong page reminding module 110, wherein:
A kind of processing unit of web access requests, it is characterised in that including:
Parameter extraction module 102, what is submitted for obtaining in the web access requests uploaded, extraction web access requests please Seek parameter information.
Business chooses module 104, for obtaining pretreatment service server list, and therefrom chooses pretreatment business service Device.
Result receiving module 106, for required parameter information to be sent to the pretreatment service server of selection, and Receive the result of its return.
Whether result analysis module 108, the result for judging to return is abnormal.
Mistake page reminding module 110, for jumping to the wrong page when result is abnormal.
In the present embodiment, parameter extraction module 102 is additionally operable to obtain the request type of web access requests, judges request Whether type is POST, if so, then calling POST event call-back functions, extracting web page access by POST event call-backs function please Seek the required parameter information of middle submission.
In the present embodiment, result receiving module 106 is additionally operable to obtain the corresponding request object of web access requests, To request object locking, and its corresponding context is cached, and event is received for the request object registration result.
In the present embodiment, as shown in figure 4, the processing unit of web access requests also includes task recovery module 112, use The corresponding request object of event is received in obtaining result corresponding with result when result is without exception, will be asked Object is unlocked, and extracts from caching its corresponding context.
In the present embodiment, as shown in figure 4, the processing unit of web access requests also includes task recycling module 114, use Cancellation whether is recovered in the corresponding request object of detection web access requests, if so, removing the corresponding with request object of registration Result receive event.
In the present embodiment, pretreatment service identification, the pretreatment business are included in pretreatment service server list Mark correspondence pretreatment service server.
Business chooses the pretreatment service identification that module 104 is additionally operable to include in traversal pretreatment service server list, The pretreatment service identification with traversing it is corresponding pretreatment service server in chosen.
In the processing method and processing device of above-mentioned web access requests, by the business processing algorithm of specific processing business logic Execution task be placed on can with the pretreatment service server of web application server independences, if business processing algorithm carry out more Newly, and web application servers need not be redeployed, web application servers can constantly processing be used in the case of machine of not delaying The web access requests at family.Service server is pre-processed when performing business processing algorithm, if there is fatal exception, will not also be led The collapse of web application servers is caused, so as to improve reliability.
Meanwhile, the execution of business processing algorithm is positioned on independent pretreatment service server so that calculating task It can pre-process on service servers and perform at many, it is to avoid web application servers under high concurrent environment perform business processing The problem of calculating task is overweight during algorithm, improves the response speed of web application servers.
In one embodiment, there is provided a kind of processing method for running foregoing web access requests as shown in Figure 5 Server architecture schematic diagram, the server architecture can be applied on the web application servers 10 in Fig. 2.The server 500 can Produced because of configuration or performance difference than larger difference, one or more central processing units can be included(central Processing units, CPU)522(For example, one or more processors)With memory 532, one or more Store the storage medium 530 of application program 542 or data 544(Such as one or more mass memory units).Wherein, deposit Reservoir 532 and storage medium 530 can be of short duration storage or persistently storage.Being stored in the program of storage medium 530 can include One or more modules(Parameter extraction module 102 as the aforementioned, business choose module 104, result receiving module 106th, result analysis module 108 and wrong page reminding module 110), each module can be including to one in server Series of instructions is operated.Further, central processing unit 522 could be arranged to communicate with storage medium 530, in server 500 The upper series of instructions operation performed in storage medium 530.Server 500 can also include one or more power supplys 526, One or more wired or wireless network interfaces 550, one or more input/output interfaces 558, and/or, one Or more than one operating system 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Described in above-mentioned embodiment illustrated in fig. 1 can be based on the service shown in the Fig. 5 as the step performed by server Device structure.One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
Above example only expresses the several embodiments of the present invention, and it describes more specific and detailed, but can not Therefore it is interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, Without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection model of the present invention Enclose.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (12)

1. a kind of processing method of web access requests, including:
Web application servers obtain the web access requests uploaded, extract the required parameter information submitted in web access requests;
Pretreatment service server list is obtained, and therefrom chooses pretreatment service server, pretreatment business is that webpage is visited Ask that request progress, to asking the advance business handled, processing business is patrolled the need for related to the operation maintenance that web is applied The execution task for the business processing algorithm collected is placed on the pretreatment service server with web application server independences;
The required parameter information is sent to the pretreatment service server of the selection, and receives the processing knot of its return Really;
Judge whether the result of the return is abnormal, if so, then jumping to the wrong page.
2. the processing method of web access requests according to claim 1, it is characterised in that the extraction web page access please The step of required parameter information for asking middle submission, includes:
The request type of the web access requests is obtained, whether be POST, if so, then calling POST if judging the request type Event call-back function, the required parameter information submitted in web access requests is extracted by the POST event call-backs function.
3. the processing method of web access requests according to claim 1, it is characterised in that the reception pre-processes business Also include before the step of result that server is returned:
Obtain the corresponding request object of the web access requests, to the request object locking, and cache its it is corresponding above and below Text, and receive event for the request object registration result.
4. the processing method of web access requests according to claim 3, it is characterised in that the judgement return Also include after the whether abnormal step of result:
If without exception, obtain result corresponding with the result and receive the corresponding request object of event, will be described Object unblock is asked, and extracts from caching its corresponding context.
5. the processing method of web access requests according to claim 3, it is characterised in that the cache request object pair Also include after the step of context answered:
Whether the detection request object is recovered cancellation, if so, removing the place corresponding with the request object of the registration Manage result and receive event.
6. the processing method of web access requests according to claim 1, it is characterised in that the pretreatment business service Comprising pretreatment service identification in device list, the pretreatment service identification correspondence pretreatment service server;
Choosing the step of pre-processing service server in the service server list from pretreatment is:
The pretreatment service identification included in the traversal pretreatment service server list, in the pretreatment business with traversing Chosen in the corresponding pretreatment service server of mark.
7. a kind of processing unit of web access requests, it is characterised in that including:
Parameter extraction module, the web access requests uploaded are obtained for web application servers, are extracted and are carried in web access requests The required parameter information of friendship;
Business chooses module, for obtaining pretreatment service server list, and therefrom chooses pretreatment service server, pre- place Reason business be it is related to web access requests are carried out with web is applied operation maintenance the need for the advance industry handled of request Business, the pretreatment industry with web application server independences is placed on by the execution task of the business processing algorithm of processing business logic It is engaged on server;
Result receiving module, for the required parameter information to be sent to the pretreatment service server of the selection, And receive the result of its return;
Result analysis module, for judging whether the result of the return is abnormal;
Mistake page reminding module, for jumping to the wrong page when result is abnormal.
8. the processing unit of web access requests according to claim 7, it is characterised in that the parameter extraction module is also Request type for obtaining the web access requests, whether be POST, if so, then calling POST if judging the request type Event call-back function, the required parameter information submitted in web access requests is extracted by the POST event call-backs function.
9. the processing unit of web access requests according to claim 7, it is characterised in that the result receives mould Block is additionally operable to obtain the corresponding request object of the web access requests, and to the request object locking, and it is corresponding to cache its Context, and receive event for the request object registration result.
10. the processing unit of web access requests according to claim 9, it is characterised in that described device also includes appointing Business recovery module, it is corresponding for obtaining result reception event corresponding with the result when result is without exception Request object, by the request object unblock, and extract from caching its corresponding context.
11. the processing unit of web access requests according to claim 9, it is characterised in that described device also includes appointing It is engaged in recycling module, for detecting whether the request object is recovered cancellations, if so, remove the registration asks pair with described As corresponding result receives event.
12. the processing unit of web access requests according to claim 7, it is characterised in that the pretreatment business clothes It is engaged in device list comprising pretreatment service identification, the pretreatment service identification correspondence pretreatment service server;
The business chooses module and is additionally operable to travel through the pretreatment service identification included in the pretreatment service server list, The pretreatment service identification with traversing it is corresponding pretreatment service server in chosen.
CN201410143393.1A 2014-04-10 2014-04-10 The processing method and processing device of web access requests Active CN104967630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410143393.1A CN104967630B (en) 2014-04-10 2014-04-10 The processing method and processing device of web access requests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410143393.1A CN104967630B (en) 2014-04-10 2014-04-10 The processing method and processing device of web access requests

Publications (2)

Publication Number Publication Date
CN104967630A CN104967630A (en) 2015-10-07
CN104967630B true CN104967630B (en) 2017-09-22

Family

ID=54221571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410143393.1A Active CN104967630B (en) 2014-04-10 2014-04-10 The processing method and processing device of web access requests

Country Status (1)

Country Link
CN (1) CN104967630B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649336B (en) * 2015-10-30 2019-10-25 华为数字技术(苏州)有限公司 A log compression method, log processing equipment, and log processing system
CN105681394A (en) * 2015-12-29 2016-06-15 深圳市瑞铭无限科技有限公司 Network request method and device based on OKHttp and GSON
CN107463563B (en) * 2016-06-02 2020-12-08 腾讯科技(深圳)有限公司 Information service processing method and device of browser
CN106775775B (en) * 2017-01-24 2023-07-14 深圳市启仑智能科技有限公司 OpenResity-based high-performance MVC framework
CN107609137B (en) * 2017-09-20 2021-03-09 苏州浪潮智能科技有限公司 Page response method and device and page response equipment used by same
CN107819754B (en) * 2017-10-30 2020-01-14 网宿科技股份有限公司 Anti-hijacking method, monitoring server, terminal and system
CN108959086B (en) * 2018-06-29 2023-02-03 北京金山数字娱乐科技有限公司 Program package testing deployment method, device, system, electronic equipment and storage medium
CN109815429B (en) * 2019-01-31 2021-03-05 天津字节跳动科技有限公司 Browser page closing processing method and device
CN112532513A (en) * 2019-09-19 2021-03-19 上海淘票儿信息科技有限公司 Gateway and service data processing method
CN112015483B (en) * 2020-08-07 2021-12-03 北京浪潮数据技术有限公司 POST request parameter automatic processing method and device and readable storage medium
CN112671728B (en) * 2020-12-14 2023-01-03 中科曙光国际信息产业有限公司 Network access request acquisition method and device, computer equipment and storage medium
CN114051022A (en) * 2021-11-17 2022-02-15 山石网科通信技术股份有限公司 HTTP request processing method and device
CN114710547B (en) * 2022-04-15 2025-01-24 掌阅科技股份有限公司 Page display method, resource sending method, electronic device, server and medium
CN117632140B (en) * 2023-12-07 2024-07-05 易方达基金管理有限公司 Business process processing method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7039709B1 (en) * 2000-05-31 2006-05-02 International Business Machines Corporation Dynamically selection of most efficient transmission medium and route from a client browser
CN101668004A (en) * 2008-09-04 2010-03-10 阿里巴巴集团控股有限公司 Method, device and system for acquiring webpage
CN101751444A (en) * 2008-12-16 2010-06-23 鸿富锦精密工业(深圳)有限公司 Webpage content customizing system and method
CN101808110A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Forum access method based on mobile communication equipment terminal
CN101883103A (en) * 2009-04-15 2010-11-10 埃森哲环球服务有限公司 Method and system for client-side extension of web server group architecture in cloud data center
CN102025757A (en) * 2009-09-21 2011-04-20 杭州士兰控股有限公司 Network technology-based display system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7039709B1 (en) * 2000-05-31 2006-05-02 International Business Machines Corporation Dynamically selection of most efficient transmission medium and route from a client browser
CN101668004A (en) * 2008-09-04 2010-03-10 阿里巴巴集团控股有限公司 Method, device and system for acquiring webpage
CN101751444A (en) * 2008-12-16 2010-06-23 鸿富锦精密工业(深圳)有限公司 Webpage content customizing system and method
CN101883103A (en) * 2009-04-15 2010-11-10 埃森哲环球服务有限公司 Method and system for client-side extension of web server group architecture in cloud data center
CN102025757A (en) * 2009-09-21 2011-04-20 杭州士兰控股有限公司 Network technology-based display system and method
CN101808110A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Forum access method based on mobile communication equipment terminal

Also Published As

Publication number Publication date
CN104967630A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104967630B (en) The processing method and processing device of web access requests
EP3471007B1 (en) Methods and apparatus for analyzing sequences of application programming interface traffic to identify potential malicious actions
US10560465B2 (en) Real time anomaly detection for data streams
US10873596B1 (en) Cybersecurity alert, assessment, and remediation engine
US9032067B2 (en) Determining differences in an event-driven application accessed in different client-tier environments
US8327385B2 (en) System and method for recording web page events
CN107003877A (en) The context deep-link of application
CN106453216A (en) Malicious website interception method, malicious website interception device and client
US20080178286A1 (en) Rendered Image Collection of Potentially Malicious Web Pages
CN111459577B (en) Application installation source tracking method, device, equipment and storage medium
US11550688B2 (en) User interaction logic classification
CN114528457B (en) Web fingerprint detection method and related equipment
US11950122B2 (en) Cleaning raw data generated by a telecommunications network for deployment in a deep neural network model
EP3977322B1 (en) Methods for detecting tracking elements of a web page and related server devices
CN112313627B (en) Mapping mechanism of event to serverless function workflow instance
EP2634699B1 (en) Application monitoring
US20240168857A1 (en) Utilizing digital twins for data-driven risk identification and root cause analysis of a distributed and heterogeneous system
CN110020297A (en) A kind of loading method of web page contents, apparatus and system
CN113330716B (en) Method and device for determining dependency relationship of application service and processor
JP2025043303A (en) Computer-implemented method, computer program and advanced threat prioritization system (Selective prioritization of received alerts for an advanced cybersecurity threat prioritization system)
CN113742551A (en) Dynamic data capture method based on script and puppeteer
KR20150134172A (en) Apparatus and method for detecting malicious code
CN117411708A (en) Attack detection method, device, equipment and medium based on flow characteristic matching
CN116996266A (en) APT attack data generation method and related device
KR20240019738A (en) Apparatus for processing cyber threat information, method for processing cyber threat information, and medium for storing a program processing cyber threat information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190813

Address after: 518000 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.