CN111049912A - Debugging method, test development device, and computer-readable storage medium - Google Patents
Debugging method, test development device, and computer-readable storage medium Download PDFInfo
- Publication number
- CN111049912A CN111049912A CN201911302158.3A CN201911302158A CN111049912A CN 111049912 A CN111049912 A CN 111049912A CN 201911302158 A CN201911302158 A CN 201911302158A CN 111049912 A CN111049912 A CN 111049912A
- Authority
- CN
- China
- Prior art keywords
- information
- debugged
- mobile terminal
- debugging
- transfer server
- 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
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000011161 development Methods 0.000 title claims abstract description 14
- 238000012360 testing method Methods 0.000 title claims abstract description 8
- 238000012546 transfer Methods 0.000 claims abstract description 63
- 238000013507 mapping Methods 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 11
- 238000010276 construction Methods 0.000 abstract description 5
- 238000009434 installation Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3698—Environments for analysis, debugging or testing of software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/255—Maintenance or indexing of mapping tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computing Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a debugging method, test development equipment and a computer readable storage medium, wherein the debugging method comprises the following steps: determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server; establishing a mapping relation between a local internet protocol and a transfer server; according to the mapping relation, the mobile terminal can access the transfer server through the public network domain name to acquire information to be debugged; and debugging the mobile terminal according to the information to be debugged. Through the technical scheme of the invention, the hot loading of the service source code can be realized, the mobile terminal can verify the debugging preview in real time through the transfer server, the construction and installation operations do not need to be repeatedly executed after the service source code is updated, and the debugging preview efficiency of the mobile terminal is improved.
Description
Technical Field
The invention relates to the technical field of mobile development and debugging preview, in particular to a debugging method, test development equipment and a computer readable storage medium.
Background
At present, a platform tool or a third-party tool is generally used for mobile development debugging preview, and some defects exist in process and efficiency, for example, the mobile development debugging preview needs to be constructed, packaged and installed in a real machine for debugging preview; the updating of the code can not be carried out in real time in a real machine, and the construction and installation operations are repeatedly executed during each code updating, so that the efficiency is low.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
In view of the above, an object of the present invention is to provide a debugging method.
The invention also aims to correspondingly provide the test development equipment.
It is still another object of the present invention to provide a computer-readable storage medium.
In order to achieve at least one of the above objects, according to a first aspect of the present invention, a debugging method is provided, including: determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server; establishing a mapping relation between a local internet protocol and a transfer server; according to the mapping relation, the mobile terminal can access the transfer server through the public network domain name to acquire information to be debugged; and debugging the mobile terminal according to the information to be debugged.
According to the debugging method provided by the invention, the information to be debugged corresponding to the mobile terminal is determined and sent to the transfer server so as to store the information to be debugged in the transfer server, wherein the mobile terminal is specifically intelligent equipment such as a computer and a mobile phone, the information to be debugged is a service source code, and the information to be debugged corresponds to the mobile terminal so that the information to be debugged can be used for debugging the mobile terminal; furthermore, by establishing a mapping relationship between the local internet protocol and the transfer server, that is, establishing a mapping relationship between the IP address and the transfer server, the mobile terminal can transmit data and information between the IP address and the transfer server, and according to the mapping relationship, the mobile terminal can access the transfer server through the public network domain name, acquire the information to be debugged stored in the transfer server, and debug the mobile terminal according to the acquired information to be debugged, so that the mobile terminal has information or functions corresponding to the information to be debugged.
The mobile terminal debugs the mobile terminal according to the acquired information to be debugged, hot loading of the service source code is achieved, the mobile terminal can verify debugging preview in real time through the transit server, construction and installation operations do not need to be repeatedly executed after the service source code is updated, and debugging preview efficiency of the mobile terminal is improved.
It can be understood that the debugging method is carried on test development equipment, the equipment is provided with a Node development platform for providing JacaScript operation, and Node services are arranged on the Node development platform.
In the above technical solution, determining information to be debugged corresponding to the mobile terminal specifically includes: determining at least one native function in the mobile terminal; information to be debugged corresponding to the at least one native function is determined.
In the technical scheme, determining information to be debugged corresponding to the mobile terminal specifically includes: determining at least one native function in the mobile terminal, and locking the mobile terminal and starting the at least one native function; determining information to be debugged corresponding to at least one native function, enabling the mobile terminal to access the transfer server through the public network domain name and obtain the information to be debugged, and debugging the mobile terminal according to the information to be debugged, and then enabling the function of the at least one native function corresponding to the information to be debugged to be changed, or enabling the function of the at least one native function to be increased or decreased.
In the above technical solution, the method further comprises: receiving an updating instruction; adjusting the information to be debugged according to the updating instruction; and sending the adjusted information to be debugged to a transfer server.
In the technical scheme, the updating of the information to be debugged, that is, the updating of the service source code, is realized by receiving the updating instruction and adjusting the information to be debugged according to the updating instruction, and further, the adjusted information to be debugged is sent to the transfer server, so that the mobile terminal can obtain the updated service source code from the transfer server through the IP address, and the updating of the service source code is realized.
In the above technical solution, the method further comprises: detecting the information to be debugged which is received by the transfer server and is adjusted; judging whether the adjustment amount between the adjusted information to be debugged and the adjusted information to be debugged is smaller than an adjustment threshold value or not, and generating a judgment result; and if so, storing the adjusted information to be debugged in the transit server, otherwise, deleting the adjusted information to be debugged.
In the technical scheme, the information to be debugged which is received by the transit server and is adjusted is detected; judging whether the adjustment amount between the adjusted information to be debugged and the adjusted information to be debugged is smaller than an adjustment threshold value or not, and generating a judgment result; if the result is yes, the mobile terminal does not finish debugging all the information to be debugged, the debugging action needs to be continued, and the adjusted information to be debugged is stored in the transfer server, so that the mobile terminal can conveniently acquire the adjusted information to be debugged through the transfer server and continue debugging and previewing actions, and continuous updating of the service source code is realized; and if not, the mobile terminal finishes debugging all the information to be debugged, and deletes the adjusted information to be debugged to stop the debugging preview action.
In the above technical solution, adjusting the information to be debugged according to the update instruction specifically includes: modifying the information to be debugged according to the updating instruction; and/or adding information to be debugged according to the updating instruction; and/or deleting the information to be debugged according to the updating instruction.
In the technical scheme, the adjusting of the information to be debugged according to the new instruction specifically refers to modifying the information to be debugged, adding the information to be debugged, and deleting one or more combinations of the information to be debugged, and adjusting the information to be debugged according to different requirements, so that after the mobile terminal acquires the adjusted information to be debugged, the mobile terminal is debugged according to the information to be debugged, and the function of at least one native function is increased or reduced or changed.
In the above technical solution, the mobile terminal can access the transfer server through the public network domain name, which specifically includes: determining a public network domain name and a port corresponding to the transfer server; and accessing the transit server through the public network domain name according to the port.
In the technical scheme, the mobile terminal determines the public network domain name and the port corresponding to the transfer server, and realizes information exchange between the mobile terminal and the transfer server through the port, so that the mobile terminal accesses the transfer server through the public network domain name and acquires information to be adjusted.
In the above technical solution, the mobile terminal can access the transfer server through the public network domain name, which specifically includes: determining encryption information corresponding to the public network domain name; and accessing the transit server by decrypting the encrypted information to acquire the information to be debugged.
In the technical scheme, the security of the information to be adjusted is improved by determining the encrypted information corresponding to the public network domain name and accessing the transfer server to acquire the information to be debugged by decrypting the encrypted information, and the situation that an unauthorized client accesses the transfer server to acquire the information to be adjusted through the public network domain name is avoided, so that the copyright of the information to be adjusted is maintained.
In the above technical solution, the information to be debugged is a service source code, and the service source code can be accessed through a uniform resource positioning system.
In the technical scheme, the information to be debugged is the service source code, and the service source code can be accessed through the uniform resource positioning system, namely, the mobile terminal accesses a standard resource address on the internet to obtain the service source code, so that the convenience of the mobile terminal for obtaining the service source code is improved.
According to a second aspect of the present invention, a test development device is provided, including: the memory, the processor, and the computer program stored in the memory and executable on the processor, where the processor implements the steps of the debugging method in any one of the first aspect technical solutions when executing the computer program, so as to have the technical effects of any one of the first aspect technical solutions, and details are not described herein.
According to a third aspect of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the debugging method in any one of the first aspect, so as to achieve the technical effects of any one of the first aspect, which are not described herein again.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 shows a flow diagram of a debugging method according to an embodiment of the invention;
FIG. 2 shows a flow diagram of a debugging method according to an embodiment of the invention;
FIG. 3 shows a flow diagram of a debugging method according to an embodiment of the invention;
FIG. 4 shows a flow diagram of a debugging method according to an embodiment of the invention;
FIG. 5 shows a flow diagram of a debugging method according to an embodiment of the invention;
FIG. 6 shows a flow diagram of a debugging method according to an embodiment of the invention;
fig. 7 shows a schematic structural diagram of a computer device according to an embodiment of the invention.
Detailed Description
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Some embodiments according to the invention are described below with reference to fig. 1 to 7.
Example 1
As shown in fig. 1, the debugging method according to one embodiment of the present invention defines:
the debugging method comprises the steps of S102, determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server; step S104, establishing a mapping relation between a local Internet protocol and a transit server; step S106, according to the mapping relation, the mobile terminal can access the transfer server through the public network domain name to acquire the information to be debugged; and step S108, debugging the mobile terminal according to the information to be debugged.
Specifically, information to be debugged corresponding to a mobile terminal is determined and sent to a transfer server, so that the information to be debugged is stored in the transfer server, wherein the mobile terminal is specifically an intelligent device such as a computer and a mobile phone, the information to be debugged is a service source code, and the information to be debugged corresponds to the mobile terminal, so that the information to be debugged can be used for debugging the mobile terminal; furthermore, by establishing a mapping relationship between the local internet protocol and the transfer server, that is, establishing a mapping relationship between the IP address and the transfer server, the mobile terminal can transmit data and information between the IP address and the transfer server, and according to the mapping relationship, the mobile terminal can access the transfer server through the public network domain name, acquire the information to be debugged stored in the transfer server, and debug the mobile terminal according to the acquired information to be debugged, so that the mobile terminal has information or functions corresponding to the information to be debugged.
The mobile terminal debugs the mobile terminal according to the acquired information to be debugged, hot loading of the service source code is achieved, the mobile terminal can verify debugging preview in real time through the transit server, construction and installation operations do not need to be repeatedly executed after the service source code is updated, and debugging preview efficiency of the mobile terminal is improved.
Example 2
As shown in fig. 2, the debugging method according to an embodiment of the present invention specifically includes the following steps:
step S202, determining at least one native function in the mobile terminal;
step S204, determining information to be debugged corresponding to at least one native function;
step S206, the information to be debugged is sent to a transit server;
step S208, establishing a mapping relation between a local Internet protocol and a transit server;
step S210, according to the mapping relation, the mobile terminal can access the transfer server through the public network domain name to acquire the information to be debugged;
and S212, debugging the mobile terminal according to the information to be debugged.
Specifically, determining information to be debugged corresponding to the mobile terminal specifically includes: determining at least one native function in the mobile terminal, and locking the mobile terminal and starting the at least one native function; determining information to be debugged corresponding to at least one native function, enabling the mobile terminal to access the transfer server through the public network domain name and obtain the information to be debugged, and debugging the mobile terminal according to the information to be debugged, and then enabling the function of the at least one native function corresponding to the information to be debugged to be changed, or enabling the function of the at least one native function to be increased or decreased.
Example 3
As shown in fig. 3, the debugging method according to an embodiment of the present invention specifically includes the following steps:
step S302, determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server;
step S304, establishing a mapping relation between a local Internet protocol and a transit server;
step S306, according to the mapping relation, the mobile terminal can access the transfer server through the public network domain name to acquire the information to be debugged;
step S308, debugging the mobile terminal according to the information to be debugged;
step S310, receiving an updating instruction;
step S312, adjusting the information to be debugged according to the updating instruction;
step S314, sending the adjusted information to be debugged to the transit server.
Specifically, the update of the information to be debugged, that is, the update of the service source code, is realized by receiving the update instruction and adjusting the information to be debugged according to the update instruction, and further, the adjusted information to be debugged is sent to the transfer server, so that the mobile terminal can obtain the updated service source code from the transfer server through the IP address, and the update of the service source code is realized.
Example 4
As shown in fig. 4, the debugging method according to an embodiment of the present invention defines:
step S402, determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server;
step S404, establishing a mapping relation between a local Internet protocol and a transit server;
step S406, according to the mapping relation, the mobile terminal can access the transfer server through the public network domain name to acquire the information to be debugged;
step S408, debugging the mobile terminal according to the information to be debugged;
step S410, receiving an updating instruction;
step S412, adjusting the information to be debugged according to the updating instruction;
step S414, sending the adjusted information to be debugged to a transfer server;
step S416, detecting the information to be debugged which is received by the transit server and is adjusted;
step S418, determining whether an adjustment amount between the adjusted information to be debugged and the adjusted information to be debugged is smaller than an adjustment threshold, if so, executing step S422, otherwise, executing step S420;
step S420, deleting the adjusted information to be debugged;
step S422 stores the adjusted information to be debugged in the transit server.
Specifically, detecting information to be debugged, which is received by the transit server and adjusted; judging whether the adjustment amount between the adjusted information to be debugged and the adjusted information to be debugged is smaller than an adjustment threshold value or not, and generating a judgment result; if the result is yes, the mobile terminal does not finish debugging all the information to be debugged, the debugging action needs to be continued, and the adjusted information to be debugged is stored in the transfer server, so that the mobile terminal can conveniently acquire the adjusted information to be debugged through the transfer server and continue debugging and previewing actions, and continuous updating of the service source code is realized; and if not, the mobile terminal finishes debugging all the information to be debugged, and deletes the adjusted information to be debugged to stop the debugging preview action.
Example 5
In addition to the features of any of the embodiments above, further defined are:
adjusting the information to be debugged according to the new instruction specifically includes: the method comprises the steps of modifying information to be debugged, adding the information to be debugged, deleting one or more combinations of the information to be debugged, adjusting the information to be debugged according to different requirements, and debugging the mobile terminal according to the information to be debugged after the mobile terminal acquires the adjusted information to be debugged so as to increase or reduce or change the function of at least one original function.
Example 6
As shown in fig. 5, the debugging method according to an embodiment of the present invention specifically includes the following steps:
step S502, determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server;
step S504, establish the mapping relation between the local Internet protocol and the transit server;
step S506, according to the mapping relation, determining a public network domain name and a port corresponding to the transfer server;
step S508, according to the port, through the public network domain name visit the transit server;
and step S510, debugging the mobile terminal according to the information to be debugged.
Specifically, the mobile terminal determines a public network domain name and a port corresponding to the transfer server, and information exchange between the mobile terminal and the transfer server is realized through the port, so that the mobile terminal accesses the transfer server through the public network domain name and acquires information to be adjusted.
Example 7
As shown in fig. 6, the debugging method according to an embodiment of the present invention specifically includes the following steps:
step S602, determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server;
step S604, establishing a mapping relation between a local Internet protocol and a transit server;
step S606, according to the mapping relation, determining the encryption information corresponding to the public network domain name;
step S608, access the transit server by decrypting the encrypted information to obtain the information to be debugged;
and step S610, debugging the mobile terminal according to the information to be debugged.
Specifically, the security of the information to be adjusted is improved by determining the encrypted information corresponding to the public network domain name and decrypting the encrypted information to access the transfer server to obtain the information to be debugged, and the situation that an unauthorized client accesses the transfer server through the public network domain name to obtain the information to be adjusted is avoided, so that the copyright of the information to be adjusted is maintained.
Example 8
In addition to the features of any of the embodiments above, further defined are:
the information to be debugged is a service source code, and the service source code can be accessed through a uniform resource positioning system, namely, the mobile terminal accesses a standard resource address on the internet to acquire the service source code, so that the convenience of acquiring the service source code by the mobile terminal is improved.
Example 9
As shown in fig. 7, a computer apparatus 1 according to an embodiment of the present invention includes: a memory 12, a processor 14 and a computer program stored on the memory 12 and executable on the processor 14, the steps of the debugging method of any of the above embodiments being implemented when the computer program is executed by the processor 14.
Specifically, the computer device may be an intelligent device such as a computer, a mobile phone, an intelligent sound box, an intelligent household appliance, and the like.
Example 10
Yet another embodiment of the present invention provides a computer-readable storage medium defining:
the computer readable storage medium stores a computer program, and the computer program, when executed by the processor, implements the steps of the debugging method in any of the embodiments, thereby achieving the technical effects of the debugging method in any of the embodiments, which are not described herein again.
Example 11
A specific embodiment of the present invention provides a method for previewing a mobile development live machine debugging, which specifically includes the following steps:
step 1, establishing a forward proxy service, uploading a service source code (namely to-be-debugged information) to a proxy service (namely a transit server), and accessing by a Uniform Resource Locator (URL) (namely a public network domain name); step 3, building a reverse proxy service, and performing associated mapping on the local node service and the reverse proxy service in a form of adding an ip address (namely a local internet protocol) and a port, wherein the local node service can be accessed by accessing the reverse proxy service through a URL (uniform resource locator); and step 3, providing a bearing APP (application) for debugging and previewing (namely, native function), and calling native function API of the real machine, such as a camera, Bluetooth and the like.
According to the debugging method provided by the invention, hot loading of the service source code is realized, the mobile terminal can verify debugging preview in real time through the transit server, and construction and installation operations do not need to be repeatedly executed after the service source code is updated, so that the debugging preview efficiency of the mobile terminal is improved.
Further, it will be understood that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A debugging method, comprising:
determining information to be debugged corresponding to the mobile terminal, and sending the information to be debugged to a transfer server;
establishing a mapping relation between a local internet protocol and the transfer server;
according to the mapping relation, the mobile terminal can access the transfer server through a public network domain name to acquire the information to be debugged;
and debugging the mobile terminal according to the information to be debugged.
2. The debugging method according to claim 1, wherein the determining information to be debugged corresponding to the mobile terminal specifically comprises:
determining at least one native function in the mobile terminal;
information to be debugged corresponding to the at least one native function is determined.
3. The debugging method according to claim 1, further comprising:
receiving an updating instruction;
adjusting the information to be debugged according to the updating instruction;
and sending the adjusted information to be debugged to the transfer server.
4. The debugging method according to claim 3, further comprising:
detecting the information to be debugged which is received by the transfer server and is adjusted;
judging whether the adjustment amount between the adjusted information to be debugged and the adjusted information to be debugged is smaller than an adjustment threshold value or not, and generating a judgment result;
and if the judgment result is yes, storing the adjusted information to be debugged in the transit server, otherwise, deleting the adjusted information to be debugged.
5. The debugging method according to claim 3, wherein the adjusting the information to be debugged according to the update instruction specifically comprises:
modifying the information to be debugged according to the updating instruction; and/or
Increasing the information to be debugged according to the updating instruction; and/or
And deleting the information to be debugged according to the updating instruction.
6. The debugging method according to claim 1, wherein the mobile terminal can access the transit server through a public network domain name, specifically comprising:
determining a public network domain name and a port corresponding to the transit server;
and accessing the transfer server through the public network domain name according to the port.
7. The debugging method according to claim 1, wherein the mobile terminal can access the transit server through a public network domain name, specifically comprising:
determining encryption information corresponding to the public network domain name;
and accessing the transit server by decrypting the encrypted information to acquire the information to be debugged.
8. The debugging method of claim 1, wherein the information to be debugged is service source code, and the service source code is accessible through a uniform resource locator system.
9. A test development device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the debugging method according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the debugging method according to one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911302158.3A CN111049912A (en) | 2019-12-17 | 2019-12-17 | Debugging method, test development device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911302158.3A CN111049912A (en) | 2019-12-17 | 2019-12-17 | Debugging method, test development device, and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111049912A true CN111049912A (en) | 2020-04-21 |
Family
ID=70235227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911302158.3A Pending CN111049912A (en) | 2019-12-17 | 2019-12-17 | Debugging method, test development device, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111049912A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094278A (en) * | 2021-04-23 | 2021-07-09 | Tcl通讯(宁波)有限公司 | Debugging method, device and equipment of mobile terminal and computer readable storage medium |
US20230244467A1 (en) * | 2022-02-03 | 2023-08-03 | Red Hat, Inc. | Reducing the size of image files usable for deploying software in computing environments |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202424835U (en) * | 2012-02-20 | 2012-09-05 | 苏州朗昇通信科技有限公司 | Debugging device and debugging system |
CN102902618A (en) * | 2011-07-28 | 2013-01-30 | 华为技术有限公司 | Method and device for developing and debugging application programs of mobile equipment |
CN103049375A (en) * | 2012-12-07 | 2013-04-17 | 广东欧珀移动通信有限公司 | Camera online debugging method |
CN103607587A (en) * | 2013-11-29 | 2014-02-26 | 深圳创维-Rgb电子有限公司 | Debugging method and system for video terminal |
CN103902358A (en) * | 2014-03-18 | 2014-07-02 | 北京领通科技有限公司 | Mobile terminal remote debugging method and system and mobile terminal |
US20140237296A1 (en) * | 2013-02-19 | 2014-08-21 | Audible, Inc. | Architecture for remote access to content state |
CN105653448A (en) * | 2015-12-25 | 2016-06-08 | 深圳中兴网信科技有限公司 | Application debugging method, application debugging device and terminal |
CN105786691A (en) * | 2014-12-25 | 2016-07-20 | 重庆重邮信科通信技术有限公司 | Automatic integration testing device, method and system of mobile terminal |
CN106021101A (en) * | 2016-05-16 | 2016-10-12 | 北京奇虎科技有限公司 | Method and device for testing mobile terminal |
US20160357657A1 (en) * | 2015-06-03 | 2016-12-08 | Fengwei Zhang | Methods and Systems for Increased Debugging Transparency |
CN107342910A (en) * | 2017-04-20 | 2017-11-10 | 上海斐讯数据通信技术有限公司 | Simulate automated testing method and instrument that multi-user carries out network access |
US20180005153A1 (en) * | 2016-06-29 | 2018-01-04 | Microsoft Technology Licensing, Llc | Automated assignment of errors in deployed code |
CN107678938A (en) * | 2017-08-24 | 2018-02-09 | 阿里巴巴集团控股有限公司 | The adjustment method and equipment of a kind of application program |
CN107861875A (en) * | 2017-11-15 | 2018-03-30 | 北京中电普华信息技术有限公司 | A kind of analogy method and system for mixing Mobile solution |
CN107870835A (en) * | 2017-10-25 | 2018-04-03 | 深圳市艾特智能科技有限公司 | Hardware adjustment method, system, readable storage medium storing program for executing and intelligent terminal |
CN108574604A (en) * | 2017-03-07 | 2018-09-25 | 北京京东尚科信息技术有限公司 | test method and device |
CN109344065A (en) * | 2018-09-27 | 2019-02-15 | 迈普通信技术股份有限公司 | Remote debugging method, debugging server and target machine |
CN109542754A (en) * | 2017-09-22 | 2019-03-29 | 阿里巴巴集团控股有限公司 | The cut-in method of mobile device, the adjustment method of application program, device and system |
CN109729345A (en) * | 2018-12-28 | 2019-05-07 | 上海龙旗科技股份有限公司 | Camera artificial debugging test method and equipment |
CN109800173A (en) * | 2019-01-28 | 2019-05-24 | 腾讯科技(深圳)有限公司 | Program debugging method, device and storage medium |
CN109992284A (en) * | 2019-03-29 | 2019-07-09 | 北京金山安全软件有限公司 | Method and device for providing hot update program and electronic equipment |
CN110138833A (en) * | 2019-04-12 | 2019-08-16 | 中国平安人寿保险股份有限公司 | Method for rapidly debugging, device, medium and the equipment of React Native module in APP |
-
2019
- 2019-12-17 CN CN201911302158.3A patent/CN111049912A/en active Pending
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902618A (en) * | 2011-07-28 | 2013-01-30 | 华为技术有限公司 | Method and device for developing and debugging application programs of mobile equipment |
CN202424835U (en) * | 2012-02-20 | 2012-09-05 | 苏州朗昇通信科技有限公司 | Debugging device and debugging system |
CN103049375A (en) * | 2012-12-07 | 2013-04-17 | 广东欧珀移动通信有限公司 | Camera online debugging method |
US20140237296A1 (en) * | 2013-02-19 | 2014-08-21 | Audible, Inc. | Architecture for remote access to content state |
CN103607587A (en) * | 2013-11-29 | 2014-02-26 | 深圳创维-Rgb电子有限公司 | Debugging method and system for video terminal |
CN103902358A (en) * | 2014-03-18 | 2014-07-02 | 北京领通科技有限公司 | Mobile terminal remote debugging method and system and mobile terminal |
CN105786691A (en) * | 2014-12-25 | 2016-07-20 | 重庆重邮信科通信技术有限公司 | Automatic integration testing device, method and system of mobile terminal |
US20160357657A1 (en) * | 2015-06-03 | 2016-12-08 | Fengwei Zhang | Methods and Systems for Increased Debugging Transparency |
CN105653448A (en) * | 2015-12-25 | 2016-06-08 | 深圳中兴网信科技有限公司 | Application debugging method, application debugging device and terminal |
CN106021101A (en) * | 2016-05-16 | 2016-10-12 | 北京奇虎科技有限公司 | Method and device for testing mobile terminal |
US20180005153A1 (en) * | 2016-06-29 | 2018-01-04 | Microsoft Technology Licensing, Llc | Automated assignment of errors in deployed code |
CN108574604A (en) * | 2017-03-07 | 2018-09-25 | 北京京东尚科信息技术有限公司 | test method and device |
CN107342910A (en) * | 2017-04-20 | 2017-11-10 | 上海斐讯数据通信技术有限公司 | Simulate automated testing method and instrument that multi-user carries out network access |
CN107678938A (en) * | 2017-08-24 | 2018-02-09 | 阿里巴巴集团控股有限公司 | The adjustment method and equipment of a kind of application program |
CN109542754A (en) * | 2017-09-22 | 2019-03-29 | 阿里巴巴集团控股有限公司 | The cut-in method of mobile device, the adjustment method of application program, device and system |
CN107870835A (en) * | 2017-10-25 | 2018-04-03 | 深圳市艾特智能科技有限公司 | Hardware adjustment method, system, readable storage medium storing program for executing and intelligent terminal |
CN107861875A (en) * | 2017-11-15 | 2018-03-30 | 北京中电普华信息技术有限公司 | A kind of analogy method and system for mixing Mobile solution |
CN109344065A (en) * | 2018-09-27 | 2019-02-15 | 迈普通信技术股份有限公司 | Remote debugging method, debugging server and target machine |
CN109729345A (en) * | 2018-12-28 | 2019-05-07 | 上海龙旗科技股份有限公司 | Camera artificial debugging test method and equipment |
CN109800173A (en) * | 2019-01-28 | 2019-05-24 | 腾讯科技(深圳)有限公司 | Program debugging method, device and storage medium |
CN109992284A (en) * | 2019-03-29 | 2019-07-09 | 北京金山安全软件有限公司 | Method and device for providing hot update program and electronic equipment |
CN110138833A (en) * | 2019-04-12 | 2019-08-16 | 中国平安人寿保险股份有限公司 | Method for rapidly debugging, device, medium and the equipment of React Native module in APP |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094278A (en) * | 2021-04-23 | 2021-07-09 | Tcl通讯(宁波)有限公司 | Debugging method, device and equipment of mobile terminal and computer readable storage medium |
CN113094278B (en) * | 2021-04-23 | 2024-01-02 | 光环云数据有限公司 | Method, device, equipment and computer readable storage medium for debugging mobile terminal |
US20230244467A1 (en) * | 2022-02-03 | 2023-08-03 | Red Hat, Inc. | Reducing the size of image files usable for deploying software in computing environments |
US11928452B2 (en) * | 2022-02-03 | 2024-03-12 | Red Hat, Inc. | Reducing the size of image files usable for deploying software in computing environments |
US20240176608A1 (en) * | 2022-02-03 | 2024-05-30 | Red Hat, Inc. | Reducing the size of image files usable for deploying software in computing environments |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110677405B (en) | Data processing method and device, electronic equipment and storage medium | |
CN112839334B (en) | Information verification method and related equipment | |
WO2017129016A1 (en) | Resource access method, apparatus and system | |
CN102761856B (en) | Terminal room shares the methods, devices and systems of software | |
CN113891302A (en) | Method, device and network entity for ending subscription | |
CN101998227B (en) | Service routing method, device and system | |
CN107172070B (en) | Resource access processing method and device | |
CN109510738B (en) | Communication link test method and device | |
CN113709530B (en) | Resource downloading method, system, electronic equipment and storage medium | |
US20170270561A1 (en) | Method, terminal and server for monitoring advertisement exhibition | |
CN113961463A (en) | Application environment switching method and system, storage medium and electronic equipment | |
CN111049912A (en) | Debugging method, test development device, and computer-readable storage medium | |
CN104219626A (en) | Identity authentication method and device | |
CN112231674A (en) | A kind of URL address jump verification method, system and electronic device | |
CN109495319B (en) | Method, device and equipment for determining fault information of CDN node | |
CN115334356A (en) | Video playing method and system, video security platform and communication equipment | |
CN110661777A (en) | Data transmission method and system | |
CN114867003B (en) | Cross-network request method, system, device, equipment and storage medium | |
CN109729043B (en) | Method, device and system for preventing attack message | |
KR101874815B1 (en) | Method for examining change of dns address and terminal apparatus for the same | |
CN111611577B (en) | Authentication method, authentication device, authentication system, electronic equipment and computer readable storage medium | |
JP6455178B2 (en) | Information processing apparatus and information processing program | |
CN110348552B (en) | Jumper addressing method and device, scanner and storage medium | |
CN112565155B (en) | Data processing method, device, equipment and storage medium | |
CN112837019A (en) | Method, device and device for pushing express track data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200421 |