CN111538927B - Link processing method and device, and link access method and device - Google Patents

Link processing method and device, and link access method and device Download PDF

Info

Publication number
CN111538927B
CN111538927B CN202010317711.7A CN202010317711A CN111538927B CN 111538927 B CN111538927 B CN 111538927B CN 202010317711 A CN202010317711 A CN 202010317711A CN 111538927 B CN111538927 B CN 111538927B
Authority
CN
China
Prior art keywords
link
page
access
terminal
module
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
CN202010317711.7A
Other languages
Chinese (zh)
Other versions
CN111538927A (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010317711.7A priority Critical patent/CN111538927B/en
Publication of CN111538927A publication Critical patent/CN111538927A/en
Application granted granted Critical
Publication of CN111538927B publication Critical patent/CN111538927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/9558Details of hyperlinks; Management of linked annotations

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to a link processing method and apparatus, a link access method and apparatus, an electronic device, and a storage medium, where the link processing method is applicable to a first terminal, and the method includes: when an instruction for sharing the first link to the second terminal is received, if a second page of a previous stage associated with the first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link; and sharing the first link added with the second link to the second terminal. According to the embodiment of the disclosure, the second link may be added to the first link, and the first link to which the second link is added may be shared to the second terminal. When a user of the second terminal accesses the shared first link, the user accesses the second link in the first link, and then accesses the first link. The application program records that the user accesses the second link before accessing the first link, and further ensures that the user can accurately return to the second page at the upper level when the first page clicks the return key.

Description

Link processing method and device, and link access method and device
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a link processing method, a link processing apparatus, a link access method, a link access apparatus, an electronic device, and a storage medium.
Background
With the development of communication technology, not only information such as text and voice can be sent between users, but also pages in an application program can be shared, for example, when a user A browses a page B in the application program, the page B can be shared to a user B through a sharing key in the application program, and the user B can enter the application program to browse the page B by clicking the shared page.
In the current application program, a return key is provided for the user, and the previous page of the current page can be returned by clicking the return key in the page, for example, the current page is a detail page belonging to the list page, and then the user can return to the list page by clicking the return key. However, the premise of being able to return to the previous page is that the user enters the current page through the operation performed on the previous page, so that the application program records the access relationship between the current page accessed by the user and the previous page, that is, the page accessed before the current page is accessed is the previous page of the current page, and then the user can return to the previous page when clicking the return key.
If the current page is shared by other users, for example, the current page is the page B, the previous page of the page B is the page a, after the user B opens the page B, the application program cannot return to the page a by clicking the return key because the access relationship between the current page B and the previous page a accessed by the user is not recorded, in this case, the return key is in an inoperable state, or the user directly closes the page B by clicking the return key, returns to the application program homepage, and thus inconveniences the user to execute the return operation.
Disclosure of Invention
The present disclosure provides a link processing method, a link processing apparatus, a link access method, a link access apparatus, an electronic device, and a storage medium to solve at least the technical problems in the related art. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, a link processing method is provided, including:
when an instruction for sharing a first link to a second terminal is received, if a second page of a previous stage associated with a first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link;
and sharing the first link added with the second link to the second terminal.
Optionally, adding a second link corresponding to the second page in the first link includes:
adding a first preset character after the first link;
the second link is added after the first preset character.
According to a second aspect of an embodiment of the present disclosure, a link access method is provided, applicable to a second terminal, and the method includes:
accessing a first link when an access instruction to the shared first link is received, wherein the first link is shared by a first terminal to the second terminal;
when the second link exists in the first links, adding the first links in the second links, wherein the second links are links of a second page of a previous stage associated with a first page corresponding to the first links;
and automatically accessing the second link, automatically accessing the first link after automatically accessing the second link, and displaying a first page corresponding to the first link.
Optionally, after the displaying the first page corresponding to the first link, the method further includes:
and when a return instruction is received in the first page, accessing the second link and displaying a second page corresponding to the second link.
Optionally, the method further comprises:
and if the second link does not exist in the first link, displaying a first page corresponding to the first link.
Optionally, the adding the first link in the second link includes:
adding a second preset character after the second link;
the first link is added after the second preset character.
Optionally, when there is a second link in the first links, adding the first link in the second links includes:
and under the condition that a first preset character exists in the first link, acquiring the character after the first preset character as the second link, and adding the first link into the second link.
Optionally, after automatically accessing the second link, automatically accessing the first link includes:
and acquiring the characters after the second preset characters as the first link, and automatically accessing the first link.
According to a third aspect of the embodiments of the present disclosure, a link processing apparatus is provided, which is applicable to a first terminal, and the apparatus includes:
the adding module is configured to execute, when an instruction for sharing a first link to a second terminal is received, if a second page of a previous stage associated with a first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link;
and the sharing module is configured to perform sharing of the first link added with the second link to the second terminal.
Optionally, the adding module includes:
a character adding sub-module configured to perform adding a first preset character after the first link;
a link adding sub-module configured to perform adding the second link after the first preset character.
According to a fourth aspect of an embodiment of the present disclosure, there is provided a link access device, adapted to a second terminal, the device including:
the first access module is configured to execute access to the first link when an access instruction to the shared first link is received, wherein the first link is shared by a first terminal to the second terminal;
an adding module configured to perform adding the first link in the second link in the case that the second link exists in the first link, wherein the second link is a link of a second page of a previous stage associated with a first page corresponding to the first link;
the second access module is configured to execute automatic access to the second link, automatically access to the first link after the second link is automatically accessed, and display a first page corresponding to the first link.
Optionally, the second access module is further configured to access the second link and display a second page corresponding to the second link when a return instruction is received in the first page.
Optionally, the second access module is further configured to execute displaying a first page corresponding to the first link if the second link does not exist in the first link; and displaying a second page corresponding to the second link under the condition that the first link does not exist in the second link.
Optionally, the adding module includes:
a character adding sub-module configured to perform adding a second preset character after the second link;
a link adding sub-module configured to perform adding the first link after the second preset character.
Optionally, the first access module is configured to obtain, when a first preset character exists in the first link, a character after the first preset character as the second link, and add the first link in the second link.
Optionally, the second access module is configured to obtain the character after the second preset character as the first link, and automatically access the first link.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic device, including:
a processor;
wherein the processor is configured to execute the instructions to implement the link processing method according to any of the embodiments and/or the link access method according to any of the embodiments.
According to a sixth aspect of the embodiments of the present disclosure, a storage medium is provided, which when executed by a processor of an electronic device, causes the electronic device to perform the link processing method according to any one of the embodiments and/or the link access method according to any one of the embodiments
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product configured to perform the link processing method and/or the link access method of any of the embodiments described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the embodiment of the disclosure, in the case that the first page has the second page of the previous stage, the second link corresponding to the second page can be determined, then the second link is added to the first link, and the first link added with the second link is shared to the second terminal. Therefore, when the user of the second terminal accesses the shared first link, the user can access the second link in the first link first, then access the first link, and further display the first page corresponding to the first link.
Therefore, the application program can record that the link accessed by the user before accessing the first link is the second link, and further the user can be ensured to accurately return to the second page at the upper level of the first page when the first page clicks the return key.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
Fig. 1 is a schematic flow chart diagram illustrating a link processing method according to an embodiment of the present disclosure.
Fig. 2 is a schematic flow chart diagram illustrating another link processing method according to an embodiment of the present disclosure.
Fig. 3 is a schematic flow chart diagram illustrating a link access method according to an embodiment of the present disclosure.
Fig. 4 is a schematic flow chart diagram illustrating another link access method according to an embodiment of the present disclosure.
Fig. 5 is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure.
Fig. 6 is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure.
Fig. 7A is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure.
Fig. 7B is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure.
Fig. 8 is a schematic block diagram of a link processing apparatus according to an embodiment of the present disclosure.
Fig. 9 is a schematic block diagram of an add-on module shown in accordance with an embodiment of the present disclosure.
Fig. 10 is a schematic block diagram of a link access apparatus shown in accordance with an embodiment of the present disclosure.
Fig. 11 is a schematic block diagram of an add-on module shown in accordance with an embodiment of the present disclosure.
Fig. 12 is a hardware configuration diagram of a device in which the link processing apparatus and/or the link access apparatus are located, which is illustrated according to an embodiment of the present disclosure.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a schematic flow chart diagram illustrating a link processing method according to an embodiment of the present disclosure. The link processing method shown in this embodiment may be applied to the first terminal, and in particular, may be applied to an application program in the first terminal, where the application program may have a sharing function, and a user may input a sharing instruction (for example, click a sharing key) to share a link of a page with other users. The application may be applicable to a terminal, and the first terminal includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a wearable device, and the like.
As shown in fig. 1, the link processing method may include the steps of:
in step S101, when an instruction for sharing a first link to a second terminal is received, if a second page of a previous stage associated with a first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link;
in step S102, the first link to which the second link is added is shared to the second terminal.
It should be noted that, in the embodiments described in the present disclosure, the first terminal and the second terminal are not specific to a certain or a certain type of terminal, but refer to two terminals in general.
In one embodiment, when the user browses the first page in the application program, a sharing instruction may be input to share the first link of the first page, and when the application program receives an instruction to share the first link to the second terminal, the application program may detect whether a second page of a previous stage associated with the first page corresponding to the first link exists.
The second page is a top page of the first page, for example, the second page is a list page, the first page is a detail page, taking an application program as a news application example, the second page may be a top page of a certain type (such as sports, military, economy, etc.) of news, and includes a list formed by a plurality of news titles, and a user may enter a news page corresponding to a title by clicking the title in the list, so as to display details (i.e., specific content) of the news.
And under the condition that the second page of the upper stage of the first page is detected, determining a second link corresponding to the second page, and then adding the second link into the first link, so that the first link added with the second link is shared to the second terminal. Therefore, when the user of the second terminal accesses the shared first link, the user can access the second link in the first link first, then access the first link, and further display the first page corresponding to the first link.
Accordingly, the application program can record that the link accessed by the user before accessing the first link is the second link, so that the user can be ensured to accurately return to the second page at the upper left corner of the application program when the user clicks a return key (also called a back key, which can be displayed in an icon of a left arrow).
It should be noted that, in the related art, there is a processing manner, and in all cases, the user clicks the return button on the first page to return to the second page.
For the terminal sharing the first link, if the terminal does not enter the first page through the second page, but enters the first page through the third page, the third page is not the upper page of the first page. For example, the third page and the second page are both detail pages of news, but there is a recommended link to the associated news below the third page, and the second page is entered by clicking on the recommended link. In this case, if the user clicks the return button on the terminal sharing the first link in the related art, the return is performed to the first page, but not to the third page, which causes a malfunction.
Because the processing method in the related art hives the operation of returning to the other pages than the first page, the second page cannot return to the third page. According to the embodiment, the user can still return to the third page by clicking the return key on the terminal sharing the first link without hijacking the operation of returning to other pages except the first page, which is beneficial to ensuring the use experience of the user.
Fig. 2 is a schematic flow chart diagram illustrating another link processing method according to an embodiment of the present disclosure. As shown in fig. 2, the adding, in the first link, a second link corresponding to the second page includes:
in step S1011, a first preset character is added after the first link;
in step S1012, the second link is added after the first preset character.
In one embodiment, when the second link is added to the first link, a first preset character is added to the first link, and then the second link is added after the first preset character, so that the first link and the second link are separated by the first preset character, and when an application program accesses the first link, the first link and the second link can be distinguished according to the first preset character, and whether the second link exists in the first link is judged.
Wherein, the first preset character may be set according to needs, for example, the first preset character may be? The number of characters and the specific characters contained in xxxx=, xxxx may be selected as needed.
Fig. 3 is a schematic flow chart diagram illustrating a link access method according to an embodiment of the present disclosure. The link processing method shown in this embodiment may be applied to a second terminal, and in particular may be applied to an application in the second terminal, where the application may access a corresponding link according to an access instruction of a user, and the application may be the same application as the application described in the embodiment of fig. 1 and 2, where the application may be applied to a terminal, such as the second terminal described in the embodiment, where the terminal includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, or a wearable device, and the user may receive a shared link on a terminal (e.g., a communication application of the terminal), and may access the link by clicking the link.
As shown in fig. 3, the link access method may include the steps of:
in step S201, when an access instruction to the shared first link is received, accessing the first link, where the first link is shared by a first terminal to the second terminal;
in step S202, when the second link exists in the first link, adding the first link in the second link, where the second link is a link of a second page of a previous level associated with a first page corresponding to the first link;
in step S203, the second link is automatically accessed, and after the second link is automatically accessed, the first link is automatically accessed, and a first page corresponding to the first link is displayed.
In one embodiment, after the user receives the first link shared by the first terminal in the second terminal, the user may click on the first link, so as to generate an access instruction to the first link, and then the application program corresponding to the first link may access the first link and determine whether the second link exists in the first link.
Based on the embodiment shown in fig. 1, since the second link is added in the first link, the second link exists in the first link, and thus the first link can be added in the second link, and then the second link is automatically accessed, and whether the first link exists in the second link is determined. Since the first link is added in the second link, after the second link is automatically accessed, the first link is automatically accessed, and the first page corresponding to the first link is displayed.
According to the method, when the shared first link is accessed, the second link is automatically accessed first, then the first link is accessed, and the page corresponding to the first link is displayed, so that the application program records that the link accessed by the user before the first link is accessed is the second link, and further, the user can be ensured to accurately return to the second page at the upper level of the first page when the first page clicks the return key.
It should be noted that, when the steps of the embodiment shown in fig. 3 are performed when the access instruction to the shared first link is received, if the first link is not the shared link, the operations may not be performed according to the steps of the embodiment shown in fig. 3.
Fig. 4 is a schematic flow chart diagram illustrating another link access method according to an embodiment of the present disclosure. As shown in fig. 4, after the displaying the first page corresponding to the first link, the method further includes:
in step S204, when a return instruction is received in the first page, the second link is accessed, and a second page corresponding to the second link is displayed.
In one embodiment, after steps S201 to S203 are performed, it is achieved that when the shared first link is accessed, the second link is automatically accessed first, then the first link is accessed, and a page corresponding to the first link is displayed, so that the application program records that the link accessed by the user before accessing the first link is the second link. When the user inputs a return instruction (for example, clicks a return button) in the first page, the user can return to the page at the upper level of the first page, that is, the second page, specifically, the user can access the second link first, and then display the second page corresponding to the second link.
Fig. 5 is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure. As shown in fig. 5, the method further includes:
in step S205, if the second link does not exist in the first link, a first page corresponding to the first link is displayed.
In one embodiment, in the case that the second link does not exist in the first link, it is stated that the second link is not added in the first link, so that the second link is not required to be accessed, and thus the first page corresponding to the first link can be directly displayed.
For example, the user directly inputs the character corresponding to the first link in the application program to access, and then the second link does not exist in the first link, so that the second page corresponding to the first link can be directly displayed.
In one embodiment, the user may directly input the character corresponding to the second link in the application program for access, and then the first link does not exist in the second link, in which case the second page corresponding to the second link may be directly displayed.
Fig. 6 is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure. As shown in fig. 6, the adding the first link to the second link includes:
in step S2021, a second preset character is added after the second link;
in step S2022, the first link is added after the second preset character.
In one embodiment, when the first link is added to the second link, a second preset character may be added to the second link first, and then the first link is added after the second preset character, so that the first link and the second link are separated by the second preset character, so that when the application program accesses the second link, the first link and the second link can be distinguished according to the second preset character, and further whether the first link exists in the second link is judged.
Wherein the second preset character may be set as needed, for example, the second preset character may be? The number of characters and the specific characters contained in xxxx=, xxxx may be selected as needed.
Fig. 7A is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure. As shown in fig. 7A, when there is a second link in the first links, adding the first link in the second links includes:
in step S2023, in the case where a first preset character exists in the first link, a character after the first preset character is acquired as the second link, and the first link is added in the second link.
Fig. 7B is a schematic flow chart diagram illustrating yet another link access method according to an embodiment of the present disclosure. As shown in fig. 7B, after automatically accessing the second link, automatically accessing the first link includes:
in step S2031, the character after the second preset character is acquired as the first link, and the first link is automatically accessed.
In one embodiment, by adding the first preset character after the first link and then adding the second link after the first preset character, whether the first preset character exists in the first link can be firstly judged when judging whether the second link exists in the first link corresponding to the first page, if the first preset character exists, other links are included in the first link, and further the character after the first preset character can be obtained as the second link, so that the second link exists in the first link is judged, and then the first link is added in the second link.
If the first preset character is not available after the first link, the character after the first character is not required to be acquired as the second link, and the page corresponding to the first link can be directly displayed.
Similarly, by adding a second preset character after the second link and then adding the first link after the second preset character, the character after the second preset character can be acquired as the first link, thereby determining that the first link exists in the second link, and then the first link can be accessed.
However, the second page is used as the upper page of the first page, and the first link is not necessarily present in the second link corresponding to the second page. For example, based on the embodiment shown in fig. 6, a second preset character is added after the second link, and the first link is added after the second preset character, the first link exists in the second link. However, for the second link that is not processed by the embodiment shown in fig. 6, the first link does not have to be present in the second link, so it may be first determined whether the first link is present in the second link corresponding to the second page, specifically, it may be first determined whether the second link has the second preset character, if the second preset character is present, it is indicated that the second link also includes other links (for example, the first link), and then the character after the second preset character is obtained is used as the first link, and the first link is accessed.
The present disclosure also proposes embodiments of a link processing and a link access apparatus, corresponding to the embodiments of the aforementioned link processing and link access method.
Fig. 8 is a schematic block diagram of a link processing apparatus according to an embodiment of the present disclosure. The link processing device shown in this embodiment may be applicable to the first terminal, and in particular, may be applicable to an application program in the first terminal, where the application program may have a sharing function, and a user may input a sharing instruction (for example, click a sharing key) to share a link of a page with other users. The application may be applicable to terminals including, but not limited to, mobile phones, tablet computers, wearable devices, and like electronic devices.
As shown in fig. 8, the link processing apparatus may include:
the judging module 101 is configured to execute, when receiving an instruction for sharing a first link to a second terminal, if a second page of a previous stage associated with a first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link;
and the adding module 102 is configured to perform sharing of the first link added with the second link to the second terminal.
Fig. 9 is a schematic block diagram of an add-on module shown in accordance with an embodiment of the present disclosure. As shown in fig. 9, the adding module 102 includes:
a character adding sub-module 1021 configured to perform adding a first preset character after the first link;
a link adding sub-module 1022 is configured to perform adding the second link after the first preset character.
Fig. 10 is a schematic block diagram of a link access apparatus shown in accordance with an embodiment of the present disclosure. The link access device shown in this embodiment may be applied to a second terminal, and in particular may be applied to an application program in the second terminal, where the application program may access a corresponding link according to an access instruction of a user, and the application program may be the same application program as the application program described in the embodiment of fig. 8 and 9, where the application program may be applied to a terminal, such as the second terminal described in the embodiment, where the terminal includes, but is not limited to, an electronic device such as a mobile phone, a tablet computer, or a wearable device, and the user may receive a shared link on a terminal (e.g., a communication application program of the terminal), and may access the link by clicking the link.
A first access module 201 configured to execute accessing a first link to be shared when an access instruction to the first link is received, wherein the first link is shared by a first terminal to the second terminal;
an adding module 202 configured to perform adding the first link in the second link in the case that the second link exists in the first link, where the second link is a link of a second page of a previous level associated with a first page corresponding to the first link;
the second access module 203 is configured to perform automatic access to the second link, automatically access the first link after the second link is automatically accessed, and display a first page corresponding to the first link.
Optionally, the second access module is further configured to access the second link and display a second page corresponding to the second link when a return instruction is received in the first page.
Optionally, the second access module is further configured to execute displaying the first page corresponding to the first link if the second link does not exist in the first link.
Fig. 11 is a schematic block diagram of an add-on module shown in accordance with an embodiment of the present disclosure. As shown in fig. 11, the adding module 202 includes:
a character adding sub-module 2021 configured to perform adding a second preset character after the second link;
a link adding sub-module 2022 is configured to perform adding the first link after the second preset character.
Optionally, the first access module is configured to obtain, when a first preset character exists in the first link, a character after the first preset character as the second link, and add the first link in the second link.
Optionally, the second access module is configured to obtain the character after the second preset character as the first link, and automatically access the first link.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiments of the link processing apparatus and/or the link access apparatus shown in the embodiments of the present disclosure may be applied to a device such as a terminal. The apparatus embodiments may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking a software implementation as an example, the device in a logic sense is formed by reading corresponding computer program instructions in a nonvolatile memory into a memory by a processor of a device where the device is located for operation. In terms of hardware, as shown in fig. 12, a hardware structure diagram of a device where the link processing apparatus and/or the link access apparatus are located is shown in an embodiment of the present disclosure, in addition to the processor, the network interface, the memory, and the nonvolatile memory shown in fig. 12, the device where the device is located in the embodiment may generally include other hardware, such as a forwarding chip responsible for processing a packet, and so on; the device may also be a distributed device in terms of hardware architecture, possibly comprising a plurality of interface cards, for the extension of the message processing at the hardware level.
The embodiment of the disclosure also proposes an electronic device, including:
a processor;
wherein the processor is configured to execute the instructions to implement the link processing method as described in any of the embodiments above and/or the link access method as described in any of the embodiments above.
Embodiments of the present disclosure also propose a storage medium, which when executed by a processor of an electronic device, enables the electronic device to perform a link processing method as described in any one of the embodiments above, and/or a link access method as described in any one of the embodiments above.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Embodiments of the present disclosure also propose a computer program product configured to perform a link handling method as described in any of the embodiments above, and/or a link access method as described in any of the embodiments above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing has outlined the detailed description of the method and apparatus provided by the embodiments of the present disclosure, and the detailed description of the principles and embodiments of the present disclosure has been provided herein with the application of the specific examples, the above examples being provided only to facilitate the understanding of the method of the present disclosure and its core ideas; meanwhile, as one of ordinary skill in the art will have variations in the detailed description and the application scope in light of the ideas of the present disclosure, the present disclosure should not be construed as being limited to the above description.

Claims (18)

1. A link processing method, which is applicable to a first terminal, the method comprising:
when an instruction for sharing a first link to a second terminal is received, if a second page of a previous stage associated with a first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link;
and sharing the first link added with the second link to the second terminal so that the second terminal can automatically access the second link when accessing the first link, automatically access the first link after automatically accessing the second link, and display a first page corresponding to the first link.
2. The method of claim 1, wherein adding a second link corresponding to the second page in the first link comprises:
adding a first preset character after the first link;
the second link is added after the first preset character.
3. A method of link access, adapted for use with a second terminal, the method comprising:
accessing a first link when an access instruction to the first link is received, wherein the first link is shared by a first terminal to the second terminal;
when a second link exists in the first links, adding the first links in the second links, wherein the second links are links of a second page of a previous stage associated with a first page corresponding to the first links;
and automatically accessing the second link, automatically accessing the first link after automatically accessing the second link, and displaying a first page corresponding to the first link.
4. The method of claim 3, wherein after the displaying the first page corresponding to the first link, the method further comprises:
and when a return instruction is received in the first page, accessing the second link and displaying a second page corresponding to the second link.
5. A method according to claim 3, characterized in that the method further comprises:
and if the second link does not exist in the first link, displaying a first page corresponding to the first link.
6. The method of any of claims 3 to 5, wherein the adding the first link in the second link comprises:
adding a second preset character after the second link;
the first link is added after the second preset character.
7. The method of claim 6, wherein adding the first link in the second link when there is a second link in the first link comprises:
and under the condition that a first preset character exists in the first link, acquiring the character after the first preset character as the second link, and adding the first link into the second link.
8. The method of claim 6, wherein automatically accessing the first link after automatically accessing the second link comprises:
and acquiring the characters after the second preset characters as the first link, and automatically accessing the first link.
9. A link processing apparatus adapted for use with a first terminal, the apparatus comprising:
the adding module is configured to execute, when an instruction for sharing a first link to a second terminal is received, if a second page of a previous stage associated with a first page corresponding to the first link is detected, adding a second link corresponding to the second page in the first link;
the sharing module is configured to perform sharing of the first link added with the second link to the second terminal, so that the second terminal can automatically access the second link when accessing the first link, automatically access the first link after automatically accessing the second link, and display a first page corresponding to the first link.
10. The apparatus of claim 9, wherein the adding module comprises:
a character adding sub-module configured to perform adding a first preset character after the first link;
a link adding sub-module configured to perform adding the second link after the first preset character.
11. A link access device adapted for use with a second terminal, said device comprising:
the first access module is configured to execute access to the first link when an access instruction to the shared first link is received, wherein the first link is shared by a first terminal to the second terminal;
an adding module configured to perform adding a first link in the second link if a second link exists in the first link, wherein the second link is a link of a second page of a previous stage associated with a first page corresponding to the first link;
the second access module is configured to execute automatic access to the second link, automatically access to the first link after the second link is automatically accessed, and display a first page corresponding to the first link.
12. The apparatus of claim 11, wherein the second access module is further configured to access the second link and display a second page corresponding to the second link when a return instruction is received in the first page.
13. The apparatus of claim 11, wherein the second access module is further configured to execute displaying a first page corresponding to the first link if the second link is not present in the first link.
14. The apparatus according to any one of claims 11 to 13, wherein the adding module comprises:
a character adding sub-module configured to perform adding a second preset character after the second link;
a link adding sub-module configured to perform adding the first link after the second preset character.
15. The apparatus of claim 14, wherein the first access module is configured to obtain a character after a first preset character as the second link in the case that the first preset character is present in the first link, and to add the first link in the second link.
16. The apparatus of claim 14, wherein the second access module is configured to obtain the second post-character of the second pre-set character as the first link, and to automatically access the first link.
17. An electronic device, comprising:
a processor;
wherein the processor is configured to execute the instructions to implement the link handling method of any of claims 1 to 2 and/or the link access method of any of claims 3 to 8.
18. A storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the link handling method of any one of claims 1 to 2 and/or the link access method of any one of claims 3 to 8.
CN202010317711.7A 2020-04-21 2020-04-21 Link processing method and device, and link access method and device Active CN111538927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010317711.7A CN111538927B (en) 2020-04-21 2020-04-21 Link processing method and device, and link access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010317711.7A CN111538927B (en) 2020-04-21 2020-04-21 Link processing method and device, and link access method and device

Publications (2)

Publication Number Publication Date
CN111538927A CN111538927A (en) 2020-08-14
CN111538927B true CN111538927B (en) 2023-12-12

Family

ID=71979427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010317711.7A Active CN111538927B (en) 2020-04-21 2020-04-21 Link processing method and device, and link access method and device

Country Status (1)

Country Link
CN (1) CN111538927B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241585A (en) * 2006-03-08 2007-09-20 Nec Corp Session call system and information page sharing method used for it
CN103020687A (en) * 2012-12-14 2013-04-03 北京奇虎科技有限公司 Method and system for sharing two-dimension code
CN107145598A (en) * 2017-05-31 2017-09-08 广州云移信息科技有限公司 two-dimensional code associated page method and terminal
CN107391587A (en) * 2017-06-23 2017-11-24 努比亚技术有限公司 Link is shared and access method, server, terminal and computer-readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241585A (en) * 2006-03-08 2007-09-20 Nec Corp Session call system and information page sharing method used for it
CN103020687A (en) * 2012-12-14 2013-04-03 北京奇虎科技有限公司 Method and system for sharing two-dimension code
CN107145598A (en) * 2017-05-31 2017-09-08 广州云移信息科技有限公司 two-dimensional code associated page method and terminal
CN107391587A (en) * 2017-06-23 2017-11-24 努比亚技术有限公司 Link is shared and access method, server, terminal and computer-readable storage medium

Also Published As

Publication number Publication date
CN111538927A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
US9483475B2 (en) Content recommendation method
JP6898452B2 (en) Data acquisition method and device
CN105373587A (en) Picture display method and terminal
CN109960491A (en) Application program generation method, generating means, electronic equipment and storage medium
CN105701164A (en) Statistical method and device for web hits
US20230297767A1 (en) Document editing method and apparatus, and electronic device
CN111428162A (en) Page screenshot method and device
CN115445212A (en) Game gift bag pushing method and device, computer equipment and storage medium
CN104951445B (en) Webpage processing method and device
CN111538927B (en) Link processing method and device, and link access method and device
CN103309896B (en) Web browser method, device and terminal
CN116304403A (en) Webpage access method and device, computer equipment and storage medium
CN110717126A (en) Page browsing method and device, electronic equipment and computer readable storage medium
CN110888643A (en) Page processing method and device
CN109086304A (en) A kind of update method of c bookmart, device and storage medium
CN111258676B (en) Module preloading method, device, equipment and readable storage medium
CN105320707B (en) Hot word prompting method and device based on instant messaging
CN107145375A (en) Kernel loads method, device, system, user terminal and storage medium
CN105721280A (en) Webpage sharing device and method
CN111694999A (en) Information processing method and device and electronic equipment
CN113761409A (en) Interface operation information processing method, equipment and storage medium
CN108521502A (en) Method and device for calling application
CN107145314B (en) Display processing method and device for display processing
CN112783395B (en) Method, device, electronic equipment and medium for displaying form field
CN110020295A (en) Webpage loading method and device, electronic equipment and storage medium

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