CN110895592B - Link starting method, device, equipment and medium on mobile terminal - Google Patents

Link starting method, device, equipment and medium on mobile terminal Download PDF

Info

Publication number
CN110895592B
CN110895592B CN201810962933.7A CN201810962933A CN110895592B CN 110895592 B CN110895592 B CN 110895592B CN 201810962933 A CN201810962933 A CN 201810962933A CN 110895592 B CN110895592 B CN 110895592B
Authority
CN
China
Prior art keywords
link
browser
attribute
mode
webpage corresponding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810962933.7A
Other languages
Chinese (zh)
Other versions
CN110895592A (en
Inventor
王伟
朱熔洁
汪从武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201810962933.7A priority Critical patent/CN110895592B/en
Publication of CN110895592A publication Critical patent/CN110895592A/en
Application granted granted Critical
Publication of CN110895592B publication Critical patent/CN110895592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present disclosure relates to a link starting method, apparatus, device and computer readable storage medium on a mobile terminal, the method comprising: receiving a starting request for a first link in a webpage displayed in a browser; acquiring the attribute of the first link; obtaining a display mode and display information according to the attribute of the first link; and if the display mode is the first mode, displaying the webpage corresponding to the first link on the desktop of the mobile terminal according to the display information.

Description

Link starting method, device, equipment and medium on mobile terminal
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for starting a link on a mobile terminal.
Background
With the development of internet technology and the intellectualization of mobile terminals, application programs (abbreviated as APPs) installed and used on mobile terminals have appeared. The existing application programs need to be installed and are large in size, so that the cost for obtaining customers is high. The web page is light, but the actual experience is far from the application program.
Disclosure of Invention
The purpose of the present disclosure is to provide a new link starting method, apparatus, device and computer readable storage medium on a mobile terminal.
The purpose of the present disclosure is achieved by the following technical means. The link starting method on the mobile terminal provided by the disclosure comprises the following steps: receiving a starting request of a first link in a webpage displayed in a browser; acquiring the attribute of the first link; obtaining a display mode and display information according to the attribute of the first link; and if the display mode is the first mode, displaying the webpage corresponding to the first link on the desktop of the mobile terminal according to the display information.
The object of the present disclosure can be further achieved by the following technical measures.
In the foregoing link starting method, the obtaining the attribute of the first link includes: acquiring the label attribute of the first link; the obtaining of the display mode and the display information according to the attribute of the first link includes: and obtaining the display mode according to the label attribute of the first link.
In the link starting method, obtaining the display mode and the display information according to the attribute of the first link includes: and the browser obtains the display mode and the display information according to the attribute of the first link.
In the link starting method, the displaying the webpage corresponding to the first link on the desktop of the mobile terminal according to the display information includes: and newly establishing a task based on a browser, and displaying the webpage corresponding to the first link in the task based on the browser.
The link starting method comprises the following steps: receiving an opening request of a second link in the webpage corresponding to the first link; acquiring the attribute of the second link; and displaying the webpage corresponding to the second link in the task based on the browser according to the attribute of the second link.
In the foregoing link starting method, the displaying a webpage corresponding to the second link in the browser-based task includes: and newly establishing a tab page as a first tab page in the browser-based task, and displaying a webpage corresponding to the second link in the first tab page.
In the foregoing link starting method, the second link includes: and the link is used for connecting to a website except the website to which the webpage corresponding to the first link belongs.
In the link starting method, the displaying the webpage corresponding to the first link in the browser-based task includes: setting the webpage corresponding to the first link as a homepage of the browser-based task.
In the link starting method, the newly establishing a task based on a browser, and displaying a webpage corresponding to the first link in the task based on the browser includes: and setting a control for jumping to a browser homepage in the browser-based task to jump to a webpage corresponding to the first link, or not setting a control for jumping to the browser homepage in the browser-based task.
In the foregoing link starting method, the browser-based task does not have an address bar.
The aforementioned link starting method, wherein the method further comprises: and if the display mode is the second mode, a tab page is newly established in the browser according to the display information and serves as a second tab page, and the webpage corresponding to the first link is displayed in the second tab page.
The purpose of the present disclosure is also achieved by the following technical solutions. According to this disclosure, a link starting apparatus on a mobile terminal includes: the first receiving module is used for receiving a starting request of a first link in a webpage displayed in a browser; the first acquisition module is used for acquiring the attribute of the first link; the first determining module is used for obtaining a display mode and display information according to the attribute of the first link; and the first execution module is used for displaying the webpage corresponding to the first link on the desktop of the mobile terminal according to the display information if the display mode is the first mode.
The object of the present disclosure can be further achieved by the following technical measures.
In an embodiment of the link starting apparatus, the first obtaining module is specifically configured to: acquiring the label attribute of the first link; the first determining module is specifically configured to: and obtaining the display mode according to the label attribute of the first link.
In an embodiment of the link starting apparatus, the first determining module is specifically configured to: and the browser obtains the display mode and the display information according to the attribute of the first link.
In an embodiment of the link starting apparatus, the first executing module is specifically configured to: and if the display mode is the first mode, newly establishing a task based on a browser, and displaying the webpage corresponding to the first link in the task based on the browser.
The aforementioned link starting apparatus, wherein the apparatus further comprises: a second receiving module, configured to receive an opening request for a second link in a webpage corresponding to the first link; the second acquisition module is used for acquiring the attribute of the second link; and the second execution module is used for displaying the webpage corresponding to the second link in the task based on the browser according to the attribute of the second link.
In an embodiment of the link starting apparatus, the second executing module is specifically configured to: and newly establishing a tab page as a first tab page in the browser-based task, and displaying a webpage corresponding to the second link in the first tab page.
The aforementioned link initiating apparatus, wherein the second link comprises: and the link is used for connecting to a website except the website to which the webpage corresponding to the first link belongs.
The link starting apparatus mentioned above, wherein the first executing module is further configured to: setting the webpage corresponding to the first link as a homepage of the browser-based task.
The link starting apparatus mentioned above, wherein the first executing module is further configured to: and setting a control used for jumping to a browser homepage in the browser-based task to jump to a webpage corresponding to the first link, or not setting a control used for jumping to the browser homepage in the browser-based task.
The aforementioned link initiation device, wherein the browser-based task does not have an address bar.
The aforementioned link starting apparatus, wherein the apparatus further comprises: and the third execution module is used for establishing a new tab in the browser according to the display information as a second tab if the display mode is the second mode, and displaying the webpage corresponding to the first link in the second tab.
The purpose of the present disclosure is also achieved by the following technical solutions. An apparatus proposed in accordance with the present disclosure includes: a memory for storing non-transitory computer readable instructions; and a processor for executing the computer readable instructions, so that the processor realizes the link starting method on any one of the mobile terminals when executing the computer readable instructions.
The purpose of the present disclosure is also achieved by the following technical solutions. A computer-readable storage medium according to the present disclosure is provided for storing non-transitory computer-readable instructions that, when executed by a computer, cause the computer to perform a link initiation method on any of the aforementioned mobile terminals.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
Fig. 1 is a flowchart of a link initiation method on a mobile terminal according to an embodiment of the present disclosure.
Fig. 2 is a block flow diagram of a link initiation method on a mobile terminal according to another embodiment of the disclosure.
Fig. 3 is a block diagram of a link initiation apparatus on a mobile terminal according to an embodiment of the present disclosure.
Fig. 4 is a block diagram of a link initiation apparatus on a mobile terminal according to another embodiment of the present disclosure.
Fig. 5 is a block diagram of a device according to an embodiment of the present disclosure.
Fig. 6 is a schematic diagram of a computer-readable storage medium of one embodiment of the present disclosure.
Fig. 7 is a block diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
To further illustrate the technical means and effects of the present disclosure adopted to achieve the predetermined invention, the following detailed description will be given to specific embodiments, structures, features and effects of a link starting method, device, apparatus and computer readable storage medium on a mobile terminal according to the present disclosure with reference to the accompanying drawings and preferred embodiments.
To facilitate an understanding of the present application, the following brief description of the terms involved herein follows: WEB APP refers to the independent presentation of the content of a WEB page in a native application-like form, rather than opening a WEB page in a browser.
Fig. 1 is a schematic flow chart diagram of one embodiment of a link starting method on a mobile terminal according to the present disclosure. Referring to fig. 1, an exemplary method for starting a link on a mobile terminal according to the present disclosure mainly includes the following steps:
step S11, receiving a starting request of a first link in a webpage displayed in a browser. Thereafter, the process proceeds to step S12.
As an optional example, the step S11 specifically includes: and receiving a clicking operation of a user on a first link in the webpage so as to receive a starting request of the first link.
Step S12, obtaining the attribute of the first link. Thereafter, the process proceeds to step S13.
And S13, obtaining a display mode and display information according to the attribute of the first link. The display information includes information that needs to be used when displaying the web page corresponding to the first link, and specifically includes information of the web page corresponding to the first link, such as an address of the web page and a title of the web page. Thereafter, the process proceeds to step S14.
As an optional example, the step S13 specifically includes: and the browser obtains a display mode and display information according to the attribute of the first link.
And S14, if the display mode is the first mode, displaying the webpage corresponding to the first link on the desktop of the mobile terminal according to the display information.
It should be noted that the format presented on the desktop presented by the present disclosure has many differences compared to the format of opening a link in a browser. For example, if multiple links are launched in the form of links opened in a browser, multiple web pages corresponding to the multiple links are exposed in the same browser application. However, if a plurality of links are started in a form of being exposed on the desktop, a plurality of web pages corresponding to the plurality of links are respectively exposed in a plurality of independent applications. This desktop exposed form may also be referred to as a standalone application form.
According to the link starting method on the mobile terminal, the webpage corresponding to the link is displayed in the mode of displaying on the desktop, so that the link is started in the mode of WEB APP, and the user experience is improved.
In practice, the attribute of the link is often identified by using a tag attribute of the link, in some embodiments of the present disclosure, the foregoing step S12 specifically includes obtaining the tag attribute of the first link, and the foregoing step S13 specifically includes obtaining the presentation mode according to the tag attribute of the first link. Further, the target attribute of the a-tag may be utilized to identify the presentation mode of the link. The present disclosure proposes a new a-tag target attribute: < a target = "_ standalon" >, the new attribute is not referred to as a standalon attribute. If the standalone attribute is added to the link node element, the browser notifies the presentation mode of the web page corresponding to the link to be the first mode when recognizing the tag.
In some mobile terminal operating systems, such as the Android system (Android), each individual application is an individual task (task). For an activity (activity), such as launching a bookmark, opening a link, it is possible to perform the activity in the form of a presentation on the desktop by starting the activity in a separate new task. Specifically, in some embodiments of the present disclosure, the displaying, in step S14, the web page corresponding to the first link on the desktop of the mobile terminal specifically includes: and establishing a browser-based task on the desktop, and displaying the webpage corresponding to the first link in the browser-based task. It is noted that the browser-based task is not a browser instance, and the newly created browser-based task is concurrent with an existing browser instance.
In some embodiments of the disclosure, the webpage corresponding to the first link is set as the homepage of the browser-based task for presentation according to the presentation information, so that the jump can be performed within a range to which the webpage corresponding to the first link can jump, and the return to the webpage corresponding to the first link can be performed by a return request or a return to homepage request.
Further, in some embodiments of the present disclosure, the browser-based task does not have an address bar (alternatively referred to as a web address entry bar). Specifically, the address bar in the browser-based task may be deleted such that the browser-based task does not have an address bar; further, a status bar can be set at the position of the original address bar when the address bar is not set, and the status bar is used for showing the title of the webpage corresponding to the first link. By not setting an address bar, the range to which the task based on the browser can jump is limited, so that jumping can be performed only in the range to which the webpage corresponding to the first link can jump, and experience similar to a native application program is realized.
Further, in some embodiments of the present disclosure, the control for jumping to the browser home page in the browser-based task is set to jump to the web page corresponding to the first link, or the control for jumping to the browser home page is not set in the browser-based task. Specifically, the control for jumping to the browser home page in the browser-based task can be deleted, and the entire toolbar containing the control for jumping to the browser home page can also be deleted, so that the browser-based task does not have the control for jumping to the browser home page. The original control for jumping to the browser homepage is adjusted, so that the jumping range of the task based on the browser is limited, the jumping can be carried out only in the jumping range of the webpage corresponding to the first link, and the experience similar to the native application program is realized. It should be noted that, in one embodiment, the setting of no address bar and the adjustment of the original control for jumping to the browser homepage may be performed simultaneously.
Fig. 2 is a schematic flow chart diagram of one embodiment of a link initiation method on a mobile terminal according to the present disclosure. Referring to fig. 2, in some embodiments of the present disclosure, after the step S14 of displaying the web page corresponding to the first link on the desktop of the mobile terminal, the method for starting a link on the mobile terminal in the example of the present disclosure further includes the following steps:
step S21, receiving an opening request for a second link in the web page corresponding to the first link. It should be noted that, the second link in the web page corresponding to the first link mentioned herein does not only refer to the link displayed by the web page corresponding to the first link, but all links that can be reached by the web page corresponding to the first link, that is, the second link also includes links displayed by other web pages that are skipped from the web page corresponding to the first link. Thereafter, the process proceeds to step S22.
Step S22, obtain the attribute of the second link. The attribute of the second link includes information such as an address of a web page corresponding to the second link. Thereafter, the process proceeds to step S23.
And step S23, displaying the webpage corresponding to the second link in the task based on the browser according to the attribute of the second link.
According to the link starting method on the mobile terminal, the webpage corresponding to the second link is displayed in the task based on the browser, the link can be continuously accessed in the task based on the browser instead of jumping back to the browser, so that the link is further started in a WEB APP mode and the webpage corresponding to the link is displayed, and the user experience is greatly improved.
In some embodiments of the present disclosure, the step S23 specifically includes: and newly establishing a tab page as a first tab page in the browser-based task, and displaying a webpage corresponding to the second link in the first tab page. According to the link starting method on the mobile terminal, the second link is opened in a new tab page mode, so that a plurality of tab pages can be displayed in a task based on a browser at the same time, and the user experience is improved.
Further, the second link in the web page corresponding to the first link in the foregoing steps S21 to S23 includes: the link for connecting to a website other than the website to which the web page corresponding to the first link belongs is not said to be an off-site link. According to the link starting method on the mobile terminal, the webpage corresponding to the off-site link is displayed in the tab page of the browser-based task instead of guiding the off-site link to the browser, so that the link is further started in a WEB APP mode and displayed, and the user experience is greatly improved.
In some embodiments of the present disclosure, not all first links are started in the first mode, but may also be started in other modes, and specifically, the link starting method on the mobile terminal of the example of the present disclosure further includes: if the display mode is the second mode, a tab page is newly established in the browser according to the display information and serves as a second tab page, and the webpage corresponding to the first link is displayed in the second tab page.
It should be noted that the browser includes a kernel and a UI (User's Interface, or User Interface), where the kernel is used for rendering web page content, and the browser UI is used for wrapping web pages. In some embodiments of the present disclosure, when the user clicks the first link, the kernel receives click information of the user from the operating system through event delivery, the kernel calculates an actual area clicked by the user, analyzes and saves attributes of the link in the kernel, and passes related link attributes to the UI part of the browser. The browser UI section decides the presentation mode according to the attribute of the first link.
Fig. 3 is a schematic structural diagram of one embodiment of a link initiation apparatus on a mobile terminal of the present disclosure. Referring to fig. 3, a link starting apparatus 100 of a mobile terminal according to an example of the present disclosure mainly includes a first receiving module 101, a first obtaining module 102, a first determining module 103, and a first executing module 104.
The first receiving module 101 is configured to receive a start request for a first link in a web page displayed in a browser.
The first obtaining module 102 is configured to obtain an attribute of the first link.
The first determining module 103 is configured to obtain a display mode and display information according to the attribute of the first link.
The first execution module 104 is configured to display, if the display mode is the first mode, a webpage corresponding to the first link on a desktop of the mobile terminal according to the display information.
In some embodiments of the present disclosure, the first obtaining module 102 is specifically configured to obtain the tag attribute of the first link, and the first determining module 103 is specifically configured to obtain the presentation mode according to the tag attribute of the first link. Optionally, the tag attribute is a target attribute of the a-tag.
In some embodiments of the present disclosure, the first determining module 103 is specifically configured to: the browser obtains the display mode and the display information according to the attribute of the first link.
In some embodiments of the present disclosure, the first execution module 104 is specifically configured to: and if the display mode is the first mode, newly establishing a task based on the browser, and displaying the webpage corresponding to the first link in the task based on the browser.
In some embodiments of the present disclosure, the first execution module 104 is further configured to: and setting the webpage corresponding to the first link as a homepage of the browser-based task.
In some embodiments of the present disclosure, the first execution module 104 is further configured to: and setting a control for jumping to a browser homepage in the browser-based task to jump to a webpage corresponding to the first link, or not setting a control for jumping to the browser homepage in the browser-based task.
In some embodiments of the present disclosure, the browser-based task does not have an address bar.
Fig. 4 is a schematic structural diagram of one embodiment of a link initiation apparatus on a mobile terminal of the present disclosure. Referring to fig. 4, in some embodiments of the present disclosure, the link starting apparatus 100 on the mobile terminal further includes a second receiving module 105, a second obtaining module 106, and a second executing module 107. The second receiving module 105 is configured to receive an open request for a second link in the web page corresponding to the first link. The second obtaining module 106 is configured to obtain the attribute of the second link. The second executing module 107 is configured to display the web page corresponding to the second link in the browser-based task according to the attribute of the second link. As an optional embodiment, the second executing module 107 is specifically configured to: and newly establishing a tab page as a first tab page in the browser-based task, and displaying a webpage corresponding to the second link in the first tab page. As an alternative embodiment, the second link comprises: and the link is used for connecting to websites except the website to which the webpage corresponding to the first link belongs.
In some embodiments of the present disclosure, the link starting apparatus 100 of the present disclosure further includes: a third executing module (not shown in the figure), configured to, if the display mode is the second mode, create a new tab page as the second tab page in the browser according to the display information, and display the web page corresponding to the first link in the second tab page.
Various embodiments of the link initiation method on a mobile terminal presented in this disclosure may be implemented using a computer-readable medium, such as computer software, hardware, or any combination thereof. For a hardware implementation, various embodiments of the link initiation method on a mobile terminal proposed by the present disclosure may be implemented by using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein, and in some cases, various embodiments of the link initiation method on a mobile terminal proposed by the present disclosure may be implemented in a controller. For software implementation, various embodiments of the link initiation method on a mobile terminal presented in the present disclosure may be implemented with a separate software module that allows at least one function or operation to be performed. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in memory and executed by the controller.
Fig. 5 is a hardware block diagram illustrating an apparatus according to one embodiment of the present disclosure. As shown in fig. 5, a device 200 according to an embodiment of the present disclosure includes a memory 201 and a processor 202. The various components of the device 200 are interconnected by a bus system and/or other form of connection mechanism (not shown). The device 200 of the present disclosure may be implemented in various forms including, but not limited to, a server or a mobile terminal device such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, etc., and a fixed terminal device such as a digital TV, a desktop computer, etc.
The memory 201 is used to store non-transitory computer readable instructions. In particular, memory 201 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, etc.
The processor 202 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the device 200 to perform desired functions. In one embodiment of the present disclosure, the processor 202 is configured to execute the computer readable instructions stored in the memory 201, so that the apparatus 200 performs all or part of the aforementioned steps of the link initiation method on the mobile terminal according to the embodiments of the present disclosure.
Fig. 6 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. As shown in fig. 6, a computer-readable storage medium 300 having non-transitory computer-readable instructions 301 stored thereon according to an embodiment of the present disclosure. The non-transitory computer readable instructions 301, when executed by a processor, perform all or some of the steps of the aforementioned link initiation method on a mobile terminal according to embodiments of the present disclosure.
Fig. 7 is a schematic diagram illustrating a hardware configuration of a terminal device according to an embodiment of the present disclosure. The terminal device may be implemented in various forms, and the terminal device in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
As shown in fig. 7, the terminal device 1100 may include a wireless communication unit 1110, an a/V (audio/video) input unit 1120, a user input unit 1130, a sensing unit 1140, an output unit 1150, a memory 1160, an interface unit 1170, a controller 1180, a power supply unit 1190, and the like. Fig. 7 shows a terminal device having various components, but it is to be understood that not all of the illustrated components are required to be implemented. More or fewer components may alternatively be implemented.
The wireless communication unit 1110 allows, among other things, radio communication between the terminal device 1100 and a wireless communication system or network. The a/V input unit 1120 is for receiving an audio or video signal. The user input unit 1130 may generate key input data to control various operations of the terminal device according to a command input by a user. The sensing unit 1140 detects the current state of the terminal device 1100, the position of the terminal device 1100, the presence or absence of a touch input by the user to the terminal device 1100, the orientation of the terminal device 1100, acceleration or deceleration movement and direction of the terminal device 1100, and the like, and generates a command or signal for controlling the operation of the terminal device 1100. The interface unit 1170 serves as an interface through which at least one external device is connected to the terminal apparatus 1100. The output unit 1150 is configured to provide output signals in a visual, audio, and/or tactile manner. The memory 1160 may store software programs and the like for processing and controlling operations performed by the controller 1180, or may temporarily store data that has been output or is to be output. Memory 1160 may include at least one type of storage media. Also, the terminal apparatus 1100 may cooperate with a network storage device that performs a storage function of the memory 1160 through network connection. The controller 1180 generally controls the overall operation of the terminal device. In addition, the controller 1180 may include a multimedia module for reproducing or playing back multimedia data. The controller 1180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. The power supply unit 1190 receives external power or internal power and provides appropriate power required to operate the various elements and components under the control of the controller 1180.
Various embodiments of the link initiation method on a mobile terminal presented in the present disclosure may be implemented in the controller 1180. For software implementation, various embodiments of the link initiation method on a mobile terminal proposed by the present disclosure may be implemented with a separate software module that allows at least one function or operation to be performed. The software code may be embodied by a software application (or program) written in any suitable programming language, which may be stored in the memory 1160 and executed by the controller 1180.
In the above, according to the method, the device, the equipment and the computer-readable storage medium for starting the link on the mobile terminal in the embodiment of the disclosure, the webpage corresponding to the first link is displayed in the form of being displayed on the desktop, so that the link is started in the form of the WEB APP, and the user experience is improved. Furthermore, the webpage corresponding to the second link is displayed in the task based on the browser, particularly the webpage corresponding to the off-site link is displayed in the task based on the browser, the link can be continuously accessed in the task based on the browser instead of jumping back to the browser, so that the link is further started in a WEB APP mode and the webpage corresponding to the link is displayed, and the user experience is greatly improved. Furthermore, the links in the task based on the browser are opened in a new tab form, so that a plurality of tabs can be displayed in the task based on the browser at the same time, and the user experience is improved. Furthermore, the webpage corresponding to the first link is used as a homepage of a task based on the browser, so that the link is further started in a WEB APP mode, and the user experience is greatly improved. Furthermore, by not setting an address bar in a task based on the browser and/or adjusting an original control for jumping to a browser homepage, starting the link in a WEB APP mode is further realized, and the user experience is greatly improved.
The basic principles of the present disclosure have been described above in connection with specific embodiments, but it should be noted that advantages, effects, and the like, mentioned in the present disclosure are only examples and not limitations, and should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by one skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. As used herein, the words "or" and "refer to, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
In addition, as used herein, "or" as used in a list of items including "at least one," "one or more" indicates a separate list, such that, for example, a list of "at least one of a, B, or C" or "one or more of a, B, or C" means a or B or C, or AB or AC or BC, or ABC (i.e., a and B and C). Furthermore, the word "exemplary" does not mean that the described example is preferred or better than other examples.
It is also noted that in the systems and methods of the present disclosure, components or steps may be decomposed and/or re-combined. Such decomposition and/or recombination should be considered as equivalents of the present disclosure.
Various changes, substitutions and alterations to the techniques described herein may be made without departing from the techniques of the teachings as defined by the appended claims. Moreover, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. Processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (13)

1. A method of link initiation on a mobile terminal, the method comprising:
receiving a starting request for a first link in a webpage displayed in a browser;
acquiring the attribute of the first link;
obtaining a display mode and display information according to the attribute of the first link;
if the display mode is a first mode, displaying the webpage corresponding to the first link on a desktop of the mobile terminal according to the display information, wherein the first mode is determined based on the tag attribute of the first link, and the tag attribute corresponding to the first mode is a standby attribute;
displaying the webpage corresponding to the first link on a desktop of the mobile terminal according to the display information comprises:
and newly establishing a task based on a browser, and displaying the webpage corresponding to the first link in the task based on the browser.
2. The link initiation method according to claim 1,
the obtaining of the attribute of the first link includes: acquiring the label attribute of the first link;
the obtaining of the display mode and the display information according to the attribute of the first link includes: and obtaining the display mode according to the label attribute of the first link.
3. The link starting method according to claim 1, wherein the obtaining of the display mode and the display information according to the attribute of the first link comprises: and the browser obtains the display mode and the display information according to the attribute of the first link.
4. The link initiation method according to claim 1, wherein the method further comprises:
receiving an opening request of a second link in the webpage corresponding to the first link;
acquiring the attribute of the second link;
and displaying the webpage corresponding to the second link in the task based on the browser according to the attribute of the second link.
5. The link starting method according to claim 4, wherein the displaying the webpage corresponding to the second link in the browser-based task comprises:
and newly establishing a tab page as a first tab page in the browser-based task, and displaying a webpage corresponding to the second link in the first tab page.
6. The link initiation method according to claim 4, wherein the second link includes: and the link is used for connecting to a website except the website to which the webpage corresponding to the first link belongs.
7. The link starting method according to claim 1, wherein the displaying the webpage corresponding to the first link in the browser-based task comprises:
setting the webpage corresponding to the first link as a homepage of the browser-based task.
8. The link starting method according to claim 7, wherein the newly establishing a browser-based task, and the displaying the web page corresponding to the first link in the browser-based task includes:
and setting a control used for jumping to a browser homepage in the browser-based task to jump to a webpage corresponding to the first link, or not setting a control used for jumping to the browser homepage in the browser-based task.
9. The link initiation method of claim 1, wherein the browser-based task does not have an address bar.
10. The link initiation method according to claim 1, wherein the method further comprises:
and if the display mode is the second mode, a tab page is newly established in the browser according to the display information and serves as a second tab page, and the webpage corresponding to the first link is displayed in the second tab page.
11. A link initiation apparatus on a mobile terminal, the apparatus comprising:
the first receiving module is used for receiving a starting request of a first link in a webpage displayed in a browser;
the first acquisition module is used for acquiring the attribute of the first link;
the first determining module is used for obtaining a display mode and display information according to the attribute of the first link;
a first execution module, configured to display, according to the display information, a webpage corresponding to the first link on a desktop of the mobile terminal if the display mode is a first mode, where the first mode is determined based on a tag attribute of the first link, and the tag attribute corresponding to the first mode is a standalon attribute;
wherein, when the display mode is the first mode, the first execution module is specifically configured to: and newly establishing a task based on a browser, and displaying the webpage corresponding to the first link in the task based on the browser.
12. An electronic device, comprising:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions such that the computer readable instructions, when executed by the processor, implement the link initiation method on a mobile terminal of any of claims 1 to 10.
13. A computer readable storage medium storing non-transitory computer readable instructions which, when executed by a computer, cause the computer to perform the link initiation method on a mobile terminal of any one of claims 1 to 10.
CN201810962933.7A 2018-08-22 2018-08-22 Link starting method, device, equipment and medium on mobile terminal Active CN110895592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810962933.7A CN110895592B (en) 2018-08-22 2018-08-22 Link starting method, device, equipment and medium on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810962933.7A CN110895592B (en) 2018-08-22 2018-08-22 Link starting method, device, equipment and medium on mobile terminal

Publications (2)

Publication Number Publication Date
CN110895592A CN110895592A (en) 2020-03-20
CN110895592B true CN110895592B (en) 2023-03-17

Family

ID=69784756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810962933.7A Active CN110895592B (en) 2018-08-22 2018-08-22 Link starting method, device, equipment and medium on mobile terminal

Country Status (1)

Country Link
CN (1) CN110895592B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111898053A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Page browsing method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095376A (en) * 2015-06-30 2015-11-25 青岛海信移动通信技术股份有限公司 Method and device for establishing browser local homepage in mobile terminal
CN106528781A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Link pushing device and method
CN108197264A (en) * 2017-12-29 2018-06-22 广东欧珀移动通信有限公司 Webpage accelerates display methods, device, mobile terminal and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012008628A1 (en) * 2010-07-13 2012-01-19 엘지전자 주식회사 Mobile terminal and configuration method for standby screen thereof
CN102693280B (en) * 2012-04-28 2014-08-13 广州市动景计算机科技有限公司 Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
CN104798072A (en) * 2012-09-25 2015-07-22 欧普拉软件公司 Information management and display in web browsers
CN103051684B (en) * 2012-12-07 2017-03-15 百度在线网络技术(北京)有限公司 Convert website into the mthods, systems and devices that Web App are shown
CN103714115B (en) * 2013-10-29 2018-03-30 北京奇虎科技有限公司 The loading method and device of a kind of web page contents
CN105868244A (en) * 2015-12-10 2016-08-17 乐视致新电子科技(天津)有限公司 Link mark based webpage display method, mobile terminal and intelligent terminal
CN107526579A (en) * 2016-06-22 2017-12-29 中兴通讯股份有限公司 A kind of application program page development management method and device
CN107656768B (en) * 2017-09-13 2021-01-26 北京京东尚科信息技术有限公司 Method and system for controlling page jump

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095376A (en) * 2015-06-30 2015-11-25 青岛海信移动通信技术股份有限公司 Method and device for establishing browser local homepage in mobile terminal
CN106528781A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Link pushing device and method
CN108197264A (en) * 2017-12-29 2018-06-22 广东欧珀移动通信有限公司 Webpage accelerates display methods, device, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN110895592A (en) 2020-03-20

Similar Documents

Publication Publication Date Title
TWI690812B (en) Method, device and client for dynamic layout of page elements
US20190251143A1 (en) Web page rendering method and related device
US10846460B2 (en) Method and apparatus for launching application page, and electronic device
US9584612B2 (en) Systems and methods for pushing applications
WO2019157894A1 (en) Application page display method and apparatus, storage medium and electronic device
US9916285B2 (en) Generating a preview of a web page for a mobile terminal
US10733259B2 (en) Web page access method and apparatus
CN105302811B (en) Browser page skipping method and device
CN105867714B (en) Application program method for down loading, apparatus and system
WO2013178094A1 (en) Page display method and device
US8516041B1 (en) Pre-fetching asynchronously requested content
CN109522500B (en) Webpage display method, device, terminal and storage medium
WO2016107325A1 (en) Page resource loading method and device based on mobile terminal
US11080322B2 (en) Search methods, servers, and systems
CN107807934B (en) Page display method and device and computing equipment
CN114065080B (en) Page rendering method, device, equipment and computer readable storage medium
CN107908679B (en) Script statement conversion method and device and computer readable storage medium
CN111367518A (en) Page layout method and device, computing equipment and computer storage medium
CN111147659A (en) Display control method and device, electronic equipment and storage medium
CN110895592B (en) Link starting method, device, equipment and medium on mobile terminal
US20150199329A1 (en) Text display method and apparatus of electronic device
CN115309470B (en) Method, device, equipment and storage medium for loading widget
CN111046308A (en) Page loading method and device
CN110866203B (en) Page jump method, device, equipment and computer readable storage medium
CN110858114B (en) Webpage display method, bookmark generation method, device, equipment and medium on mobile terminal

Legal Events

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