CN108345533A - A kind of application program adjustment method, equipment and server - Google Patents
A kind of application program adjustment method, equipment and server Download PDFInfo
- Publication number
- CN108345533A CN108345533A CN201710059904.5A CN201710059904A CN108345533A CN 108345533 A CN108345533 A CN 108345533A CN 201710059904 A CN201710059904 A CN 201710059904A CN 108345533 A CN108345533 A CN 108345533A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- application program
- debugging
- debugged
- telecommunication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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
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 present invention discloses a kind of application program adjustment method, equipment and server, the method includes:Obtain the end message that operation needs the mobile terminal of debugging utility, after foundation is connect with the telecommunication of background server, the end message is reported into the background server, the tune-up data so as to background server according to end message determination for debugging the application program to be debugged.It is connected based on the telecommunication, establishes the debugging channel with background server, the debugging channel has correspondence with the mobile terminal.After by the debugging channel reception to the tune-up data, the application program to be debugged run on the mobile terminal is debugged according to the tune-up data.The present invention can establish telecommunication with the background server for debugging and connect, and on the basis of telecommunication connects, developer can carry out mobile terminal remote control, while can carry out remote debugging to the application program run on mobile terminal.
Description
Technical field
The present invention relates to data processing fields, and in particular to a kind of application program adjustment method, equipment and server.
Background technology
Currently, in the method that application APP developer debugs the APP run on the mobile terminal in strange land, it is first
First be equipped with the local mobile terminal of the APP to the APP that is run on the mobile terminal in strange land scene when something goes wrong into
Then row reproduction utilizes USB interface to establish the local mobile terminal and APP developer for the computer of debugging and connects, this
Sample APP developer can be by debugging the APP run on the local mobile terminal, to find out on the mobile terminal in strange land
The reason of APP of operation goes wrong.
But since the operation in strange land has the mobile terminal of the APP to be likely to be in various scenes, such as comprising
There is the scene of the power of wifi signals, the power of movable signal, temperature height etc. influence factor, and what the APP went wrong
Reason is likely to related with the various influence factors of these scenes, for example, application program occurs for the APP without response (English:
Application Not Responding, abbreviation:Anr) or application program operation error the problems such as exiting crash, may be with
Temperature height is related.But APP developer be difficult by various scenes all successfully in local reproduction, so, for not
The APP problems are tracked debugging in being difficult to the scene in the scene locally reappeared, APP developer, it is also difficult to solve
These problems certainly occurred during the use of the user feedback APP, to reduce usage experience of the user to the APP, most
The user volume of the APP is caused to reduce eventually.
Invention content
The present invention provides a kind of application program adjustment methods, can be established with the background server for debugging long-range logical
News connection, on the basis of telecommunication connects, APP developer can carry out remote control to mobile terminal, while can be right
The application program run on mobile terminal carries out remote debugging.
The present invention provides a kind of application program adjustment method, the method includes:
Obtain the end message that operation needs the mobile terminal of debugging utility;
After foundation is connect with the telecommunication of background server, the end message is reported into the background service
Device, the debugging number so as to the background server according to end message determination for debugging the application program to be debugged
According to;
It is connected based on the telecommunication, establishes the debugging channel with the background server, wherein the debugging channel
There is correspondence with the mobile terminal;
After by the debugging channel reception to the tune-up data, according to the tune-up data to the mobile terminal
The application program to be debugged of upper operation is debugged.
Preferably, the method further includes:
It is connected based on the telecommunication, the screen shot on the interface of the mobile terminal, which is transmitted to the backstage, to be taken
Business device;
The control instruction from the background server is received, and is controlled on the mobile terminal according to the control instruction
The operating status of the application program to be debugged of operation, the control instruction is the picture on the interface according to the mobile terminal
Face sectional drawing is triggered.
Preferably, the screen shot on the interface of the mobile terminal, it is to be debugged to run on the mobile terminal
What the operation picture of application program was intercepted when changing.
Preferably, the method further includes:
It is connected based on the telecommunication, heartbeat signal is sent to the background server, to maintain the telecommunication
Connection.
Preferably, before the end message for obtaining the mobile terminal that operation needs debugging utility, further include:
Detection currently needs the mobile terminal of debugging utility with the presence or absence of operation;
When detecting the mobile terminal, the end for obtaining operation and needing the mobile terminal of debugging utility is executed
The step of client information.
The present invention also provides a kind of application program adjustment method, the method includes:
Based on the telecommunication connection pre-established, the terminal letter that operation needs the mobile terminal of debugging utility is received
Breath;
According to the end message, the tune-up data for debugging the application program to be debugged is determined;
Pass through the debugging channel with the mobile terminal with correspondence established based on telecommunication connection, hair
The tune-up data is sent, so that opposite end is described to be debugged using journey to what is run on the mobile terminal according to the tune-up data
Sequence is debugged.
Preferably, the method further includes:
It is connected based on the telecommunication, receives the screen shot on the interface of the mobile terminal;
According to the screen shot on the interface of the mobile terminal, send for controlling the institute run on the mobile terminal
State the control instruction of the operating status of application program to be debugged.
Preferably, the method further includes:
It is connected, the heartbeat signal is replied after receiving heartbeat signal, described in maintenance based on the telecommunication
Telecommunication connects.
The present invention provides a kind of application program commissioning device, the equipment includes;
Acquisition module, the end message for needing the mobile terminal of debugging utility for obtaining operation;
Reporting module, for after foundation is connect with the telecommunication of background server, the end message to be reported to
The background server, so that the background server is described to be debugged using journey for debugging according to end message determination
The tune-up data of sequence;
Module is established, for being connected based on the telecommunication, the debugging channel of foundation and the background server,
In, the debugging channel has correspondence with the mobile terminal;
Debugging module is used for after by the debugging channel reception to the tune-up data, according to the tune-up data
The application program to be debugged run on the mobile terminal is debugged.
Preferably, the equipment further includes:
Transmission module is passed the screen shot on the interface of the mobile terminal for being connected based on the telecommunication
Transport to the background server;
Control module is controlled for receiving the control instruction from the background server, and according to the control instruction
The operating status of the application program to be debugged run on the mobile terminal, the control instruction are according to described mobile whole
What the screen shot on the interface at end was triggered.
Preferably, the screen shot on the interface of the mobile terminal, it is to be debugged to run on the mobile terminal
What the operation picture of application program was intercepted when changing.
Preferably, the equipment further includes:
Sending module sends heartbeat signal for being connected based on the telecommunication to the background server, to maintain
The telecommunication connection.
Preferably, the equipment further includes:
Detection module, for detecting the current mobile terminal for needing debugging utility with the presence or absence of operation;
Trigger module, for, when detecting the mobile terminal, triggering the acquisition module in the detection module.
The present invention also provides a kind of application program debugging server, the server includes:
First receiving unit, for based on the telecommunication connection pre-established, receiving operation and needing debugging utility
Mobile terminal end message;
Determination unit, for according to the end message, determining the debugging number for debugging the application program to be debugged
According to;
First transmission unit, for by being established based on telecommunication connection with the mobile terminal with corresponding
The debugging channel of relationship, sends the tune-up data, so as to opposite end according to the tune-up data to being run on the mobile terminal
The application program to be debugged debugged.
Preferably, the server further includes:
Second receiving unit receives the picture on the interface of the mobile terminal for being connected based on the telecommunication
Sectional drawing;
Second transmission unit, it is described for controlling for according to the screen shot on the interface of the mobile terminal, sending
The control instruction of the operating status of the application program to be debugged run on mobile terminal.
Preferably, the server further includes:
Third receiving unit, for based on the telecommunication connect, receive heartbeat signal after to the heartbeat signal into
Row is replied, to maintain the telecommunication to connect.
In application program adjustment method provided by the invention, the mobile terminal that operation needs debugging utility is obtained first
End message.And after foundation is connect with the telecommunication of background server, the end message is reported into the backstage
Server, the debugging so as to the background server according to end message determination for debugging the application program to be debugged
Data.Secondly, it is connected based on the telecommunication, establishes the debugging channel with the background server, wherein the debugging is logical
Road has correspondence with the mobile terminal.After by the debugging channel reception to the tune-up data, according to described
Tune-up data debugs the application program to be debugged run on the mobile terminal.The present invention can with for debugging
Background server establish telecommunication connection, on the basis of telecommunication connects, developer can carry out mobile terminal
Remote control, while remote debugging can be carried out to the application program run on mobile terminal.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of system architecture diagram of application program debugging provided in an embodiment of the present invention;
Fig. 2 is a kind of application program adjustment method flow chart provided in an embodiment of the present invention;
Fig. 3 is another application program adjustment method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of signaling interaction diagram of application program adjustment method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of application program commissioning device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of application program debugging server provided in an embodiment of the present invention;
Fig. 7 is a kind of part-structure schematic diagram of computer provided in an embodiment of the present invention.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
With reference to figure 1, it is a kind of system architecture diagram of application program debugging provided in an embodiment of the present invention, includes mainly client
End and background server both ends, connect specifically, the client establishes telecommunication with the background server.Based on described
Telecommunication connect, APP developer treated by the operation of web front-end run on debugging mobile terminal (such as mobile phone) it is to be debugged
Application program carries out remote debugging, wherein the mobile terminal to be debugged is pre-established with the client to be connect, as USB connects
It connects.
Application program adjustment method provided in an embodiment of the present invention does not need APP developer and is carried out locally again to application scenarios
It is existing, it can also realize the debugging of the program to be debugged to being run on the mobile terminal of strange land.
It is a kind of application program adjustment method flow chart provided in an embodiment of the present invention with reference to figure 2, the embodiment of the present invention is answered
For client, wherein the method can specifically include:
S201:Obtain the end message that operation needs the mobile terminal of debugging utility.
In the embodiment of the present invention, after determining that operation needs the mobile terminal of debugging utility, the shifting is obtained first
The end message of dynamic terminal, the end message may include brand, manufacturer, model, electronics string number of the mobile terminal etc.
Information for describing the mobile terminal.
S202:After foundation is connect with the telecommunication of background server, the end message is reported into the backstage
Server, the debugging so as to the background server according to end message determination for debugging the application program to be debugged
Data.
In order to realize remote debugging of the developer to the application program to be debugged, the embodiment of the present invention is established to be taken with backstage
The telecommunication connection of business device.It is connected based on the telecommunication, the end message of acquisition, which is uploaded to the backstage, to be taken
Business device.The background server is determined according to the end message for debugging the shifting after receiving the end message
The tune-up data of the application program to be debugged run in dynamic terminal.
Specifically, client can start a TCP connection described in behind the address for getting the background server
Background server, and using a java Open Framework being provided by JBOSS, i.e. netty frames and the background server into
Row communication.
In practical application, the corresponding tune-up data of each end message can be pre-established in platform server in the rear.
After platform server receives the end message reported in the rear, the corresponding tune-up data of the end message is determined.
In a kind of realization method, mobile terminal user is having found that the application program being currently running goes wrong, such as crash
Problem can then first pass through and get through the modes such as service calls and report the end message of used mobile terminal and described problem in advance
To background server.It is connect when the mobile terminal is established telecommunication by user with background server, and background server connects
After receiving the end message that client reports, searches problem corresponding to the end message and determine corresponding tune-up data.
S203:It is connected based on the telecommunication, establishes the debugging channel with the background server, wherein the tune
Ping has correspondence with the mobile terminal.
In the embodiment of the present invention, after establishing the telecommunication connection, linked based on the telecommunication, foundation is used for
Treat the debugging channel that debugging utility is debugged.In practical operation, developer can pass through the debugging channel pair of foundation
Application program to be debugged carries out remote debugging.
It is worth noting that, the debugging channel in the embodiment of the present invention and there is one-to-one close between mobile terminal
System, that is to say, that can only be to be debugged using journey on the corresponding mobile terminal in the debugging channel by a debugging channel
Sequence is debugged.It is understood that if client is linked with more mobile terminals, need to build respectively for each mobile terminal
Vertical telecommunication connection, and it is based respectively on the debugging channel of each telecommunication connection.
In a kind of realization method, if mobile terminal installation is Android system, the client in the embodiment of the present invention
End is equipped with adb tools, i.e. Android Debug Bridge, is a general command-line tool.Needle of the embodiment of the present invention
Improvement to existing adb tools is so that the adb tools of client installation have with background server foundation remotely
Debug the ability in channel.During specific implementation, the client carries out relevant configuration configuration to boot sequence etc. in advance, mainly
Including store path and other the relevant snoop logics etc. for specifying adb tools.
S204:After by the debugging channel reception to the tune-up data, according to the tune-up data to the shifting
The application program to be debugged run in dynamic terminal is debugged.
In the embodiment of the present invention, by the debugging channel, the client receives the tune from the background server
Try data.Since the tune-up data from the debugging channel is only intended to debug on the corresponding mobile terminal in the debugging channel
The application program to be debugged of operation, so, the client is using the tune-up data to the corresponding movement in the debugging channel
The application program to be debugged run in terminal is debugged.
In order to which developer can know the operating status for the application program to be debugged being currently running, and long-range adjust is understood in time
The effect of examination, the embodiment of the present invention are connected based on the telecommunication, and the screen shot on the interface of the mobile terminal is passed
Transport to the background server.Wherein, the mobile terminal is cut when the operation picture of the application program to be debugged changes
Current screen shot is taken, and the screen shot is sent to client, and is passed the screen shot by the client
Transport to background server.
After the client receives the control instruction from the background server, controlled according to the control instruction
The operating status of the application program to be debugged run on the mobile terminal.Specifically, the control command can be pair
The operation of the application program to be debugged, some function of application program to be debugged as described in opening, or to be debugged answered to described
With the clicking operation of some button etc. of program.In addition, the movement that developer can receive according to background server
Screen shot on the interface of terminal is determining and triggers corresponding control command, and transmits it to institute by the background server
State client.
In a kind of preferred embodiment, in order to keep the connection relation between client and background server, the present invention
It in embodiment, is connected based on the telecommunication, the client sends heartbeat signal to the background server, to maintain
State telecommunication connection.
In addition, the client in the embodiment of the present invention can be the ends PC, or mobile terminal, such as mobile phone are put down
Plate computer etc..
In a kind of application scenarios, if the client for executing application program adjustment method provided in an embodiment of the present invention
For mobile terminal, then the mobile terminal can be the mobile terminal that operation needs debugging utility.It is described in practical application
Mobile terminal reports to background server after can obtaining the end message of itself.
In another application scenarios, if the client for executing application program adjustment method provided in an embodiment of the present invention
End is the ends PC, then user needs the mobile terminal that operation is needed to debugging utility to be attached with the ends PC, such as logical
USB interface is crossed to be connected to the mobile terminal and the ends PC.When the ends PC detect the presence of movement connected to it eventually
Behind end, the end message of the mobile terminal is obtained, and reports to background server.
It is worth noting that, there may be exist simultaneously more mobile terminals to be attached with the ends PC in practical application
Scene, in this case, the ends PC can obtain the end message of each mobile terminal respectively according to connection relation, and point
Background server is not reported to.
In application program adjustment method provided in an embodiment of the present invention, the shifting that operation needs debugging utility is obtained first
The end message of dynamic terminal.And after foundation is connect with the telecommunication of background server, the end message is reported into institute
Background server is stated, so that the background server is determined according to the end message for debugging the application program to be debugged
Tune-up data.Secondly, it is connected based on the telecommunication, establishes the debugging channel with the background server, wherein described
Debugging channel and the mobile terminal has correspondence.After by the debugging channel reception to the tune-up data, root
The application program to be debugged run on the mobile terminal is debugged according to the tune-up data.Energy of the embodiment of the present invention
Enough background servers with for debugging are established telecommunication and are connect, and on the basis of telecommunication connects, developer can be right
Mobile terminal carries out remote control, while can carry out remote debugging to the application program run on mobile terminal.
The embodiment of the present invention additionally provides a kind of application program adjustment method, is provided in an embodiment of the present invention with reference to figure 3
Another application program adjustment method flow chart, the method is applied to background server, specifically, the method can wrap
It includes:
S301:Based on the telecommunication connection pre-established, receives and run the mobile terminal for needing debugging utility
End message.
S302:According to the end message, the tune-up data for debugging the application program to be debugged is determined.
S303:Have the debugging of correspondence logical with the mobile terminal by being established based on telecommunication connection
Road sends the tune-up data, so that opposite end is described to be debugged to what is run on the mobile terminal according to the tune-up data
Application program is debugged.
In practical application, the background server is received based on the telecommunication connection pre-established from client
Screen shot, and according to the screen shot on the interface of the mobile terminal, transmission is run for controlling on the mobile terminal
The application program to be debugged operating status control instruction.
In addition, the background server keeps connecting using heartbeat with the client, specifically, based on described long-range logical
News connection, replys the heartbeat signal after receiving heartbeat signal, to maintain the telecommunication to connect.
In the embodiment of the present invention, background server sends tune-up data by the debugging channel pre-established to client,
It can realize the remote debugging to the application program to be debugged run on mobile terminal.
In a kind of application scenarios, each end message that background server receive can be carried out using third-party platform
It has been shown that, developer select mobile terminal according to each end message, and the mobile terminal of selection is used for applying journey
The long-range exploitation and debugging of sequence.
It is a kind of signaling interaction diagram of application program adjustment method provided in an embodiment of the present invention, with client with reference to figure 4
For the ends PC, operation needs the mobile terminal of debugging utility as mobile phone, the method specifically includes:
S401:After mobile phone is connected to the ends PC by USB interface, the ends PC obtain the end message of the mobile phone.
S402:The ends PC are established telecommunication with the background server and are connect according to the address of background server.
It is worth noting that, the embodiment of the present invention not to the execution of each step sequence be defined, such as S401 and
The execution sequence of S402 can also exchange, and can also execute parallel.
S403:It is connected based on the telecommunication, the end message is reported to the background server by the ends PC.
S404:The debugging channel with the background server is established at the ends PC, for the background server to the mobile phone
On application program to be debugged carry out remote debugging.
It is worth noting that, the debugging channel has correspondence with the mobile phone, i.e., sent out by the debugging channel
The tune-up data sent is only used for debugging the application program to be debugged run on the mobile phone.
S405:By having the debugging channel of correspondence, the background server to pass through developer with the mobile phone
The tune-up data that web front-end determines is sent to the ends PC, for being debugged to the application program to be debugged.
S406:The application program to be debugged on the mobile phone is debugged according to the tune-up data at the ends PC.
S407:The mobile phone is sent to the ends PC to the screen shot on interface, and by screen shot, to be uploaded to
The background server.
S408:The ends PC upload the screen shot.
Mobile phone can be in real time or when application program to be tested operation picture changes to screen shot, and passes through institute
It states the ends PC and is uploaded to background server.Developer checks screen shot by the web front-end being connect with the background server, with
Just know the debugging effect to application program.
S419:Developer is passed through described by checking that screen shot, triggering treat the control instruction of debugging utility
Background server sends the control instruction.
S410:After the PC terminations receive the control instruction, according to the control instruction to described to be debugged using journey
The operating status of sequence is controlled.
Wherein, the control instruction may include any operation to the application program to be debugged.Developer is before web
It is identical that end carries out remote-operated effect with the effect directly operated on it to the application program run on the mobile phone
's.
S411:During carrying out remote debugging to the application program to be debugged, the ends PC take to the backstage
Business device sends heartbeat signal, to maintain the telecommunication pre-established to connect.
An embodiment of the present invention provides a kind of application program commissioning devices, and with reference to figure 5, Fig. 5 provides for the embodiment of the present invention
A kind of application program commissioning device structural schematic diagram, specifically, the equipment includes;
Acquisition module 501, the end message for needing the mobile terminal of debugging utility for obtaining operation;
Reporting module 502, for after foundation is connect with the telecommunication of background server, the end message to be reported
To the background server, so that the background server is determined according to the end message for debugging the application to be debugged
The tune-up data of program;
Module 503 is established, for being connected based on the telecommunication, the debugging channel of foundation and the background server,
Wherein, the debugging channel has correspondence with the mobile terminal;
Debugging module 504 is used for after by the debugging channel reception to the tune-up data, according to the debugging number
It is debugged according to the application program to be debugged run on the mobile terminal.
In addition, in order to which developer can know the operating status for the application program to be debugged being currently running, and understand in time
The effect of remote debugging, the equipment further include:
Transmission module is passed the screen shot on the interface of the mobile terminal for being connected based on the telecommunication
Transport to the background server;
Control module is controlled for receiving the control instruction from the background server, and according to the control instruction
The operating status of the application program to be debugged run on the mobile terminal, the control instruction are according to described mobile whole
What the screen shot on the interface at end was triggered.
Specifically, the screen shot on the interface of the mobile terminal, to be debugged to run on the mobile terminal
What the operation picture of application program was intercepted when changing.
In order to keep the connection relation between client and background server, the equipment to further include:
Sending module sends heartbeat signal for being connected based on the telecommunication to the background server, to maintain
The telecommunication connection.
In practical application, the equipment further includes:
Detection module, for detecting the current mobile terminal for needing debugging utility with the presence or absence of operation;
Trigger module, for, when detecting the mobile terminal, triggering the acquisition module in the detection module.
In application program commissioning device provided in an embodiment of the present invention, the shifting that operation needs debugging utility is obtained first
The end message of dynamic terminal.And after foundation is connect with the telecommunication of background server, the end message is reported into institute
Background server is stated, so that the background server is determined according to the end message for debugging the application program to be debugged
Tune-up data.Secondly, it is connected based on the telecommunication, establishes the debugging channel with the background server, wherein described
Debugging channel and the mobile terminal has correspondence.After by the debugging channel reception to the tune-up data, root
The application program to be debugged run on the mobile terminal is debugged according to the tune-up data.Energy of the embodiment of the present invention
Enough background servers with for debugging are established telecommunication and are connect, and on the basis of telecommunication connects, developer can be right
Mobile terminal carries out remote control, while can carry out remote debugging to the application program run on mobile terminal.
The embodiment of the present invention additionally provides a kind of application program debugging server and is provided for the embodiment of the present invention with reference to figure 6
A kind of application program debugging server structural schematic diagram, specifically, the server includes:
First receiving unit 601, for based on the telecommunication connection pre-established, reception operation to have to be debugged using journey
The end message of the mobile terminal of sequence;
Determination unit 602, for according to the end message, determining the debugging for debugging the application program to be debugged
Data;
First transmission unit 603, for having with the mobile terminal by what is established based on telecommunication connection
The debugging channel of correspondence, sends the tune-up data, so as to opposite end according to the tune-up data on the mobile terminal
The application program to be debugged of operation is debugged.
In practical application, the server further includes:
Second receiving unit receives the picture on the interface of the mobile terminal for being connected based on the telecommunication
Sectional drawing;
Second transmission unit, it is described for controlling for according to the screen shot on the interface of the mobile terminal, sending
The control instruction of the operating status of the application program to be debugged run on mobile terminal.
In order to keep the communication between the equipment and the server to connect, the server further includes:
Third receiving unit, for based on the telecommunication connect, receive heartbeat signal after to the heartbeat signal into
Row is replied, to maintain the telecommunication to connect.
Application program debugging server provided in an embodiment of the present invention is sent out by the debugging channel pre-established to client
Tune-up data is sent, can realize the remote debugging to the application program to be debugged run on mobile terminal.
Correspondingly, the embodiment of the present invention also provides a kind of computer, it is shown in Figure 7, may include:
Processor 701, memory 702, input unit 703 and output device 704.Processor in browser server
701 quantity can be one or more, in Fig. 7 by taking a processor as an example.In some embodiments of the invention, processor
701, memory 702, input unit 703 and output device 704 can be connected by bus or other means, wherein with logical in Fig. 7
It crosses for bus connection.
Memory 702 can be used for storing software program and module, and processor 701 is stored in memory 702 by operation
Software program and module.Memory 702 can include mainly storing program area and storage data field, wherein storing program area
It can storage program area, the application program etc. needed at least one function.It is deposited at random in addition, memory 702 may include high speed
Access to memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other easily
The property lost solid-state memory.Input unit 703 can be used for receiving the number or character information of input, and generates and taken with browser
The user setting of device of being engaged in and the related key signals of function control input.
Specifically in the present embodiment, processor 701 can be according to following instruction, by one or more application program
The corresponding executable file of process be loaded into memory 702, and be stored in memory 702 by processor 701 to run
Application program, to realize various functions:
Obtain the end message that operation needs the mobile terminal of debugging utility;
After foundation is connect with the telecommunication of background server, the end message is reported into the background service
Device, the debugging number so as to the background server according to end message determination for debugging the application program to be debugged
According to;
It is connected based on the telecommunication, establishes the debugging channel with the background server, wherein the debugging channel
There is correspondence with the mobile terminal;
After by the debugging channel reception to the tune-up data, according to the tune-up data to the mobile terminal
The application program to be debugged of upper operation is debugged.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not
In the case of making the creative labor, you can to understand and implement.
It should be noted that herein, 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 the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
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 equipment including the element.
A kind of application program adjustment method, equipment and server is provided for the embodiments of the invention above to have carried out in detail
It introduces, principle and implementation of the present invention are described for specific case used herein, the explanation of above example
It is merely used to help understand the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to this
The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered
It is interpreted as limitation of the present invention.
Claims (16)
1. a kind of application program adjustment method, which is characterized in that the method includes;
Obtain the end message that operation needs the mobile terminal of debugging utility;
After foundation is connect with the telecommunication of background server, the end message is reported into the background server, with
Toilet states tune-up data of the background server according to end message determination for debugging the application program to be debugged;
It is connected based on the telecommunication, establishes the debugging channel with the background server, wherein the debugging channel and institute
Stating mobile terminal has correspondence;
After by the debugging channel reception to the tune-up data, according to the tune-up data to being transported on the mobile terminal
The capable application program to be debugged is debugged.
2. application program adjustment method according to claim 1, which is characterized in that the method further includes:
It is connected based on the telecommunication, the screen shot on the interface of the mobile terminal is transmitted to the background service
Device;
The control instruction from the background server is received, and is controlled according to the control instruction and is run on the mobile terminal
The application program to be debugged operating status, the control instruction is that picture on the interface according to the mobile terminal is cut
What figure was triggered.
3. application program adjustment method according to claim 2, which is characterized in that the picture on the interface of the mobile terminal
What the operation picture of face sectional drawing, the application program to be debugged to run on the mobile terminal was intercepted when changing.
4. application program adjustment method according to claim 1, which is characterized in that the method further includes:
It is connected based on the telecommunication, heartbeat signal is sent to the background server, to maintain the telecommunication to connect.
5. application program adjustment method according to claim 1, which is characterized in that the acquisition operation has application to be debugged
Before the end message of the mobile terminal of program, further include:
Detection currently needs the mobile terminal of debugging utility with the presence or absence of operation;
When detecting the mobile terminal, the terminal letter for obtaining operation and needing the mobile terminal of debugging utility is executed
The step of breath.
6. a kind of application program adjustment method, which is characterized in that the method includes:
Based on the telecommunication connection pre-established, the end message that operation needs the mobile terminal of debugging utility is received;
According to the end message, the tune-up data for debugging the application program to be debugged is determined;
By the debugging channel with the mobile terminal with correspondence established based on telecommunication connection, institute is sent
State tune-up data, so as to opposite end according to the tune-up data to the application program to be debugged that is run on the mobile terminal into
Row debugging.
7. application program adjustment method according to claim 6, which is characterized in that the method further includes:
It is connected based on the telecommunication, receives the screen shot on the interface of the mobile terminal;
According to the screen shot on the interface of the mobile terminal, send for control run on the mobile terminal described in wait for
The control instruction of the operating status of debugging utility.
8. application program adjustment method according to claim 6, which is characterized in that the method further includes:
It is connected based on the telecommunication, the heartbeat signal is replied after receiving heartbeat signal, to remain described long-range
Communication connection.
9. a kind of application program commissioning device, which is characterized in that the equipment includes;
Acquisition module, the end message for needing the mobile terminal of debugging utility for obtaining operation;
Reporting module, for after foundation is connect with the telecommunication of background server, the end message being reported to described
Background server, so that the background server is determined according to the end message for debugging the application program to be debugged
Tune-up data;
Module is established, for being connected based on the telecommunication, establishes the debugging channel with the background server, wherein institute
Stating debugging channel and the mobile terminal has correspondence;
Debugging module is used for after by the debugging channel reception to the tune-up data, according to the tune-up data to institute
The application program to be debugged run on mobile terminal is stated to be debugged.
10. application program commissioning device according to claim 9, which is characterized in that the equipment further includes:
Screen shot on the interface of the mobile terminal is transmitted to by transmission module for being connected based on the telecommunication
The background server;
Control module, for receiving the control instruction from the background server, and according to described in control instruction control
The operating status of the application program to be debugged run on mobile terminal, the control instruction are according to the mobile terminal
What the screen shot on interface was triggered.
11. application program commissioning device according to claim 10, which is characterized in that on the interface of the mobile terminal
What the operation picture of screen shot, the application program to be debugged to run on the mobile terminal was intercepted when changing.
12. application program commissioning device according to claim 9, which is characterized in that the equipment further includes:
Sending module sends heartbeat signal, described in maintenance for being connected based on the telecommunication to the background server
Telecommunication connects.
13. application program commissioning device according to claim 9, which is characterized in that the equipment further includes:
Detection module, for detecting the current mobile terminal for needing debugging utility with the presence or absence of operation;
Trigger module, for, when detecting the mobile terminal, triggering the acquisition module in the detection module.
14. a kind of application program debugging server, which is characterized in that the server includes:
First receiving unit, for based on the telecommunication connection pre-established, receiving the shifting that operation needs debugging utility
The end message of dynamic terminal;
Determination unit, for according to the end message, determining the tune-up data for debugging the application program to be debugged;
First transmission unit, for there is correspondence with the mobile terminal by being established based on telecommunication connection
Debugging channel, send the tune-up data, so as to opposite end according to the tune-up data to the institute that is run on the mobile terminal
Application program to be debugged is stated to be debugged.
15. application program debugging server according to claim 14, which is characterized in that the server further includes:
Second receiving unit receives the screen shot on the interface of the mobile terminal for being connected based on the telecommunication;
Second transmission unit, for according to the screen shot on the interface of the mobile terminal, sending for controlling the movement
The control instruction of the operating status of the application program to be debugged run in terminal.
16. application program debugging server according to claim 14, which is characterized in that the server further includes:
Third receiving unit returns the heartbeat signal after receiving heartbeat signal for being connected based on the telecommunication
It is multiple, to maintain the telecommunication to connect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710059904.5A CN108345533A (en) | 2017-01-24 | 2017-01-24 | A kind of application program adjustment method, equipment and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710059904.5A CN108345533A (en) | 2017-01-24 | 2017-01-24 | A kind of application program adjustment method, equipment and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108345533A true CN108345533A (en) | 2018-07-31 |
Family
ID=62962873
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710059904.5A Pending CN108345533A (en) | 2017-01-24 | 2017-01-24 | A kind of application program adjustment method, equipment and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108345533A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569168A (en) * | 2019-08-26 | 2019-12-13 | 腾讯科技(深圳)有限公司 | data interaction method, related equipment and storage medium |
CN111782530A (en) * | 2020-06-30 | 2020-10-16 | 北京奇艺世纪科技有限公司 | Remote debugging method, device and system, electronic equipment and storage medium |
CN111949515A (en) * | 2020-07-23 | 2020-11-17 | 上海硬通网络科技有限公司 | Test scene reproduction method and device and electronic equipment |
CN112380140A (en) * | 2020-12-08 | 2021-02-19 | 安徽江淮汽车集团股份有限公司 | Intelligent cabin data testing method and system |
CN114114957A (en) * | 2021-11-15 | 2022-03-01 | 北京赋智工创科技有限公司 | Simulation method and system of webpage programmable controller |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150033205A1 (en) * | 2013-07-26 | 2015-01-29 | Sap Ag | Debugging remote software applications across wan connections |
CN104424098A (en) * | 2013-08-28 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Application test method and application testing device |
CN104516812A (en) * | 2013-09-27 | 2015-04-15 | 腾讯科技(深圳)有限公司 | Method and device for testing software |
CN105808399A (en) * | 2016-03-14 | 2016-07-27 | 百度在线网络技术(北京)有限公司 | Method and device for remote debugging |
-
2017
- 2017-01-24 CN CN201710059904.5A patent/CN108345533A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150033205A1 (en) * | 2013-07-26 | 2015-01-29 | Sap Ag | Debugging remote software applications across wan connections |
CN104424098A (en) * | 2013-08-28 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Application test method and application testing device |
CN104516812A (en) * | 2013-09-27 | 2015-04-15 | 腾讯科技(深圳)有限公司 | Method and device for testing software |
CN105808399A (en) * | 2016-03-14 | 2016-07-27 | 百度在线网络技术(北京)有限公司 | Method and device for remote debugging |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569168A (en) * | 2019-08-26 | 2019-12-13 | 腾讯科技(深圳)有限公司 | data interaction method, related equipment and storage medium |
CN111782530A (en) * | 2020-06-30 | 2020-10-16 | 北京奇艺世纪科技有限公司 | Remote debugging method, device and system, electronic equipment and storage medium |
CN111782530B (en) * | 2020-06-30 | 2023-10-10 | 北京奇艺世纪科技有限公司 | Remote debugging method, device, system, electronic equipment and storage medium |
CN111949515A (en) * | 2020-07-23 | 2020-11-17 | 上海硬通网络科技有限公司 | Test scene reproduction method and device and electronic equipment |
CN112380140A (en) * | 2020-12-08 | 2021-02-19 | 安徽江淮汽车集团股份有限公司 | Intelligent cabin data testing method and system |
CN112380140B (en) * | 2020-12-08 | 2022-02-01 | 安徽江淮汽车集团股份有限公司 | Intelligent cabin data testing method and system |
CN114114957A (en) * | 2021-11-15 | 2022-03-01 | 北京赋智工创科技有限公司 | Simulation method and system of webpage programmable controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108345533A (en) | A kind of application program adjustment method, equipment and server | |
CN105866575B (en) | Vehicle-mounted display comprehensive testing device and testing method | |
CN103812726A (en) | Automated testing method and device for data communication equipment | |
US11032126B2 (en) | Diagnostic traffic generation for automatic testing and troubleshooting | |
CN105263155B (en) | The method and system of remote real time monitoring intelligent mobile terminal baseband processor operating status | |
CN111181801A (en) | Node cluster testing method and device, electronic equipment and storage medium | |
CN109633351A (en) | Intelligent IT O&M Fault Locating Method, device, equipment and readable storage medium storing program for executing | |
CN109873728A (en) | A kind of terminal test method, device and storage medium | |
CN112333057A (en) | Intelligent household equipment distribution network testing method and device, execution machine and storage medium | |
CN109962827B (en) | Equipment link detection method, device, equipment and readable storage medium | |
CN111088998B (en) | Coal mine central station monitoring system testing method and device and substation simulation system | |
WO2017016386A1 (en) | Method and device for implementing radio remote unit fault analysis | |
CN112600703A (en) | Network equipment remote access fault positioning method and device | |
CN116166536A (en) | Test method, test device, electronic equipment and storage medium | |
CN109634856A (en) | IOS intelligent terminal remote real machine debugging system and method based on cloud service | |
CN114297062A (en) | Service testing method and device, electronic equipment and storage medium | |
CN114390574A (en) | Wireless network throughput testing method, device and computer readable storage medium | |
CN114048087A (en) | Method and device for testing data transfer performance of equipment | |
CN113507721A (en) | Network state monitoring method, device, system and storage medium | |
CN112433938A (en) | Method and device for testing application of mobile terminal | |
CN112199568A (en) | Mobile APP data capturing method, device and system | |
Díaz-Zayas et al. | Remote control and instrumentation of Android devices | |
CN112306845A (en) | Concurrent testing method, device, equipment and medium | |
CN108737220B (en) | Test system of routing equipment | |
CN111757091B (en) | Method and device for maintaining equipment through hardware interface |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180731 |