CN104539682A - Debug method, device, mobile terminal, server and system for mobile webpage - Google Patents

Debug method, device, mobile terminal, server and system for mobile webpage Download PDF

Info

Publication number
CN104539682A
CN104539682A CN201410806381.2A CN201410806381A CN104539682A CN 104539682 A CN104539682 A CN 104539682A CN 201410806381 A CN201410806381 A CN 201410806381A CN 104539682 A CN104539682 A CN 104539682A
Authority
CN
China
Prior art keywords
debug
server
browser
request
environment information
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.)
Pending
Application number
CN201410806381.2A
Other languages
Chinese (zh)
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.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201410806381.2A priority Critical patent/CN104539682A/en
Publication of CN104539682A publication Critical patent/CN104539682A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a debug method, a device and system, a mobile terminal, and a server for a mobile webpage. The debug method comprises sending debug requests to the server through a network channel. The debug requests comprise operating parameters of a target webpage pending to be debugged and operating environment information of the target webpage. A debug command returned from the server is received, and the debug command is generated from the operating environment information and the operating parameters. The debug command is executed and the execution results are returned to the server. According to the debug method, the device and system, the mobile terminal, and the server for the mobile webpage, the efficiency of the webpage debug is greatly improved.

Description

The adjustment method of mobile webpage, device, mobile terminal, server and system
Technical field
The present invention relates to network technology, particularly a kind of adjustment method of mobile webpage, device, mobile terminal, server and system.
Background technology
Along with the development of terminal technology, people can open some websites by browser on the smart mobile phone of oneself, such as, can read news on mobile phone, viewing videos etc., can be called mobile webpage by this webpage opened at mobile terminal (as smart mobile phone).May occur operation troubles in the operation of mobile webpage, such as refresh page failure, user clicks certain content of the page and checks that unsuccessfully etc., now developer will carry out page debugging, to check the reason that breaks down and to deal with problems.In current techniques, the debugging of mobile webpage is more difficult, because some browsers do not support on-line debugging, needs the page code finding backstage to debug; Or even if browser support debugging, the mobile terminal also needing the page to run place to be connected with commissioning device by USB data line debugs, and these modes all make to debug page fault fast, and the efficiency of fault solution is lower.
Summary of the invention
In view of this, the invention provides a kind of adjustment method of mobile webpage, device and system, mobile terminal, server, to improve page debugging efficiency.
Particularly, the present invention is achieved through the following technical solutions:
First aspect, provides a kind of adjustment method of mobile webpage, comprising:
Send debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Receive the debug command that described server returns, described debug command generates according to described running environment information and operational factor;
Perform described debug command, and to described server return instruction execution result.
Second aspect, provides a kind of adjustment method of mobile webpage, comprising:
Receive the debug request that browser is sent by network channel, described debug request comprises: the operational factor of described target web to be debugged and the running environment information of described target web;
The debug command generated according to described running environment information and operational factor is sent to described browser;
Receive the instruction execution result after the described debug command of execution that described browser returns.
The third aspect, provides a kind of debugging apparatus of mobile webpage, comprising:
Debug request unit, for sending debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Instruction reception unit, for receiving the debug command that described server returns, described debug command generates according to described running environment information and operational factor;
Instruction execution unit, for performing described debug command and to described server return instruction execution result.
Fourth aspect, provides a kind of debugging apparatus of mobile webpage, comprising:
Request reception unit, for receiving the debug request that browser is sent by network channel, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Instruction sending unit, for sending the debug command generated according to described running environment information and operational factor to described browser;
Result feedback unit, for receiving the instruction execution result after the described debug command of execution that described browser returns.
5th aspect, provides a kind of mobile terminal, comprises the debugging apparatus of the mobile webpage of the embodiment of the present invention.
6th aspect, provides a kind of server, comprises the debugging apparatus of the mobile webpage of the embodiment of the present invention.
7th aspect, provides a kind of debug system of mobile webpage, comprising: mobile terminal and server;
Described mobile terminal, for sending debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Described server, for after the described debug request receiving the transmission of described mobile terminal, sends described debug command to described mobile terminal;
Described mobile terminal, for receiving the debug command that described server returns, described debug command generates according to described running environment information and operational factor; And perform described debug command, to described server return instruction execution result;
Described server, for receiving the described instruction execution result that described mobile terminal returns.
The adjustment method of the mobile webpage of the embodiment of the present invention, device and system, mobile terminal, server, by debug request can be sent by network channel between browser and server, and carry out the information transmission of debug command and debug results, as long as this mode just can realize page debugging fast by interconnection network, also relative in traditional approach to connect and could debug by USB, to no longer be subject to the restriction of USB connection, substantially increase the efficiency of page debugging.
Accompanying drawing explanation
Fig. 1 is the application scenarios of the adjustment method of the mobile webpage that the embodiment of the present invention provides;
Fig. 2 is the flow chart of the adjustment method of a kind of mobile webpage that the embodiment of the present invention provides;
Fig. 3 is the flow chart of the adjustment method of the mobile webpage of another kind that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the debugging apparatus of a kind of mobile webpage that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the debugging apparatus of the mobile webpage of another kind that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the server that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the debug system of the mobile webpage that the embodiment of the present invention provides.
Embodiment
The adjustment method of the mobile webpage that the embodiment of the present invention provides, be applied to and the target web in mobile terminal by browser execution is debugged, see Fig. 1, illustrate the optional application scenarios of one of the method, mobile terminal is for the smart mobile phone of user (can certainly be other mobile terminal/mobile devices), this smart mobile phone is opening certain broadcasting page of certain website such as happy view by certain browser client, current likely in the emerged in operation fault of this page, the adjustment method of the embodiment of the present invention then can be adopted to debug this page, page during to deal with problems normally shows.
This adjustment method relates to browser end and server end, in the debugging of mobile webpage, network in charge issues debug command to the browser operating in mobile terminal, and browser is responsible for performing this debug command, namely resolves and display page according to the regulation of debug command.Concrete, see the flow process of Fig. 2, this flow process can be such as that the browser of mobile terminal performs, and comprising:
201, send debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
202, receive the debug command that described server returns, described debug command generates according to described running environment information and operational factor;
203, described debug command is performed, and to described server return instruction execution result.
Flow process shown in Fig. 3 is corresponding server side, and the flow process performed in this adjustment method, comprising:
301, receive the debug request that browser is sent by network channel, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
302, the debug command generated according to described running environment information and operational factor is sent to described browser;
303, the instruction execution result after the described debug command of execution that described browser returns is received.
As follows the mobile webpage adjustment method of the present embodiment is described in detail:
In step 201, the browser of smart mobile phone end sends debug request by network channel to server, this network channel is different from the mode of the USB data line in conventional art, as long as smart mobile phone can connect online, then the browser operating in this smart mobile phone just can send debug request by network to server.
Such as, above-mentioned network channel can be, sets up websocket and be connected between browser with server, the websocket passage of formation.WebSocket is a kind of new agreement that HTML5 increases newly, it achieves the two-way communication between browser and server, and can accomplish the real time communication between server and browser.WebSocket only needs to do a dohandshake action, just can keep connecting always, and communication bag is smaller, generally only has 2Bytes.
Again such as, above-mentioned network channel can also be, the passage that browser is set up between the time interval of presetting and server.This is equivalent to a kind of polling mode in fact, poll, and namely browser just connects with server at set intervals, such as, can set up once connect at interval of 1 second.
For the various browsers that mobile terminal is run, such as IE browser, 360 browsers, red fox browser etc., WebSocket agreement supported by the browser that may wherein have, and WebSocket agreement do not supported by some browsers.Can set, browser preferentially adopts WebSocket mode to be connected with server, and first such as browser can inquire about oneself whether to support WebSocket, if supported, adopts real time communication between this WebSocket mode and server; For the browser not supporting WebSocket, above-mentioned polling mode can be adopted, just connect with server every the set time.
By the network channel that above-mentioned WebSocket or polling mode are set up, browser can send debug request to server, and this request can be the equal of whether inquiry server has debug command to send.Concrete, the data mailing to server can start with " msg: " by browser, should " msg: " be the equal of a request mark, for representing to described server request debug command.Further, also carry in this debug request: the operational factor of target web to be debugged and the running environment information of target web.
Illustrate above-mentioned operational factor and running environment information: suppose that user opens certain page of happy view on the smart mobile phone of oneself, a dynamic advertisement video is being play in the page, and current the clicking of user suspends this advertisement video, but suspend unsuccessfully.So under normal circumstances, when user clicks time-out, a static images suspended can be there is, namely browser can receive this some information comprising the page of this static images, this page can be called target web, and page info comprises the video pictures of certain static state, the display format of picture, and some control variables etc. during page pause, these can be called some operational factors in this target web loading procedure.But when occurring to suspend unsuccessfully, namely above-mentioned target web loads unsuccessfully, be likely now that these operational factors generated make a mistake, browser cannot resolve or cannot perform, and therefore needs to report to server end and checks.In addition, running environment information such as comprises: the mobile phone operating system (andriod or ios) at current browser place, browser version etc., and these also may be the Causing Factors that above-mentioned fault produces, and also need to report together with operational factor.
Certainly, also can comprise other information outside above-mentioned operational factor and running environment information in debug request, lift no longer in detail, be all to checking that page process unsuccessfully has the information of reference in a word.In the process that these information browsers can occur in fault, (in the process that the page loads in other words) is stored into internal memory, and like this when needs request debugging, browser can be removed and send to server from internal memory.Wherein, when the information more complicated that will send, browser can send after the object JSON serializing of complexity; In concrete enforcement, this comparatively complicated information can be a data structure, this data structure comprises the daughter element information of many levels, comprises multiple daughter element information of horizontal multiple daughter element information and longitudinally multi-level association, all has contact between these information.
In addition, the situation of failure when certain page as escribed above loads, this is a process (such as page processing procedure), what the information of carrying in debug request was corresponding is also a procedural information, these information can all be stored in internal memory by browser, and disposablely when collecting full detail corresponding to this process be sent to server, such server can be analyzed according to the failure cause of full detail to this process.
In step 302, server, after the debug request receiving browser transmission, sends the debug command generated according to running environment information and operational factor to browser.Such as, still suspend advertisement video unsuccessfully for above-mentioned user, debug command can be change a part of parameter in operational factor, such as the format parameter of picture is changed, or change the display mode of video pictures, Deng, and the parameter after upgrading is sent to browser, check whether browser can normally perform.
Wherein, debug command is also information-related with running environment because the page is shown by browser resolves, the version of browser etc. environmental information also determine this browser can normal display page, which kind of debug command corresponding also determining adopts.Certainly, under other application scenarioss, debug command can also have multiple form flexibly, and such as get the value (this variable can be and run relevant variable with the page) of temporary variable, Rotation screen, refresh page etc., the present embodiment is lifted no longer in detail.
Server is when sending debug command, and can carry command identification, this command identification is debug command for what represent transmission." cmd: " such as can be adopted as command identification, and browser receives the data started with this " cmd: ", just can determine that this is a debug command.In addition, server, when receiving the debug request that browser sends, if there is debug command, sends to browser, if not, can not send.
In step 203, browser, after receiving debug command, performs this debug command, and to described server return instruction execution result.Such as, browser can perform the operational factor after upgrading in debug command, reloads an advertisement break page, and instruction may load successfully after performing again, and also again may load failure, browser is again by instruction execution result announcement server.Such as, when according to debug command, load page is failed again, failure result and failure cause etc. can be returned to server side as instruction execution result by browser.
The adjustment method of the mobile webpage of the present embodiment, debug request can be sent by network channel between browser and server, and carry out the information transmission of debug command and debug results, as long as this mode just can realize page debugging fast by interconnection network, also relative in traditional approach to connect and could debug by USB, to no longer be subject to the restriction of USB connection, substantially increase the efficiency of page debugging; Even and if the method for the present embodiment is not for supporting that the browser that USB connects debugging also can be debugged, namely the method can compatible various types of browser.
Further, the debug command of server side, can be preset in server, also can be that malfunction elimination personnel (being namely responsible for the personnel of page debugging) are logged in server.Such as, after operational factor and running environment information are sent to server side by debug request by browser, these parameter informations can be checked the malfunction elimination personnel of server side, determine where fault likely appears at, and the typing debug command of correspondence, such as revise which parameter, then by server, these debug commands are sent to browser and perform.
In addition, malfunction elimination personnel are in server side anywhere or anytime, conveniently investigate the debugging that personnel can participate in the page at any time, carry out the debugging of the remote control page at any time, server in the present embodiment can also after receiving operational factor and running environment information, be sent to control terminal, this control terminal can be the mobile terminal such as mobile phone of investigation personnel oneself, or the computer etc. of investigation personnel oneself.Above-mentioned information can be passed to control terminal by server in real time, investigation personnel real time inspection, after determining debug command, investigates the control terminal of personnel by oneself by command to server, then is forwarded to browser by server.In like manner, this result, after receiving the instruction execution result that browser returns, can also be sent to control terminal by browser, carries out next step manipulation for investigation personnel's real time inspection result.
In addition, the debug process performed between above-mentioned browser and server can be perform when there is the situation of page process failure, if browser can normal display web page, can not need to perform this adjustment method.In concrete enforcement, the unlatching of this debug process can be triggered by user, such as, failure when user opens certain webpage on the smart mobile phone of oneself, now user can input default address parameter " arkDebug " in the address field of browser, input this address parameter and be just equivalent to request debugging, when browser detects that address field inputs this address parameter, just determine the instruction that have received debugging unlatching, then browser starts the connection of setting up network channel with server, and sends debug request to server.And as described above, browser some information (such as operational factor) in load page process have been stored in internal memory, then from internal memory, take out this information be carried in debug request and send to server.
Further, user can also set the connected mode of browser and server by the value arranging address parameter " arkDebug ".Such as, can input " arkDebug=2 " at address field, then browser can be determined accordingly, supports that the use WebSocket of WebSocket browser communicates, the use polling mode communication do not supported, first browser will judge oneself whether to support WebSocket.If browser does not support WebSocket, then the value of arkDebug can reduce by browser automatically, reduces to " arkDebug=1 ", and starts to adopt polling mode and server to set up network channel.
Adopt the adjustment method of mobile webpage of the embodiment of the present invention, can the problem of quick position page loading aspect anywhere or anytime, and investigate personnel and can also provide remote guide, help user to deal with problems; Also facilitate developer's debugging, greatly improve development efficiency.In addition, the method sets whether adopt the method debugging (such as arrange address parameter and open debugging) by user, and in debugging, the packet of transmission is also fewer, can meet debugging demand, also can not expend a lot of flow of user with a station server.Further, which, can custom instruction by command identification (such as cmd) identification instruction, and flexibility is strong.
Embodiments provide a kind of debugging apparatus of mobile webpage, this application of installation is in the browser of mobile terminal, and browser, by comprising the debugging apparatus that this moves webpage, makes this browser can perform the adjustment method of above-mentioned mobile webpage; And the target web that described browser execution is to be debugged.
Fig. 4 shows the structure that this moves the debugging apparatus of webpage, does simple declaration as follows to the structure of this device, and its concrete principle can in conjunction with see embodiment of the method.As shown in Figure 4, this device comprises: debug request unit 41, instruction reception unit 42 and instruction execution unit 43.
Debug request unit 41, for sending debug request by network channel to server, this debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Instruction reception unit 42, for receiving the debug command that described server returns, described debug command generates according to described running environment information and operational factor;
Instruction execution unit 43, for performing debug command and to described server return instruction execution result.
Further, debug request unit 41, specifically for setting up Web socket passage between described server as network channel, and sends debug request by described Web socket passage to described server.
Further, debug request unit 41, specifically for setting up network channel between the time interval of presetting and described server, and sends debug request by described network channel to described server.
Further, debug request unit 41, specifically for when receiving debugging and opening instruction, sends debug request by described network channel to described server, and it is the preset address parameter in browser address bar input detected that instruction is opened in described debugging.
Embodiments provide a kind of debugging apparatus of mobile webpage, this application of installation is in server, and Fig. 5 shows the structure of this device, does simple declaration as follows to the structure of this device, and its concrete principle can in conjunction with see embodiment of the method.As shown in Figure 5, this device can comprise: request reception unit 51, instruction sending unit 52 and result feedback unit 53.
Request reception unit 51, for receiving the debug request that browser is sent by network channel, described debug request comprises: the operational factor of target web to be debugged and the running environment information of target web;
Instruction sending unit 52, for sending the debug command generated according to described running environment information and operational factor to described browser;
Result feedback unit 53, for receiving the instruction execution result after the described debug command of execution that described browser returns.
Further, result feedback unit 53, also for the operational factor in described debug request and running environment information are sent to control terminal, and receives the debug command determined according to operational factor and running environment information that described control terminal returns; Instruction execution result also for being returned by described browser is sent to described control terminal.
Those skilled in the art should understand, the various embodiments described above can be provided as method, device or computer program.These embodiments can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.The hardware that all or part of step in the method that the various embodiments described above relate to can carry out instruction relevant by program has come, described program can be stored in the storage medium that computer equipment can read, for performing all or part of step described in the various embodiments described above method.Described computer equipment, includes but not limited to: personal computer, server, all-purpose computer, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, wearable intelligent equipment, vehicle intelligent equipment etc.; Described storage medium, includes but not limited to: the storage of RAM, ROM, magnetic disc, tape, CD, flash memory, USB flash disk, portable hard drive, storage card, memory stick, the webserver, network cloud storage etc.
The embodiment of the present invention additionally provides a kind of server, the structure of this server can see Fig. 6, this server can comprise: processor (processor) 610, communication interface (Communications Interface) 620, memory (memory) 630, bus 640.Processor 610, communication interface 620, memory 630 completes mutual communication by bus 640.Communication interface 620, for net element communication, such as communicate etc. with between mobile terminal.Processor 610, for actuating logic instruction, the structure of the debugging apparatus of the mobile webpage that the structure of this logical order can be shown in Figure 5, repeats no more.Processor 610 may be a central processor CPU, or specific integrated circuit 6, or is configured to the one or more integrated circuits implementing the embodiment of the present invention.The processor 610 of this server passes through actuating logic instruction thus realizes the adjustment method to mobile webpage.
The embodiment of the present invention additionally provides a kind of mobile terminal, the structure of this mobile terminal and the similar of Fig. 6, just processor calls the structure of the debugging apparatus of the logical order of execution mobile webpage specifically shown in Figure 4, to perform the adjustment method of mobile webpage corresponding to mobile terminal.
The embodiment of the present invention additionally provides a kind of debug system of mobile webpage, and the structure of this system see Fig. 7, can comprise mobile terminal 71 and server 72; Wherein,
Mobile terminal 71, for sending debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Server 72, for after receiving the described mobile described debug request sent, sends described debug command to described mobile terminal;
Mobile terminal 71, for receiving the debug command that described server returns, described debug command generates according to described running environment information and operational factor; And perform described debug command, to described server return instruction execution result;
Server 72, for receiving the described instruction execution result that described mobile terminal returns.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (18)

1. an adjustment method for mobile webpage, is characterized in that, comprising:
Send debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Receive the debug command that described server returns, described debug command generates according to described running environment information and operational factor;
Perform described debug command, and to described server return instruction execution result.
2. method according to claim 1, is characterized in that, described network channel comprises: the Web socket passage set up between local and described server.
3. method according to claim 1, is characterized in that, described network channel comprises: the local passage set up between the default time interval and described server.
4. according to the method in claim 2 or 3, it is characterized in that, sent before debug request to server by network channel described, also comprise:
Receive debugging and open instruction, it is the preset address parameter in browser address bar input detected that instruction is opened in described debugging.
5. method according to claim 1, is characterized in that, carries request mark in described debug request, and described request mark is used for representing to described server request debug command.
6. an adjustment method for mobile webpage, is characterized in that, comprising:
Receive the debug request that browser is sent by network channel, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
The debug command generated according to described running environment information and operational factor is sent to described browser;
Receive the instruction execution result after the described debug command of execution that described browser returns.
7. method according to claim 6, is characterized in that, described network channel comprises: the web socket passage set up between described browser and this locality, or, the passage that described browser is set up between the time interval of presetting and this locality.
8. method according to claim 6, is characterized in that, when sending debug command to described browser, carry command identification, described command identification is debug command for what represent transmission.
9. method according to claim 6, is characterized in that, after the debug request that described reception browser is sent by network channel, before sending the debug command generated according to described running environment information and operational factor, also comprises to described browser:
Operational factor in described debug request and running environment information are sent to control terminal, with by described control terminal according to described operational factor and running environment information determination debug command;
Receive the described debug command that described control terminal sends;
After instruction execution result after the described debug command of execution that the described browser of described reception returns, also comprise: described instruction execution result is sent to described control terminal.
10. a debugging apparatus for mobile webpage, is characterized in that, comprising:
Debug request unit, for sending debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Instruction reception unit, for receiving the debug command that described server returns, described debug command generates according to described running environment information and operational factor;
Instruction execution unit, for performing described debug command and to described server return instruction execution result.
11. devices according to claim 10, is characterized in that,
Described debug request unit, specifically for setting up Web socket passage between described server as network channel, and sends debug request by described Web socket passage to described server.
12. devices according to claim 10, is characterized in that,
Described debug request unit, specifically for setting up network channel between the time interval of presetting and described server, and sends debug request by described network channel to described server.
13. devices according to claim 11 or 12, is characterized in that,
Described debug request unit, specifically for when receiving debugging and opening instruction, sends debug request by described network channel to described server, and it is the preset address parameter in browser address bar input detected that instruction is opened in described debugging.
The debugging apparatus of 14. 1 kinds of mobile webpages, is characterized in that, comprising:
Request reception unit, for receiving the debug request that browser is sent by network channel, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Instruction sending unit, for sending the debug command generated according to described running environment information and operational factor to described browser;
Result feedback unit, for receiving the instruction execution result after the described debug command of execution that described browser returns.
15. devices according to claim 14, is characterized in that,
Described result feedback unit, also for the operational factor in described debug request and running environment information are sent to control terminal, and receives the debug command determined according to operational factor and running environment information that described control terminal returns; Instruction execution result also for being returned by described browser is sent to described control terminal.
16. 1 kinds of mobile terminals, is characterized in that, comprising: the debugging apparatus of the arbitrary described mobile webpage of claim 10-13.
17. 1 kinds of servers, is characterized in that, comprising: the debugging apparatus of the mobile webpage described in claims 14 or 15.
The debug system of 18. 1 kinds of mobile webpages, is characterized in that, comprising: mobile terminal and server;
Described mobile terminal, for sending debug request by network channel to server, described debug request comprises: the operational factor of target web to be debugged and the running environment information of described target web;
Described server, for after receiving the described mobile described debug request sent, sends described debug command to described mobile terminal;
Described mobile terminal, for receiving the debug command that described server returns, described debug command generates according to described running environment information and operational factor; And perform described debug command, to described server return instruction execution result;
Described server, for receiving the described instruction execution result that described mobile terminal returns.
CN201410806381.2A 2014-12-19 2014-12-19 Debug method, device, mobile terminal, server and system for mobile webpage Pending CN104539682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410806381.2A CN104539682A (en) 2014-12-19 2014-12-19 Debug method, device, mobile terminal, server and system for mobile webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410806381.2A CN104539682A (en) 2014-12-19 2014-12-19 Debug method, device, mobile terminal, server and system for mobile webpage

Publications (1)

Publication Number Publication Date
CN104539682A true CN104539682A (en) 2015-04-22

Family

ID=52855149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410806381.2A Pending CN104539682A (en) 2014-12-19 2014-12-19 Debug method, device, mobile terminal, server and system for mobile webpage

Country Status (1)

Country Link
CN (1) CN104539682A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978277A (en) * 2015-07-30 2015-10-14 北京百度网讯科技有限公司 Method for debugging page, terminal and server
CN105930266A (en) * 2016-04-11 2016-09-07 北京小米移动软件有限公司 Webpage debugging method and device
CN106055480A (en) * 2016-06-02 2016-10-26 腾讯科技(深圳)有限公司 Webpage debugging method and terminal
CN106354623A (en) * 2015-07-16 2017-01-25 深圳市奇辉电气有限公司 Linux-based application program debugging method and device
CN106686037A (en) * 2015-11-09 2017-05-17 广州市动景计算机科技有限公司 Page detecting method, device, equipment and system
CN106878361A (en) * 2015-12-14 2017-06-20 阿里巴巴集团控股有限公司 A kind of adjustment method of the terminal applies page, device and client
CN107203470A (en) * 2017-05-11 2017-09-26 腾讯科技(深圳)有限公司 Page adjustment method and device
CN107239475A (en) * 2016-03-29 2017-10-10 阿里巴巴集团控股有限公司 One kind calls document method and device
CN108076123A (en) * 2016-11-11 2018-05-25 腾讯科技(深圳)有限公司 Webpage adjustment method, apparatus and system
CN108255693A (en) * 2016-12-28 2018-07-06 乐视汽车(北京)有限公司 The method and apparatus that Debugging message is presented
CN109002366A (en) * 2018-07-26 2018-12-14 广东蔚海数问大数据科技有限公司 A kind of remote debugging method and device of mobile terminal webpage
CN111124874A (en) * 2018-10-31 2020-05-08 阿里巴巴集团控股有限公司 Method for debugging webpage, debugging server and main control equipment
CN111966381A (en) * 2020-08-24 2020-11-20 宝牧科技(天津)有限公司 Light business terminal health detection system and method
CN112187869A (en) * 2020-09-03 2021-01-05 京东数字科技控股股份有限公司 Remote debugging system and method of IOT device, electronic device and storage medium
CN114064514A (en) * 2022-01-17 2022-02-18 飞狐信息技术(天津)有限公司 Webpage debugging method and debugging environment simulator

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209030A1 (en) * 2007-02-28 2008-08-28 Microsoft Corporation Mining Web Logs to Debug Wide-Area Connectivity Problems
CN101493779A (en) * 2009-02-27 2009-07-29 中国工商银行股份有限公司 Remote terminal control method
CN104021082A (en) * 2014-06-16 2014-09-03 贝壳网际(北京)安全技术有限公司 Remote debugging method and device for browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209030A1 (en) * 2007-02-28 2008-08-28 Microsoft Corporation Mining Web Logs to Debug Wide-Area Connectivity Problems
CN101493779A (en) * 2009-02-27 2009-07-29 中国工商银行股份有限公司 Remote terminal control method
CN104021082A (en) * 2014-06-16 2014-09-03 贝壳网际(北京)安全技术有限公司 Remote debugging method and device for browser

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354623B (en) * 2015-07-16 2019-11-15 深圳市奇辉电气有限公司 A kind of application program adjustment method and device based on linux
CN106354623A (en) * 2015-07-16 2017-01-25 深圳市奇辉电气有限公司 Linux-based application program debugging method and device
CN104978277A (en) * 2015-07-30 2015-10-14 北京百度网讯科技有限公司 Method for debugging page, terminal and server
CN104978277B (en) * 2015-07-30 2018-12-11 北京百度网讯科技有限公司 For debugging the method, terminal and server of the page
CN106686037A (en) * 2015-11-09 2017-05-17 广州市动景计算机科技有限公司 Page detecting method, device, equipment and system
CN106878361A (en) * 2015-12-14 2017-06-20 阿里巴巴集团控股有限公司 A kind of adjustment method of the terminal applies page, device and client
CN106878361B (en) * 2015-12-14 2020-08-25 阿里巴巴集团控股有限公司 Debugging method and device for terminal application page and client
CN107239475A (en) * 2016-03-29 2017-10-10 阿里巴巴集团控股有限公司 One kind calls document method and device
CN107239475B (en) * 2016-03-29 2020-09-18 阿里巴巴集团控股有限公司 File calling method and device
CN105930266B (en) * 2016-04-11 2019-04-16 北京小米移动软件有限公司 Webpage adjustment method and device
CN105930266A (en) * 2016-04-11 2016-09-07 北京小米移动软件有限公司 Webpage debugging method and device
CN106055480B (en) * 2016-06-02 2021-03-16 腾讯科技(深圳)有限公司 Method and terminal for debugging webpage
CN106055480A (en) * 2016-06-02 2016-10-26 腾讯科技(深圳)有限公司 Webpage debugging method and terminal
CN108076123A (en) * 2016-11-11 2018-05-25 腾讯科技(深圳)有限公司 Webpage adjustment method, apparatus and system
CN108255693A (en) * 2016-12-28 2018-07-06 乐视汽车(北京)有限公司 The method and apparatus that Debugging message is presented
CN107203470A (en) * 2017-05-11 2017-09-26 腾讯科技(深圳)有限公司 Page adjustment method and device
CN109002366A (en) * 2018-07-26 2018-12-14 广东蔚海数问大数据科技有限公司 A kind of remote debugging method and device of mobile terminal webpage
CN111124874A (en) * 2018-10-31 2020-05-08 阿里巴巴集团控股有限公司 Method for debugging webpage, debugging server and main control equipment
CN111124874B (en) * 2018-10-31 2024-04-05 阿里巴巴集团控股有限公司 Method for debugging webpage, debugging server and main control equipment
CN111966381A (en) * 2020-08-24 2020-11-20 宝牧科技(天津)有限公司 Light business terminal health detection system and method
CN112187869A (en) * 2020-09-03 2021-01-05 京东数字科技控股股份有限公司 Remote debugging system and method of IOT device, electronic device and storage medium
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

Similar Documents

Publication Publication Date Title
CN104539682A (en) Debug method, device, mobile terminal, server and system for mobile webpage
US10003671B2 (en) Capturing and replaying application sessions using resource files
CN102819451B (en) A kind of browser plug-in call method and system
US20150058407A1 (en) Systems, methods, and apparatuses for implementing the simultaneous display of multiple browser client cursors at each browser client common to a shared browsing session
US20190372804A1 (en) Method and apparatus for operating smart network interface card
CN103747074B (en) mobile monitoring system based on Web server
US10372119B2 (en) Method for remote monitoring, and system for signal capturing and remote monitoring
CN103124275A (en) Method and device of obtaining files
CN107644075B (en) Method and device for collecting page information
CN108874825B (en) Abnormal data verification method and device
CN105407407A (en) Video playing method and device
CN104580376A (en) Method, device and system for constructing connection between terminals in local area network
CN103414866A (en) Method for playing on-line audio and on-line video, embedded type multimedia device and television set
CN105786636B (en) A kind of system repair and device
CN109542754B (en) Access method of mobile equipment, debugging method, device and system of application program
CN103473035A (en) Screen capturing method and device
CN105701153A (en) Method and device for reading webpage resources and electronic equipment
CN105051713A (en) System and method of web-based keyboard, video and mouse (kvm) redirection and application of the same
CN104978378A (en) Webpage access method and device
CN101360009A (en) Set-top box application management method and system
CN104424098A (en) Application test method and application testing device
CN111324364A (en) Method, device, equipment and storage medium for equipment management
CN110928547A (en) Public file extraction method, device, terminal and storage medium
CN107766232B (en) Plug-in management method and device
CN111711713B (en) Data access method, computer device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190326