[go: up one dir, main page]

CN105930266A - Webpage debugging method and device - Google Patents

Webpage debugging method and device Download PDF

Info

Publication number
CN105930266A
CN105930266A CN201610222326.8A CN201610222326A CN105930266A CN 105930266 A CN105930266 A CN 105930266A CN 201610222326 A CN201610222326 A CN 201610222326A CN 105930266 A CN105930266 A CN 105930266A
Authority
CN
China
Prior art keywords
debugging
loading
webpage
request
service
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
CN201610222326.8A
Other languages
Chinese (zh)
Other versions
CN105930266B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610222326.8A priority Critical patent/CN105930266B/en
Publication of CN105930266A publication Critical patent/CN105930266A/en
Application granted granted Critical
Publication of CN105930266B publication Critical patent/CN105930266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3698Environments for analysis, debugging or testing of software
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/362Debugging of software
    • G06F11/366Debugging of software using diagnostics

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本公开是关于一种网页调试方法及装置,其中,网页调试方法包括:若接收到网页访问异常的信息,则暂停加载该网页;向本地预先建立的服务发送调试请求,以通过该服务对所述调试请求中携带的请求内容进行操作;接收该服务返回的调试响应,并加载执行调试响应中携带的新代码,以找到异常原因。本公开的实施例,可以根据需要动态选择暂停加载网页,并通过与预先建立的服务进行交互,获得调试响应,然后通过加载执行调试响应中携带的新代码来找到网页访问异常原因,有效降低了调试难度,节省了调试时间。

The present disclosure relates to a webpage debugging method and device, wherein the webpage debugging method includes: if receiving abnormal information about webpage access, suspending the loading of the webpage; sending a debugging request to a local pre-established service, so as to use the service to Operate the request content carried in the above debugging request; receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception. In the embodiment of the present disclosure, it is possible to dynamically choose to suspend the loading of webpages as needed, and obtain a debugging response by interacting with pre-established services, and then find the cause of abnormal webpage access by loading and executing the new code carried in the debugging response, effectively reducing the It is difficult to debug and saves debugging time.

Description

网页调试方法及装置Web page debugging method and device

技术领域technical field

本公开涉及移动互联网技术领域,尤其涉及一种网页调试方法及装置。The present disclosure relates to the technical field of mobile Internet, and in particular to a web page debugging method and device.

背景技术Background technique

在进行移动端开发时经常会遇到一些问题,例如,页面渲染出现问题、页面加载堵塞或者崩溃等。对这类问题,经常会使用远程调试来解决。远程调试通常可以解决错误比较明显的问题,但对于一些页面渲染、页面加载等可能涉及到网络视图(webview)同第三方库兼容性的问题时,这种方式就不能满足需要了。Some problems are often encountered during mobile development, such as page rendering problems, page loading blockage or crashes, etc. For such problems, remote debugging is often used to solve them. Remote debugging can usually solve problems with obvious errors, but for some page rendering, page loading and other issues that may involve compatibility between webview and third-party libraries, this method cannot meet the needs.

针对webview同第三方库兼容性的问题时,可以采用对代码进行裁剪,并进行一次次的尝试,以找到可能出现渲染问题的那段代码。但是,这种调试方法调试难度大且耗费时间。For compatibility issues between webview and third-party libraries, you can cut the code and try again and again to find the code that may cause rendering problems. However, this debugging method is difficult and time-consuming to debug.

发明内容Contents of the invention

为克服相关技术中存在的问题,本公开提供一种网页调试方法及装置。In order to overcome the problems existing in related technologies, the present disclosure provides a web page debugging method and device.

根据本公开实施例的第一方面,提供一种网页调试方法,包括:According to a first aspect of an embodiment of the present disclosure, a method for debugging a web page is provided, including:

若接收到网页访问异常的信息,则暂停加载所述网页;If information about abnormal web page access is received, the loading of the web page is suspended;

向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作;Send a debugging request to a local pre-established service, so as to operate the request content carried in the debugging request through the service;

接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。Receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception.

在一实施例中,所述方法还包括:In one embodiment, the method also includes:

接收针对网络视图的更新配置信息,所述更新配置信息用于使所述网络视图在网页加载过程中能够动态选择暂停加载所述网页和继续加载所述网页。Receive updated configuration information for the network view, where the updated configuration information is used to enable the network view to dynamically choose to pause loading the webpage or continue loading the webpage during the loading process of the webpage.

在一实施例中,所述服务用于接收所述调试请求,对所述调试请求中携带的请求内容进行操作,并返回所述调试响应。In an embodiment, the service is configured to receive the debugging request, operate on the request content carried in the debugging request, and return the debugging response.

在一实施例中,所述请求内容包括代码块标志、当前执行的代码行数、打点位置、打点内容和操作内容中的至少一项,所述操作内容包括打点操作和裁剪操作中的至少一项。In an embodiment, the request content includes at least one of the code block flag, the number of currently executed code lines, the dot position, the dot content, and the operation content, and the operation content includes at least one of the dot operation and the cutting operation item.

在一实施例中,所述方法还包括:In one embodiment, the method also includes:

在所述加载执行所述调试响应中携带的新代码之后,若未找到异常原因,则重复执行所述暂停加载所述网页的操作,直至找到所述异常原因。After the loading executes the new code carried in the debugging response, if no abnormal cause is found, the operation of pausing the loading of the webpage is repeatedly performed until the abnormal reason is found.

根据本公开实施例的第二方面,提供一种网页调试装置,包括:According to the second aspect of the embodiments of the present disclosure, a webpage debugging device is provided, including:

暂停加载模块,被配置为若接收到网页访问异常的信息,则暂停加载所述网页;The loading suspension module is configured to suspend the loading of the webpage if information about abnormal webpage access is received;

发送模块,被配置为向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作;The sending module is configured to send a debugging request to a local pre-established service, so as to operate the request content carried in the debugging request through the service;

接收加载执行模块,被配置为接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。The receiving, loading and executing module is configured to receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception.

在一实施例中,所述装置还包括:In one embodiment, the device also includes:

配置信息接收模块,被配置为接收针对网络视图的更新配置信息,所述更新配置信息用于使所述网络视图在网页加载过程中能够动态选择暂停加载所述网页和继续加载所述网页。The configuration information receiving module is configured to receive updated configuration information for the network view, and the updated configuration information is used to enable the network view to dynamically choose to suspend loading the webpage or continue loading the webpage during the webpage loading process.

在一实施例中,所述服务用于接收所述调试请求,对所述调试请求中携带的请求内容进行操作,并返回所述调试响应。In an embodiment, the service is configured to receive the debugging request, operate on the request content carried in the debugging request, and return the debugging response.

在一实施例中,所述请求内容包括代码块标志、当前执行的代码行数、打点位置、打点内容和操作内容中的至少一项,所述操作内容包括打点操作和裁剪操作中的至少一项。In an embodiment, the request content includes at least one of the code block flag, the number of currently executed code lines, the dot position, the dot content, and the operation content, and the operation content includes at least one of the dot operation and the cutting operation item.

在一实施例中,所述装置还包括:In one embodiment, the device also includes:

处理模块,被配置为在所述接收加载执行模块加载执行所述调试响应中携带的新代码之后,若未找到异常原因,则调用所述暂停加载模块执行所述暂停加载所述网页的操作,直至找到所述异常原因。The processing module is configured to call the pause loading module to execute the operation of pausing loading the webpage after the receiving, loading and executing module loads and executes the new code carried in the debugging response, if no abnormal cause is found, until the cause of the abnormality is found.

根据本公开实施例的第三方面,提供一种网页调试装置,包括:According to a third aspect of the embodiments of the present disclosure, a web page debugging device is provided, including:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,处理器被配置为:where the processor is configured as:

若接收到网页访问异常的信息,则暂停加载所述网页;If information about abnormal web page access is received, the loading of the web page is suspended;

向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作;Send a debugging request to a local pre-established service, so as to operate the request content carried in the debugging request through the service;

接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。Receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception.

本公开的实施例提供的技术方案可以包括以下有益效果:通过暂停加载网页,向本地预先建立的服务发送调试请求,并根据服务返回的调试响应加载执行调试响应中携带的新代码,以达到找到网页访问异常原因的目的,由此可见,该方法可以根据需要动态选择暂停加载网页,并通过与预先建立的服务进行交互,获得调试响应,然后通过加载执行调试响应中携带的新代码来找到网页访问异常原因,有效降低了调试难度,节省了调试时间。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: by suspending the loading of web pages, sending a debugging request to a local pre-established service, and loading and executing the new code carried in the debugging response according to the debugging response returned by the service, so as to find The purpose of the abnormal reason for webpage access, it can be seen that this method can dynamically choose to pause loading webpages according to needs, and obtain a debugging response by interacting with pre-established services, and then find the webpage by loading and executing the new code carried in the debugging response Access to the cause of the exception effectively reduces the difficulty of debugging and saves debugging time.

通过接收针对网络视图的更新配置信息,使网络视图在网页加载过程中能够动态选择暂停加载网页和继续加载网页,从而为后续通过不断暂停加载网页和加载执行调试响应中携带的新代码来找到网页访问异常的原因提供了条件。By receiving the updated configuration information for the web view, the web view can dynamically choose to pause and continue loading the web page during the web page loading process, so as to find the web page by continuously pausing the web page loading and loading and executing the new code carried in the debugging response The reason for the access exception provides the conditions.

通过描述服务的作用,使得可以网络视图端可以与服务进行交互,为找到异常原因提供条件。By describing the function of the service, the network view end can interact with the service and provide conditions for finding the cause of the exception.

对调试请求中携带的请求内容进行介绍,可以更清楚地展现本公开实施例提供的网页调试方法的技术方案。An introduction to the request content carried in the debugging request can more clearly demonstrate the technical solution of the web page debugging method provided by the embodiments of the present disclosure.

通过多次执行暂停加载网页、与服务进行交互和继续加载执行新代码的过程,可以找到异常原因,实现方式简单,调试效率高。By executing the process of pausing loading web pages, interacting with services, and continuing to load and execute new codes multiple times, the cause of the exception can be found, the implementation method is simple, and the debugging efficiency is high.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种网页调试方法的流程图。Fig. 1 is a flow chart of a method for debugging a web page according to an exemplary embodiment.

图2是根据一示例性实施例示出的另一种网页调试方法的流程图。Fig. 2 is a flow chart of another web page debugging method according to an exemplary embodiment.

图3是根据一示例性实施例示出的网页调试过程的示意图。Fig. 3 is a schematic diagram of a web page debugging process according to an exemplary embodiment.

图4是根据一示例性实施例示出的一种网页调试装置的框图。Fig. 4 is a block diagram of an apparatus for debugging a web page according to an exemplary embodiment.

图5是根据一示例性实施例示出的另一种网页调试装置的框图。Fig. 5 is a block diagram of another apparatus for debugging a web page according to an exemplary embodiment.

图6是根据一示例性实施例示出的另一种网页调试装置的框图。Fig. 6 is a block diagram of another apparatus for debugging a web page according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种适用于网页调试装置的框图。Fig. 7 is a block diagram showing a device suitable for webpage debugging according to an exemplary embodiment.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

图1是根据一示例性实施例示出的一种网页调试方法的流程图,如图1所示,该网页调试方法可应用于webview端,该网页调试方法包括以下步骤S101-S103:Fig. 1 is a flow chart of a webpage debugging method shown according to an exemplary embodiment. As shown in Fig. 1, the webpage debugging method can be applied to the webview end, and the webpage debugging method includes the following steps S101-S103:

在步骤S101中,若接收到网页访问异常的信息,则暂停加载网页。In step S101, if the information that the webpage access is abnormal is received, the loading of the webpage is suspended.

在该实施例中,网页访问异常可以包括但不限于网页渲染出现问题、页面加载堵塞或者崩溃等。当接收到网页访问异常的信息时,暂停加载该网页。In this embodiment, the web page access exception may include, but not limited to, a problem in web page rendering, page loading blockage or crash, and the like. When receiving the information that the web page access is abnormal, the loading of the web page is suspended.

在步骤S102中,向本地预先建立的服务发送调试请求,以通过该服务对调试请求中携带的请求内容进行操作。In step S102, a debugging request is sent to a local pre-established service, so that the service can operate on the request content carried in the debugging request.

在该实施例中,调试请求可以为超文本传输协议(http)请求,请求内容可以包括但不限于代码块标志、当前执行的代码行数、打点位置、打点内容和操作内容中的至少一项,操作内容可以包括但不限于打点操作和裁剪操作中的至少一项。In this embodiment, the debugging request can be a hypertext transfer protocol (http) request, and the request content can include but not limited to at least one of the code block mark, the number of lines of code currently executed, the location of the dot, the content of the dot and the operation content , the operation content may include, but not limited to, at least one of a dotting operation and a cropping operation.

其中,预先建立的服务可以为提供一些功能的软件体,该服务可用于接收该调试请求,对调试请求中携带的请求内容进行操作,并返回调试响应。Wherein, the pre-established service may be a software body providing some functions, and the service may be used to receive the debugging request, operate on the request content carried in the debugging request, and return a debugging response.

在步骤S103中,接收服务返回的调试响应,并加载执行调试响应中携带的新代码,以找到异常原因。In step S103, the debugging response returned by the service is received, and the new code carried in the debugging response is loaded and executed to find the cause of the abnormality.

在该实施例中,接收服务返回的调试响应后,可以加载执行调试响应中携带的新代码,例如执行加上打点内容之后的新代码或者执行裁剪之后的新代码,进而找到异常原因。In this embodiment, after receiving the debugging response returned by the service, the new code carried in the debugging response can be loaded and executed, for example, the new code after adding dotted content or the new code after cutting is executed, so as to find the cause of the exception.

在该实施例中,暂停加载网页并向服务发送调试请求的目的是确认调试请求的具体处理方式。如果需要打点,则请求打点,执行服务返回的加上打点内容之后的新代码;如果需要裁剪,则请求裁剪,执行服务返回的裁剪之后的新代码;具体处理方式可以包括但不限于打点和裁剪。In this embodiment, the purpose of pausing the loading of the webpage and sending the debugging request to the service is to confirm the specific processing method of the debugging request. If dots are required, request dots and execute the new code returned by the service plus the dotted content; if tailoring is required, request tailoring and execute the new codes after the tailoring returned by the service; specific processing methods may include but are not limited to dots and cutting .

上述网页调试方法实施例,通过暂停加载网页,向本地预先建立的服务发送调试请求,并根据服务返回的调试响应加载执行调试响应中携带的新代码,以达到找到网页访问异常原因的目的,由此可见,该方法可以根据需要动态选择暂停加载网页,并通过与预先建立的服务进行交互,获得调试响应,然后通过加载执行调试响应中携带的新代码来找到网页访问异常原因,有效降低了调试难度,节省了调试时间。In the embodiment of the webpage debugging method described above, by pausing the loading of the webpage, sending a debugging request to the local pre-established service, and loading and executing the new code carried in the debugging response according to the debugging response returned by the service, in order to achieve the purpose of finding the reason for the abnormal webpage access, by It can be seen that this method can dynamically choose to pause loading webpages as needed, and obtain a debugging response by interacting with pre-established services, and then find the cause of webpage access exceptions by loading and executing the new code carried in the debugging response, effectively reducing debugging time. Difficulty, saving debugging time.

图2是根据一示例性实施例示出的网页调试方法的流程图,如图2所示,该方法包括以下步骤S201-S205:Fig. 2 is a flowchart of a web page debugging method according to an exemplary embodiment. As shown in Fig. 2, the method includes the following steps S201-S205:

在步骤S201中,接收针对网络视图的更新配置信息,该更新配置信息用于使网络视图在网页加载过程中能够动态选择暂停加载网页和继续加载网页。In step S201, the updated configuration information for the network view is received, the updated configuration information is used to enable the network view to dynamically choose to pause loading the webpage or continue loading the webpage during the loading process of the webpage.

在该实施例中,webview端接收调试人员针对webview端的更新配置信息,该更新配置信息用于使webview端在网页加载过程中能够动态选择暂停加载网页和继续加载网页。In this embodiment, the webview terminal receives the updated configuration information for the webview terminal from the debugger, and the updated configuration information is used to enable the webview terminal to dynamically choose to pause loading the webpage or continue loading the webpage during the webpage loading process.

在步骤S202中,若接收到页面渲染异常的信息,则暂停加载该网页。In step S202, if the page rendering abnormality information is received, the loading of the webpage is suspended.

在步骤S203中,向本地预先建立的服务发送调试请求,以通过该服务对调试请求中携带的请求内容进行操作。In step S203, a debugging request is sent to a local pre-established service, so that the service can operate on the request content carried in the debugging request.

在步骤S204中,接收服务返回的调试响应,并加载执行调试响应中携带的新代码。In step S204, the debugging response returned by the service is received, and the new code carried in the debugging response is loaded and executed.

在步骤S205中,判断是否找到异常原因,若找到异常原因,则操作结束;若未找到异常原因,则转向执行步骤S202中的暂停加载该网页。In step S205, it is judged whether the cause of abnormality is found, and if the cause of abnormality is found, the operation ends; if the cause of abnormality is not found, then turn to the execution of pausing the loading of the webpage in step S202.

在该实施例中,若未找到异常原因,则继续暂停加载网页,重复步骤S202-S205,直至找到异常原因,这个查找的过程可参见图3,从图3可以看出,在第一次暂停加载网页后,可以向服务发送调试请求,接收服务返回的调试响应,并执行调试响应中的携带的新代码,若此时仍未找到异常原因,则可以继续暂停加载网页,即第二次暂停加载网页,重复上述过程,直至找到异常原因。In this embodiment, if the abnormal reason is not found, then continue to suspend the loading of the webpage, repeat steps S202-S205, until the abnormal reason is found, the process of this search can be referred to Figure 3, as can be seen from Figure 3, in the first pause After loading the webpage, you can send a debugging request to the service, receive the debugging response returned by the service, and execute the new code carried in the debugging response. If the abnormal cause is still not found at this time, you can continue to pause loading the webpage, that is, the second pause Load the webpage and repeat the above process until the cause of the abnormality is found.

上述网页调试方法实施例,通过接收针对网络视图的更新配置信息,使网络视图在网页加载过程中能够动态选择暂停加载网页和继续加载网页,从而为后续通过不断暂停加载网页和加载执行调试响应中携带的新代码来找到网页访问异常的原因提供了条件。In the above embodiment of the web page debugging method, by receiving updated configuration information for the web view, the web view can dynamically choose to suspend loading the web page and continue loading the web page during the web page loading process, so as to continuously pause and load the web page and execute the debugging response for the subsequent The new code carried provides the conditions to find the reason for the abnormal web page access.

与前述网页调试方法实施例相对应,本公开还提供了网页调试装置实施例。Corresponding to the aforementioned embodiments of the web page debugging method, the present disclosure also provides embodiments of a web page debugging device.

图4是根据一示例性实施例示出的一种网页调试装置的框图,如图4所示,该网页调试装置包括:暂停加载模块41、发送模块42和接收加载执行模块43。FIG. 4 is a block diagram of a webpage debugging device according to an exemplary embodiment. As shown in FIG. 4 , the webpage debugging device includes: a pause loading module 41 , a sending module 42 and a receiving loading execution module 43 .

暂停加载模块41被配置为若接收到网页访问异常的信息,则暂停加载所述网页。The pausing loading module 41 is configured to suspend loading the webpage if receiving information that the webpage access is abnormal.

在该实施例中,网页访问异常可以包括但不限于网页渲染出现问题、页面加载堵塞或者崩溃等。当接收到网页访问异常的信息时,暂停加载该网页。In this embodiment, the web page access exception may include, but not limited to, a problem in web page rendering, page loading blockage or crash, and the like. When receiving the information that the web page access is abnormal, the loading of the web page is suspended.

发送模块42被配置为向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作。The sending module 42 is configured to send a debugging request to a local pre-established service, so as to operate on the request content carried in the debugging request through the service.

在该实施例中,调试请求可以为超文本传输协议(http)请求,请求内容可以包括但不限于代码块标志、当前执行的代码行数、打点位置、打点内容和操作内容中的至少一项,操作内容可以包括但不限于打点操作和裁剪操作中的至少一项。In this embodiment, the debugging request can be a hypertext transfer protocol (http) request, and the request content can include but not limited to at least one of the code block mark, the number of lines of code currently executed, the location of the dot, the content of the dot and the operation content , the operation content may include, but not limited to, at least one of a dotting operation and a cropping operation.

其中,预先建立的服务可以为提供一些功能的软件体,该服务可用于接收该调试请求,对调试请求中携带的请求内容进行操作,并返回调试响应。Wherein, the pre-established service may be a software body providing some functions, and the service may be used to receive the debugging request, operate on the request content carried in the debugging request, and return a debugging response.

接收加载执行模块43被配置为接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。The receiving, loading and executing module 43 is configured to receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the abnormality.

在该实施例中,接收服务返回的调试响应后,可以加载执行调试响应中携带的新代码,例如执行加上打点内容之后的新代码或者执行裁剪之后的新代码,进而找到异常原因。In this embodiment, after receiving the debugging response returned by the service, the new code carried in the debugging response can be loaded and executed, for example, the new code after adding dotted content or the new code after cutting is executed, so as to find the cause of the exception.

在该实施例中,暂停加载网页并向服务发送调试请求的目的是确认调试请求的具体处理方式。如果需要打点,则请求打点,执行服务返回的加上打点内容之后的新代码;如果需要裁剪,则请求裁剪,执行服务返回的裁剪之后的新代码;具体处理方式可以包括但不限于打点和裁剪。In this embodiment, the purpose of pausing the loading of the webpage and sending the debugging request to the service is to confirm the specific processing method of the debugging request. If dots are required, request dots and execute the new code returned by the service plus the dotted content; if tailoring is required, request tailoring and execute the new codes after the tailoring returned by the service; specific processing methods may include but are not limited to dots and cutting .

如图4所示的装置用于实现上述如图1所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 4 is used to implement the above-mentioned method flow shown in FIG. 1 , and the relevant content involved is described in the same way, and will not be repeated here.

上述网页调试装置实施例,通过暂停加载网页,向本地预先建立的服务发送调试请求,并根据服务返回的调试响应加载执行调试响应中携带的新代码,以达到找到网页访问异常原因的目的,由此可见,该方法可以根据需要动态选择暂停加载网页,并通过与预先建立的服务进行交互,获得调试响应,然后通过加载执行调试响应中携带的新代码来找到网页访问异常原因,有效降低了调试难度,节省了调试时间。In the embodiment of the above-mentioned webpage debugging device, by suspending the loading of webpages, sending a debugging request to a local pre-established service, and loading and executing the new code carried in the debugging response according to the debugging response returned by the service, to achieve the purpose of finding the reason for the abnormal webpage access, by It can be seen that this method can dynamically choose to pause loading webpages as needed, and obtain a debugging response by interacting with pre-established services, and then find the cause of webpage access exceptions by loading and executing the new code carried in the debugging response, effectively reducing debugging time. Difficulty, saving debugging time.

图5是根据一示例性实施例示出的另一种网页调试装置的框图,如图5所示,在上述图4所示实施例的基础上,该装置还可包括:配置信息接收模块40。FIG. 5 is a block diagram of another web page debugging device according to an exemplary embodiment. As shown in FIG. 5 , on the basis of the embodiment shown in FIG. 4 , the device may further include: a configuration information receiving module 40 .

配置信息接收模块40被配置为接收针对网络视图的更新配置信息,所述更新配置信息用于使所述网络视图在网页加载过程中能够动态选择暂停加载所述网页和继续加载所述网页。The configuration information receiving module 40 is configured to receive updated configuration information for the network view, the updated configuration information is used to enable the network view to dynamically choose to suspend loading the webpage or continue loading the webpage during the loading process of the webpage.

在该实施例中,webview端接收调试人员针对webview端的更新配置信息,该更新配置信息用于使webview端在网页加载过程中能够动态选择暂停加载网页和继续加载网页。In this embodiment, the webview terminal receives the updated configuration information for the webview terminal from the debugger, and the updated configuration information is used to enable the webview terminal to dynamically choose to pause loading the webpage or continue loading the webpage during the webpage loading process.

如图5所示的装置用于实现上述如图2所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 5 is used to implement the above-mentioned method flow shown in FIG. 2 , and the relevant content involved is described in the same way and will not be repeated here.

上述网页调试装置实施例,通过接收针对网络视图的更新配置信息,使网络视图在网页加载过程中能够动态选择暂停加载网页和继续加载网页,从而为后续通过不断暂停加载网页和加载执行调试响应中携带的新代码来找到网页访问异常的原因提供了条件。In the embodiment of the web page debugging device described above, by receiving updated configuration information for the web view, the web view can dynamically choose to suspend loading web pages and continue loading web pages during the web page loading process, so as to continuously pause loading web pages and load execution in the subsequent debugging response. The new code carried provides the conditions to find the reason for the abnormal web page access.

图6是根据一示例性实施例示出的另一种网页调试装置的框图,如图6所示,在上述图4或图5所示实施例的基础上,该装置还可包括:处理模块44。Fig. 6 is a block diagram of another web page debugging device shown according to an exemplary embodiment. As shown in Fig. 6, on the basis of the embodiment shown in Fig. 4 or Fig. 5 above, the device may further include: a processing module 44 .

处理模块44被配置为在所述接收加载执行模块43加载执行所述调试响应中携带的新代码之后,若未找到异常原因,则调用暂停加载模块41执行所述暂停加载所述网页的操作,直至找到所述异常原因。The processing module 44 is configured to call the pause loading module 41 to execute the operation of pausing the loading of the webpage after the receiving, loading and executing module 43 loads and executes the new code carried in the debugging response, if no abnormal cause is found, until the cause of the abnormality is found.

在该实施例中,若未找到异常原因,则可以调用暂停加载模块41继续暂停加载网页,直至找到异常原因,这个查找的过程可参见图3,从图3可以看出,在第一次暂停加载网页后,可以向服务发送调试请求,接收服务返回的调试响应,并执行调试响应中的携带的新代码,若此时仍未找到异常原因,则可以继续暂停加载网页,即第二次暂停加载网页,重复上述过程,直至找到异常原因。In this embodiment, if the abnormal reason is not found, then the suspension loading module 41 can be called to continue to suspend the loading of the webpage until the abnormal reason is found. The process of this search can be referred to FIG. 3 . As can be seen from FIG. After loading the webpage, you can send a debugging request to the service, receive the debugging response returned by the service, and execute the new code carried in the debugging response. If the abnormal cause is still not found at this time, you can continue to pause loading the webpage, that is, the second pause Load the webpage and repeat the above process until the cause of the abnormality is found.

如图6所示的装置用于实现上述如图2所示的方法流程,涉及到的相关内容描述相同,此处不赘述。The device shown in FIG. 6 is used to implement the above-mentioned method flow shown in FIG. 2 , and related content is described in the same way, and will not be repeated here.

上述网页调试装置实施例,通过多次执行暂停加载网页、与服务进行交互和继续加载执行新代码的过程,可以找到异常原因,实现方式简单,调试效率高。In the embodiment of the above-mentioned web page debugging device, by performing the process of pausing loading web pages, interacting with services, and continuing to load and execute new codes multiple times, the cause of the abnormality can be found, the implementation method is simple, and the debugging efficiency is high.

关于上述实施例中的装置,其中各个模块、子模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module and sub-module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图7是根据一示例性实施例示出的一种适用于网页调试装置的框图。例如,装置700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理,飞行器等。Fig. 7 is a block diagram showing a device suitable for web page debugging according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, and the like.

参照图7,装置700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。7, device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input/output (I/O) interface 712, sensor component 714, and communication component 716 .

处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理部件702可以包括多媒体模块,以方便多媒体组件708和处理组件702之间的交互。The processing component 702 generally controls the overall operations of the device 700, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702 .

存储器704被配置为存储各种类型的数据以支持在设备700的操作。这些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 704 is configured to store various types of data to support operations at device 700 . Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件706为装置700的各种组件提供电力。电力组件706可以包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。Power component 706 provides power to various components of device 700 . Power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 700 .

多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当设备700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 708 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 708 includes a front camera and/or a rear camera. When the device 700 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a microphone (MIC) configured to receive external audio signals when the device 700 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 704 or sent via communication component 716 . In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。例如,传感器组件714可以检测到设备700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可以检测装置700或装置700一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for device 700 . For example, the sensor component 714 can detect the open/closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor component 714 can also detect a change in the position of the device 700 or a component of the device 700 , the presence or absence of user contact with the device 700 , the device 700 orientation or acceleration/deceleration and the temperature change of the device 700 . Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。装置700可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The device 700 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 700 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 704 including instructions, which can be executed by the processor 720 of the device 700 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1.一种网页调试方法,其特征在于,所述方法包括:1. A web page debugging method, characterized in that the method comprises: 若接收到网页访问异常的信息,则暂停加载所述网页;If information about abnormal web page access is received, the loading of the web page is suspended; 向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作;Send a debugging request to a local pre-established service, so as to operate the request content carried in the debugging request through the service; 接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。Receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception. 2.根据权利要求1所述的网页调试方法,其特征在于,所述方法还包括:2. The webpage debugging method according to claim 1, wherein the method further comprises: 接收针对网络视图的更新配置信息,所述更新配置信息用于使所述网络视图在网页加载过程中能够动态选择暂停加载所述网页和继续加载所述网页。Receive updated configuration information for the network view, where the updated configuration information is used to enable the network view to dynamically choose to pause loading the webpage or continue loading the webpage during the loading process of the webpage. 3.根据权利要求1所述的网页调试方法,其特征在于,所述服务用于接收所述调试请求,对所述调试请求中携带的请求内容进行操作,并返回所述调试响应。3. The webpage debugging method according to claim 1, wherein the service is used to receive the debugging request, operate on the request content carried in the debugging request, and return the debugging response. 4.根据权利要求3所述的网页调试方法,其特征在于,所述请求内容包括代码块标志、当前执行的代码行数、打点位置、打点内容和操作内容中的至少一项,所述操作内容包括打点操作和裁剪操作中的至少一项。4. The web page debugging method according to claim 3, wherein the request content includes at least one of a code block mark, the number of code lines currently executed, a dotted position, a dotted content, and an operation content, and the operation The content includes at least one of a dotting operation and a cropping operation. 5.根据权利要求1-4任一项所述的网页调试方法,其特征在于,所述方法还包括:5. The web page debugging method according to any one of claims 1-4, wherein the method further comprises: 在所述加载执行所述调试响应中携带的新代码之后,若未找到异常原因,则重复执行所述暂停加载所述网页的操作,直至找到所述异常原因。After the loading executes the new code carried in the debugging response, if no abnormal cause is found, the operation of pausing the loading of the webpage is repeatedly performed until the abnormal reason is found. 6.一种网页调试装置,其特征在于,所述装置包括:6. A web page debugging device, characterized in that the device comprises: 暂停加载模块,被配置为若接收到网页访问异常的信息,则暂停加载所述网页;The loading suspension module is configured to suspend the loading of the webpage if information about abnormal webpage access is received; 发送模块,被配置为向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作;The sending module is configured to send a debugging request to a local pre-established service, so as to operate the request content carried in the debugging request through the service; 接收加载执行模块,被配置为接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。The receiving, loading and executing module is configured to receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception. 7.根据权利要求6所述的网页调试装置,其特征在于,所述装置还包括:7. The webpage debugging device according to claim 6, wherein the device further comprises: 配置信息接收模块,被配置为接收针对网络视图的更新配置信息,所述更新配置信息用于使所述网络视图在网页加载过程中能够动态选择暂停加载所述网页和继续加载所述网页。The configuration information receiving module is configured to receive updated configuration information for the network view, and the updated configuration information is used to enable the network view to dynamically choose to suspend loading the webpage or continue loading the webpage during the webpage loading process. 8.根据权利要求6所述的网页调试装置,其特征在于,所述服务用于接收所述调试请求,对所述调试请求中携带的请求内容进行操作,并返回所述调试响应。8. The web page debugging device according to claim 6, wherein the service is configured to receive the debugging request, operate on the request content carried in the debugging request, and return the debugging response. 9.根据权利要求8所述的网页调试装置,其特征在于,所述请求内容包括代码块标志、当前执行的代码行数、打点位置、打点内容和操作内容中的至少一项,所述操作内容包括打点操作和裁剪操作中的至少一项。9. The web page debugging device according to claim 8, wherein the request content includes at least one of a code block mark, the number of code lines currently executed, a dotted position, a dotted content, and an operation content, and the operation The content includes at least one of a dotting operation and a cropping operation. 10.根据权利要求6-9任一项所述的网页调试装置,其特征在于,所述装置还包括:10. The webpage debugging device according to any one of claims 6-9, wherein the device further comprises: 处理模块,被配置为在所述接收加载执行模块加载执行所述调试响应中携带的新代码之后,若未找到异常原因,则调用所述暂停加载模块执行所述暂停加载所述网页的操作,直至找到所述异常原因。The processing module is configured to call the pause loading module to execute the operation of pausing loading the webpage after the receiving, loading and executing module loads and executes the new code carried in the debugging response, if no abnormal cause is found, until the cause of the abnormality is found. 11.一种网页调试装置,其特征在于,包括:11. A web page debugging device, characterized in that it comprises: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 若接收到网页访问异常的信息,则暂停加载所述网页;If information about abnormal web page access is received, the loading of the web page is suspended; 向本地预先建立的服务发送调试请求,以通过所述服务对所述调试请求中携带的请求内容进行操作;Send a debugging request to a local pre-established service, so as to operate the request content carried in the debugging request through the service; 接收所述服务返回的调试响应,并加载执行所述调试响应中携带的新代码,以找到异常原因。Receive the debugging response returned by the service, and load and execute the new code carried in the debugging response to find the cause of the exception.
CN201610222326.8A 2016-04-11 2016-04-11 Webpage adjustment method and device Active CN105930266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610222326.8A CN105930266B (en) 2016-04-11 2016-04-11 Webpage adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610222326.8A CN105930266B (en) 2016-04-11 2016-04-11 Webpage adjustment method and device

Publications (2)

Publication Number Publication Date
CN105930266A true CN105930266A (en) 2016-09-07
CN105930266B CN105930266B (en) 2019-04-16

Family

ID=56837944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610222326.8A Active CN105930266B (en) 2016-04-11 2016-04-11 Webpage adjustment method and device

Country Status (1)

Country Link
CN (1) CN105930266B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452916A (en) * 2016-11-21 2017-02-22 北京小米移动软件有限公司 Method and device for acquiring service quality information, client and server
CN108446226A (en) * 2018-03-08 2018-08-24 北京小米移动软件有限公司 Using abnormal processing method
CN114064514A (en) * 2022-01-17 2022-02-18 飞狐信息技术(天津)有限公司 Webpage debugging method and debugging environment simulator

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021082A (en) * 2014-06-16 2014-09-03 贝壳网际(北京)安全技术有限公司 Remote debugging method and device for browser
CN104021081A (en) * 2014-06-16 2014-09-03 贝壳网际(北京)安全技术有限公司 Debugging method and device for browser
CN104539682A (en) * 2014-12-19 2015-04-22 乐视网信息技术(北京)股份有限公司 Debug method, device, mobile terminal, server and system for mobile webpage
CN104978277A (en) * 2015-07-30 2015-10-14 北京百度网讯科技有限公司 Method for debugging page, terminal and server
US20150301811A1 (en) * 2013-01-23 2015-10-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus for testing browser compatibility
CN105224465A (en) * 2015-11-16 2016-01-06 北京京东尚科信息技术有限公司 Webpage adjustment method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150301811A1 (en) * 2013-01-23 2015-10-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus for testing browser compatibility
CN104021082A (en) * 2014-06-16 2014-09-03 贝壳网际(北京)安全技术有限公司 Remote debugging method and device for browser
CN104021081A (en) * 2014-06-16 2014-09-03 贝壳网际(北京)安全技术有限公司 Debugging method and device for browser
CN104539682A (en) * 2014-12-19 2015-04-22 乐视网信息技术(北京)股份有限公司 Debug method, device, mobile terminal, server and system for mobile webpage
CN104978277A (en) * 2015-07-30 2015-10-14 北京百度网讯科技有限公司 Method for debugging page, terminal and server
CN105224465A (en) * 2015-11-16 2016-01-06 北京京东尚科信息技术有限公司 Webpage adjustment method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452916A (en) * 2016-11-21 2017-02-22 北京小米移动软件有限公司 Method and device for acquiring service quality information, client and server
CN106452916B (en) * 2016-11-21 2019-11-01 北京小米移动软件有限公司 Preparation method and device, the client and server of quality of service information
CN108446226A (en) * 2018-03-08 2018-08-24 北京小米移动软件有限公司 Using abnormal processing method
CN108446226B (en) * 2018-03-08 2021-05-18 北京小米移动软件有限公司 Application exception handling method
CN114064514A (en) * 2022-01-17 2022-02-18 飞狐信息技术(天津)有限公司 Webpage debugging method and debugging environment simulator
CN114064514B (en) * 2022-01-17 2022-04-26 飞狐信息技术(天津)有限公司 Webpage debugging method and debugging environment simulator

Also Published As

Publication number Publication date
CN105930266B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN105808305B (en) Static resource loading method and device
CN106126018A (en) Desktop icons sort method and device
CN107094094B (en) Application networking method and device and terminal
CN107301242A (en) Method, device and the storage medium of page jump
CN108829475A (en) UI method for drafting, device and storage medium
CN107239351A (en) Method of attaching and device
CN107463372B (en) Data-driven page updating method and device
CN106708967A (en) Page display method and device
CN105930266A (en) Webpage debugging method and device
CN107423059A (en) Display methods, device and the terminal of the page
CN106339452B (en) Event response method and device
CN107241439A (en) The information push method and device of the H5 pages
CN107491238A (en) The display methods and device of pushed information
CN106293717A (en) The processing method of the setting of terminal, device and terminal
CN106484259A (en) Input method, device and equipment
CN106255063A (en) Address sending method and equipment
CN104537111B (en) The loading method and device of Web page picture
CN105550069A (en) Terminal calibration data storage method and apparatus
CN105867918B (en) Application notification prompting method and device
CN106878110A (en) Data flow monitoring method, device and equipment
CN107341195A (en) Search for processing method, device and the computer-readable recording medium during without result
CN106791206A (en) Information recording method and device
CN107395724A (en) Network request method and device
CN106919309A (en) The method of controlling operation thereof and device of electronic equipment
CN106411640A (en) Video communication fault detection method, device and source communication terminal

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