Page access method, system, storage medium and program product
By checking and updating the link queue in the first server, the problem of redirection errors during asynchronous link creation is solved, thus achieving accuracy in link redirection and convenience in user experience.
Patent Information
- Application Number
- CN202410480325.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-22
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-04-22
AI Technical Summary
In existing technologies, when a link is created asynchronously, users may encounter redirection errors when using a newly created link.
The first server determines whether the first link queue includes the second link. If not, it retrieves the initial associated link from the second link queue, updates the second link based on the first association information, and controls the user terminal to access the target page.
This ensures the accuracy of link redirects, avoids redirection errors caused by asynchronous link creation, and makes it convenient for users.
Smart Images

Figure CN118395032B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a page access method, system, storage medium, and program product. Background Technology
[0002] In internet applications, each type of content, such as web pages, images, or text, has a corresponding link address. Users or businesses can share content by transmitting these links.
[0003] In existing technologies, when users interact with businesses, the user first selects and clicks the corresponding link through the terminal, and then the corresponding server redirects the user to the corresponding page based on the link clicked by the user.
[0004] However, when links are created asynchronously, users may encounter redirection errors when using newly created links. Summary of the Invention
[0005] This disclosure provides a page access method, system, storage medium, and program product.
[0006] According to one aspect of this disclosure, a method for accessing a page is provided, comprising:
[0007] In response to a user clicking the first link of the first service on the user terminal, the first server receives the redirection request sent by the first service for the first link;
[0008] In response to the redirection request, the first server determines whether the first link queue includes a second link associated with the first link based on the first association information of the first link;
[0009] If the second link is included in the first link queue, the first server retrieves the second link from the first link queue; if the second link is not included in the first link queue, the first server retrieves an initial associated link from the second link queue, updates the retrieved initial associated link according to the first association information through the second server to obtain the second link, and adds the second link to the first link queue.
[0010] The first server controls the user terminal to access the target page based on the second link;
[0011] Wherein, the first link is the link obtained by the first service, and the second link queue is used to store multiple initial association links corresponding to an initial association information.
[0012] The page access method according to at least one embodiment of this disclosure further includes, before the first server receives the redirection request for the first link sent by the first service:
[0013] The first server receives the link acquisition request sent by the first service;
[0014] The first server obtains the target link corresponding to the link acquisition request;
[0015] The first server sends the target link to the first service.
[0016] According to at least one embodiment of the page access method of this disclosure, the first server obtains the target link corresponding to the link acquisition request, including:
[0017] The first server determines whether the pre-generated links include the target link based on the link retrieval request.
[0018] If the target link is included in the pre-generated links, the first server obtains the target link from the pre-generated links; if the target link is not included in the pre-generated links, the first server generates the target link.
[0019] According to a page access method of at least one embodiment of this disclosure, the first server generates the target link, including:
[0020] The first server determines whether the number of connections generated is greater than a preset first value;
[0021] If the number of generated links is not greater than the preset first value, the first server generates the target link.
[0022] According to at least one embodiment of the page access method of this disclosure, the first server manages the links in the second link queue using a dynamic addition strategy, including:
[0023] The first server determines whether the number of links in the second link queue is less than a preset first threshold;
[0024] If it is less than the initial association information, the first server generates a new initial association link through the second server according to the preset first rule and the initial association information.
[0025] The first server adds the newly added initial association link to the second link queue.
[0026] According to at least one embodiment of the page access method of this disclosure, the first server manages the links in the first link queue using a dynamic deletion strategy, including:
[0027] The first server determines whether the links in the first link queue conform to a preset deletion policy;
[0028] If a third link in the first link queue meets the preset deletion policy, the first server deletes the third link from the first link queue and sends a deletion request for the third link to the second server.
[0029] The page access method according to at least one embodiment of the present disclosure further includes:
[0030] The first server updates the first data based on the number of clicks.
[0031] The first data includes one or more of the following: a preset first threshold, a preset first rule, and a preset first value; the number of click operations is the number of times the link obtained by the first service is clicked.
[0032] According to another aspect of this disclosure, a page access system is provided, comprising: a user terminal, a first server, and a second server;
[0033] The first server is used to execute the page access method according to any embodiment of the present disclosure.
[0034] According to another aspect of this disclosure, a readable storage medium is provided, wherein executable instructions are stored therein, which, when executed by a processor, are used to implement a page access method according to any embodiment of this disclosure.
[0035] According to another aspect of this disclosure, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement a page access method according to any embodiment of this disclosure. Attached Figure Description
[0036] The accompanying drawings illustrate exemplary embodiments of the present disclosure and, together with the description thereof, serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0037] Figure 1 Flowchart of the page access method provided in Embodiment 1 of this disclosure Figure 1 .
[0038] Figure 2 Flowchart of the page access method provided in Embodiment 1 of this disclosure Figure 2 .
[0039] Figure 3 for Figure 2 The flow of obtaining the target link in the page access method shown. Figure 1 .
[0040] Figure 4 for Figure 2 The flow of obtaining the target link in the page access method shown. Figure 2 .
[0041] Figure 5 for Figure 3 The flowchart shown illustrates the process of determining whether a target link method is included in the method for obtaining the target link.
[0042] Figure 6 Flowchart of the page access method provided in Embodiment 1 of this disclosure Figure 3 .
[0043] Figure 7 Flowchart of the page access method provided in Embodiment 1 of this disclosure Figure 4 .
[0044] Figure 8 Flowchart of the page access method provided in Embodiment 1 of this disclosure Figure 5 .
[0045] Figure 9 for Figure 1 The flowchart shown illustrates the process of determining whether a second link method is included in the page access method.
[0046] Figure 10 This is a schematic diagram of the interaction process of the page access method provided in Embodiment 1 of this disclosure.
[0047] Figure 11 Schematic diagram of the structure of the page access device provided in Embodiment 2 of this disclosure Figure 1 .
[0048] Figure 12 Schematic diagram of the structure of the page access device provided in Embodiment 2 of this disclosure Figure 2 .
[0049] Figure 13 This is a schematic diagram of the structure of the page access system provided in Embodiment 3 of this disclosure. Detailed Implementation
[0050] The present disclosure will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the disclosure. Furthermore, it should be noted that, for ease of description, only the parts relevant to the present disclosure are shown in the accompanying drawings.
[0051] It should be noted that, where there is no conflict, the embodiments and features described in this disclosure can be combined with each other. The technical solutions of this disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0052] Unless otherwise stated, the exemplary implementations / embodiments shown are to be understood as providing exemplary features of various details that provide ways in which the technical concepts of this disclosure can be implemented in practice. Therefore, unless otherwise stated, the features of various implementations / embodiments may be additionally combined, separated, interchanged and / or rearranged without departing from the technical concepts of this disclosure.
[0053] The use of crosshairs and / or shading in the accompanying drawings is generally used to clarify the boundaries between adjacent components. Thus, unless otherwise stated, the presence or absence of crosshairs or shading does not convey or indicate any preference or requirement for the specific material, material properties, dimensions, proportions, commonalities between the illustrated components, or any other characteristics, properties, etc., of the components. Furthermore, in the accompanying drawings, the dimensions and relative dimensions of components may be exaggerated for clarity and / or descriptive purposes. When exemplary embodiments can be implemented differently, a specific process sequence may be performed in a different order than that described. For example, two consecutively described processes may be performed substantially simultaneously or in the reverse order of their description. Furthermore, the same reference numerals denote the same components.
[0054] When a component is referred to as being "on" or "above" another component, "connected to," or "joined to" another component, the component may be directly on, directly connected to, or directly joined to the other component, or there may be intermediate components. However, when a component is referred to as being "directly on" another component, "directly connected to," or "directly joined to" another component, there are no intermediate components. Therefore, the term "connection" can refer to a physical connection, an electrical connection, etc., and may or may not have intermediate components.
[0055] The terminology used herein is for the purpose of describing particular embodiments and is not intended to be limiting. As used herein, unless the context clearly indicates otherwise, the singular forms “a” and “the” are intended to include the plural forms as well. Furthermore, when the terms “comprising” and / or “including” and variations thereof are used in this specification, it indicates the presence of the stated features, integrals, steps, operations, parts, components, and / or groups thereof, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, parts, components, and / or groups thereof. It should also be noted that, as used herein, the terms “substantially,” “about,” and other similar terms are used as approximate terms rather than as terms of degree, thus explaining the inherent biases in measurements, calculated values, and / or provided values that would be recognized by one of ordinary skill in the art.
[0056] The following text combines Figures 1 to 9 The page access methods disclosed herein are described in detail.
[0057] Example 1:
[0058] Figure 1 This is a flowchart of a page access method according to one embodiment of the present disclosure.
[0059] refer to Figure 1 The page access method M100 of this embodiment includes:
[0060] In step S110, in response to the user clicking the first link of the first service on the user terminal, the first server receives the redirection request of the first link sent by the first service.
[0061] In step S120, in response to the redirection request, the first server determines whether the first link queue includes a second link associated with the first link based on the first association information of the first link.
[0062] In some embodiments of this disclosure, if step S120 determines that the first link queue includes the second link, step S130 is executed; otherwise, step S140 is executed.
[0063] In step S130, the first server retrieves the second connection from the first connection queue.
[0064] In step S140, the first server retrieves an initial association link from the second link queue, updates the retrieved initial association link through the second server according to the first association information, obtains the second link, and adds the second link to the first link queue.
[0065] In step S150, the first server controls the user terminal to access the target page through the second server based on the second link.
[0066] In some embodiments of this disclosure, the first link is the link obtained by the first service, and the second link queue is used to store multiple initial association links corresponding to an initial association information.
[0067] The page access method disclosed herein allows a user to access a target page when clicking a first link of a first service on their terminal. This is achieved by retrieving a second link associated with the first link from a first link queue and a second link queue. The method uses the first link as the external representation of its associated second link, which is either pre-stored in the first link queue or obtained by updating the initial associated link in the second link queue, ensuring accurate link redirection. This method solves the problem in existing technologies where users may encounter redirection errors when using newly created links when links are created asynchronously. Furthermore, if the second link is not present in the first link queue, redirection can be achieved by updating an initial associated link corresponding to the initial associated information based on the first associated information, eliminating the need to create a link based on the initial associated information before using the link for redirection, thus simplifying the user experience.
[0068] In some embodiments of this disclosure, the first link in step S110 can be in the form of a URL (Uniform Resource Locator), an image, etc.; to save space, the first link can specifically be a short link. In step S120, the association information of the first link can be used to transmit data or configuration information, such as member groups, to the target page. In step S140, the specific method for updating the retrieved initial association link through the second server based on the first association information can be: changing the initial association information bound to the initial association link on the second server to the first association information. In step S150, the first server controls the user terminal to access the target page based on the second link through the second server as follows: the first server sends the second link to the user terminal's first service, and the background of the first service implements the jump operation of the second link through the second server, thereby enabling access to the target page.
[0069] Furthermore, such as Figure 2 As shown, the page access method provided in this disclosure may further include, before step S110:
[0070] Step S160: The first server receives the link acquisition request sent by the first service.
[0071] In some embodiments of this disclosure, if a service provider needs to provide resource downloads, content sharing, or personalized services through a first service, it can set up a link on the first service, in which case a link retrieval request needs to be sent.
[0072] Step S170: The first server obtains the target link corresponding to the request.
[0073] In some embodiments of this disclosure, such as Figure 3 As shown, step S170 may include: step S171, where the first server determines whether the pre-generated links include the target link based on the link retrieval request; if step S171 determines that the pre-generated links include the target link, step S172 is executed; otherwise, step S173 is executed; step S172, where the first server retrieves the target link from the pre-generated links; step S173, where the first server generates the target link. Step S171 can be based on parameters of the link retrieval request, such as determining whether to retrieve the link for the first time or repeatedly using certain parameters; the method for generating the link in step S173 can be random generation, etc.
[0074] Specifically, in order to achieve access control and security protection, such as Figure 4 As shown, before step S172, the following steps may be included: step S174, where the first server obtains the generation time of the target link; step S175, where the first server determines whether the target link needs to be updated based on the generation time and a preset first time; if step S175 determines that the target link does not need to be updated, step S172 is executed; otherwise, step S173 is executed.
[0075] Specifically, in order to control traffic and prevent link abuse, such as Figure 5 As shown, step S173 may include: step S1731, where the first server determines whether the number of links generated is greater than a preset first value; step S1732, where, if the number of links generated is not greater than the preset first value, the first server generates a target link. Here, the preset first value is a limit on the number of links generated. Step S1731 can limit the number of links generated within a certain period (e.g., daily). This preset first value can also be adjusted in real time based on previous traffic, such as scaling up when the peak reaches approximately 75% of the limit and / or scaling down when the peak falls below 25% of the limit.
[0076] Step S180: The first server sends the target link to the first service.
[0077] Furthermore, in the page access method provided in this disclosure, the first server manages the links in the second link queue using a dynamic addition strategy, such as... Figure 6 As shown, the method may further include:
[0078] In step S190, the first server determines whether the number of links in the second link queue is less than a preset first threshold.
[0079] In some embodiments of this disclosure, the second link queue may initially contain no links, or it may contain some links. For example, the first server may set the initial number of links stored in the second link queue according to a preset second rule. This second rule can be set according to actual usage and may be a specific number or a proportion, etc. When step S190 determines that the number of links in the second link queue is less than a preset first threshold, step S200 is executed. This judgment process can be executed periodically, such as once per minute.
[0080] In step S200, the first server generates a new initial association link through the second server based on the preset first rule and initial association information.
[0081] In some embodiments of this disclosure, the first rule in step S200 can be a quantity or a frequency, etc. When the first rule is a quantity, the quantity can be a value no greater than "preset first threshold - number of links".
[0082] In step S210, the first server adds the newly added initial association link to the second link queue.
[0083] Furthermore, in the page access method provided in this disclosure, the first server manages the links in the first link queue using a dynamic deletion strategy, such as... Figure 7 As shown, the method may further include:
[0084] In step S220, the first server determines whether the links in the first link queue conform to the preset deletion policy.
[0085] In some embodiments of this disclosure, the preset deletion strategy in step S220 can be set based on the link's duration. The start time can be the time the link was added to the first link queue, and the current time can be used as the end time for the determination. This determination process can be executed periodically, such as triggering once per minute; this period can be the same as or different from the period of step S190. If step S220 determines that the third link in the first link queue meets the preset deletion strategy, step S230 is executed.
[0086] In step S230, the first server deletes the third link from the first link queue and sends a deletion request for the third link to the second server.
[0087] In some embodiments of this disclosure, by deleting timed-out links in the first link queue through steps S220 to S230, occupied links can be continuously released. Valid links are then generated and added to the second link queue through steps S190 to S210, thereby dynamically ensuring the link quantity, maintaining a dynamic balance of links, and ensuring a continuous supply of links for users. Furthermore, since the links in the first link queue are managed using a dynamic deletion strategy, and the links in the second link queue are managed using a dynamic addition strategy, the second link queue changes dynamically. This means that the page access method is only limited during concurrent access. During serial access, occupied links are continuously released through the first link queue, and new links are continuously provided for use through the second link queue, ensuring that the serial access volume is not limited. The deleted links can also be used for data statistics or analysis, such as analyzing how many people clicked on them or analyzing the effectiveness of link placement.
[0088] Furthermore, in order to control the effective concurrency of connections in a timely manner, such as Figure 8 As shown, the page access method provided in this disclosure may further include:
[0089] Step S240: The first server updates the first data based on the number of click operations.
[0090] In some embodiments of this disclosure, the first data in step S240 includes one or more of a preset first threshold, a preset first rule, and a preset first value; the number of click operations is the number of times the link obtained by the first service is clicked. This update process can be executed periodically, such as once a day.
[0091] In some embodiments of this disclosure, such as Figure 9 As shown, the specific process of determining the information in step S120 may include: step S121, the first server deduplicates the first association information to obtain deduplicated information; step S122, the first server obtains the first hash value corresponding to the deduplicated information; step S123, the first server determines whether the first link queue includes a second link associated with the first link based on the first hash value. Step S122 can obtain the first hash value using algorithms such as md5 (Message Digest Algorithm 5).
[0092] The page access method provided in this disclosure achieves page access through interaction between the terminal side, a first server, and a second server, such as... Figure 10As shown, the interaction process can be divided into four parts: link pre-generation, link acquisition, link redirection, and link elimination. The link pre-generation part may include: 910. The first server creates a first link queue and a second link queue (empty or storing a preset number of associated links); 911. The first server determines whether the number of links in the second link queue is less than a preset first threshold; 912. If less, the first server sends a link generation request to the second server according to a first rule and initial association information; 913. The second server generates a new initial associated link based on the link generation request; 914. The new initial associated link is returned to the first server; 915. The first server adds the new initial associated link to the second link queue. The link acquisition part may include: 916. The terminal side (such as the service provider's terminal) sends a link acquisition request for the first service to the first server; 917. The first server acquires the short link corresponding to the link acquisition request; 918. The first server sends the short link to the terminal side. The link redirection section may include: 919. The user clicks the first short link of the first service through the terminal side (user terminal); 920. The terminal side sends a redirection request for the first short link to the first server; 921. The first server determines whether the first link queue includes a second link associated with the first short link; 922. If the first link queue includes a second link, the first server retrieves the second link from the first link queue; 923. If the first link queue does not include a second link, the first server retrieves an initial associated link from the second link queue; 924. An update request for the initial associated link is sent to the second server based on the first association information; 925. The second server updates the initial associated link according to the update request to obtain the second link; 926. The second server sends the second link to the first server; 927. The first server sends the second link to the terminal side; 928. The terminal side sends an access request to the second server based on the second link; 929. The second server obtains the target page corresponding to the access request; 930. The target page is sent to the terminal side; 931. The terminal side displays the target page.
[0093] Figures 11 to 12 This is a schematic block diagram of the page access device disclosed herein. The page access device of this disclosure can be implemented based on a processor-based hardware implementation.
[0094] Example 2:
[0095] This disclosure provides a page access device.
[0096] The apparatus may include corresponding modules that perform one or more steps in the flowchart above. Therefore, each or more steps in the flowchart above can be performed by a corresponding module, and the apparatus may include one or more of these modules. A module may be one or more hardware modules specifically configured to perform a corresponding step, or implemented by a processor configured to perform a corresponding step, or stored in a computer-readable medium for implementation by a processor, or implemented through some combination thereof.
[0097] Figure 11 This illustrates a page access device 1000 implemented using a hardware processing system. This hardware can be implemented using a bus architecture. The bus architecture can include any number of interconnect buses and bridges, depending on the specific application and overall design constraints of the hardware. Bus 1100 connects various circuits including one or more processors 1200, memory 1300, and / or hardware modules. Bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc., which are conventional techniques in the art and will not be described further.
[0098] like Figure 11 As shown, the page access device according to this disclosure may include:
[0099] The jump request module 1010 is used to respond to the user clicking the first link of the first service on the user terminal and to receive the jump request sent by the first service.
[0100] The association judgment module 1020 is used to respond to a jump request and determine whether the first link queue includes a second link associated with the first link based on the first association information of the first link.
[0101] If the association judgment module 1020 determines that the first link queue includes the second link, the link acquisition module 1030 is executed; otherwise, the link transfer module 1040 is executed.
[0102] The link acquisition module 1030 is used to acquire the second link from the first link queue.
[0103] The link transfer module 1040 is used to retrieve an initial associated link from the second link queue, update the initial associated link through the second server according to the first associated information, obtain the second link, and add the second link to the first link queue.
[0104] The access control module 1050 is used to control the user terminal to access the target page through the second server based on the second link.
[0105] Furthermore, the page access device provided in this disclosure may also include:
[0106] The request acquisition module 1060 is used to receive the link acquisition request sent by the first service.
[0107] The target acquisition module 1070 is used to obtain the target link corresponding to the link acquisition request.
[0108] The target sending module 1080 is used to send the target link to the first service.
[0109] Furthermore, the page access device provided in this disclosure may also include:
[0110] The threshold judgment module 1090 is used to determine whether the number of links in the second link queue is less than a preset first threshold.
[0111] The new module 1091 is used to generate a new initial association link through the second server if the link is less than the preset first rule and the initial association information.
[0112] The link addition module 1092 is used to add newly added initial associated links to the second link queue.
[0113] Furthermore, the page access device provided in this disclosure may also include:
[0114] The data update module 1093 is used to update the first data based on the number of click operations.
[0115] Furthermore, the page access device provided in this disclosure may also include:
[0116] The time judgment module 1094 is used to determine whether the links in the first link queue meet the preset deletion strategy.
[0117] The link deletion module 1095 is used to delete the third link from the first link queue if the third link in the first link queue meets the preset deletion policy, and send a deletion request for the third link to the second server.
[0118] The page access device provided in this disclosure implements the page access process through the above-mentioned modules in a similar manner to that provided in Embodiment 1 of this disclosure, and will not be described in detail here. Figure 12 The structure of the page access device includes all of the above modules; the structure of the page access device includes only some of the above modules. Figure 12 The similarities shown will not be elaborated upon here.
[0119] Example 3:
[0120] like Figure 13 As shown, this disclosure provides a page access system that may include:
[0121] User terminal 1310, first server 1320 and second server 1330;
[0122] In some embodiments of this disclosure, the first server 1320 is used for the above-described page access method; the process of accessing the page through the user terminal 1310, the first server 1320, and the second server 1330 is similar to that provided in Embodiment 1 of this disclosure, and will not be described in detail here.
[0123] This disclosure also provides an electronic device, including: a memory storing execution instructions; and a processor or other hardware module executing the execution instructions stored in the memory, causing the processor or other hardware module to perform the page access method described above.
[0124] This disclosure also provides a readable storage medium storing executable instructions, which, when executed by a processor, are used to implement the page access method described above.
[0125] This disclosure also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the page access method described above.
[0126] The hardware architecture of the page access device implemented using a processor-based hardware approach disclosed herein can be implemented using a bus architecture. The bus architecture can include any number of interconnect buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus connects various circuits, including one or more processors, memory, and / or hardware modules. The bus can also connect various other circuits such as peripherals, voltage regulators, power management circuits, external antennas, etc.
[0127] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, this diagram uses only one connection line, but this does not imply that there is only one bus or one type of bus.
[0128] Any process or method description in the flowcharts or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of this disclosure pertain. The processor performs the various methods and processes described above. For example, the method embodiments of this disclosure may be implemented as software programs tangibly contained in a machine-readable medium, such as memory. In some embodiments, part or all of the software program may be loaded and / or installed via memory and / or a communication interface. When the software program is loaded into memory and executed by the processor, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the processor may be configured to perform one of the methods described above by any other suitable means (e.g., by means of firmware).
[0129] The logic and / or steps represented in the flowchart or otherwise described herein may be specifically implemented in any readable storage medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).
[0130] For the purposes of this specification, a "readable storage medium" can be any means capable of containing, storing, communicating, propagating, or transmitting a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive queue) of readable storage media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable read-only memory (CDROM). Furthermore, a readable storage medium can even be paper or other suitable media on which a program can be printed, since a program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in memory.
[0131] It should be understood that various parts of this disclosure can be implemented in hardware, software, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0132] Those skilled in the art will understand that all or part of the steps of the methods described above can be implemented by a program instructing related hardware. The program can be stored in a readable storage medium, and when executed, the program includes one or a combination of the steps of the method implementation.
[0133] Furthermore, the functional units in the various embodiments of this disclosure can be integrated into a single processing module, or each unit can exist physically separately, or two or more units can be integrated into a single module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a readable storage medium. The storage medium can be a read-only memory, a disk, or an optical disk, etc.
[0134] The methods in this disclosure can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in this application are performed, in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, network equipment, user equipment, core network equipment, OAM, or other programmable device.
[0135] The computer program or instructions may be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another. For example, the computer program or instructions may be transferred from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; or an optical medium, such as a digital video optical disc; or a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0136] Those skilled in the art should understand that the above embodiments are merely for illustrating the present disclosure and are not intended to limit the scope of the disclosure. Those skilled in the art can make other changes or modifications based on the above disclosure, and these changes or modifications still fall within the scope of the present disclosure.
Claims
1. A method for accessing a webpage, characterized in that, include: In response to a user clicking the first link of the first service on the user terminal, the first server receives the redirection request sent by the first service for the first link; In response to the redirection request, the first server determines whether the first link queue includes a second link associated with the first link based on the first association information of the first link; If the first link queue includes the second link, the first server retrieves the second link from the first link queue; if the first link queue does not include the second link, the first server retrieves an initial association link from the second link queue, and according to the first association information, the second server changes the initial association information bound to the retrieved initial association link to the first association information to obtain the second link, and adds the second link to the first link queue; and The first server controls the user terminal to access the target page based on the second link; Wherein, the first link is the link obtained by the first service, and as the external manifestation of the second link associated with it, the second link queue is used to store multiple initial associated links corresponding to an initial association information.
2. The page access method according to claim 1, characterized in that, Before the first server receives the redirection request for the first link sent by the first service, the method further includes: The first server receives the link acquisition request sent by the first service; The first server obtains the target link corresponding to the link acquisition request; and The first server sends the target link to the first service.
3. The page access method according to claim 2, characterized in that, The first server obtains the target link corresponding to the link acquisition request, including: The first server determines whether the pre-generated links include the target link based on the link retrieval request; and If the target link is included in the pre-generated links, the first server obtains the target link from the pre-generated links; if the target link is not included in the pre-generated links, the first server generates the target link.
4. The page access method according to claim 3, characterized in that, The first server generates the target link, including: The first server determines whether the number of connections generated is greater than a preset first value; and If the number of generated links is not greater than the preset first value, the first server generates the target link.
5. The page access method according to claim 3, characterized in that, If the target link is included in the pre-generated links, the process further includes, before the first server obtains the target link from the pre-generated links: The first server obtains the generation time of the target link; The first server determines whether the target link needs to be updated based on the generation time and a preset first time; and If the target link needs to be updated, the target link generation step is performed; if the target link does not need to be updated, the target link acquisition step is performed.
6. The page access method according to any one of claims 1 to 4, characterized in that, The first server manages the links in the second link queue using a dynamic addition strategy, including: The first server determines whether the number of links in the second link queue is less than a preset first threshold; If the value is less than the initial association information, the first server generates a new initial association link through the second server based on a preset first rule and the initial association information; and The first server adds the newly added initial association link to the second link queue.
7. The page access method according to claim 6, characterized in that, The first server sets the initial number of links stored in the second link queue according to a preset second rule.
8. The page access method according to any one of claims 1 to 4, characterized in that, The first server manages the links in the first link queue using a dynamic deletion strategy, including: The first server determines whether the links in the first link queue conform to a preset deletion policy; and If a third link in the first link queue meets the preset deletion policy, the first server deletes the third link from the first link queue and sends a deletion request for the third link to the second server.
9. The page access method according to any one of claims 1 to 4, characterized in that, Also includes: The first server updates the first data based on the number of clicks. The first data includes one or more of the following: a preset first threshold, a preset first rule, and a preset first value; the number of click operations is the number of times the link obtained by the first service is clicked.
10. The page access method according to any one of claims 1 to 4, characterized in that, The first server determines whether the first link queue includes a second link associated with the first link based on the first association information of the first link, including: The first server deduplicates the first association information to obtain deduplicated information; The first server obtains the first hash value corresponding to the deduplication information; and The first server determines whether the first link queue includes a second link associated with the first link based on the first hash value.
11. A page access system, characterized in that, include: User terminal, first server, and second server; The first server is used to execute the page access method according to any one of claims 1 to 10.
12. A readable storage medium, characterized in that, The readable storage medium stores execution instructions, which, when executed by a processor, are used to implement the page access method according to any one of claims 1 to 10.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the page access method according to any one of claims 1 to 10.
