CN106528396A - Method and equipment for processing application request - Google Patents
Method and equipment for processing application request Download PDFInfo
- Publication number
- CN106528396A CN106528396A CN201510570817.7A CN201510570817A CN106528396A CN 106528396 A CN106528396 A CN 106528396A CN 201510570817 A CN201510570817 A CN 201510570817A CN 106528396 A CN106528396 A CN 106528396A
- Authority
- CN
- China
- Prior art keywords
- request
- information
- intended application
- equipment
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
Abstract
The invention aims to provide a method and equipment for processing an application request. Compared with the prior art, request analysis information, such as a request method corresponding to the request, request time, a domain and a URL, corresponding to the application request received by the current application equipment is acquired, filtration treatment is performed on the request analysis information to obtain corresponding target request analysis information, a corresponding target application request is constructed according to the target request analysis information, the target application request is sent to corresponding target application equipment, in this way, analysis of request traffic based on Internet products is realized, and performance testing on the products can be further realized.
Description
Technical field
A kind of the present invention relates to computer realm, more particularly to technology for processing application request.
Background technology
With the development of science and technology, especially cloud computing, distributed etc. so that the Internet is more and more deep
Incorporate more areas, for example, ecommerce, digitalized city construction, kernel business system, doctor
Treatment field, the Internet finance etc., correspondingly, user can realize more efficiently, it is hommization, many
The experience of sample, improves the technology content of social public facility construction, meets people and increasingly pursue high-quality
Demand of amount life etc..
However, as internet arena increasingly incorporates the various aspects of people's life, correspondingly, base
In the application product of the Internet, access interface of the user by application is typically required to, accesses its correspondence
Corresponding contents in server, for example, by HTTP (Hyper Text Transfer Protocol)
Server sends HTTP access requests etc..As increasing people add the Internet experience group
Body, the new product based on the Internet need true request flow on line to do function survey before reaching the standard grade
How examination or stress test, guarantee the product overall performance, the visit capacity that its server can bear
Deng key issue will be become.
At present, for the problems referred to above, presence during performance test is carried out before new product is reached the standard grade following not complete
Where U.S., for example, it is desired to separately installed request flow rate test software;Go wrong in test system
When, it is impossible to stop the introducing of request flow in time;It is not provided with asking traffic filtering process etc..
The content of the invention
The purpose of the application is to provide a kind of method and apparatus for processing application request, right to solve
Based on the analysis of the request flow of internet product, and can further realize that the performance to the product is surveyed
Examination.
According to the one side of the application, there is provided a kind of method for processing application request, wherein,
The method includes:
Obtain the request analysis information corresponding with the application request received by current application equipment;
Filtration treatment is carried out to the request analysis information to obtain corresponding destination request parsing information;
The corresponding intended application request of information structuring is parsed according to the destination request;
Intended application request is sent to corresponding intended application equipment.
According to the another aspect of the application, a kind of equipment for processing application request is additionally provided, wherein,
The equipment includes:
Request analysis information acquisition device, for obtaining the application request phase received with current application equipment
Corresponding request analysis information;
Request analysis information filtrating device, for carrying out filtration treatment to obtain to the request analysis information
Corresponding destination request parses information;
Intended application asks constructing apparatus, for parsing the corresponding mesh of information structuring according to the destination request
Mark application request;
Intended application send-request unit, should to corresponding target for intended application request is sent
Use equipment.
Compared with prior art, the application is by obtaining the application request phase received with current application equipment
Corresponding request analysis information, for example, asks corresponding requesting method, the time of request, domain name, URL
Information such as (Uniform Resource Locator), carries out filtration treatment to the request analysis information
Information is parsed to obtain corresponding destination request, the corresponding mesh of information structuring is parsed according to the destination request
Mark application request, intended application request is sent to corresponding intended application equipment, such that it is able to make
Intended application equipment is analyzed accordingly, is processed to the application request from current application equipment for obtaining;
To realize the details of the application request received to current application equipment, at the same time it can also with this point
Analysis judges that the current application apparatus receives the performances such as the ability of respective request information.
And, the application can also be filtered to request by default drain policy information, and it is right to obtain
The requests traffic information answered, to be tested accordingly or to be analyzed;For example, filter out and meet one
Determine the request of requesting method, or filter out request for meeting the predetermined request time etc., meanwhile, if target should
When being test system with equipment, the new product can be tested and bears request by the corresponding requests information that obtains
Ability of amount etc., judges various performance indications of the correspondence current application equipment when application request is tackled,
To realize the assessment of the performance to current application equipment, meanwhile, intended application equipment can also pass through this Shen
Scheme please obtains the requests traffic information for needing, and for example, the application request amount of certain time point, to count
The time, corresponding user accessed situation, to meet need-based request amount information, further obtained which
His serviceability information.
Additionally, the application can with according to intended application equipment receive intended application request after response condition,
Determine the working condition of intended application equipment, when intended application equipment is in off working state, stop root
According to the corresponding intended application request of destination request parsing information structuring;So as to realize in intended application equipment not
It is in running order, no longer carry out the construction of intended application request, to economize on resources, and improve target should
Accuracy of respective request flow information obtained with equipment etc..
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, this
Bright other features, objects and advantages will become more apparent upon:
Fig. 1 is illustrated and is illustrated according to a kind of equipment for processing application request of the application one side
Figure;
Fig. 2 illustrates a kind of equipment for processing application request according to one preferred embodiment of the application
Schematic diagram;
Fig. 3 illustrates a kind of method flow for processing application request according to the application other side
Figure;
Fig. 4 illustrates a kind of method for processing application request according to one preferred embodiment of the application
Flow chart.
In accompanying drawing, same or analogous reference represents same or analogous part.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is described in further detail.
In one typical configuration of the application, terminal, the equipment of service network and trusted party include
One or more processors (CPU), input/output interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read only memory (ROM) or flash memory (flash such as Nonvolatile memory (RAM)
RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with
Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot
Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase
Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory
(DRAM), other kinds of random access memory (RAM), read only memory (ROM), electrically erasable
Except programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc
Read only memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic holder
Formula tape, magnetic disk storage or other magnetic storage apparatus or any other non-transmission medium, can use
In the information that storage can be accessed by a computing device.Define according to herein, computer-readable medium
Do not include non-temporary computer readable media (transitory media), such as the data signal of modulation and
Carrier wave.
For the effect for further illustrating the technological means taken of the application and acquirement, with reference to attached
Figure and preferred embodiment, the technical scheme to the application, carry out clear and complete description.
Shown in ginseng Fig. 1, illustrating the one kind provided according to the one side of the application please for processing application
The method asked, wherein, the method includes:
S1 obtains the request analysis information corresponding with the application request received by current application equipment;
S2 carries out filtration treatment to the request analysis information to obtain corresponding destination request parsing information;
S3 parses the corresponding intended application request of information structuring according to the destination request;
S4 sends intended application request to corresponding intended application equipment.
Those skilled in the art will be understood that the current application equipment can in specific scheme is implemented
Including the corresponding server of application request, for example, HTTP request server etc.;The intended application equipment
May include for testing, counting, analyze the application request letter that the corresponding server of the application request is received
The system equipment of breath, for example, test system is used for testing HTTP request server reception HTTP request
Situation information etc.;The application request may include based on certain application layer protocol, for example, http protocol,
SPDY (application layer protocol based on TCP of speedy, Google exploitation) agreement etc., currently should access
With the accessing request information of equipment.It is convenient for statement, we will in embodiment to current application equipment with
The corresponding server of application request, intended application equipment please with for testing, counting, analyzing the application
The system equipment of the application request message of corresponding server reception is sought, application request should with based on certain
With layer protocol, the accessing request information for accessing current application equipment is interchangeable use respectively.
In this embodiment, in step S1, obtaining the application received with current application equipment please
Corresponding request analysis information is sought, the mode of request analysis information specifically, is obtained, it may include directly
The request analysis information of the application request that current application equipment is received is obtained, at this time, it may be necessary to current application sets
It is standby that the application request for receiving is parsed, in case obtaining its corresponding request analysis information;Can be with
Including obtaining after the application request message received by current application equipment, the application request message is solved
Analysis, therefrom obtains the information of needs, for example, the temporal information of request, the method information of request, request
Content information etc..In addition, it is necessary to, it is noted that herein, acquisition is received with current application equipment
During the corresponding request analysis information of application request, do not affect the application that current application equipment interconnection is received please
Asking carries out the process of normal procedure.
Continue in this embodiment, in step S2, to carry out at filtration the request analysis information
Reason parses information to obtain corresponding destination request, specifically, in step s 2 can be according to real needs feelings
Condition, and the request analysis information of application request, filter out the destination request parsing information for meeting conditions of demand,
In case subsequent treatment;Specifically, filtercondition is predeterminable in current application equipment, and user can be according to tool
The demand of body is adjusted correspondingly, for example, can according to application request in request analysis information send when
Between, the mode of application request, concrete requesting method of application request etc. are configured.Specifically, to institute
State the mode filtered by request analysis information, can by by the request analysis information of application request with it is default
Filtercondition is compared, judges whether to meet pre-conditioned, meet it is pre-conditioned in the case of, just
Become destination request parsing information.
Continue, in this embodiment, in step S3, to parse information structuring according to the destination request
Corresponding intended application request, specifically, the equipment for processing application request of the application can be arranged
In current application equipment, can also be separately provided.The process of intended application request is constructed in step s3,
The process reduced by request analysis information is can be regarded as, or is into symbol by request analysis information structuring
The process of the form of host-host protocol is closed, in case subsequently send into corresponding device systems further being located
Reason.As a example by being arranged in current application equipment, if base between current application equipment and intended application equipment
Carry out data transmission in http protocol, now, in addition it is also necessary to be one complete by request analysis information structuring
The packet of HTTP request, to send to intended application equipment.
Continue, in this embodiment, in step S4, intended application request to be sent to correspondence
Intended application equipment, specifically, sending the intended application to intended application equipment in step s 4 please
The concrete mode asked, can be by the wired or wireless connected mode set up between intended application equipment, root
Carry out according to each self-corresponding communication protocol, wherein, the radio connection including but not limited to TCP/IP,
Near-field communication (NFC), bluetooth (Bluetooth), short message, infrared data transmission (IrDA),
ZigBee, ultra-wideband (Ultra WideBand), WiMedia, GPS, DECT, wireless 1394 and its
His private radio systems etc..The format character of wherein intended application request closes and states between intended application equipment
Communication protocol.
Shown in ginseng Fig. 2, it is preferable that the method also includes:
S5 receives the request response that the intended application equipment asks to return based on the intended application.
In this embodiment, in step S5, receive the intended application equipment and be based on the target
The request response that application request is returned, specifically, intended application equipment is successfully received step S4 and sends out
After the intended application request sent, request response can be returned, to represent that intended application equipment has been properly received institute
State intended application request;Further, the request is responded, and can include response bag, it is also possible to including symbol
Close pre-conditioned wireless signal etc.;Specifically, it is described request response content can be it is arbitrary,
The content depends on concrete processing mode, the result etc. that intended application equipment is asked to the intended application.
Continue, in this embodiment, in step S5, to receive the intended application equipment based on described
The concrete mode of the request response that intended application request is returned, can be by setting up between intended application equipment
Wired or wireless connected mode, carried out according to each self-corresponding communication protocol, it is wherein, described wirelessly to connect
The mode of connecing refer to the description in above-described embodiment, will not be described here.Further, since intended application sets
The standby request response for asking to return based on corresponding intended application, only represents intended application equipment and is properly received
The intended application request, therefore after receiving the request response, can be left intact
The request response contents.
Shown in ginseng Fig. 2, it is preferable that the method also includes:
S6 is responded according to the request that the intended application equipment is returned, and determines the work of the intended application equipment
Make state;
Wherein, step S3 includes:
When the intended application equipment is in off working state, stop being believed according to destination request parsing
The corresponding intended application request of breath construction.
In this embodiment, in step S6, rung according to the request that the intended application equipment is returned
Should, determine the working condition of the intended application equipment, specifically, in step s 6, can according to whether
The request response of intended application equipment return is received, the equipment of correspondence intended application equipment is judged,
For example, send to Preset Time after intended application equipment in intended application request, do not receive the target
Application request is corresponding to return request response, then can determine whether out that intended application equipment is in off working state;
It is of course also possible to pass through to judge the type cases that the request that the intended application equipment for receiving is returned is responded, enter
One step judges the working condition of intended application equipment.
Continue, in this embodiment, in step S3, to be in inoperative in the intended application equipment
During state, stop parsing the corresponding intended application request of information structuring according to the destination request, specifically,
Due to constructing the purpose of the corresponding intended application request in step S3, it is in order to ensure inciting somebody to action
The intended application request is sent to intended application equipment, if intended application equipment is in off working state,
Just can stop constructing the intended application request, it is defeated to economize on resources, improve efficiency and intended application equipment
Go out accuracy rate of information etc.;Specifically, corresponding prompting mechanism can be now set, for example, display lamp,
Voice prompt etc., so that user knows the working condition of intended application equipment in real time, it is more accurate so as to obtain
True result.
Preferably, the method also includes:
S7 (not shown) abandons the request response.
Specifically, in step S7, abandon the mode of the request response, it may include receive this
Request response, directly deletes, and may also comprise after receiving the request response, does not do any further
Process, and be stored directly in information recycle bin, then carry out periodically deleting cleaning etc..Now, it is only necessary to
Whether record receives request response corresponding with the intended application request for sending, without concern for what is received
The particular content of request response.
Preferably, step S2 includes:
S21 carries out filtration treatment to obtain to the request analysis information according to predetermined drain policy information
Obtain corresponding destination request and parse information.
In this embodiment, in step S21, according to predetermined drain policy information, to described
Request analysis information carries out filtration treatment to obtain corresponding destination request parsing information, wherein, described pre-
Fixed drain policy information, including the default request analysis information for by filtering application request, comes
The concrete filtering policy of the filtration of application request is realized, specifically, the drain policy information, it may include
According to the temporal information of application request, the policy information of the application request is filtered, for example, certain is filtered out
Application request in the range of time period, to obtain the application request amount information in the time period, so as to obtain
The information such as the user's visit capacity in the time period, specifically, the temporal information of application request, can by from
In the request analysis information parsed in application request obtain, also can directly according to application request send when
Between obtain.The content information according to application request is may also comprise, the policy information of the application request is filtered,
For example, the HTTP application requests for meeting " GET " requesting method are filtered out, to be passed through " GET "
HTTP application request amount information, so as to obtain user's visit capacity by " GET " requesting method etc. letter
Breath.Further, the set-up mode of drain policy information, needs the demand and objectives according to user
The demand of application apparatus data message is configured, and specific mode, type etc. are not limited.
Preferably, the method also includes:
S8 (not shown) determines the drain policy information according to the intended application equipment.
In this embodiment, in step S8, the drain is determined according to the intended application equipment
Policy information, specifically, drain policy information is used for filtering the corresponding request analysis letter of the application request
Breath, but the corresponding intended application of request analysis information for filtering out asks to set for transmitting to intended application
It is standby, intended application request is further processed by intended application equipment, correspondingly, target
The intended application that application apparatus needs asks corresponding request analysis information, just should be according to drain strategy mistake
The corresponding request analysis information of intended application request for leaching, therefore the particular content of drain strategy, type etc.
The concrete condition of the request of the intended application according to required for intended application equipment is needed to be configured, determine,
For example, if intended application equipment needs to obtain the access request amount of certain server apparatus in certain hour point/section
Information, to be analyzed to which, test;So, now drain strategy just for access request occur when
Between meet application request corresponding to the time point/section and be intended application solicited message;Again for example, if
Intended application equipment needs to be passed through the visit that the request of " POST " requesting method accesses http server equipment
Request amount information is asked, to be analyzed to which, test;So, now drain strategy is just access request
Method be that application request corresponding to " POST " is intended application solicited message etc..
Preferably, the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;And/or
The corresponding content information of the destination request parsing information is met in the request analysis information.
In this embodiment, the drain policy information meets the mesh in including the request analysis information
The time of origin information of mark request analysis information correspondence application request, wherein, in the request analysis information
The temporal information of corresponding application request, be the corresponding application request of the request analysis information occur when
Between information, specifically, the temporal information that the application request occurs can be accessed in application request and be occurred
When directly recorded, it is also possible to by parsing the application request, from the request analysis information for obtaining
Obtain;Further, drain policy information may include that the time of origin of application request meets Preset Time
Information, further, the time that now access request occurs meets the application of the Preset Time information
Request is intended application solicited message.
Continue in this embodiment, the drain policy information meets institute in including the request analysis information
The corresponding content information of destination request parsing information is stated, it is wherein, corresponding in the request analysis information to answer
With the content information of request, it is the particular content information after application request parsing, for example, the request includes
Requesting method, domain name, the information such as URL, specifically, drain policy information may include to represent application please
Any content information of feature is sought, for example, the requesting method information that can be used for application request, currently
The requesting method of the application request that application apparatus is received meets the requesting method being preset in drain strategy
When, as intended application solicited message;So as to obtain the intended application solicited message of needs.
It is highly preferred that the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;
Wherein, step S2 includes:
S22 filters the request analysis information according to the temporal information in the drain policy information,
Information is parsed to obtain corresponding destination request.
In this embodiment, the drain policy information meets the mesh in including the request analysis information
The time of origin information of mark request analysis information correspondence application request, wherein, in the request analysis information
The temporal information of corresponding application request, be the corresponding application request of the request analysis information occur when
Between information, specifically, the temporal information that the application request occurs can be accessed in application request and be occurred
When directly recorded, it is also possible to by parsing the application request, from the request analysis information for obtaining
Obtain;Further, drain policy information may include that the time of origin of application request meets Preset Time
Information.
Continue in this embodiment, in step S22, according to the institute in the drain policy information
Temporal information is stated, the request analysis information is filtered, to obtain corresponding destination request parsing information, tool
Body ground, according to the temporal information being preset in drain policy information in step S22, filters out full
The application request of the foot Preset Time information, as intended application solicited message, further, can lead to
Cross and preset the temporal information met required for application request occurs, for example, double ten in drain policy information
The morning zero point in one (annual November 11), just according to the default temporal information, filters out
The application request message of double 11 morning zero point, in case intended application equipment is analyzed, so as to obtain
The information such as user's click/exchange hand of this time point.
It is highly preferred that the drain policy information includes:
The corresponding content information of the destination request parsing information is met in the request analysis information;
Wherein, step S2 includes:
S23 filters the request analysis information according to the content information in the drain policy information,
Information is parsed to obtain corresponding destination request.
In this embodiment, the drain policy information meets the mesh in including the request analysis information
The content information that mark request analysis information is answered, wherein, corresponding application in the request analysis information
The content information of request, is the particular content information after application request parsing, for example, what the request included
The information such as requesting method, domain name, URL, specifically, drain policy information may include to represent application request
Any content information of feature, for example, the requesting method information that can be used for application request currently should
When the requesting method satisfaction of the application request received with equipment is preset in the requesting method in drain strategy,
As intended application solicited message;So as to obtain the intended application solicited message of needs.
Continue in this embodiment, in step S23, according to the institute in the drain policy information
State content information and filter the request analysis information, to obtain corresponding destination request parsing information, specifically
Ground, according to the content information being preset in drain policy information in step S23, filters out satisfaction
The application request of the preset content information, as intended application solicited message, further, can pass through
Any suitable content information for representing application request feature is preset in drain policy information, for example, can
To arrange the information such as the corresponding requesting method of the application request, the domain name of request, for example, can be described interior
It is installed with and is set to satisfaction " GET " requesting method, it is now corresponding only in the request analysis information of application request
Requesting method is filtered out coming for the request analysis information of " GET ", parses information as destination request, from
And passed through the application request amount information of " GET " requesting method, and by " GET " requesting method
The information such as user's visit capacity.
More it is highly preferred that the drain policy information also includes:
The destination request parses the quantity information of the corresponding intended application request of information;
Wherein, step S3 includes:
Corresponding destination request parsing information of the S31 according to the acquisition, construction meet the drain strategy
Described in the corresponding intended application request of destination request parsing information quantity information intended application request.
In this embodiment, the drain policy information also includes that destination request parsing information is corresponding
The quantity information of intended application request, specifically, quantity information herein is what intended application equipment needed
Concrete application asks corresponding quantity information, for example, it is desired to pass through 100 applications of GET request method
Request amount, the quantity information are may be greater than or less than equal to the request analysis information filtering in step S2
The corresponding application request quantity of destination request parsing information for going out, namely the two is unrelated, only with intended application
The demand of equipment is relevant.
Continue in this embodiment, please according to default in drain policy information in step S2
Meet the time of origin information of destination request parsing information correspondence application request in solving analysis information, and/
Or, meeting the corresponding content information of the destination request parsing information in the request analysis information, carry out
Filter after obtaining destination request parsing information, in addition it is also necessary to which in step S31, basis is preset in drain strategy letter
The quantity information of the corresponding intended application request of the destination request parsing information in breath, constructs and meets
The intended application request of quantitative requirement.
Continue in this embodiment, in step S31, please according to the corresponding target of the acquisition
Analysis information is solved, construction meets the corresponding target of the parsing of destination request described in drain strategy information should
With the intended application request of the quantity information of request, specifically, when the target for filtering out in step s 2 please
When asking the quantity of information to be more than the quantity information, it is only necessary to which some of destination requests are parsed information
Corresponding intended application request is constructed, is further sent to intended application equipment, for example, if intended application
Equipment needs 50 intended application asked by GET methods to ask, and filters out in step s 2
100 intended application asked by GET methods are asked, now, it is only necessary to meet from described 100
50 are extracted in the intended application request of condition, and constructs corresponding intended application request;Meanwhile, when
During the quantity that the quantity of the destination request information filtered out in step S2 is needed less than intended application equipment, need
After by destination request parsing information structuring corresponding intended application request, further it is repeatedly sent to
Intended application equipment, it is to reach the quantity of intended application device requirement, wherein concrete to need to repeat what is sent
Number of times, the quantity of the intended application request needed according to each quantity for sending and intended application equipment
It is related.
Preferably, the current application equipment is based on identical application layer protocol with the intended application equipment.
In this embodiment, the current application equipment is based on identical application with the intended application equipment
Layer protocol, specifically, current application equipment carries out the transmission of intended application request with intended application equipment,
And the return of request response is required to set up on the basis of certain host-host protocol.Further, apply
The particular type of layer protocol is not limited, can be for example, by, FTP (File Transfer Protocol),
Telnet (Telnet), SMTP (Simple Mail Transfer Protocol), HTTP,
SNMP(simple Network Management Protocol)、RIP(Routing Information
Protocol), NFS (Network File System), DNS (Domain Name System) etc.
To realize.
Compared with prior art, the application is by obtaining the application request phase received with current application equipment
Corresponding request analysis information, for example, asks corresponding requesting method, the time of request, domain name, URL
Etc. information, filtration treatment is carried out to the request analysis information to obtain corresponding destination request parsing information,
The corresponding intended application request of information structuring is parsed according to the destination request, the intended application is asked
Send to corresponding intended application equipment, such that it is able to make intended application equipment answer from currently to obtaining
Analyzed accordingly, processed with the application request of equipment;To realize what current application equipment was received
At the same time it can also analyze with this, the details of application request, judge that the current application apparatus receives phase
Answer the performances such as the ability of solicited message.
And, the application can also be filtered to request by default drain policy information, and it is right to obtain
The requests traffic information answered, to be tested accordingly or to be analyzed;For example, filter out and meet one
Determine the request of requesting method, or filter out request for meeting the predetermined request time etc., meanwhile, if target should
When being test system with equipment, the new product can be tested and bears request by the corresponding requests information that obtains
Ability of amount etc., judges various performance indications of the correspondence current application equipment when application request is tackled,
To realize the assessment of the performance to current application equipment, meanwhile, intended application equipment can also pass through this Shen
Scheme please obtains the requests traffic information for needing, and for example, the application request amount of certain time point, to count
The time, corresponding user accessed situation, to meet need-based request amount information, further obtained which
His serviceability information.
Additionally, the application can with according to intended application equipment receive intended application request after response condition,
Determine the working condition of intended application equipment, when intended application equipment is in off working state, stop root
According to the corresponding intended application request of destination request parsing information structuring;So as to realize in intended application equipment not
It is in running order, no longer carry out the construction of intended application request, to economize on resources, and improve target should
Accuracy of respective request flow information obtained with equipment etc..
Shown in ginseng Fig. 2, illustrating the one kind provided according to further aspect of the application ought to for place
With the equipment schematic diagram of request, wherein, the equipment includes:
Request analysis information acquisition device 11, obtains relative with the application request received by current application equipment
The request analysis information answered;
Request analysis information filtrating device 12, carries out filtration treatment to the request analysis information right to obtain
The destination request parsing information answered;
Intended application asks constructing apparatus 13, parses the corresponding target of information structuring according to the destination request
Application request;
Intended application send-request unit 14, intended application request is sent to corresponding intended application
Equipment.
Those skilled in the art will be understood that the current application equipment can in specific scheme is implemented
Including the corresponding server of application request, for example, HTTP request server etc.;The intended application equipment
May include for testing, counting, analyze the application request letter that the corresponding server of the application request is received
The system equipment of breath, for example, test system is used for testing HTTP request server reception HTTP request
Situation information etc.;The application request may include based on certain application layer protocol, for example, http protocol,
SPDY (application layer protocol based on TCP of speedy, Google exploitation) agreement etc., currently should access
With the accessing request information of equipment.It is convenient for statement, we will in embodiment to current application equipment with
The corresponding server of application request, intended application equipment please with for testing, counting, analyzing the application
The system equipment of the application request message of corresponding server reception is sought, application request should with based on certain
With layer protocol, the accessing request information for accessing current application equipment is interchangeable use respectively.
In this embodiment, the acquisition of request analysis information acquisition device 11 and current application equipment are received
The corresponding request analysis information of application request, specifically, request analysis information acquisition device 11 is obtained please
Solve the mode of analysis information, it may include the application request that direct access current application equipment is received please be solved
Analysis information, at this time, it may be necessary to the application request for receiving is parsed by current application equipment, in case request
Parsing information acquisition device 11 obtains its corresponding request analysis information;Can also include obtaining current application
After the application request message received by equipment, the application request message is parsed, therefrom obtaining needs
Information, for example, the temporal information of request, the method information of request, the content information of request etc..Separately
Outward, it should be pointed out that herein, request analysis information acquisition device 11 is obtained and current application equipment institute
During the corresponding request analysis information of the application request of reception, do not affect what current application equipment interconnection was received
Application request carries out the process of normal procedure.
Continue in this embodiment, the request analysis information of request analysis information filtrating device 12 pairs is carried out
Filtration treatment parses information, specifically, request analysis information filtrating device to obtain corresponding destination request
12 can be according to real needs situation, and the request analysis information of application request is filtered out and meets conditions of demand
Destination request parsing information, in case subsequent treatment;Specifically, filtercondition is predeterminable in current application
In equipment, user can be adjusted correspondingly according to specific demand, for example, can be believed according to request analysis
The time that application request sends in breath, the mode of application request, concrete requesting method of application request etc. enter
Row is arranged.Specifically, the mode for being filtered to the request analysis information, can be by by application request
Request analysis information be compared, judge whether to meet pre-conditioned with default filtercondition, meeting
In the case of pre-conditioned, become and information is parsed for destination request.
Continue in this embodiment, intended application asks constructing apparatus 13 to be believed according to destination request parsing
The corresponding intended application request of breath construction, specifically, the equipment for processing application request of the application,
May be provided in current application equipment, can also be separately provided.The intended application request construction mesh of constructing apparatus 13
Mark application request process, it will be appreciated that be the process reduced by request analysis information, or be please
Analysis information structuring is solved into the process of the form for meeting host-host protocol, in case subsequently sending to corresponding equipment
It is further processed in system.As a example by being arranged in current application equipment, if current application equipment with
Carried out data transmission based on http protocol between intended application equipment, then now, intended application request structure
Making device 13 needs the packet that request analysis information structuring is a complete HTTP request, to send out
Deliver to intended application equipment.
Continue in this embodiment, intended application request is sent by intended application send-request unit 14
To corresponding intended application equipment, specifically, intended application request unit 14 is sent to intended application equipment
The concrete mode of intended application request, can be by the wired or nothing set up between intended application equipment
Line connected mode, is carried out according to each self-corresponding communication protocol, and wherein, the radio connection includes
But it is not limited to TCP/IP, near-field communication (NFC), bluetooth (Bluetooth), short message, infrared number
According to transmission (IrDA), ZigBee, ultra-wideband (Ultra WideBand), WiMedia, GPS, DECT,
Wireless 1394 and other private radio systems etc..The format character of wherein intended application request closes and states and target
Communication protocol between application apparatus.
Shown in ginseng Fig. 4, in a preferred embodiment, the equipment also includes:
Request response reception device 15, is received the intended application equipment and is returned based on intended application request
The request response returned.
In this embodiment, request response reception device 15 receives the intended application equipment based on the mesh
The request response that mark application request is returned, specifically, intended application equipment is successfully received the target should
After being asked with the intended application that request unit 14 sends, request response can be returned, to represent that intended application sets
It is standby to be properly received the intended application request;Further, the request is responded, and can include response bag,
Can also include meeting pre-conditioned wireless signal etc.;Specifically, the content of the request response can
To be arbitrary, the content depends on the concrete process side that intended application equipment is asked to the intended application
Formula, result etc..
Continue in this embodiment, request response reception device 15 receives the intended application equipment based on institute
The concrete mode of the request response that intended application request is returned is stated, can be by building between intended application equipment
Vertical wired or wireless connected mode, is carried out according to each self-corresponding communication protocol, wherein, described wireless
Connected mode refer to the description in above-described embodiment, will not be described here.Further, since intended application
The request response that equipment asks to return based on corresponding intended application, only represents intended application equipment and successfully connects
The intended application request has been received, therefore after request response reception device 15 receives the request response, can
Are left intact the request response contents that directly abandon.
Shown in ginseng Fig. 4, it is preferable that the equipment also includes:
Intended application equipment working state determining device 16, according to the request that the intended application equipment is returned
Response, determines the working condition of the intended application equipment;
Wherein, the intended application asks constructing apparatus:
When the intended application equipment is in off working state, stop being believed according to destination request parsing
The corresponding intended application request of breath construction.
In this embodiment, intended application equipment working state determining device 16 is set according to the intended application
The standby request response for returning, determines the working condition of the intended application equipment, specifically, intended application
Equipment working state determining device 16, can according to whether receive intended application equipment return request response,
To judge the equipment of correspondence intended application equipment, for example, sending in intended application request should to target
With in Preset Time after equipment, intended application equipment working state determining device 16 does not receive the target should
With asking corresponding return to ask response, then can determine whether out that intended application equipment is in off working state;When
So, it is also possible to the type cases of the request response returned by the intended application equipment for judging to receive, enter one
Step judges the working condition of intended application equipment.
Continue in this embodiment, intended application request constructing apparatus 13 are in the intended application equipment
During off working state, stop parsing the corresponding intended application request of information structuring according to the destination request,
Specifically, as intended application asks constructing apparatus 13 to construct the mesh of the corresponding intended application request
, it is in order to ensure intended application request is sent to intended application equipment, if intended application sets
It is standby to be in off working state, just can stop constructing the intended application request, to economize on resources, improve effect
Accuracy rate of rate and intended application equipment output information etc.;Specifically, corresponding prompting can be now set
Mechanism, for example, display lamp, voice prompt etc., so that user knows the work of intended application equipment in real time
Make state, so as to obtain more accurately result.
Preferably, the equipment also includes:
Request response drop device (not shown), abandons the request response.
Specifically, request response drop device abandons the mode of the request response, it may include receive this
Request response, directly deletes, and may also comprise after receiving the request response, does not do any further
Process, and be stored directly in information recycle bin, then carry out periodically deleting cleaning etc..Now, request rings
Answer drop device only needs to record whether receive request response corresponding with the intended application request for sending,
Without concern for the particular content of the request response for receiving.
Wherein in a preferred embodiment, the request analysis information filtrating device:
According to predetermined drain policy information, filtration treatment is carried out to the request analysis information right to obtain
The destination request parsing information answered.
In this embodiment, request analysis information filtrating device is according to predetermined drain policy information, to institute
Stating request analysis information carries out filtration treatment to obtain corresponding destination request parsing information, wherein, described
Predetermined drain policy information, including the default request analysis information for by filtering application request,
To realize the concrete filtering policy of the filtration of application request, specifically, the drain policy information, can wrap
The temporal information according to application request is included, the policy information of the application request is filtered, for example, is filtered out
Application request in certain time segment limit, to obtain the application request amount information in the time period, so as to obtain
The information such as user's visit capacity that must be in the time period, specifically, the temporal information of application request can pass through
Obtain in the request analysis information parsed from application request, also directly can be sent according to application request
Time obtains.The content information according to application request is may also comprise, the strategy letter of the application request is filtered
Breath, for example, filters out the HTTP application requests for meeting " GET " requesting method, to be passed through
The HTTP application request amount information of " GET ", is visited by the user of " GET " requesting method so as to obtain
The information such as the amount of asking.Further, the set-up mode of drain policy information, need according to the demand of user and
The demand of objectives application apparatus data message is configured, and specific mode, type etc. are not limited.
Preferably, the equipment also includes:
Drain policy information determining device (not shown), draws according to the intended application equipment determines
Flow Policy information.
In this embodiment, drain policy information determining device is according to the intended application equipment determines
Drain policy information, specifically, for filtering, the application request is corresponding please to be solved drain policy information
Analysis information, but the corresponding intended application of request analysis information for filtering out asks to answer for transmitting to target
With equipment, intended application request is further processed by intended application equipment, correspondingly,
The intended application that intended application equipment needs asks corresponding request analysis information, just should be according to drain plan
Skip over the intended application that leaches and ask corresponding request analysis information, therefore the particular content of drain strategy, class
Type etc. needs the concrete condition of the intended application request according to required for intended application equipment to be configured, really
It is fixed, for example, if intended application equipment needs the access for obtaining certain server apparatus in certain hour point/section to ask
The amount of asking information, to be analyzed to which, test;So, now drain strategy just occurs for access request
Time meet application request corresponding to the time point/section and be intended application solicited message;Example again
Such as, if intended application equipment needs are passed through " POST " requesting method, request access http server sets
Standby access request amount information, to be analyzed to which, test;So, now drain strategy is just visit
Ask that application request of the method for request corresponding to " POST " is intended application solicited message etc..
Preferably, the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;And/or
The corresponding content information of the destination request parsing information is met in the request analysis information.
In this embodiment, the drain policy information meets the mesh in including the request analysis information
The time of origin information of mark request analysis information correspondence application request, wherein, in the request analysis information
The temporal information of corresponding application request, be the corresponding application request of the request analysis information occur when
Between information, specifically, the temporal information that the application request occurs can be accessed in application request and be occurred
When directly recorded, it is also possible to by parsing the application request, from the request analysis information for obtaining
Obtain;Further, drain policy information may include that the time of origin of application request meets Preset Time
Information, further, the time that now access request occurs meets the application of the Preset Time information
Request is intended application solicited message.
Continue in this embodiment, the drain policy information meets institute in including the request analysis information
The corresponding content information of destination request parsing information is stated, it is wherein, corresponding in the request analysis information to answer
With the content information of request, it is the particular content information after application request parsing, for example, the request includes
Requesting method, domain name, the information such as URL, specifically, drain policy information may include to represent application please
Any content information of feature is sought, for example, the requesting method information that can be used for application request, currently
The requesting method of the application request that application apparatus is received meets the requesting method being preset in drain strategy
When, as intended application solicited message;So as to obtain the intended application solicited message of needs.
It is highly preferred that the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;
Wherein, the request analysis information filtrating device:
According to the temporal information in the drain policy information, the request analysis information is filtered, with
Obtain corresponding destination request parsing information.
In this embodiment, the drain policy information meets the mesh in including the request analysis information
The time of origin information of mark request analysis information correspondence application request, wherein, in the request analysis information
The temporal information of corresponding application request, be the corresponding application request of the request analysis information occur when
Between information, specifically, the temporal information that the application request occurs can be accessed in application request and be occurred
When directly recorded, it is also possible to by parsing the application request, from the request analysis information for obtaining
Obtain;Further, drain policy information may include that the time of origin of application request meets Preset Time
Information.
Continue in this embodiment, the request analysis information filtrating device 12 is believed according to the drain strategy
The temporal information in breath, filters the request analysis information, to obtain corresponding destination request parsing
Information, specifically, request analysis information filtrating device 12 is described in be preset in drain policy information
Temporal information, filters out the application request for meeting the Preset Time information, as intended application request letter
Breath, further, can by drain policy information preset application request occur required for meet when
Between information, for example, the morning zero point in double 11 (annual November 11), request analysis information mistake
Filter device 12 just according to the default temporal information, filters out the application request of double 11 morning zero point
Information, in case intended application equipment is analyzed, so as to obtain user's click/exchange hand of this time point etc.
Information.
It is highly preferred that the drain policy information includes:
The corresponding content information of the destination request parsing information is met in the request analysis information;
Wherein, the request analysis information filtrating device:
The request analysis information is filtered according to the content information in the drain policy information, to obtain
Obtain corresponding destination request and parse information.
In this embodiment, the drain policy information meets the mesh in including the request analysis information
The content information that mark request analysis information is answered, wherein, corresponding application in the request analysis information
The content information of request, is the particular content information after application request parsing, for example, what the request included
The information such as requesting method, domain name, URL, specifically, drain policy information may include to represent application request
Any content information of feature, for example, the requesting method information that can be used for application request currently should
When the requesting method satisfaction of the application request received with equipment is preset in the requesting method in drain strategy,
As intended application solicited message;So as to obtain the intended application solicited message of needs.
Continue in this embodiment, the request analysis information filtrating device 12 is believed according to the drain strategy
The content information in breath filters the request analysis information, to obtain corresponding destination request parsing letter
Breath, specifically, request analysis information filtrating device 12 according to be preset in drain policy information it is described in
Appearance information, filters out the application request for meeting the preset content information, as intended application solicited message,
Further, any suitable interior of application request feature can be represented by presetting in drain policy information
Appearance information, for example, can arrange the information such as the corresponding requesting method of the application request, the domain name of request,
For example, can be satisfaction " GET " requesting method, the now only request of application request by the curriculum offering
In parsing information, corresponding requesting method is filtered out coming for the request analysis information of " GET ", used as target
Request analysis information, so as to obtain the application request amount information by " GET " requesting method, and passes through
The information such as user's visit capacity of " GET " requesting method.
More it is highly preferred that the drain policy information also includes:
The destination request parses the quantity information of the corresponding intended application request of information;
Wherein, the intended application asks constructing apparatus:
According to the corresponding destination request parsing information of the acquisition, construction meets institute in the drain strategy
State the intended application request of the quantity information of the corresponding intended application request of destination request parsing information.
In this embodiment, the drain policy information also includes that destination request parsing information is corresponding
The quantity information of intended application request, specifically, quantity information herein is what intended application equipment needed
Concrete application asks corresponding quantity information, for example, it is desired to pass through 100 applications of GET request method
Request amount, the quantity information may be greater than or less than and filter out equal to the request analysis information filtrating device
The destination request parsing corresponding application request quantity of information, namely the two is unrelated, only sets with intended application
Standby demand is relevant.
Continue in this embodiment, to preset according in drain policy information in request analysis information filtrating device
The request analysis information in meet the time of origin of destination request parsing information correspondence application request
Information, and/or, the corresponding content letter of the destination request parsing information is met in the request analysis information
Breath, carry out filter obtain destination request parsing information after, in addition it is also necessary to intended application ask constructing apparatus according to
The quantity of the corresponding intended application request of the destination request parsing information being preset in drain policy information
Information, constructs the intended application request for meeting quantitative requirement.
Continue in this embodiment, the intended application asks constructing apparatus according to the corresponding of the acquisition
Destination request parses information, and it is corresponding that construction meets the parsing of destination request described in drain strategy information
The intended application request of the quantity information of intended application request, specifically, when request analysis information filtering is filled
When putting the quantity of the destination request information for filtering out more than the quantity information, it is only necessary to will be some of
The corresponding intended application request of destination request parsing information structuring, further sends to intended application equipment,
For example, if intended application equipment needs 50 intended application asked by GET methods to ask, and ask
Parsing information filtrating device has been filtered out 100 intended application asked by GET methods and has been asked, now
Intended application request constructing apparatus only need from the described 100 intended application requests for meeting condition to extract
50, and construct corresponding intended application request;Meanwhile, when request analysis information filtrating device is filtered out
Destination request information quantity less than intended application equipment need quantity when, need by the target please
After solving the corresponding intended application request of analysis information structuring, intended application equipment is further repeatedly sent to,
To reach the quantity of intended application device requirement, the wherein concrete number of times for needing to repeat to send, according to each
The quantity of the intended application request that the quantity of transmission and intended application equipment need is related.
Preferably, the current application equipment is based on identical application layer protocol with the intended application equipment.
In this embodiment, the current application equipment is based on identical application with the intended application equipment
Layer protocol, specifically, current application equipment carries out the transmission of intended application request with intended application equipment,
And the return of request response is required to set up on the basis of certain host-host protocol.Further, apply
The particular type of layer protocol is not limited, can be for example, by, FTP (File Transfer Protocol),
Telnet (Telnet), SMTP (Simple Mail Transfer Protocol), HTTP
(Hyper Text Transfer Protocol)、SNMP(simple Network Management
Protocol)、RIP(Routing Information Protocol)、NFS(Network File
System), DNS (Domain Name System) etc. is realizing.
Compared with prior art, the application is by obtaining the application request phase received with current application equipment
Corresponding request analysis information, for example, asks corresponding requesting method, the time of request, domain name, URL
Etc. information, filtration treatment is carried out to the request analysis information to obtain corresponding destination request parsing information,
The corresponding intended application request of information structuring is parsed according to the destination request, the intended application is asked
Send to corresponding intended application equipment, such that it is able to make intended application equipment answer from currently to obtaining
Analyzed accordingly, processed with the application request of equipment;To realize what current application equipment was received
At the same time it can also analyze with this, the details of application request, judge that the current application apparatus receives phase
Answer the performances such as the ability of solicited message.
And, the application can also be filtered to request by default drain policy information, and it is right to obtain
The requests traffic information answered, to be tested accordingly or to be analyzed;For example, filter out and meet one
Determine the request of requesting method, or filter out request for meeting the predetermined request time etc., meanwhile, if target should
When being test system with equipment, the new product can be tested and bears request by the corresponding requests information that obtains
Ability of amount etc., judges various performance indications of the correspondence current application equipment when application request is tackled,
To realize the assessment of the performance to current application equipment, meanwhile, intended application equipment can also pass through this Shen
Scheme please obtains the requests traffic information for needing, and for example, the application request amount of certain time point, to count
The time, corresponding user accessed situation, to meet need-based request amount information, further obtained which
His serviceability information.
Additionally, the application can with according to intended application equipment receive intended application request after response condition,
Determine the working condition of intended application equipment, when intended application equipment is in off working state, stop root
According to the corresponding intended application request of destination request parsing information structuring;So as to realize in intended application equipment not
It is in running order, no longer carry out the construction of intended application request, to economize on resources, and improve target should
Accuracy of respective request flow information obtained with equipment etc..
It is obvious to a person skilled in the art that the invention is not restricted to the thin of above-mentioned one exemplary embodiment
Section, and without departing from the spirit or essential characteristics of the present invention, can be with other concrete
Form realizes the present invention.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary
, and be nonrestrictive, the scope of the present invention is by claims rather than described above is limited
It is fixed, it is intended that all changes in the implication and scope of the equivalency of claim that will fall are included
In the present invention.Any reference in claim should not be considered as the right involved by limiting will
Ask.Furthermore, it is to be understood that " an including " word is not excluded for other units or step, odd number is not excluded for plural number.
The multiple units stated in device claim or device can also be by units or device by soft
Part or hardware are realizing.The first, the second grade word is used for representing title, and is not offered as any spy
Fixed order.
Claims (22)
1. a kind of method for processing application request, wherein, the method includes:
Obtain the request analysis information corresponding with the application request received by current application equipment;
Filtration treatment is carried out to the request analysis information to obtain corresponding destination request parsing information;
The corresponding intended application request of information structuring is parsed according to the destination request;
Intended application request is sent to corresponding intended application equipment.
2. method according to claim 1, wherein, the method also includes:
Receive the request response that the intended application equipment asks to return based on the intended application.
3. method according to claim 2, wherein, the method also includes:
According to the request response that the intended application equipment is returned, the work of the intended application equipment is determined
State;
Wherein, it is described to be included according to the corresponding intended application request of destination request parsing information structuring:
When the intended application equipment is in off working state, stop being believed according to destination request parsing
The corresponding intended application request of breath construction.
4. according to the method in claim 2 or 3, wherein, the method also includes:
Abandon the request response.
5. method according to any one of claim 1 to 4, wherein, described to solve to described
Analysis information carries out filtration treatment to be included with obtaining corresponding destination request parsing information:
According to predetermined drain policy information, filtration treatment is carried out to the request analysis information right to obtain
The destination request parsing information answered.
6. method according to claim 5, wherein, the method also includes:
The drain policy information is determined according to the intended application equipment.
7. the method according to claim 5 or 6, wherein, the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;And/or
The corresponding content information of the destination request parsing information is met in the request analysis information.
8. method according to claim 7, wherein, the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;
Wherein, it is described to carry out filtration treatment to the request analysis information to obtain corresponding destination request solution
Analysis information includes:
The request analysis information is filtered according to the temporal information in the drain policy information, to obtain
Obtain corresponding destination request and parse information.
9. method according to claim 7, wherein, the drain policy information includes:
The corresponding content information of the destination request parsing information is met in the request analysis information;
Wherein, it is described to carry out filtration treatment to the request analysis information to obtain corresponding destination request solution
Analysis information includes:
The request analysis information is filtered according to the content information in the drain policy information, to obtain
Obtain corresponding destination request and parse information.
10. method according to claim 8 or claim 9, wherein, the drain policy information also includes:
The destination request parses the quantity information of the corresponding intended application request of information;
Wherein, it is described to be included according to the corresponding intended application request of destination request parsing information structuring:
According to the corresponding destination request parsing information of the acquisition, construction meets institute in the drain strategy
State the intended application request of the quantity information of the corresponding intended application request of destination request parsing information.
11. methods according to any one of claim 1 to 10, wherein, the current application sets
It is standby to be based on identical application layer protocol with the intended application equipment.
A kind of 12. equipment for processing application request, wherein, the equipment includes:
Request analysis information acquisition device, for obtaining the application request phase received with current application equipment
Corresponding request analysis information;
Request analysis information filtrating device, for carrying out filtration treatment to obtain to the request analysis information
Corresponding destination request parses information;
Intended application asks constructing apparatus, for parsing the corresponding mesh of information structuring according to the destination request
Mark application request;
Intended application send-request unit, should to corresponding target for intended application request is sent
Use equipment.
13. equipment according to claim 12, wherein, the equipment also includes:
Request response reception device, is asked based on the intended application for receiving the intended application equipment
The request response of return.
14. equipment according to claim 13, wherein, the equipment also includes:
Intended application equipment working state determining device, please for what is returned according to the intended application equipment
Response is asked, the working condition of the intended application equipment is determined;
Wherein, the intended application request constructing apparatus are used for:
When the intended application equipment is in off working state, stop being believed according to destination request parsing
The corresponding intended application request of breath construction.
15. equipment according to claim 13 or 14, wherein, the equipment also includes:
Request response drop device, for abandoning the request response.
16. equipment according to any one of claim 12 to 15, wherein, the request analysis letter
Breath defecator is used for:
According to predetermined drain policy information, filtration treatment is carried out to the request analysis information right to obtain
The destination request parsing information answered.
17. equipment according to claim 16, wherein, the equipment also includes:
Drain policy information determining device, for determining the drain strategy according to the intended application equipment
Information.
18. equipment according to claim 16 or 17, wherein, the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;And/or
The corresponding content information of the destination request parsing information is met in the request analysis information.
19. equipment according to claim 18, wherein, the drain policy information includes:
When meeting the generation of the destination request parsing information correspondence application request in the request analysis information
Between information;
Wherein, the request analysis information filtrating device is used for:
The request analysis information is filtered according to the temporal information in the drain policy information, to obtain
Obtain corresponding destination request and parse information.
20. equipment according to claim 18, wherein, the drain policy information includes:
The corresponding content information of the destination request parsing information is met in the request analysis information;
Wherein, the request analysis information filtrating device is used for:
The request analysis information is filtered according to the content information in the drain policy information, to obtain
Obtain corresponding destination request and parse information.
21. equipment according to claim 19 or 20, wherein, the drain policy information also includes:
The destination request parses the quantity information of the corresponding intended application request of information;
Wherein, the intended application request constructing apparatus are used for:
According to the corresponding destination request parsing information of the acquisition, construction meets institute in the drain strategy
State the intended application request of the quantity information of the corresponding intended application request of destination request parsing information.
22. equipment according to any one of claim 12 to 21, wherein, the current application sets
It is standby to be based on identical application layer protocol with the intended application equipment.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570817.7A CN106528396B (en) | 2015-09-09 | 2015-09-09 | For handling the method and apparatus of application request |
PCT/CN2016/097491 WO2017041648A1 (en) | 2015-09-09 | 2016-08-31 | Method and device for processing application request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510570817.7A CN106528396B (en) | 2015-09-09 | 2015-09-09 | For handling the method and apparatus of application request |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106528396A true CN106528396A (en) | 2017-03-22 |
CN106528396B CN106528396B (en) | 2019-06-11 |
Family
ID=58240538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510570817.7A Active CN106528396B (en) | 2015-09-09 | 2015-09-09 | For handling the method and apparatus of application request |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106528396B (en) |
WO (1) | WO2017041648A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413523A (en) * | 2019-07-26 | 2019-11-05 | 百度时代网络技术(北京)有限公司 | It drains test method, drain platform and computer readable storage medium in test |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6684257B1 (en) * | 1999-10-15 | 2004-01-27 | International Business Machines Corporation | Systems, methods and computer program products for validating web content tailored for display within pervasive computing devices |
CN103327025A (en) * | 2013-06-28 | 2013-09-25 | 北京奇虎科技有限公司 | Method and device for network access control |
CN103428041A (en) * | 2012-05-22 | 2013-12-04 | 同方股份有限公司 | Cloud-based end-to-end flow content detection system and method |
CN103491060A (en) * | 2012-06-13 | 2014-01-01 | 北京新媒传信科技有限公司 | Method, device and system for defending against Web attacks |
CN104301311A (en) * | 2014-09-28 | 2015-01-21 | 北京奇虎科技有限公司 | Method and device for filtering network data content through DNS |
CN104601483A (en) * | 2013-10-31 | 2015-05-06 | 华为技术有限公司 | Method, device and apparatus for forwarding messages |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953452B (en) * | 2006-10-24 | 2011-07-20 | 中国科学院电工研究所 | A method for dynamic certification and authorization for stream media |
CN102271136A (en) * | 2011-08-16 | 2011-12-07 | 赛尔网络有限公司 | Access control method and equipment under NAT (Network Address Translation) network environment |
JP5624973B2 (en) * | 2011-11-04 | 2014-11-12 | 株式会社日立製作所 | Filtering device |
CN102868693A (en) * | 2012-09-17 | 2013-01-09 | 苏州迈科网络安全技术股份有限公司 | URL (Uniform Resource Locator) filtering method and URL (Uniform Resource Locator) filtering system aiming at HTTP (Hyper Text Transport Protocol) segment request |
-
2015
- 2015-09-09 CN CN201510570817.7A patent/CN106528396B/en active Active
-
2016
- 2016-08-31 WO PCT/CN2016/097491 patent/WO2017041648A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6684257B1 (en) * | 1999-10-15 | 2004-01-27 | International Business Machines Corporation | Systems, methods and computer program products for validating web content tailored for display within pervasive computing devices |
CN103428041A (en) * | 2012-05-22 | 2013-12-04 | 同方股份有限公司 | Cloud-based end-to-end flow content detection system and method |
CN103491060A (en) * | 2012-06-13 | 2014-01-01 | 北京新媒传信科技有限公司 | Method, device and system for defending against Web attacks |
CN103327025A (en) * | 2013-06-28 | 2013-09-25 | 北京奇虎科技有限公司 | Method and device for network access control |
CN104601483A (en) * | 2013-10-31 | 2015-05-06 | 华为技术有限公司 | Method, device and apparatus for forwarding messages |
CN104301311A (en) * | 2014-09-28 | 2015-01-21 | 北京奇虎科技有限公司 | Method and device for filtering network data content through DNS |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413523A (en) * | 2019-07-26 | 2019-11-05 | 百度时代网络技术(北京)有限公司 | It drains test method, drain platform and computer readable storage medium in test |
CN110413523B (en) * | 2019-07-26 | 2023-07-25 | 百度时代网络技术(北京)有限公司 | Drainage testing method, drainage testing middle table and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017041648A1 (en) | 2017-03-16 |
CN106528396B (en) | 2019-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Da Cruz et al. | Performance evaluation of IoT middleware | |
CN103945007B (en) | Information-pushing method and device | |
CN110535684A (en) | A kind of method and apparatus that web-browsing service perception assessment is realized based on DPI | |
CN105392178B (en) | A kind of method and apparatus for being used to obtain the access information of WAP | |
TWI706356B (en) | Method and device for business drainage | |
US20130066814A1 (en) | System and Method for Automated Classification of Web pages and Domains | |
CN105794258B (en) | Congestion notification method, relevant device and system | |
CN106412975B (en) | A kind of test method and device of content charging loophole | |
CN104683124B (en) | Terminal type recognition methods and device | |
WO2013039835A1 (en) | Analyzing internet traffic by extrapolating socio-demographic information from a panel | |
EP3497403B1 (en) | Geo-locating individuals based on a derived social network | |
CN107291713A (en) | Reminding method, terminal and the server of point of interest search keyword | |
CN108282508A (en) | Determination method and device, information-pushing method and the device in geographical location | |
CN103685354A (en) | Method and device for testing based on RMI protocol | |
CN106875279A (en) | Information-pushing method and device | |
CN104394041A (en) | Access log generation method and device | |
CN106067879B (en) | The detection method and device of information | |
US8769043B2 (en) | Computer implemented system and method for enhancing web browsing | |
CN106209970B (en) | Determine the method and apparatus of network state connected between user equipment and routing device | |
CN112954089A (en) | Method, device and equipment for analyzing data and storage medium | |
Hayes et al. | Geolocation tracking and privacy issues associated with the uber mobile application | |
CN106658666A (en) | Method and device for building wireless connection | |
Hayes et al. | A dynamic and static analysis of the uber mobile application from a privacy perspective | |
CN110913038B (en) | IP address determination method, device, server and computer readable storage medium | |
CN106528396A (en) | Method and equipment for processing application request |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |