Link debugging method, device, equipment and storage medium

By generating an interface containing text input boxes and list controls, users can quickly select or enter the target link address, solving the problems of cumbersome and error-prone problems in the existing technology, and achieving efficient in-depth link debugging.

CN113761402BActive Publication Date: 2025-08-19BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010858394.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-24
Publication Date
2025-08-19
Estimated Expiration
2040-08-24

AI Technical Summary

Technical Problem

In the prior art, in-depth link debugging requires manual input of link address in the address bar, which is cumbersome and prone to errors, reducing debugging efficiency.

Method used

Generate an interface that contains text input boxes and list controls. Users can select the target link address through text input boxes or list controls, and start the target application based on this address to display the target page.

Benefits of technology

Improves the efficiency and accuracy of link debugging, simplifies input operations, and saves developers time and energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113761402B_ABST
    Figure CN113761402B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a link debugging method, apparatus, device, and storage medium, wherein the method comprises: upon detecting a startup trigger operation on a preset client, generating an interface comprising a text input box and a list control; wherein the list control comprises at least one link address stored locally and / or on a server; displaying the interface so that a target link address to be debugged can be input through the text input box, or a link address in the list control can be selected as the target link address to be debugged; a target application can be started based on the target link address, and a target page in the target application can be displayed. The embodiment of the present invention solves the problem of the difficulty of inputting a link address by generating an interface comprising a text input box and a list control, thereby improving the efficiency of debugging the link address.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to computer technology, and in particular to a link debugging method, apparatus, device and storage medium. Background Art

[0002] Deep links are links that redirect to specific content pages. They're widely used on the web, allowing users to jump directly to internal pages rather than just the homepage. This technology is also being used on mobile devices, where deep links can achieve similar functionality to web-based deep links. For example, they can open an app and jump to a specific page; deep links can be used to call up the target app and pass parameters between apps.

[0003] Currently, the common practice for deeplink debugging in the iOS simulator is: first, open Safari, the browser that comes with the iOS system; then, enter the corresponding link address in the Safari address bar; finally, click the jump button, and the simulator loads the deeplink to start the corresponding app.

[0004] In the process of implementing the present invention, the inventors discovered that the prior art has at least the following problems:

[0005] Each time deeplink debugging is performed, the link address needs to be manually entered in the address bar, which is cumbersome and error-prone, reducing debugging efficiency. Summary of the Invention

[0006] The embodiments of the present invention provide a link debugging method, apparatus, device and storage medium to improve the efficiency of link debugging.

[0007] In a first aspect, an embodiment of the present invention provides a link debugging method, the method comprising:

[0008] When a start trigger operation on a preset client is detected, an interface including a text input box and a list control is generated; wherein the list control includes at least one link address stored locally and / or on a server;

[0009] The interface is displayed so that a target link address to be debugged can be input through the text input box, or a link address in the list control can be selected as the target link address to be debugged;

[0010] A target application is started based on the target link address, and a target page in the target application is displayed.

[0011] In a second aspect, an embodiment of the present invention further provides a link debugging device, the device comprising:

[0012] An interface generation module, configured to generate an interface including a text input box and a list control when a start trigger operation on a preset client is detected; wherein the list control includes at least one link address stored locally and / or on a server;

[0013] An interface display module, configured to display the interface so that a target link address to be debugged can be input through the text input box, or a link address in the list control can be selected as the target link address to be debugged;

[0014] The target application startup module is used to start the target application based on the target link address and display the target page in the target application.

[0015] In a third aspect, an embodiment of the present invention further provides a device, comprising:

[0016] one or more processors;

[0017] a memory for storing one or more programs;

[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement any of the link debugging methods mentioned above.

[0019] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer-executable instructions, wherein the computer-executable instructions are used to execute any of the link debugging methods mentioned above when executed by a computer processor.

[0020] The embodiments of the above invention have the following advantages or beneficial effects: the technical method adopted in the embodiments of the present invention generates and displays an interface including a text input box and a list control when a startup trigger operation is detected on a preset client, so that the user can input the target link address through the text input box and the list control, thereby solving the problem in the prior art that the operation of inputting the target link address is difficult and error-prone, ensuring the accuracy of the input target link address, and improving the efficiency of debugging the target link address. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] Figure 1This is a flowchart of a link debugging method provided in Example 1 of the present invention.

[0023] Figure 2 This is a flowchart of a link debugging method provided in the second embodiment of the present invention.

[0024] Figure 3 This is a schematic diagram of a display interface of a preset client provided in the second embodiment of the present invention.

[0025] Figure 4 This is a flowchart of a link debugging method provided in Example 3 of the present invention.

[0026] Figure 5 This is a flow chart of a specific example of a link debugging method provided in the third embodiment of the present invention.

[0027] Figure 6 This is a schematic diagram of a link debugging device provided in Embodiment 4 of the present invention.

[0028] Figure 7 This is a structural diagram of a device provided in Example 5 of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.

[0030] Example 1

[0031] Figure 1 This is a flowchart of a link debugging method provided in Example 1 of the present invention. This embodiment is applicable to developing and debugging a target application based on an input link address. The method can be performed by a link debugging device, which can be implemented in software and / or hardware and integrated into a terminal device. For example, the terminal device can be a smart terminal such as a smartphone, tablet computer, desktop computer, or laptop computer. The method specifically includes the following steps:

[0032] S110: When a startup trigger operation on a preset client is detected, an interface including a text input box and a list control is generated; wherein the list control includes at least one link address stored locally and / or on a server.

[0033] The client, also known as the user end, is a program that provides services to users and is typically used in conjunction with the server end. In this embodiment, the preset client is used to generate an interface containing a text input box and a list control, and receive and respond to the target link address entered by the user based on this interface. Exemplarily, the triggering operation can be clicking an icon associated with the preset client or a keyboard shortcut. The specific operation for triggering the operation is not limited here, and users can customize it according to their needs.

[0034] Specifically, the interface including a text input box and a list control can be a human-computer interaction interface. The human-computer interaction interface is a medium or dialogue interface for transmitting and exchanging information between a user and a smart terminal. In this embodiment, the human-computer interaction interface includes but is not limited to a text input box and a list control. Among them, the user can enter or edit the link address through the text input box. Exemplarily, the AppKit development framework is used to build a text input box control. Among them, the list control displays the link address in the form of a list for the user to interact with to select the object of the link address. The advantage of this setting is that the text input box is more suitable for quickly and clearly entering and editing the target link address, especially when the target link address is long, the advantage of the text input box will be more obvious. The list control saves the user the time of repeatedly entering the target link address, thereby improving the efficiency of link debugging.

[0035] The link address can be saved locally and / or on the server. Specifically, the link address includes a deep link (DeepLink) address. A deep link is a jump link that an application or client can use to bypass the homepage of the linked website and directly link to a paging or trigger specific logic. Specifically, the local can be a terminal device with a preset client installed. The server is a service program that provides services to the client. In this embodiment, the server can be used to provide a link address for the preset client and store data provided by the preset client. Specifically, the server can be installed on a server. Specifically, the locally stored link address can be read through the MacOS development interface, and the read link address can be displayed on the interface of the preset client through a list control. At the same time, the read link address can be synchronized to the server through the network interface.

[0036] S120 : Displaying an interface so that a target link address to be debugged can be input through a text input box, or a link address in a list control can be selected as the target link address to be debugged.

[0037] Specifically, the interface is displayed on a display device of a terminal device installed with a preset client. The user can enter the target link address to be debugged through the text input box, or select a link address in the list control as the target link address to be debugged.

[0038] Based on the above embodiment, optionally, when a save trigger operation for the input target link address is detected, the input target link address is trimmed to remove the leading and trailing blank characters of the input target link address; the format of the trimmed target link address is checked, and after the check passes, a preset component is used to prompt the user to enter a bookmark name; the trimmed target link address and the bookmark name are stored locally accordingly, and / or the trimmed target link address and the bookmark name are synchronized to the server for corresponding storage.

[0039] Wherein, exemplarily, the interface of the preset client also includes a save control, and the user can trigger the save operation of the input target link address by clicking the save control. Wherein, specifically, the input target link address can be trimmed by the trim instruction to achieve the operation of removing the first and last blank characters of the input target link address. Wherein, exemplarily, the format check can be a check based on the JSON format. Wherein, exemplarily, the preset component can be a pop-up component. In this embodiment, the pop-up component is a component for popping up a message prompt box and a text input box to prompt the user to enter the name of the target link address. Specifically, the target link address is stored locally and / or on the server in the form of money. Therefore, the name of the target link address is the bookmark name in this embodiment.

[0040] S130: Start the target application based on the target link address, and display the target page in the target application.

[0041] In one embodiment, optionally, when a trigger operation to start an application is detected, the target link address is trimmed to remove the leading and trailing blank characters of the target link address; the format of the trimmed target link address is checked, and after the check passes, the trimmed target link address is encoded to obtain the encoded target link address. Wherein, exemplarily, the interface of the preset client also includes a start / open control, and the user can trigger the start of the application by clicking the start / open control. Wherein, exemplarily, the encoding method can be URL (Uniform Resource Locator) encoding, and URL encoding is mainly used to encode special characters in the target link address that cannot be directly transmitted. For example, the special characters can be Chinese characters. Specifically, the target link address after URL encoding is a URL address.

[0042] The technical solution of this embodiment, by generating and displaying an interface including a text input box and a list control when a startup trigger operation on a preset client is detected, allows the user to input the target link address through the text input box and the list control, thereby solving the problem in the prior art that the operation of inputting the target link address is difficult and prone to errors, and ensures the accuracy of the input target link address. Furthermore, the technical solution of the embodiment of the present invention provides a complete debugging solution from inputting, editing and processing the link address to launching the target application, saving developers' time and energy and improving the efficiency of debugging the target link address.

[0043] Example 2

[0044] Figure 2 This is a flowchart of a link debugging method provided in Example 2 of the present invention. This embodiment optimizes the above embodiments. Optionally, before launching the target application based on the target link address, the method further includes: displaying, through a preset component, an option to launch a mobile terminal or an operating system simulator; and determining, based on a user's selection of the option, whether to launch the target application on the mobile terminal or in the operating system simulator based on the target link address. Explanations of terms that are identical or corresponding to those in the above embodiments are not repeated in this embodiment.

[0045] The specific implementation steps of this embodiment include:

[0046] S210: When a startup trigger operation on a preset client is detected, an interface including a text input box and a list control is generated.

[0047] S220 : Displaying an interface so that a target link address to be debugged can be input through a text input box, or a link address in a list control can be selected as the target link address to be debugged.

[0048] S230: Displaying an option to start a mobile terminal or an operating system simulator through a preset component.

[0049] Exemplarily, the pre-set component can be a single-select component. Specifically, the single-select component provides an option to launch a mobile terminal or an operating system simulator. The user can select the platform to launch the target application by clicking on either of the above options. The operating system simulator can be used to simulate the operating environment of the target operating system on a computer. Exemplary target operating systems include, but are not limited to, Android, Apple, or Windows.

[0050] S240: According to the user's selection operation on the selection item, determine to start a target application in the mobile terminal or in the operating system simulator based on the target link address, and display a target page in the target application.

[0051] Specifically, if the user selects the mobile terminal option, the target application is started in the mobile terminal based on the target link address. If the user selects the operating system simulator option, the target application is started in the operating system simulator based on the target link address.

[0052] If the user selects the mobile terminal option, in one embodiment, optionally, upon detecting a trigger operation to launch an application, a QR code containing the address information of the target link address is generated, so that after the QR code is scanned by the mobile terminal, the target application is launched in the mobile terminal and the target page is displayed in the target application. Specifically, the QR code can be generated using a QR code generation control. The application that scans the QR code includes an application with a QR code scanning function. Exemplary applications include but are not limited to Weibo, WeChat, Baidu Netdisk, and browsers.

[0053] If the user selects the operating system simulator option, in another embodiment, optionally, when a trigger operation to start an application is detected, the locally installed operating system simulator information is obtained and the operating system simulator information is displayed for selection of an operating system simulator; the target operating system simulator selected by the user is started; the target application is started in the target operating system simulator based on the target link address, and the target page is displayed in the target application.

[0054] Wherein, exemplarily, the interface of the preset client also includes a start / open control, and the user can trigger the start of the application by clicking the start / open control. In one embodiment, optionally, obtaining the locally installed operating system simulator information includes: searching the local simulator device list directory; parsing the device list file under the simulator device list directory to obtain the locally installed operating system simulator information. Wherein, specifically, a local search is performed based on the simulator device list directory to find the simulator device list file saved in the local memory. Exemplarily, the simulator device list directory can be ~ / Library / Developer / CoreSimulator / Devices. Exemplarily, the device list file can be a device.plist file. Wherein, exemplarily, the operating system simulator information includes the device model and the version of the operating system.

[0055] Among them, illustratively, the target link address can be a target link address obtained by the user entering it through a text input box or selecting a connection address in a list control. Of course, the target link address can also be a target link address that has been trimmed, verified, and encoded.

[0056] In one embodiment, optionally, starting the target operating system simulator selected by the user includes: obtaining device parameters in a target device list file; wherein the target device list file is a device list file of the target operating system simulator selected by the user; calling a start simulator command based on the device parameters to start the target operating system simulator. Wherein, exemplarily, the device parameters may be UDID (Unique Device Identifier) parameters and deviceType (device model) parameters. Wherein, exemplarily, the start simulator command may be xcrun simctl boot$UDID. Specifically, the "UDID" in the start simulator instruction is replaced according to the UDID parameter value in the device parameters.

[0057] Figure 3 This is a schematic diagram of a display interface of a preset client provided in the second embodiment of the present invention. Figure 3 The "Saved Bookmarks" section on the left is a list control that displays nine link addresses. Specifically, a link address includes a link code, a link name, and link content. For example, the link code is "Debug Link 1" and the link name is "Bookmark Name." Furthermore, users can click "More..." to display more link addresses. Figure 3 The "Enter Link (Bookmark)" on the right is a text input box where users can enter and edit link addresses. Clicking "Save" saves the link address in the text input box locally and / or synchronizes it to the server. When users select a link address from the list control or click "Select," the target link address to be debugged is displayed in the "Currently Selected Link" text box. Figure 3 Taking the mobile terminal as an example, the simulator selection items and the mobile phone selection items are displayed in the interface through radio components. If the user selects the "mobile phone" option, a QR code containing the target link address information is generated and displayed in the "Real device (mobile phone) debugging QR code" display area. The user can use an application with a QR code scanning function on the mobile phone to scan the QR code, and based on the target link address contained in the QR code, start the target application and display the target page in the target application. If the user selects the "simulator" option, after the user clicks the "Start / Open" control, the target application is started in the simulator based on the target link address, and the target page in the target application is displayed.

[0058] It should be noted that Figure 3This is a schematic diagram of a display interface provided for the purpose of explaining the display interface, but does not limit the layout and specific content of the display interface. It is understandable that any display interface that includes the control / component functions provided by this embodiment is within the scope of protection of this technical solution.

[0059] The technical solution of this embodiment solves the problem of link debugging on different platforms by starting the selection item of the mobile terminal or the operating system simulator and, based on the user's selection operation of the selection item, determining whether to start the target application on the mobile terminal or the operating system simulator based on the target link address. This allows the user to flexibly switch the link debugging platform according to the debugging requirements, thereby improving the flexibility of link debugging.

[0060] Example 3

[0061] Figure 4 The flowchart of a link debugging method provided in the third embodiment of the present invention is optimized based on the above embodiments. Optionally, before starting the target application in the target operating system simulator based on the target link address and displaying the target page in the target application, the method further includes: determining the target application identifier of the target application based on the target link address, and obtaining the application identifiers of each installed application in the started target operating system simulator; determining whether the target application identifier is included in each obtained application identifier, and if not, installing the target application into the target operating system simulator by calling the application installation command. The explanations of the terms that are the same as or corresponding to the above embodiments are not repeated in this embodiment.

[0062] The specific implementation steps of this embodiment include:

[0063] S310: When a startup trigger operation on a preset client is detected, an interface including a text input box and a list control is generated.

[0064] S320: Display an interface to allow the user to input a target link address to be debugged through a text input box, or select a link address in a list control as the target link address to be debugged.

[0065] S330: Displaying an option to start a mobile terminal or an operating system simulator through a preset component.

[0066] S340: Determine the target application identifier of the target application based on the target link address, and obtain the application identifier of each installed application in the started target operating system simulator.

[0067] Specifically, the target application identifier of the target application is determined by reading the target link address. Taking the target operating system as the Android system as an example, the address information "android:host" in the target link address represents the target application identifier of the target application.

[0068] In one embodiment, optionally, obtaining the application identifier of each installed application in the started target operating system simulator includes: obtaining the application folder under the started target operating system simulator; wherein each subdirectory in the application folder corresponds to an installed application; parsing the preset files under each subdirectory to obtain the application identifier of the installed application corresponding to each subdirectory.

[0069] For example, the application folder may be "~ / Library / Developer / CoreSimulator / Devices / 6DA66007-DEE7-432A-965C-66E16C0914A4 / data / Containers / Data / Application". For example, the preset file may be the .com.apple.mobile_container_manager.metadata.plist file. For example, when the target operating system is Apple, the application identifier is BundleID (BundleIdentifier). BundleID is the unique identifier of an Apple system application.

[0070] S350: Determine whether the obtained application identifiers include the target application identifier. If yes, execute S370; if not, execute S360.

[0071] Specifically, based on the target application identifier, a search is performed among various application identifiers to determine whether the target application identifier is included in various application identifiers.

[0072] S360 , installing the target application into the target operating system simulator by calling an application installation command, and executing S370 .

[0073] Exemplarily, the application installation command may be an xcrun simctl install command, and the target application may be automatically installed in the target operating system simulator by calling the application installation command.

[0074] S370: According to the user's selection operation on the selection item, determine to start the target application in the target operating system simulator based on the target link address, and display the target page in the target application.

[0075] Specifically, the target application is started in the target operating system simulator by calling the simulator control command, and the parameters in the target link address are transferred to the startup parameters of the target application, so as to display the target page corresponding to the target link address in the target application. Exemplarily, the simulator control command can be the xcrun simctl command.

[0076] Figure 5 This is a flow chart of a specific example of a link debugging method provided by Embodiment 3 of the present invention. Open the preset client and read the local data. Specifically, when reading the local data, data synchronization with the cloud can also be performed through the network to simultaneously read the data on the cloud.

[0077] In one aspect, a list control on a preset client display interface displays data stored locally or in the cloud, specifically, link addresses. A user selects a bookmark, i.e., clicks on a link address in the list control, to determine the target link address. When a launch action is detected, generated by a user clicking a "Launch / Open" control, the target link address is displayed in string format, so the string is preprocessed. Specifically, the preprocessing includes trimming and validation. The trimmed and validated target link address is URL-encoded to obtain a URL address. If the user selects "Real Device" in the radio button, a QR code containing the target link address is generated. The user can scan the QR code using an application on a real device with QR code scanning capabilities. Based on the target link address contained in the QR code, the target application is launched and the target page within the target application is displayed. If the user selects "Simulator" in the radio button, available simulator versions are listed, and the target simulator version selected by the user is determined. A determination is then made as to whether the target application corresponding to the target link address is installed in the target simulator version. If so, a command to launch the simulator is generated and executed, launching the target simulator, launching the target application in the simulator, and displaying the target page within the target application. If the target application is not installed, the target application is installed in the target simulator. If the installation is successful, a command to start the simulator is generated and executed; if the installation fails, the debugging operation on the target link address is terminated.

[0078] On the other hand, the user inputs data based on the text input box in the display interface. Specifically, the data is a link address. When it is detected that the user clicks the "Save" control to generate a save operation, the character string in the text input box is preprocessed, and the preprocessed target link address is saved locally. The data stored locally and the data stored in the cloud can be synchronized and updated via the network. Among them, for example, the user information can be the user name and save time of the target link address, the bookmark information can be the target link address and the bookmark name, and other configuration information can be information in the target link address, for example, such as the target application identifier.

[0079] The technical solution of this embodiment determines the target application identifier of the target application based on the target link address, and obtains the application identifiers of each installed application in the started target operating system simulator; determines whether the target application identifier is included in each obtained application identifier, and if not, installs the target application into the target operating system simulator by calling the application installation command, thereby solving the problem that the target application is not installed in the operating system modeler, saving developers the cost of learning and using complex command line tools, avoiding the operation of manually dragging and dropping to install the target application, and thus improving the efficiency of link development and debugging.

[0080] The following is an embodiment of a link debugging device provided by an embodiment of the present invention. The device and the link debugging methods of the above embodiments belong to the same inventive concept. For details not fully described in the embodiment of the link debugging device, please refer to the embodiment of the above link debugging method.

[0081] Example 4

[0082] Figure 6 This is a schematic diagram of a link debugging device provided in accordance with a fourth embodiment of the present invention. This embodiment is applicable to developing and debugging a target application according to an input link address. The link debugging device includes: an interface generation module 410, an interface display module 420, and a target application startup module 430.

[0083] The interface generation module 410 is configured to generate an interface including a text input box and a list control when a start trigger operation is detected for a preset client; wherein the list control includes at least one link address stored locally and / or on a server;

[0084] The interface display module 420 is used to display the interface so that the target link address to be debugged can be input through the text input box, or a link address in the list control can be selected as the target link address to be debugged;

[0085] The target application starting module 430 is used to start the target application based on the target link address and display the target page in the target application.

[0086] The technical solution of this embodiment, by generating and displaying an interface including a text input box and a list control when a startup trigger operation on a preset client is detected, allows the user to input the target link address through the text input box and the list control, thereby solving the problem in the prior art that the operation of inputting the target link address is difficult and prone to errors, and ensures the accuracy of the input target link address. Furthermore, the technical solution of the embodiment of the present invention provides a complete debugging solution from inputting, editing and processing the link address to launching the target application, saving developers' time and energy and improving the efficiency of debugging the target link address.

[0087] Based on the above embodiment, optionally, the target application starting module 430 includes:

[0088] The QR code generation unit is used to generate a QR code containing the address information of the target link address when a trigger operation to start an application is detected, so that after the QR code is scanned by a mobile terminal, the target application is started in the mobile terminal and the target page is displayed in the target application.

[0089] Based on the above embodiment, optionally, the target application starting module 430 includes:

[0090] An operating system simulator information acquisition unit is used to acquire information about locally installed operating system simulators when a trigger operation to start an application is detected, and to display the information about the operating system simulators for selection of an operating system simulator;

[0091] An operating system simulator information starting unit, used to start a target operating system simulator selected by a user;

[0092] The target application startup unit is used to start the target application in the target operating system simulator based on the target link address and display the target page in the target application.

[0093] Based on the above embodiment, optionally, the device further includes:

[0094] The target application identification determination module is used to determine the target application identification of the target application based on the target link address, and obtain the application identification of each installed application in the started target operating system simulator; determine whether the target application identification is included in the obtained application identifications, and if not, install the target application into the target operating system simulator by calling the application installation command.

[0095] Based on the above embodiment, optionally, the operating system simulator information acquisition unit is specifically configured to:

[0096] Find the local simulator device list directory;

[0097] Parse the device list file in the simulator device list directory to obtain the locally installed operating system simulator information.

[0098] Based on the above embodiment, optionally, the operating system simulator information starting unit is specifically used to:

[0099] Obtain device parameters in a target device list file; wherein the target device list file is a device list file of a target operating system simulator selected by the user;

[0100] Call the start simulator command based on the device parameters to start the target operating system simulator.

[0101] Based on the above embodiment, optionally, the target application identifier determination module is specifically configured to:

[0102] Get the application folder under the started target operating system simulator; each subdirectory in the application folder corresponds to an installed application;

[0103] Parse the preset files in each subdirectory and obtain the application identifiers of the installed applications corresponding to each subdirectory.

[0104] Based on the above embodiment, optionally, the device further includes:

[0105] The startup option display unit is used to display the option of starting the mobile terminal or the operating system simulator through a preset component; according to the user's selection operation on the option, determine to start the target application in the mobile terminal or in the operating system simulator based on the target link address.

[0106] The link debugging device provided by the embodiment of the present invention can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0107] It is worth noting that in the embodiment of the above-mentioned link debugging device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0108] Example 5

[0109] Figure 7 This is a structural diagram of a device provided in Example 5 of the present invention. Figure 7 A block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 7The device 12 shown is only an example and should not bring any limitation to the functionality and scope of use of the embodiments of the present invention.

[0110] like Figure 7 As shown, device 12 is implemented as a general-purpose computing device. Components of device 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).

[0111] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0112] Device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by device 12, including volatile and non-volatile media, removable and non-removable media.

[0113] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 7 Not shown, often called a "hard drive"). Although Figure 7 Not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.

[0114] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0115] Device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12, and / or any device that enables device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may occur via input / output (I / O) interface 22. Furthermore, device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 via bus 18. It should be understood that, although not shown, other hardware and / or software modules may be used in conjunction with device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0116] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a link debugging method provided by an embodiment of the present invention, which includes:

[0117] When a start trigger operation on a preset client is detected, an interface including a text input box and a list control is generated; wherein the list control includes at least one link address stored locally and / or on a server;

[0118] Display the interface to enter the target link address to be debugged through the text input box, or select the link address in the list control as the target link address to be debugged;

[0119] Launch the target application based on the target link address and display the target page in the target application.

[0120] Of course, those skilled in the art will appreciate that the processor may also implement the technical solution of the method for determining the reserved inventory amount provided in any embodiment of the present invention.

[0121] Example 6

[0122] This embodiment 6 provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the link debugging method steps as described in any embodiment of the present invention are implemented. The method includes:

[0123] When a start trigger operation on a preset client is detected, an interface including a text input box and a list control is generated; wherein the list control includes at least one link address stored locally and / or on a server;

[0124] Display the interface to enter the target link address to be debugged through the text input box, or select the link address in the list control as the target link address to be debugged;

[0125] Launch the target application based on the target link address and display the target page in the target application.

[0126] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0127] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0128] Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0129] Computer program code for performing the operations of the present invention can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can 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 can be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0130] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.

[0131] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.

Claims

1. A link debugging method, characterized in that: include: When a startup trigger operation is detected for a preset client, an interface including a text input box and a list control is generated; wherein the list control displays link addresses in a list format; the list control contains at least one link address stored locally and / or on a server; the link address includes a deep link address; The interface is displayed so that a target link address to be debugged can be input through the text input box, or a link address in the list control can be selected as the target link address to be debugged; When a trigger operation for starting an application is detected, information of locally installed operating system simulators is obtained, and the information of the operating system simulators is displayed for selection of an operating system simulator; Start the target operating system simulator selected by the user; A target application is started in the target operating system simulator based on the target link address, and a target page is displayed in the target application.

2. The method according to claim 1, characterized in that Launching a target application based on the target link address and displaying a target page in the target application also includes: When a trigger operation to start an application is detected, a QR code containing the address information of the target link address is generated, so that after the QR code is scanned by a mobile terminal, the target application is started in the mobile terminal and the target page is displayed in the target application.

3. The method according to claim 1, characterized in that Before starting the target application in the target operating system simulator based on the target link address and displaying the target page in the target application, the method further includes: Determine the target application identifier of the target application based on the target link address, and obtain the application identifier of each installed application in the started target operating system simulator; It is determined whether the obtained application identifiers include the target application identifier. If not, the target application is installed in the target operating system simulator by calling an application installation command.

4. The method according to claim 1, wherein Get information about the locally installed operating system simulator, including: Find the local simulator device list directory; Parse the device list file in the simulator device list directory to obtain the locally installed operating system simulator information.

5. The method according to claim 1, wherein Start the target operating system simulator selected by the user, including: Obtain device parameters in a target device list file; wherein the target device list file is a device list file of a target operating system simulator selected by a user; A start simulator command is called based on the device parameters to start the target operating system simulator.

6. The method according to claim 3, characterized in that Get the application ID of each installed application in the launched target operating system simulator, including: Obtain an application folder under the started target operating system simulator; wherein each subdirectory in the application folder corresponds to an installed application; The preset files under each subdirectory are parsed to obtain application identifiers of installed applications corresponding to each subdirectory.

7. The method according to claim 1 or 2, characterized in that Before starting the target application based on the target link address, the method further includes: Displaying options for launching a mobile terminal or operating system simulator through a preset component; According to the user's selection operation on the selection item, it is determined whether to start the target application in the mobile terminal or in the operating system simulator based on the target link address.

8. The method according to any one of claims 1 to 6, characterized in that The method further comprises: When a save trigger operation is detected for the input target link address, a preset component is used to prompt for a bookmark name; The input target link address and the bookmark name are stored locally in correspondence, and / or the input target link address and the bookmark name are synchronized to the server for corresponding storage.

9. A link debugging device, characterized in that: include: An interface generation module, configured to generate an interface including a text input box and a list control upon detecting a start trigger operation on a preset client; wherein the list control displays link addresses in a list format; the list control includes at least one link address stored locally and / or on a server; the link address includes a deep link address; An interface display module, configured to display the interface so that a target link address to be debugged can be input through the text input box, or a link address in the list control can be selected as the target link address to be debugged; A target application startup module, configured to start a target application based on the target link address and display a target page in the target application; The target application startup module includes: An operating system simulator information acquisition unit is used to acquire information about locally installed operating system simulators when a trigger operation to start an application is detected, and to display the information about the operating system simulators for selection of an operating system simulator; An operating system simulator information starting unit, used to start a target operating system simulator selected by a user; The target application starting unit is used to start the target application in the target operating system simulator based on the target link address and display the target page in the target application.

10. A link debugging device, characterized in that: The device comprises: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the link debugging method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the link debugging method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Webpage testing method and device, terminal equipment and medium

    CN110377500A

  • Link skipping method, application client, equipment and storage medium

    CN111538922A