CN111162960B - Method and server for starting debugging panel - Google Patents

Method and server for starting debugging panel Download PDF

Info

Publication number
CN111162960B
CN111162960B CN201911222147.4A CN201911222147A CN111162960B CN 111162960 B CN111162960 B CN 111162960B CN 201911222147 A CN201911222147 A CN 201911222147A CN 111162960 B CN111162960 B CN 111162960B
Authority
CN
China
Prior art keywords
application
link
terminal equipment
sending
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.)
Active
Application number
CN201911222147.4A
Other languages
Chinese (zh)
Other versions
CN111162960A (en
Inventor
胡伟韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alipay Labs Singapore Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Labs Singapore Pte Ltd filed Critical Alipay Labs Singapore Pte Ltd
Priority to CN201911222147.4A priority Critical patent/CN111162960B/en
Publication of CN111162960A publication Critical patent/CN111162960A/en
Application granted granted Critical
Publication of CN111162960B publication Critical patent/CN111162960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the specification discloses a method and a server for starting a debugging panel. One embodiment of the present specification provides a method for starting a debug panel, including: generating a link for launching a debugging panel of an application; and issuing the link to the equipment where the application is located through at least one sending mode so that a user can start the debugging panel of the application through the link, wherein the sending mode comprises the following steps: system message pushing, TCP long connection and short message.

Description

Method and server for starting debugging panel
Technical Field
The present description relates to the field of computer technology, and more particularly, to a method and a server for starting a debug panel.
Background
In the online operation process of an APP (application), the running condition of the APP often needs to be monitored and debugged, a debugging panel often needs to be displayed to a user in the monitoring and debugging process, and the user can perform performance monitoring, report problems and other debugging and monitoring related functions through the debugging panel.
Some APPs can be with the setting of debugging panel on APP's function option, and when the user clicked debugging/when debugging panel function option, the APP can pop out the debugging panel, supplies the user to carry out debugging work. However, for some APPs or for the online testing phase before the APPs are formally online, it may be desirable for the debug panel to be hidden from view, such as the interface layout of the application. Therefore, a new starting method for the debugging panel is needed.
Disclosure of Invention
Embodiments disclosed herein provide a new scheme for launching a debug panel.
According to a first aspect of the present disclosure, there is provided a method of starting a debug panel, comprising:
generating a link for launching a debugging panel of an application;
and issuing the link to the terminal equipment where the application is located through at least one sending mode so that a user can start the debugging panel of the application through the link, wherein the sending mode comprises the following steps: system message push, TCP long connection and short message.
Optionally or preferably, the Link is a schema Link or a Universal Link.
Optionally or preferably, the issuing the link to the terminal device through at least one sending method includes:
detecting at least one of a network condition of the terminal equipment, an operation state of the application and a system message pushing authority of the application, wherein the operation state of the application comprises closing, foreground operation and background operation;
and selecting at least one sending mode according to the detection result and sending the link to the terminal equipment where the application is located.
Optionally or preferably, the issuing the link to the terminal device through at least one sending method includes:
detecting the network condition of the terminal equipment;
and if the network condition of the terminal equipment is poor, the link is sent to the terminal equipment in a short message mode.
Optionally or preferably, the issuing the link to the terminal device by at least one sending method includes:
detecting the network condition of the terminal equipment and the running state of the application, wherein the running state of the application comprises closing, foreground running and background running;
and if the network condition of the terminal equipment is good and the application is in a foreground running state, issuing the link to the terminal equipment in a TCP long connection mode.
Optionally or preferably, the issuing the link to the terminal device by at least one sending method includes:
detecting the network condition of the terminal equipment and the system message pushing authority of the application;
and if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
Optionally or preferably, before generating the link, further comprising:
monitoring the running condition of the application;
and if the running of the application has a problem, generating the link.
Optionally or preferably, before generating the link, the method further comprises:
receiving question feedback of a user for the application;
the link is generated after receiving question feedback of a user to the application.
According to a second aspect disclosed in the present specification, there is provided a server including a link generating module and a link transmitting module;
the link generation module is used for generating a link of a debugging panel for starting an application;
the link sending module is configured to issue the link to the terminal device where the application is located through at least one sending method, so that a user can start the debugging panel of the application through the link, where the sending method includes: system message pushing, TCP long connection and short message.
Optionally or preferably, the Link is a schema Link or a Universal Link.
Optionally or preferably, the issuing the link to the terminal device by at least one sending method includes:
detecting at least one of a network condition of the terminal equipment, an operation state of the application and a system message pushing authority of the application, wherein the operation state of the application comprises closing, foreground operation and background operation;
and selecting at least one sending mode according to the detection result and sending the link to the terminal equipment where the application is located.
Optionally or preferably, the issuing the link to the terminal device by at least one sending method includes:
detecting the network condition of the terminal equipment;
and if the network condition of the terminal equipment is poor, the link is sent to the terminal equipment in a short message mode.
Optionally or preferably, the issuing the link to the terminal device by at least one sending method includes:
detecting the network condition of the terminal equipment and the running state of the application, wherein the running state of the application comprises closing, foreground running and background running;
and if the network condition of the terminal equipment is good and the application is in a foreground running state, issuing the link to the terminal equipment in a TCP long connection mode.
Optionally or preferably, the issuing the link to the terminal device through at least one sending method includes:
detecting the network condition of the terminal equipment and the system message pushing authority of the application;
and if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
According to a third aspect of the disclosure, there is provided a server comprising a memory and a processor, the memory having stored therein a computer program, the computer program, when executed by the processor, performing the method of any one of the preceding claims.
Features of embodiments of the present specification and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the embodiments of the specification.
FIG. 1 is a schematic diagram of an application system provided by one embodiment of the present description;
FIG. 2 is a flow diagram of a method for launching a debug panel provided by one embodiment of the present description;
FIG. 3 is a flow diagram of a method for launching a debug panel as provided by one embodiment of the present specification;
FIG. 4 is a flow diagram of a method for launching a debug panel provided by one embodiment of the present description;
FIG. 5 is a block diagram of a server provided by one embodiment of the present description;
FIG. 6 is a block diagram of a server provided in one embodiment of the present description.
Detailed Description
Various exemplary embodiments of the present specification will now be described in detail with reference to the accompanying drawings.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the embodiments, their application, or uses.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< application System >
Fig. 1 is a block diagram of an application system provided in an embodiment of the present specification. As shown in fig. 1, the system includes a server 101, a network 102, and a terminal device 103. The server 101 and the terminal device 103 are communicatively connected via a network 102. There may be one or more terminal devices 103, and a plurality of terminal devices 103 are shown in the figure. Of course, the server 101 may also be directly connected to the terminal device 103.
The configuration of the server 101 may include, but is not limited to, a processor 1011, a memory 1012, an interface device 1013, a communication device 1014, an input device 1015, an output device 1016. The processor 1011 may include, but is not limited to, a central processing unit CPU, a microprocessor MCU, or the like. The memory 1012 may include, but is not limited to, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. Interface device 1013 may include, but is not limited to, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1014 is capable of wired or wireless communication, for example, and may specifically include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. Input devices 1015 include, but are not limited to, a keyboard, a mouse, a touch screen, a microphone, and the like. Output devices 1016 include, but are not limited to, a display screen, speakers, etc. The configuration of the server 101 may include only some of the above devices.
The terminal device 103 may be, for example, an electronic device installed with an intelligent operating system (e.g., android, IOS, windows, linux, etc.) including, but not limited to, a laptop, a desktop computer, a mobile phone, a tablet computer, etc. Configurations of terminal equipment 103 include, but are not limited to, processor 1031, memory 1032, interface device 1033, communication device 1034, GPU 1035, display device 1036, input device 1037, speaker 1038, microphone 1039, and camera 1030. The processor 1031 includes, but is not limited to, a central processing unit CPU, a microprocessor MCU, and the like. The memory 1032 includes, but is not limited to, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. Interface device 1033 includes, but is not limited to, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1034 may be capable of wired or wireless communication, for example, and may specifically include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The GPU 1035 is used to process the image. The display device 1036 includes, but is not limited to, a liquid crystal screen, a touch screen, and the like. Input devices 1037 include, but are not limited to, a keyboard, a mouse, a touch screen, and the like. The configuration of the terminal device 103 may include only some of the above-described apparatuses.
In an embodiment applied to this specification, a user may operate an Application (APP) loaded on terminal device 103, and terminal device 103 runs the application to implement a function required by the user. The server 101 provides background support and services for the application, and the terminal device 103 may need to interact with the server 101 during the process of running the application.
In one embodiment applied to the present specification, the server 101 may provide a role in monitoring and debugging of an application, and particularly, a role in starting a debugging panel of an application.
The application system shown in fig. 1 is merely illustrative and is in no way intended to limit the embodiments of this description, their application, or uses. It should be understood by those skilled in the art that although a plurality of devices of the server 101 and the terminal apparatus 103 are described in the foregoing, the embodiments of the present specification may refer to only some of the devices therein. For example, the server 101 may relate only to a processor, a memory and a communication device, and the terminal device 103 may relate only to a processor, a memory, a communication device, a display screen and a speaker. Those skilled in the art can design instructions based on the teachings disclosed herein. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
< method of starting debug Panel >
Referring to fig. 2, a method for starting a debug panel provided by an embodiment of the present specification includes steps 202 and 204 executed by a server.
This embodiment can be applied in an online testing phase before the formal online of the application, also known in the industry as the "gray-scale testing" phase. The gray level test is to select a specific crowd to try out for testing before a certain application is formally released so as to find and correct problems in the application in time. For example, the application is distributed to the terminal device of the application development tester for trial test, for example, the application is distributed to some other target group for trial test, and the application development tester and the target group belong to the users of the application. In another embodiment, the method of launching a debug panel may also be applied to applications that are already formally online.
Step 202, the server generates a link for launching a debug panel of the application.
The server can generate a link of a debugging panel for starting the application according to actual requirements.
In a specific example, the server monitors the running condition of the application on the terminal equipment in real time during the process of using the application by the user. If the running of the application has a problem, which indicates that the application needs to be debugged, the server generates a link for starting a debugging panel of the application.
In another specific example, the user may submit a question that occurred during the use of the application, for example, the user submits a question that occurred during the use of the application through a forum and leaves a user ID (Identity) of the user on the application, for example, the user submits a question that occurred during the use of the application through a question feedback interface of the application. After the user submits a problem that occurs during the use of the application, the server generates a link for starting a debugging panel of the application.
The above mentioned problems occurring in the application may be, for example, application crash, flash back, stuck, and the like, which is not limited in this specification.
In one embodiment, the Link used to launch the debug panel of the application may be a schema Link or a Universal Link, both of which may implement a function that invokes the application to jump to a specified page of the application. schema linking is a jump technique compatible with android and IOS systems, which can wake up a business interface of an application by defining url (Uniform resource Locator). Universal Link (Universal Link) is one of the properties of IOS 9, which has deep Link properties and can directly launch applications by opening an http Link.
And step 204, the server issues the link to the terminal equipment where the application is located through at least one sending mode, so that a user can start a debugging panel of the application through the link. The sending mode comprises the following steps: system message push, TCP (Transmission Control Protocol) long connection, short message. That is, the server may issue the link to the terminal device where the application is located through one or more of system message push, TCP long connection, and short message.
In a specific example, the server may send the link specifically to the terminal device where the application in question is located. In one specific example, the server may send the link specifically to the terminal device used by the user who submitted the question.
After the terminal device receives the link, steps 206 and 208 may be further included.
Step 206, the user clicks on the link, so that the application starts the debugging panel.
And step 208, debugging the application by operating the debugging panel by the user.
In a specific example, one or more virtual buttons are arranged on the debugging panel, and when a user clicks the virtual button, the behavior log, the performance monitoring log, the local cache file of the application, and the page content of the application with a problem can be uploaded to the server. In a specific example, a text box for inputting text by a user is further provided on the debugging panel, so that the user can input a detailed description of the problem. In a specific example, a virtual button is provided on the debugging panel, and a user may enter a debugging mode (e.g., a USB debugging mode) of the terminal device by clicking the virtual button, so as to modify and debug the application in this mode. These operations described above are all within the scope of debugging an application.
Referring to fig. 3, a method for starting a debug panel provided by an embodiment of the present specification includes steps 302, 304, and 306, which are performed by a server.
Step 302, the server generates a link for launching a debug panel of the application.
And step 304, the server selects at least one sending mode according to at least one of the network condition of the terminal equipment, the running state of the application and the system message pushing authority of the application and the detection result. The running states of the application comprise closing, foreground running and background running. The sending mode comprises system message pushing, TCP long connection and short messages.
And step 306, the server transmits the link to the terminal equipment where the application is located according to the selected transmission mode.
The embodiment shown in fig. 3 may further include steps 308, 310.
Step 308, the user clicks on the link, so that the application starts the debugging panel.
Step 310, the user debugs the application by operating the debugging panel.
The embodiment shown in fig. 3 is largely similar to the embodiment shown in fig. 2, with steps 302, 306, 308, 310 being similar to steps 202, 204, 206, 208. The difference is that the embodiment shown in fig. 3 further includes step 304, before the link is sent to the terminal device where the application is located, the selection needs to be made according to the sending mode.
Specifically, in step 304, the server selects at least one sending method according to at least one of the network status of the terminal device, the running status of the application, and the system message pushing authority of the application.
In a specific example, the server detects a network status of the terminal device, and if the network status of the terminal device is poor, the link is sent to the terminal device in a short message manner.
In a specific example, the server detects the network condition of the terminal device and the running state of the application. And if the network condition of the terminal equipment is good and the application is in a foreground running state, the link is issued to the terminal equipment in a TCP long connection mode.
In a specific example, the server detects the network condition of the terminal device and the system message pushing authority of the application. And if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
In a specific example, the server detects the network condition of the terminal device first, and if the network condition of the terminal device is poor, the link is directly sent to the terminal device in a short message mode; if the network condition of the terminal equipment is good, the running state of the application is further detected, and if the application is determined to be in the foreground running state, the link is issued to the terminal equipment in a TCP long connection mode; and if the application is further detected and determined to be in a closed state or a background running state, detecting the system message pushing authority of the application, if the application has the system message pushing authority, issuing the link to the terminal equipment in a system message pushing mode, and if the application does not have the system message pushing authority, issuing the link to the terminal equipment in a short message mode.
In the embodiment of the present specification, whether the network condition of the terminal device is good or bad is relatively, and various methods may be used to detect the network condition of the terminal device. For example, the server may send a handshake signal to the terminal device where the application is located, and if no corresponding feedback signal is received from the terminal device, it indicates that the network status of the terminal device is relatively poor, whereas if the server receives a corresponding feedback signal from the terminal device, it indicates that the network status of the terminal device is relatively good. For example, when the application is in the running state, a heartbeat packet is periodically sent to the server, and when the heartbeat packet received by the server is delayed or lost, the network state of the terminal device is relatively poor.
In an embodiment of the present specification, if the server detects that a long TCP connection between the server and the application is maintained, the application is in a foreground running state, and otherwise, if the TCP connection between the server and the application is disconnected, the application is in a background running state or a closed state. In one embodiment of this specification, the server may roughly determine whether the application is in a closed state according to an online condition of the user ID, and determine that the application is in the closed state if the user ID is not online.
The system message pushing authority of the application is generally set by a user, and after the user sets the authority of the application each time, the server receives a corresponding notice and updates and stores the authority allowed by the user into a database. In one embodiment of the present specification, the server may determine whether the application has system push authority by querying a corresponding database.
Referring to fig. 4, in the method for starting a debug panel provided in an embodiment of the present specification, a server issues the connection, and an application starts a process of starting the debug panel. Fig. 4 shows 3 specific examples.
Example 1: and if the network condition of the terminal equipment is poor, selecting to use a short message mode to send the link to the terminal equipment.
Through the SMS mode, the process of starting the debugging panel includes:
step 402, the server sends a short message to the terminal equipment, wherein the short message contains the link.
Step 404, after the terminal device receives the short message, the user clicks the link in the short message.
And 406, the terminal equipment analyzes the link and jumps to the application according to the analysis result. In the process, if the application is originally closed or runs in the background, the application is called by the terminal device, namely the application enters a foreground running state.
Step 408, the application further parses the link, and starts the debug panel, i.e. opens the originally hidden debug panel.
Example 2: and if the network condition of the terminal equipment is good and the application is in a foreground running state, the server issues the link to the terminal equipment in a TCP long connection mode.
Through the long connection mode of TCP, the process of starting the debugging panel comprises the following steps:
step 502, the server issues the link to the application through the long connection of the TCP.
Step 504, the application parses the link, and starts the debugging panel according to the parsing result, that is, opens the originally hidden debugging panel.
Example 3: and if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
Through a system message pushing mode, the process of starting the debugging panel comprises the following steps:
step 602, the server sends a system push message to the terminal device, wherein the system message contains the link.
Step 604, after the terminal device receives the system push message, the user clicks the link in the system push message.
And 606, the terminal equipment analyzes the link and skips to the application according to the analysis result. In the process, if the application is originally closed or runs in the background, the application is called by the terminal device, namely the application enters a foreground running state.
Step 608, the application further parses the link, and starts the debug panel, i.e., opens the originally hidden debug panel.
By the method provided by one embodiment of the specification, the debugging panel of the application can be started in a link issuing mode, and a new scheme for starting the debugging panel of the application is provided. By using the method provided by one embodiment of the specification, the debugging panel of the application can be hidden. By the method provided by one embodiment of the specification, the debugging panel of the application can be prevented from being aroused by misoperation of a user. By the method provided by one embodiment of the specification, the debugging panel of the application can be started by adopting multiple sending ways, and the success rate of starting the debugging panel is improved. By the method provided by one embodiment of the specification, the debugging efficiency of the application can be guaranteed. By the method provided by one embodiment of the specification, the effect of reducing operation steps when a user debugs an application can be achieved. By the method provided by one embodiment of the specification, the effect of reporting the problem site in real time can be achieved.
< Server >
Fig. 5 is a schematic diagram of a server 900 provided in one embodiment of the present specification, where the server 900 includes the following link generation module 901 and link transmission module 902.
A link generating module 901, configured to generate a link for starting a debugging panel of an application.
A link sending module 902, configured to send the link to a terminal device where the application is located through at least one sending method, so that a user can start a debugging panel of the application through the link. The sending mode comprises the following steps: system message push, TCP long connection and short message.
In a specific example, the Link may be a schema Link or a Universal Link.
In a specific example, the issuing the link to the terminal device through at least one sending method includes: and detecting at least one of a network condition of the terminal equipment, an operation state of the application and a system message push authority of the application. The running states of the application comprise closing, foreground running and background running. And selecting at least one sending mode according to the detection result and sending the link to the terminal equipment where the application is located.
In a specific example, the issuing the link to the terminal device by at least one sending method includes: and detecting the network condition of the terminal equipment. And if the network condition of the terminal equipment is poor, the link is sent to the terminal equipment in a short message mode.
In a specific example, the issuing the link to the terminal device through at least one sending method includes: and detecting the network condition of the terminal equipment and the running state of the application. The running states of the application comprise closing, foreground running and background running. And if the network condition of the terminal equipment is good and the application is in a foreground running state, the link is issued to the terminal equipment in a TCP long connection mode.
In a specific example, the issuing the link to the terminal device by at least one sending method includes: and detecting the network condition of the terminal equipment and the system message pushing authority of the application. And if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
The server provided by one embodiment of the present specification can start the debugging panel of the application by issuing the link, and provides a new scheme for starting the debugging panel of the application. By using the server provided by one embodiment of the specification, the debugging panel of the application can be hidden. By the server provided by one embodiment of the specification, a user can be prevented from mistakenly operating a debugging panel of the calling application. The server provided by one embodiment of the specification can adopt a plurality of sending ways to start the debugging panel of the application, and the success rate of starting the debugging panel is improved. By the server provided by one embodiment of the specification, the debugging efficiency of the application can be guaranteed. Through the server provided by one embodiment of the specification, the effect of reducing the operation steps when the user debugs the application can be achieved. The server provided by one embodiment of the specification can achieve the effect of reporting the problem site in real time.
< Server >
Fig. 6 is a schematic diagram of a server 800 provided by an embodiment of the present description, the server 800 including a memory 802 and a processor 801.
The memory 802 stores therein a computer program which, when executed by the processor 801, implements the portion of the method for starting a debug panel disclosed in any of the foregoing embodiments, which is executed by the server.
The server provided by an embodiment of the present specification can start the debugging panel of the application by issuing the link, and provides a new scheme for starting the debugging panel of the application. By using the server provided by one embodiment of the specification, the debugging panel of the application can be hidden. Through the server provided by one embodiment of the specification, the debugging panel of the application can be prevented from being aroused by misoperation of a user. The server provided by one embodiment of the specification can adopt a plurality of sending ways to start the debugging panel of the application, and the success rate of starting the debugging panel is improved. By the server provided by one embodiment of the specification, the debugging efficiency of the application can be guaranteed. Through the server provided by one embodiment of the specification, the effect of reducing the operation steps when the user debugs the application can be achieved. The server provided by one embodiment of the specification can achieve the effect of reporting the problem site in real time.
< computer-readable Medium >
An embodiment of the present specification further provides a computer readable medium, on which a computer program is stored, which when executed by a processor implements the part of the method for starting a debug panel disclosed in any of the foregoing embodiments, the part being executed by a server.
Another embodiment of the present specification further provides a computer readable medium, on which a computer program is stored, which when executed by a processor implements the part of the method for starting a debug panel disclosed in any of the foregoing embodiments, the part being executed by a terminal device.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the server embodiment, since it is substantially similar to the method embodiment, the description is simple, and for relevant points, reference may be made to part of the description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Embodiments of the present description may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement aspects of embodiments of the specification.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations for embodiments of the present description may be assembly instructions, instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry can execute computer-readable program instructions to implement various aspects of embodiments of the specification by personalizing, with state information of the computer-readable program instructions, a custom electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Aspects of embodiments of the present specification are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
The foregoing description of the embodiments of the present specification has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope of the described embodiments. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (13)

1. A method of launching a debug panel, comprising:
determining whether debugging of the application is required; wherein the determining whether the application needs to be debugged comprises: when monitoring that the running of the application has a problem or when receiving problem feedback of a user to the application, determining that the application needs to be debugged;
under the condition that the application needs to be debugged, generating a link for starting a debugging panel of the application;
and issuing the link to the terminal equipment where the application is located through at least one sending mode so that a user can start the debugging panel of the application through the link, wherein the sending mode comprises the following steps: system message pushing, TCP long connection and short message.
2. The method of claim 1, wherein the link is a schema link or a universal link.
3. The method of claim 1, wherein the sending the link to the terminal device by at least one sending method comprises:
detecting at least one of a network condition of the terminal equipment, an operation state of the application and a system message pushing authority of the application, wherein the operation state of the application comprises closing, foreground operation and background operation;
and selecting at least one sending mode according to the detection result and sending the link to the terminal equipment where the application is located.
4. The method of claim 1, wherein issuing the link to the terminal device via at least one sending method comprises:
detecting the network condition of the terminal equipment;
and if the network condition of the terminal equipment is poor, the link is sent to the terminal equipment in a short message mode.
5. The method of claim 1, wherein issuing the link to the terminal device via at least one sending method comprises:
detecting the network condition of the terminal equipment and the running state of the application, wherein the running state of the application comprises closing, foreground running and background running;
and if the network condition of the terminal equipment is good and the application is in a foreground running state, issuing the link to the terminal equipment in a TCP long connection mode.
6. The method of claim 1, wherein the sending the link to the terminal device by at least one sending method comprises:
detecting the network condition of the terminal equipment and the system message pushing authority of the application;
and if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
7. A server comprises a link generation module and a link sending module;
the link generation module is used for determining whether the application needs to be debugged; wherein the determining whether the application needs to be debugged comprises: when monitoring that the running of the application has a problem or when receiving problem feedback of a user to the application, determining that the application needs to be debugged; under the condition that the application needs to be debugged, generating a link for starting a debugging panel of the application;
the link sending module is configured to issue the link to the terminal device where the application is located through at least one sending method, so that a user can start the debugging panel of the application through the link, where the sending method includes: system message pushing, TCP long connection and short message.
8. The server of claim 7, the link being a schema link or a universal link.
9. The server of claim 7, wherein the sending the link to the terminal device through at least one sending method comprises:
detecting at least one of a network condition of the terminal equipment, an operation state of the application and a system message pushing authority of the application, wherein the operation state of the application comprises closing, foreground operation and background operation;
and selecting at least one sending mode according to the detection result and sending the link to the terminal equipment where the application is located.
10. The server of claim 7, wherein the sending the link to the terminal device through at least one sending method comprises:
detecting the network condition of the terminal equipment;
and if the network condition of the terminal equipment is poor, the link is sent to the terminal equipment in a short message mode.
11. The server according to claim 7, wherein the link is issued to the terminal device by at least one sending method, which includes:
detecting the network condition of the terminal equipment and the running state of the application, wherein the running state of the application comprises closing, foreground running and background running;
and if the network condition of the terminal equipment is good and the application is in a foreground running state, issuing the link to the terminal equipment in a TCP long connection mode.
12. The server according to claim 7, wherein the link is issued to the terminal device by at least one sending method, which includes:
detecting the network condition of the terminal equipment and the system message pushing authority of the application;
and if the network condition of the terminal equipment is good and the application has the system message pushing authority, the link is issued to the terminal equipment in a system message pushing mode.
13. A server comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, implements the method of any of claims 1-6.
CN201911222147.4A 2019-12-03 2019-12-03 Method and server for starting debugging panel Active CN111162960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911222147.4A CN111162960B (en) 2019-12-03 2019-12-03 Method and server for starting debugging panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911222147.4A CN111162960B (en) 2019-12-03 2019-12-03 Method and server for starting debugging panel

Publications (2)

Publication Number Publication Date
CN111162960A CN111162960A (en) 2020-05-15
CN111162960B true CN111162960B (en) 2022-12-02

Family

ID=70556344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911222147.4A Active CN111162960B (en) 2019-12-03 2019-12-03 Method and server for starting debugging panel

Country Status (1)

Country Link
CN (1) CN111162960B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947969B (en) * 2021-03-10 2022-12-16 支付宝(杭州)信息技术有限公司 Page off-screen rendering method, device, equipment and readable medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967542A (en) * 2015-06-23 2015-10-07 深圳市腾讯计算机系统有限公司 Mobile end page testing method, device and system
CN105204875A (en) * 2014-06-11 2015-12-30 腾讯科技(深圳)有限公司 Native function calling method and system of webpage
CN107180177A (en) * 2016-03-10 2017-09-19 阿里巴巴集团控股有限公司 The method and apparatus for obtaining user profile
CN107360214A (en) * 2017-06-19 2017-11-17 努比亚技术有限公司 A kind of message push processing method, message sink processing method and processing device
CN107918583A (en) * 2016-10-09 2018-04-17 腾讯科技(深圳)有限公司 A kind of script dynamic modulation, device and terminal
CN108076123A (en) * 2016-11-11 2018-05-25 腾讯科技(深圳)有限公司 Webpage adjustment method, apparatus and system
CN108287784A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of webpage adjustment method and device
CN109002366A (en) * 2018-07-26 2018-12-14 广东蔚海数问大数据科技有限公司 A kind of remote debugging method and device of mobile terminal webpage
CN110032519A (en) * 2019-04-22 2019-07-19 广州腾讯科技有限公司 Cloud function adjustment method, device, computer equipment and storage medium
CN110086889A (en) * 2019-05-16 2019-08-02 北京字节跳动网络技术有限公司 Terminal device adjustment method and equipment
CN110119352A (en) * 2019-04-18 2019-08-13 深圳壹账通智能科技有限公司 UI adjustment method, device, computer equipment and the storage medium of application program
CN110287112A (en) * 2019-06-25 2019-09-27 网易(杭州)网络有限公司 Maintaining method, device and the readable storage medium storing program for executing of client
CN110471845A (en) * 2019-07-16 2019-11-19 腾讯科技(深圳)有限公司 Smart machine on-line debugging method, apparatus and system, electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140039786A (en) * 2012-09-25 2014-04-02 에스케이플래닛 주식회사 System and method for debugging message linkage
US9830216B2 (en) * 2014-12-10 2017-11-28 Yokogawa Electric Corporation Device management system and method for commissioning field devices with error resolution

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204875A (en) * 2014-06-11 2015-12-30 腾讯科技(深圳)有限公司 Native function calling method and system of webpage
CN104967542A (en) * 2015-06-23 2015-10-07 深圳市腾讯计算机系统有限公司 Mobile end page testing method, device and system
CN107180177A (en) * 2016-03-10 2017-09-19 阿里巴巴集团控股有限公司 The method and apparatus for obtaining user profile
CN107918583A (en) * 2016-10-09 2018-04-17 腾讯科技(深圳)有限公司 A kind of script dynamic modulation, device and terminal
CN108076123A (en) * 2016-11-11 2018-05-25 腾讯科技(深圳)有限公司 Webpage adjustment method, apparatus and system
CN108287784A (en) * 2017-01-09 2018-07-17 腾讯科技(深圳)有限公司 A kind of webpage adjustment method and device
CN107360214A (en) * 2017-06-19 2017-11-17 努比亚技术有限公司 A kind of message push processing method, message sink processing method and processing device
CN109002366A (en) * 2018-07-26 2018-12-14 广东蔚海数问大数据科技有限公司 A kind of remote debugging method and device of mobile terminal webpage
CN110119352A (en) * 2019-04-18 2019-08-13 深圳壹账通智能科技有限公司 UI adjustment method, device, computer equipment and the storage medium of application program
CN110032519A (en) * 2019-04-22 2019-07-19 广州腾讯科技有限公司 Cloud function adjustment method, device, computer equipment and storage medium
CN110086889A (en) * 2019-05-16 2019-08-02 北京字节跳动网络技术有限公司 Terminal device adjustment method and equipment
CN110287112A (en) * 2019-06-25 2019-09-27 网易(杭州)网络有限公司 Maintaining method, device and the readable storage medium storing program for executing of client
CN110471845A (en) * 2019-07-16 2019-11-19 腾讯科技(深圳)有限公司 Smart machine on-line debugging method, apparatus and system, electronic equipment

Also Published As

Publication number Publication date
CN111162960A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
EP4006724A1 (en) Dynamic user interface customization
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
CN110113252A (en) A kind of processing method, equipment and the computer storage medium of small routine notification message
CN104102578B (en) Test method and system and operation terminal
CN105677573A (en) Halt detection method and device and computing device
CN105260671A (en) Control method and device for notification bar of mobile terminal and mobile equipment
CN108628739A (en) A kind of method that Lua scripts are debugged, client, server and debugger
CN113190464A (en) mock testing method, mock testing device, electronic equipment and mock testing medium
US20160105482A1 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
US20180159724A1 (en) Automatic task tracking
CN110795353B (en) Quick application debugging method, device, equipment and storage medium
CN105376719A (en) Information pushing method and device
CN114116495A (en) Test method and device, electronic equipment and storage medium
CN112131092A (en) Page debugging method and device
CN111162960B (en) Method and server for starting debugging panel
CN109634702B (en) Information prompting method and device, electronic equipment and readable medium
US20170034030A1 (en) Monitoring single content page application transitions
CN112965896A (en) Test environment fault detection method and device based on dynamic byte codes
CN110879676A (en) Debugging control method, master control device, debugging server, controlled device and system
CN113238944A (en) Test method, device and system
CN111435328B (en) Application testing method and device, electronic equipment and readable storage medium
US10067752B1 (en) Application install notification
CN111581518A (en) Information pushing method and device
JP7147123B2 (en) Source channel determination method, device, equipment, program and computer storage medium
CN112995254B (en) Method, equipment, system, device and component for transmitting heartbeat information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240220

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: 45-01 Anson Building, 8 Shanton Avenue, Singapore

Patentee before: Alipay laboratories (Singapore) Ltd.

Country or region before: Singapore