CN107203470A - Page adjustment method and device - Google Patents

Page adjustment method and device Download PDF

Info

Publication number
CN107203470A
CN107203470A CN201710331733.7A CN201710331733A CN107203470A CN 107203470 A CN107203470 A CN 107203470A CN 201710331733 A CN201710331733 A CN 201710331733A CN 107203470 A CN107203470 A CN 107203470A
Authority
CN
China
Prior art keywords
debugging
message
debugging message
request
frame
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
CN201710331733.7A
Other languages
Chinese (zh)
Other versions
CN107203470B (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.)
Tencent Technology Shenzhen 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 CN201710331733.7A priority Critical patent/CN107203470B/en
Publication of CN107203470A publication Critical patent/CN107203470A/en
Application granted granted Critical
Publication of CN107203470B publication Critical patent/CN107203470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

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)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of page adjustment method and device.Wherein, this method includes:The debugging request of browser target pages is received, wherein, debugging request is used to debug target pages;Adjustment method is called during generation target pages in response to debugging request, Debugging message is obtained, wherein, Debugging message is stored in the caching of browser;Debugging message is obtained from caching;And export Debugging message in the debugging frame of browser.The present invention, which solves correlation technique, to be needed to install chrome plug-in units, and page debugging is carried out to browser page in chrome, causes the page to debug more complicated technical problem.

Description

Page adjustment method and device
Technical field
The present invention relates to computer realm, in particular to a kind of page adjustment method and device.
Background technology
At present, when being debugged to browser page, correlation technique usually requires to install chrome plug-in units, clear in chrome Look at device debugging frame in debugged.Specifically, correlation technique quotes chromePHP classes in PHP, is calling adjustment method When, commissioning content can be write in the header header of Web browser, it is parsed in chrome plug-in units, and will debugging Information is exported into chrome debugging frame.
The adjustment method of above-mentioned browser page has the following disadvantages:
(1) need that chrome plug-in units are installed in a browser, and page debugging can only be carried out in chrome, cause to browse The debugging of the device page is more complicated, adds debugging cost.
(2) commissioning content is needed to be written in browser header header, and still, the storage capacity in header is taken Device maximum header sizes of being engaged in limitation, causes commissioning content to be restricted.
For it is above-mentioned the problem of, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of page adjustment method and device, installation is needed at least to solve correlation technique Chrome plug-in units, page debugging is carried out in chrome to browser page, causes the page to debug more complicated technical problem.
One side according to embodiments of the present invention there is provided a kind of page adjustment method, including:Receive browser target The debugging request of the page, wherein, debugging request is used to debug target pages;In response to debugging request in generation page object Adjustment method is called during face, Debugging message is obtained, wherein, Debugging message is stored in the caching of browser;From caching Obtain Debugging message;And export Debugging message in the debugging frame of browser.
Another aspect according to embodiments of the present invention, additionally provides a kind of page debugging apparatus, including:Receiving unit, is used In the debugging request for receiving browser target pages, wherein, debugging request is used to debug target pages;Call unit, For calling adjustment method during generation target pages in response to debugging request, Debugging message is obtained, wherein, Debugging message It is stored in the caching of browser;Acquiring unit, for obtaining Debugging message from caching;And output unit, for clear Look at device debugging frame in export Debugging message.
In embodiments of the present invention, without installing third party's plug-in unit in a browser, need to only browser target received After the debugging request of the page, debugging side is called during generation target pages in response to the debugging request in a browser Method, obtains Debugging message, and the Debugging message is stored in the caching of browser;Then believed by obtaining the debugging from caching Breath, and output it in the debugging frame of browser, reach that need not install third party's plug-in unit can also enter to browser page The purpose of row on-line debugging, so solve correlation technique need install chrome plug-in units, to browser page in chrome Page debugging is carried out, causes the page to debug more complicated technical problem, it is achieved thereby that simplify browser page debugging operations, Improve the technique effect of browser page debugging efficiency.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of page adjustment method according to embodiments of the present invention;
Fig. 2 is a kind of flow chart of optional page adjustment method according to embodiments of the present invention;
Fig. 3 be judgement debugging request according to embodiments of the present invention be synchronization request or Asynchronous Request code sectional drawing;
Fig. 4 is the code sectional drawing that object according to embodiments of the present invention turns array methods;
Fig. 5 is that debugging request according to embodiments of the present invention is exported to debugging frame for Debugging message in the case of Asynchronous Request Process schematic diagram;
Fig. 6 is the schematic diagram that web consoles according to the preferred embodiment of the invention show Debugging message;
Fig. 7 is the schematic diagram of the maximum program module of quick positioning performance consumption according to the preferred embodiment of the invention;
Fig. 8 is the schematic diagram that PHP code according to the preferred embodiment of the invention exports debugging process in web consoles;
Fig. 9 is a kind of schematic diagram of optional page debugging apparatus according to embodiments of the present invention;And
Figure 10 is a kind of structured flowchart of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
First, the part noun or term occurred during the embodiment of the present invention is described is applied to as follows Explain:
Biny:It is a kind of PHP lightweights web Development Frameworks.
Web consoles:Browser opens the debugging frame occurred after developer's pattern.
Synchronous/asynchronous:Data acquiring mode, is synchronously that the same page together generates the mode together issued, asynchronous is the page Complete the behavior asked again in the page after rendering.
ajax:A kind of asynchronous data acquisition methods the most frequently used front end web.
Header:Browser header, comprising html agreements, length, the information such as coded format.
Embodiment 1
There is provided a kind of embodiment of the method for page adjustment method according to embodiments of the present invention.
Alternatively, in the present embodiment, above-mentioned page adjustment method can apply to as shown in Figure 1 by server 102 In the hardware environment constituted with terminal 104.As shown in figure 1, server 102 is attached by network with terminal 104, it is above-mentioned Network includes but is not limited to:Wide area network, Metropolitan Area Network (MAN) or LAN, terminal 104 are not limited to PC, mobile phone, tablet personal computer etc..This The page adjustment method of inventive embodiments can be performed by server 102, can also be performed, can also be by terminal 104 Performed jointly by server 102 and terminal 104.Wherein, the page adjustment method of the execution of terminal 104 embodiment of the present invention can also It is to be performed by client mounted thereto.This sentences exemplified by server 102 performs the page adjustment method and the page is adjusted Method for testing is specifically described, wherein, server 102 can be involved in the embodiment of the present invention for safeguarding and supporting The server of browser.
Fig. 2 is a kind of flow chart of optional page adjustment method according to embodiments of the present invention, as shown in Fig. 2 the party Method may comprise steps of:
Step S202, receives the debugging request of browser target pages, wherein, debugging request is used to carry out target pages Debugging;
Step S204, calls adjustment method during generation target pages in response to debugging request, obtains Debugging message, Wherein, Debugging message is stored in the caching of browser;
Step S206, obtains Debugging message from caching;
Step S208, Debugging message is exported in the debugging frame of browser.
By above-mentioned steps S202 to step S208, by after the debugging request of browser target pages is received, Adjustment method is called during generation target pages in response to the debugging request in a browser, Debugging message is obtained, and should Debugging message is stored in the caching of browser;Then browsed by obtaining the Debugging message from caching, and outputting it In the debugging frame of device, reach that need not install third party's plug-in unit can also carry out the purpose of on-line debugging to browser page, enter And solving correlation technique needs to install chrome plug-in units, page debugging is carried out to browser page in chrome, causes page More complicated technical problem is debugged in face, it is achieved thereby that simplifying browser page debugging operations, improves browser page debugging The technique effect of efficiency.
In the technical scheme that step S202 is provided, the embodiment of the present invention is not specifically limited to the type of browser, example Such as browser can be QQ browsers or IE browser.Target pages in the embodiment of the present invention can be browsed Any page in device running, wherein, shown data content can include text, picture, audio in target pages Or video etc..The Debugging message of browser target pages can be used for asking to debug the target pages, it is necessary to be said Bright, the debugging carried out in the embodiment of the present invention to target pages is on-line debugging, that is to say, that in the generation of the mesh page During the target pages are debugged, the on-line debugging does not interfere with the structure of target pages, and also user side will not be produced Raw any influence.It should also be noted that, the commissioning content carried out to target pages can be adjusted according to the actual requirements, Herein and be not specifically limited, for example, target pages can be debugged commonly, abnormal debugging, time or internal memory debugging etc.. It should also be noted that, following information can be included but is not limited in debugging request:The identification information of target pages, debugging position Put, the information such as commissioning content, the rank of commissioning content etc..
In practical application scene, after browser starts, the generation request of target pages, which can be triggered, generates the target The debugging request of the page, that is to say, that can be triggered in request generation target pages and the target pages are debugged, with reality The debugging to target pages is completed during generation target pages now.It should be noted that the generation request of target pages Can by user, performed touch control operation is triggered and generated in a browser, wherein, the touch control operation performed by user can be wrapped Include but be not limited to input URL addresses, clickthrough etc..The generation for receiving browser target pages in server asks it Afterwards, generation request can set out simultaneously generates the debugging request of the target pages, to allow server while receiving To the debugging request of the target pages.
In the technical scheme that step S204 is provided, after the debugging request of browser target pages is received, service Device can be responded to the debugging request, and specific response process can include:Called in the generating process of target pages Target pages are debugged by method for testing by performing adjustment method.It should be noted that in target pages generating process institute The adjustment method embodiment of the present invention called simultaneously is not specifically limited, and adjustment method can be set according to the actual requirements, for example, adjusting Method for testing can be TXLogger methods, can specifically include:Common debugging TXLogger::Info ($ log), warning content TXLogger::Warn ($ log), abnormal debugging TXLogger::Error ($ log), the current millisecond timestamp of output TXLogger::Time (), output Current Content consumption TXLogger::Memory () etc..It should also be noted that, page object The generating process in face namely the implementation procedure of program codes, wherein, program codes are used to generate target pages.At this Above-mentioned any one or several adjustment methods can be called in inventive embodiments in the optional position of program codes, its In, the calling station of adjustment method can be set according to actual debugging demand.
Target pages are debugged by calling adjustment method to realize, adjustment method can obtain mesh after calling The Debugging message of the page is marked, wherein, Debugging message can serve to indicate that the debugging result called and obtained after adjustment method.Need Bright, Debugging message can be corresponding with the adjustment method called, and the adjustment method in the embodiment of the present invention can be One or multiple.When calling multiple adjustment methods in the generating process of target pages, it can include in Debugging message Debugging result corresponding to these adjustment methods, and these debugging results can according to adjustment method execution sequencing carry out Sequence.For example, when adjustment method includes:TXLogger::error($log)、TXLogger::time()、TXLogger:: During memory (), and calling for above-mentioned three kinds of adjustment methods is sequentially followed successively by TXLogger::error($log)、 TXLogger::time()、TXLogger::Memory (), then can include successively in Debugging message:TXLogger::error The result (whether abnormal) of ($ log), TXLogger::Time () result (current millisecond timestamp), TXLogger:: Memory () result (memory consumption of Current Content).It should also be noted that, other letters can also be included in Debugging message Breath, for example, calling the time of adjustment method, the identification information of target pages, specific commissioning content, the adjustment method of adjustment method Type level etc..
As a kind of optional embodiment, by calling the tune obtained by adjustment method in the generating process of target pages Examination information can be stored in the caching of browser, herein it should be noted that can be stored with the caching of browser multiple The corresponding Debugging message of target pages, these Debugging message can be distinguish between with the identification information of target pages, and each mesh Multiple records can be included by marking the Debugging message of the page, a kind of each corresponding adjustment method of record, namely can be with Debugging message Debugging result record obtained by being called including same target pages after different adjustment methods, these debugging results record can To call sequencing to sort according to adjustment method.The Debugging message of target pages is stored in browser and delayed by the embodiment of the present invention In depositing, and it is marked with the identification information of target pages, can realizes and be easy to from caching rapidly and accurately obtain the target The purpose of the corresponding Debugging message of the page.
In the technical scheme that step S206 is provided, the generating process namely program codes of target pages were performed The data content that data content namely program codes in journey, target pages are returned.Number is returned in program codes According to class pair can be generated during content as, the class pair is as that can be TXResponse objects, wherein, the TXResponse Object can be used for the Debugging message that storage is obtained from browser rs cache.After the TXResponse objects are generated, utilize The TXResponse objects can obtain the Debugging message wherein stored from browser rs cache.Herein it should be noted that adjusting The acquisition modes for trying information can be any one in the following manner:The first, obtains the institute of storage from browser rs cache Some Debugging message, wherein, include the Debugging message of target pages;Then using the identification information of target pages from all tune The Debugging message of the target pages is filtered out in examination information.Second, using the identification information of target pages from browser rs cache It is middle to search the corresponding Debugging message of the target pages, the corresponding debugging letter of found target pages is then obtained from caching Breath.It should also be noted that, including the corresponding debugging result record of a variety of adjustment methods in the corresponding Debugging message of target pages In the case of, the sequencing that accessed Debugging message should also be called according to adjustment method from browser rs cache is carried out Sequence, namely the storage order one that the Debugging message got from browser rs cache should be with Debugging message in browser rs cache Cause.
In the technical scheme that step S208 is provided, after Debugging message is got from browser rs cache, the present invention Embodiment can carry out the Debugging message got output display in the debugging frame of browser, complete the tune to target pages Examination.Browser debugging frame in output display Debugging message can in order to commissioning staff can intuitively clearly according to debugging frame in Debugging message target pages are accordingly debugged.It should be noted that the debugging got from browser rs cache is believed It is relevant with the type of the debugging request of target pages that breath is exported taken method in browser debugging frame, wherein, mesh Synchronization request and Asynchronous Request can be included by marking the type of the debugging request of the page, it is synchronous and it is asynchronous be two kinds of data acquisition sides Formula, so-called synchronization namely the page together generate the mode that data are together issued, and the so-called asynchronous namely page is completed after rendering again Carry out the behavioral approach of request of data.Therefore, after Debugging message is got from browser rs cache, and in the tune of browser Try in frame before output Debugging message, the embodiment of the present invention can also judge that the type of debugging request is synchronization request or asynchronous Request, then takes correlation method to export Debugging message to browser and debugs in frame according to the type of debugging request.Alternatively, The embodiment of the present invention can use the HTTP_X_REQUESTED_WITH parameters in PHP $ _ SERVER to be to judge debugging request Synchronization request or Asynchronous Request, shown in the code sectional drawing that specific deterministic process can be as shown in Figure 3.It should be noted that this Inventive embodiments can also judge that trigger request is synchronization request or Asynchronous Request using other modes, and no longer one at one stroke herein Example explanation.
As a kind of optional embodiment, step S208 exports Debugging message according to the type of debugging request in debugging frame Following two situations can be included:
The first situation, in the case where debugging request is synchronization request, calls script directly that Debugging message is defeated Go out into debugging frame.
It should be noted that in the case where judging that debugging request is synchronization request, the embodiment of the present invention can pass through TXResponse destructor function is registered, after program codes execution, by calling the destructor function in target pages Middle output js methods, directly export Debugging message into debugging frame.
As a kind of optional embodiment, in the case where debugging request is synchronization request, script is called directly will Debugging message is exported to be needed to detect the type of Debugging message into debugging frame, wherein, the type of Debugging message can be included but simultaneously It is not limited to character string type, digit group type, object type.The alternative embodiment determines to export in debugging frame according to the type of Debugging message Content can include following several situations:
(1) in the case where Debugging message is character string type, directly the Debugging message of character string type is exported to debugging frame In.
If Debugging message be character string type, the alternative embodiment can directly in js call method console. { levels Not } (title=>Content) Debugging message is exported into debugging frame.
(2) in the case where Debugging message is digit group type, the Debugging message of digit group type is converted into debugging frame and recognizes class The Debugging message of type;The Debugging message for debugging frame institute identification types is exported into debugging frame.
If Debugging message is digit group type, digit group type Debugging message can be passed through json_ by the alternative embodiment first The type that encode method migrations can be recognized into debugging frame, then calls console method console. { levels in js again Not } (title=>Content) output this in debugging frame.
(3) in the case where Debugging message is object type, the debugging that the Debugging message of object type is converted into digit group type is believed Breath;The Debugging message of digit group type is converted into debugging to the Debugging message of frame institute identification types;The tune of frame institute identification types will be debugged Examination information is exported into debugging frame.
If Debugging message be object type, the alternative embodiment can call object _ _ toLogger () method will debug Information is exported into debugging frame.If not being somebody's turn to do _ _ toLogger () method, the alternative embodiment can pass through object and turn Object type Debugging message is converted to digit group type Debugging message by array methods, and Object turns array methods and obtained using class is reflected Public in such, private object, by way of building array, by the incoming array of the object in class, specific transfer process Shown in code sectional drawing that can be as shown in Figure 4.Then digit group type Debugging message is converted into by tune by json_encode methods again The type that can recognize of examination frame, called in js console method console. { rank } (title=>Content) output it Into debugging frame.
Second of situation, in the case where debugging request is Asynchronous Request, builds json objects, wherein, in json objects Be stored with Debugging message;Parsing obtains Debugging message from json objects, and Debugging message is exported into debugging frame.
It should be noted that in the case where judging that debugging request is Asynchronous Request, the embodiment of the present invention can be built Json objects, and log objects are added in the json objects, wherein, be stored with Debugging message in log objects, then by right Json objects carry out dissection process and export Debugging message therein into debugging frame.
In practical application scene, in the case where debugging request is Asynchronous Request, the alternative embodiment can be in literal translation Registration ajax returns to event in formula script (javascript, abbreviation js), wherein, ajax is asynchronous Javasript and XML abbreviation, refers to a kind of web development technologies for creating interaction network page application, by daily record log Hold output into debugging frame.As shown in figure 5, when an asynchronous ajax request accesses php servers, TXResponse can be passed through Method can construct a json object for including tune-up data, wherein, json is javascript object notation Abbreviation, be a kind of data interchange format of lightweight.The alternative embodiment can have registered ajaxSuccess side in a program Method, after json returns are successfully got, can carry out data parsing to it, daily record log is separated, js methods are performed line by line Console. { rank } (title=>Content), log objects are deleted afterwards, native data data is returned and gives back webpage web In ajax responders, complete whole daily record log output.
It should be noted that the alternative embodiment can be compatible synchronous, different during being debugged to target pages The page is walked, same calling logic is used, it is possible to which automatic adaptation is synchronous, asynchronous two kinds of situations, can be by using above-mentioned two Plant different echo plex modes and realize that identical exports Debugging message to browser the effect debugged in frame, in the synchronous case, Debugging message is directly exported using js in page rendering layer bottom into browser debugging frame, under asynchronous condition, is noted in js Volume ajsx returns to event, and output log contents are into browser debugging frame.
Present invention also offers a kind of preferred embodiment, the preferred embodiment devises a set of PHP light weights in the server Level web Development Frameworks, Biny frameworks, and there is provided a kind of web adjustment methods based on primary PHP in the Biny frameworks.Should Method can be without in the case of any third party's plug-in unit, using same calling logic, and automatic identification is synchronous, asynchronous patrol Volume, the same effect that Debugging message is exported in web consoles is realized using different echo plex modes, wherein, web consoles That is the debugging frame of browser.Synchronous logic refers to, Debugging message is directly exported using js to web controls in page rendering layer bottom Platform;Asynchronous logic refers to, is registered in js in ajax return events, output log contents to web consoles.
The page adjustment method that the invention is provided, can see correspondence Debugging message in web consoles, as shown in fig. 6, It can be seen that the Debugging message obtained after being debugged to browser page in web consoles.In addition, can be provided in the invention The adjustment methods such as time/internal memory, quickly can consume maximum program module by positioning performance, so that convenient exploitation time update is excellent Change, such as Debugging message sectional drawing as shown in Figure 7.
The present invention can be integrated in Biny frameworks, be the solution of the PHP on-line debuggings of complete set.It is either same Step data or asynchronous data, user side can see the daily record of oneself output in web consoles.And unlike server Daily record, is difficult to the independent daily record for positioning the web-page requests when a large number of users is accessed.The present invention can be complete output work as The daily record of the debugging log of the preceding page and only current page, is not in chaotic phenomenon.
In addition, the debugging of the present invention does not interfere with page structure, even if being debugged on line, user side will not also be produced any Influence.
Call method in the present invention can be with as follows:
TXLogger::Info ($ log) // common debugging
TXLogger::Warn ($ log) // warning content
TXLogger::Error ($ log) // exception debugging
TXLogger::Time () // current millisecond timestamp of output
TXLogger::Memory () // output Current Content consumption
Fig. 8 is the schematic diagram that PHP code according to the preferred embodiment of the invention exports debugging process in web consoles, As shown in figure 8, the process can be described as:
First, TXLogger methods can be called in program process in the optional position of program, and by the day of debugging Will content is stored in the log buffer of browser.It should be noted that the time, the data such as internal memory can be according to log buffer The result that the daily record data of middle storage is obtained after calculating.
Secondly, TXResponse objects can be generated during program returned content, can be from day after generation TXResponse objects The log content of all deposits before being read in will caching.It should be noted that in the log content read and the daily record of deposit The tandem of appearance is constant.
Again, judgement is synchronization request or Asynchronous Request, and specific deterministic process can be used in PHP $ _ SERVER HTTP_X_REQUESTED_WITH parameters judge it is synchronization request or Asynchronous Request, and specific deterministic process can be such as Fig. 3 institutes The code sectional drawing shown.
If synchronization request, then TXResponse destructor function is registered, when program is completed, js side is exported in the page Method, one by one daily record judges that output content is depending on Log Types, specifically:
If Log Types be character string type, directly called in js console method console. { rank } (title=> Content).
If Log Types are digit group type, array content is recognized by json_encode method migrations into console Object types, then by console. { rank } (title=>Content) method output.
If Log Types be object type, call object _ _ toLogger () method, if do not have _ _ toLogger () side Method, then turn array method migrations by object, then exports the array according to the processing mode of " digit group type ".Wherein, Object, which turns array methods, to obtain public in such using class is reflected, private object, by way of building array, will In incoming array of object in class, specific transfer process can be as shown in Figure 4.
If Asynchronous Request, then log objects can be added in json objects are returned, log content is added to log objects In, biny.js processing is given, and output journal is into web consoles.As shown in figure 5, an asynchronous ajax request accesses php Server, a json object for including tune-up data can be constructed by TXResponse methods, and biny.js is then in program In have registered ajaxSuccess methods, successfully obtain json return after, can one step ahead carry out data parsing, log is separated Out, line by line perform js methods console. { rank } (title=>Content), log objects are deleted afterwards, primary data is returned The ajax responders that data are given back in web are returned, the work of whole log outputs is completed.
Finally, web consoles get and export corresponding data in web consoles after js log instructions, i.e., according to clear Look at device inherent logic output corresponding data.
Using the above embodiment of the present invention, PHP can be easily and quickly debugged in the case where not destroying page structure Program, and compatible synchronous, asynchronous two kinds of situations, perfectly realize the page on-line debugging function based on PHP.
As an alternatively embodiment, log content can be stored in header and be transmitted, and so connect the page Also be not in Debugging message in body, all transfer to handle in biny.js.Using the embodiment, the transmission of log content is just Header size can be limited to, and body is no size limitation in itself.
The method that a kind of PHP code that the present invention is provided exports debugging in web consoles, without third party's plug-in unit, just Can complete debugging process, and the method for debugging that the present invention is provided, can any support developer's pattern browser Middle operation, is not limited by header sizes, takes body sizes unrestricted.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Understood based on such, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiment 2
According to embodiments of the present invention, a kind of page debugging apparatus for being used to implement above-mentioned page adjustment method is additionally provided. Fig. 9 is a kind of schematic diagram of optional page debugging apparatus according to embodiments of the present invention, as shown in figure 9, the device can be wrapped Include:
Receiving unit 92, the debugging request for receiving browser target pages, wherein, debugging request is used for page object Debugged in face;Call unit 94, for calling adjustment method during generation target pages in response to debugging request, is obtained Debugging message, wherein, Debugging message is stored in the caching of browser;Acquiring unit 96, for obtaining debugging letter from caching Breath;And output unit 98, for exporting Debugging message in the debugging frame of browser.
It should be noted that the receiving unit 92 in the embodiment can be used for performing the step in the embodiment of the present application 1 Call unit 94 in S202, the embodiment can be used for performing in the step S204 in the embodiment of the present application 1, the embodiment The output unit 98 that acquiring unit 96 can be used for performing in the step S206 in the embodiment of the present application 1, the embodiment can be used Step S208 in execution the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that the step of correspondence is realized, but not It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
As a kind of optional embodiment, acquiring unit 96 can include:Generation module, for generate class pair as, Wherein, class pair from caching as obtaining Debugging message;Acquisition module, for using class pair as being obtained from caching Take Debugging message.
As a kind of optional embodiment, the page debugging apparatus can also include:Judging unit, for from caching Obtain after Debugging message, judge the type of debugging request, wherein, the type of debugging request includes synchronization request and asynchronous asked Ask.Correspondingly, output unit 98 can include:Output module, exports in debugging frame for the type according to debugging request and adjusts Try information.
As a kind of optional embodiment, output module 98 can include:First output sub-module, in debugging request In the case of for synchronization request, script is called directly to export Debugging message into debugging frame;Second output sub-module, is used In the case of being Asynchronous Request in debugging request, json objects are built, wherein, be stored with Debugging message in json objects;From Parsing obtains Debugging message in json objects, and Debugging message is exported into debugging frame.
As a kind of optional embodiment, the first output sub-module can include:Detection sub-module, for detecting debugging letter The type of breath;Determination sub-module, for the content for determining to export in debugging frame according to the type of Debugging message.
As a kind of optional embodiment, the type of Debugging message can include character string type, digit group type, object type, its In, determination sub-module can include:3rd output sub-module, in the case of being character string type in Debugging message, directly will The Debugging message of character string type is exported into debugging frame;4th output sub-module, in the situation that Debugging message is digit group type Under, the Debugging message of digit group type is converted into debugging to the Debugging message of frame institute identification types;The tune of frame institute identification types will be debugged Examination information is exported into debugging frame;5th output sub-module, in the case of being object type in Debugging message, by object type Debugging message is converted into the Debugging message of digit group type;The Debugging message of digit group type is converted into debugging to the debugging of frame institute identification types Information;The Debugging message for debugging frame institute identification types is exported into debugging frame.
As a kind of optional embodiment, the second output sub-module can include:Analyzing sub-module, for from json objects In parse log objects, wherein, log objects are added with json objects, be stored with log objects Debugging message;6th output Submodule, for calling script to export the Debugging message in log objects into debugging frame.
Herein it should be noted that above-mentioned module is identical with example and application scenarios that the step of correspondence is realized, but not It is limited to the disclosure of that of above-described embodiment 1.It should be noted that above-mentioned module as a part for device may operate in as It in hardware environment shown in Fig. 1, can be realized, can also be realized by hardware by software.
By above-mentioned module, it can reach that need not install third party's plug-in unit can also carry out on-line debugging to browser page Purpose, and then solve correlation technique need install chrome plug-in units, in chrome to browser page carry out page tune Examination, causes the page to debug more complicated technical problem, it is achieved thereby that simplifying browser page debugging operations, improves browser The technique effect of page debugging efficiency.
Embodiment 3
According to embodiments of the present invention, a kind of terminal for being used to implement above-mentioned page adjustment method is additionally provided.
Figure 10 is a kind of structured flowchart of terminal according to embodiments of the present invention, and as shown in Figure 10, the terminal can include: One or more (one is only shown in figure) processors 201, memory 203 and transmitting device 205, as shown in Figure 10, the end End can also include input-output equipment 207.
Wherein, the page debugging side that memory 203 can be used in storage software program and module, such as embodiment of the present invention Method and the corresponding programmed instruction/module of device, processor 201 by operation be stored in software program in memory 203 and Module, so as to perform various function application and data processing, that is, realizes above-mentioned page adjustment method.Memory 203 can be wrapped Include high speed random access memory, can also include nonvolatile memory, such as one or more magnetic storage device, flash memory or Other non-volatile solid state memories of person.In some instances, memory 203 can further comprise remote relative to processor 201 The memory that journey is set, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes but not limited In internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to data are received or sent via a network.Above-mentioned network instantiation It may include cable network and wireless network.In an example, transmitting device 205 includes a network adapter (Network Interface Controller, NIC), its can be connected by netting twine and other network equipments with router so as to interconnection Net or LAN are communicated.In an example, transmitting device 205 is radio frequency (Radio Frequency, RF) module, its For wirelessly being communicated with internet.
Wherein, specifically, memory 203 is used to store application program.
Processor 201 can call the application program that memory 203 is stored, to perform following step:Receive browser mesh The debugging request of the page is marked, wherein, debugging request is used to debug target pages;In response to debugging request in generation target Adjustment method is called during the page, Debugging message is obtained, wherein, Debugging message is stored in the caching of browser;From caching Middle acquisition Debugging message;And export Debugging message in the debugging frame of browser.
Processor 201 is additionally operable to perform following step:Generate class pair as, wherein, class pair is as from caching Middle acquisition Debugging message;Using class pair as obtaining Debugging message from caching.
Processor 201 is additionally operable to perform following step:After Debugging message is obtained from caching, debugging request is judged Type, wherein, the type of debugging request includes synchronization request and Asynchronous Request;According to the type of debugging request debugging frame in it is defeated Go out Debugging message.
Processor 201 is additionally operable to perform following step:In the case where debugging request is synchronization request, script is called Directly Debugging message is exported into debugging frame;In the case where debugging request is Asynchronous Request, json objects are built, wherein, Be stored with Debugging message in json objects;Parsing obtains Debugging message from json objects, and Debugging message is exported to debugging In frame.
Processor 201 is additionally operable to perform following step:Detect the type of Debugging message;Determined according to the type of Debugging message The content exported in debugging frame.
Processor 201 is additionally operable to perform following step:In the case where Debugging message is character string type, directly by character string The Debugging message of type is exported into debugging frame;In the case where Debugging message is digit group type, the Debugging message of digit group type is changed Into the Debugging message of debugging frame institute identification types;The Debugging message for debugging frame institute identification types is exported into debugging frame;Adjusting Information is tried in the case of object type, the Debugging message of object type is converted into the Debugging message of digit group type;By the tune of digit group type Examination information is converted into debugging the Debugging message of frame institute identification types;The Debugging message for debugging frame institute identification types is exported to debugging In frame.
Processor 201 is additionally operable to perform following step:Log objects are parsed from json objects, wherein, in json objects Added with log objects, be stored with Debugging message in log objects;Call script by the Debugging message in log objects export to Debug in frame.
Using the embodiment of the present invention, there is provided the scheme that a kind of page is debugged.By receiving browser target pages Debugging request after, in a browser in response to the debugging request generation target pages during call adjustment method, obtain To Debugging message, and the Debugging message is stored in the caching of browser;Then by obtaining the Debugging message from caching, and Output it in the debugging frame of browser, reached that need not install third party's plug-in unit can also be carried out online to browser page The purpose of debugging, so solve correlation technique need install chrome plug-in units, in chrome to browser page carry out page Face is debugged, and causes the page to debug more complicated technical problem, it is achieved thereby that simplifying browser page debugging operations, is improved clear Look at the technique effect of device page debugging efficiency.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
It will appreciated by the skilled person that the structure shown in Figure 10 is only signal, terminal can be smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal device such as PAD.Figure 10 it does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal is also May include than shown in Figure 10 more either less components (such as network interface, display device etc.) or with Figure 10 institutes Show different configurations.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come the device-dependent hardware of command terminal, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can For performing the program code of page adjustment method.
Alternatively, in the present embodiment, above-mentioned storage medium can be located at multiple in the network shown in above-described embodiment On at least one network equipment in the network equipment.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:
S1, receives the debugging request of browser target pages, wherein, debugging request is used to debug target pages;
S2, calls adjustment method during generation target pages in response to debugging request, obtains Debugging message, wherein, Debugging message is stored in the caching of browser;
S3, obtains Debugging message from caching;
S4, Debugging message is exported in the debugging frame of browser.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Generate class pair As, wherein, class pair from caching as obtaining Debugging message;Using class pair as obtaining debugging letter from caching Breath.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Obtained from caching Take after Debugging message, judge the type of debugging request, wherein, the type of debugging request includes synchronization request and Asynchronous Request; Debugging message is exported in debugging frame according to the type of debugging request.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is in debugging request In the case of synchronization request, script is called directly to export Debugging message into debugging frame;Asked in debugging request to be asynchronous In the case of asking, json objects are built, wherein, be stored with Debugging message in json objects;Parse and adjusted from json objects Information is tried, and Debugging message is exported into debugging frame.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Detect Debugging message Type;The content for determining to export in debugging frame according to the type of Debugging message.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is in Debugging message In the case of character string type, directly the Debugging message of character string type is exported into debugging frame;It is digit group type in Debugging message In the case of, the Debugging message of digit group type is converted into debugging to the Debugging message of frame institute identification types;Will debugging frame institute identification types Debugging message export to debugging frame in;In the case where Debugging message is object type, the Debugging message of object type is converted into The Debugging message of digit group type;The Debugging message of digit group type is converted into debugging to the Debugging message of frame institute identification types;Frame will be debugged The Debugging message of institute's identification types is exported into debugging frame.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:From json objects Log objects are parsed, wherein, be stored with Debugging message is added with log objects, log objects in json objects;Call script language Speech exports the Debugging message in log objects into debugging frame.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2 Example, the present embodiment will not be repeated here.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. is various can be with the medium of store program codes.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
If the integrated unit in above-described embodiment is realized using in the form of SFU software functional unit and is used as independent product Sale or in use, the storage medium that above computer can be read can be stored in.Understood based on such, skill of the invention The part or all or part of the technical scheme that art scheme substantially contributes to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, including some instructions are to cause one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) perform each embodiment institute of the invention State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
, can be by others side in several embodiments provided herein, it should be understood that disclosed client Formula is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, only one Kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Another system is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed it is mutual it Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (14)

1. a kind of page adjustment method, it is characterised in that including:
The debugging request of browser target pages is received, wherein, the debugging request is used to debug the target pages;
Adjustment method is called during the target pages are generated in response to the debugging request, Debugging message is obtained, wherein, The Debugging message is stored in the caching of the browser;
The Debugging message is obtained from the caching;And
The Debugging message is exported in the debugging frame of the browser.
2. according to the method described in claim 1, it is characterised in that described that the Debugging message bag is obtained from the caching Include:
Generate class pair as, wherein, the class pair from the caching as obtaining the Debugging message;
Using the class pair as obtaining the Debugging message from the caching.
3. according to the method described in claim 1, it is characterised in that
It is described obtain the Debugging message from the caching after, methods described also includes:Judge the debugging request Type, wherein, the type of the debugging request includes synchronization request and Asynchronous Request;
It is described to export the Debugging message in the debugging frame of the browser and include:According to the type of the debugging request in institute State in debugging frame and export the Debugging message.
4. method according to claim 3, it is characterised in that the type according to the debugging request is in the debugging The Debugging message is exported in frame to be included:
The debugging request be the synchronization request in the case of, call script directly by the Debugging message export to In the debugging frame;
In the case where the debugging request is the Asynchronous Request, json objects are built, wherein, stored in the json objects There is the Debugging message;Parsing obtains the Debugging message from the json objects, and the Debugging message is exported to institute State in debugging frame.
5. method according to claim 4, it is characterised in that described in the feelings that the debugging request is the synchronization request Under condition, calling script directly to export the Debugging message to the debugging frame includes:
Detect the type of the Debugging message;
The content for determining to export in the debugging frame according to the type of the Debugging message.
6. method according to claim 5, it is characterised in that the type of the Debugging message includes character string type, array Type, object type, wherein, it is described to determine that the content exported in the debugging frame includes according to the type of the Debugging message:
In the case where the Debugging message is the character string type, directly the Debugging message of the character string type is exported Into the debugging frame;
In the case where the Debugging message is the digit group type, the Debugging message of the digit group type is converted into the tune Try the Debugging message of frame institute identification types;The Debugging message of debugging frame institute identification types is exported into the debugging frame;
In the case where the Debugging message is the object type, the Debugging message of the object type is converted into the number The Debugging message of group type;The Debugging message of the digit group type is converted into the Debugging message of debugging frame institute identification types;Will The Debugging message of debugging frame institute identification types is exported into the debugging frame.
7. method according to claim 4, it is characterised in that the parsing from the json objects obtains the debugging Information, and by the Debugging message export to it is described debugging frame include:
Log objects are parsed from the json objects, wherein, the log objects are added with the json objects, it is described Be stored with the Debugging message in log objects;
Script is called to export the Debugging message in the log objects into the debugging frame.
8. a kind of page debugging apparatus, it is characterised in that including:
Receiving unit, the debugging request for receiving browser target pages, wherein, the debugging request is used for the target The page is debugged;
Call unit, for calling adjustment method during the target pages are generated in response to the debugging request, is obtained Debugging message, wherein, the Debugging message is stored in the caching of the browser;
Acquiring unit, for obtaining the Debugging message from the caching;And
Output unit, for exporting the Debugging message in the debugging frame of the browser.
9. device according to claim 8, it is characterised in that the acquiring unit includes:
Generation module, for generate class pair as, wherein, the class pair from the caching as obtaining the tune Try information;
Acquisition module, for using the class pair as obtaining the Debugging message from the caching.
10. device according to claim 8, it is characterised in that
Described device also includes:Judging unit, for it is described obtain the Debugging message from the caching after, judge institute The type of debugging request is stated, wherein, the type of the debugging request includes synchronization request and Asynchronous Request;
The output unit includes:Output module, institute is exported for the type according to the debugging request in the debugging frame State Debugging message.
11. device according to claim 10, it is characterised in that the output module includes:
First output sub-module, in the case of being the synchronization request in the debugging request, calls script direct The Debugging message is exported into the debugging frame;
Second output sub-module, in the case of being the Asynchronous Request in the debugging request, builds json objects, its In, be stored with the Debugging message in the json objects;Parsing obtains the Debugging message from the json objects, and will The Debugging message is exported into the debugging frame.
12. device according to claim 11, it is characterised in that first output sub-module includes:
Detection sub-module, the type for detecting the Debugging message;
Determination sub-module, for the content for determining to export in the debugging frame according to the type of the Debugging message.
13. device according to claim 12, it is characterised in that the type of the Debugging message includes character string type, number Group type, object type, wherein, the determination sub-module includes:
3rd output sub-module, in the case of being the character string type in the Debugging message, directly by the character string The Debugging message of type is exported into the debugging frame;
4th output sub-module, in the case of being the digit group type in the Debugging message, by described in the digit group type Debugging message is converted into the Debugging message of debugging frame institute identification types;By the Debugging message of debugging frame institute identification types Output is into the debugging frame;
5th output sub-module, in the case of being the object type in the Debugging message, by described in the object type Debugging message is converted into the Debugging message of the digit group type;The Debugging message of the digit group type is converted into the debugging frame to be known The Debugging message of other type;The Debugging message of debugging frame institute identification types is exported into the debugging frame.
14. device according to claim 11, it is characterised in that second output sub-module includes:
Analyzing sub-module, for parsing log objects from the json objects, wherein, added in the json objects State the Debugging message that is stored with log objects, the log objects;
6th output sub-module, is adjusted for calling script to export the Debugging message in the log objects to described Try in frame.
CN201710331733.7A 2017-05-11 2017-05-11 Page adjustment method and device Active CN107203470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710331733.7A CN107203470B (en) 2017-05-11 2017-05-11 Page adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710331733.7A CN107203470B (en) 2017-05-11 2017-05-11 Page adjustment method and device

Publications (2)

Publication Number Publication Date
CN107203470A true CN107203470A (en) 2017-09-26
CN107203470B CN107203470B (en) 2018-09-14

Family

ID=59906198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710331733.7A Active CN107203470B (en) 2017-05-11 2017-05-11 Page adjustment method and device

Country Status (1)

Country Link
CN (1) CN107203470B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874674A (en) * 2018-06-21 2018-11-23 北京金山安全软件有限公司 page debugging method and device
CN109857473A (en) * 2017-11-29 2019-06-07 北京京东尚科信息技术有限公司 A kind of loading method and device of page data
CN110633220A (en) * 2019-09-25 2019-12-31 北京明略软件系统有限公司 Debugging information display method and device, storage medium and electronic equipment
CN112631602A (en) * 2020-12-25 2021-04-09 北京天融信网络安全技术有限公司 Browser development mode detection method, device, equipment and storage medium
CN114422857A (en) * 2021-12-28 2022-04-29 炫彩互动网络科技有限公司 Webpage debugging method on IPTV set-top box and set-top box

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6119247A (en) * 1998-06-22 2000-09-12 International Business Machines Corporation Remote debugging of internet applications
US20030023485A1 (en) * 2001-07-26 2003-01-30 Newsome Mark R. Advertisement selection criteria debugging process
US7873872B1 (en) * 2001-07-10 2011-01-18 Versata Development Group, Inc. System and method for remotely debugging application programs
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
CN106055480A (en) * 2016-06-02 2016-10-26 腾讯科技(深圳)有限公司 Webpage debugging method and terminal
US9645910B1 (en) * 2015-03-12 2017-05-09 Amazon Technologies, Inc. Cross platform mobile HTML debugging

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6119247A (en) * 1998-06-22 2000-09-12 International Business Machines Corporation Remote debugging of internet applications
US7873872B1 (en) * 2001-07-10 2011-01-18 Versata Development Group, Inc. System and method for remotely debugging application programs
US20030023485A1 (en) * 2001-07-26 2003-01-30 Newsome Mark R. Advertisement selection criteria debugging process
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
US9645910B1 (en) * 2015-03-12 2017-05-09 Amazon Technologies, Inc. Cross platform mobile HTML debugging
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
CN106055480A (en) * 2016-06-02 2016-10-26 腾讯科技(深圳)有限公司 Webpage debugging method and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857473A (en) * 2017-11-29 2019-06-07 北京京东尚科信息技术有限公司 A kind of loading method and device of page data
CN108874674A (en) * 2018-06-21 2018-11-23 北京金山安全软件有限公司 page debugging method and device
CN110633220A (en) * 2019-09-25 2019-12-31 北京明略软件系统有限公司 Debugging information display method and device, storage medium and electronic equipment
CN112631602A (en) * 2020-12-25 2021-04-09 北京天融信网络安全技术有限公司 Browser development mode detection method, device, equipment and storage medium
CN112631602B (en) * 2020-12-25 2023-10-13 北京天融信网络安全技术有限公司 Browser development mode detection method, device, equipment and storage medium
CN114422857A (en) * 2021-12-28 2022-04-29 炫彩互动网络科技有限公司 Webpage debugging method on IPTV set-top box and set-top box

Also Published As

Publication number Publication date
CN107203470B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN107203470B (en) Page adjustment method and device
CN109034660B (en) Method and related device for determining risk control strategy based on prediction model
CN107220094B (en) Page loading method and device and electronic equipment
CN106528432B (en) The construction method and device of test scene data bury a test method
CN106339398B (en) A kind of pre-reading method of Webpage, device and intelligent terminal
CN104767775B (en) Web application information push method and system
CN103248684B (en) Resource acquiring method and device in a kind of the Internet
CN107766344B (en) Template rendering method and device and browser
CN107562620A (en) One kind buries an automatic setting method and device
CN104112002B (en) A kind of methods, devices and systems of list adaptation
CN106484383A (en) page rendering method, device and equipment
CN104572777B (en) Webpage loading method and device based on UIWebView component
CN106453216A (en) Malicious website interception method, malicious website interception device and client
CN106412034B (en) Method for processing business and device
CN105867714A (en) Application downloading method, apparatus and system
CN106603296A (en) Log processing method and device
CN107276842B (en) Interface test method and device and electronic equipment
CN109814868A (en) Network transmission analogy method, device, computer equipment and storage medium
CN102929971A (en) Multimedia information playing method and system
CN107229760A (en) Storage medium, electronic installation, the display methods of web page contents and device
CN108345606A (en) The acquisition methods and device of web page resources
CN110197053A (en) Page generation method and device and electronic device
CN109657125A (en) Data processing method, device, equipment and storage medium based on web crawlers
CN107766307A (en) A kind of method and apparatus of Form Element linkage
CN102662838B (en) The adjustment method of Flash and system in a kind of browser

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant