CN113761402A - Link debugging method, device, equipment and storage medium - Google Patents

Link debugging method, device, equipment and storage medium Download PDF

Info

Publication number
CN113761402A
CN113761402A CN202010858394.XA CN202010858394A CN113761402A CN 113761402 A CN113761402 A CN 113761402A CN 202010858394 A CN202010858394 A CN 202010858394A CN 113761402 A CN113761402 A CN 113761402A
Authority
CN
China
Prior art keywords
target
link address
application
operating system
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010858394.XA
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010858394.XA priority Critical patent/CN113761402A/en
Publication of CN113761402A publication Critical patent/CN113761402A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a link debugging method, a link debugging device, link debugging equipment and a storage medium, wherein the method comprises the following steps: when the starting triggering operation of a preset client is detected, generating an interface containing a text input box and a list control; the list control comprises at least one link address stored in local and/or a server; displaying the interface to input a 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; starting a target application based on the target link address, and displaying a target page in the target application. According to the embodiment of the invention, the interface comprising the text input box and the list control is generated, so that the problem of high operation difficulty in inputting the link address is solved, and the efficiency of debugging the link address is improved.

Description

Link debugging method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to computer technology, in particular to a link debugging method, a link debugging device, link debugging equipment and a storage medium.
Background
Deep links (deeplinks), a type of jump link that can locate a specific content page. The link can be directly jumped to the inner page of the WEB instead of only opening the first page. The technology is also applied to the mobile terminal, and the functions similar to those of the deepLink of the WEB terminal can be realized through the deepLink of the mobile terminal. Such as: opening an APP and jumping to a specified page; the communication between the APPs evokes the target APP through the deplink and transmits the parameters.
At present, the common practice when performing deplink debugging in an iOS simulator is: firstly, opening a browser Safari of an iOS system; then, inputting a corresponding link address in a Safari address column; and finally, jumping to a button, and loading deplink by the simulator to start the corresponding App.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
when the deep link is debugged each time, the link address needs to be manually input in the address bar, so that the operation is complicated, errors are easy to occur, and the debugging efficiency is reduced.
Disclosure of Invention
The embodiment of the invention provides a link debugging method, a link debugging device, link debugging equipment and a storage medium, and aims to improve the link debugging efficiency.
In a first aspect, an embodiment of the present invention provides a link debugging method, where the method includes:
when the starting triggering operation of a preset client is detected, generating an interface containing a text input box and a list control; the list control comprises at least one link address stored in local and/or a server;
displaying the interface to input a 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;
starting a target application based on the target link address, and displaying a target page in the target application.
In a second aspect, an embodiment of the present invention further provides a link debugging apparatus, where the apparatus includes:
the interface generating module is used for generating an interface containing a text input box and a list control when the starting triggering operation of the preset client is detected; the list control comprises at least one link address stored in local and/or a server;
the interface display module is used for displaying the interface so as to input a 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;
and the target application starting module is used for starting the target application based on the target link address and displaying a target page in the target application.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement any of the link debugging methods referred to above.
In a fourth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform any of the link debugging methods mentioned above.
The embodiment of the invention has the following advantages or beneficial effects: according to the technical method adopted by the embodiment of the invention, when the starting triggering operation of the preset client is detected, the interface comprising the text input box and the list control is generated and displayed, so that the user can realize the input operation of the target link address through the text input box and the list control, the problems of high difficulty and high error possibility in the operation of inputting the target link address in the prior art are solved, the accuracy of the input target link address is ensured, and the efficiency of debugging the target link address is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a link debugging method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a link debugging method according to a second embodiment of the present invention.
Fig. 3 is a schematic diagram of a display interface of a default client according to a second embodiment of the present invention.
Fig. 4 is a flowchart of a link debugging method according to a third embodiment of the present invention.
Fig. 5 is a flowchart of a specific example of a link debugging method according to a third embodiment of the present invention.
Fig. 6 is a schematic diagram of a link debugging apparatus according to a fourth embodiment of the present invention.
Fig. 7 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a link debugging method according to an embodiment of the present invention, where the method is applicable to a case where a target application is developed and debugged according to an input link address, and the method may be executed by a link debugging apparatus, where the apparatus may be implemented by software and/or hardware, and may be integrated in a terminal device, and for example, the terminal device may be an intelligent terminal such as a smart phone, a tablet computer, a desktop computer, or a notebook computer. The method specifically comprises the following steps:
s110, generating an interface containing a text input box and a list control when detecting a starting triggering operation of a preset client; the list control comprises at least one link address stored in local and/or a server.
The client is also called a user side, and provides a service program for a user, and the client is usually used in cooperation with the service side. In this embodiment, the preset client is configured to generate an interface including a text input box and a list control, and receive and respond to a target link address input by a user based on the interface. For example, the start triggering operation may be clicking an icon associated with a preset client, or may be a keyboard shortcut key. The specific operation of starting the trigger operation is not limited, and the user can customize the setting according to the self use requirement.
Specifically, the interface including the text input box and the list control may be a human-computer interaction interface. The man-machine interaction interface is a medium or a dialogue interface for transferring and exchanging information between a user and an intelligent terminal. In the present embodiment, the human-computer interface includes, but is not limited to, a text entry box and a list control. Wherein the user can input or edit the link address through the text input box. Illustratively, the AppKit development framework is used to construct the text input box control. The list control displays the link addresses in a list form, and a user can interact with the link addresses to select the link addresses. The advantage of the arrangement is that the text input box is more suitable for quickly and clearly inputting and editing the target link address, and especially when the target link address is longer, the advantages of the text input box are more obvious. The list control saves the time for the user to repeatedly input the target link address, thereby improving the link debugging efficiency.
Wherein, the link address can be stored in local and/or server. Illustratively, the link address includes a deep link (deep link) address. Deep links are jump links where an application or client can link directly to a page or trigger specific logic, bypassing the linked website home page. The local may be, for example, a terminal device installed with a preset client. In this embodiment, the server may be configured to provide a link address for a preset client and store data provided by the preset client. Illustratively, the server may be installed on the server. Specifically, the link address stored locally can be read through the MacOS development interface, and the read link address is displayed on an interface of a preset client through the list control. Meanwhile, the read link address can be synchronized to the server side through the network interface.
And S120, displaying the interface, and inputting a target link address to be debugged through the text input box, or selecting the link address in the list control as the target link address to be debugged.
Specifically, the interface is displayed on a display device of the terminal device provided with the preset client. The user can input 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.
On the basis of the above embodiment, optionally, when a storage triggering operation on the input target link address is detected, performing pruning (trim) processing on the input target link address to remove head and tail blank characters of the input target link address; format verification is carried out on the trimmed target link address, and after the verification is passed, a preset component prompts the input of a bookmark name; and correspondingly storing the trimmed target link address and the bookmark name in the local, and/or synchronizing the trimmed target link address and the trimmed bookmark name to a server for corresponding storage.
The preset client interface further includes a saving control, and the user can click the saving control to implement the saving triggering operation on the input target link address. Specifically, the trimming processing can be performed on the input target link address through the trim instruction, so as to realize the operation of removing the head and tail blank characters of the input target link address. The format check may be, for example, a check based on JSON format. In this embodiment, the popup component is a component for popping up a message prompt box and a text input box, and is used for prompting a user to input a name of a target link address. Specifically, the destination link address is stored in the local and/or server in the form of money, and therefore, the name of the destination link address, i.e., the bookmark name in the present embodiment.
S130, starting the target application based on the target link address, and displaying a target page in the target application.
In an embodiment, optionally, when the trigger operation for starting the application is detected, trimming the target link address to remove the head and tail blank characters of the target link address; and carrying out format verification on the trimmed target link address, and coding the trimmed target link address after the verification is passed to obtain a coded target link address. The preset interface of the client further includes a start/open control, and the user may implement a trigger operation on starting the application by clicking the start/open control. For example, the encoding manner may be a URL (Uniform Resource Locator), and the URL encoding is mainly used for encoding a special character that cannot be directly transmitted in the target link address, for example, the special character may be chinese. Specifically, the target link address after URL encoding is a URL address.
According to the technical scheme of the embodiment, when the starting triggering operation on the preset client is detected, the interface comprising the text input box and the list control is produced and displayed, so that the user can realize the input operation on the target link address through the text input box and the list control, the problems of high difficulty and high error possibility in the operation of inputting the target link address in the prior art are solved, the accuracy of the input target link address is ensured, further, the technical scheme of the embodiment of the invention provides a complete debugging solution from the input, editing and processing of the link address to the starting of the target application and the like, the time and the energy of developers are saved, and the efficiency of debugging the target link address is improved.
Example two
Fig. 2 is a flowchart of a link debugging method provided in the second embodiment of the present invention, where the present embodiment optimizes the link debugging method based on the foregoing embodiments, and optionally before starting the target application based on the target link address, the method further includes: displaying a selection item for starting the mobile terminal or the operating system simulator through a preset component; and according to the selection operation of the user on the selection item, determining to start the target application at the mobile terminal or the operating system simulator based on the target link address. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted in this embodiment.
The specific implementation steps of this embodiment include:
s210, when the starting triggering operation of the preset client is detected, generating an interface containing a text input box and a list control.
S220, displaying the interface, and inputting a target link address to be debugged through the text input box or selecting the link address in the list control as the target link address to be debugged.
And S230, displaying a selection item for starting the mobile terminal or the operating system simulator through a preset component.
The preset component may be a single selection component, for example. Specifically, the radio component provides a selection item for starting the mobile terminal or the operating system simulator, and the user can determine a platform for starting the target application by clicking any selection item. The operating system simulator may be used to simulate, on a computer, the execution environment of a target operating system, which may include, but is not limited to, an android system, an apple system, or a Windows operating system, for example.
S240, according to the selection operation of the user on the selection item, determining to start the target application at the mobile terminal or the operating system simulator based on the target link address, and displaying the target page in the target application.
Specifically, if the user selects the option of the mobile terminal, the target application is started on the mobile terminal based on the target link address. If the user selects a selection item of the operating system simulator, a target application is launched at the operating system simulator based on the target link address.
If the user selects the option of the mobile terminal, in an embodiment, optionally, when the trigger operation of starting the application is detected, a two-dimensional code including address information of the target link address is generated, so that after the two-dimensional code is scanned by the mobile terminal, the target application is started in the mobile terminal, and the target page is displayed in the target application. Specifically, the two-dimensional code can be generated through a two-dimensional code generation control. The application program for scanning the two-dimensional code includes an application program with a two-dimensional code scanning function, and the application program includes, but is not limited to, micro-broadcast, wechat, a hundred-degree web disk, a browser, and the like.
If the user selects the option of the operating system simulator, in another embodiment, optionally, when the trigger operation of starting the application is detected, obtaining the information of the locally installed operating system simulator, and displaying the information of the operating system simulator for selecting the operating system simulator; starting a target operating system simulator selected by a user; and 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 preset interface of the client further includes a start/open control, and the user may implement a trigger operation on starting the application by clicking the start/open control. In one embodiment, optionally, obtaining locally installed operating system simulator information comprises: searching a local simulator equipment list directory; and analyzing the equipment list file in the simulator equipment list directory to obtain the information of the locally installed operating system simulator. Specifically, the simulator device list file stored in the local storage is searched locally based on the simulator device list directory. For example, the simulator device list directory may be any of the following "/Library/device/CoreSimulator/Devices. A device list file may be, for example, a device. Illustratively, the operating system simulator information includes a device model and a version of the operating system.
The target link address may be, for example, a target link address obtained by a user inputting through a text input box or selecting a connection address in the list control, and of course, the target link address may also be a target link address after performing trimming processing, verification processing, and encoding processing.
In one embodiment, optionally, the launching of the user-selected target operating system simulator comprises: acquiring device parameters in a target device list file; the target equipment list file is an equipment list file of a target operating system simulator selected by a user; a launch simulator command is invoked based on the device parameters to launch the target operating system simulator. The Device parameter may be, for example, a UDID (Unique Device Identifier) parameter and a deviceType parameter. Therein, the launch simulator command may be, for example, xcrun simctl boot $ UDID. Specifically, the "UDID" in the start simulator instruction is replaced according to the UDID parameter value in the device parameter.
Fig. 3 is a schematic diagram of a display interface of a default client according to a second embodiment of the present invention. The left "saved bookmark" in fig. 3 is a list control, under which 9 types of link addresses are shown, specifically, the link address includes a link code, a link name and link content, for example, the link code is "debug link 1", the link name is "bookmark name", and the link content is "openXX:// param ═ 1& param2 ═ abc …". Further, the user may click "more" in the interface. . . ", to enable more link addresses to be displayed in the interface. The "enter link (bookmark)" on the right in fig. 3 is a text input box in which the user can enter and edit a link address. When the user clicks the "save" control, the link address within the text entry box may be saved locally and/or synchronized to the server. And when the user selects the link address in the list control or clicks the 'selected' control, displaying the target link address to be debugged in the text box of the 'currently selected link'. Fig. 3 shows, for example, a mobile terminal as a mobile phone, a selection item of the simulator and a selection item of the mobile phone are displayed in an interface through a single selection component. If the user selects the 'mobile phone' option, a two-dimensional code containing the information of the target link address is generated and displayed in a display area of a 'real phone (mobile phone) debugging two-dimensional code'. The user can use an application program with a two-dimension code scanning function on the mobile phone to scan the two-dimension code, start the target application based on the target link address contained in the two-dimension code, and display a target page in the target application. If the user selects the 'simulator' option, the user starts the target application in the simulator based on the target link address after clicking the 'start/open' control, and displays a target page in the target application.
It should be noted that fig. 3 is a schematic diagram of a display interface provided for explaining the display interface, but does not limit the layout and specific content of the display interface. It can be understood that any display interface including the control/component function provided in this embodiment is within the scope of the present disclosure.
According to the technical scheme, the target application is determined to be started on the mobile terminal or the operating system simulator based on the target link address through starting the option of the mobile terminal or the operating system simulator and according to the selection operation of the user on the option, so that the problem of link debugging on different platforms is solved, the user can flexibly switch the platform for link debugging according to the debugging requirement, and the flexibility of link debugging is improved.
EXAMPLE III
Fig. 4 is a flowchart of a link debugging method provided in a third embodiment of the present invention, where the optimization is performed on the basis of the foregoing embodiments, and optionally, before starting a target application in the target operating system simulator based on the target link address and displaying a target page in the target application, the method further includes: determining a target application identifier of a target application based on the target link address, and acquiring application identifiers of all installed applications in a started target operating system simulator; and determining whether the obtained application identifications contain the target application identification, and if not, installing the target application into the target operating system simulator by calling an application installation command. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted in this embodiment.
The specific implementation steps of this embodiment include:
s310, when the starting triggering operation of the preset client is detected, generating an interface containing a text input box and a list control.
And S320, displaying the interface to input a 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.
And S330, displaying a selection item for starting the mobile terminal or the operating system simulator through a preset component.
S340, determining a target application identifier of the target application based on the target link address, and acquiring the application identifiers of all installed applications in the started target operating system simulator.
Specifically, the target link address is read to determine a target application identifier of the target application. Taking a target operating system as an android system as an example, the address of the target link address is' android: the address information of host "indicates the target application identification of the target application program.
In an embodiment, optionally, acquiring an application identifier of each installed application in the started target operating system simulator includes: acquiring an application folder under a started target operating system simulator; each subdirectory in the application folder corresponds to one installed application respectively; and analyzing the preset file under each subdirectory to obtain the application identifier of the installed application corresponding to each subdirectory.
Wherein, for example, the Application folder may be "-/Library/device/corestimator/Devices/6 DA66007-DEE7-432A-965C-66E16C0914A 4/Data/contacts/Data/Application". The preset file may be, for example, a com.applet.mobile _ container _ manager.metadata.plist file. Illustratively, when the target operating system is an apple system, the application identifier is a bundleid (bundleidentifier). The BundleID is a unique identification of the apple system application.
S350, judging whether the obtained application identifications contain target application identifications or not, and if yes, executing S370; if not, S360 is performed.
Specifically, each application identifier is searched based on the target application identifier, and whether each application identifier contains the target application identifier is determined.
S360, installing the target application into the target operating system simulator by calling the application installation command, and executing S370.
The application installation command may be, for example, 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.
And S370, according to the selection operation of the user on the selection item, determining to start the target application in the target operating system simulator based on the target link address, and displaying a target page in the target application.
Specifically, the target application is started in the target operating system simulator by calling the simulator control command, and the parameter in the target link address is transmitted to the starting parameter of the target application, so that the target page corresponding to the target link address is displayed in the target application. Wherein, for example, the simulator control command may be an xcrun simctl command.
Fig. 5 is a flowchart of a specific example of a link debugging method according to a third embodiment of the present invention. The preset client is opened, the local data are read, specifically, when the local data are read, data synchronization can be carried out with the cloud end through the network, and meanwhile the data of the cloud end can be read.
On one hand, the data stored in the local/cloud terminal is displayed through a list control of a display interface of a preset client, and specifically, the data is a link address. The user determines the target link address by selecting a bookmark, i.e., clicking on the link address in the selection list control. When a start operation generated by clicking the start/open control by the user is detected, the target link address is displayed in a character string format, so that the character string is preprocessed, specifically, the preprocessing includes trimming and checking. And carrying out URL coding on the trimmed and verified target link address to obtain a URL address. If the user selects the real machine based on the radio control, a two-dimensional code containing information of the target link address is generated, the user can scan the two-dimensional code by using an application program with a two-dimensional code scanning function on the real machine, the target application is started based on the target link address contained in the two-dimensional code, and a target page in the target application is displayed. If the user selects "simulator" based on the radio controls, the available simulator versions are enumerated and a target simulator version selected by the user based on the available simulator versions is determined. And judging whether a target application corresponding to the target link address is installed in the target simulator version. If so, generating and executing a command for starting the simulator, starting the target application in the target simulator and displaying a target page in the target application. If the target application is not installed, installing the target application into the target simulator, and if the installation is successful, generating a command for starting the simulator and executing the command; if the installation fails, the debugging operation on the target link address is finished.
On the other hand, the user inputs data, specifically, a link address, based on a text input box in the display interface. And when the storage operation generated by clicking the storage control by the user is detected, preprocessing the character string in the text input box, and storing the preprocessed target link address locally. The data stored locally and the data stored in the cloud can be updated synchronously through the network. The user information may be, for example, a user name and a saving time for saving the target link address, the bookmark information may be the target link address and a bookmark name, and the other configuration information may be information in the target link address, such as, for example, a target application identifier.
According to the technical scheme of the embodiment, the target application identification of the target application is determined based on the target link address, and the application identification of each installed application in the started target operating system simulator is obtained; and determining whether the obtained application identifications contain target application identifications or not, and if not, installing the target applications into the target operating system simulator by calling application installation commands, so that the problem that the target applications are not installed in an operating system simulator is solved, the learning and use cost of developers on complex command line tools is saved, the operation of installing target application programs in a manual dragging mode is avoided, and the link development and debugging efficiency is improved.
The following is an embodiment of a link debugging apparatus provided in an embodiment of the present invention, which belongs to the same inventive concept as the link debugging methods in the above embodiments, and details that are not described in detail in the embodiment of the link debugging apparatus may refer to the embodiment of the link debugging method.
Example four
Fig. 6 is a schematic diagram of a link debugging apparatus according to a fourth embodiment of the present invention, where the present embodiment is applicable to a case where a target application is developed and debugged according to an input link address, the link debugging apparatus includes: an interface generation module 410, an interface presentation module 420, and a target application launch module 430.
The interface generating module 410 is configured to generate an interface including a text input box and a list control when a start triggering operation on a preset client is detected; the list control comprises at least one link address stored in local and/or a server;
the interface display module 420 is configured to display an interface, so as 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;
and the target application starting module 430 is configured to start the target application based on the target link address and display a target page in the target application.
According to the technical scheme of the embodiment, when the starting triggering operation on the preset client is detected, the interface comprising the text input box and the list control is produced and displayed, so that the user can realize the input operation on the target link address through the text input box and the list control, the problems of high difficulty and high error possibility in the operation of inputting the target link address in the prior art are solved, the accuracy of the input target link address is ensured, further, the technical scheme of the embodiment of the invention provides a complete debugging solution from the input, editing and processing of the link address to the starting of the target application and the like, the time and the energy of developers are saved, and the efficiency of debugging the target link address is improved.
On the basis of the above embodiment, optionally, the target application starting module 430 includes:
and the two-dimensional code generating unit is used for generating a two-dimensional code containing address information of a target link address when the trigger operation of starting the application is detected, so that after the two-dimensional code is scanned by the mobile terminal, the target application is started in the mobile terminal and a target page is displayed in the target application.
On the basis of the above embodiment, optionally, the target application starting module 430 includes:
the operating system simulator information acquisition unit is used for acquiring locally installed operating system simulator information and displaying the operating system simulator information for selecting an operating system simulator when the trigger operation of starting the application is detected;
the operating system simulator information starting unit is used for starting a target operating system simulator selected by a user;
and the target application starting unit is used for 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.
On the basis of the above embodiment, optionally, the apparatus further includes:
the target application identification determining module is used for determining a target application identification of a target application based on the target link address and acquiring an application identification of each installed application in the started target operating system simulator; and determining whether the obtained application identifications contain target application identifications, and if not, installing the target applications into the target operating system simulator by calling application installation commands.
On the basis of the foregoing embodiment, optionally, the operating system simulator information acquiring unit is specifically configured to:
searching a local simulator equipment list directory;
and analyzing the equipment list file in the simulator equipment list directory to obtain the information of the locally installed operating system simulator.
On the basis of the foregoing embodiment, optionally, the operating system simulator information starting unit is specifically configured to:
acquiring device parameters in a target device list file; the target equipment list file is an equipment list file of a target operating system simulator selected by a user;
a launch simulator command is invoked based on the device parameters to launch the target operating system simulator.
On the basis of the foregoing embodiment, optionally, the target application identifier determining module is specifically configured to:
acquiring an application folder under a started target operating system simulator; each subdirectory in the application folder corresponds to one installed application respectively;
and analyzing the preset file under each subdirectory to obtain the application identifier of the installed application corresponding to each subdirectory.
On the basis of the above embodiment, optionally, the apparatus further includes:
the starting selection item display unit is used for displaying a selection item for starting the mobile terminal or the operating system simulator through a preset component; and determining to start the target application at the mobile terminal or at the operating system simulator based on the target link address according to the selection operation of the user on the selection item.
The link debugging device provided by the embodiment of the invention can execute the method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method.
It should be noted that, in the embodiment of the link debugging apparatus, each unit and each module included in the link debugging apparatus are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 7 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention. Fig. 7 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 7 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 7, device 12 is in the form of a general purpose computing device. The 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 couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The 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/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile 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 by 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 that are configured to carry out the functions of embodiments of the invention.
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 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may 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 the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, 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, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, to implement a link debugging method provided by an embodiment of the present invention, the method includes:
when the starting triggering operation of a preset client is detected, generating an interface containing a text input box and a list control; the list control comprises at least one link address stored in local and/or a server;
displaying the interface 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;
and starting the target application based on the target link address, and displaying a target page in the target application.
Of course, those skilled in the art will appreciate that the processor may also implement the solution of the method for determining the reserved inventory provided by any embodiment of the present invention.
EXAMPLE six
A sixth embodiment provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the link debugging method according to any embodiment of the present invention, and the method includes:
when the starting triggering operation of a preset client is detected, generating an interface containing a text input box and a list control; the list control comprises at least one link address stored in local and/or a server;
displaying the interface 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;
and starting the target application based on the target link address, and displaying a target page in the target application.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code 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).
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A link debugging method, comprising:
when the starting triggering operation of a preset client is detected, generating an interface containing a text input box and a list control; the list control comprises at least one link address stored in local and/or a server;
displaying the interface to input a 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;
starting a target application based on the target link address, and displaying a target page in the target application.
2. The method of claim 1, wherein starting a target application based on the target link address and displaying a target page in the target application comprises:
when the trigger operation of starting the application is detected, generating a two-dimensional code containing address information of the target link address, and after the two-dimensional code is scanned by the mobile terminal, starting the target application in the mobile terminal and displaying a target page in the target application.
3. The method of claim 1, wherein starting a target application based on the target link address and displaying a target page in the target application comprises:
when the trigger operation of starting the application is detected, acquiring the information of a local installed operating system simulator, and displaying the information of the operating system simulator for selecting the operating system simulator;
starting a target operating system simulator selected by a user;
and starting a target application in the target operating system simulator based on the target link address, and displaying a target page in the target application.
4. The method of claim 3, wherein prior to launching a target application in the target operating system simulator based on the target link address and exposing a target page in the target application, the method further comprises:
determining a target application identifier of a target application based on the target link address, and acquiring application identifiers of all installed applications in a started target operating system simulator;
and determining whether the obtained application identifications contain the target application identification, and if not, installing the target application into the target operating system simulator by calling an application installation command.
5. The method of claim 3, wherein obtaining locally installed operating system simulator information comprises:
searching a local simulator equipment list directory;
and analyzing the equipment list file in the simulator equipment list directory to obtain the information of the locally installed operating system simulator.
6. The method of claim 3, wherein launching the user-selected target operating system simulator comprises:
acquiring 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;
invoking a launch simulator command based on the device parameter to launch the target operating system simulator.
7. The method of claim 4, wherein obtaining an application identification of each installed application in the launched target operating system simulator comprises:
acquiring an application folder under a started target operating system simulator; each subdirectory in the application folder corresponds to an installed application respectively;
and analyzing the preset file under each subdirectory to obtain the application identifier of the installed application corresponding to each subdirectory.
8. A method according to claim 2 or 3, wherein before starting a target application based on the target link address, the method further comprises:
displaying a selection item for starting the mobile terminal or the operating system simulator through a preset component;
and according to the selection operation of the user on the selection item, determining to start the target application at the mobile terminal or the operating system simulator based on the target link address.
9. The method according to any one of claims 1-7, further comprising:
when the storage triggering operation of the input target link address is detected, prompting the input of a bookmark name through a preset component;
and correspondingly storing the input target link address and the bookmark name in the local, and/or synchronizing the input target link address and the bookmark name to a server side for corresponding storage.
10. A link debugging apparatus, comprising:
the interface generating module is used for generating an interface containing a text input box and a list control when the starting triggering operation of the preset client is detected; the list control comprises at least one link address stored in local and/or a server;
the interface display module is used for displaying the interface so as to input a 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;
and the target application starting module is used for starting the target application based on the target link address and displaying a target page in the target application.
11. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of link debugging as recited in any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the link debugging method according to any one of claims 1 to 9.
CN202010858394.XA 2020-08-24 2020-08-24 Link debugging method, device, equipment and storage medium Pending CN113761402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010858394.XA CN113761402A (en) 2020-08-24 2020-08-24 Link debugging method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010858394.XA CN113761402A (en) 2020-08-24 2020-08-24 Link debugging method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113761402A true CN113761402A (en) 2021-12-07

Family

ID=78785621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010858394.XA Pending CN113761402A (en) 2020-08-24 2020-08-24 Link debugging method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113761402A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918845A (en) * 2021-12-09 2022-01-11 天津联想协同科技有限公司 Method and device for generating external chain url capable of identifying state and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918845A (en) * 2021-12-09 2022-01-11 天津联想协同科技有限公司 Method and device for generating external chain url capable of identifying state and storage medium
CN113918845B (en) * 2021-12-09 2022-03-15 天津联想协同科技有限公司 Method and device for generating external chain url capable of identifying state and storage medium

Similar Documents

Publication Publication Date Title
US8171406B1 (en) Automating user interface navigation
CN110955428A (en) Page display method and device, electronic equipment and medium
CN111176629A (en) Application development method and device
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN113342590B (en) NVMe device debugging function implementation method, device, equipment and storage medium
CN112286485B (en) Method and device for controlling application through voice, electronic equipment and storage medium
CN113505082B (en) Application program testing method and device
CN113051514A (en) Element positioning method and device, electronic equipment and storage medium
CN115658529A (en) Automatic testing method for user page and related equipment
CN112463256A (en) Method, system, electronic device and storage medium for determining configuration file
CN114036439A (en) Website building method, device, medium and electronic equipment
CN112416775A (en) Software automation testing method and device based on artificial intelligence and electronic equipment
CN109032612B (en) Interface calling method and device of hybrid application and computer readable storage medium
CN113360379B (en) Program test environment creation method and program test environment creation apparatus
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN113761402A (en) Link debugging method, device, equipment and storage medium
CN106815010B (en) Method and device for operating database
CN111240790B (en) Multi-language adaptation method, device, client and storage medium for application
CN110825370B (en) Mobile terminal application development method, device and system
CN111061466A (en) Automatic conversion method, system, terminal and medium of behavior control scripting language
CN110888641A (en) Automatic script generation method and device, server and storage medium
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN113590564B (en) Data storage method, device, electronic equipment and storage medium
CN115080113A (en) Item code detection method and device, readable storage medium and electronic equipment

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