CN104796929A - Network debugging method and device - Google Patents

Network debugging method and device Download PDF

Info

Publication number
CN104796929A
CN104796929A CN201410030478.9A CN201410030478A CN104796929A CN 104796929 A CN104796929 A CN 104796929A CN 201410030478 A CN201410030478 A CN 201410030478A CN 104796929 A CN104796929 A CN 104796929A
Authority
CN
China
Prior art keywords
journals
networked
parameter
mobile phone
phone browser
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
CN201410030478.9A
Other languages
Chinese (zh)
Other versions
CN104796929B (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.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410030478.9A priority Critical patent/CN104796929B/en
Publication of CN104796929A publication Critical patent/CN104796929A/en
Application granted granted Critical
Publication of CN104796929B publication Critical patent/CN104796929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a network debugging method and a device. The network debugging method, which can be applied to network debugging of a mobile phone browser, comprises steps: the mobile phone browser acquires network debugging parameters; according to the network debugging parameters, the mobile phone browser sends a hypertext transfer protocol (HTTP) access request to a target webpage; the mobile phone browser receives a HTTP access response returned by the target webpage; and according to the sent HTTP access request and the received HTTP access response, network debugging is carried out on the mobile phone browser. During the debugging process, the mobile phone browser is not limited by a personal computer and a network debugger, and network debugging can be carried out at any time and at any place.

Description

Networked E-Journals method and device
Technical field
The embodiment of the present invention relates to the communication technology, particularly relates to a kind of Networked E-Journals method and device.
Background technology
Mobile phone browser is the browser operated on mobile phone, can pass through GPRS (General Packet Radio Service, be called for short GPRS) or Wi-Fi business carries out surfing the web internet content.
In prior art, mobile phone browser is when carrying out Networked E-Journals, need by the Networked E-Journals instrument in personal computer or be connected directly between on the independent Networked E-Journals device arranged, developer checks by the Networked E-Journals instrument in personal computer or the independent Networked E-Journals device arranged the network parameter that mobile phone browser produces in upper network process, then developer is according to this network parameter, Networked E-Journals is carried out to mobile phone browser, thus makes mobile phone browser better for user provides services on the Internet.
But, due to the debugging of mobile phone browser must connect by individual calculus in Networked E-Journals instrument or the independent Networked E-Journals device arranged on, cause mobile phone browser in debug process, be subject to many limitations, Networked E-Journals can not be carried out anywhere or anytime.
Summary of the invention
The embodiment of the present invention provides a kind of Networked E-Journals method and device, with mobile phone browser when carrying out Networked E-Journals, not by the restriction of external equipment, can carry out Networked E-Journals anywhere or anytime.
First aspect, the embodiment of the present invention provides a kind of Networked E-Journals method, is applied to the Networked E-Journals of mobile phone browser, comprises:
Mobile phone browser obtains Networked E-Journals parameter;
Described mobile phone browser, according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web;
Described mobile phone browser receives the HTTP access response that described target web returns;
The described HTTP access request of described mobile phone browser according to transmission and the described HTTP access response of reception, carry out Networked E-Journals to described mobile phone browser.
Second aspect, the embodiment of the present invention provides a kind of Networked E-Journals device, and described Networked E-Journals device is embedded in mobile phone browser, comprising:
Acquisition module, for obtaining Networked E-Journals parameter;
Network sending module, for according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web;
Network reception module, for receiving the HTTP access response that described target web returns;
Debugging module, for the described HTTP access response according to the described HTTP access request sent and reception, carries out Networked E-Journals to described mobile phone browser.
The Networked E-Journals method that the present embodiment provides and device, Networked E-Journals parameter is obtained by mobile phone browser, according to described Networked E-Journals parameter, HTML (Hypertext Markup Language) HTTP access request is sent to target web, receive the HTTP access response that described target web returns, according to the described HTTP access request of transmission and the described HTTP access response of reception, Networked E-Journals is carried out to described mobile phone browser, make mobile phone browser in debug process, do not need the restriction being subject to personal computer and Networked E-Journals device, Networked E-Journals can be carried out anywhere or anytime.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of Networked E-Journals embodiment of the method one of the present invention;
Fig. 2 is the structural representation of Networked E-Journals device embodiment one of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of Networked E-Journals embodiment of the method one of the present invention.The Networked E-Journals method of the present embodiment is applied to the Networked E-Journals of mobile phone browser, and can be realized by arbitrary Networked E-Journals device, this Networked E-Journals device can by software and/or hardware implementing.This Networked E-Journals device can be embedded in mobile phone browser.As shown in Figure 1, the Networked E-Journals method that the present embodiment provides, comprising:
Step 101, mobile phone browser obtain Networked E-Journals parameter;
Step 102, described mobile phone browser, according to described Networked E-Journals parameter, send HTML (Hypertext Markup Language) HTTP access request to target web;
Step 103, described mobile phone browser receive the HTTP access response that described target web returns;
Step 104, the described mobile phone browser described HTTP access request according to transmission and the described HTTP access response of reception, carry out Networked E-Journals to described mobile phone browser.
In specific implementation process, the Networked E-Journals method that the present embodiment provides may be used in mobile phone browser, such as Tengxun's browser, UC browser etc.For the specific implementation of mobile phone browser, the present embodiment is not particularly limited herein.When carrying out Networked E-Journals to mobile phone browser, relate generally to the debugging of mobile phone browser by http protocol accessed web page.
In a step 101, mobile phone browser first obtains Networked E-Journals parameter.Wherein, Networked E-Journals parameter comprises at least one in the Connecting quantity of the requesting method parameter of HTML (Hypertext Markup Language) (Hyper Text transfer protocol, be called for short HTTP), user agent's parameter of HTTP, HTTP.
Wherein, the requesting method parameter of HTTP comprises eight kinds, is respectively OPTIONS, HEAD, GET, POST, PUT, DELETE, TRACE, CONNECT, and conventional requesting method parameter is GET, HEAD, POST; User agent's parameter of HTTP mainly refers to the parameter corresponding with user agent, different user agents, corresponding different parameters; The Connecting quantity of HTTP is divided into direct-connected and indirect Connecting quantity two kinds, direct-connectedly refers to that mobile phone browser is directly connected with destination server, indirectly connects and refers to that mobile phone browser is connected with destination server by third-party server.The present embodiment is not particularly limited the kind of Networked E-Journals parameter and type, and other Networked E-Journals parameter also may be used in the present embodiment.
In specific implementation process, mobile phone browser obtains Networked E-Journals parameter and comprises following possible implementation:
A possible implementation, described mobile phone browser obtains the Networked E-Journals request that user triggers, and shows Networked E-Journals parameters input dialog box to user, obtains the described Networked E-Journals parameter of user's input.
Another kind of possible implementation, described mobile phone browser obtains the web-page requests that user triggers, to user's display update web-page requests dialog box, web-page requests parameter is revised to make user, obtain the amended web-page requests parameter of user, using amended for described user web-page requests parameter as described Networked E-Journals parameter.
Particularly, user opens Networked E-Journals function in the arranging of mobile phone browser, and selects Networked E-Journals request or web-page requests.Wherein, Networked E-Journals function also can be placed in popup menu or toolbar in not limiting to and being placed on and arranging.
When user selects Networked E-Journals request, mobile phone browser obtains the Networked E-Journals request that user triggers, Networked E-Journals parameters input dialog box is shown to user, user inserts Networked E-Journals parameter in this Networked E-Journals parameters input dialog box, thus mobile phone browser obtains the Networked E-Journals parameter of user's input.Wherein Networked E-Journals request is simulation web-page requests, is not normal network request.Such as, user simulates the HTTP request of an access www.qq.com, in Networked E-Journals parameters input dialog box, HTTP request method (Method) inserts GET, receive mode (Accept) inserts text/html or application/xhtml+xml, user agent (User Agent) inserts the user agent of IE, and Host inserts www.qq.com, and connected mode (Connection) inserts Keep-Alive.
When user selects web-page requests, i.e. the normal request of accessed web page, mobile phone browser obtains the web-page requests that user triggers, and to user's display update web-page requests dialog box, revises web-page requests parameter to make user.User can according to different demand amendment HTTP web-page requests parameter.Such as, the cookie content or amendment UA content etc. of amendment this time request, mobile phone browser obtains the amended web-page requests parameter of user, using amended for user web-page requests parameter as Networked E-Journals parameter.
The present embodiment obtains Networked E-Journals parameter by two kinds of modes, obtains the multiple implementation of Networked E-Journals parameter, makes the Networked E-Journals method of mobile phone browser varied, facilitate user and realize Networked E-Journals.
In a step 102, mobile phone browser, according to Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web.
Particularly, the Networked E-Journals parameter that mobile phone browser is determined according to user, produces HTTP access request, and the http protocol of reference standard, this HTTP access request is packaged.It will be understood by those skilled in the art that Networked E-Journals parameter specifically may reside in the request header of HTTP access request.After group bag, send this HTTP access request to target web.In the process, mobile phone browser can also record the time sending HTTP access request.
In step 103, the HTTP access response that returns of mobile phone browser receiving target webpage.
Particularly, mobile phone browser receives the HTTP access response that target web returns, the http protocol of reference standard, unpacks this HTTP access response, obtains http response head.In specific implementation process, with a state responsively, the content of response comprises the physical contents of the version of messaging protocol, success or error coded, server info, entity metamessage and necessity to server corresponding to target web.In the process, mobile phone browser can also record the time receiving HTTP access response.
When the Networked E-Journals of mobile phone browser is completed by user or research staff, mobile phone browser shows the request header of HTTP access request, the first-class information of response of HTTP access response on display interface, carries out Networked E-Journals to make user or research staff.
Alternatively, mobile phone browser uses socket socket to realize sending HTTP access request and receiving HTTP access response.
At step 104, the HTTP access request of mobile phone browser according to transmission and the HTTP access response of reception, carry out Networked E-Journals to mobile phone browser.
When Networked E-Journals is completed by mobile phone browser, the HTTP access request of mobile phone browser according to transmission and the HTTP access response of reception, carry out Networked E-Journals to mobile phone browser.
Particularly, mobile phone browser can from sending the time of HTTP access request and receiving the time interval of time and the relation of prefixed time interval of HTTP access response, or mobile phone browser, from the relation of the network traffics sending HTTP access request and receive needed for the request of HTTP access response and preset flow, carries out Networked E-Journals to mobile phone browser.
The Networked E-Journals method that the present embodiment provides, Networked E-Journals parameter is obtained by mobile phone browser, according to described Networked E-Journals parameter, HTML (Hypertext Markup Language) HTTP access request is sent to target web, receive the HTTP access response that described target web returns, according to the described HTTP access request of transmission and the described HTTP access response of reception, Networked E-Journals is carried out to described mobile phone browser, make mobile phone browser in debug process, do not need the restriction being subject to personal computer and Networked E-Journals device, Networked E-Journals can be carried out anywhere or anytime.
Adopt specific embodiment below, in step 103, the possible implementation that mobile phone browser carries out Networked E-Journals is described in detail.
A possible implementation, mobile phone browser, according to Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web, and record sends the time of HTTP access request; The HTTP access response that mobile phone browser receiving target webpage returns, and record receives the time of HTTP access response; Mobile phone browser is determined to send the time of HTTP access request and the time interval of the time of reception HTTP access response; Mobile phone browser is determined interval greater than prefixed time interval, then carry out Networked E-Journals to mobile phone browser.
In specific implementation process, mobile phone browser is determined to send the time of HTTP access request and the time interval of the time of reception HTTP access response, when this time interval is less than prefixed time interval, illustrate that the HTTP access response that the server that target web is corresponding returns does not postpone, Internet Use is normal, current Networked E-Journals parameter as the parameter of HTTP request, without the need to changing, can more not need further debugging.When this is interval greater than prefixed time interval, illustrate that the HTTP access response that the server that target web is corresponding returns postpones, Internet Use is undesirable, mobile phone browser also needs to debug, concrete debugging, for modify to Networked E-Journals parameter, is less than prefixed time interval to make the time interval.
Another kind of possible implementation, mobile phone browser determines the network traffics sending HTTP access request and receive needed for the request of HTTP access response; Mobile phone browser determination network traffics are greater than preset flow, then carry out Networked E-Journals to mobile phone browser.
In specific implementation process, mobile phone browser determines the network traffics sending HTTP access request and receive needed for the request of HTTP access response, mobile phone browser determination network traffics are less than preset flow, illustrate that Networked E-Journals parameter meets user's user demand, current Networked E-Journals parameter can as the parameter of HTTP request, without the need to changing, more do not need further debugging.Mobile phone browser determination network traffics are greater than preset flow, illustrate that Networked E-Journals parameter cannot meet the user demand of user, Internet Use is undesirable, and mobile phone browser also needs to debug, concrete debugging, for modify to Networked E-Journals parameter, is greater than preset flow to make network traffics.
In above-mentioned two kinds of possible implementations, mobile phone browser carries out Networked E-Journals, realizes by such as under type:
A possible implementation, mobile phone browser is modified to Networked E-Journals parameter according to default network parameter performance table, presets network parameter performance table and preserves network performance corresponding to each Networked E-Journals parameter; Networked E-Journals parameter comprises at least one in the Connecting quantity of the requesting method parameter of HTTP, user agent's parameter of HTTP, HTTP.
In specific implementation process, user, when downloading and installing mobile phone browser, synchronously can download and preset network parameter performance table.Network performance corresponding to each Networked E-Journals parameter is saved in default network parameter performance table.
For the requesting method parameter of HTTP, concrete corresponding eight kinds of requesting methods, eight kinds of requesting methods are corresponding eight kinds of different network performances.Such as, PUT, PUT are used for uploading its what be new to allocated resource position.POST, POST are used for submitting to data to carry out process request to allocated resource.Data are comprised in request body.POST request may cause the amendment of the foundation of new resource and/or existing resource.
User agent's parameter of corresponding HTTP, the access rights that different user agents is corresponding, and the response speed of accessing same target web is different.When the time that mobile phone browser sends HTTP access request with receive HTTP access response time interval greater than prefixed time interval, illustrate that the response speed of target web is slower.It will be appreciated by those skilled in the art that, mobile phone browser cannot access destination webpage, namely mobile phone browser does not have the authority of access destination webpage, corresponding result necessarily should interval greater than prefixed time interval, now, access rights that can be corresponding according to the user agent in default network performance parameter table are modified to user agent's parameter.
For the Connecting quantity of HTTP, different Connecting quantity, time of corresponding transmission HTTP access request with receive HTTP access response time the time interval and send HTTP access request may be different with the network traffics received needed for the request of HTTP access response.The Connecting quantity of HTTP, can comprise direct Connecting quantity and indirect Connecting quantity.Such as, when user selects direct Connecting quantity, when mobile phone browser determines that sending HTTP access request is greater than preset flow with the network traffics received needed for the request of HTTP access response, mobile phone browser carries out Networked E-Journals, when Networked E-Journals parameter is modified, indirect Connecting quantity can be selected, namely mobile phone browser does not obtain various data from the browser that target web is corresponding, but the HTTP access response of browser transmission corresponding to target web is obtained by third-party server, the HTTP sent by the server that third-party server is corresponding to target web accesses and compresses, then mobile phone browser is forwarded to.
It will be understood by those skilled in the art that the amendment of above-mentioned mobile phone browser to Networked E-Journals parameter, is only illustrative examples.For the amendment of mobile phone browser to other Networked E-Journals parameter, the present embodiment is not particularly limited herein.
The present embodiment is modified to Networked E-Journals parameter by mobile phone browser, carries out Networked E-Journals, makes mobile phone browser in debug process, does not need the restriction being subject to personal computer and Networked E-Journals device, can carry out Networked E-Journals anywhere or anytime.
Another kind of possible implementation, mobile phone browser shows head response corresponding to request header corresponding to HTTP access request, HTTP access response and network performance parameter table to user on a user interface, to make user modify to Networked E-Journals parameter, obtain the amended Networked E-Journals parameter of user.
In specific implementation process, mobile phone browser can carry out Networked E-Journals by user or research staff.Mobile phone browser shows head response corresponding to request header corresponding to HTTP access request, HTTP access response and network performance parameter table to user on a user interface, alternatively, also can show the time interval in above-described embodiment and network traffics.By user or research staff to request header, head response and network performance parameter table, alternatively, also comprise the time interval and network traffics are analyzed, after user or research staff analyze, user carries out the amendment of Networked E-Journals parameter, the Networked E-Journals parameter that user or research staff revise by the input of mobile phone browser interface, mobile phone browser obtains the amended Networked E-Journals parameter of user's input, and mobile phone browser proceeds Networked E-Journals.
The present embodiment obtains the amended Networked E-Journals parameter of user by mobile phone browser, carries out Networked E-Journals, makes mobile phone browser in debug process, do not need the restriction being subject to personal computer and Networked E-Journals device, can carry out Networked E-Journals anywhere or anytime.
It will be understood by those skilled in the art that after carrying out Networked E-Journals by above-mentioned two kinds of possible implementations, if debug results does not meet the demand of time and flow, also can proceed debugging according to above-mentioned mode, until debug results meets demand.
Fig. 2 is the structural representation of Networked E-Journals device embodiment one of the present invention.As shown in Figure 2, the Networked E-Journals device 20 that the embodiment of the present invention provides is embedded in mobile phone browser, comprising: acquisition module 201, network sending module 202, network reception module 203, debugging module 204.
Acquisition module 201, for obtaining Networked E-Journals parameter;
Network sending module 202, for according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web;
Network reception module 203, for receiving the HTTP access response that described target web returns;
Debugging module 204, for the described HTTP access response according to the described HTTP access request sent and reception, carries out Networked E-Journals to described mobile phone browser.
The Networked E-Journals device that the present embodiment provides, can perform the Networked E-Journals method that the embodiment of the present invention provides, it realizes principle and technique effect is similar, and the present embodiment repeats no more herein.
Alternatively, described network sending module 202 specifically for:
According to described Networked E-Journals parameter, send HTML (Hypertext Markup Language) HTTP access request to target web, and record sends the time of described HTTP access request;
Described network reception module 203 specifically for:
Receive the HTTP access response that described target web returns, and record receives the time of described HTTP access response;
Described debugging module 204 specifically for:
Determine to send the time of described HTTP access request and the time interval of the time of the described HTTP access response of reception;
Determine described interval greater than prefixed time interval, then Networked E-Journals is carried out to described mobile phone browser.
Alternatively, described debugging module 204 specifically for:
Determine the network traffics sending described HTTP access request and receive needed for the request of described HTTP access response;
Determine that described network traffics are greater than preset flow, then Networked E-Journals is carried out to described mobile phone browser.
Alternatively, described debugging module 204 also specifically for:
Modify to described Networked E-Journals parameter according to default network parameter performance table, network performance corresponding to each described Networked E-Journals parameter preserved by described default network parameter performance table; Or
Head response corresponding to request header corresponding to described HTTP access request, described HTTP access response and described network performance parameter table is shown on a user interface to described user, to make described user modify to described Networked E-Journals parameter, obtain the amended Networked E-Journals parameter of user.
Described Networked E-Journals parameter comprises at least one in the Connecting quantity of the requesting method parameter of HTTP, user agent's parameter of described HTTP, described HTTP.
Alternatively, described acquisition module 201, specifically for:
Obtain the Networked E-Journals request that user triggers, show Networked E-Journals parameters input dialog box to user, obtain the described Networked E-Journals parameter of user's input; Or
Obtain the web-page requests that user triggers, to user's display update web-page requests dialog box, to make user revise web-page requests parameter, obtain the amended web-page requests parameter of user, using amended for described user web-page requests parameter as described Networked E-Journals parameter.
The Networked E-Journals device that the present embodiment provides, can perform the Networked E-Journals method that the embodiment of the present invention provides, it realizes principle and technique effect is similar, and the present embodiment repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a Networked E-Journals method, is characterized in that, is applied to the Networked E-Journals of mobile phone browser, comprises:
Mobile phone browser obtains Networked E-Journals parameter;
Described mobile phone browser, according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web;
Described mobile phone browser receives the HTTP access response that described target web returns;
The described HTTP access request of described mobile phone browser according to transmission and the described HTTP access response of reception, carry out Networked E-Journals to described mobile phone browser.
2. method according to claim 1, is characterized in that, described mobile phone browser, according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web, comprising:
Described mobile phone browser, according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web, and record sends the time of described HTTP access request;
Described mobile phone browser receives the HTTP access response that described target web returns, and comprising:
Described mobile phone browser receives the HTTP access response that described target web returns, and record receives the time of described HTTP access response;
The described HTTP access request of described mobile phone browser according to transmission and the described HTTP access response of reception, Networked E-Journals is carried out to described mobile phone browser, comprising:
Described mobile phone browser is determined to send the time of described HTTP access request and the time interval of the time of the described HTTP access response of reception;
Described mobile phone browser is determined described interval greater than prefixed time interval, then carry out Networked E-Journals to described mobile phone browser.
3. method according to claim 1, is characterized in that, the described HTTP access request of described mobile phone browser according to transmission and the described HTTP access response of reception, carries out Networked E-Journals, comprising described mobile phone browser:
Described mobile phone browser determines the network traffics sending described HTTP access request and receive needed for the request of described HTTP access response;
Described mobile phone browser determines that described network traffics are greater than preset flow, then carry out Networked E-Journals to described mobile phone browser.
4. the method according to any one of claims 1 to 3, is characterized in that, described mobile phone browser carries out Networked E-Journals to described mobile phone browser, comprising:
Described mobile phone browser is modified to described Networked E-Journals parameter according to default network parameter performance table, and network performance corresponding to each described Networked E-Journals parameter preserved by described default network parameter performance table; Or
Described mobile phone browser shows head response corresponding to request header corresponding to described HTTP access request, described HTTP access response and described network performance parameter table to described user on a user interface, to make described user modify to described Networked E-Journals parameter, obtain the amended Networked E-Journals parameter of user.
Described Networked E-Journals parameter comprises at least one in the Connecting quantity of the requesting method parameter of HTTP, user agent's parameter of described HTTP, described HTTP.
5. method according to claim 4, is characterized in that, described mobile phone browser obtains Networked E-Journals request, comprising:
Described mobile phone browser obtains the Networked E-Journals request that user triggers, and shows Networked E-Journals parameters input dialog box to user, obtains the described Networked E-Journals parameter of user's input; Or
Described mobile phone browser obtains the web-page requests that user triggers, to user's display update web-page requests dialog box, to make user revise web-page requests parameter, obtain the amended web-page requests parameter of user, using amended for described user web-page requests parameter as described Networked E-Journals parameter.
6. a Networked E-Journals device, is characterized in that, described Networked E-Journals device is embedded in mobile phone browser, comprising:
Acquisition module, for obtaining Networked E-Journals parameter;
Network sending module, for according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web;
Network reception module, for receiving the HTTP access response that described target web returns;
Debugging module, for the described HTTP access response according to the described HTTP access request sent and reception, carries out Networked E-Journals to described mobile phone browser.
7. device according to claim 6, is characterized in that, described network sending module, specifically for according to described Networked E-Journals parameter, sends HTML (Hypertext Markup Language) HTTP access request to target web, and record sends the time of described HTTP access request;
The HTTP access response that described network reception module returns specifically for receiving described target web, and record receives the time of described HTTP access response;
Described debugging module sends the time of described HTTP access request and the time interval of the time of the described HTTP access response of reception specifically for determining, determines described interval greater than prefixed time interval, then carries out Networked E-Journals to described mobile phone browser.
8. device according to claim 6, it is characterized in that, described debugging module is specifically for determining the network traffics sending described HTTP access request and receive needed for the request of described HTTP access response, determine that described network traffics are greater than preset flow, then Networked E-Journals is carried out to described mobile phone browser.
9. the device according to any one of claim 6 to 8, it is characterized in that, described debugging module is also specifically for modifying to described Networked E-Journals parameter according to presetting network parameter performance table, network performance corresponding to each described Networked E-Journals parameter preserved by described default network parameter performance table, or show request header corresponding to described HTTP access request to described user on a user interface, the head response that described HTTP access response is corresponding and described network performance parameter table, to make described user, described Networked E-Journals parameter is modified, obtain the amended Networked E-Journals parameter of user,
Described Networked E-Journals parameter comprises at least one in the Connecting quantity of the requesting method parameter of HTTP, user agent's parameter of described HTTP, described HTTP.
10. device according to claim 9, it is characterized in that, described acquisition module, specifically for obtaining the Networked E-Journals request that user triggers, Networked E-Journals parameters input dialog box is shown to user, obtain the described Networked E-Journals parameter of user's input, or obtain the web-page requests that user triggers, to user's display update web-page requests dialog box, web-page requests parameter is revised to make user, obtain the amended web-page requests parameter of user, using amended for described user web-page requests parameter as described Networked E-Journals parameter.
CN201410030478.9A 2014-01-22 2014-01-22 Network debugging method and device Active CN104796929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410030478.9A CN104796929B (en) 2014-01-22 2014-01-22 Network debugging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410030478.9A CN104796929B (en) 2014-01-22 2014-01-22 Network debugging method and device

Publications (2)

Publication Number Publication Date
CN104796929A true CN104796929A (en) 2015-07-22
CN104796929B CN104796929B (en) 2019-12-06

Family

ID=53561349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410030478.9A Active CN104796929B (en) 2014-01-22 2014-01-22 Network debugging method and device

Country Status (1)

Country Link
CN (1) CN104796929B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521444A (en) * 2018-03-19 2018-09-11 五八有限公司 A kind of Networked E-Journals method, apparatus and computer readable storage medium
CN109614340A (en) * 2018-12-28 2019-04-12 北京微播视界科技有限公司 Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN110750437A (en) * 2018-07-23 2020-02-04 阿里巴巴集团控股有限公司 Equipment debugging method, device, equipment and system
CN112069060A (en) * 2020-08-13 2020-12-11 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103352A (en) * 2005-01-12 2008-01-09 韩国威得淼有限公司 System and method for providing and handling executable web content
CN102624576A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for automatically testing webpage downloading time of browser and system thereof
CN103166983A (en) * 2011-12-09 2013-06-19 中国移动通信集团广东有限公司 Network data optimizing method, device and network server
US8583777B1 (en) * 2013-08-13 2013-11-12 Joingo, Llc Method and system for providing real-time end-user WiFi quality data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103352A (en) * 2005-01-12 2008-01-09 韩国威得淼有限公司 System and method for providing and handling executable web content
CN102624576A (en) * 2011-01-27 2012-08-01 腾讯科技(深圳)有限公司 Method for automatically testing webpage downloading time of browser and system thereof
CN103166983A (en) * 2011-12-09 2013-06-19 中国移动通信集团广东有限公司 Network data optimizing method, device and network server
US8583777B1 (en) * 2013-08-13 2013-11-12 Joingo, Llc Method and system for providing real-time end-user WiFi quality data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521444A (en) * 2018-03-19 2018-09-11 五八有限公司 A kind of Networked E-Journals method, apparatus and computer readable storage medium
CN110750437A (en) * 2018-07-23 2020-02-04 阿里巴巴集团控股有限公司 Equipment debugging method, device, equipment and system
CN110750437B (en) * 2018-07-23 2023-12-22 阿里巴巴集团控股有限公司 Equipment debugging method, device, equipment and system
CN109614340A (en) * 2018-12-28 2019-04-12 北京微播视界科技有限公司 Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN112069060A (en) * 2020-08-13 2020-12-11 北京达佳互联信息技术有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104796929B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US7702317B2 (en) System and method to query wireless network offerings
JP4398462B2 (en) Method and system for improving the presentation of HTML pages on web devices
US7870482B2 (en) Web browser extension for simplified utilization of web services
CN102904959B (en) Network accelerating method and gateway
US9571556B2 (en) Browser kernel adaptation method and browser therefor
CN109873735B (en) Performance test method and device for H5 page and computer equipment
CN102323880A (en) Mobile phone application interface development method and terminal based on browser parsing mode
CN106815055B (en) Method and system for dynamic layout of mobile application
CN110808868B (en) Test data acquisition method and device, computer equipment and storage medium
CN104283777A (en) Message compression method and device
CN113590974B (en) Recommendation page configuration method and device, electronic equipment and computer readable medium
CN104796929A (en) Network debugging method and device
CN103200231B (en) Policy control method and system
CN110633219A (en) Page testing method and device, storage medium and electronic equipment
CN107332854B (en) Message serialization negotiation method and service providing equipment
CN111367685A (en) Interface calling method and device, computer equipment and storage medium
CN105701153A (en) Method and device for reading webpage resources and electronic equipment
CN101699823A (en) Method for realizing caching resource in curl library
CN104615597A (en) Method, device and system for clearing cache file in browser
CN113641582A (en) Mixed-mode mobile application debugging method and system
CN102469109B (en) Display method of browser homepage in mobile terminal and apparatus thereof
CN103139298A (en) Method for transmitting network data and device
CN111338928A (en) Chrome-based browser testing method and device
CN103733596B (en) For managing the method for the access of resource group to being provided by electronic equipment
CN114915565A (en) Method and system for debugging network

Legal Events

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

Effective date of registration: 20221116

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518133

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.