Processing method, device, medium and the equipment of HTTP request information
Technical field
The present invention relates to field of computer technology, in particular to a kind of processing side of HTTP/HTTPS solicited message
Method, device, medium and electronic equipment.
Background technique
Existing technology will constantly send network request and various communication for services as a smart machine.As journey
Sequence person, the staff such as test need frequently to debug the network request of mobile device or the machine.Due to being lacked in mobile device
Few built-in detector tool, tester must complete the inspection of network request by third party's tool.Existing third
The thing to be accomplished of square tool is: the all-network request in monitoring (monitoring) equipment, and will open up after all-network request capture
It shows and, while not influencing these network requests and normally sending and return.
For this kind of third party's tool, presently, there are it is most commonly used be exactly business software Charles, Charles is one
Secondary property payment type software, one come out using Java close the software run on macOS in source, and Charles is normal at Mac
Network package intercepts tool, when doing Mobile Development, in order to debug the network communication protocol with server end, it is often necessary to
Intercept network package is analyzed.Charles is by oneself will be arranged to the network access proxies of system, so that all
Network access request is all completed by it, to realize the interception and analysis of network package.
Other than Charles, the implementation of these softwares is essentially all the form using man-in-the-middle attack, soft
Part itself acts as a network agent, and the all-network request for the equipment to be monitored can be sent to this agency, and agency is connecing
After receiving request, request data is recorded, for displaying later;Then request is remained untouched again true to issuing
The response of request is equally recorded in rear end, and response data is intactly then returned to monitoring device.
For existing solution, by taking Charles as an example,
The shortcomings that Charles, is as described below:
Charles is a quality and bad payment App, and needs to provide configuration interface, and configuration interface is corresponding
Configuration feature it is limited, be unable to satisfy the different demands of user;And the mistake that configuration feature is configured by configuration interface
Journey is excessively complicated, consumes a large amount of man power and material.
Therefore, in long-term research and development, inventor has carried out largely the processing method of HTTP/HTTPS solicited message
Research, propose a kind of processing method of HTTP/HTTPS solicited message, one of to solve the above technical problems.
Summary of the invention
The purpose of the present invention is to provide processing method, device, medium and the electronics of a kind of HTTP/HTTPS solicited message
Equipment is able to solve at least one technical problem mentioned above.Concrete scheme is as follows:
Specific embodiment according to the present invention, in a first aspect, the present invention is provided at a kind of HTTP/HTTPS solicited message
Reason method, comprising:
First attribute of the network access proxies of processing HTTP/HTTPS solicited message is set;Wherein, described
One attribute is used for the type information requested according to HTTP/HTTPS, is arranged described in the network access proxies processing
The default processing mode of HTTP/HTTPS solicited message, in order to control the network access proxies with the default place
Reason mode handles corresponding HTTP/HTTPS solicited message;
The second attribute information of the network access proxies is obtained, second attribute is for realizing the network
The default extension function of access proxies;
The packet that Web programming language by operating in the preset format of server-side is write carries out the configuration of preset function, and
Control the request event that the network access proxies monitor any HTTP/HTTPS request by way of event monitoring
And/or the response events for any HTTP/HTTPS request.
Optionally, the method also includes:
Obtain the type information of HTTP/HTTPS request;
According to the type information that the HTTP/HTTPS is requested, it is arranged described in the network access proxies processing
The default processing mode of HTTP/HTTPS solicited message, in order to control the network access proxies with the default place
Reason mode handles corresponding HTTP/HTTPS solicited message;
Wherein, the default processing mode include the first default processing mode and the second default processing mode, described first
The type that default processing mode corresponds to current request is non-encrypted HTTP request;The second default processing mode corresponds to
The type of current request is the HTTPS request of encryption.
Optionally, the network access proxies are controlled, corresponding HTTP/ is handled with the default processing mode
HTTPS request information includes:
If the type of current request is non-encrypted HTTP request, the network access proxies are controlled with described
First default processing mode handles non-encrypted HTTP request information;And
It controls the network access proxies and non-encrypted HTTP request is handled with the described first default processing mode
Information includes:
The network access proxies obtain corresponding requesting data information, and carry out to the requesting data information
Analysis, obtains and the associated associated data of non-encrypted HTTP request;
The requesting data information and the associated data are saved, and triggers corresponding request event;
Wherein, the associated data includes at least: time-consuming data, the transmission information in each stage in each stage.
Optionally, the network access proxies are controlled, corresponding HTTP/ is handled with the default processing mode
HTTPS request information further include:
If the type of current request is the HTTPS request of encryption, the network access proxies are controlled with described
The HTTPS request information of second default processing mode processing encryption;And
The network access proxies are controlled with the HTTPS request letter of the described second default processing mode processing encryption
Breath includes:
Any HTTPS request sends connection request to http proxy server, and the connection request is the non-encrypted of HTTP
Request;
HTTP server monitors the connection request, and the connection request is directed into HTTPS server, and by interior
The root certificate grant a certificate set, and the certificate is back to the client for being equipped with the root certificate, it is described in order to control
The HTTPS request information of network access proxies decryption encryption, wherein the root certificate is used for grant a certificate solution secret letter
Breath;
Any HTTPS request is captured, and any HTTPS request is sent to request address, and obtain corresponding return
Information;
It collects and saves corresponding return information;Trigger corresponding response events.
Optionally, the method also includes:
Matched first preset rules of uniform resource locator with current HTTP/HTTPS request are obtained, and according to described
First preset rules modify to the uniform resource locator, obtain modified address.
Optionally, the method also includes:
Obtain the second preset rules that inhibition request is sent;
If the format of current HTTP/HTTPS request meets the second preset rules of inhibition request transmission, forbid current
The transmission of HTTP/HTTPS request.
Optionally, the method also includes:
Visualization interface is set, and the HTTP/HTTPS solicited message is checked by the visual interface.
Specific embodiment according to the present invention, second aspect, the present invention are provided at a kind of HTTP/HTTPS solicited message
Manage device, comprising:
The first attribute setting unit, for the network access proxies of processing HTTP/HTTPS solicited message to be arranged
First attribute;Wherein, first attribute is used for the type information requested according to HTTP/HTTPS, and the network access generation is arranged
The default processing mode of HTTP/HTTPS solicited message described in server process is managed, in order to control the network access agent clothes
Device be engaged in the corresponding HTTP/HTTPS solicited message of the default processing mode processing;
Acquiring unit, for obtaining the second attribute information of the network access proxies, second attribute is used
In the default extension function of realizing the network access proxies;
Configuration unit, the packet write for the Web programming language by the preset format for operating in server-side are preset
The configuration of function;
Monitoring unit, for control the network access proxies monitored by way of event monitoring it is any
HTTP/HTTPS request request event and/or, for any HTTP/HTTPS request response events.Tool according to the present invention
Body embodiment, the third aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, institute
State the processing method that as above described in any item HTTP/HTTPS solicited messages are realized when program is executed by processor.
Specific embodiment according to the present invention, fourth aspect, the present invention provide a kind of electronic equipment, comprising: one or
Multiple processors;Storage device, for storing one or more programs, when one or more of programs are by one or more
When a processor executes, so that one or more of processors realize as above described in any item HTTP/HTTPS solicited messages
Processing method.
The above scheme of the embodiment of the present invention compared with prior art, at least has the advantages that offer of the present invention
A kind of processing method, device, medium and the electronic equipment of HTTP/HTTPS solicited message, by the default lattice for operating in server-side
The packet that the Web programming language of formula is write carries out the configuration of preset function, and can enrich constantly the pre- of network access proxies
If function is extended, to meet the different demands of different user;And it is carried out by the packet that the Web programming language of preset format is write pre-
If the configuration process of function is automatically performed, existing excessively cumbersome functional configuration process is simplified.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 shows the processing method flow chart of HTTP/HTTPS solicited message according to an embodiment of the present invention;
Fig. 2 shows the processing device structure diagrams of the HTTP/HTTPS solicited message of embodiment according to the present invention;
Fig. 3 shows the electronic equipment attachment structure schematic diagram of embodiment according to the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It will be appreciated that though may be described in embodiments of the present invention using term first, second, third, etc..,
But these ... it should not necessarily be limited by these terms.These terms be only used to by ... distinguish.For example, not departing from implementation of the present invention
In the case where example range, first ... can also be referred to as second ..., and similarly, second ... can also be referred to as the
One ....
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Include, so that commodity or device including a series of elements not only include those elements, but also including not clear
The other element listed, or further include for this commodity or the intrinsic element of device.In the feelings not limited more
Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or device for including the element also
There are other identical elements.
The alternative embodiment that the invention will now be described in detail with reference to the accompanying drawings.
Embodiment 1
As shown in Figure 1, according to the specific embodiment of the disclosure, in a first aspect, the disclosure provides HTTP/HTTPS request
The processing method of information characterized by comprising
S102: the first attribute of the network access proxies of setting processing HTTP/HTTPS solicited message;Wherein,
One attribute is used for the type information requested according to HTTP/HTTPS, and setting network access proxies handle HTTP/HTTPS and ask
The default processing mode of information is sought, it is corresponding with default processing mode processing in order to control network access proxies
HTTP/HTTPS solicited message.
HTTP (Hypertext Transfer Protocol), hypertext transfer protocol are browsing webpage, the online view of row
Frequently, the rule for listening Online Music etc. must comply with.Exactly under such rule, browser (Web clients) could Xiang Wanwei
Network server sends web documents request, and then the document asked clearly can be sent back browser by server.In browser kimonos
The interaction of request and response between business device, it is necessary to which, according to the format and rule of regulation, these formats and rule just constitute super
Text transfer protocol.
There are 80 ports open exclusively for HTTP, the agreement for WWW transmission information in computer system.Often
A website has a server processes to monitor 80 ports of TCP, builds once discovery browser issues connection to it
Vertical censure is asked, and TCP connection is then established, and browser just issues the request for browsing some webpage to Web server, and server is just
It is then returned to the requested page in response.Finally, TCP connection is released.
It should be noted that http protocol is stateless, that is to say, that the same same clothes of client's back-call
Be engaged in device on the page when, server response with for the first time access when it is identical.But in actual operation, some WWWs
Website still wants to identification user's.For example, being wished after on some shopping website shopping cart is added in some product by user
Prestige continues to browse and choose other commodity, and at this moment server just needs to remember that the identity of user can be together so as to all commodity
Checkout.
Cookie in HTTP provides this function.
Cookie works in this way: when user (code name User) accesses the website that some uses Cookie, the net
A unique identification code will be generated for User and generate one in the back-end data base of server in this, as index by standing
Project.Then the stem row of Set-cookie is added in the http response message to User.Here " header field name " for "
Set-cookie ", subsequent " value " are just to confer to the " identification code of the user ".
When User receives this response, browser just adds a line in the specific Cookie file that it is managed,
In include this server host name and Set-cookie identification code forth below.When User continues to browse this website
When, one HTTP request message of every transmission, browser will take out the identification code of this website simultaneously from its Cookie file
It is put into the Cookie stem row of HTTP request message.Then this website can track User in the activity of this website,
Also the commodity that can be realized as purchase are paid together.
In this step, if the type information of HTTP/HTTPS request shows that the type of current request is non-encrypted HTTP
Request, the default processing mode that setting network access proxies handle non-encrypted HTTP request information is the first default place
Reason mode;
If the type information of HTTP/HTTPS request shows that the type of current request is the HTTPS request of encryption, net is set
The default processing mode of the HTTPS request information of network access proxies processing encryption is the second default processing mode;In this way,
It can be directed to different HTTP/HTTPS request types, handled with corresponding default processing mode, improve the effect of processing
Rate.
In this step, by network access proxies, so that all network access requests are all by it come complete
At to realize the interception and analysis of network package.
S104: obtaining the second attribute information of network access proxies, and the second attribute accesses generation for realizing network
Manage the default extension function of server.
In this step, by the way that the second attribute is arranged, it can assign network access proxies different default extensions
Function.For extendable functions compared with the existing technology are limited, the processing method that the disclosure provides is provided more abundant
Default extension function, can satisfy the demand of different user, improves user experience.
S106: the packet that the Web programming language by operating in the preset format of server-side is write carries out matching for preset function
It sets, and controls the request event that network access proxies monitor any HTTP/HTTPS request by way of event monitoring
And/or the response events for any HTTP/HTTPS request.
In specific example, in terms of scalability, the packet write using Node.js has simple configuration, together
When allow to monitor all request and response by way of event monitoring, can by developer arbitrarily using extension function, very
To developed a completely new tool.It is run it should be noted that Node.js is one based on Chrome JavaScript
The platform of Shi Jianli, the network application for easily building fast response time, being easy to extend.Node.js uses event-driven,
Non-Blocking I/O model and be able to light weight and efficiently, be suitble to the real-time application of the operation data intensity on distributed apparatus.
Node.js goes to divide different functions using Module module, to simplify the exploitation of application.Modules module has
Point is as the class libraries in C Plus Plus.The class libraries of each Node.js contains each class function of very abundant, such as http mould
Block just contains many functions relevant with http function, and developer can be helped easily to compare such as http, tcp/udp etc.
It is operated, can also easily create the server of http and tcp/udp.
The use of module to be in a program very easily, it is only necessary to as follows:
Herein, http class libraries is introduced, and http variable is stored in the reference of http class libraries and is suffered.This when
It waits, node.js can search for the catalogue with the presence or absence of node_modules in the application, and search in this catalogue and whether there is
The module of http.If node.js can not find this catalogue, can be cached to global module in look for, user can pass through
Opposite or absolute path specifies the position of module.
Optionally, the method also includes:
Obtain the type information of HTTP/HTTPS request;
According to the type information that HTTP/HTTPS is requested, setting network access proxies handle HTTP/HTTPS request
The default processing mode of information handles corresponding HTTP/ in order to control network access proxies with default processing mode
HTTPS request information;
Wherein, presetting processing mode includes the first default processing mode and the second default processing mode, the first default processing
The type that mode corresponds to current request is non-encrypted HTTP request;Second default processing mode corresponds to the class of current request
Type is the HTTPS request of encryption.
Optionally, control network access proxies handle corresponding HTTP/HTTPS request letter with default processing mode
Breath includes:
If the type of current request is non-encrypted HTTP request, it is default with first to control network access proxies
Processing mode handles non-encrypted HTTP request information;And
Network access proxies handle non-encrypted HTTP request information with the first default processing mode
Network access proxies obtain corresponding requesting data information, and analyze requesting data information, obtain
To with the non-encrypted associated associated data of HTTP request;
Requesting data information and associated data are saved, and triggers corresponding request event;
Wherein, associated data includes at least: time-consuming data, the transmission information in each stage in each stage.
Above-mentioned only to enumerate some associated datas, associated data is there are also other contents, and this is no longer going to repeat them.
Optionally, control network access proxies handle corresponding HTTP/HTTPS request letter with default processing mode
Breath further include:
If the type of current request is the HTTPS request of encryption, it is default with second to control network access proxies
The HTTPS request information of processing mode processing encryption;And
Network access proxies handle the HTTPS request information encrypted with the second default processing mode
Any HTTPS request sends connection request to http proxy server, and connection request is the non-encrypted request of HTTP;
HTTP server monitors connection request, and connection request is directed into HTTPS server, and demonstrate,prove by built-in root
Bookmark is issued licence, and certificate is back to the client for being equipped with root certificate, in order to control network access proxies solution
The HTTPS request information of close encryption, wherein root certificate is used for grant a certificate solution confidential information;
Any HTTPS request is captured, and any HTTPS request is sent to request address, and obtain corresponding return
Information;
It collects and saves corresponding return information;Trigger corresponding response events.
Optionally, the method also includes:
Matched first preset rules of uniform resource locator with current HTTP/HTTPS request are obtained, and according to first
Preset rules modify to uniform resource locator, obtain modified address;In this way, request address mapping function is provided,
By capture request URL (Uniform Resource Locator, uniform resource locator), then with the first preset rules
It matches, realizes controllable request by the first preset rules after matching come modified address.
Uniform resource locator, which is called, does web page address, is the address of the resource of standard on internet.It is every on internet
A file has a unique URL, and the information that it includes points out how the position of file and browser should handle it.System
The beginning of one Resource Locator can generally indicate network protocol used in a computer network.
Optionally, the method also includes:
Obtain the second preset rules that inhibition request is sent;
If the format of current HTTP/HTTPS request meets the second preset rules of inhibition request transmission, forbid current
The transmission of HTTP/HTTPS request;In this way, forbid certain legal requests by configuring, it is regular when having matched these, this
A little requests will not be issued.
Optionally, the method also includes:
Visualization interface is set, and HTTP/HTTPS solicited message is checked by visual interface.
In practical application scene, for visualization interface, the desktop end App based on Electron is developed, it will
Important information is listed, and convenient Debugging interface is provided.
In this step, important information refers to: type information, the current HTTP/HTTPS of current HTTP/HTTPS request
Corresponding default processing mode information etc. is requested, other than the above-mentioned important information enumerated, there can also be other important letters
Breath, this is no longer going to repeat them.
Electron can allow user to call primary APIs (application abundant using pure JavaScript
Programe interfaces, application programming interfaces) create desktop application.Electron be absorbed in desktop application without
It is web server, a variant of io.js.
Electron uses GUI (Graphical User Interface, graphical user circle of the web page as it
Face), Electron can be counted as: one by JavaScript control, the Chromium browser of scaled-down version.
Graphic user interface GUI refers to the computer operation user interface shown using graphics mode.Graphic user interface
It is a kind of interface display formats that people communicates with computer, user is allowed to manipulate the icon on screen using input equipments such as mouses
Or menu option, with select command, calls file, startup program or execute some other everyday tasks.It is inputted with by keyboard
Text or character Command are compared to complete the textual interface of routine mission, and graphic user interface has many advantages.Graphical user circle
Face is made of window, drop-down menu, dialog box and its corresponding controlling mechanism, is all standardization in various new applications programs
, i.e., identical operate always is completed in the same way, and in graphic user interface, user sees and what is operated is all figure
Object.
Optionally, the method also includes:
By the HTTP Proxy of equipment to be debugged be configured under the same local area network default IP (Internet protocol,
Internet Protocol) address and default port address.
Internet protocol address is allocated to the digital label for the equipment of Internet protocol that user's online uses, so-called IP
Location is exactly 32 bit address of the host assignment to each connection on the internet.Optionally, the method also includes:
In processing of the starting to HTTP/HTTPS solicited message, two local servers are set, and local server includes
First local server and the second local server, the first local server is for monitoring HTTP request and monitoring HTTPS request
Preceding connection request, the second local server is for handling HTTPS request.
Optionally, second server includes: for handling HTTPS request
If second server receives request, trigger request event, wherein corresponding request is carried in request event
Information;
If triggering response events when second server respond request, wherein carry corresponding response in response events
Information.
The disclosure provides processing method, device, medium and the electronic equipment of a kind of HTTP/HTTPS solicited message, passes through fortune
Row carries out the configuration of preset function in the packet that the Web programming language of the preset format of server-side is write, and can enrich constantly network
The default extension function of access proxies, to meet the different demands of different user;And it is programmed by the Web of preset format
The configuration process that the packet that language is write carries out preset function is automatically performed, and simplifies existing excessively cumbersome functional configuration mistake
Journey.
Embodiment 2
As shown in Fig. 2, second aspect, the disclosure provides a kind of HTTP/HTTPS according to the specific embodiment of the disclosure
The processing unit of solicited message, the first attribute setting unit 202, acquiring unit 204, configuration unit 206 and monitoring unit 208
Deng specific as follows:
First attribute setting unit 202, for the network access agent service of processing HTTP/HTTPS solicited message to be arranged
First attribute of device;Wherein, the first attribute is used for the type information requested according to HTTP/HTTPS, and setting network access agent takes
The default processing mode for device processing HTTP/HTTPS solicited message of being engaged in, in order to control network access proxies with default place
Reason mode handles corresponding HTTP/HTTPS solicited message;
Acquiring unit 204, for obtaining the second attribute information of network access proxies, the second attribute for realizing
The default extension function of network access proxies;
Configuration unit 206, the packet write for the Web programming language by the preset format for operating in server-side carry out in advance
If the configuration of function;
Monitoring unit 208, for control the processing of network access proxies monitored by way of event monitoring it is any
HTTP/HTTPS request request event and/or, for any HTTP/HTTPS request response events.
Optionally, described device further include:
Acquiring unit 204 is also used to:
Obtain the type information of HTTP/HTTPS request;
Processing mode setting unit (is not shown) in Fig. 2, the HTTP/HTTPS for being got according to acquiring unit 204
The type information of request, setting network access proxies handle the default processing mode of HTTP/HTTPS solicited message, with
Corresponding HTTP/HTTPS solicited message is handled with default processing mode convenient for control network access proxies;
Wherein, the default processing mode of processing mode setting unit setting includes that the first default processing mode and second are default
Processing mode, the type that the first default processing mode corresponds to current request is non-encrypted HTTP request;Second default processing
The type that mode corresponds to current request is the HTTPS request encrypted.
Optionally, described device further include:
Control unit (is not shown) in Fig. 2, for controlling network access proxies with default processing mode processing
Corresponding HTTP/HTTPS solicited message.
Optionally, control unit is specifically used for:
If the type of current request is non-encrypted HTTP request, it is default with first to control network access proxies
Processing mode handles non-encrypted HTTP request information;And
Control network access proxies handle non-encrypted HTTP request information with the first default processing mode and include:
Network access proxies obtain corresponding requesting data information, and analyze requesting data information, obtain
To with the non-encrypted associated associated data of HTTP request;
Requesting data information and associated data are saved, and triggers corresponding request event;
Wherein, associated data includes at least: time-consuming data, the transmission information in each stage in each stage.
Optionally, control unit is specifically also used to:
If the type of current request is the HTTPS request of encryption, it is default with second to control network access proxies
The HTTPS request information of processing mode processing encryption;And
Control network access proxies handle the HTTPS request information encrypted with the second default processing mode
Any HTTPS request sends connection request to http proxy server, and connection request is the non-encrypted request of HTTP;
HTTP server monitors connection request, and connection request is directed into HTTPS server, and demonstrate,prove by built-in root
Bookmark is issued licence, and certificate is back to the client for being equipped with root certificate, in order to control network access proxies solution
The HTTPS request information of close encryption, wherein root certificate is used for grant a certificate solution confidential information;
Any HTTPS request is captured, and any HTTPS request is sent to request address, and obtain corresponding return
Information;
It collects and saves corresponding return information;Trigger corresponding response events.
Optionally, acquiring unit 204 is also used to:
Obtain matched first preset rules of uniform resource locator with current HTTP/HTTPS request;
Described device further include:
It modifies unit (being not shown in Fig. 2), the first preset rules for being got according to acquiring unit 204 are to unified
Resource Locator is modified, and modified address is obtained.
Optionally, acquiring unit 204 is also used to:
Obtain the second preset rules that inhibition request is sent;
Described device further include:
Forbid unit (being not shown in Fig. 2), if the format for current HTTP/HTTPS request meets acquiring unit 204
When the second preset rules that the inhibition request got is sent, then forbid the transmission of current HTTP/HTTPS request.
Optionally, described device further include:
Interface setting unit (is not shown) in Fig. 2, checks for visualization interface to be arranged, and by visual interface
HTTP/HTTPS solicited message.
The disclosure provides processing method, device, medium and the electronic equipment of a kind of HTTP/HTTPS solicited message, passes through fortune
Row carries out the configuration of preset function in the packet that the Web programming language of the preset format of server-side is write, and can enrich constantly network
The default extension function of access proxies, to meet the different demands of different user;And it is programmed by the Web of preset format
The configuration process that the packet that language is write carries out preset function is automatically performed, and simplifies existing excessively cumbersome functional configuration mistake
Journey.
Embodiment 3
As shown in figure 3, the equipment is used for the processing of HTTP/HTTPS solicited message the present embodiment provides a kind of electronic equipment
Method, the electronic equipment, comprising: at least one processor;And the storage being connect at least one described processor communication
Device;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by described at least one
Manage device execute so that at least one described processor can: by operate in server-side preset format Web programming language compile
The packet write carries out the configuration of preset function, the default extension function for the network access proxies that can enrich constantly, to meet
The different demands of different user;And the configuration process of preset function is carried out by the packet that the Web programming language of preset format is write
It is automatically performed, simplifies existing excessively cumbersome functional configuration process.
Embodiment 4
The embodiment of the present disclosure provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with
The request of the HTTP/HTTPS in above-mentioned any means embodiment can be performed in computer executable instructions, the computer executable instructions
The processing method of information.
Embodiment 5
Below with reference to Fig. 3, it illustrates the structural representations for the electronic equipment 300 for being suitable for being used to realize the embodiment of the present disclosure
Figure.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect
Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle
Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 3
Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 3, electronic equipment 300 may include processing unit (such as central processing unit, graphics processor etc.)
301, random access can be loaded into according to the program being stored in read-only memory (ROM) 302 or from storage device 308
Program in memory (RAM) 303 and execute various movements appropriate and processing.In RAM 303, it is also stored with electronic equipment
Various programs and data needed for 300 operations.Processing unit 301, ROM 302 and RAM 303 pass through the phase each other of bus 304
Even.Input/output (I/O) interface 305 is also connected to bus 304.
In general, following device can connect to I/O interface 305: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 306 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 307 of dynamic device etc.;Storage device 308 including such as tape, hard disk etc.;And communication device 309.Communication device
309, which can permit electronic equipment 300, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 3 shows tool
There is the electronic equipment 300 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 309, or from storage device 308
It is mounted, or is mounted from ROM302.When the computer program is executed by processing unit 301, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
Sub- equipment execute when so that the electronic equipment: the packet that the Web programming language by operating in the preset format of server-side is write into
The configuration of row preset function, the default extension function for the network access proxies that can enrich constantly, to meet different user
Different demands;And the configuration process for the packet progress preset function write by the Web programming language of preset format is automatic complete
At, simplify existing excessively cumbersome functional configuration process.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs
When being executed by the electronic equipment, so that the electronic equipment: the Web programming language by operating in the preset format of server-side is write
Packet carry out preset function configuration, the default extension function for the network access proxies that can enrich constantly, with meet not
With the different demands of user;And it is by the configuration process that the packet that the Web programming language of preset format is write carries out preset function
It is automatically performed, simplifies existing excessively cumbersome functional configuration process.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the
One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".