CN109117361A - A kind of remote debugging method of small routine, relevant device and system - Google Patents
A kind of remote debugging method of small routine, relevant device and system Download PDFInfo
- Publication number
- CN109117361A CN109117361A CN201810642255.6A CN201810642255A CN109117361A CN 109117361 A CN109117361 A CN 109117361A CN 201810642255 A CN201810642255 A CN 201810642255A CN 109117361 A CN109117361 A CN 109117361A
- Authority
- CN
- China
- Prior art keywords
- client
- data information
- tune
- debugged
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments 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 remote debugging method of small routine, relevant device and systems, this method is applied to the remote debugging system of small routine, the system includes at least the first client, transfer server and the second client, view layer is disposed in the first client, disposes logical layer in the second client;Receive the debugging instruction message of the carrying data information to be debugged of transfer server forwarding;Data information to be debugged is transferred to logical layer, so that logical layer is debugged, obtains tune-up data information;Tune-up data information is obtained from logical layer, and is encapsulated in the packet;Transfer server is delivered a packet to, so that data packet is transmitted to the first client by transfer server, the view layer of the first client carries out the update that the page is shown according to tune-up data information.The invention enables the environment of debugging process to improve the debugging efficiency of small routine so that remote debugging becomes abnormal simple closer to the actual motion environment of small routine.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of remote debugging method of small routine, relevant device and
System.
Background technique
Small routine refers to that a kind of developed based on certain programmed language is completed, without downloading and installation, so that it may the shifting used
Moved end application program may operate in cross-platform mobile client.The maximum feature of small routine be it is easy to use, user sweeps
I.e. openable application is swept or searches, without installing in the operating system of mobile terminal manually, so that user does not have to be concerned about
The problem of whether installing too many application program.
Currently, the frame structure of small routine generally comprises two parts, respectively view layer and logical layer, view layer is used to wash with watercolours
Page structure is contaminated, logical layer is used to logical process, request of data, interface debugging.View layer and logical layer are respectively in two threads
In run, the two is communicated by mobile client primary layer, and data variation is notified view by primary layer by logical layer
Layer triggers view layer renewal of the page, and view layer notifies logical layer to carry out business processing the event of triggering by primary layer, i.e.,
Small routine realizes operational effect by the separation of view layer and logical layer.For example, view layer uses in iOS client
WKWebView render interface, logical layer using JSCore execute logical code operation, exist therebetween data transmitting to
It responds user's operation and updates interface.
In the prior art, the debugging of small routine is carried out generally on analog machine, i.e., by view layer, logical layer and movement
Client primary layer configures on analog machine, and small routine is then run on analog machine to be debugged, after debugging successfully
Small routine reruns on mobile terminal.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Since the running environment of analog machine and the running environment of mobile terminal are different, often appear on analog machine
Debugging when successful small routine is run on mobile terminals still can malfunction, and the debugging process of small routine is caused to become more multiple
Miscellaneous, efficiency is greatly reduced.
Accordingly, it is desirable to provide more reliable or more effective scheme, so as to easier, efficient realization small routine
Debugging.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of remote debugging methods of small routine, phase
Close equipment and system.The technical solution is as follows:
On the one hand, a kind of remote debugging method of small routine is provided, the method is applied to the remote debugging of small routine
System, the system include at least the first client, transfer server and the second client, wherein in first client
Middle deployment view layer disposes logical layer in second client, for second client, which comprises
The debugging instruction message of the transfer server forwarding is received, carries data to be debugged in the debugging instruction message
Information;The debugging instruction message is that first client end response is generated in trigger event, and by first client
End is sent to the transfer server;
The data information to be debugged is transferred to the logical layer, so that the logical layer is according to the number to be debugged
It is believed that breath is debugged, tune-up data information is obtained;
The tune-up data information is obtained from the logical layer, and in the packet by the tune-up data Information encapsulation;
The data packet is sent to transfer server, so that the data packet is transmitted to by the transfer server
The view layer of one client, first client carries out the update that the page is shown according to the tune-up data information.
On the other hand, a kind of remote debugging method of small routine is provided, the method is applied to the long-range tune of small routine
Test system, the system include at least the first client, transfer server and the second client, wherein in first client
View layer is disposed in end, disposes logical layer in second client, for first client, which comprises
In response to trigger event, debugging instruction message is generated, carries data information to be debugged in the debugging instruction message;
The debugging instruction message is sent to transfer server, so that the transfer server is by the debugging instruction
Message is transmitted to the second client, and second client disappears the debugging instruction for receiving the debugging instruction message
Breath is transferred to the logical layer, so that the logical layer is debugged according to the data information to be debugged, obtains debugging number
It is believed that breath;The tune-up data information is obtained from the logical layer, and in the packet by the tune-up data Information encapsulation;It will
The data packet is sent to transfer server, so that the transfer server forwards the data packet;
The data packet for receiving and parsing through the transfer server forwarding, obtains the tune-up data information;
The tune-up data information is transferred to the view layer, so that the view layer is believed according to the tune-up data
Breath carries out the update that the page is shown.
On the other hand, a kind of remote debugging method of small routine is provided, the method is applied to the long-range tune of small routine
Test system, the system include at least the first client, transfer server and the second client, wherein in first client
View layer is disposed in end, logical layer is disposed in second client, for the transfer server, which comprises
The debugging instruction message that first client is sent is received, carries data to be debugged in the debugging instruction message
Information;First client is used to generate debugging instruction message, and send the debugging instruction and disappear in response to trigger event
Breath;
The debugging instruction message is transmitted to second client;Second client is for receiving the debugging
Instruction message;The data information to be debugged is transferred to the logical layer, so that the logical layer is according to described to be debugged
Data information is debugged, and tune-up data information is obtained;The tune-up data information is obtained from the logical layer, by the debugging
Data information encapsulates in the packet and sends the data packet.
Receive the data packet that second client is sent;
The data packet is transmitted to first client, so that the view layer of first client is according to
Tune-up data information carries out the update that the page is shown.
On the other hand, a kind of second client is provided, logical layer, second visitor are deployed in second client
Family end is applied to the remote debugging system of small routine, the remote debugging system of the small routine at least further include transfer server with
And first client, view layer is deployed in first client, and second client includes:
First receiving module, for receiving the debugging instruction message of the transfer server forwarding, the debugging instruction disappears
Data information to be debugged is carried in breath;The debugging instruction message is that first client end response is generated in trigger event
, and the transfer server is sent to by first client;
First shift module, for the data information to be debugged to be transferred to the logical layer, so that the logic
Layer is debugged according to the data information to be debugged, obtains tune-up data information;
Package module for obtaining the tune-up data information from the logical layer, and the tune-up data information is sealed
Dress is in the packet;
First sending module, for the data packet to be sent to transfer server, so that the transfer server will
The data packet is transmitted to the first client, and the view layer of first client carries out the page according to the tune-up data information
The update of display.
On the other hand, a kind of first client is provided, view layer, first visitor are deployed in first client
Family end is applied to the remote debugging system of small routine, the remote debugging system of the small routine at least further include transfer server with
And second client, logical layer is deployed in second client, and first client includes:
Generation module, in response to trigger event, generating debugging instruction message, carried in the debugging instruction message to
Tune-up data information;
Second sending module, for the debugging instruction message to be sent to transfer server, so that the transfer takes
The debugging instruction message is transmitted to the second client by business device, and second client disappears for receiving the debugging instruction
Breath, by the debugging instruction message transfers to the logical layer, so that the logical layer is according to the data information to be debugged
It is debugged, obtains tune-up data information;The tune-up data information is obtained from the logical layer, and the tune-up data is believed
Breath encapsulation is in the packet;The data packet is sent to transfer server, so that the transfer server forwards the number
According to packet;
Second receiving module obtains the debugging number for receiving and parsing through the data packet of the transfer server forwarding
It is believed that breath;
Second shift module, for the tune-up data information to be transferred to the view layer, so that the view layer
The update that the page is shown is carried out according to the tune-up data information.
On the other hand, a kind of transfer server is provided, the transfer server is applied to the remote debugging system of small routine
System, the remote debugging system of the small routine at least further includes the first client and the second client, in first client
It is deployed with view layer, logical layer is deployed in second client, the transfer server includes:
Third receiving module, the debugging instruction message sent for receiving first client, the debugging instruction disappear
Data information to be debugged is carried in breath;First client is used to generate debugging instruction message, concurrently in response to trigger event
Send the debugging instruction message;
First forwarding module, for the debugging instruction message to be transmitted to second client;Second client
End is for receiving the debugging instruction message;The data information to be debugged is transferred to the logical layer, so that described patrol
It collects layer to be debugged according to the data information to be debugged, obtains tune-up data information;The debugging is obtained from the logical layer
The tune-up data Information encapsulation in the packet and is sent the data packet by data information.
4th receiving module, the data packet sent for receiving second client;
Second forwarding module, for the data packet to be transmitted to first client, so that first client
The view layer at end carries out the update that the page is shown according to the tune-up data information.
On the other hand, provide a kind of remote debugging system of small routine, the system include at least the first client, in
Turn server and the second client, wherein dispose view layer in first client, dispose in second client
Logical layer;
First client, in response to trigger event, generating debugging instruction message, in the debugging instruction message
Carry data information to be debugged;The debugging instruction message is sent to transfer server;Receive and parse through the transfer service
The data packet of device forwarding, obtains the tune-up data information;The tune-up data information is transferred to the view layer, so that
The view layer carries out the update that the page is shown according to the tune-up data information;
The transfer server, the debugging instruction message sent for receiving first client;The debugging is referred to
Message is enabled to be transmitted to second client;Receive the data packet that second client is sent;The data packet is transmitted to
First client;
Second client, for receiving the debugging instruction message of the transfer server forwarding;It will be described to be debugged
Data information is transferred to the logical layer, so that the logical layer is debugged according to the data information to be debugged, obtains
Tune-up data information;The tune-up data information is obtained from the logical layer, and by the tune-up data Information encapsulation in data
Bao Zhong;The data packet is sent to transfer server.
Technical solution provided in an embodiment of the present invention has the benefit that
Its logical layer is deployed in the second client by the characteristics of present invention is separated by the view layer of small routine with logical layer
(i.e. debugging client), view layer is deployed in the first client (i.e. debugged mobile terminal), and is carried out by transfer server
The transfer of information and caching, so that the environment of debugging process realizes small routine closer to the actual motion environment of small routine
Remote debugging, and the remote debugging is made to become abnormal simple, developer does not almost have pilot process in debugging process
Perception, improves the debugging efficiency of small routine.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the system architecture diagram of the remote debugging of small routine provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the remote debugging method of small routine provided in an embodiment of the present invention;
Fig. 3 is that the data information to be debugged is transferred to the logical layer by the second client provided in an embodiment of the present invention
A kind of method flow schematic diagram;
Fig. 4 be the second client provided in an embodiment of the present invention by the tune-up data Information encapsulation in the packet one
Kind method flow schematic diagram;
Fig. 5 is the flow diagram of the remote debugging method of another small routine provided in an embodiment of the present invention;
Fig. 6 is the first client end response provided in an embodiment of the present invention in trigger event, generates the one of debugging instruction message
Kind method flow schematic diagram;
Fig. 7 is the flow diagram of the remote debugging method of another small routine provided in an embodiment of the present invention;
Fig. 8 is that the tune-up data information is transferred to the view layer by the first client provided in an embodiment of the present invention
A kind of method flow schematic diagram;
Fig. 9 is the flow diagram of the remote debugging method of another small routine provided in an embodiment of the present invention;
Figure 10 is a kind of method flow schematic diagram that transfer server provided in an embodiment of the present invention carries out legitimacy identification;
Figure 11 is a kind of structural schematic diagram of second client provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of package module provided in an embodiment of the present invention;
Figure 13 is a kind of structural schematic diagram of the first shift module provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of first client provided in an embodiment of the present invention;
Figure 15 is the structural schematic diagram of another first client provided in an embodiment of the present invention
Figure 16 is a kind of structural schematic diagram of the second shift module provided in an embodiment of the present invention;
Figure 17 is a kind of structural schematic diagram of the first generation module provided in an embodiment of the present invention;
Figure 18 is a kind of structural schematic diagram of transfer server provided in an embodiment of the present invention;
Figure 19 is the structural schematic diagram of another transfer server provided in an embodiment of the present invention;
Figure 20 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The embodiment of the invention provides a kind of remote debugging method of small routine, relevant device and systems, by means of little Cheng
The view layer of small routine is still deployed in mobile terminal by the characteristics of view layer of sequence is separated with logical layer, by patrolling for small routine
It collects layer transfer and has been deployed to debugging client, and carry out transfer and the caching of information by transfer server, so that debugging process
Environment closer to the actual motion environment of small routine, realize the remote debugging of small routine, and make the remote debugging become
It is simple to obtain exception, developer does not almost perceive pilot process in debugging process, improves the debugging efficiency of small routine.
It should be understood that the present invention is applied to the remote debugging system of small routine, referring to Fig. 1, it show implementation of the present invention
The system architecture diagram of the remote debugging for the small routine that example provides.As shown in Figure 1, the remote debugging system of small routine includes the first visitor
Family end 100, the second client 200 and transfer server 300, pass through transfer between the first client 100 and the second client 200
Server 300 carries out the forwarding of information and realizes the caching of information.Wherein, the first client 100 can be to be installed on movement
An application program in terminal operating system, mobile terminal can be mobile phone, IPAD etc..Second client 200 can be peace
Loaded on the debugging platform in PC (full name in English: Personal Computer, english abbreviation: PC), such as developer's tool
Deng.
It should be noted that in embodiments of the present invention, the view layer of deployment small routine in the first client 100, second
The logical layer of small routine is disposed in client 200, although the view layer and logical layer are respectively deployed in different clients, but
The data transmission for both being by mobile client (i.e. the first client) primary layer there is still a need for carrying out, i.e., logical layer needs logical
It crosses primary layer and data variation is notified view layer, trigger view layer renewal of the page, view layer is needed through primary layer triggering
Event notify logical layer carry out business processing.
In addition, the logical layer disposed in the second client 200 can virtually be held for one created on a second client
Row environment (Virtual Machine, referred to as " VM "), such as a virtual execution environment can be created on developer's tool,
The virtual execution environment is independent and is isolated from the outside, and can be used for running the logical code that small routine developer writes.It patrols
The transmission that WebSocket transmission channel carries out information can be passed through by collecting layer and the second client 200.First client, 100 top
The view layer of administration can carry out page presentation, be write by WXML compiler and WXSS compiler, be shown by component.
In addition, transfer server 300 can be established with the first client 100 and the second client 200 respectively by network
Communication connection, wherein network and transfer server 300 and the second visitor between transfer server 300 and the first client 100
Network between family end 200 can be the local area network of same network segment, or the local area network of different segment.
It is below to debug the angle of client from the second client, the remote debugging method of small routine in the present invention is carried out
It introduces.
Referring to FIG. 2, the process of its remote debugging method for showing a kind of small routine provided in an embodiment of the present invention is shown
It is intended to, present description provides the method operating procedures as described in embodiment or flow chart, but based on routine or without creativeness
Labour may include more or less operating procedure.The step of enumerating in embodiment sequence is only that numerous steps execute
One of sequence mode, does not represent and unique executes sequence.It, can be according to when system in practice or end product execute
Embodiment or the execution of method shown in the drawings sequence or parallel execution (such as the ring of parallel processor or multiple threads
Border).It is specific as shown in Figure 2, which comprises
S202 receives the debugging instruction message of the transfer server forwarding, carries in the debugging instruction message wait adjust
Try data information.
In this specification embodiment, the first client can generate debugging instruction message in response to trigger event, touching
Hair event can be clicking operation or slide etc. of the user on the view layer of the first client, and aforesaid operations can be by
The WebView of view layer is captured, and then view layer gives the corresponding data information transfer of the operation of capture to the first client, specifically
It is to be transferred to the first client primary layer, the first client generates debugging instruction message according to the data that view layer transmits, should
Data information to be debugged is contained in debugging instruction message.
First client can send it to transfer server after generating debugging instruction message, so that transfer takes
Debugging instruction message is transmitted to the second client by business device.
In this specification embodiment, before the debugging instruction message for turning server forwarding in the reception, the second client
WebSocket connection request can be sent to transfer server, be established when according to the WebSocket connection request
When WebSocket transmission channel, the debugging instruction message that transfer server is sent by WebSocket transmission channel is received.
The data information to be debugged is transferred to the logical layer by S204 so that the logical layer according to it is described to
Tune-up data information is debugged, and tune-up data information is obtained.
In this specification embodiment, the second client parses received debugging instruction message, obtains data letter to be debugged
It ceases, and data information to be debugged is transferred to the logical layer of deployment.It may be implemented to treat patrolling for tune-up data information in logical layer
Adjustment, and the logic after combustion adjustment are collected, and then obtains tune-up data information.
Specifically, can establish WebSocket transmission channel between the second client and logical layer, the second client is logical
WebSocket transmission channel is crossed by data information transfer to be debugged to logical layer.
In this specification embodiment, the data information to be debugged generated by operational view layer be can be for updating
View layer is also possible to some calling etc. to the primary layer function of the first client, for for update view layer wait adjust
Try data information need the second client logical layer processing, and for call the primary layer function of the first client it is some to
Tune-up data information only can be handled locally in the second client, therefore, it is also desirable to treat the classification of tune-up data information
It distinguishes.
In this specification embodiment, debugging instruction message can also include the classification for being used to indicate data information to be debugged
First category label, and the classification of data information to be debugged includes at least and updates the view layer.Specifically, by described wait adjust
Examination data information is transferred to the method flow of the logical layer as shown in figure 3, may include:
S302 obtains the first category label.
Specifically, debugging instruction message includes data information to be debugged and the classification for being used to indicate data information to be debugged
First category label.Second client parses received debugging instruction message, available data information to be debugged and is used for
Indicate the first category label of the classification of data information to be debugged.
S304 determines the classification of the data information to be debugged according to the first category label.
Specifically, the second client can judge whether data information to be debugged is described in update by first category label
View layer.
S306 believes the data to be debugged when the classification of the data information to be debugged is to update the view layer
Breath is transferred to the logical layer.
It, can will be to specifically, when the second client judges the classification of data information to be debugged to update view layer
Tune-up data information is transmitted to logical layer by WebSocket transmission channel;When the second client judges data letter to be debugged
It, can be by data information to be debugged directly in processing locality when the classification of breath is not update view layer.
In addition, logical layer is debugged according to the data information to be debugged in this specification embodiment, debugged
When data information, the classification of tune-up data information can also be got by the correlation analysis logic that developer is written, to be
Tune-up data information stamps the second category label for being used to indicate its classification, wherein the classification of tune-up data information includes at least
View layer is updated, for example, the classification of tune-up data information can also include calling the primary ability of the first client.
S206 obtains the tune-up data information from the logical layer, and by the tune-up data Information encapsulation in data
Bao Zhong.
In this specification embodiment, the second client can be obtained from logical layer by WebSocket transmission channel and be adjusted
Data information is tried, is then data packet to be used for transmission by tune-up data Information encapsulation.
What the data-bag lost and the first client occurred in transmission in order to prevent occurred when executing for data packet patrols
The generation for collecting confusion phenomena, in this specification embodiment, by the method stream of the tune-up data Information encapsulation in the packet
Journey is as shown in figure 4, may include:
Corresponding sequence is arranged according to the sequence of the tune-up data acquisition of information for the tune-up data information in S402
Number.
In this specification embodiment, the second client, can be according to debugging when getting tune-up data information every time
Corresponding sequence number is arranged for each tune-up data information in the sequence of acquisition of information.Sequence number can be Arabic numerals, can also
To be the other identifier that can indicate sequencing.
S404 is raw according to the acquisition time interval of the tune-up data information and the tune-up data information of flanking sequence number
At first time interval corresponding with the tune-up data information.
In this specification embodiment, the first time interval for the first tune-up data information that the second client is got
It can be set to 0, the first time interval of the tune-up data information of subsequent acquisition can be according to the debugging of itself and previous sequence number
The interval of the acquisition time of data information determines.Specifically, the second client can recorde the acquisition of each tune-up data information
Timestamp calculates the difference of the timestamp of current tune-up data information and the timestamp of previous tune-up data information, by the difference
First time interval as the tune-up data information currently obtained.
S406, by the tune-up data information and sequence number corresponding with the tune-up data information, first time
Interval encapsulation is in the packet.
In this specification embodiment, since data packet is to be transmitted to the first client by transfer server, in order to
Packet encapsulation can be inside and outside two layers, wherein outer layer can be in encapsulated data packet by the load for reducing transfer server
Only understand for transfer server, internal layer is the content that the first client and the second client understand.In practical applications, it can incite somebody to action
Sequence number corresponding with tune-up data information is encapsulated in outer layer, for the parsing of subsequent transfer server;Tune-up data can be believed
Breath, its corresponding first time interval are encapsulated in internal layer, for the parsing of subsequent first client.
The data packet is sent to transfer server by S208, so that the transfer server turns the data packet
The first client is issued, the view layer of first client carries out the update that the page is shown according to the tune-up data information.
It, can also be while the second client delivers a packet to transfer server in this specification embodiment
It is local to save corresponding data packet simultaneously, to prevent the data-bag lost occurred in transmission process.
In an example, after the second client delivers a packet to transfer server, transfer clothes can also be received
The first data packet confirmation message that business device is sent, according to the first data packet confirmation message, determination is received by transfer server
Data packet, then will be deleted by the received data packet of transfer server from local save in medium.For not taken by transfer
The business received data packet of device, the second client can be received not by transfer server by this part according to the preset time interval
Data packet is sent to transfer server again, until the data packet confirmation for receiving the partial data packet of transfer server transmission disappears
Breath, for example, the second client just can actively send the data packet of not confirmed every 10~15s to transfer server.Pass through
Second client actively searches not by the received data packet of transfer server and this partial data is sent to transfer service again
Device can substantially reduce the processing pressure of the transfer server in system.
In the present embodiment, the characteristics of separation by the view layer of small routine with logical layer, its logical layer is deployed in second
Client (i.e. debugging client), view layer is deployed in the first client (i.e. debugged mobile terminal), and passes through transfer service
Device carries out transfer and the caching of information, so that the environment of debugging process is realized closer to the actual motion environment of small routine
The remote debugging of small routine, and the remote debugging is made to become abnormal simple, developer is in debugging process almost to intermediate mistake
Journey does not perceive, and improves the debugging efficiency of small routine.
Above-described embodiment is the long-range tune from the angle of the second client (i.e. debugging client) to small routine in the present invention
The introduction that method for testing carries out, below will be from the angle of the first client (i.e. debugged mobile terminal) to small routine in the present invention
Remote debugging method is introduced.
Referring to FIG. 5, the process of its remote debugging method for showing another small routine provided in an embodiment of the present invention
Schematic diagram, present description provides the method operating procedures as described in embodiment or flow chart, but based on routine or without creation
The labour of property may include more or less operating procedure.The step of enumerating in embodiment sequence is only that numerous steps are held
One of row sequence mode, does not represent and unique executes sequence.It, can be by when system in practice or end product execute
It is executed according to embodiment or method shown in the drawings sequence or parallel executes (such as parallel processor or multiple threads
Environment).It is specific as shown in Figure 5, which comprises
S502 generates debugging instruction message, carries data to be debugged in the debugging instruction message in response to trigger event
Information.
In this specification embodiment, the first client can generate debugging instruction message in response to trigger event, touching
Hair event can be clicking operation or slide etc. of the user on the view layer of the first client, and aforesaid operations can be by
The WebView of view layer is captured, and then view layer gives the corresponding data information transfer of the operation of capture to the first client, specifically
It is to be transferred to the first client primary layer, the first client generates debugging instruction message according to the data that view layer transmits, should
Data information to be debugged is contained in debugging instruction message.
Specifically, the first client end response is in trigger event, the method flow for generating debugging instruction message can be such as Fig. 6 institute
Show, comprising:
S602 obtains the classification of the data information to be debugged according to the trigger event.
In this specification embodiment, the classification of data information to be debugged, which includes at least, updates view layer, for example, it may be used also
To include some calling etc. to the primary layer function of the first client.
S604 generates the classification for being used to indicate the data information to be debugged according to the classification of the data information to be debugged
First category label.
S606 generates the debugging instruction message according to the data information to be debugged and first category label.
The debugging instruction message is sent to transfer server by S504.
In this specification embodiment, the first client can send it to transfer after generating debugging instruction message
Server, so that debugging instruction message is transmitted to the second client by transfer server.Second client can be according to aforementioned
Method shown in Fig. 2 handles debugging instruction message, and packaged data packet is sent to transfer server.
In this specification embodiment, before the debugging instruction message is sent to transfer server, the first client
End can send WebSocket connection request to transfer server, establish when according to the WebSocket connection request
When WebSocket transmission channel, the debugging instruction message is sent to by transfer server by WebSocket transmission channel.
S506 receives and parses through the data packet of the transfer server forwarding.
In this specification embodiment, tune-up data information may include in the data packet by transfer server forwarding, also
It may include sequence number corresponding with tune-up data information and first time interval.First client parsing data packet can obtain
Tune-up data information into data packet can also obtain sequence number corresponding with tune-up data information and first time certainly
Interval.
The tune-up data information is transferred to the view layer, so that the view layer is according to the debugging by S508
Data information carries out the update that the page is shown.
In practical applications, the second client passes through with transfer server and transfer server with the first client
Network is attached communication, due to being limited by network quality, not can guarantee the data packet energy that the second client first issues
The first client first being reached, and general first client is the reception message of multithreading, reception is that random ordering is received, therefore,
First client before being executed to the tune-up data information in data packet, need to execution time of each data packet into
Row determines, with the logical miss occurred when preventing and executing.
Specifically, as shown in fig. 7, the method is also before the tune-up data information is transferred to the view layer
Include:
S702 obtains sequence number corresponding with the tune-up data information and first time interval.
S704 is ranked up the tune-up data information according to the sequence number.
First client can be ranked up debugging data information according to sequence number according to preset ordering rule.Example
Such as, continuously debugging data information can be ranked up according to sequence number.
S706 obtains the second time interval of the time and current time that execute a upper tune-up data information.
In this specification embodiment, the first client can record tune-up data information when executing tune-up data information
Execution timestamp.When getting new tune-up data information, when according to the execution of the tune-up data information of upper one execution
Between stab and current time timestamp the available time interval between the two of difference, the time interval is as the second time
Interval.
S708 is determined according to the first time interval and second time interval and is executed the tune-up data information.
Specifically, when first time interval is no more than the second time interval, it is determined that can currently execute corresponding tune
Try data information.Conversely, showing currently also to be less than the corresponding debugging of execution if first time interval is more than the second time interval
The time of data information needs to continue waiting for.
For example, for convenience of explanation, data packet is expressed as [sequence number, first time interval] herein, the first visitor
Family end successively receives data packet [1,5ms], [3,100ms] and [2,20ms], the first client sorted according to sequence number after for [1,
5ms], [2,20ms], [3,100ms];The execution timestamp of the tune-up data information of an execution and current in first client
The difference of the timestamp of time i.e. the second time interval is 10ms.Due to 5ms < 10ms, the first client can currently be held
The corresponding tune-up data information of row data packet [1,5ms].And due to data packet [2,20ms] and between the first time of [3,100ms]
Every being all larger than 10ms, therefore, the first client executes data packet [2,20ms] corresponding tune-up data letter after can determining 20ms
It ceases, data packet [3,100ms] corresponding tune-up data information is executed after 100ms, so that each tune-up data be determined well
Information corresponding execution time point, it is therefore prevented that the logical miss occurred when execution.
In addition, active shows data packet out during being transferred to the first client by transfer server in order to prevent
As the first client can send the confirmation of the second data packet after being ranked up to debugging data information to transfer server
Message, transfer server according to the second data packet confirmation message determine not by the received data packet of the first client, and by this
Part is not sent to the first client by the received data packet of the first client again.
In practical applications, the corresponding sequence number of tune-up data information can be Arabic numerals, then the first client
Debugging data information can be ranked up according to continuous sequence number, and the maximum sequence number of continuous sequence number is sent to
Turn server, transfer server confirms that the institute of the sequence number before the sequence number is right according to the maximum sequence number of continuous sequence number
The tune-up data information answered has been received by the first client, so that it is determined that go out not by the received data packet of the first client, and
The partial data is sent to the first client again.
For example, the corresponding Serial No. 1 of data packet after the sequence that the first client is currently received, 2,3,6, then connect
Sequence number 3 is sent to transfer server by the continuous maximum Serial No. 3 of sequence number, the first client, and transfer server is according to sequence
Row number 3 confirms that data packet 1,2 and 3 is received by the first client, so that the corresponding data packet of residue sequence number be sent out again
Give the first client.
In this specification embodiment, the tune-up data information that the first client parses includes being used to indicate debugging number
It is believed that the second category label of the classification of breath, the classification of the tune-up data information, which includes at least, updates the view layer, for example,
The classification of tune-up data information can also include calling the primary ability of the first client.So, the first client is by the debugging
Data information is transferred to the method flow of the view layer as shown in figure 8, may include:
S802 obtains the second category label.
S804 determines the classification of the tune-up data information according to the second category label.
Specifically, the first client according to second category label, can judge whether the classification of tune-up data information is more
New view layer.
S806 turns the tune-up data information when the classification of the tune-up data information is to update the view layer
Move to the view layer.
Specifically, can will be debugged when the first client judges the classification of tune-up data information to update view layer
Data information is transferred to view layer, so that the view layer carries out the update that the page is shown according to the tune-up data information;
It, can be according to the class of tune-up data information when the first client judges that the classification of tune-up data information is not to update view layer
The movement that Que Ding do not execute, for example, the primary ability of the first client can be called.
In the present embodiment, the characteristics of separation by the view layer of small routine with logical layer, its logical layer is deployed in second
Client (i.e. debugging client), view layer is deployed in the first client (i.e. debugged mobile terminal), and passes through transfer service
Device carries out transfer and the caching of information, so that the environment of debugging process is realized closer to the actual motion environment of small routine
The remote debugging of small routine, and the remote debugging is made to become abnormal simple, developer is in debugging process almost to intermediate mistake
Journey does not perceive, and improves the debugging efficiency of small routine.
Above-described embodiment is respectively from the second client (i.e. debugging client) and (the i.e. debugged movement of the first client
End) angle the remote debugging method of small routine in the present invention is described, below will be from the angle pair of transfer server
The remote debugging method of small routine is introduced in the present invention.
Referring to FIG. 9, the process of its remote debugging method for showing another small routine provided in an embodiment of the present invention
Schematic diagram, present description provides the method operating procedures as described in embodiment or flow chart, but based on routine or without creation
The labour of property may include more or less operating procedure.The step of enumerating in embodiment sequence is only that numerous steps are held
One of row sequence mode, does not represent and unique executes sequence.It, can be with when system in practice or server product execute
It is executed according to embodiment or method shown in the drawings sequence or parallel executes (such as parallel processor or multiple threads
Environment).It is specific as shown in Figure 9, which comprises
S902 receives the debugging instruction message that first client is sent, carries in the debugging instruction message wait adjust
Try data information.
In this specification embodiment, the first client can generate debugging instruction according to aforementioned method shown in fig. 5
Message, and debugging instruction message is sent to transfer server.
In addition, for the debugging legitimacy for guaranteeing debugging side and being debugged side, receiving institute in this specification embodiment
Before the debugging instruction message for stating the transmission of the first client, it is also necessary to legitimacy identification is carried out, specifically, Figure 10 institute can be used
The method shown, this method may include:
S1002 obtains the first WebSocket connection request that first client is sent, the first WebSocket
The identity of first client is carried in connection request.
In this specification embodiment, the identity of the first client can be the account letter for logging in the first client
Breath.
S1004 obtains the 2nd WebSocket connection request that second client is sent, the 2nd WebSocket
The identity of second client is carried in connection request.
In this specification embodiment, the identity of the second client can be believed to log in the account of the second client
Breath.
S1006, judges whether the identity of first client matches with the identity of second client.
S1008 is built when the identity of first client and the identity of second client match
Vertical WebSocket transmission channel.
In this specification embodiment, when the identity of the first client and the identity of the second client match
When, show current debugging be it is legal, can pass through the WebSocket transmission channel of foundation receive the first client send
Debugging instruction message, it can start debugging process.
Identified by above-mentioned legitimacy, it can be ensured that the object of the presently described debugging of the second client be and respective logic layer
Corresponding first client avoids the debugging to other debugged objects.
The debugging instruction message is transmitted to second client by S904.
In this specification embodiment, the second client can be according to aforementioned method shown in Fig. 2 to debugging instruction message
It is handled, and packaged data packet is sent to transfer server.
S906 receives the data packet that second client is sent.
In this specification embodiment, the data packet that the second client is sent may include inside and outside two layers, wherein outer layer can
Only to understand for transfer server, internal layer is the content that the first client and the second client understand.It in practical applications, can be with
Sequence number corresponding with tune-up data information is encapsulated in outer layer, for the parsing of subsequent transfer server;It can be by tune-up data
Information, its corresponding first time interval are encapsulated in internal layer, for the parsing of subsequent first client.
Occur the phenomenon that data-bag lost, transfer in transmission process between the second client and transfer server in order to prevent
Server its after reception of the data packet, can to the second client send the first data packet confirmation message so that second
Client is determined according to the first data packet confirmation message not by the received data packet of transfer server, and by the part not by
Turn the received data packet of server and be sent to transfer server again, so that transfer server receives the partial data packet.
In practical applications, after transfer server receives data packet, data packet can be parsed to obtain envelope
Sequence number in data packet outer layer, and data packet is ranked up according to the sequence number.Specifically, can be according to sequence number
Continuously sorted, sequence number maximum in continuous sequence number be then sent to the second client, the second client according to
The maximum sequence number can determine that data packet corresponding to the sequence number before the sequence number has been received by transfer server,
And data packet corresponding to the sequence number after the sequence number is determined as not received by transfer server, and by this partial data
Packet is sent to transfer server again, after transfer server receives the data packet packet that the second client is sent again, repeats to sort,
The first data packet confirmation message is sent, until the data packet in preset time period is received by transfer server.
The data packet is transmitted to first client by S908, so that the view layer root of first client
The update that the page is shown is carried out according to the tune-up data information.
In this specification embodiment, transfer server after determining and receiving all data packets in preset time period,
The first client can be delivered a packet to according to the sequence of sequence number.
It should be noted that transfer server can arrange to send according to Network status in this specification embodiment
Data packet.For example, can first be cached received data packet when current network conditions are bad, it, will when Network status is good
The data packet of caching is sent to the first client.
In this specification embodiment, there is number in transmission process between transfer server and the first client in order to prevent
The phenomenon that according to packet loss, transfer server can receive to the first client send the second data packet confirmation message, and according to
The second data packet confirmation message determines not by the received data packet of the first client, and this part is not terminated by the first client
The data packet of receipts is sent to the first client again.
In practical applications, the first client can be ranked up debugging data information according to continuous sequence number, and
The maximum sequence number of continuous sequence number is sent to transfer server, transfer server is according to the maximum sequence number of continuous sequence number
Confirm that tune-up data information corresponding to the sequence number before the sequence number has been received by the first client, so that it is determined that
Out not by the received data packet of the first client, and the partial data is sent to the first client again.
In this specification embodiment, when transfer server determines that the first client has received the institute in preset time period
After having data packet, the corresponding data packet being buffered in transfer server can be deleted.
In the present embodiment, transfer and caching by transfer server also can guarantee data even if network environment is severe
It arrives safe and sound, prevents the loss of transmission process data packet well, and local area network can also be broken through by transfer server
Limitation, the limitation of USB data line, as long as internet can be accessed, no matter the geographical location of the first client and the second client
It is how far, it can realize the remote debugging of small routine.
In addition, the characteristics of separation by the view layer of small routine with logical layer, its logical layer is deployed in the present embodiment
Second client (i.e. debugging client), view layer is deployed in the first client (i.e. debugged mobile terminal), and passes through transfer
Server carries out transfer and the caching of information, so that actual motion environment of the environment of debugging process closer to small routine, real
The remote debugging of small routine is showed, and the remote debugging is made to become abnormal simple, developer is in debugging process almost in
Between process do not perceive, improve the debugging efficiency of small routine.
The second client in the present invention is described in detail below, please refers to Figure 11, in the embodiment of the present invention
Be deployed with logical layer in two clients, second client application in the remote debugging system of small routine, the small routine
Remote debugging system at least further includes transfer server and the first client, is deployed with view layer in first client.
Second client has the function of the second client-side in realization above method embodiment, and the function can be by hardware reality
It is existing, corresponding software realization can also be executed by hardware, specifically, the second client may include:
First receiving module 1110, for receiving the debugging instruction message of the transfer server forwarding, the debugging refers to
It enables and carries data information to be debugged in message;The debugging instruction message is that first client end response is given birth in trigger event
At, and the transfer server is sent to by first client;
First shift module 1120, for the data information to be debugged to be transferred to the logical layer, so that described
Logical layer is debugged according to the data information to be debugged, obtains tune-up data information;
In an example, the tune-up data information include be used to indicate the tune-up data information classification second
Class label, the classification of the tune-up data information, which includes at least, updates the view layer.
Package module 1130 for obtaining the tune-up data information from the logical layer, and the tune-up data is believed
Breath encapsulation is in the packet;
First sending module 1140, for the data packet to be sent to transfer server, so that the transfer service
The data packet is transmitted to the first client by device, and the view layer of first client is carried out according to the tune-up data information
The update that the page is shown.
Optionally, as shown in figure 12, package module 1130 may include:
Sequence number setup module 1131 is the tune-up data for the sequence according to the tune-up data acquisition of information
Corresponding sequence number is arranged in information;
Second generation module 1132, for according to the tune-up data information and the tune-up data information of flanking sequence number
Acquisition time interval generates first time interval corresponding with the tune-up data information;
Submodule 1133 is encapsulated, is used for the tune-up data information and sequence corresponding with the tune-up data information
Row number, first time interval encapsulation are in the packet.
In an example, the debugging instruction message further includes being used to indicate the classification of the data information to be debugged
First category label, the classification of the data information to be debugged, which includes at least, updates the view layer, correspondingly, such as Figure 13 institute
Show, the first shift module 1120 may include:
First obtains module 1121, for obtaining the first category label;
First determining module 1122, for determining the class of the data information to be debugged according to the first category label
Not;
First transfer submodule 1123, for when the classification of the data information to be debugged be update the view layer when,
The data information to be debugged is transferred to the logical layer.
The first client in the present invention is described in detail below, please refers to Figure 14, in the embodiment of the present invention
Be deployed with view layer in one client, first client application in the remote debugging system of small routine, the small routine
Remote debugging system at least further includes transfer server and the second client, is deployed with logical layer in second client.
First client has the function of the first client-side in realization above method embodiment, and the function can be by hardware reality
It is existing, corresponding software realization can also be executed by hardware, specifically, the first client may include:
First generation module 1410, for generating debugging instruction message, the debugging instruction message in response to trigger event
It is middle to carry data information to be debugged;
Second sending module 1420, for the debugging instruction message to be sent to transfer server, so that in described
Turn server and the debugging instruction message is transmitted to the second client, second client is for receiving the debugging instruction
Message, by the debugging instruction message transfers to the logical layer, so that the logical layer is believed according to the data to be debugged
Breath is debugged, and tune-up data information is obtained;The tune-up data information is obtained from the logical layer, and by the tune-up data
Information encapsulation is in the packet;The data packet is sent to transfer server, so that described in transfer server forwarding
Data packet;
Second receiving module 1430 obtains the tune for receiving and parsing through the data packet of the transfer server forwarding
Try data information;
Second shift module 1440, for the tune-up data information to be transferred to the view layer, so that the view
Figure layer carries out the update that the page is shown according to the tune-up data information.
It in an example, further include sequence number corresponding with the tune-up data information and first in the data packet
Time interval, correspondingly, as shown in figure 15, which can also include:
Second obtains module 1450, for obtaining sequence number corresponding with the tune-up data information and between first time
Every;
Sorting module 1460, for being ranked up according to the sequence number to the tune-up data information;
Third obtain module 1470, for obtain execute a upper tune-up data information time and current time second
Time interval;
Second determining module 1480, for determining and executing according to the first time interval and second time interval
The tune-up data information.
In another example, the tune-up data information include be used to indicate the tune-up data information classification
Two class labels, the classification of the tune-up data information, which includes at least, updates the view layer, correspondingly, as shown in figure 16, the
Two shift modules 1440 may include:
4th obtains module 1441, for obtaining the second category label;
Third determining module 1442, for determining the classification of the tune-up data information according to the second category label;
Second transfer submodule 1443, for inciting somebody to action when the classification of the tune-up data information is to update the view layer
The tune-up data information is transferred to the view layer.
In another example, as shown in figure 17, the first generation module 1410 may include:
5th obtains module 1411, for obtaining the classification of the data information to be debugged according to the trigger event;
First generates submodule 1412, for according to the generation of the classification of the data information to be debugged be used to indicate it is described to
The first category label of the classification of tune-up data information;
Second generates submodule 1413, for generating the tune according to the data information to be debugged and first category label
Try instruction message;Wherein, the classification of the data information to be debugged, which includes at least, updates the view layer.
The transfer server in the present invention is described in detail below, please refers to Figure 18, in the embodiment of the present invention in
Turn server application in the remote debugging system of small routine, the remote debugging system of the small routine at least further includes the first client
End and the second client are deployed with view layer in first client, are deployed with logical layer in second client.It is described
Transfer server have the function of realize above method embodiment in transfer server side, the function can by hardware realization,
Corresponding software realization can also be executed by hardware, specifically, transfer server may include:
Third receiving module 1810, the debugging instruction message sent for receiving first client, the debugging refer to
It enables and carries data information to be debugged in message;
First forwarding module 1820, for the debugging instruction message to be transmitted to second client;
4th receiving module 1830, the data packet sent for receiving second client;
Second forwarding module 1840, for the data packet to be transmitted to first client, so that described first
The view layer of client carries out the update that the page is shown according to the tune-up data information.
In an example, as shown in figure 19, which can also include:
First connection request obtains module 1910, connects for obtaining the first WebSocket that first client is sent
Request is connect, the identity of first client is carried in the first WebSocket connection request;
Second connection request obtains module 1920, connects for obtaining the 2nd WebSocket that second client is sent
Request is connect, the identity of second client is carried in the 2nd WebSocket connection request;
Judgment module 1930, for judging the identity of first client and the identity mark of second client
Know and whether matches;
Transmission channel establishes module 1940, for the identity and second client in first client
When identity matches, WebSocket transmission channel is established.
Continuing with referring to Figure 19, in another example, which can also include:
Confirmation message sending module 1950, for sending the first data packet confirmation message to second client, so that
It obtains second client and determines the data packet not being received according to the first data packet confirmation message, and again described in transmission
The data packet not being received.
Confirmation message receiving module 1960, the second data packet confirmation message sent for receiving first client.
4th determining module 1970, for being determined according to the second data packet confirmation message not by first client
Received data packet.
In this example, the 4th receiving module 1830 can be also used for receiving not being received for the second client transmission
Data packet.
In this example, the second forwarding module 1840 can be also used for described not by the received number of the first client
It is sent to first client again according to packet.
One embodiment of the present of invention additionally provides a kind of remote debugging system of small routine, which includes at least first
Client, transfer server and the second client, wherein view layer is disposed in first client, in second visitor
Logical layer is disposed in end in family;
First client, in response to trigger event, generating debugging instruction message, in the debugging instruction message
Carry data information to be debugged;The debugging instruction message is sent to transfer server;Receive and parse through the transfer service
The data packet of device forwarding, obtains the tune-up data information;The tune-up data information is transferred to the view layer, so that
The view layer carries out the update that the page is shown according to the tune-up data information;
The transfer server, the debugging instruction message sent for receiving first client;The debugging is referred to
Message is enabled to be transmitted to second client;Receive the data packet that second client is sent;The data packet is transmitted to
First client;
Second client, for receiving the debugging instruction message of the transfer server forwarding;It will be described to be debugged
Data information is transferred to the logical layer, so that the logical layer is debugged according to the data information to be debugged, obtains
Tune-up data information;The tune-up data information is obtained from the logical layer, and by the tune-up data Information encapsulation in data
Bao Zhong;The data packet is sent to transfer server.
It should be noted that client provided by the above embodiment or transfer server, when realizing its function, only more than
The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference
Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, client provided by the above embodiment or transfer server and embodiment of the method belong to same design,
Specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Please refer to Figure 20 which shows a kind of structural schematic diagram of terminal provided in an embodiment of the present invention, the terminal are used for
Implement the remote debugging method of the small routine of the second client-side provided in above-described embodiment, or for implementing above-mentioned implementation
The remote debugging method of the small routine of the first client-side provided in example.Specifically:
Terminal 2000 may include RF (Radio Frequency, radio frequency) circuit 2010, include one or more
Memory 2020, input unit 2030, display unit 2040, the video sensor 2050, audio of computer readable storage medium
Circuit 2060, includes one or more than one processing at WiFi (wireless fidelity, Wireless Fidelity) module 2070
The components such as the processor 2080 and power supply 200 of core.It will be understood by those skilled in the art that terminal knot shown in Figure 20
The restriction of structure not structure paired terminal may include perhaps combining certain components or not than illustrating more or fewer components
Same component layout.Wherein:
RF circuit 2010 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 2080 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 2010 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillator,
It is subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), double
Work device etc..In addition, RF circuit 2010 can also be communicated with network and other equipment by wireless communication.The wireless communication can be with
Using any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication,
Global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA
(Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS
(Short Messaging Service, short message service) etc..
Memory 2020 can be used for storing software program and module, and processor 1480 is stored in memory by operation
2020 software program and module, thereby executing various function application and data processing.Memory 2020 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored is created according to using for terminal 2000
Data (such as video data, phone directory etc.) built etc..In addition, memory 2020 may include high-speed random access memory,
It can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-states are deposited
Memory device.Correspondingly, memory 2020 can also include Memory Controller, to provide processor 2080 and input unit 2030
Access to memory 2020.
Input unit 2030 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 2030 may include figure
As input equipment 2031 and other input equipments 2032.Image input device 2031 can be camera, be also possible to photoelectricity
Scanning device.In addition to image input device 2031, input unit 2030 can also include other input equipments 2032.Specifically,
Other input equipments 2032 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 2040 can be used for showing information input by user or the information and terminal 2000 that are supplied to user
Various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof come structure
At.Display unit 2040 may include display panel 2041, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 2041.
Terminal 2000 may include at least one video sensor 2050, and video sensor is used to obtain the video letter of user
Breath.Terminal 2000 can also include other sensor (not shown), such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 2041, and proximity sensor can close aobvious when terminal 2000 is moved in one's ear
Show panel 2041 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect (one in all directions
As be three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The other sensors such as the gyroscope, barometer, hygrometer, thermometer, the infrared sensor that can also configure as terminal 2000,
This is repeated no more.
Video circuit 2060, loudspeaker 2061, microphone 2062 can provide the video interface between user and terminal 2000.
Electric signal after the audio data received conversion can be transferred to loudspeaker 2061, by loudspeaker 2061 by voicefrequency circuit 2060
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 2062, by voicefrequency circuit
2060 receive after be converted to audio data, then by after the processing of audio data output processor 2080, through RF circuit 2011 to send
It exports to memory 2020 to such as another terminal, or by audio data to be further processed.Voicefrequency circuit 2060 may be used also
It can include earphone jack, to provide the communication of peripheral hardware earphone Yu terminal 2000.
WiFi belongs to short range wireless transmission technology, and terminal 2000 can help user to receive and dispatch electricity by WiFi module 2070
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 20 shows
Go out WiFi module 2070, but it is understood that, and it is not belonging to must be configured into for terminal 2000, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Processor 2080 is the control centre of terminal 2000, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or execute the software program and/or module that are stored in memory 2020, and calls and be stored in memory
Data in 2020 execute the various functions and processing data of terminal 2000, to carry out integral monitoring to mobile phone.Optionally,
Processor 2080 may include one or more processing cores;Preferably, processor 2080 can integrate application processor and modulatedemodulate
Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor
Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 2080.
Terminal 2000 further includes the power supply 200 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 2080 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 200 can also include one or more direct current or AC power source, recharging system, power supply event
Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 2000 can also be including bluetooth module etc., and details are not described herein.
Specifically in the present embodiment, terminal 2000 further includes having memory and one or more than one program,
In one perhaps more than one program be stored in memory and be configured to be executed by one or more than one processor.
Said one or more than one program include the remote debugging method for executing the small routine of above method embodiment offer
Instruction.
The embodiments of the present invention also provide a kind of storage medium, the storage medium be may be disposed among terminal to save
For realizing the remote debugging method of the first client-side in embodiment of the method or a kind of small routine of the second client-side correlation
At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the generation
The remote debugging side that code collection or instruction set are loaded by the processor and executed to realize the small routine of above method embodiment offer
Method.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or
The various media that can store program code such as CD.
The embodiments of the present invention also provide a kind of storage medium, the storage medium be may be disposed among server to protect
It deposits and refers to for realizing a kind of remote debugging method relevant at least one of small routine of transfer server side in embodiment of the method
It enables, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction set
Loaded by the processor and executed the remote debugging method to realize the small routine of above method embodiment offer.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or device including a series of elements are not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or device
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or device including the element.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (15)
1. a kind of remote debugging method of small routine, which is characterized in that the method is applied to the remote debugging system of small routine,
The system includes at least the first client, transfer server and the second client, wherein disposes in first client
View layer disposes logical layer in second client, for second client, which comprises
The debugging instruction message of the transfer server forwarding is received, data letter to be debugged is carried in the debugging instruction message
Breath;The debugging instruction message is that first client end response is generated in trigger event, and by first client
It is sent to the transfer server;
The data information to be debugged is transferred to the logical layer, so that the logical layer is believed according to the data to be debugged
Breath is debugged, and tune-up data information is obtained;
The tune-up data information is obtained from the logical layer, and in the packet by the tune-up data Information encapsulation;
The data packet is sent to transfer server, so that the data packet is transmitted to the first visitor by the transfer server
The view layer at family end, first client carries out the update that the page is shown according to the tune-up data information.
2. the remote debugging method of small routine according to claim 1, which is characterized in that described to believe the tune-up data
Breath encapsulates
According to the sequence of the tune-up data acquisition of information, corresponding sequence number is set for the tune-up data information;
According to the acquisition time interval of the tune-up data information and the tune-up data information of flanking sequence number, generate and the tune
Try the corresponding first time interval of data information;
The tune-up data information and sequence number corresponding with the tune-up data information, first time interval are encapsulated in
In data packet.
3. the remote debugging method of small routine according to claim 1, which is characterized in that the debugging instruction message is also wrapped
The first category label for being used to indicate the classification of the data information to be debugged is included, the classification of the data information to be debugged is at least
Including updating the view layer;
It is described the data information to be debugged is transferred to the logical layer to include:
Obtain the first category label;
According to the first category label, the classification of the data information to be debugged is determined;
When the classification of the data information to be debugged is to update the view layer, the data information to be debugged is transferred to institute
State logical layer.
4. the remote debugging method of small routine according to claim 1, which is characterized in that
The tune-up data information includes the second category label for being used to indicate the classification of the tune-up data information, the debugging
The classification of data information, which includes at least, updates the view layer.
5. a kind of remote debugging method of small routine, which is characterized in that the method is applied to the remote debugging system of small routine,
The system includes at least the first client, transfer server and the second client, wherein disposes in first client
View layer disposes logical layer in second client, for first client, which comprises
In response to trigger event, debugging instruction message is generated, carries data information to be debugged in the debugging instruction message;
The debugging instruction message is sent to transfer server, so that the transfer server is by the debugging instruction message
It is transmitted to the second client, second client turns the debugging instruction message for receiving the debugging instruction message
The logical layer is moved to, so that the logical layer is debugged according to the data information to be debugged, obtains tune-up data letter
Breath;The tune-up data information is obtained from the logical layer, and in the packet by the tune-up data Information encapsulation;It will be described
Data packet is sent to transfer server, so that the transfer server forwards the data packet;
The data packet for receiving and parsing through the transfer server forwarding, obtains the tune-up data information;
The tune-up data information is transferred to the view layer so that the view layer according to the tune-up data information into
The update that the row page is shown.
6. the remote debugging method of small routine according to claim 5, which is characterized in that further include in the data packet with
The corresponding sequence number of the tune-up data information and first time interval;
Before the tune-up data information is transferred to the view layer, the method also includes:
Obtain sequence number corresponding with the tune-up data information and first time interval;
The tune-up data information is ranked up according to the sequence number;
Obtain the second time interval of the time and current time that execute a upper tune-up data information;
According to the first time interval and second time interval, determines and execute the tune-up data information.
7. the remote debugging method of small routine according to claim 5, which is characterized in that the tune-up data information includes
It is used to indicate the second category label of the classification of the tune-up data information, the classification of the tune-up data information includes at least more
The new view layer;
It is described the tune-up data information is transferred to the view layer to include:
Obtain the second category label;
According to the second category label, the classification of the tune-up data information is determined;
When the classification of the tune-up data information is to update the view layer, the tune-up data information is transferred to the view
Figure layer.
8. the remote debugging method of small routine according to claim 5, which is characterized in that it is described in response to trigger event,
Generating debugging instruction message includes:
The classification of the data information to be debugged is obtained according to the trigger event;
The first kind for being used to indicate the classification of the data information to be debugged is generated according to the classification of the data information to be debugged
Distinguishing label;
The debugging instruction message is generated according to the data information to be debugged and first category label;
Wherein, the classification of the data information to be debugged, which includes at least, updates the view layer.
9. a kind of remote debugging method of small routine, which is characterized in that the method is applied to the remote debugging system of small routine,
The system includes at least the first client, transfer server and the second client, wherein disposes in first client
View layer disposes logical layer in second client, for the transfer server, which comprises
The debugging instruction message that first client is sent is received, data letter to be debugged is carried in the debugging instruction message
Breath;First client is used to generate debugging instruction message, and send the debugging instruction message in response to trigger event;
The debugging instruction message is transmitted to second client;Second client is for receiving the debugging instruction
Message;The data information to be debugged is transferred to the logical layer, so that the logical layer is according to the data to be debugged
Information is debugged, and tune-up data information is obtained;The tune-up data information is obtained from the logical layer, by the tune-up data
Information encapsulation in the packet and sends the data packet;
Receive the data packet that second client is sent;
The data packet is transmitted to first client, so that the view layer of first client is according to the debugging
Data information carries out the update that the page is shown.
10. the remote debugging method of small routine according to claim 9, which is characterized in that receiving first client
Before holding the debugging instruction message sent, the method also includes:
The first WebSocket connection request that first client is sent is obtained, in the first WebSocket connection request
Carry the identity of first client;
The 2nd WebSocket connection request that second client is sent is obtained, in the 2nd WebSocket connection request
Carry the identity of second client;
Judge whether the identity of first client matches with the identity of second client;
When the identity of first client and the identity of second client match, establish
WebSocket transmission channel.
11. the remote debugging method of small routine according to claim 9, which is characterized in that receiving second client
After holding the data packet sent, and before the data packet is transmitted to first client, the method also includes:
The first data packet confirmation message is sent to second client, so that second client is according to first number
The data packet not being received is determined according to packet confirmation message, and sends the data packet not being received again;
Receive the data packet not being received that second client is sent;
After the data packet is transmitted to first client, the method also includes:
Receive the second data packet confirmation message that first client is sent;
It is determined according to the second data packet confirmation message not by the received data packet of the first client;
First client is not sent to by the received data packet of the first client again by described.
12. a kind of second client, which is characterized in that be deployed with logical layer, second client in second client
Applied to the remote debugging system of small routine, the remote debugging system of the small routine at least further includes transfer server and
One client is deployed with view layer in first client, and second client includes:
First receiving module, for receiving the debugging instruction message of transfer server forwarding, in the debugging instruction message
Carry data information to be debugged;The debugging instruction message is that first client end response is generated in trigger event, and
The transfer server is sent to by first client;
First shift module, for the data information to be debugged to be transferred to the logical layer, so that the logical layer root
It is debugged according to the data information to be debugged, obtains tune-up data information;
Package module for obtaining the tune-up data information from the logical layer, and the tune-up data Information encapsulation is existed
In data packet;
First sending module, for the data packet to be sent to transfer server, so that the transfer server will be described
Data packet is transmitted to the first client, and the view layer of first client carries out the page according to the tune-up data information and shows
Update.
13. a kind of first client, which is characterized in that be deployed with view layer, first client in first client
Applied to the remote debugging system of small routine, the remote debugging system of the small routine at least further includes transfer server and
Two clients are deployed with logical layer in second client, and first client includes:
First generation module, in response to trigger event, generating debugging instruction message, carried in the debugging instruction message to
Tune-up data information;
Second sending module, for the debugging instruction message to be sent to transfer server, so that the transfer server
The debugging instruction message is transmitted to the second client, second client, will for receiving the debugging instruction message
The debugging instruction message transfers are to the logical layer, so that the logical layer is adjusted according to the data information to be debugged
Examination, obtains tune-up data information;The tune-up data information is obtained from the logical layer, and by the tune-up data Information encapsulation
In the packet;The data packet is sent to transfer server, so that the transfer server forwards the data packet;
Second receiving module obtains the tune-up data letter for receiving and parsing through the data packet of the transfer server forwarding
Breath;
Second shift module, for the tune-up data information to be transferred to the view layer so that the view layer according to
The tune-up data information carries out the update that the page is shown.
14. a kind of transfer server, which is characterized in that the transfer server is applied to the remote debugging system of small routine, institute
The remote debugging system for stating small routine at least further includes the first client and the second client, is deployed in first client
View layer is deployed with logical layer in second client, and the transfer server includes:
Third receiving module, the debugging instruction message sent for receiving first client, in the debugging instruction message
Carry data information to be debugged;First client is used to generate debugging instruction message, and send institute in response to trigger event
State debugging instruction message;
First forwarding module, for the debugging instruction message to be transmitted to second client;Second client is used
In the reception debugging instruction message;The data information to be debugged is transferred to the logical layer, so that the logical layer
It is debugged according to the data information to be debugged, obtains tune-up data information;The tune-up data is obtained from the logical layer
The tune-up data Information encapsulation in the packet and is sent the data packet by information;
4th receiving module, the data packet sent for receiving second client;
Second forwarding module, for the data packet to be transmitted to first client, so that first client
View layer carries out the update that the page is shown according to the tune-up data information.
15. a kind of remote debugging system of small routine, which is characterized in that the system includes at least the first client, transfer takes
Business device and the second client, wherein dispose view layer in first client, dispose logic in second client
Layer;
First client, for generating debugging instruction message, being carried in the debugging instruction message in response to trigger event
Data information to be debugged;The debugging instruction message is sent to transfer server;The transfer server is received and parsed through to turn
The data packet of hair obtains the tune-up data information;The tune-up data information is transferred to the view layer, so that described
View layer carries out the update that the page is shown according to the tune-up data information;
The transfer server, the debugging instruction message sent for receiving first client;The debugging instruction is disappeared
Breath is transmitted to second client;Receive the data packet that second client is sent;The data packet is transmitted to described
First client;
Second client, for receiving the debugging instruction message of the transfer server forwarding;By the data to be debugged
Information is transferred to the logical layer, so that the logical layer is debugged according to the data information to be debugged, is debugged
Data information;The tune-up data information is obtained from the logical layer, and in the packet by the tune-up data Information encapsulation;
The data packet is sent to transfer server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810642255.6A CN109117361B (en) | 2018-06-21 | 2018-06-21 | Remote debugging method, related equipment and system for small program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810642255.6A CN109117361B (en) | 2018-06-21 | 2018-06-21 | Remote debugging method, related equipment and system for small program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109117361A true CN109117361A (en) | 2019-01-01 |
CN109117361B CN109117361B (en) | 2020-12-15 |
Family
ID=64822470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810642255.6A Active CN109117361B (en) | 2018-06-21 | 2018-06-21 | Remote debugging method, related equipment and system for small program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109117361B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800101A (en) * | 2019-02-01 | 2019-05-24 | 北京字节跳动网络技术有限公司 | Report method, device, terminal device and the storage medium of small routine abnormal conditions |
CN110032512A (en) * | 2019-03-28 | 2019-07-19 | 腾讯科技(深圳)有限公司 | A kind of adjustment method of small routine, relevant device and terminal |
CN110083466A (en) * | 2019-04-28 | 2019-08-02 | 百度在线网络技术(北京)有限公司 | A kind of data transmission method and device of small routine |
CN110138833A (en) * | 2019-04-12 | 2019-08-16 | 中国平安人寿保险股份有限公司 | Method for rapidly debugging, device, medium and the equipment of React Native module in APP |
CN110290055A (en) * | 2019-06-25 | 2019-09-27 | 携程计算机技术(上海)有限公司 | The communication means and system of wechat small routine WebView and primary component |
CN110837473A (en) * | 2019-11-07 | 2020-02-25 | 腾讯科技(深圳)有限公司 | Application program debugging method, device, terminal and storage medium |
CN110908904A (en) * | 2019-11-15 | 2020-03-24 | 北京小米移动软件有限公司 | Method and device for debugging fast application and electronic equipment |
CN111078554A (en) * | 2019-12-16 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Applet debugging method, device, equipment and storage medium |
CN111078530A (en) * | 2019-11-22 | 2020-04-28 | 北京奇艺世纪科技有限公司 | Application program debugging method and system, electronic equipment and computer readable storage medium |
CN111258887A (en) * | 2020-01-09 | 2020-06-09 | 支付宝(杭州)信息技术有限公司 | Debugging method and device for scripting language application and terminal |
CN111866083A (en) * | 2020-06-23 | 2020-10-30 | 北京三快在线科技有限公司 | Equipment debugging system and method, equipment to be debugged, remote debugging equipment and transfer server |
CN111970364A (en) * | 2020-08-17 | 2020-11-20 | 创新奇智(重庆)科技有限公司 | Hardware debugging execution method and device, electronic equipment and storage medium |
CN112187869A (en) * | 2020-09-03 | 2021-01-05 | 京东数字科技控股股份有限公司 | Remote debugging system and method of IOT device, electronic device and storage medium |
CN113608997A (en) * | 2021-06-30 | 2021-11-05 | 北京新氧科技有限公司 | Remote debugging method and device for embedded webpage of application program and electronic equipment |
CN113760762A (en) * | 2021-09-08 | 2021-12-07 | 北京房江湖科技有限公司 | Method for simulating operating environment of applet, electronic device and storage medium |
CN113971124A (en) * | 2020-07-24 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Debugging method and device of sub-application, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902618A (en) * | 2011-07-28 | 2013-01-30 | 华为技术有限公司 | Method and device for developing and debugging application programs of mobile equipment |
CN103268288A (en) * | 2013-06-18 | 2013-08-28 | 北京云测信息技术有限公司 | Remote real machine debugging method and system of mobile terminal application software |
CN103902358A (en) * | 2014-03-18 | 2014-07-02 | 北京领通科技有限公司 | Mobile terminal remote debugging method and system and mobile terminal |
CN104991857A (en) * | 2015-06-08 | 2015-10-21 | 小米科技有限责任公司 | Method and apparatus for trace debugging |
CN107728999A (en) * | 2017-11-14 | 2018-02-23 | 苏州奇松软件有限公司 | A kind of App, the method and system of small routine interface simulation |
-
2018
- 2018-06-21 CN CN201810642255.6A patent/CN109117361B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902618A (en) * | 2011-07-28 | 2013-01-30 | 华为技术有限公司 | Method and device for developing and debugging application programs of mobile equipment |
CN103268288A (en) * | 2013-06-18 | 2013-08-28 | 北京云测信息技术有限公司 | Remote real machine debugging method and system of mobile terminal application software |
CN103902358A (en) * | 2014-03-18 | 2014-07-02 | 北京领通科技有限公司 | Mobile terminal remote debugging method and system and mobile terminal |
CN104991857A (en) * | 2015-06-08 | 2015-10-21 | 小米科技有限责任公司 | Method and apparatus for trace debugging |
CN107728999A (en) * | 2017-11-14 | 2018-02-23 | 苏州奇松软件有限公司 | A kind of App, the method and system of small routine interface simulation |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800101A (en) * | 2019-02-01 | 2019-05-24 | 北京字节跳动网络技术有限公司 | Report method, device, terminal device and the storage medium of small routine abnormal conditions |
CN110032512A (en) * | 2019-03-28 | 2019-07-19 | 腾讯科技(深圳)有限公司 | A kind of adjustment method of small routine, relevant device and terminal |
CN110138833A (en) * | 2019-04-12 | 2019-08-16 | 中国平安人寿保险股份有限公司 | Method for rapidly debugging, device, medium and the equipment of React Native module in APP |
CN110138833B (en) * | 2019-04-12 | 2023-05-30 | 中国平安人寿保险股份有限公司 | Rapid adjustment method, device, medium and equipment for real Native module in APP |
CN110083466B (en) * | 2019-04-28 | 2021-07-06 | 百度在线网络技术(北京)有限公司 | Data transmission method and device for small program |
CN110083466A (en) * | 2019-04-28 | 2019-08-02 | 百度在线网络技术(北京)有限公司 | A kind of data transmission method and device of small routine |
CN110290055A (en) * | 2019-06-25 | 2019-09-27 | 携程计算机技术(上海)有限公司 | The communication means and system of wechat small routine WebView and primary component |
CN110290055B (en) * | 2019-06-25 | 2021-09-10 | 携程计算机技术(上海)有限公司 | Method and system for communication between WeChat applet WebView and native component |
CN110837473A (en) * | 2019-11-07 | 2020-02-25 | 腾讯科技(深圳)有限公司 | Application program debugging method, device, terminal and storage medium |
CN110837473B (en) * | 2019-11-07 | 2023-08-22 | 腾讯科技(深圳)有限公司 | Application program debugging method, device, terminal and storage medium |
CN110908904A (en) * | 2019-11-15 | 2020-03-24 | 北京小米移动软件有限公司 | Method and device for debugging fast application and electronic equipment |
CN111078530A (en) * | 2019-11-22 | 2020-04-28 | 北京奇艺世纪科技有限公司 | Application program debugging method and system, electronic equipment and computer readable storage medium |
CN111078554B (en) * | 2019-12-16 | 2022-05-27 | 腾讯科技(深圳)有限公司 | Applet debugging method, device, equipment and storage medium |
CN111078554A (en) * | 2019-12-16 | 2020-04-28 | 腾讯科技(深圳)有限公司 | Applet debugging method, device, equipment and storage medium |
CN111258887A (en) * | 2020-01-09 | 2020-06-09 | 支付宝(杭州)信息技术有限公司 | Debugging method and device for scripting language application and terminal |
CN111866083A (en) * | 2020-06-23 | 2020-10-30 | 北京三快在线科技有限公司 | Equipment debugging system and method, equipment to be debugged, remote debugging equipment and transfer server |
CN113971124A (en) * | 2020-07-24 | 2022-01-25 | 腾讯科技(深圳)有限公司 | Debugging method and device of sub-application, computer equipment and storage medium |
CN113971124B (en) * | 2020-07-24 | 2024-06-25 | 腾讯科技(深圳)有限公司 | Sub-application debugging method and device, computer equipment and storage medium |
CN111970364A (en) * | 2020-08-17 | 2020-11-20 | 创新奇智(重庆)科技有限公司 | Hardware debugging execution method and device, electronic equipment and storage medium |
CN112187869A (en) * | 2020-09-03 | 2021-01-05 | 京东数字科技控股股份有限公司 | Remote debugging system and method of IOT device, electronic device and storage medium |
CN113608997A (en) * | 2021-06-30 | 2021-11-05 | 北京新氧科技有限公司 | Remote debugging method and device for embedded webpage of application program and electronic equipment |
CN113608997B (en) * | 2021-06-30 | 2024-04-19 | 北京新氧科技有限公司 | Remote debugging method and device for embedded webpage of application program and electronic equipment |
CN113760762A (en) * | 2021-09-08 | 2021-12-07 | 北京房江湖科技有限公司 | Method for simulating operating environment of applet, electronic device and storage medium |
CN113760762B (en) * | 2021-09-08 | 2024-03-08 | 贝壳找房(北京)科技有限公司 | Method for simulating operating environment of applet, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109117361B (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109117361A (en) | A kind of remote debugging method of small routine, relevant device and system | |
CN105320598B (en) | Method for testing software and device | |
CN104978176B (en) | Application programming interfaces call method, device and computer readable storage medium | |
CN104093123B (en) | The information-pushing method of application program, device and system, mobile terminal | |
CN110032512A (en) | A kind of adjustment method of small routine, relevant device and terminal | |
CN104036536B (en) | The generation method and device of a kind of stop-motion animation | |
CN105389259B (en) | A kind of method, apparatus and system for carrying out Application testing | |
CN104572046B (en) | A kind of storehouse restoring method and computer system | |
CN105847325B (en) | The adjustment method and device of applications client | |
CN112148579B (en) | User interface testing method and device | |
CN107977272A (en) | The method and device of application operation | |
CN104239332A (en) | Webpage content processing method, webpage content processing device and browser client side | |
CN110058850A (en) | A kind of development approach of application, device and storage medium | |
CN109656827A (en) | A kind of control tree generation method and terminal device | |
CN107566255A (en) | Unread message abstraction generating method and device | |
CN106294108A (en) | Applied program testing method and device | |
CN104423822A (en) | Automated test script recording method and device | |
CN106775194A (en) | A kind of application interface changing method and device | |
CN109088844A (en) | Information intercepting method, terminal, server and system | |
CN105635553A (en) | Image shooting method and device | |
CN108874554A (en) | Information communicating method and device | |
CN109688611A (en) | A kind of configuration method, device, terminal and the storage medium of frequency range parameter | |
CN103729283B (en) | System log output method and device and terminal device | |
CN110300047A (en) | A kind of animation playing method, device and storage medium | |
CN105703808A (en) | Method and device for transmitting data |
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 |