CN106126420B - Application program adjustment method and device - Google Patents
Application program adjustment method and device Download PDFInfo
- Publication number
- CN106126420B CN106126420B CN201610455189.2A CN201610455189A CN106126420B CN 106126420 B CN106126420 B CN 106126420B CN 201610455189 A CN201610455189 A CN 201610455189A CN 106126420 B CN106126420 B CN 106126420B
- Authority
- CN
- China
- Prior art keywords
- application program
- debugged
- computer
- mobile terminal
- virtual
- 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.)
- Active
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
- G06F11/3644—Software debugging by instrumenting at runtime
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Abstract
The disclosure is directed to a kind of application program adjustment method and devices, wherein, method includes: to send calling interface when computer monitoring to the html5 page receives the instruction debugged to the application program to be debugged in mobile terminal and request the virtual client into computer;Calling interface is sent by virtual client and requests the virtual server into mobile terminal, so that virtual server is according to the local code of the application program to be debugged of calling interface request call, to obtain call result;Call result is obtained by virtual client, and call result is fed back into the html5 page, to complete the debugging to the application program to be debugged by the html5 page.Pass through the technical solution, it may be implemented to debug Android and html5 mixing application in computer terminal, on the code to mobile terminal for not needing push html5, it does not need to be operated on mobile terminals yet, it improves developer and develops the development efficiency of mixing application, to facilitate developer to needing debugging utility to debug.
Description
Technical field
This disclosure relates to application program debugging technique field more particularly to a kind of application program adjustment method and device.
Background technique
Nowadays on Android system, using html5 page development using more and more.But html5 is carried out in Android
The environment of page development is also very simple and crude, and many debugging efforts are very troublesome.For example, the page for carrying out html5 on computers is opened
Hair, it is only necessary to debugging and preview are carried out on computers, it is very convenient.But it is mixed in exploitation Android and html5 mixed
Close in application, since the end html5 and Android end need mutually to call, thus must by the code push to mobile phone of html5 it
Afterwards, it is run on mobile phone.Thus need often to operate computer on one side, one side operating handset, more troublesome, reduction is opened
Send out efficiency.
Summary of the invention
The embodiment of the present disclosure provides a kind of application program adjustment method and device, including following technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of application program adjustment method is provided, computer is used for, comprising:
The application program to be debugged in mobile terminal is adjusted when the computer monitoring to the html5 page receives
When the instruction of examination, sends calling interface and request the virtual client into the computer;
The calling interface, which is sent, by the virtual client requests the virtual server into the mobile terminal, with
For the local code of the virtual server application program to be debugged according to the calling interface request call, to obtain
Call result;
The call result is obtained by the virtual client, and the call result is fed back to described html5 pages
Face, to complete the debugging to the application program to be debugged by the html5 page.
In one embodiment, the method also includes:
Before sending calling interface and requesting the virtual client into the computer, institute is created in the computer
State virtual client.
In one embodiment, the connection type between the computer and the mobile terminal includes wired connection mode
And radio connection.
According to the second aspect of an embodiment of the present disclosure, a kind of application program adjustment method is provided, mobile terminal, packet are used for
It includes:
Pass through virtual client transmission when the virtual server in the mobile terminal receives the html5 page in computer
Calling interface request when, call the calling interface to request the local code of the corresponding application program to be debugged, with obtain
Call result;
The call result is sent to the virtual client, so that the virtual client feeds back the call result
To the html5 page, to complete the debugging to the application program to be debugged by the html5 page.
In one embodiment, the calling interface is called to request the local code of the corresponding application program to be debugged,
To obtain call result, comprising:
The calling interface is sent by the virtual server to request to the application program to be debugged;
The application program to be debugged is controlled according to the calling interface request call local code;
The local code is sent to the virtual server, to obtain the call result.
In one embodiment, the method also includes:
The server for receiving input creates order;
It is created and is ordered according to the server, the virtual server is created in the mobile terminal.
In one embodiment, the connection type between the computer and the mobile terminal includes wired connection mode
And radio connection.
According to the third aspect of an embodiment of the present disclosure, a kind of application program debugging apparatus is provided, computer is used for, comprising:
First sending module, for being intended to adjust in mobile terminal when the computer monitoring is received to the html5 page
When the instruction that the application program of examination is debugged, sends calling interface and request the virtual client into the computer;
Second sending module is requested for sending the calling interface by the virtual client to the mobile terminal
In virtual server, for the virtual server application program to be debugged according to the calling interface request call
Local code, to obtain call result;
Feedback module for obtaining the call result by the virtual client, and the call result is fed back
To the html5 page, to complete the debugging to the application program to be debugged by the html5 page.
In one embodiment, described device further include:
Creation module, for sending before calling interface requests the virtual client into the computer, described
The virtual client is created in computer.
In one embodiment, the connection type between the computer and the mobile terminal includes wired connection mode
And radio connection.
According to a fourth aspect of embodiments of the present disclosure, a kind of application program debugging apparatus is provided, mobile terminal, packet are used for
It includes:
Calling module, for passing through when the virtual server in the mobile terminal receives the html5 page in computer
When the calling interface request that virtual client is sent, the calling interface is called to request the sheet of the corresponding application program to be debugged
Ground code, to obtain call result;
Sending module, for sending the call result that the calling module obtains to the virtual client, for
The call result is fed back to the html5 page by the virtual client, to be completed by the html5 page to described
The debugging of the application program to be debugged.
In one embodiment, the calling module includes:
First sending submodule requests to described to be debugged for sending the calling interface by the virtual server
Application program;
Control submodule, for controlling the application program to be debugged according to the calling interface request call local generation
Code;
Second sending submodule, for sending the local code to the virtual server, to obtain the calling knot
Fruit.
In one embodiment, described device further include:
Receiving module, server creation order for receiving input;
Creation module orders for being created according to the server, the Virtual Service is created in the mobile terminal
Device.
In one embodiment, the connection type between the computer and the mobile terminal includes wired connection mode
And radio connection.
According to a fifth aspect of the embodiments of the present disclosure, a kind of application program debugging apparatus is provided, computer is used for, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The application program to be debugged in mobile terminal is adjusted when the computer monitoring to the html5 page receives
When the instruction of examination, sends calling interface and request the virtual client into the computer;
The calling interface, which is sent, by the virtual client requests the virtual server into the mobile terminal, with
For the local code of the virtual server application program to be debugged according to the calling interface request call, to obtain
Call result;
The call result is obtained by the virtual client, and the call result is fed back to described html5 pages
Face, to complete the debugging to the application program to be debugged by the html5 page.
According to a sixth aspect of an embodiment of the present disclosure, a kind of application program debugging apparatus is provided, mobile terminal, packet are used for
It includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Pass through virtual client transmission when the virtual server in the mobile terminal receives the html5 page in computer
Calling interface request when, call the calling interface to request the local code of the corresponding application program to be debugged, with obtain
Call result;
The call result is sent to the virtual client, so that the virtual client feeds back the call result
To the html5 page, to complete the debugging to the application program to be debugged by the html5 page.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal, when need the html5 page on computer to the application program to be debugged in mobile terminal
When being debugged, sends calling interface and request the virtual client into computer, calling interface is sent by virtual client
The virtual server into mobile terminal is requested, for the application journey to be debugged according to calling interface request call of virtual server
The local code of sequence to obtain call result, and obtains call result by virtual client, call result is fed back to
The html5 page, to complete the debugging to the application program to be debugged by the html5 page, in this way, passing through virtual client and void
Quasi- server realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented to debug Android and html5 in computer terminal
Mixing is applied, and on the code to mobile terminal for not needing push html5, does not also need to be operated on mobile terminals, is improved
Developer develops the development efficiency of mixing application, to facilitate developer to needing the debugging utility to debug.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of application program adjustment method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another application program adjustment method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of application program adjustment method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of step S301 in a kind of application program adjustment method shown according to an exemplary embodiment.
Fig. 5 is the flow chart of another application program adjustment method shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of application program debugging apparatus shown according to an exemplary embodiment.
Fig. 7 is the block diagram of another application program debugging apparatus shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of application program debugging apparatus shown according to an exemplary embodiment.
Fig. 9 is the block diagram of calling module in a kind of application program debugging apparatus shown according to an exemplary embodiment.
Figure 10 is the block diagram of another application program debugging apparatus shown according to an exemplary embodiment.
Figure 11 is a kind of block diagram for application program debugging apparatus shown according to an exemplary embodiment.
Figure 12 is another block diagram for being used for application program debugging apparatus shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides a kind of application program adjustment method, and this method can be used in computer equipment, such as Fig. 1
It is shown, the method comprising the steps of S101-S103:
In step s101, when computer monitoring to the html5 page is received to the application to be debugged in mobile terminal
When the instruction that program is debugged, sends calling interface and request the virtual client into computer;
In step s 102, calling interface is sent by virtual client and requests the virtual server into mobile terminal,
So that virtual server is according to the local code of the application program to be debugged of calling interface request call, to obtain call result;
In step s 103, call result is obtained by virtual client, and call result is fed back into the html5 page,
To complete the debugging to the application program to be debugged by the html5 page.
In this embodiment, when need the html5 page on computer to the application program to be debugged in mobile terminal
When being debugged, sends calling interface and request the virtual client into computer, calling interface is sent by virtual client
The virtual server into mobile terminal is requested, for the application journey to be debugged according to calling interface request call of virtual server
The local code of sequence to obtain call result, and obtains call result by virtual client, call result is fed back to
The html5 page, to complete the debugging to the application program to be debugged by the html5 page, in this way, passing through virtual client and void
Quasi- server realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented to debug Android and html5 in computer terminal
Mixing is applied, and on the code to mobile terminal for not needing push html5, does not also need to be operated on mobile terminals, is improved
Developer develops the development efficiency of mixing application, to facilitate developer to needing the debugging utility to debug.
As shown in Fig. 2, in one embodiment, the above method further includes step S201:
In step s 201, before sending calling interface and requesting the virtual client into computer, in a computer
Create virtual client.
In this embodiment, before sending calling interface and requesting the virtual client into computer, can exist in advance
Virtual client is created in computer, to facilitate the interaction between the html5 page and mobile terminal.
In one embodiment, the connection type between computer and mobile terminal includes wired connection mode and wirelessly connects
Connect mode.
In this embodiment, developer not only can be by wired connection mode, but also can be connected by radio connection
Computer and mobile terminal.For example, data line connection computer and mobile terminal had not only can be used in developer, but also nothing can be passed through
Line network connection computer and mobile terminal, it might even be possible to remotely be developed by internet, to facilitate developer.
The embodiment of the present disclosure additionally provides a kind of application program adjustment method, and this method can be used in mobile terminal device,
As shown in figure 3, the method comprising the steps of S301-S302:
In step S301, pass through virtually when the virtual server in mobile terminal receives the html5 page in computer
When the calling interface request that client is sent, calling interface is called to request the local code of the corresponding application program to be debugged,
To obtain call result;
In step s 302, call result is sent to virtual client, so that virtual client feeds back to call result
The html5 page, to complete the debugging to the application program to be debugged by the html5 page.
In this embodiment, when need the html5 page on computer to the application program to be debugged in mobile terminal
When being debugged, sends calling interface and request the virtual client into computer, calling interface is sent by virtual client
The virtual server into mobile terminal is requested, virtual server is according to the application program to be debugged of calling interface request call
Local code to obtain call result, and obtains call result by virtual client, call result is fed back to html5 pages
Face, to complete the debugging to the application program to be debugged by the html5 page, in this way, passing through virtual client and Virtual Service
Device realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented to debug Android in computer terminal and html5 mixing is answered
With not needing to be operated on mobile terminals yet, improve exploitation on the code to mobile terminal for not needing push html5
The development efficiency of staff development mixing application, to facilitate developer to needing debugging utility to debug.
As shown in figure 4, in one embodiment, above-mentioned steps S301 includes step S401-1S403:
In step S401, calling interface is sent by virtual server and is requested to the application program to be debugged;
In step S402, the application program to be debugged is controlled according to calling interface request call local code;
In step S403, local code is sent to virtual server, to obtain call result.
In this embodiment, it is provided with virtual server in the terminal and passes through the virtual of virtual server and computer
Client interacts, and the calling interface request that the virtual client received is sent is sent to desire by virtual server
The application program of debugging, the application program to be debugged is according to the calling interface request call local code, to send it to
Virtual server, then the html5 page is sent to by virtual client by virtual server, in this way, by virtual client and
Virtual server realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented computer terminal debug Android and
Html5 mixing is applied, and on the code to mobile terminal for not needing push html5, does not also need to be grasped on mobile terminals
Make, improve developer and develop the development efficiency of mixing application, to facilitate developer to needing debugging utility to carry out
Debugging.
As shown in figure 5, in one embodiment, the above method further includes step S501-S502:
In step S501, the server creation order of input is received;
In step S502, is created and ordered according to server, create virtual server in the terminal.
In this embodiment it is possible to which creation is virtual in the terminal previously according to the server creation order received
Server is to facilitate the interaction between the html5 page and mobile terminal.
In one embodiment, the connection type between computer and mobile terminal includes wired connection mode and wirelessly connects
Connect mode.
In this embodiment, developer not only can be by wired connection mode, but also can be connected by radio connection
Computer and mobile terminal.For example, data line connection computer and mobile terminal had not only can be used in developer, but also nothing can be passed through
Line network connection computer and mobile terminal, it might even be possible to remotely be developed by internet, to facilitate developer.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 6 is a kind of block diagram of application program debugging apparatus shown according to an exemplary embodiment, which can lead to
Cross being implemented in combination with as some or all of of computer equipment of software, hardware or both.As shown in fig. 6, this applies journey
Sequence debugging apparatus includes:
First sending module 61 is configured as receiving to the html5 page to the desire in mobile terminal when computer monitoring
When the instruction that the application program of debugging is debugged, sends calling interface and request the virtual client into computer;
Second sending module 62 is configured as requesting the void into mobile terminal by virtual client transmission calling interface
Quasi- server, so that virtual server is according to the local code of the application program to be debugged of calling interface request call, to obtain
Call result;
Feedback module 63 is configured as obtaining call result by virtual client, and call result is fed back to html5
The page, to complete the debugging to the application program to be debugged by the html5 page.
In this embodiment, when need the html5 page on computer to the application program to be debugged in mobile terminal
When being debugged, sends calling interface and request the virtual client into computer, calling interface is sent by virtual client
The virtual server into mobile terminal is requested, for the application journey to be debugged according to calling interface request call of virtual server
The local code of sequence to obtain call result, and obtains call result by virtual client, call result is fed back to
The html5 page, to complete the debugging to the application program to be debugged by the html5 page, in this way, passing through virtual client and void
Quasi- server realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented to debug Android and html5 in computer terminal
Mixing is applied, and on the code to mobile terminal for not needing push html5, does not also need to be operated on mobile terminals, is improved
Developer develops the development efficiency of mixing application, to facilitate developer to needing the debugging utility to debug.
As shown in fig. 7, in one embodiment, above-mentioned apparatus further include:
Creation module 71 is configured as before sending the virtual client that calling interface is requested into computer, is counting
Virtual client is created in calculation machine.
In this embodiment, before sending calling interface and requesting the virtual client into computer, can exist in advance
Virtual client is created in computer, to facilitate the interaction between the html5 page and mobile terminal.
In one embodiment, the connection type between computer and mobile terminal includes wired connection mode and wirelessly connects
Connect mode.
In this embodiment, developer not only can be by wired connection mode, but also can be connected by radio connection
Computer and mobile terminal.For example, data line connection computer and mobile terminal had not only can be used in developer, but also nothing can be passed through
Line network connection computer and mobile terminal, it might even be possible to remotely be developed by internet, to facilitate developer.
Fig. 8 is a kind of block diagram of application program debugging apparatus shown according to an exemplary embodiment, which can lead to
Cross being implemented in combination with as some or all of of mobile terminal device of software, hardware or both.As shown in figure 8, the application
Program debugging device includes:
Calling module 81 is configured as leading to when the virtual server in mobile terminal receives the html5 page in computer
When crossing the calling interface request of virtual client transmission, calling interface is called to request the local of the corresponding application program to be debugged
Code, to obtain call result;
Sending module 82 is configured as sending the call result of calling module acquisition to virtual client, for virtual visitor
Call result is fed back to the html5 page by family end, to complete the debugging to the application program to be debugged by the html5 page.
In this embodiment, when need the html5 page on computer to the application program to be debugged in mobile terminal
When being debugged, sends calling interface and request the virtual client into computer, calling interface is sent by virtual client
The virtual server into mobile terminal is requested, virtual server is according to the application program to be debugged of calling interface request call
Local code to obtain call result, and obtains call result by virtual client, call result is fed back to html5 pages
Face, to complete the debugging to the application program to be debugged by the html5 page, in this way, passing through virtual client and Virtual Service
Device realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented to debug Android in computer terminal and html5 mixing is answered
With not needing to be operated on mobile terminals yet, improve exploitation on the code to mobile terminal for not needing push html5
The development efficiency of staff development mixing application, to facilitate developer to needing debugging utility to debug.
As shown in figure 9, in one embodiment, calling module 81 includes:
First sending submodule 91 is configured as requesting by virtual server transmission calling interface to the application to be debugged
Program;
Control submodule 92 is configured as the application program to be debugged of control according to calling interface request call local generation
Code;
Second sending submodule 93 is configured as sending local code to virtual server, to obtain call result.
In this embodiment, it is provided with virtual server in the terminal and passes through the virtual of virtual server and computer
Client interacts, and the calling interface request that the virtual client received is sent is sent to desire by virtual server
The application program of debugging, the application program to be debugged is according to the calling interface request call local code, to send it to
Virtual server, then the html5 page is sent to by virtual client by virtual server, in this way, by virtual client and
Virtual server realizes the interaction of striding equipment between html5 and mobile terminal, may be implemented computer terminal debug Android and
Html5 mixing is applied, and on the code to mobile terminal for not needing push html5, does not also need to be grasped on mobile terminals
Make, improve developer and develop the development efficiency of mixing application, to facilitate developer to needing debugging utility to carry out
Debugging.
As shown in Figure 10, in one embodiment, above-mentioned apparatus further include:
Receiving module 101 is configured as receiving the server creation order of input;
Creation module 102 is configured as being created according to server and order, creates virtual server in the terminal.
In this embodiment it is possible to which creation is virtual in the terminal previously according to the server creation order received
Server is to facilitate the interaction between the html5 page and mobile terminal.
In one embodiment, the connection type between computer and mobile terminal includes wired connection mode and wirelessly connects
Connect mode.
In this embodiment, developer not only can be by wired connection mode, but also can be connected by radio connection
Computer and mobile terminal.For example, data line connection computer and mobile terminal had not only can be used in developer, but also nothing can be passed through
Line network connection computer and mobile terminal, it might even be possible to remotely be developed by internet, to facilitate developer.
According to a fifth aspect of the embodiments of the present disclosure, a kind of application program debugging apparatus is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
The application program to be debugged in mobile terminal is adjusted when the computer monitoring to the html5 page receives
When the instruction of examination, sends calling interface and request the virtual client into the computer;
The calling interface, which is sent, by the virtual client requests the virtual server into the mobile terminal, with
For the local code of the virtual server application program to be debugged according to the calling interface request call, to obtain
Call result;
The call result is obtained by the virtual client, and the call result is fed back to described html5 pages
Face, to complete the debugging to the application program to be debugged by the html5 page.
Above-mentioned processor is also configured to:
Before sending calling interface and requesting the virtual client into the computer, institute is created in the computer
State virtual client.
Above-mentioned processor is also configured to:
Connection type between the computer and the mobile terminal includes wired connection mode and radio connection.
According to a sixth aspect of an embodiment of the present disclosure, a kind of application program debugging apparatus is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, processor is configured as:
Pass through virtual client transmission when the virtual server in the mobile terminal receives the html5 page in computer
Calling interface request when, call the calling interface to request the local code of the corresponding application program to be debugged, with obtain
Call result;
The call result is sent to the virtual client, so that the virtual client feeds back the call result
To the html5 page, to complete the debugging to the application program to be debugged by the html5 page.
Above-mentioned processor is also configured to:
The calling interface is called to request the local code of the corresponding application program to be debugged, to obtain call result,
Include:
The calling interface is sent by the virtual server to request to the application program to be debugged;
The application program to be debugged is controlled according to the calling interface request call local code;
The local code is sent to the virtual server, to obtain the call result.
Above-mentioned processor is also configured to:
The server for receiving input creates order;
It is created and is ordered according to the server, the virtual server is created in the mobile terminal.
Above-mentioned processor is also configured to:
Connection type between the computer and the mobile terminal includes wired connection mode and radio connection.
Figure 11 is a kind of block diagram for application program debugging apparatus shown according to an exemplary embodiment, and the device is suitable
For terminal device.For example, device 1100 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip
Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1100 may include following one or more components: processing component 1102, memory 1104, power supply module
1106, multimedia component 1108, audio component 1110, the interface 1112 of input/output (I/O), sensor module 1114, and
Communication component 1116.
The integrated operation of the usual control device 1100 of processing component 1102, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing component 1102 may include one or more processors 1120 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more moulds
Block, convenient for the interaction between processing component 1102 and other assemblies.For example, processing component 1102 may include multi-media module,
To facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in device 1100.These data
Example includes the instruction of any application or method for operating on device 1100, contact data, telephone book data,
Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1106 provides electric power for the various assemblies of device 1100.Power supply module 1106 may include power management
System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1108 includes the screen of one output interface of offer between described device 1100 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 1108 includes a front camera and/or rear camera.When device 1100 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes a wheat
Gram wind (MIC), when device 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1104 or via communication
Component 1116 is sent.In some embodiments, audio component 1110 further includes a loudspeaker, is used for output audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commented
Estimate.For example, sensor module 1114 can detecte the state that opens/closes of device 1100, the relative positioning of component, such as institute
The display and keypad that component is device 1100 are stated, sensor module 1114 can be with detection device 1100 or device 1,100 1
The position change of a component, the existence or non-existence that user contacts with device 1100,1100 orientation of device or acceleration/deceleration and dress
Set 1100 temperature change.Sensor module 1114 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1114 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1116 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of device 1100 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Figure 12 is a kind of block diagram for application program debugging apparatus shown according to an exemplary embodiment.For example, dress
Setting 1200 may be provided as a computer.Device 1200 includes processing component 1222, further comprises one or more places
Manage device, and the memory resource as representated by memory 1232, for store can by the instruction of the execution of processing component 1222,
Such as application program.The application program stored in memory 1232 may include it is one or more each correspond to one
The module of group instruction.In addition, processing component 1222 is configured as executing instruction, to execute the above method.
Device 1200 can also include that a power supply module 1226 be configured as the power management of executive device 1200, and one
Wired or wireless network interface 1250 is configured as device 1200 being connected to network and input and output (I/O) interface
1258.Device 1200 can be operated based on the operating system for being stored in memory 1232, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1100
When device executes, so that device 1100 is able to carry out above-mentioned application program adjustment method, which comprises
Pass through virtual client transmission when the virtual server in the mobile terminal receives the html5 page in computer
Calling interface request when, call the calling interface to request the local code of the corresponding application program to be debugged, with obtain
Call result;
The call result is sent to the virtual client, so that the virtual client feeds back the call result
To the html5 page, to complete the debugging to the application program to be debugged by the html5 page.
In one embodiment, the calling interface is called to request the local code of the corresponding application program to be debugged,
To obtain call result, comprising:
The calling interface is sent by the virtual server to request to the application program to be debugged;
The application program to be debugged is controlled according to the calling interface request call local code;
The local code is sent to the virtual server, to obtain the call result.
In one embodiment, the method also includes:
The server for receiving input creates order;
It is created and is ordered according to the server, the virtual server is created in the mobile terminal.
In one embodiment, the connection type between the computer and the mobile terminal includes wired connection mode
And radio connection.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200
When device executes, so that device 1200 is able to carry out above-mentioned application program adjustment method, which comprises
The application program to be debugged in mobile terminal is adjusted when the computer monitoring to the html5 page receives
When the instruction of examination, sends calling interface and request the virtual client into the computer;
The calling interface, which is sent, by the virtual client requests the virtual server into the mobile terminal, with
For the local code of the virtual server application program to be debugged according to the calling interface request call, to obtain
Call result;
The call result is obtained by the virtual client, and the call result is fed back to described html5 pages
Face, to complete the debugging to the application program to be debugged by the html5 page.
In one embodiment, the method also includes:
Before sending calling interface and requesting the virtual client into the computer, institute is created in the computer
State virtual client.
In one embodiment, the connection type between the computer and the mobile terminal includes wired connection mode
And radio connection.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (16)
1. a kind of application program adjustment method is used for computer characterized by comprising
The application to be debugged in the mobile terminal that the computer monitoring to the html5 page receives to installation Android system
When the instruction that program is debugged, sends calling interface and request the virtual client into the computer;
The calling interface is sent by the virtual client and requests the virtual server into the mobile terminal, for institute
The local code of the virtual server application program to be debugged according to the calling interface request call is stated, to be called
As a result;
The call result is obtained by the virtual client, and the call result is fed back into the html5 page, with
The debugging to the application program to be debugged is completed by the html5 page.
2. the method according to claim 1, wherein the method also includes:
Before sending calling interface and requesting the virtual client into the computer, the void is created in the computer
Quasi- client.
3. the method according to claim 1, wherein the connection side between the computer and the mobile terminal
Formula includes wired connection mode and radio connection.
4. a kind of application program adjustment method, for installing the mobile terminal of Android system characterized by comprising
When the virtual server in the mobile terminal receives the tune that the html5 page is sent by virtual client in computer
When with interface requests, the calling interface is called to request the local code of the corresponding application program to be debugged, to be called
As a result;
The call result is sent to the virtual client, so that the call result is fed back to institute by the virtual client
The html5 page is stated, to complete the debugging to the application program to be debugged by the html5 page.
5. according to the method described in claim 4, it is characterized in that, call the calling interface request it is corresponding to be debugged answer
With the local code of program, to obtain call result, comprising:
The calling interface is sent by the virtual server to request to the application program to be debugged;
The application program to be debugged is controlled according to the calling interface request call local code;
The local code is sent to the virtual server, to obtain the call result.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
The server for receiving input creates order;
It is created and is ordered according to the server, the virtual server is created in the mobile terminal.
7. the method according to any one of claim 4 to 6, which is characterized in that the computer and the mobile terminal
Between connection type include wired connection mode and radio connection.
8. a kind of application program debugging apparatus is used for computer characterized by comprising
First sending module, for receiving the mobile end to installation Android system when the computer monitoring to the html5 page
When the instruction that the application program to be debugged in end is debugged, sends calling interface and request the virtual visitor into the computer
Family end;
Second sending module is requested for sending the calling interface by the virtual client into the mobile terminal
Virtual server, for the sheet of the virtual server application program to be debugged according to the calling interface request call
Ground code, to obtain call result;
The call result for obtaining the call result by the virtual client, and is fed back to institute by feedback module
The html5 page is stated, to complete the debugging to the application program to be debugged by the html5 page.
9. device according to claim 8, which is characterized in that described device further include:
Creation module, for sending before calling interface requests the virtual client into the computer, in the calculating
The virtual client is created in machine.
10. device according to claim 8, which is characterized in that the connection between the computer and the mobile terminal
Mode includes wired connection mode and radio connection.
11. a kind of application program debugging apparatus, for installing the mobile terminal of Android system characterized by comprising
Calling module, for passing through virtually when the virtual server in the mobile terminal receives the html5 page in computer
When the calling interface request that client is sent, the calling interface is called to request the local generation of the corresponding application program to be debugged
Code, to obtain call result;
Sending module, for sending the call result that the calling module obtains to the virtual client, for described
The call result is fed back to the html5 page by virtual client, to be adjusted by html5 page completion to described
The debugging of the application program of examination.
12. device according to claim 11, which is characterized in that the calling module includes:
First sending submodule, for by the virtual server send the calling interface request to it is described to be debugged answer
Use program;
Control submodule, for controlling the application program to be debugged according to the calling interface request call local code;
Second sending submodule, for sending the local code to the virtual server, to obtain the call result.
13. device according to claim 11, which is characterized in that described device further include:
Receiving module, server creation order for receiving input;
Creation module orders for being created according to the server, the virtual server is created in the mobile terminal.
14. device described in any one of 1 to 13 according to claim 1, which is characterized in that the computer and the movement are eventually
Connection type between end includes wired connection mode and radio connection.
15. a kind of application program debugging apparatus is used for computer characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The application to be debugged in the mobile terminal that the computer monitoring to the html5 page receives to installation Android system
When the instruction that program is debugged, sends calling interface and request the virtual client into the computer;
The calling interface is sent by the virtual client and requests the virtual server into the mobile terminal, for institute
The local code of the virtual server application program to be debugged according to the calling interface request call is stated, to be called
As a result;
The call result is obtained by the virtual client, and the call result is fed back into the html5 page, with
The debugging to the application program to be debugged is completed by the html5 page.
16. a kind of application program debugging apparatus, for installing the mobile terminal of Android system characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When the virtual server in the mobile terminal receives the tune that the html5 page is sent by virtual client in computer
When with interface requests, the calling interface is called to request the local code of the corresponding application program to be debugged, to be called
As a result;
The call result is sent to the virtual client, so that the call result is fed back to institute by the virtual client
The html5 page is stated, to complete the debugging to the application program to be debugged by the html5 page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610455189.2A CN106126420B (en) | 2016-06-21 | 2016-06-21 | Application program adjustment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610455189.2A CN106126420B (en) | 2016-06-21 | 2016-06-21 | Application program adjustment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106126420A CN106126420A (en) | 2016-11-16 |
CN106126420B true CN106126420B (en) | 2018-12-18 |
Family
ID=57268541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610455189.2A Active CN106126420B (en) | 2016-06-21 | 2016-06-21 | Application program adjustment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126420B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239389B (en) * | 2017-06-07 | 2020-10-09 | 网易(杭州)网络有限公司 | Method and device for determining user operation record in hybrid APP |
CN107423218B (en) * | 2017-07-20 | 2023-05-30 | 北京小米移动软件有限公司 | Application testing method, device and terminal |
CN107861875B (en) * | 2017-11-15 | 2021-02-05 | 北京中电普华信息技术有限公司 | Simulation method and system for hybrid mobile application |
CN107918587B (en) * | 2017-11-15 | 2021-07-13 | 北京中电普华信息技术有限公司 | Debugging method and system for application program |
CN107832224A (en) * | 2017-11-22 | 2018-03-23 | 深圳前海桔子信息技术有限公司 | A kind of method of testing of application program, device, storage medium and intelligent terminal |
CN109002374A (en) * | 2018-06-28 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of server Debug method, system, equipment and computer media |
CN108897689B (en) * | 2018-07-03 | 2022-07-29 | 深圳Tcl数字技术有限公司 | Embedded application program simulation debugging method and device and readable storage medium |
CN109831496B (en) * | 2019-01-22 | 2021-06-15 | 卢建超 | Terminal data debugging method |
CN109800173B (en) * | 2019-01-28 | 2020-10-30 | 腾讯科技(深圳)有限公司 | Program debugging method, device and storage medium |
CN109871198B (en) * | 2019-01-31 | 2022-10-25 | 上海智臻智能网络科技股份有限公司 | Application interaction demand adaptation method and device |
CN111563032A (en) * | 2020-03-26 | 2020-08-21 | 中国平安财产保险股份有限公司 | APP debugging method and device, computer equipment and storage medium |
CN111899443B (en) * | 2020-08-13 | 2022-08-05 | 深圳大势智能科技有限公司 | Method and device for debugging traditional POS machine on intelligent POS machine |
CN113641581B (en) * | 2021-08-11 | 2023-10-20 | 上海哔哩哔哩科技有限公司 | Mixed mode mobile application debugging method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457783A (en) * | 2012-05-31 | 2013-12-18 | 国际商业机器公司 | Method and system for testing mobile network application |
CN104093077A (en) * | 2013-10-29 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Multi terminal interconnection method, device and system |
CN104424317A (en) * | 2013-09-06 | 2015-03-18 | 中国移动通信集团四川有限公司 | Method and system for providing application for user terminal |
CN104486333A (en) * | 2014-12-11 | 2015-04-01 | 北京国双科技有限公司 | Debug method and debug device for mobile application programs |
CN104765617A (en) * | 2015-05-04 | 2015-07-08 | 北京奇虎科技有限公司 | Stream application function interface distributing method and system realized on basis of HTML5 |
CN104978277A (en) * | 2015-07-30 | 2015-10-14 | 北京百度网讯科技有限公司 | Method for debugging page, terminal and server |
CN105653448A (en) * | 2015-12-25 | 2016-06-08 | 深圳中兴网信科技有限公司 | Application debugging method, application debugging device and terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8589800B2 (en) * | 2010-12-10 | 2013-11-19 | Wyse Technology Inc. | Methods and systems for accessing and controlling a remote desktop of a remote machine in real time by a web browser at a client device via HTTP API utilizing a transcoding server |
US9509745B2 (en) * | 2013-02-04 | 2016-11-29 | Oracle International Corporation | Java API for programming web real-time communication applications |
-
2016
- 2016-06-21 CN CN201610455189.2A patent/CN106126420B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457783A (en) * | 2012-05-31 | 2013-12-18 | 国际商业机器公司 | Method and system for testing mobile network application |
CN104424317A (en) * | 2013-09-06 | 2015-03-18 | 中国移动通信集团四川有限公司 | Method and system for providing application for user terminal |
CN104093077A (en) * | 2013-10-29 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Multi terminal interconnection method, device and system |
CN104486333A (en) * | 2014-12-11 | 2015-04-01 | 北京国双科技有限公司 | Debug method and debug device for mobile application programs |
CN104765617A (en) * | 2015-05-04 | 2015-07-08 | 北京奇虎科技有限公司 | Stream application function interface distributing method and system realized on basis of HTML5 |
CN104978277A (en) * | 2015-07-30 | 2015-10-14 | 北京百度网讯科技有限公司 | Method for debugging page, terminal and server |
CN105653448A (en) * | 2015-12-25 | 2016-06-08 | 深圳中兴网信科技有限公司 | Application debugging method, application debugging device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106126420A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106126420B (en) | Application program adjustment method and device | |
EP3220651B1 (en) | Live video broadcasting method and device | |
JP6214812B2 (en) | Transfer processing method and apparatus | |
CN105337747B (en) | Group history message treatment method and device | |
CN105163366B (en) | Wireless network connecting method and device | |
EP3070905A1 (en) | Method and apparatus for binding device | |
KR101799894B1 (en) | Method, client terminal, program and recording medium for remote assistance | |
CN105337800B (en) | Poll frequency method of adjustment and device | |
CN104468329A (en) | Member adding method and device based on instant messaging | |
CN106231378A (en) | The display packing of direct broadcasting room, Apparatus and system | |
CN104636106A (en) | Picture displaying method and device and terminal device | |
CN106657585B (en) | The frequency adjustment method and device of intercom | |
CN104111720A (en) | Electronic device control method and device and electronic device | |
CN104038536A (en) | Plug-in communication method and device | |
CN107948926A (en) | The method and apparatus that smart machine is shared | |
CN104580019A (en) | Network service supplying method and device | |
CN104468760A (en) | Method and device for pushing reminding information | |
CN103942047A (en) | User instruction execution method and device | |
CN113365153A (en) | Data sharing method and device, storage medium and electronic equipment | |
CN107393528B (en) | Voice control method and device | |
CN109117144A (en) | page processing method, device, terminal and storage medium | |
CN105872573A (en) | Video playing method and apparatus | |
CN105260201B (en) | Using installation method, device and smart machine | |
CN103902688A (en) | File operation synchronizing method and device | |
CN109582297A (en) | A kind of generation method of Code Template, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |