CN105740396A - HTTP data processing method and device - Google Patents

HTTP data processing method and device Download PDF

Info

Publication number
CN105740396A
CN105740396A CN201610057592.XA CN201610057592A CN105740396A CN 105740396 A CN105740396 A CN 105740396A CN 201610057592 A CN201610057592 A CN 201610057592A CN 105740396 A CN105740396 A CN 105740396A
Authority
CN
China
Prior art keywords
data
network
gripping tool
event
http
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610057592.XA
Other languages
Chinese (zh)
Other versions
CN105740396B (en
Inventor
周金剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610057592.XA priority Critical patent/CN105740396B/en
Publication of CN105740396A publication Critical patent/CN105740396A/en
Application granted granted Critical
Publication of CN105740396B publication Critical patent/CN105740396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention relates to a HTTP (Hyper Text Transfer Protocol) data processing method and device, and belongs to the technical field of a computer. The method comprises the following steps of inquiring an assembly interface of a network gripping tool; calling an HTTP communication data packet of a gripping target process of the network gripping tool according to the inquired assembly interface; and performing statistical processing on data contained in the gripped HTTP communication data packet. The problem of influence on the development period of a web application product due to great development difficulty and workload during the independent development of HTTP package capture and data processing programs is solved; and the effects of reducing the development difficulty and the workload, reducing the development time and shortening the web application product development period are achieved.

Description

HTTP data processing method and device
Technical field
The present invention relates to field of computer technology, particularly to a kind of HTTP data processing method and device.
Background technology
Web application be a kind of can by the web application program accessed, during its advantage, user is readily accessible to, namely user have only in the electronic device install browser namely may browse through web apply, it is not necessary to other assemblies or program are additionally installed again.
Applying for the web based on HTTP (HyperTextTransferProtocol, HTML (Hypertext Markup Language)) protocol development, developer is in the process of exploitation, test and O&M, it is necessary to the HTTP packet of web application is captured and analyzed.Owing to existing network packet catcher can only show the data grabbed in the display area of oneself, its data grabbed cannot be carried out statistics etc. and process by developer, therefore, current developer's way is the program processed containing HTTP packet capturing+data of independent development complete set.
In the process realizing the present invention, it is found by the applicant that prior art there are the following problems:
When independent development comprises the program that HTTP packet capturing+data process, relate to the realization of HTTP underlying protocol packet capturing, development difficulty and workload relatively big, affect the construction cycle of web application product.
Summary of the invention
Embodiments providing a kind of HTTP data processing method and device, technical scheme is as follows:
First aspect according to embodiments of the present invention, it is provided that a kind of HTTP data processing method, including:
The component interface of requester network gripping tool;
Call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process;
The data comprised in this http communication packet grabbed are carried out statistical disposition.
Optionally, the component interface that this basis inquires calls network gripping tool and captures the HTML (Hypertext Markup Language) HTTP packet of target process, including:
Detect whether this target process is currently running;
If testing result is currently running for this target process, then calls network gripping tool backstage according to this component interface and capture the http communication packet in predetermined amount of time;
This http communication packet grabbed is preserved to specifying document.
Optionally, these data comprised in this http communication packet to grabbing carry out statistical disposition, including:
Adding up in the data that this http communication packet comprises, it is intended that the data that event is corresponding, data corresponding to this appointment event include: whether this appointment event report, on call time, event version and Event origin;
The data that this appointment event is corresponding are stored.
Optionally, the method also includes:
The data genaration chart corresponding according to this appointment event or event report.
Optionally, the component interface of this requester network gripping tool, including:
Obtain the mark of this network gripping tool;
Mark according to this network gripping tool, inquires about this component interface from network side.
Second aspect according to embodiments of the present invention, it is provided that a kind of HTTP data processing equipment, including:
Enquiry module, for the component interface of requester network gripping tool;
Handling module, captures the HTML (Hypertext Markup Language) http communication packet of target process for calling network gripping tool according to the component interface inquired;
Processing module, for carrying out statistical disposition to the data comprised in this http communication packet grabbed.
Optionally, this handling module, including:
Detection unit, is used for detecting whether this target process is currently running;
Placement unit, if the testing result for this detection unit is currently running for this target process, then calls network gripping tool according to this component interface and captures the http communication packet in subsequent predetermined time section;
Storage unit, preserves to specifying document for this http communication packet that will grab.
Optionally, this processing module, including:
Statistic unit, for adding up in the data that this http communication packet comprises, it is intended that the data that event is corresponding, and data corresponding to this appointment event include: whether this appointment event report, on call time, event version and Event origin;
Memory element, for storing the data that this appointment event is corresponding.
Optionally, this device also includes:
Generation module, for the data genaration chart corresponding according to this appointment event or event report.
Optionally, this enquiry module, including:
Mark acquiring unit, for obtaining the mark of this network gripping tool;
Interface polls unit, for the mark according to this network gripping tool, inquires about this component interface from network side.
The technical scheme that the embodiment of the present invention provides can include following beneficial effect:
Component interface by requester network gripping tool, call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process, the data comprised in this http communication packet grabbed are carried out statistical disposition;Based on existing network gripping tool component interface called the http communication packet capturing target process, and the packet grabbed is carried out statistical disposition, when solving the program that independent development comprises HTTP packet capturing+data process, development difficulty and workload are bigger, the problem affecting the construction cycle of web application product, reduce development difficulty and workload, save the development time, shorten the effect of web application product construction cycle.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the present invention can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets embodiments of the invention, and is used for explaining principles of the invention together with description.
Fig. 1 is the flow chart of a kind of HTTP data processing method according to an exemplary embodiment;
Fig. 2 is the flow chart of a kind of HTTP data processing method according to another exemplary embodiment;
Fig. 3 is the block diagram of a kind of HTTP data processing equipment according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of HTTP data processing equipment according to another exemplary embodiment;
Fig. 5 is the block diagram of a kind of equipment according to an exemplary embodiment;
Fig. 6 is the block diagram of a kind of equipment according to an exemplary embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings.When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with in appended claims describe in detail, the present invention some in the example of consistent apparatus and method.
The method that the embodiment of the present invention provides, can be applicable in the electronic equipment of installation and operation application program.Such as, electronic equipment includes but not limited to the electronic equipments such as PC (PersonalComputer, personal computer), mobile phone, panel computer, kneetop computer and wearable device.Wherein, application program can be web application, and this web application in the operating systems such as window system, Mac system, Unix system or linux system, can run based on browser program mounted in operating system.
Fig. 1 is the flow chart of a kind of HTTP data processing method according to an exemplary embodiment, the method may be used in electronic equipment, this electronic equipment can be the electronic equipments such as PC, mobile phone, panel computer, kneetop computer and wearable device, as it is shown in figure 1, the method can include following several step.
In a step 101, the component interface of requester network gripping tool.
In a step 102, call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process.
In step 103, the data comprised in this http communication packet grabbed are carried out statistical disposition.
In sum, the HTTP data processing method that the present embodiment provides, component interface by requester network gripping tool, call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process, the data comprised in this http communication packet grabbed are carried out statistical disposition, when solving the program that independent development comprises HTTP packet capturing+data process, development difficulty and workload are bigger, the problem affecting the construction cycle of web application product, reduce development difficulty and workload, save the development time, shorten the effect of web application product construction cycle.
The method that the above embodiment of the present invention provides, by obtaining the com (component that existing third party's network gripping tool provides, assembly) interface, network gripping tool object is got by com interface, the API approach of network gripping tool can be called by self-programming means after object acquisition, thus the function such as crawl and storage of realizing packet, after packet capturing terminates, the data got off automatically extract required data from automatically saving and is acted upon.Pass through said method, it is possible to save and independently go to develop the code realizing bottom packet capturing, called the crawl that just can realize being carried out HTTP packet by existing network gripping tool by component interface.Such scheme will be illustrated by the following examples of the present invention in conjunction with concrete application scenarios.
Fig. 2 is the flow chart of a kind of HTTP data processing method according to another exemplary embodiment, the method may be used in electronic equipment, this electronic equipment can be the electronic equipments such as PC, mobile phone, panel computer, kneetop computer and wearable device, as in figure 2 it is shown, the method can include following several step.
In step 201, the component interface of requester network gripping tool.
In embodiments of the present invention, electronic equipment can obtain the mark of network gripping tool, inquires about this component interface according to the mark of this network gripping tool from network side.
Such as, language is realized for AutoIT language with program, network gripping tool is HttpAnalyzer is example, the server of network side can store the HttpAnalyzer component interface called for each different programming languages, after electronic equipment obtains the mark of HttpAnalyzer, the component interface of HttpAnalyzer corresponding A utoIT language can be inquired about to network side, or, electronic equipment can also inquire about the help handbook (it can be a txt document) of locally stored HttpAnalyzer, to obtain the component interface of HttpAnalyzer corresponding A utoIT language;Its code can be such that
$ oInternet=ObjCreate (" HTTPAnalyzerStd.HTTPAnalyzerStandAlone ")
In step 202., call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process.
In embodiments of the present invention, electronic equipment can pass through the method that the component interface that inquires call network gripping tool, realizing network gripping tool and automatically start packet capturing on backstage monitor in real time, backstage, stops packet capturing, Packet Filtering and the function such as automatically saves.
Such as, with network gripping tool for HttpAnalyzer, script is AutoIT language is example, arranges the code that network gripping tool starts on backstage and can be such that
$ oInternet.Visible=$ Visible
Arrange running background to be advantageous in that, it is possible to after monitor in real time http communication packet, it is possible to process other task.
When the component interface passing through to inquire calls the HTML (Hypertext Markup Language) http communication packet that network gripping tool captures target process, electronic equipment can detect whether this target process is currently running, if testing result is currently running for this target process, then call network gripping tool backstage according to this component interface and capture the http communication packet in predetermined amount of time, and this http communication packet grabbed is preserved to specifying document.Same with network gripping tool for HttpAnalyzer, script is AutoIT language is example, and its code can be accomplished by
Above-mentioned code represents: by monitoring A process (i.e. target process, A is process title), and start packet grasping movement, stop grasping movement after the http communication packet that before capturing, the A process of 5s is corresponding, the http communication packet grabbed is saved in data.txt file.
In step 203, adding up in the data that this http communication packet comprises, it is intended that the data that event is corresponding, data corresponding to this appointment event include: whether this appointment event report, on call time, event version and Event origin.
Comprising the whole http communication packets carried out with network side in target process at the appointed time section in the http communication packet that electronic equipment grabs in above-mentioned steps, wherein generally only some is the data that developer needs.In embodiments of the present invention, after electronic equipment grabs http communication packet, data in http communication packet can be screened, add up the data of wherein developer's demand, the data that such as crash event is corresponding, including collapse report time, collapse version, channel source, collapse whether report.
In step 204, the data that this appointment event is corresponding are stored.
After electronic equipment counts the data that appointment event is corresponding, the data counted are stored in other document, in order to follow-up further process.
Same with network gripping tool for HttpAnalyzer, script is AutoIT language, it is intended that event is crash event is example, and the code of above-mentioned steps 203 and step 204 can be accomplished by
In step 205, according to data genaration chart corresponding to this appointment event or event report.
In the embodiment of the present invention, after the data specifying event corresponding are stored by electronic equipment, it is possible to the chart corresponding according to this appointment event of data genaration that this appointment event is corresponding or event report, in order to subsequent development personnel check.
In sum, the HTTP data processing method that the embodiment of the present invention provides, component interface by requester network gripping tool, call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process, the data comprised in this http communication packet grabbed are carried out statistical disposition, when solving the program that independent development comprises HTTP packet capturing+data process, development difficulty and workload are bigger, the problem affecting the construction cycle of web application product, reduce development difficulty and workload, save the development time, shorten the effect of web application product construction cycle.
Fig. 3 is the block diagram of a kind of HTTP data processing equipment provided according to an exemplary embodiment.Device can be applicable in electronic equipment, and this electronic equipment can be the electronic equipments such as PC, mobile phone, panel computer, kneetop computer and wearable device, as it is shown on figure 3, this device comprises the steps that enquiry module 301, handling module 302 and processing module 303.
Enquiry module 301, for the component interface of requester network gripping tool;
Handling module 302, captures the HTML (Hypertext Markup Language) http communication packet of target process for calling described network gripping tool according to the component interface inquired;
Processing module 303, for carrying out statistical disposition to the data comprised in the described http communication packet grabbed.
In sum, the HTTP data processing equipment that the present embodiment provides, component interface by requester network gripping tool, call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process, the data comprised in this http communication packet grabbed are carried out statistical disposition, when solving the program that independent development comprises HTTP packet capturing+data process, development difficulty and workload are bigger, the problem affecting the construction cycle of web application product, reduce development difficulty and workload, save the development time, shorten the effect of web application product construction cycle.
Fig. 4 is the block diagram of a kind of HTTP data processing equipment provided according to another exemplary embodiment.Device can be applicable in above-mentioned electronic equipment, and this electronic equipment can be the electronic equipments such as PC, mobile phone, panel computer, kneetop computer and wearable device, and as shown in Figure 4, this device comprises the steps that enquiry module 401, handling module 402 and processing module 403.
Enquiry module 401, for the component interface of requester network gripping tool;
Handling module 402, captures the HTML (Hypertext Markup Language) http communication packet of target process for calling described network gripping tool according to the component interface inquired;
Processing module 403, for carrying out statistical disposition to the data comprised in the described http communication packet grabbed.
Optionally, described handling module 402, including:
Detection unit 402a, is used for detecting whether described target process is currently running;
Placement unit 402b, if the testing result for described detection unit 402a is that described target process is currently running, then calls described network gripping tool according to described component interface and captures the http communication packet in subsequent predetermined time section;
Storage unit 402c, preserves to specifying document for the described http communication packet that will grab.
Optionally, described processing module 403, including:
Statistic unit 403a, for adding up in the data that described http communication packet comprises, it is intended that the data that event is corresponding, and data corresponding to described appointment event include: whether described appointment event report, on call time, event version and Event origin;
Memory element 403b, for storing the data that described appointment event is corresponding.
Optionally, described device also includes:
Generation module 404, for the data genaration chart corresponding according to described appointment event or event report.
Optionally, described enquiry module 401, including:
Mark acquiring unit 401a, for obtaining the mark of described network gripping tool;
Interface polls unit 401b, for the mark according to described network gripping tool, inquires about described component interface from network side.
In sum, the HTTP data processing equipment that the embodiment of the present invention provides, component interface by requester network gripping tool, call network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process, the data comprised in this http communication packet grabbed are carried out statistical disposition, when solving the program that independent development comprises HTTP packet capturing+data process, development difficulty and workload are bigger, the problem affecting the construction cycle of web application product, reduce development difficulty and workload, save the development time, shorten the effect of web application product construction cycle.
Fig. 5 is the structural representation of the equipment 500 provided according to one embodiment of the invention.Such as, equipment 500 can be a PC.With reference to Fig. 5, equipment 500 includes processing assembly 522, and it farther includes one or more processor and the memory resource representated by memorizer 532, for storing the instruction that can be performed by processing component 522, for instance application program.In memorizer 532 application program of storage can include one or more each corresponding to the module of one group of instruction.It is configured to perform instruction additionally, process assembly 522, to perform above-mentioned HTTP data processing method.
Equipment 500 can also include a power supply module 526 and be configured to the power management of execution equipment 500, and a wired or wireless network interface 550 is configured to be connected to equipment 500 network and input and output (I/O) interface 558.Equipment 500 can operate based on the operating system being stored in memorizer 532, for instance WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Refer to Fig. 6, it illustrates the structural representation of the equipment 600 that one embodiment of the invention provides.This electronic equipment can be the electronic equipments such as mobile phone, panel computer, kneetop computer and wearable device.Specifically:
Equipment 600 can include RF circuit 610, includes the memorizer 620 of one or more computer-readable recording mediums, input block 630, display unit 640, sensor 650, voicefrequency circuit 660, WiFi (wirelessfidelity, Wireless Fidelity) module 670, includes the parts such as processor 680 and power supply 690 of or more than one process core.It will be understood by those skilled in the art that the device structure shown in Fig. 6 is not intended that the restriction to equipment, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged.Wherein:
RF circuit 610 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to one or more than one processor 680 processes;It addition, be sent to base station by relating to up data.Usual RF circuit includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder, LNA (LowNoiseAmplifier, low-noise amplifier), duplexer etc..Communicate additionally, RF circuit can also pass through radio communication with network and other equipment.nullRadio communication can use arbitrary communication standard or agreement,Include but not limited to GSM (GlobalSystemofMobilecommunication,Global system for mobile communications)、GPRS(GeneralPacketRadioService,General packet radio service)、CDMA(CodeDivisionMultipleAccess,CDMA)、WCDMA(WidebandCodeDivisionMultipleAccess,WCDMA)、LTE(LongTermEvolution,Long Term Evolution)、Email、SMS(ShortMessagingService,Short Message Service) etc..
Memorizer 620 can be used for storing software program and module.Processor 680 is stored in software program and the module of memorizer 620 by running, thus performing the application of various function and data process.Memorizer 620 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function;Storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to equipment 600 creates.Additionally, memorizer 620 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 620 can also include Memory Controller, to provide processor 680 and the input block 630 access to memorizer 620.
Input block 630 can be used for receiving numeral or the character information of input, and produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal and input.Specifically, input block 630 can include Touch sensitive surface 631 and other input equipments 632.Touch sensitive surface 631, also referred to as touching display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on Touch sensitive surface 631 or near Touch sensitive surface 631), and drive corresponding connecting device according to formula set in advance.Optionally, Touch sensitive surface 631 can include touch detecting apparatus and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 680, and can receive order that processor 680 sends and be performed.Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Touch sensitive surface 631.Except Touch sensitive surface 631, input block 630 can also include other input equipments 632.Specifically, other input equipments 632 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 640 can be used for showing the various graphical user interface of information or the information being supplied to user and the equipment 100 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 640 can include display floater 641, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 641.Further, Touch sensitive surface 631 can cover on display floater 641, when Touch sensitive surface 631 detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display floater 641, provide corresponding visual output with preprocessor 680 according to the type of touch event.Although in figure 6, Touch sensitive surface 631 and display floater 641 are to realize input and input function as two independent parts, but in some embodiments it is possible to by integrated to Touch sensitive surface 631 and display floater 641 and realize input and output function.
Equipment 600 may also include at least one sensor 650, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate the brightness of display floater 641 according to the light and shade of ambient light, proximity transducer when equipment 600 moves in one's ear, can cut out display floater 641 and/or backlight.One as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.;Other sensors such as the gyroscope that can also configure as equipment 600, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, speaker 621, microphone 622 can provide the audio interface between user and equipment 600.Voicefrequency circuit 660 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 621, by speaker 621 be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 622, voice data is converted to after being received by voicefrequency circuit 660, after again voice data output processor 680 being processed, through RF circuit 610 to be sent to another equipment, or voice data is exported to memorizer 620 to process further.Voicefrequency circuit 660 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and equipment 600.
WiFi belongs to short range wireless transmission technology, and equipment 600 can help user to send and receive e-mail by WiFi module 670, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.Although Fig. 6 illustrates WiFi module 670, but it is understood that, it is also not belonging to must be configured into of equipment 600, completely can as needed in do not change invention essence scope in and omit.
Processor 680 is the control centre of equipment 600, utilize various interface and the various piece of the whole equipment of connection, it is stored in the software program in memorizer 620 and/or module by running or performing, and call the data being stored in memorizer 620, the various functions of execution equipment 600 and process data, thus carrying out integral monitoring to equipment.Optionally, processor 680 can include one or more process core;Optionally, processor 680 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Equipment 600 also includes the power supply 690 (such as battery) powered to all parts, preferably, it is logically contiguous with processor 680 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system.Power supply 690 can also include one or more direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, equipment 600 can also include photographic head, bluetooth module etc., does not repeat them here.
Equipment 600 also includes memorizer, and one or more than one program, one of them or more than one program are stored in memorizer, and be configured to be performed by one or more than one processor, electronic equipment 600 is made to be able to carry out shown in above-mentioned Fig. 1 or Fig. 2, electronic equipment all or part of step in the HTTP data processing method performed.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the present invention.The application is intended to any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the present invention and include the undocumented known general knowledge in the art of the present invention or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the present invention and spirit are pointed out by claim below.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. a HTTP data processing method, it is characterised in that described method includes:
The component interface of requester network gripping tool;
Call described network gripping tool according to the component interface inquired and capture the HTML (Hypertext Markup Language) http communication packet of target process;
The data comprised in the described http communication packet grabbed are carried out statistical disposition.
2. method according to claim 1, it is characterised in that the component interface that described basis inquires calls described network gripping tool and captures the HTML (Hypertext Markup Language) HTTP packet of target process, including:
Detect whether described target process is currently running;
It is currently running if testing result is described target process, then calls described network gripping tool backstage according to described component interface and capture the http communication packet in predetermined amount of time;
The described http communication packet grabbed is preserved to specifying document.
3. method according to claim 1, it is characterised in that the data comprised in the described described http communication packet to grabbing carry out statistical disposition, including:
Adding up in the data that described http communication packet comprises, it is intended that the data that event is corresponding, data corresponding to described appointment event include: whether described appointment event report, on call time, event version and Event origin;
The data that described appointment event is corresponding are stored.
4. method according to claim 3, it is characterised in that described method also includes:
The data genaration chart corresponding according to described appointment event or event report.
5. method according to claim 1, it is characterised in that the component interface of described requester network gripping tool, including:
Obtain the mark of described network gripping tool;
Mark according to described network gripping tool, inquires about described component interface from network side.
6. a HTTP data processing equipment, it is characterised in that described device includes:
Enquiry module, for the component interface of requester network gripping tool;
Handling module, captures the HTML (Hypertext Markup Language) http communication packet of target process for calling described network gripping tool according to the component interface inquired;
Processing module, for carrying out statistical disposition to the data comprised in the described http communication packet grabbed.
7. device according to claim 6, it is characterised in that described handling module, including:
Detection unit, is used for detecting whether described target process is currently running;
Placement unit, if the testing result for described detection unit is that described target process is currently running, then calls described network gripping tool according to described component interface and captures the http communication packet in subsequent predetermined time section;
Storage unit, preserves to specifying document for the described http communication packet that will grab.
8. device according to claim 6, it is characterised in that described processing module, including:
Statistic unit, for adding up in the data that described http communication packet comprises, it is intended that the data that event is corresponding, and data corresponding to described appointment event include: whether described appointment event report, on call time, event version and Event origin;
Memory element, for storing the data that described appointment event is corresponding.
9. device according to claim 8, it is characterised in that described device also includes:
Generation module, for the data genaration chart corresponding according to described appointment event or event report.
10. device according to claim 6, it is characterised in that described enquiry module, including:
Mark acquiring unit, for obtaining the mark of described network gripping tool;
Interface polls unit, for the mark according to described network gripping tool, inquires about described component interface from network side.
CN201610057592.XA 2016-01-27 2016-01-27 HTTP data processing method and device Active CN105740396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610057592.XA CN105740396B (en) 2016-01-27 2016-01-27 HTTP data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610057592.XA CN105740396B (en) 2016-01-27 2016-01-27 HTTP data processing method and device

Publications (2)

Publication Number Publication Date
CN105740396A true CN105740396A (en) 2016-07-06
CN105740396B CN105740396B (en) 2019-12-10

Family

ID=56246771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610057592.XA Active CN105740396B (en) 2016-01-27 2016-01-27 HTTP data processing method and device

Country Status (1)

Country Link
CN (1) CN105740396B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113771A (en) * 2019-03-22 2019-08-09 深圳市飞比电子科技有限公司 Data processing method, device, gateway and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045220A (en) * 2010-12-09 2011-05-04 国都兴业信息审计系统技术(北京)有限公司 Wooden horse monitoring and auditing method and system thereof
CN102664935A (en) * 2012-04-06 2012-09-12 北京锐安科技有限公司 Method and system for associated output of WEB class user behavior and user information
US8577956B2 (en) * 2006-03-01 2013-11-05 Riverbed Technology User-configurable network performance monitors
CN103763125A (en) * 2013-12-27 2014-04-30 北京集奥聚合科技有限公司 Statistical method and device for number of actual users in operator network
CN104022924A (en) * 2014-07-02 2014-09-03 浪潮电子信息产业股份有限公司 Method for detecting HTTP (hyper text transfer protocol) communication content

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8577956B2 (en) * 2006-03-01 2013-11-05 Riverbed Technology User-configurable network performance monitors
CN102045220A (en) * 2010-12-09 2011-05-04 国都兴业信息审计系统技术(北京)有限公司 Wooden horse monitoring and auditing method and system thereof
CN102664935A (en) * 2012-04-06 2012-09-12 北京锐安科技有限公司 Method and system for associated output of WEB class user behavior and user information
CN103763125A (en) * 2013-12-27 2014-04-30 北京集奥聚合科技有限公司 Statistical method and device for number of actual users in operator network
CN104022924A (en) * 2014-07-02 2014-09-03 浪潮电子信息产业股份有限公司 Method for detecting HTTP (hyper text transfer protocol) communication content

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113771A (en) * 2019-03-22 2019-08-09 深圳市飞比电子科技有限公司 Data processing method, device, gateway and storage medium

Also Published As

Publication number Publication date
CN105740396B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN103617165B (en) Picture loading method, device and terminal
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN105824958A (en) Method, device and system for inquiring log
CN104572690B (en) A kind of methods, devices and systems obtaining web data
CN109117361A (en) A kind of remote debugging method of small routine, relevant device and system
CN106547844B (en) A kind for the treatment of method and apparatus of user interface
CN104123276B (en) The hold-up interception method of pop-up, device and system in a kind of browser
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
US20140317483A1 (en) Method and terminal for adding quick link
CN107391198B (en) Method for scheduling task and device, computer readable storage medium, mobile terminal
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN105740145A (en) Method and device for locating element in control
CN104423822A (en) Automated test script recording method and device
CN103336838B (en) A kind of processing method of webpage, device and terminal device
CN104699501B (en) A kind of method and device for running application program
CN106294159A (en) A kind of method controlling screenshotss and screenshotss control device
CN105992026A (en) Method and device for displaying barrage comment information
CN106022058A (en) Fingerprint unlocking method and terminal
CN103399706B (en) Page interaction, device and terminal
CN105740419A (en) Method and apparatus for acquiring dynamically loaded content in webpage
CN103455602A (en) Video URL (Uniform Resource Locator) capturing method and device and terminal equipment
CN103824003B (en) application program protecting method, device and terminal
CN108959062B (en) Webpage element acquisition method and device
CN109688611A (en) A kind of configuration method, device, terminal and the storage medium of frequency range parameter
CN105703808A (en) Method and device for transmitting data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

GR01 Patent grant
GR01 Patent grant