CN104967630A - Method and apparatus for processing webpage access request - Google Patents

Method and apparatus for processing webpage access request Download PDF

Info

Publication number
CN104967630A
CN104967630A CN201410143393.1A CN201410143393A CN104967630A CN 104967630 A CN104967630 A CN 104967630A CN 201410143393 A CN201410143393 A CN 201410143393A CN 104967630 A CN104967630 A CN 104967630A
Authority
CN
China
Prior art keywords
preliminary treatment
access requests
web access
treatment service
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410143393.1A
Other languages
Chinese (zh)
Other versions
CN104967630B (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 method for processing a webpage access request. The method for processing a webpage access request comprises acquiring an uploaded webpage access request and extracting the request parameter information submitted in the webpage access request; acquiring a pretreatment business server list and selecting a pretreatment business server from the list; sending the request parameter information to the selected pretreatment business server, and receiving the returned process result from the server; and determining whether the returned processing result is abnormal and then jumping to an error page if the returned processing result is abnormal. In addition, the invention also provides an apparatus for processing a webpage access request. The method and the apparatus for processing a webpage access request can improve the reliability.

Description

The processing method of web access requests and device
Technical field
The present invention relates to networking technology area, particularly relate to a kind of processing method and device of web access requests.
Background technology
Web application framework in conventional art adopts MVC(Model-View-Control, MVC pattern usually) the design of Design Mode.Wherein, view layer code is for showing the user interface of input window and result, model layer code is used for storing and reading business datum, key-course code is then for performing concrete service logic, such as, multiple Business Processing function can be called successively at key-course to obtain returning result, then be stored into model layer.Pre-defined in each Business Processing function have corresponding Business Processing algorithm, and Business Processing algorithm determines the execution of concrete service logic.
Such as, if desired at Web server/Reverse Proxy and the email proxy server of a lightweight of nginx(, and issue under a BSD-like agreement, developed by Muscovite programmer IgorSysoev, occupy internal memory few, concurrent capability is strong) first Hole Detection is carried out (such as to web request in framework, check in request that whether comprising SQL attacks or other attack script), and then the data that web request is submitted to are processed, then first call corresponding Hole Detection function in the controller, if return results as safety, then call follow-up Business Processing function again to process the data that web request is submitted to.
But, due to Business Processing function in conventional art embedded in sight by code definition in web application framework, if there is program error after the Business Processing algorithm in Business Processing function being carried out to upgrade upgrading (such as upgrading the detected rule etc. of Hole Detection), then may cause the abnormal end that whole web applies, thus cause reliability not enough.
Summary of the invention
Based on this, be necessary to provide a kind of processing method that can improve the web access requests of reliability.
A processing method for web access requests, comprising:
Obtain the web access requests uploaded, extract the required parameter information submitted in web access requests;
Obtain the list of preliminary treatment service server, and therefrom choose preliminary treatment service server;
The preliminary treatment service server chosen described in described request parameter information is sent to, and receive its result returned;
Whether the result returned described in judgement is abnormal, if so, then jumps to the wrong page.
In addition, there is a need to provide a kind of processing unit that can improve the web access requests of reliability.
A processing unit for web access requests, is characterized in that, comprising:
Parameter extraction module, for obtaining the web access requests uploaded, extracts the required parameter information submitted in web access requests;
Business chooses module, for obtaining the list of preliminary treatment service server, and therefrom chooses preliminary treatment service server;
Result receiver module, for the preliminary treatment service server chosen described in being sent to by described request parameter information, and receives its result returned;
Result analysis module, whether abnormal for the result returned described in judging;
Mistake page reminding module, for jumping to the wrong page when result is abnormal.
In the processing method of above-mentioned web access requests and device, execute the task that be placed on can with on web application server independently preliminary treatment service server by what specifically process the Business Processing algorithm of service logic, if Business Processing algorithm upgrades, do not need to redeploy web application server, web application server can process the web access requests of user constantly when not delaying machine.Preliminary treatment service server, when performing Business Processing algorithm, if there is fatal exception, also can not cause the collapse of web application server, thus improve reliability.
Simultaneously, the execution of Business Processing algorithm is positioned over independently on preliminary treatment service server, calculation task can be performed on multiple stage preliminary treatment service server, avoid the problem that when web application server performs Business Processing algorithm under high concurrent environment, calculation task is overweight, improve the response speed of web application server.
Accompanying drawing explanation
Fig. 1 is the flow chart of the processing method of web access requests in an embodiment;
Fig. 2 is the topology diagram of web application server and preliminary treatment service server in an embodiment;
Fig. 3 is the structural representation of the processing unit of web access requests in an 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 running the processing method of web access requests in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Unless context separately has the description of specific distinct, the element in the present invention and assembly, the form that quantity both can be single exists, and form that also can be multiple exists, and the present invention does not limit this.Although the step in the present invention arranges with label, and be not used in and limit the precedence of step, the order of step or the execution of certain step need based on other steps unless expressly stated, otherwise the relative rank of step is adjustable.Be appreciated that term "and/or" used herein relates to and contains the one or more any and all possible combination in the Listed Items be associated.
In one embodiment, as shown in Figure 1, a kind of processing method of web access requests, the method can be dependent on computer program, can run in the computer system based on Feng Luoyiman system.This computer system can be web application server, such as nginx application server.
In the present embodiment, the method comprises:
Step S102, obtains the web access requests uploaded, and extracts the required parameter information submitted in web access requests.
Web access requests and user by browser address bar input web page address or on webpage clickthrough and button and the access request initiated to web application server.Then comprise required parameter (at least one in such as header information, method information, url information and host information) by the required parameter information extracted in web access requests or submit data (form data that such as user submits in POST mode fill in list on webpage after) to.
Web application server is usually packaged into request object according to the required parameter information extracted after receiving web access requests.Such as, in nginx framework, web access requests is packaged into request object; In j2ee framework, web access requests is then encapsulated as in httpRequest object.
In the present embodiment, the step extracting the required parameter information submitted in web access requests comprises: the request type obtaining web access requests, judge whether request type is POST, if, then call POST event call-back function, extracted the required parameter information submitted in web access requests by POST event call-back function.
Such as, in nginx framework, namely web application server can trigger POST event after receiving the web access requests of POST type (the method property value namely in http header information is POST), namely can call corresponding POST event call-back function after this POST event is triggered.The code extracting required parameter information can be defined in advance in POST event call-back function.When POST event triggers, then can automatically perform the code that defines in this POST event call-back function to extract the required parameter information submitted in web access requests.
Step S104, obtains the list of preliminary treatment service server, and therefrom chooses preliminary treatment service server.
Preliminary treatment business is carries out the needs relevant to the operation maintenance that web applies to the business of asking to process in advance to web access requests.Such as, can be whether Hole Detection (comprises aggressive script or code detects in request, for subsequent treatment provides safety assurance), data encryption (is decrypted enciphered data, facilitate subsequent treatment), code conversion (coded format of data in request is changed in advance, facilitates subsequent treatment), log statistic and analysis (statistic record and analysis are carried out in daily record web application being received to request) and compressed and decompressed (compression and decompression are carried out to the data of the gzip type comprised in request) etc.
Preliminary treatment service server is the computer equipment processing corresponding preliminary treatment service logic.As shown in Figure 2, web application server 10 can be connected with multiple preliminary treatment service server.Such as, in the application scenarios that Fig. 2 is corresponding, preliminary treatment service server can comprise the Hole Detection server 20, data encryption services device 30 and the code conversion server 40 that are connected with web application server.
Wherein, preliminary treatment service identification is comprised in the list of preliminary treatment service server, the corresponding preliminary treatment service server of described preliminary treatment service identification, the preliminary treatment service server that often kind of service identification is corresponding also can have multiple, such as, multiple service identification can be had, respectively corresponding log statistic and analysis, Hole Detection, the concrete preliminary treatment business such as compressed and decompressed.And Hole Detection server 20 also can have multiple, web application server is being selected according to the list of preliminary treatment service server to choose Hole Detection server under the prerequisite in load balancing in Hole Detection server 20.In other application scenarioss, the service identification of preliminary treatment business is also not limited to above-mentioned Hole Detection, data encryption, code conversion, log statistic and analysis and compressed and decompressed, and web application server 10 also can be connected with the preliminary treatment service server of other types.
In the present embodiment, the step choosing preliminary treatment service server from the list of preliminary treatment service server can be specially:
The preliminary treatment service identification comprised in the list of traversal preliminary treatment service server, chooses in the preliminary treatment service server corresponding with the preliminary treatment service identification traversed.
That is, if developer configures N kind preliminary treatment business of knowing clearly in advance in preprocessing server list, and one or more preliminary treatment service server corresponding that has been often kind of preliminary treatment service deployment, then when receiving web access requests, one or more preliminary treatment service server can be selected to carry out preliminary treatment to this web access requests in often kind of preliminary treatment business according to preprocessing server list.
Step S106, is sent to the preliminary treatment service server chosen by required parameter information, and receives its result returned.
In the present embodiment, the required parameter information of aforementioned extraction can be sent to the aforementioned preliminary treatment service server chosen in the mode of UDP.It should be noted that, the order and synchronous/asynchronous mode that send request parameter information in the list of preliminary treatment service server, can be defined.As in precedent, in the business procession of certain web access requests, the result of Hole Detection is the precondition performing data encryption and code conversion, then can define the preliminary treatment service server sending order corresponding with the url of this web access requests in the list of preliminary treatment service server is: Hole Detection server priority, and is synchronized transmission (namely only just can continue to send request parameter information to other preliminary treatment service servers after receiving the result returned); Follow-up for data encryption services device and code conversion server and be asynchronous transmission (parameter information can be sent request when not receiving result to other preliminary treatment service servers).
In the present embodiment, also comprise before receiving the step of the result that preliminary treatment service server returns: obtain the request object that web access requests is corresponding, request object is locked, and the context of its correspondence of buffer memory, and be that request object location registration process result receives event.
Such as, in nginx framework, can, by request object locking, then by its context data buffer memory corresponding in internal memory, then be that request object location registration process result receives event.Result receives event and is web application server when receiving the result that preliminary treatment service server returns, the system event of triggering.Result receive event can when registering and corresponding request object set up mapping relations (identification information by request object set up and mapped, such as, the identification information of request object can be comprised in the required parameter information sent, also comprise this identification information in the corresponding result returned, then also comprise this identification information in the result reception event triggered).
In nginx framework, if certain request object is locked, and after its context is buffered, then its treatment progress then switches to other request objects and processes.That is, web application server is after sending request parameter information to preliminary treatment service server, the web access requests that process is corresponding with this required parameter information can be suspended, and switch to the state of other web access requests of process, thus achieve the multiple web access requests of concurrent processing.
Such as, if nginx application server receives 3 web access requests, then can these 3 web access requests of asynchronous process, namely processor can be each web access requests distributes calculation resources.If certain web access requests is in processing procedure, required parameter information is have sent in a synchronous manner to preliminary treatment service server, enter the blocked state of the result that wait-receiving mode returns, then request object corresponding for this web access requests can be locked, and by the context cache of this request object, namely processor stops the web access requests corresponding to this request object to process, and computational resource is switched to other 2 web access requests of process.The processor resource of web application server is made to obtain maximum using and be unlikely to cause the waste of computational resource.
Step S108, judges that whether the result returned is abnormal, if so, then performs step S110: jump to the wrong page.
The mistake page can be 501 pages (in http agreements the page of numbering 501 mistake, identification server internal error), also can be the page comprising result.Such as, if the suspicious character string that SQL attacks if comprise in aforesaid Hole Detection server detects in web access requests submission data, then the wrong page comprising warning message and articles of law can jumped to.If the account initiating web access requests is Admin Account, then can jumps to the wrong page comprising log information, facilitate keeper to test.
In the present embodiment, if the result returned is without exception, then perform step S112: obtain the result corresponding with result and receive request object corresponding to event, unlocked by request object, and from buffer memory, extract the context of its correspondence.
As in precedent, based on the web application server of nginx framework when receiving the result that preliminary treatment service server returns, result can be triggered and receive event, the callback events process function of its correspondence can be defined when this result of aforementioned registration receives event, then this event handling function is called when triggering result and receiving event, in this event handling function, obtain result receive request object corresponding to event, request object is unlocked.In the present embodiment, result can be obtained according to the identification information of request object and receive request object corresponding to event, the context data of its correspondence after being unlocked, can be extracted in the buffer.After request object is unlocked, the request object that web application server can unlock to this carries out follow-up process.
It should be noted that, when this web application server carries out follow-up process to this request object, can continue to send request parameter information to other preliminary treatment service servers, and then this request object is locked; Also predefined Business Processing function (namely with the mode embedded and the Business Processing function bound of web application framework, that is, can in conventional art the processing method of web access requests be combined) can directly be called.
In one embodiment, also comprise after contextual step corresponding for cache request object: whether the request object detecting web access requests corresponding is recovered cancellation, the result corresponding with request object if so, removing registration receives event.
In nginx framework, the context of the request object of buffer memory has life cycle usually, even receive the overlong time of the result wait returned, then it can not forever be buffered in the internal memory of web application server, may be reclaimed cancellation fall by the Garbage Collection Mechanism of web application server.The result corresponding with described request object that can remove registration in the call back function of the Logout Events of request object receives event.After removing this result reception event, if web application server is when the subsequently received result corresponding with this request object (such as comprising the result of the identification information of this request object), corresponding result can not be triggered and receive event, namely not have the follow-up further process to request object.
In the present embodiment, also predeterminable timeout threshold, if after sending request parameter information to preliminary treatment service server, do not receive the result returned within the time of timeout threshold, then can jump to the wrong page.
In an application scenarios, the operation of the method can based on blocker object.Such as, the method can be run in the blocker object of web application.At web access requests before passing to controller object, first by blocker object, preliminary treatment is carried out to it, perform above-mentioned steps, if result is without exception, then can terminate the operation of blocker object, and web access requests be transferred to blocker object and process.
The method is run in the mode of blocker object, fixing business processing logic can be defined in the controller object of web application framework, and the required parameter information extracted in web access requests, selection preliminary treatment service server and execution are sent request the task definitions such as parameter information in blocker object to preliminary treatment service server, and can according to the difference of business demand, pre-defined polytype blocker object.If developer wishes switch the type of the required parameter information extracted or switch the load-balancing algorithm of selection preliminary treatment service server, then can run the method and realizing fast by switching blocker object, and when running into abnormal, also changeable time former blocker object, thus the degree of coupling reduced between code, convenient deployment and maintenance.
In one embodiment, as shown in Figure 3, a kind of processing unit of web access requests, comprises parameter extraction module 102, business chooses module 104, result receiver module 106, result analysis module 108 and wrong page reminding module 110, wherein:
A processing unit for web access requests, is characterized in that, comprising:
Parameter extraction module 102, for obtaining the web access requests uploaded, extracts the required parameter information submitted in web access requests.
Business chooses module 104, for obtaining the list of preliminary treatment service server, and therefrom chooses preliminary treatment service server.
Result receiver module 106, for required parameter information being sent to the preliminary treatment service server chosen, and receives its result returned.
Result analysis module 108, whether abnormal for judging the result returned.
Mistake page reminding module 110, for jumping to the wrong page when result is abnormal.
In the present embodiment, parameter extraction module 102, also for obtaining the request type of web access requests, judges whether request type is POST, if, then call POST event call-back function, extracted the required parameter information submitted in web access requests by POST event call-back function.
In the present embodiment, result receiver module 106 also for obtaining request object corresponding to web access requests, locks to request object, and the context of its correspondence of buffer memory, and be that described request object registration result receives event.
In the present embodiment, as shown in Figure 4, the processing unit of web access requests also comprises task recovery module 112, request object corresponding to event is received for obtaining the result corresponding with result when result is without exception, request object is unlocked, and from buffer memory, extracts the context of its correspondence.
In the present embodiment, as shown in Figure 4, the processing unit of web access requests also comprises task recycling module 114, whether is recovered cancellation for detecting request object corresponding to web access requests, if so, the result corresponding with request object removing registration receives event.
In the present embodiment, in the list of preliminary treatment service server, comprise preliminary treatment service identification, the corresponding preliminary treatment service server of described preliminary treatment service identification.
Business chooses module 104 also for traveling through the preliminary treatment service identification comprised in the list of preliminary treatment service server, chooses in the preliminary treatment service server corresponding with the preliminary treatment service identification traversed.
In the processing method of above-mentioned web access requests and device, execute the task that be placed on can with on web application server independently preliminary treatment service server by what specifically process the Business Processing algorithm of service logic, if Business Processing algorithm upgrades, do not need to redeploy web application server, web application server can process the web access requests of user constantly when not delaying machine.Preliminary treatment service server, when performing Business Processing algorithm, if there is fatal exception, also can not cause the collapse of web application server, thus improve reliability.
Simultaneously, the execution of Business Processing algorithm is positioned over independently on preliminary treatment service server, calculation task can be performed on multiple stage preliminary treatment service server, avoid the problem that when web application server performs Business Processing algorithm under high concurrent environment, calculation task is overweight, improve the response speed of web application server.
In one embodiment, as shown in Figure 5, provide a kind of server architecture schematic diagram running the processing method of aforementioned web access requests, this server architecture can be applicable on the web application server 10 in Fig. 2.This server 500 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 522(such as, one or more processors) and memory 532, one or more store storage medium 530(such as one or more mass memory units of application program 542 or data 544).Wherein, memory 532 and storage medium 530 can be of short duration storages or store lastingly.The program being stored in storage medium 530 can comprise one or more modules (parameter extraction module 102 as the aforementioned, business choose module 104, result receiver module 106, result analysis module 108 and wrong page reminding module 110), and each module can comprise a series of command operatings in server.Further, central processing unit 522 can be set to communicate with storage medium 530, and server 500 performs a series of command operatings in storage medium 530.Server 500 can also comprise 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 operating systems 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Above-mentioned embodiment illustrated in fig. 1 described in the step performed by server can based on the server architecture shown in this Fig. 5.One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction 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, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (12)

1. a processing method for web access requests, comprising:
Obtain the web access requests uploaded, extract the required parameter information submitted in web access requests;
Obtain the list of preliminary treatment service server, and therefrom choose preliminary treatment service server;
The preliminary treatment service server chosen described in described request parameter information is sent to, and receive its result returned;
Whether the result returned described in judgement is abnormal, if so, then jumps to the wrong page.
2. the processing method of web access requests according to claim 1, is characterized in that, the step of the required parameter information submitted in described extraction web access requests comprises:
Obtain the request type of described web access requests, judge whether described request type is POST, if so, then calls POST event call-back function, extracted the required parameter information submitted in web access requests by described POST event call-back function.
3. the processing method of web access requests according to claim 1, is characterized in that, also comprises before the step of the result that described reception preliminary treatment service server returns:
Obtain the request object that described web access requests is corresponding, to described request object locking, and the context of its correspondence of buffer memory, and be that described request object registration result receives event.
4. the processing method of web access requests according to claim 3, is characterized in that, also comprises after the step whether result returned described in described judgement is abnormal:
If without exception, then obtain the result corresponding with described result and receive request object corresponding to event, described request object is unlocked, and from buffer memory, extracts the context of its correspondence.
5. the processing method of web access requests according to claim 3, is characterized in that, also comprises after the contextual step that described cache request object is corresponding:
Detect described request object and whether be recovered cancellation, the result corresponding with described request object if so, removing described registration receives event.
6. the processing method of web access requests according to claim 1, is characterized in that, comprises preliminary treatment service identification in the list of described preliminary treatment service server, the corresponding preliminary treatment service server of described preliminary treatment service identification;
The described step choosing preliminary treatment service server from the list of preliminary treatment service server is:
Travel through the preliminary treatment service identification comprised in the list of described preliminary treatment service server, choose in the preliminary treatment service server corresponding with the preliminary treatment service identification traversed.
7. a processing unit for web access requests, is characterized in that, comprising:
Parameter extraction module, for obtaining the web access requests uploaded, extracts the required parameter information submitted in web access requests;
Business chooses module, for obtaining the list of preliminary treatment service server, and therefrom chooses preliminary treatment service server;
Result receiver module, for the preliminary treatment service server chosen described in being sent to by described request parameter information, and receives its result returned;
Result analysis module, whether abnormal for the result returned described in judging;
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 characterized in that, described parameter extraction module is also for obtaining the request type of described web access requests, judge whether described request type is POST, if, then call POST event call-back function, extracted the required parameter information submitted in web access requests by described POST event call-back function.
9. the processing unit of web access requests according to claim 7, it is characterized in that, described result receiver module is also for obtaining request object corresponding to described web access requests, to described request object locking, and the context of its correspondence of buffer memory, and be that described request object registration result receives event.
10. the processing unit of web access requests according to claim 9, it is characterized in that, described device also comprises task recovery module, request object corresponding to event is received for obtaining the result corresponding with described result when result is without exception, described request object is unlocked, and from buffer memory, extracts the context of its correspondence.
The processing unit of 11. web access requests according to claim 9, it is characterized in that, described device also comprises task recycling module, whether is recovered cancellation for detecting described request object, if so, the result corresponding with described request object removing described registration receives event.
The processing unit of 12. web access requests according to claim 7, is characterized in that, comprises preliminary treatment service identification in the list of described preliminary treatment service server, the corresponding preliminary treatment service server of described preliminary treatment service identification;
Described business chooses module also for traveling through the preliminary treatment service identification comprised in the list of described preliminary treatment service server, chooses in the preliminary treatment service server corresponding with the preliminary treatment service identification traversed.
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 true CN104967630A (en) 2015-10-07
CN104967630B 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)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681394A (en) * 2015-12-29 2016-06-15 深圳市瑞铭无限科技有限公司 Network request method and device based on OKHttp and GSON
CN106649336A (en) * 2015-10-30 2017-05-10 华为数字技术(苏州)有限公司 Log compression method and log processing device and log processing system
CN106775775A (en) * 2017-01-24 2017-05-31 深圳市启仑智能科技有限公司 A kind of high-performance MVC frameworks based on OpenResty
CN107463563A (en) * 2016-06-02 2017-12-12 腾讯科技(深圳)有限公司 A kind of information service processing method and device of browser
CN107609137A (en) * 2017-09-20 2018-01-19 郑州云海信息技术有限公司 A kind of page response method, apparatus and its page response equipment used
CN107819754A (en) * 2017-10-30 2018-03-20 网宿科技股份有限公司 A kind of anti-abduction method, monitoring server, terminal and system
CN108959086A (en) * 2018-06-29 2018-12-07 北京金山数字娱乐科技有限公司 Program bag tests dispositions method, device, system, electronic equipment and storage medium
CN109815429A (en) * 2019-01-31 2019-05-28 天津字节跳动科技有限公司 Browser page closes treating method and apparatus
CN112015483A (en) * 2020-08-07 2020-12-01 北京浪潮数据技术有限公司 POST request parameter automatic processing method and device and readable storage medium
CN112532513A (en) * 2019-09-19 2021-03-19 上海淘票儿信息科技有限公司 Gateway and service data processing method
CN112671728A (en) * 2020-12-14 2021-04-16 中科曙光国际信息产业有限公司 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
CN114710547A (en) * 2022-04-15 2022-07-05 掌阅科技股份有限公司 Page display method, resource sending method, electronic equipment, server and medium
CN117632140A (en) * 2023-12-07 2024-03-01 易方达基金管理有限公司 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 埃森哲环球服务有限公司 The method and system of the client-side extensions of Web server gang fight structure in the 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 埃森哲环球服务有限公司 The method and system of the client-side extensions of Web server gang fight structure in the 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

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649336A (en) * 2015-10-30 2017-05-10 华为数字技术(苏州)有限公司 Log compression method and log processing device 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
CN107463563A (en) * 2016-06-02 2017-12-12 腾讯科技(深圳)有限公司 A kind of information service processing method and device of browser
CN106775775A (en) * 2017-01-24 2017-05-31 深圳市启仑智能科技有限公司 A kind of high-performance MVC frameworks based on OpenResty
CN106775775B (en) * 2017-01-24 2023-07-14 深圳市启仑智能科技有限公司 OpenResity-based high-performance MVC framework
CN107609137A (en) * 2017-09-20 2018-01-19 郑州云海信息技术有限公司 A kind of page response method, apparatus and its page response equipment used
CN107609137B (en) * 2017-09-20 2021-03-09 苏州浪潮智能科技有限公司 Page response method and device and page response equipment used by same
CN107819754A (en) * 2017-10-30 2018-03-20 网宿科技股份有限公司 A kind of anti-abduction method, monitoring server, terminal and system
CN107819754B (en) * 2017-10-30 2020-01-14 网宿科技股份有限公司 Anti-hijacking method, monitoring server, terminal and system
CN108959086A (en) * 2018-06-29 2018-12-07 北京金山数字娱乐科技有限公司 Program bag tests dispositions method, device, system, electronic equipment and storage medium
CN109815429B (en) * 2019-01-31 2021-03-05 天津字节跳动科技有限公司 Browser page closing processing method and device
CN109815429A (en) * 2019-01-31 2019-05-28 天津字节跳动科技有限公司 Browser page closes treating method and apparatus
CN112532513A (en) * 2019-09-19 2021-03-19 上海淘票儿信息科技有限公司 Gateway and service data processing method
CN112015483A (en) * 2020-08-07 2020-12-01 北京浪潮数据技术有限公司 POST request parameter automatic processing method and device and readable storage medium
CN112015483B (en) * 2020-08-07 2021-12-03 北京浪潮数据技术有限公司 POST request parameter automatic processing method and device and readable storage medium
CN112671728A (en) * 2020-12-14 2021-04-16 中科曙光国际信息产业有限公司 Network access request acquisition method and device, computer equipment and 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
CN114710547A (en) * 2022-04-15 2022-07-05 掌阅科技股份有限公司 Page display method, resource sending method, electronic equipment, server and medium
CN117632140A (en) * 2023-12-07 2024-03-01 易方达基金管理有限公司 Business process processing method, device and storage medium

Also Published As

Publication number Publication date
CN104967630B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN104967630A (en) Method and apparatus for processing webpage access request
US10560465B2 (en) Real time anomaly detection for data streams
CN105743730B (en) The method and its system of real time monitoring are provided for the web service of mobile terminal
WO2016057994A1 (en) Differential dependency tracking for attack forensics
US9229758B2 (en) Passive monitoring of virtual systems using extensible indexing
US20180124109A1 (en) Techniques for classifying a web page based upon functions used to render the web page
CN111046011A (en) Log collection method, system, node, electronic device and readable storage medium
CN106911782A (en) A kind of method for reading data and device
US11294740B2 (en) Event to serverless function workflow instance mapping mechanism
CN116303290B (en) Office document detection method, device, equipment and medium
US20130111018A1 (en) Passive monitoring of virtual systems using agent-less, offline indexing
US20150324580A1 (en) Apparatus and method for analyzing malicious code in real environment
CN112528296B (en) Vulnerability detection method and device, storage medium and electronic equipment
WO2020092135A1 (en) Extracting web api endpoint data from source code
CN116324773A (en) Method and apparatus for protecting smart contracts from attack
US20240205721A1 (en) Cleaning raw data generated by a telecommunications network for deployment in a deep neural network model
EP2634699B1 (en) Application monitoring
CN106210159B (en) Domain name resolution method and device
CN113330716B (en) Method and device for determining dependency relationship of application service and processor
CN106507300A (en) A kind of method for giving loss terminal for change, device and terminal
US10839066B1 (en) Distinguishing human from machine input using an animation
CN112436969A (en) Internet of things equipment management method, system, equipment and medium
CN107612755A (en) The management method and its device of a kind of cloud resource
CN114726876B (en) Data detection method, device, equipment and storage medium
EP3355227A1 (en) Changing the deployment status of a pre-processor or analytic

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.