Method and apparatus for determining paging information, recommendation system and electronic device

By generating and saving pagination parameters to adapt to the underlying algorithm, the problems of large workload and slow response speed in front-end integration are solved, achieving more efficient pagination information return and enhanced security.

CN115906761BActive Publication Date: 2026-05-15JINGDONG TECH HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JINGDONG TECH HLDG CO LTD
Filing Date
2021-08-25
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In existing technologies, the front-end integration workload is large and the response speed is slow. In particular, when the front-end and the underlying pagination algorithm are different, multiple interfaces need to be provided and the calculation of which interface to connect to is required, resulting in a slow response speed each time the front-end displays pagination information.

Method used

By receiving access requests from target accounts, querying and generating corresponding pagination parameters, and saving the generated pagination parameters for direct use later, the A/B test algorithm routing calculation is reduced, the interface selection process is simplified, and the pagination information is determined directly using the saved pagination parameters when an access request is received.

Benefits of technology

It reduces the workload of front-end integration, improves response speed, simplifies the process of returning paginated information, and enhances information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115906761B_ABST
    Figure CN115906761B_ABST
Patent Text Reader

Abstract

The application provides a paging information determination method and device, a recommendation system and electronic equipment. The method specifically comprises the following steps: receiving a first access request sent by a target account; querying a first paging parameter corresponding to the target account according to the first access request; recording an access operation of the target account in the case where the first paging parameter is not acquired; determining corresponding paging data according to the access operation; generating a second paging parameter corresponding to the target account according to the paging data; and saving the second paging parameter, so that, in the case where a second access request sent by the target account is received, corresponding paging information is determined according to the second paging parameter, and the paging information is sent to the target account. The method provided by the application solves the problem that the paging parameters are not unified, the interface of the underlying algorithm is not adapted, and multiple different interfaces are required, reduces the access workload of the front end, and improves the response speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of algorithmic pagination, and more specifically, to a method for determining pagination information, a device for determining pagination information, a recommendation system, an electronic device, and a readable storage medium. Background Technology

[0002] In existing technologies, when displaying information on a front-end page, the screen size often limits the display to a single page, necessitating the division of information into multiple pages based on pagination parameters. Different pagination parameters from the front-end require different pagination algorithms, and when these differ from the underlying algorithm, separate interfaces are needed for each. This results in multiple interfaces being required, with each integration requiring calculation of which interface to use, leading to a significant workload for the front-end. Furthermore, the front-end needs to generate and pass pagination parameters each time it displays paginated information, resulting in slow response times. Summary of the Invention

[0003] The present invention aims to at least solve the technical problems of large workload and slow response speed of front-end access in the prior art or related technologies.

[0004] Therefore, a first aspect of the present invention proposes a method for determining pagination information.

[0005] A second aspect of the present invention provides a device for determining pagination information.

[0006] A third aspect of the present invention proposes a recommendation system.

[0007] A fourth aspect of the present invention provides an electronic device.

[0008] A fifth aspect of the present invention provides a readable storage medium.

[0009] In view of this, according to a first aspect of the present invention, a method for determining pagination information is proposed, specifically comprising: receiving a first access request sent by a target account; querying a first pagination parameter corresponding to the target account according to the first access request; recording the access operation of the target account if the first pagination parameter is not obtained; determining the corresponding pagination data according to the access operation; generating a second pagination parameter corresponding to the target account according to the pagination data; and saving the second pagination parameter so that, upon receiving a second access request sent by the target account, the corresponding pagination information can be determined according to the second pagination parameter, and the pagination information can be sent to the target account.

[0010] The pagination information determination method proposed in this invention, upon receiving a first access request from a target account, checks whether a first pagination parameter exists. If not, a second pagination parameter corresponding to the target account is generated. Specifically, if no first pagination parameter corresponding to the target account is found, the target account's access operation is recorded, and the corresponding pagination data is determined based on the access operation, thereby generating the second pagination parameter based on the pagination data. When generating the second pagination parameter based on the target account's access operation, this invention can generate a second pagination parameter adapted to the underlying pagination algorithm according to the actual application scenario. In this case, there is no need to perform ABtest (A / B testing) algorithm routing to provide different interfaces. Therefore, this application simplifies the pagination information return process. Each time a request from a target account is received, there is no need to recalculate which interface is needed using the ABtest algorithm, reducing the workload of front-end integration.

[0011] Furthermore, this application saves the generated second pagination parameter. When a second access request is received from the target account, it is not necessary to generate a new second pagination parameter. Instead, the saved second pagination parameter can be directly used to determine the corresponding pagination information and send the determined pagination information to the target account. This application generates a second pagination parameter once and can use it multiple times. If multiple second requests are received from the target account subsequently, it is not necessary to regenerate the second pagination parameter each time, thus improving response speed.

[0012] Furthermore, the method for determining pagination information proposed by the above-described technical solution of the present invention may also have the following technical features:

[0013] In one possible design, upon obtaining the first pagination parameter, the corresponding pagination data is determined based on the first pagination parameter; the corresponding pagination information is determined based on the pagination data, and the pagination information is sent to the target account.

[0014] In this design, upon receiving the first access request from the target account, a query is performed to determine if a first pagination parameter exists. If the first pagination parameter is found, pagination information is returned to the target account based on it. Specifically, the first parameter determines the corresponding pagination data, and then the corresponding pagination information is determined based on the pagination data. This application, upon finding the first pagination parameter, uses it to determine the pagination information and returns it to the target account. In this case, there is no need to regenerate the pagination parameter; instead, the obtained first pagination parameter is directly used, simplifying the process of returning pagination information and improving its efficiency.

[0015] In one possible design, determining the corresponding pagination data based on the access operation specifically includes: determining the account information of the target account based on the access operation; selecting an algorithm strategy that matches the account information from a preset set of algorithm strategies based on the account information using a preset selection strategy; determining the pagination parameter field that is compatible with the algorithm strategy; and determining the corresponding pagination data based on the pagination parameter field.

[0016] In this design, multiple algorithm strategies exist within a pre-defined set. A suitable algorithm strategy is selected, and pagination data is determined based on that strategy. Specifically, first, the target account's information is determined based on the access operation. Then, a pre-defined selection strategy is used to choose an algorithm strategy that matches the account information. This process then determines and records the pagination parameter fields that are compatible with the chosen algorithm strategy, resulting in the corresponding pagination data. Selecting a suitable algorithm strategy from the set and then further determining the pagination data ensures that the chosen strategy meets the target account's needs. Furthermore, it ensures that the generated pagination data corresponds to the pagination parameter fields that are compatible with the algorithm strategy, resulting in higher compatibility between the pagination data and the algorithm strategy and preventing situations where pagination data is unsuitable for the algorithm strategy.

[0017] Furthermore, when selecting an algorithm strategy, it can be based on login information within the account information. This login information allows for the identification of the target account's account ID (identity), enabling the selected algorithm strategy to be more suitable for the target account and better match its needs.

[0018] In one possible design, determining the corresponding paging information based on the paging data specifically includes: determining the algorithm strategy corresponding to the paging data from the algorithm strategy set based on the paging data; and determining the paging information based on the paging parameters through the algorithm strategy.

[0019] In this design, a preset set of algorithm strategies contains multiple algorithm strategies. An algorithm strategy corresponding to the paginated data is selected from this set, and then pagination information is determined based on this selected strategy. In this application, a suitable algorithm strategy is first determined, and then this strategy is used to determine pagination information based on the obtained first pagination parameters. Since the determined algorithm strategy corresponds to the paginated data, it is applicable to the paginated data, resulting in a higher degree of compatibility and facilitating the determination of pagination information.

[0020] In one possible design, a second pagination parameter corresponding to the target account will be generated based on the pagination data. Specifically, this includes: encrypting the account information and pagination data of the target account to obtain encrypted second pagination information and decrypted information corresponding to the target account; and determining the corresponding pagination data based on the first pagination parameter. Specifically, this includes: decrypting the first pagination parameter based on the decrypted information to obtain the pagination data corresponding to the target account.

[0021] Furthermore, upon receiving a first access request from the target account without obtaining the first pagination parameter, an algorithm strategy is selected from the algorithm strategy set using a preset selection strategy. Finally, a second pagination parameter corresponding to the target account is generated and saved based on the selected algorithm strategy. If another first access request from the target account is received subsequently, and the first pagination parameter is obtained, the corresponding pagination data can be determined based on the first pagination parameter, and then the corresponding algorithm strategy can be determined based on the pagination data. In other words, in this case, it is not necessary to select an algorithm strategy again using a selection strategy; the corresponding algorithm strategy can be determined simply based on the pagination data. Therefore, this solves the problem in existing technologies where an algorithm strategy needs to be selected for each received access request.

[0022] In this design, encryption is performed during the generation of the second pagination information. Account information and pagination data are encrypted to obtain encrypted second pagination information and decrypted information corresponding to the target account. The decrypted information is used for decryption. During the process of determining pagination data based on the first pagination information, decryption is also performed. The decrypted information obtained from the encryption process is used to decrypt the first pagination parameters to obtain the pagination data corresponding to the target account. These encryption and decryption operations ensure information security and prevent information leakage or theft.

[0023] In one possible design, the method for determining pagination information further includes: receiving an update instruction; in response to the update instruction, obtaining the corresponding update algorithm strategy; adding the update algorithm strategy to the algorithm strategy set, and updating the selection strategy accordingly.

[0024] In this design, new algorithm strategies can be added to the set of algorithm strategies. Specifically, upon receiving an update command, a response is made to the command, the corresponding update algorithm strategy is obtained based on the command, and then the obtained update algorithm strategy is added to the algorithm strategy set. After adding an update algorithm strategy, the selection strategy needs to be updated accordingly. A connection is established between the selection strategy and the update algorithm strategy so that when selecting a suitable algorithm strategy through the selection strategy, the updated algorithm strategy can be selected based on the actual situation. In other words, when integrating a new algorithm strategy, only the update algorithm strategy needs to be added and the selection strategy updated, without any other changes, thus resulting in higher integration efficiency.

[0025] In one possible design, the pagination parameter fields include any or a combination of the following: algorithm strategy field, slot field, index field, and request identifier field.

[0026] In this design, the pagination parameter fields include any one or a combination of the following: algorithm strategy field, slot field, index field, and request identifier field. Specifically, the algorithm strategy field identifies the algorithm strategy, the slot field identifies the last piece of data on the current page of pagination information, the slot index field identifies the position of the last piece of data, and the request identifier field identifies the request from the target account. By using the pagination parameter fields, it is possible to determine which pagination parameters are needed, avoiding the generation of pagination parameters that are not required by the algorithm strategy.

[0027] Furthermore, the pagination operation includes scenarios based on page number pagination and scenarios based on data index pagination. The slot field can be used for scenarios based on page number pagination, and the slot index field can be used for scenarios based on data index pagination.

[0028] Furthermore, the slot field can also be used in special scenarios such as reading data from the cache.

[0029] According to a second aspect of the present invention, an apparatus for determining pagination information is provided, comprising: a receiving unit for receiving a first access request sent by a target account; a parameter generating unit for querying a first pagination parameter corresponding to the target account based on the first access request; the parameter generating unit is further configured to record the access operation of the target account if the first pagination parameter is not obtained; the parameter generating unit is further configured to determine corresponding pagination data based on the access operation; the parameter generating unit is further configured to generate a second pagination parameter corresponding to the target account based on the pagination data; the parameter generating unit is further configured to save the second pagination parameter so that, upon receiving a second access request sent by the target account, corresponding pagination information can be determined based on the second pagination parameter; and a sending unit for sending the pagination information to the target account.

[0030] Specifically, the pagination information determination device includes a receiving unit, a parameter generation unit, and a sending unit. The receiving unit receives a first access request sent by the target user. Upon receiving the first access request, it queries whether a first pagination parameter exists through the parameter generation unit. If not, a second pagination parameter corresponding to the target account is generated. Specifically, if no first pagination parameter corresponding to the target account is obtained, the access operation of the target account is recorded, and the corresponding pagination data is determined based on the access operation, thereby generating the second pagination parameter based on the pagination data. When generating the second pagination parameter based on the target account's access operation, this invention can generate a second pagination parameter adapted to the underlying pagination algorithm according to the actual application scenario. In this case, there is no need to perform ABtest (A / B test) algorithm routing to provide different interfaces. Therefore, this application simplifies the pagination information return process. Each time a request from the target account is received, there is no need to recalculate which interface is needed using the ABtest algorithm, reducing the workload of the front-end access.

[0031] Furthermore, the parameter generation unit saves the generated second pagination parameters. When a second access request is received from the target account, it is not necessary to generate new second pagination parameters. Instead, the saved second pagination parameters can be directly used to determine the corresponding pagination information, which is then sent to the target account via the sending unit. This application generates second pagination parameters once and can use them multiple times. If multiple second requests are received from the target account subsequently, it is not necessary to regenerate the second pagination parameters each time, thus improving response speed.

[0032] In addition, the pagination information determination device proposed by the above-described technical solution of the present invention may also have the following technical features:

[0033] In one possible design, the pagination information determination device further includes a parameter parsing unit, used to: determine the corresponding pagination data based on the first pagination parameter when the first pagination parameter is obtained; the parameter parsing unit is also used to determine the corresponding pagination information based on the pagination data; and the sending unit is also used to send the pagination information to the target account.

[0034] In this design, the pagination information determination device also includes a parameter parsing unit, which can parse the acquired first pagination parameter. Specifically, after receiving the first access request sent by the target account through the receiving unit, the parameter generation unit checks whether the first pagination parameter exists. If the first pagination parameter is obtained, the parameter parsing unit parses the first pagination parameter to obtain pagination information, and finally, the return unit returns the pagination information to the target account. Specifically, the corresponding pagination data can be determined based on the first parameter, and then the corresponding pagination information can be determined based on the pagination data. After the first pagination parameter is found, the parameter parsing unit uses the acquired first pagination parameter to determine the pagination information, and then the return unit returns the determined pagination information to the target account. In this case, the parameter generation unit does not need to regenerate the pagination parameter; instead, the acquired first pagination parameter is used directly, making the process of returning pagination information simpler and improving the efficiency of returning pagination information.

[0035] In one possible design, the parameter generation unit is also used to: determine the account information of the target account based on the access operation; select an algorithm strategy that matches the account information from a preset set of algorithm strategies based on the account information and a preset selection strategy; determine the pagination parameter field that is compatible with the algorithm strategy; and determine the corresponding pagination data based on the pagination parameter field.

[0036] In this design, multiple algorithm strategies exist within a pre-defined set of algorithm strategies. The parameter generation unit can select a suitable algorithm strategy and determine the pagination data accordingly. Specifically, firstly, the account information of the target account is determined based on the access operation. Then, an algorithm strategy matching the account information is selected using a pre-defined selection strategy. This process then determines and records the pagination parameter fields that are compatible with the algorithm strategy, resulting in the corresponding pagination data. Selecting a suitable algorithm strategy from the set of algorithm strategies and further determining the pagination data ensures that the selected strategy meets the needs of the target account. Furthermore, it ensures that the generated pagination data corresponds to the pagination parameter fields that are compatible with the algorithm strategy, resulting in a higher degree of compatibility between the pagination data and the algorithm strategy, and avoiding situations where the pagination data is unsuitable for the algorithm strategy.

[0037] Furthermore, when selecting an algorithm strategy, it can be based on login information within the account information. This login information allows for the identification of the target account's account ID (identity), enabling the selected algorithm strategy to be more suitable for the target account and better match its needs.

[0038] In one possible design, the parameter parsing unit is also used to: determine the algorithm strategy corresponding to the paging data from a preset set of algorithm strategies based on the paging data; and determine the paging information based on the paging parameters using the algorithm strategy.

[0039] In this design, a preset set of algorithm strategies includes multiple algorithm strategies. An algorithm strategy corresponding to the paginated data is selected from this set, and then pagination information is determined based on this selected strategy. In this application, a suitable algorithm strategy is first determined, and then this strategy is used to determine pagination information based on the obtained first pagination parameters. Since the determined algorithm strategy corresponds to the paginated data, it is applicable to the paginated data, resulting in a higher degree of compatibility and facilitating the determination of pagination information.

[0040] Furthermore, upon receiving a first access request from the target account without obtaining the first pagination parameter, the parameter generation unit selects an algorithm strategy from the algorithm strategy set using a preset selection strategy. Finally, it generates and saves the second pagination parameter corresponding to the target account based on the selected algorithm strategy. If another first access request from the target account is received subsequently, and the first pagination parameter is obtained, the parameter parsing unit can determine the corresponding pagination data based on the first pagination parameter, and then determine the corresponding algorithm strategy based on the pagination data. In other words, in this case, it is not necessary to select an algorithm strategy again using a selection strategy; the corresponding algorithm strategy can be determined simply based on the pagination data. Therefore, this solves the problem in existing technologies where an algorithm strategy needs to be selected for each received access request.

[0041] In one possible design, the parameter generation unit is also used to: encrypt the account information and pagination data of the target account to obtain the encrypted second pagination information and the decrypted information corresponding to the target account; and decrypt the first pagination parameter according to the decrypted information to obtain the pagination data corresponding to the target account.

[0042] In this design, during the generation of the second pagination information, encryption is performed using a parameter generation unit. This encryption process encrypts both the account information and the pagination data, resulting in encrypted second pagination information and decrypted information corresponding to the target account. The decrypted information is used for decryption. Similarly, during the determination of pagination data based on the first pagination information, decryption is performed using the parameter generation unit. The decrypted information obtained from the encryption process is used to decrypt the first pagination parameters, yielding the pagination data corresponding to the target account. These encryption and decryption operations ensure information security and prevent information leakage or theft.

[0043] In one possible design, the paging information determination device further includes an update unit, configured to: receive an update instruction; in response to the update instruction, obtain the corresponding update algorithm strategy; add the update algorithm strategy to the algorithm strategy set, and update the selection strategy accordingly.

[0044] In this design, the update unit can add new algorithm strategies to the set of algorithm strategies. Specifically, upon receiving an update instruction, it responds to the instruction, retrieves the corresponding update algorithm strategy, and adds it to the algorithm strategy set. After adding an update algorithm strategy, the selection strategy needs to be updated accordingly. A connection is established between the selection strategy and the update algorithm strategy to ensure that when choosing a suitable algorithm strategy through the selection strategy, the updated algorithm strategy can be selected based on the actual situation. In other words, when integrating a new algorithm strategy, only the update algorithm strategy needs to be added and the selection strategy updated, without any other changes, thus resulting in higher integration efficiency.

[0045] In one possible design, the pagination parameter fields include any or a combination of the following: algorithm strategy field, slot field, index field, and request identifier field.

[0046] In this design, the pagination parameter fields include any one or a combination of the following: algorithm strategy field, slot field, index field, and request identifier field. Specifically, the algorithm strategy field identifies the algorithm strategy, the slot field identifies the last piece of data on the current page of pagination information, the slot index field identifies the position of the last piece of data, and the request identifier field identifies the request from the target account. By using the pagination parameter fields, it is possible to determine which pagination parameters are needed, avoiding the generation of pagination parameters that are not required by the algorithm strategy.

[0047] Furthermore, the pagination operation includes scenarios based on page number pagination and scenarios based on data index pagination. The slot field can be used for scenarios based on page number pagination, and the slot index field can be used for scenarios based on data index pagination.

[0048] Furthermore, the slot field can also be used in special scenarios such as reading data from the cache.

[0049] According to a third aspect of the present invention, a recommendation system is provided, including a pagination information determination device as designed in any of the second aspects described above, and thus possessing all the beneficial effects of the pagination information determination device, which will not be elaborated further here.

[0050] According to a fourth aspect of the present invention, an electronic device is provided, including a memory storing a program or instructions; and a controller that, when executing the program or instructions, implements the steps of the method for determining paging information as designed in any of the first aspects described above, and thus possesses all the beneficial effects of the method for determining paging information, which will not be elaborated further here.

[0051] According to a fifth aspect of the present invention, a readable storage medium is provided on which a program or instructions are stored, wherein when the program or instructions are executed by a processor, the program or instructions implement the steps of the method for determining paging information as designed in any of the first aspects described above, and thus possess all the beneficial effects of the method for determining paging information, which will not be elaborated further here.

[0052] Additional aspects and advantages of the invention will become apparent in the following description or may be learned by practice of the invention. Attached Figure Description

[0053] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0054] Figure 1 A flowchart illustrating a method for determining pagination information according to an embodiment of the first aspect of the present invention is shown;

[0055] Figure 2 A flowchart illustrating a method for determining pagination information according to an embodiment of the first aspect of the present invention is shown;

[0056] Figure 3 A flowchart illustrating a method for determining pagination information according to an embodiment of the first aspect of the present invention is shown;

[0057] Figure 4 A flowchart illustrating a method for determining pagination information according to an embodiment of the first aspect of the present invention is shown;

[0058] Figure 5 A flowchart illustrating a method for determining pagination information according to an embodiment of the first aspect of the present invention is shown;

[0059] Figure 6 A flowchart and data diagram illustrating a method for determining pagination information according to an embodiment of the first aspect of the present invention are shown.

[0060] Figure 7 A structural block diagram of a pagination information determination apparatus according to an embodiment of a second aspect of the present invention is shown;

[0061] Figure 8 A schematic diagram of the structure of an electronic device according to an embodiment of the third aspect of the present invention is shown.

[0062] in, Figure 7 and Figure 8 The correspondence between the reference numerals and component names in the attached drawings is as follows:

[0063] 700 Paging information determination device, 710 Receiving unit, 720 Parameter generation unit, 730 Sending unit, 740 Parameter parsing unit, 800 Electronic device, 810 Memory, 820 Controller. Detailed Implementation

[0064] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments of the present invention and the features thereof can be combined with each other.

[0065] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.

[0066] An embodiment of the first aspect of the present invention proposes a method for determining pagination information. For example... Figure 1 As shown, the method includes:

[0067] S102, Received the first access request sent by the target account;

[0068] S104, Based on the first access request, query the first pagination parameters corresponding to the target account;

[0069] S106, if the first pagination parameter is not obtained, record the access operation of the target account;

[0070] S108, determine the corresponding pagination data based on the access operation;

[0071] S110, Generate the second pagination parameter corresponding to the target account based on the pagination data;

[0072] S112, save the second pagination parameter so that when a second access request is received from the target account, the corresponding pagination information is determined according to the second pagination parameter and the pagination information is sent to the target account.

[0073] The pagination information determination method proposed in this invention, upon receiving a first access request from a target account, checks whether a first pagination parameter exists. If not, a second pagination parameter corresponding to the target account is generated. Specifically, if no first pagination parameter corresponding to the target account is obtained, the target account's access operation is recorded, and the corresponding pagination data is determined based on the access operation, thereby generating the second pagination parameter based on the pagination data. When generating the second pagination parameter based on the target account's access operation, this invention can generate a second pagination parameter adapted to the underlying pagination algorithm according to the actual application scenario. In this case, there is no need to perform ABtest (A / B testing) algorithm routing to provide different interfaces. Therefore, this application simplifies the pagination information return process. Each time a request from a target account is received, there is no need to recalculate which interface is needed using the ABtest algorithm, reducing the workload of front-end integration.

[0074] Furthermore, this application saves the generated second pagination parameter. When a second access request is received from the target account, it is not necessary to generate a new second pagination parameter. Instead, the saved second pagination parameter can be directly used to determine the corresponding pagination information and send the determined pagination information to the target account. This application generates a second pagination parameter once and can use it multiple times. If multiple second requests are received from the target account subsequently, it is not necessary to regenerate the second pagination parameter each time, thus improving response speed.

[0075] In some embodiments, upon obtaining a first pagination parameter, the corresponding pagination data is determined based on the first pagination parameter; the corresponding pagination information is determined based on the pagination data, and the pagination information is sent to the target account.

[0076] like Figure 2 As shown, the method includes:

[0077] S202, if the first pagination parameter is obtained, determine the corresponding pagination data according to the first pagination parameter;

[0078] S204, determine the corresponding pagination information based on the pagination data, and send the pagination information to the target account.

[0079] In this embodiment, after receiving a first access request from the target account, a query is performed to determine if a first pagination parameter exists. If the first pagination parameter is obtained, pagination information is returned to the target account based on the first pagination parameter. Specifically, the corresponding pagination data can be determined based on the first parameter, and then the corresponding pagination information can be determined based on the pagination data. This application, after finding the first pagination parameter, uses the obtained first pagination parameter to determine the pagination information and returns it to the target account. In this case, there is no need to regenerate the pagination parameter; instead, the obtained first pagination parameter is directly used, making the process of returning pagination information simpler and improving the efficiency of returning pagination information.

[0080] In some embodiments, determining the corresponding pagination data based on the access operation specifically includes: determining the account information of the target account based on the access operation; selecting an algorithm strategy that matches the account information from a preset set of algorithm strategies based on the account information using a preset selection strategy; determining a pagination parameter field that is compatible with the algorithm strategy; and determining the corresponding pagination data based on the pagination parameter field.

[0081] like Figure 3 As shown, it specifically includes:

[0082] S302, Determine the account information of the target account based on the access operation;

[0083] S304, Based on the account information, select an algorithm strategy that matches the account information from a preset set of algorithm strategies using a preset selection strategy;

[0084] S306, Determine the pagination parameter fields that are compatible with the algorithm strategy;

[0085] S308, determine the corresponding pagination data based on the pagination parameter field.

[0086] In this embodiment, multiple algorithm strategies exist within a preset set of algorithm strategies. A suitable algorithm strategy is selected, and pagination data is determined based on that strategy. Specifically, firstly, the account information of the target account is determined based on the access operation. Then, an algorithm strategy matching the account information is selected using a preset selection strategy. Subsequently, pagination parameter fields adapted to the algorithm strategy are determined and recorded to obtain the corresponding pagination data. Selecting a suitable algorithm strategy from the set of algorithm strategies and then further determining the pagination data ensures that the selected algorithm strategy meets the needs of the target account. Furthermore, it ensures that the generated pagination data corresponds to the pagination parameter fields adapted to the algorithm strategy, resulting in a higher degree of compatibility between the pagination data and the algorithm strategy, and avoiding situations where pagination data is unsuitable for the algorithm strategy.

[0087] Furthermore, when selecting an algorithm strategy, it can be based on login information within the account information. This login information allows for the identification of the target account's account ID (identity), enabling the selected algorithm strategy to be more suitable for the target account and better match its needs.

[0088] In some embodiments, determining the corresponding paging information based on the paging data specifically includes: determining the algorithm strategy corresponding to the paging data in the algorithm strategy set based on the paging data; and determining the paging information based on the paging parameters through the algorithm strategy.

[0089] like Figure 4 As shown, it specifically includes:

[0090] S402, Based on the pagination data, determine the algorithm strategy corresponding to the pagination data from the algorithm strategy set;

[0091] S404 determines pagination information based on pagination parameters using an algorithmic strategy.

[0092] In this embodiment, a preset set of algorithm strategies includes multiple algorithm strategies. An algorithm strategy corresponding to the pagination data is determined from this set, and then pagination information is determined based on the determined algorithm strategy. In this application, a suitable algorithm strategy is first determined, and then this algorithm strategy is used to determine pagination information based on the obtained first pagination parameters. Since the determined algorithm strategy corresponds to the pagination data, it is applicable to the pagination data, resulting in a higher degree of compatibility and making it more conducive to determining pagination information.

[0093] In some embodiments, upon receiving a first access request from a target account and without obtaining the first pagination parameter, an algorithm strategy is selected from a set of algorithm strategies using a preset selection strategy. Finally, a second pagination parameter corresponding to the target account is generated and saved based on the selected algorithm strategy. Subsequently, if another first access request from the target account is received and the first pagination parameter is obtained, the corresponding pagination data can be determined based on the first pagination parameter, and then the corresponding algorithm strategy can be determined based on the pagination data.

[0094] In this embodiment, it is not necessary to select an algorithm strategy again by selecting a strategy. The corresponding algorithm strategy can be determined only based on the pagination data. Therefore, the problem of algorithm routing strategy in the prior art, which requires selecting an algorithm strategy for each access request, is solved.

[0095] Specifically, for example, consider a product list page that receives requests from target account A and target account B. When receiving the first request from target account A, the first pagination parameter is not yet available. The user may have selected a marketplace algorithm from a pre-defined set of algorithm strategies, and the generated and saved second pagination parameter contains the code representing the marketplace algorithm strategy. When a subsequent request is received from the user, if the pagination parameter is available, the user can directly use the marketplace algorithm strategy represented by the code in the second pagination parameter to generate pagination information and return it to target account A. Similarly, when receiving the first request from target account B, the first pagination parameter is not yet available. The user may have selected an Elasticsearch (ES) query algorithm from a pre-defined set of algorithm strategies, and the generated and saved second pagination parameter contains the code representing the ES query algorithm strategy. When a subsequent request is received from the user, if the pagination parameter is available, the user can directly use the ES query algorithm strategy represented by the code in the second pagination parameter to generate pagination information and return it to target account B.

[0096] In some embodiments, a second pagination parameter corresponding to the target account is generated based on the pagination data. This includes: encrypting the account information and pagination data of the target account to obtain encrypted second pagination information and decrypted information corresponding to the target account; and determining the corresponding pagination data based on the first pagination parameter. This includes: decrypting the first pagination parameter based on the decrypted information to obtain the pagination data corresponding to the target account.

[0097] In this embodiment, encryption is performed during the generation of the second pagination information. The account information and pagination data are encrypted to obtain the encrypted second pagination information and decrypted information corresponding to the target account. The decrypted information is used for decryption. During the determination of pagination data based on the first pagination information, decryption is also performed. The decrypted information obtained from the encryption process is used to decrypt the first pagination parameters to obtain the pagination data corresponding to the target account. These encryption and decryption operations ensure information security and prevent information leakage or theft.

[0098] In some embodiments, the method for determining pagination information further includes: receiving an update instruction; in response to the update instruction, obtaining the corresponding update algorithm strategy; adding the update algorithm strategy to the algorithm strategy set, and updating the selection strategy accordingly.

[0099] like Figure 5 As shown, it specifically includes:

[0100] S502, receive update command;

[0101] S504, in response to the update command, obtains the corresponding update algorithm strategy;

[0102] S506, add the update algorithm strategy to the algorithm strategy set, and update the selection strategy accordingly.

[0103] In this embodiment, new algorithm strategies can be added to the set of algorithm strategies. Specifically, upon receiving an update instruction, a response is made to the received update instruction, the corresponding update algorithm strategy is obtained according to the update instruction, and then the obtained update algorithm strategy is added to the algorithm strategy set. After adding the update algorithm strategy, the selection strategy needs to be updated accordingly. A connection is established between the selection strategy and the update algorithm strategy so that when selecting a suitable algorithm strategy through the selection strategy, the updated algorithm strategy can be selected based on the actual situation. In other words, when integrating a new algorithm strategy, only the update algorithm strategy needs to be added and the selection strategy updated, without any other changes, thus improving integration efficiency.

[0104] In some embodiments, the pagination parameter field includes any or a combination of the following: algorithm strategy field, slot field, index field, and request identifier field.

[0105] In this embodiment, the pagination parameter fields include any or a combination of the following: an algorithm strategy field, a slot field, an index field, and a request identifier field. Specifically, the algorithm strategy field identifies the algorithm strategy, the slot field identifies the last piece of data on the current page of pagination information, the slot index field identifies the position of the last piece of data, and the request identifier field identifies the request from the target account. By using the pagination parameter fields, it is possible to determine which pagination parameters are needed, avoiding the generation of pagination parameters that are not required by the algorithm strategy.

[0106] Furthermore, the pagination operation includes scenarios based on page number pagination and scenarios based on data index pagination. The slot field can be used for scenarios based on page number pagination, and the slot index field can be used for scenarios based on data index pagination.

[0107] Furthermore, the slot field can also be used in special scenarios such as reading data from the cache.

[0108] In some embodiments, the second pagination parameters are obtained after encrypting the pagination data and account information as follows:

[0109] "%7B%22pageLastIndex%22%3A%2239%22%2C%22rpcPageLastId%22%3A%22101-64792078559%22%2C%22rpcPageLastType%22%3A%22mm%22%2C% 22userUqId%22%3A%226da72a8c-5827-4c3f-b8b2-819ff54a9f7e%22%2C%22isEnd%22%3A%220%22%2C%22strategyType%22%3A%22mm%22%7D".

[0110] Decrypting the second pagination parameter yields the following information:

[0111] {"pageLastIndex":"39","rpcPageLastId":"101-64792078559","rpcPageLastType":"mm","u serUqId":"6da72a8c-5827-4c3f-b8b2-819ff54a9f7e","isEnd":"0","strategyType":"mm"}.

[0112] Wherein, pageLastIndex represents the slot number, which is 39 in this embodiment; rpcPageLastId represents the position of the RPC (remote procedure calls) interface data index of the current page, which is 101-64792078559 in this embodiment; rpcPageLastType represents the type of the RPC interface data index of the current page, which is the interface type corresponding to the mm algorithm strategy in this embodiment; userUqId represents the request identifier in the current page.

[0113] In some embodiments, the algorithm strategy set includes an e-commerce algorithm and a data department algorithm, where different algorithms have different pagination parameters. The e-commerce algorithm requires pagination parameters including `pageNo` and `pageSize`, while the data department algorithm requires pagination parameters including `last_skuId`. This invention generates pagination parameter data based on the algorithm strategy, and then determines the second pagination parameter corresponding to the target account based on the pagination data. This can generate a second pagination parameter containing `lastId`. When the algorithm strategy used is the data department algorithm, the format of `lastId` is `{"strategy":"data department", "pagination parameter":"last_skuid"}`, while when the algorithm strategy used is the e-commerce algorithm, the format of `lastId` is `{"strategy":"e-commerce algorithm", "pagination parameter_page number":"pageNo", "pagination parameter_number per page":"pageSize"}`. The `lastId` ensures the uniformity of the second pagination parameter when using the data department algorithm and the e-commerce algorithm.

[0114] like Figure 6 As shown, in some embodiments, the method is as follows:

[0115] S602, First pagination parameter;

[0116] S604, Is the first pagination parameter empty? If yes, proceed to S606; otherwise, proceed to S608.

[0117] S606, routing based on login information;

[0118] S608, Algorithm Strategy;

[0119] S610 generates paginated data, slots, and slot indexes according to the algorithm strategy;

[0120] S612, return pagination information.

[0121] In this embodiment, the first pagination parameter is first queried to determine if it is empty, i.e., whether the first pagination parameter has been obtained. If the first pagination parameter is empty, then a second pagination parameter needs to be generated. Routing is performed based on the target account's login information, i.e., the corresponding algorithm strategy is selected. Based on the algorithm strategy, pagination parameter fields, including slot field and slot index field, are determined, and pagination data is generated. Then, the second pagination parameter is generated based on the pagination data, and pagination information is returned based on the generated second pagination parameter. If the first pagination parameter is not empty, then the first pagination parameter is decrypted to obtain the decrypted pagination data, and then pagination information is returned based on the decrypted pagination data.

[0122] A second aspect of the present invention provides a pagination information determination apparatus 700, comprising: a receiving unit 710, configured to receive a first access request sent by a target account; a parameter generation unit 720, configured to query a first pagination parameter corresponding to the target account according to the first access request; the parameter generation unit 720 is further configured to record the access operation of the target account if the first pagination parameter is not obtained; the parameter generation unit 720 is further configured to determine the corresponding pagination data according to the access operation; the parameter generation unit 720 is further configured to generate a second pagination parameter corresponding to the target account according to the pagination data; the parameter generation unit 720 is further configured to save the second pagination parameter so that, when a second access request is received from the target account, the corresponding pagination information can be determined according to the second pagination parameter; and a sending unit 730, configured to send the pagination information to the target account.

[0123] The pagination information determination device 700 proposed in this embodiment of the invention includes a receiving unit 710, a parameter generation unit 720, and a sending unit 730. The receiving unit 710 receives a first access request sent by a target user. After receiving the first access request, the parameter generation unit 720 checks whether a first pagination parameter exists. If not, a second pagination parameter corresponding to the target account is generated. Specifically, if no first pagination parameter corresponding to the target account is obtained, the access operation of the target account is recorded, and the corresponding pagination data is determined based on the access operation, and then the second pagination parameter is generated based on the pagination data. When generating the second pagination parameter based on the access operation of the target account, this invention can generate a second pagination parameter adapted to the underlying pagination algorithm according to the actual application scenario. In this case, it is not necessary to perform ABtest (flow splitting test) algorithm routing to provide different interfaces. Therefore, this application simplifies the pagination information return process. Each time a request from the target account is received, it is not necessary to recalculate which interface is needed using the ABtest algorithm, reducing the workload of the front-end access.

[0124] Furthermore, the parameter generation unit 720 saves the generated second pagination parameters. When a second access request is received from the target account, it is not necessary to generate new second pagination parameters again. Instead, the saved second pagination parameters can be directly used to determine the corresponding pagination information, and the determined pagination information can be sent to the target account through the sending unit 730. This application generates second pagination parameters once and can use them multiple times. If multiple second requests are received from the target account subsequently, it is not necessary to regenerate the second pagination parameters each time, thus improving response speed.

[0125] In addition, the pagination information determination device 700 proposed according to the above-described technical solution of the present invention may also have the following technical features:

[0126] like Figure 7 As shown, in some embodiments, the pagination information determination device 700 further includes a parameter parsing unit 740, which is used to: determine the corresponding pagination data based on the first pagination parameter when the first pagination parameter is obtained; the parameter parsing unit 740 is also used to determine the corresponding pagination information based on the pagination data; and the sending unit 730 is also used to send the pagination information to the target account.

[0127] In this embodiment, the pagination information determination device 700 further includes a parameter parsing unit 740, which can parse the acquired first pagination parameter. Specifically, after receiving a first access request sent by the target account through the receiving unit 710, the parameter generation unit 720 queries whether there is a first pagination parameter. If the first pagination parameter is acquired, the parameter parsing unit 740 parses the first pagination parameter to obtain pagination information, and finally returns the pagination information to the target account through the return unit. Specifically, the corresponding pagination data can be determined based on the first parameter, and then the corresponding pagination information can be determined based on the pagination data. After the first pagination parameter is found, the parameter parsing unit 740 uses the acquired first pagination parameter to determine the pagination information, and then the return unit returns the determined pagination information to the target account. In this case, the parameter generation unit 720 does not need to regenerate the pagination parameter, but directly uses the acquired first pagination parameter, making the process of returning pagination information simpler and improving the efficiency of returning pagination information.

[0128] In some embodiments, the parameter generation unit 720 is further configured to: determine the account information of the target account based on the access operation; select an algorithm strategy that matches the account information from a preset set of algorithm strategies based on the account information and a preset selection strategy; determine a pagination parameter field that is compatible with the algorithm strategy; and determine the corresponding pagination data based on the pagination parameter field.

[0129] In this embodiment, multiple algorithm strategies exist within a preset set of algorithm strategies. The parameter generation unit 720 can select a suitable algorithm strategy and determine pagination data based on that strategy. Specifically, firstly, the account information of the target account is determined based on the access operation. Then, an algorithm strategy matching the account information is selected using a preset selection strategy. Subsequently, pagination parameter fields adapted to the algorithm strategy are determined and recorded to obtain the corresponding pagination data. Selecting a suitable algorithm strategy from the set of algorithm strategies and then further determining the pagination data ensures that the selected algorithm strategy meets the needs of the target account. Furthermore, it ensures that the generated pagination data corresponds to the pagination parameter fields adapted to the algorithm strategy, resulting in better compatibility between the pagination data and the algorithm strategy and avoiding situations where the pagination data is unsuitable for the algorithm strategy.

[0130] Furthermore, when selecting an algorithm strategy, it can be based on login information within the account information. This login information allows for the identification of the target account's account ID (identity), enabling the selected algorithm strategy to be more suitable for the target account and better match its needs.

[0131] In some embodiments, the parameter parsing unit 740 is further configured to: determine the algorithm strategy corresponding to the paging data from a preset set of algorithm strategies based on the paging data; and determine paging information based on the paging parameters using the algorithm strategy.

[0132] In this embodiment, the design includes a preset set of algorithm strategies containing multiple algorithm strategies. An algorithm strategy corresponding to the pagination data is determined from this set, and then pagination information is determined based on the determined algorithm strategy. In this application, a suitable algorithm strategy is first determined, and then this algorithm strategy is used to determine pagination information based on the obtained first pagination parameters. Since the determined algorithm strategy corresponds to the pagination data, it is applicable to the pagination data, has a higher compatibility, and is more conducive to determining pagination information.

[0133] In some embodiments, upon receiving a first access request from a target account and without obtaining the first pagination parameter, the parameter generation unit 720 selects an algorithm strategy from a set of algorithm strategies using a preset selection strategy. Finally, it generates and saves the second pagination parameter corresponding to the target account based on the selected algorithm strategy. Subsequently, if another first access request from the target account is received and the first pagination parameter is obtained, the parameter parsing unit 740 can determine the corresponding pagination data based on the first pagination parameter, and then determine the corresponding algorithm strategy based on the pagination data.

[0134] In this embodiment, it is not necessary to select an algorithm strategy again by selecting a strategy. The corresponding algorithm strategy can be determined only based on the pagination data. Therefore, the problem of algorithm routing strategy that requires selecting an algorithm strategy for each access request received in the prior art is solved.

[0135] Specifically, for example, consider a product list page that receives requests from target account A and target account B. When receiving the first request from target account A, the first pagination parameter is not yet available. The user may have selected a marketplace algorithm from a pre-defined set of algorithm strategies, and the generated and saved second pagination parameter contains the code representing the marketplace algorithm strategy. When a subsequent request is received from the user, if the pagination parameter is available, the user can directly use the marketplace algorithm strategy represented by the code in the second pagination parameter to generate pagination information and return it to target account A. Similarly, when receiving the first request from target account B, the first pagination parameter is not yet available. The user may have selected an Elasticsearch (ES) query algorithm from a pre-defined set of algorithm strategies, and the generated and saved second pagination parameter contains the code representing the ES query algorithm strategy. When a subsequent request is received from the user, if the pagination parameter is available, the user can directly use the ES query algorithm strategy represented by the code in the second pagination parameter to generate pagination information and return it to target account B.

[0136] In some embodiments, the parameter generation unit 720 is further configured to: encrypt the account information and pagination data of the target account to obtain encrypted second pagination information and decrypted information corresponding to the target account; and decrypt the first pagination parameter according to the decrypted information to obtain pagination data corresponding to the target account.

[0137] In this embodiment, during the generation of the second pagination information, encryption processing is performed using the parameter generation unit 720. The account information and pagination data are encrypted to obtain the encrypted second pagination information and decrypted information corresponding to the target account. The decrypted information is used for decryption. During the determination of pagination data based on the first pagination information, decryption processing is performed using the parameter generation unit 720. The decrypted information obtained from the encryption process is used to decrypt the first pagination parameters, obtaining the pagination data corresponding to the target account. Through encryption and decryption operations, information security is ensured, preventing information leakage or theft.

[0138] In some embodiments, the paging information determination device 700 further includes an update unit, configured to: receive an update instruction; in response to the update instruction, obtain a corresponding update algorithm strategy; add the update algorithm strategy to the algorithm strategy set, and update the selection strategy accordingly.

[0139] In this embodiment, the update unit can add new algorithm strategies to the set of algorithm strategies. Specifically, upon receiving an update instruction, it responds to the instruction, obtains the corresponding update algorithm strategy, and adds it to the algorithm strategy set. After adding the update algorithm strategy, the selection strategy needs to be updated accordingly. A connection is established between the selection strategy and the update algorithm strategy to ensure that when selecting a suitable algorithm strategy, the updated algorithm strategy can be selected based on the actual situation. In other words, when integrating a new algorithm strategy, only the update algorithm strategy needs to be added and the selection strategy updated, without any other changes, thus achieving higher integration efficiency.

[0140] In some embodiments, the pagination parameter field includes any or a combination of the following: algorithm strategy field, slot field, index field, and request identifier field.

[0141] In this embodiment, the pagination parameter fields include any or a combination of the following: an algorithm strategy field, a slot field, an index field, and a request identifier field. Specifically, the algorithm strategy field identifies the algorithm strategy, the slot field identifies the last piece of data on the current page of pagination information, the slot index field identifies the position of the last piece of data, and the request identifier field identifies the request from the target account. By using the pagination parameter fields, it is possible to determine which pagination parameters are needed, avoiding the generation of pagination parameters that are not required by the algorithm strategy.

[0142] Furthermore, the pagination operation includes scenarios based on page number pagination and scenarios based on data index pagination. The slot field can be used for scenarios based on page number pagination, and the slot index field can be used for scenarios based on data index pagination.

[0143] Furthermore, the slot field can also be used in special scenarios such as reading data from the cache.

[0144] According to a third aspect of the present invention, a recommendation system is provided, including a pagination information determination device 700 designed as described in any of the second aspects above, and thus possessing all the beneficial effects of the pagination information determination device 700, which will not be elaborated further here.

[0145] like Figure 8 As shown, according to a fourth aspect of the present invention, an electronic device 800 is provided, including a memory 810 storing a program or instructions; and a controller 820, which, when executing the program or instructions, implements the steps of the paging information determination method as described in any of the designs of the first aspect above, and thus possesses all the beneficial effects of the paging information determination method, which will not be elaborated further here.

[0146] According to a fifth aspect of the present invention, a readable storage medium is provided on which a program or instructions are stored, wherein when the program or instructions are executed by a processor, the program or instructions implement the steps of the method for determining paging information as designed in any of the first aspects described above, and thus possess all the beneficial effects of the method for determining paging information, which will not be elaborated further here.

[0147] Readable storage media can include any medium capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and so on. Code segments can be downloaded via networks such as the Internet, intranets, etc.

[0148] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or computer apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or computer apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or computer apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and computer apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0149] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0150] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for determining pagination information, characterized in that, include: Received the first access request from the target account; Based on the first access request, query the first pagination parameters corresponding to the target account; If the first pagination parameter is not obtained, the access operation of the target account is recorded; The corresponding pagination data is determined based on the access operation. The pagination data is determined based on the matching algorithm strategy after the account information of the target account is matched in a preset algorithm strategy set through a preset selection strategy. A second pagination parameter corresponding to the target account is generated based on the pagination data, and the second pagination parameter is adapted to the matching algorithm strategy; The second pagination parameter is saved so that, upon receiving a second access request from the target account, the corresponding pagination information is determined based on the second pagination parameter, and the pagination information is sent to the target account.

2. The method for determining pagination information according to claim 1, characterized in that, Also includes: If the first pagination parameter is obtained, the corresponding pagination data is determined based on the first pagination parameter; Based on the pagination data, the corresponding pagination information is determined and sent to the target account.

3. The method for determining pagination information according to claim 2, characterized in that, The step of determining the corresponding pagination data based on the access operation specifically includes: The account information of the target account is determined based on the access operation; Based on the account information, an algorithm strategy matching the account information is selected from a preset set of algorithm strategies using a preset selection strategy. Determine the pagination parameter fields that are compatible with the algorithm strategy; The corresponding pagination data is determined based on the pagination parameter field.

4. The method for determining pagination information according to claim 3, characterized in that, The step of determining the corresponding pagination information based on the pagination data specifically includes: Based on the pagination data, determine the algorithm strategy corresponding to the pagination data from the algorithm strategy set; The pagination information is determined based on the pagination parameters using the algorithm strategy described above.

5. The method for determining pagination information according to claim 2, characterized in that, The step of generating the second pagination parameter corresponding to the target account based on the pagination data specifically includes: The account information of the target account and the pagination data are encrypted to obtain encrypted second pagination information and decrypted information corresponding to the target account; The step of determining the corresponding pagination data based on the first pagination parameter specifically includes: decrypting the first pagination parameter based on the decryption information to obtain the pagination data corresponding to the target account.

6. The method for determining pagination information according to claim 3 or 4, characterized in that, The method further includes: Receive update command; In response to the update instruction, obtain the corresponding update algorithm strategy; The update algorithm strategy is added to the algorithm strategy set, and the selection strategy is updated accordingly.

7. The method for determining pagination information according to claim 3, characterized in that, The pagination parameter field includes any one or a combination of the following: Algorithm strategy field, slot field, index field, request identifier field.

8. A device for determining pagination information, characterized in that, include: The receiving unit is used to receive the first access request sent by the target account; The parameter generation unit is used to query the first pagination parameter corresponding to the target account based on the first access request; The parameter generation unit is also used to record the access operation of the target account when the first pagination parameter is not obtained. The parameter generation unit is further configured to determine the corresponding pagination data based on the access operation. The pagination data is determined based on the matching algorithm strategy after the account information of the target account is matched in a preset algorithm strategy set through a preset selection strategy. The parameter generation unit is further configured to generate a second pagination parameter corresponding to the target account based on the pagination data, wherein the second pagination parameter is adapted to the matching algorithm strategy; The parameter generation unit is further configured to save the second pagination parameter so that, upon receiving a second access request sent by the target account, the corresponding pagination information can be determined based on the second pagination parameter. A sending unit is used to send the pagination information to the target account.

9. The pagination information determination device according to claim 8, characterized in that, It also includes a parameter parsing unit, used for: If the first pagination parameter is obtained, the corresponding pagination data is determined based on the first pagination parameter; The parameter parsing unit is also used to determine the corresponding pagination information based on the pagination data; The sending unit is also used to send the pagination information to the target account.

10. The pagination information determination device according to claim 9, characterized in that, The parameter generation unit is also used for: The account information of the target account is determined based on the access operation; Based on the account information, an algorithm strategy matching the account information is selected from a preset set of algorithm strategies using a preset selection strategy. Determine the pagination parameter fields that are compatible with the algorithm strategy; The corresponding pagination data is determined based on the pagination parameter field.

11. The pagination information determination device according to claim 10, characterized in that, The parameter parsing unit is also used for: Based on the pagination data, determine the algorithm strategy corresponding to the pagination data from the preset algorithm strategy set; The pagination information is determined based on the pagination parameters using the algorithm strategy described above.

12. The pagination information determination device according to claim 9, characterized in that, The parameter generation unit is also used for: The account information of the target account and the pagination data are encrypted to obtain encrypted second pagination information and decrypted information corresponding to the target account; Based on the decryption information, the first pagination parameter is decrypted to obtain the pagination data corresponding to the target account.

13. The pagination information determination device according to claim 10 or 11, characterized in that, It also includes an update unit, used for: Receive update command; In response to the update instruction, obtain the corresponding update algorithm strategy; The update algorithm strategy is added to the algorithm strategy set, and the selection strategy is updated accordingly.

14. The pagination information determination device according to claim 10, characterized in that, The pagination parameter field includes any one or a combination of the following: Algorithm strategy field, slot field, index field, request identifier field.

15. An electronic device, characterized in that, include: Memory, which stores programs or instructions; A controller that, when executing the program or instructions, implements the method for determining pagination information as described in any one of claims 1 to 7.

16. A readable storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the steps of the method for determining paging information as described in any one of claims 1 to 7.