Digital resource access methods, devices, storage media and electronic devices

By acquiring the number of merchants of different investment types, determining the digital resource replacement strategy, and updating the merchant display, the problem of insufficient merchant numbers in online shopping platform marketing activities was solved, and the effectiveness of digital resource utilization was improved.

CN115330439BActive Publication Date: 2026-05-26RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
Filing Date
2022-07-26
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In online shopping platform marketing campaigns, existing technologies struggle to guarantee a sufficient number of merchants participating, resulting in poor utilization of digital resources.

Method used

By obtaining the number of merchants of different recruitment types, the strategy for replacing digital resources is determined, and the initial activity code is replaced with the target activity code to update the merchant list display on the terminal.

Benefits of technology

The marketing campaign ensured a sufficient supply of merchants, thus improving the effectiveness of digital resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115330439B_ABST
    Figure CN115330439B_ABST
Patent Text Reader

Abstract

This specification discloses a method, apparatus, storage medium, and electronic device for accessing digital resources. The method includes: a terminal receiving a first operation instruction from a target user regarding an initial activity code for a digital resource, and sending the first operation instruction to a server; the server responding to the first operation instruction obtaining a first number of first merchants meeting a first filtering condition and a second number of second merchants meeting a second filtering condition; the server determining a replacement strategy corresponding to the digital resource based on the first and second numbers, and replacing the initial activity code of the digital resource with a target activity code based on the replacement strategy; the server sending the target activity code to the terminal; and the terminal receiving the target activity code sent by the server and updating the display of merchants in the merchant list based on the target activity code. Therefore, a sufficient supply of merchants can be guaranteed in marketing activities, improving the effectiveness of digital resource utilization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of data processing technology, and in particular to a method, apparatus, storage medium, and electronic device for accessing digital resources. Background Technology

[0002] In recent years, with the development of online shopping technology, more and more online shopping platforms have appeared in users' daily lives. Especially popular are online shopping platforms offering short-term delivery. Whether it's a short-term or long-term delivery platform, various categories of merchants are available. Typically, to increase sales, merchants, or to attract users, platforms launch numerous marketing campaigns. These campaigns can involve sending users various electronic red envelopes, electronic vouchers, and electronic coupons, as well as offering discounted products to entice consumers. Summary of the Invention

[0003] This specification provides a method, apparatus, storage medium, and electronic device for accessing digital resources, which can ensure a sufficient supply of merchants in marketing activities and improve the effectiveness of digital resource utilization. The technical solution is as follows:

[0004] Firstly, this specification provides a method for accessing digital resources, the method comprising:

[0005] The terminal receives a first operation instruction from the target user for the initial activity code of the digital resource, and sends the first operation instruction to the server;

[0006] The server responds to the first operation instruction by obtaining a first number of first merchants that meet the first screening criteria and a second number of second merchants that meet the second screening criteria, wherein the first merchants and the second merchants belong to different types of merchants.

[0007] The server determines the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replaces the initial activity code of the digital resource with the target activity code based on the replacement strategy.

[0008] The server sends the target activity code to the terminal;

[0009] The terminal receives the target activity code sent by the server and updates the display of merchants in the merchant list based on the target activity code.

[0010] Secondly, this specification provides a method for accessing digital resources, applied to a server, the method comprising:

[0011] In response to the first operation instruction of the target user for the initial activity code of digital resources, the first number of first merchants that meet the first screening condition and the second number of second merchants that meet the second screening condition are obtained, wherein the first merchants and the second merchants belong to different types of merchants.

[0012] Based on the first quantity and the second quantity, a replacement strategy corresponding to the digital resource is determined, and based on the replacement strategy, the initial activity code of the digital resource is replaced with the target activity code.

[0013] The target activity code is sent to the terminal corresponding to the target user.

[0014] Thirdly, this specification provides a method for accessing digital resources, applied to a terminal, the method comprising:

[0015] Receive a first operation instruction from a target user for an initial activity code of a digital resource, and send the first operation instruction to a server so that the server responds to the first operation instruction by changing the initial activity code of the digital resource to a target activity code.

[0016] The system receives the target activity code sent by the server and updates the display of merchants in the merchant list based on the target activity code.

[0017] Fourthly, this specification provides a digital resource retrieval device applied to a server, the device comprising:

[0018] The filtering module is used to respond to the first operation instruction of the target user for the initial activity code of digital resources, and to obtain the first number of first merchants that meet the first filtering conditions and the second number of second merchants that meet the second filtering conditions, wherein the first merchants and the second merchants belong to different types of merchants.

[0019] The replacement module is used to determine the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and to replace the initial activity code of the digital resource with the target activity code based on the replacement strategy.

[0020] The sending module is used to send the target activity code to the terminal corresponding to the target user.

[0021] Fifthly, this specification provides a digital resource retrieval device for use in a terminal, the device comprising:

[0022] The instruction sending module is used to receive a first operation instruction from a target user for an initial activity code of a digital resource, and send the first operation instruction to a server so that the server responds to the first operation instruction by changing the initial activity code of the digital resource to a target activity code.

[0023] The merchant display module is used to receive the target activity code sent by the server and update the display of merchants in the merchant list based on the target activity code.

[0024] Sixthly, this specification provides a computer storage medium having a plurality of instructions adapted for loading by a processor and executing the above-described method steps.

[0025] In a seventh aspect, this specification provides an electronic device that may include: a memory and a processor; wherein the memory stores a computer program adapted to be loaded by the memory and to execute the above-described method steps.

[0026] The beneficial effects of the technical solutions provided in this specification include at least the following:

[0027] In this embodiment, the terminal first receives a first operation instruction from a target user regarding the initial activity code of a digital resource, and sends the first operation instruction to the server. Then, in response to the first operation instruction, the server obtains a first number of first merchants meeting a first filtering condition and a second number of second merchants meeting a second filtering condition, wherein the first and second merchants belong to different merchant recruitment types. Further, the server determines a replacement strategy corresponding to the digital resource based on the first and second numbers, and replaces the initial activity code of the digital resource with a target activity code based on the replacement strategy. Finally, the server sends the target activity code to the terminal, enabling the terminal to update the display of merchants in the merchant list based on the target activity code. Therefore, in this embodiment, by obtaining the number of merchants of different recruitment types to determine the replacement strategy for the initial activity code of digital resources in the user's account, and then replacing the initial activity code according to the replacement strategy, the terminal can update the display of merchants based on the replaced activity code. This ensures a sufficient supply of merchants in marketing activities and improves the effectiveness of digital resource utilization. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 This is a schematic diagram of the system architecture of a digital resource retrieval method provided in the embodiments of this specification;

[0030] Figure 2This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification;

[0031] Figure 3 This is a schematic diagram of the interface before an electronic red envelope performs its expansion function, as provided in the embodiments of this specification.

[0032] Figure 4 This is a schematic diagram of the interface after an electronic red envelope performs its expansion function, as provided in the embodiments of this specification.

[0033] Figure 5 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification;

[0034] Figure 6 This is a flowchart illustrating another digital resource retrieval method provided in the embodiments of this specification;

[0035] Figure 7 This is a flowchart illustrating another digital resource retrieval method provided in the embodiments of this specification;

[0036] Figure 8 This is a flowchart illustrating another digital resource retrieval method provided in the embodiments of this specification;

[0037] Figure 9 This is a flowchart illustrating another digital resource retrieval method provided in the embodiments of this specification;

[0038] Figure 10 This is a schematic diagram of another digital resource retrieval device provided in the embodiments of this specification;

[0039] Figure 11 This is a schematic diagram of another digital resource retrieval device provided in the embodiments of this specification;

[0040] Figure 12 This is a schematic diagram of the structure of a server provided in an embodiment of this specification;

[0041] Figure 13 This is a schematic diagram of the structure of an electronic device provided in the embodiments of this specification. Detailed Implementation

[0042] To make the inventive objectives, features, and advantages of the embodiments in this specification more apparent and understandable, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments in this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0043] In the description of this specification, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this specification, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this specification based on the specific circumstances. Furthermore, in the description of this specification, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0044] In related technologies, online shopping platforms often recruit merchants in advance when launching marketing campaigns. This process of recruiting merchants can be called merchant recruitment. Generally, recruited merchants can be divided into two types: those recruited through direct recruitment and those recruited through indirect recruitment. The two types of merchants contribute different amounts of capital to the campaign. Merchants recruited through direct recruitment contribute a larger proportion of capital, while those recruited through indirect recruitment contribute a smaller proportion, or even none at all. When faced with a tight launch schedule and short preparation time, relying solely on direct recruitment or indirect recruitment may result in a smaller number of participating merchants, leading to insufficient merchant availability for the campaign.

[0045] The present specification will now be described in detail with reference to specific embodiments.

[0046] Please see Figure 1 This is a schematic diagram of the system architecture for a digital resource retrieval method provided in an embodiment of this specification. Figure 1 As shown in the figure, the diagram includes a server and a terminal, where the terminal may include a desktop computer, a laptop, a mobile phone, or a tablet.

[0047] It should be understood that the server can be an electronic device with digital resource access capabilities, or a standalone server device, such as a rack-mounted, blade, tower, or cabinet-type server device, or a workstation, mainframe, or other hardware device with strong computing power; it can also be a server cluster composed of multiple servers, wherein the servers in the service cluster can be composed in a symmetrical manner, wherein each server is functionally and hierarchically equivalent in the transaction chain, and each server can provide services to the outside world independently. The independent provision of services to the outside world can be understood as not requiring the assistance of other servers.

[0048] The terminal and the server communicate with each other via a network, which can be a wireless network or a wired network. The wireless network includes, but is not limited to, cellular networks, wireless local area networks, infrared networks, or Bluetooth networks. The wired network includes, but is not limited to, Ethernet, universal serial bus (USB), or controller area network.

[0049] In some embodiments, technologies and / or formats, including Hyper Text Markup Language (HTML), Extensible Markup Language (XML), etc., can be used to represent data exchanged over the network (such as target compressed packets). Furthermore, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), and Internet Protocol Security (IPsec) can be used to encrypt all or some of the links. In other embodiments, custom and / or dedicated data communication technologies can be used to replace or supplement the aforementioned data communication technologies.

[0050] In this embodiment, the terminal receives a first operation instruction from a target user regarding the initial activity code of a digital resource, and sends the first operation instruction to a server. The server responds to the first operation instruction by obtaining a first number of first merchants meeting a first filtering condition and a second number of second merchants meeting a second filtering condition. The first and second merchants belong to different merchant recruitment types. The server determines a replacement strategy corresponding to the digital resource based on the first and second numbers, and replaces the initial activity code of the digital resource with a target activity code based on the replacement strategy. The server sends the target activity code to the terminal. The terminal receives the target activity code sent by the server and updates the display of merchants in the merchant list based on the target activity code. Therefore, in this embodiment, by obtaining the number of merchants of different recruitment types to determine the replacement strategy for the initial activity code of the digital resource in the user's account, and then replacing the initial activity code according to the replacement strategy, the terminal can update the display of merchants based on the replaced activity code. This ensures a sufficient supply of merchants in marketing activities and improves the effectiveness of digital resource utilization.

[0051] The digital resource retrieval methods provided by this system architecture are generally executed by a server or terminal, and correspondingly, the digital resource retrieval device is generally set up in the server or terminal.

[0052] To more clearly describe the technical solutions of the embodiments in this specification, some concepts in this specification will be described in detail before the description to better understand the solution.

[0053] A terminal can refer to a smart device with a display screen, such as a mobile phone, tablet, or computer.

[0054] The target user can refer to the user currently using the terminal.

[0055] Digital resources can refer to electronic red envelopes, electronic coupons, electronic vouchers, electronic gift certificates, etc., used for online consumption.

[0056] The initial activity code refers to the identifier code corresponding to a digital resource in the database. The initial activity code can be an identifier code composed of numbers, letters, symbols, etc. Some characters in the initial activity code can represent specific meanings. For example, the initial activity code has 20 characters in total. The first 3 characters represent the type of digital resource, the 4th to 6th characters represent the corresponding qualifying amount, the 7th to 9th characters represent the corresponding discount amount, and the remaining characters can represent other information. When the digital resource represents an electronic red envelope, the type of digital resource can represent categories such as fruits and vegetables, supermarkets / convenience stores, afternoon tea, or all categories. The qualifying amount can refer to the 30 yuan in "30 yuan minus 5 yuan", and the discount amount can refer to the 5 yuan in "30 yuan minus 5 yuan".

[0057] The target activity code can be compared with the concept of the initial activity code. The number of characters in the target activity code and the initial activity code can be the same or different. The meaning represented by some of the characters in the target activity code can be the same or different from the meaning represented by some of the characters in the initial activity code.

[0058] The first operation instruction can refer to the operation instruction generated when the target user performs the expansion function on the digital resource. The expansion function can refer to a feature of the digital resource that can increase the amount indicated by the digital resource. For example, when the digital resource represents an electronic red envelope with a discount of 5 yuan for purchases over 30 yuan, the expansion function can change the red envelope to an electronic red envelope with a discount of W yuan for purchases over 30 yuan, where W can be a number greater than 5 and less than 30.

[0059] The first filtering condition can refer to the filtering conditions set based on the user's information. User information may include the user's location information, the search information entered by the user, etc. When the user information is location information, location filtering conditions can be set based on the location information. For example, the filtering condition could be: within 5 kilometers of the location information. When the user information is search information, search filtering conditions can be set based on the search information. For example, if the search information is keywords, the filtering condition could be: contain keywords.

[0060] The second filtering condition can refer to the filtering conditions set based on the user's information. User information may include the user's location information, user-entered search information, etc. When the user information is location information, location filtering conditions can be set based on the location information; when the user information is search information, search filtering conditions can be set based on the search information. It should be noted that the first and second filtering conditions can be exactly the same or different.

[0061] A replacement strategy can refer to a strategy used to replace the initial activity code of a digital resource. For example, a replacement strategy can include two strategies, which can be simply referred to as strategy one and strategy two. Strategy one can correspond to strategy one, meaning that the initial activity code of the digital resource is replaced with strategy one, and strategy two can correspond to strategy two, meaning that the initial activity code of the digital resource is replaced with strategy two.

[0062] The first type of merchant can refer to a merchant who actively participates in the platform's merchant recruitment activities, and can be simply referred to as a merchant recruited through positive recruitment.

[0063] The second type of merchant can refer to a merchant who is invited to participate in the platform's recruitment activities, or simply a merchant recruited through reverse recruitment.

[0064] Please see Figure 2 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification. The method described in this embodiment can be applied to... Figure 1 The system architecture diagram shown is as follows. Figure 2 As shown, the method described in the embodiments of this specification may include the following steps:

[0065] S202, the terminal receives the first operation instruction from the target user for the initial activity code of the digital resource.

[0066] S204, the terminal sends the first operation instruction to the server.

[0067] In some embodiments, a target user can control a digital resource to perform an expansion function within the food delivery platform's application. The terminal can recognize the first operation instruction generated when the expansion function is triggered, and the terminal can send this first operation instruction to the server. It is understood that the terminal may also send the user's current user information to the server along with the first operation instruction. In some application scenarios, the user information may be the user's location information, whether automatically or manually located; in other application scenarios, the user information may also be the search information set by the user, such as keywords, prices, etc.

[0068] S206, the server responds to the first operation instruction by obtaining a first number of first merchants that meet the first filtering condition and a second number of second merchants that meet the second filtering condition.

[0069] In some embodiments, the system mainly includes two types of merchants: forward-attracting merchants and reverse-attracting merchants. Two merchant pools corresponding to each type can exist in the database, each storing the merchants corresponding to their respective type. Forward-attracting merchants are described above as representing the concept of the first type of merchant. Reverse-attracting merchants are described above as representing the concept of the second type of merchant. For example, the database contains merchant pool B and merchant pool C. Merchant pool B contains only forward-attracting merchants, while merchant pool C contains only reverse-attracting merchants. After receiving the first operation instruction from the terminal, the server can first determine a first filtering condition for selecting merchants from one merchant pool and a second filtering condition for selecting merchants from the other. If the first and second filtering conditions are the same, a common filtering condition is used in both merchant pools. If the first and second filtering conditions are different, each filtering condition is used in a separate merchant pool. Furthermore, a first number of first merchants meeting the first screening criteria can be selected from the merchant pool corresponding to the positive recruitment type, and a second number of second merchants meeting the second screening criteria can be selected from the merchant pool corresponding to the reverse recruitment type.

[0070] Specifically, the server can determine the first and second filtering conditions based on user information, which may include the user's location information, search information entered by the user, etc. The server can obtain user information in several ways: either the terminal sends the user information to the server along with the first operation command, or the terminal sends the user information to the server in real time after obtaining it, and resends the user information to the server when it changes, ensuring the server has the latest user information.

[0071] S208, the server determines the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replaces the initial activity code of the digital resource with the target activity code based on the replacement strategy.

[0072] S210, the server sends the target activity code to the terminal.

[0073] It is understandable that a replacement strategy can refer to a strategy used to replace the initial activation code of a digital resource. For example, a replacement strategy can include two strategies, which can be simply referred to as strategy one and strategy two. Strategy one can correspond to strategy one, meaning that the initial activation code of the digital resource is replaced with strategy one, and strategy two can correspond to strategy two, meaning that the initial activation code of the digital resource is replaced with strategy two.

[0074] In some embodiments, a first threshold and a second threshold can be set, as well as a first strategy and a second strategy. Both the first strategy and the second strategy can be replacement strategies, and a target activity code corresponding to the first strategy and a target activity code corresponding to the second strategy can be set. The server can determine the replacement strategy based on the relationship between the first quantity and the first threshold, and the relationship between the second quantity and the second threshold, i.e., select the first strategy or the second strategy. Specifically, one way to determine the replacement strategy is as follows: if the first quantity is greater than the first threshold, the server can determine the replacement strategy as the first strategy; if the first quantity is less than or equal to the first threshold, and the second quantity is greater than the second threshold, the server can determine the replacement strategy as the second strategy; if the first quantity is less than or equal to the second threshold, and the second quantity is less than or equal to the second threshold, the server can determine the replacement strategy as the first strategy. Further, when the replacement strategy is determined to be the first strategy, the server can replace the initial activity code of the digital resource with the target activity code corresponding to the first strategy; when the replacement strategy is determined to be the second strategy, the server can replace the initial activity code of the digital resource with the target activity code corresponding to the second strategy. Further, the server can send the replaced target activity code to the terminal.

[0075] S212, the terminal receives the target activity code sent by the server, and updates the display of merchants in the merchant list based on the target activity code.

[0076] In some embodiments, since the initial activity code and the target activity code can be the identifier of the digital resource in the database, when the identifier of the digital resource in the database changes, the amount indicated by the digital resource will also change. This change process and the amount indicated after the change can be displayed to the user. For example, if the digital resource is an electronic red envelope, see [link to relevant documentation]. Figure 3 The displayed interface diagram shown is an illustration of the electronic red envelope before the expansion function is applied. When the user clicks the "10-point expansion" icon, the electronic red envelope will be expanded. Before expansion, the amount of the electronic red envelope can be 3 points less than or equal to 12 points. See also... Figure 4The illustrated display interface diagram shows the electronic red envelope after the expansion function is applied. The expanded electronic red envelope amount can be 10 yuan off for purchases over 12 yuan. For users, the main function of the electronic red envelope is for online platform redemption. To facilitate user use, a specific display area can be set in the terminal's display interface for a list of merchants eligible for the electronic red envelope. The display interface can include only the specific display area, or it can include both a specific display area and a regular display area. The regular display area can be used to display a list of merchants eligible for regular electronic red envelopes. It is understood that online food delivery platforms typically have red envelopes that can be used with the expansion function, which can refer to the electronic red envelope in this embodiment, and also red envelopes that are not eligible for the expansion function, which can be simply referred to as regular electronic red envelopes. The number of merchants eligible for regular electronic red envelopes can be greater than the number of merchants eligible for electronic red envelopes. To facilitate user use, a list of merchants eligible for regular electronic red envelopes can be displayed in the regular display area. Typically, the merchants in the merchant list can be scrolled down based on user commands.

[0077] Specifically, such as Figure 4 As shown, the terminal can display the amount indicated by the changed electronic red envelope to the user. At this time, the user can choose to use the red envelope or hide it. The user can hide the red envelope by clicking the close button below it. In one specific implementation, when the user executes the action of using the red envelope and triggers an operation command, the terminal can determine the target merchant applicable to the red envelope based on the target activity code, and can update the merchant list display based on the target merchant. A specific implementation method for the terminal to determine the target merchant applicable to the red envelope based on the target activity code can be: determining the recruitment type of the target activity code; if the target activity code belongs to the positive recruitment type, the terminal will use the first merchant in the first merchant pool corresponding to the positive recruitment type that meets the first screening condition as the target merchant; if the target activity code belongs to the reverse recruitment type, the terminal will use the second merchant in the second merchant pool corresponding to the reverse recruitment type that meets the second screening condition as the target merchant.

[0078] In another specific implementation, when a user executes the action of hiding the red envelope, triggering an operation command, the terminal can obtain at least one target activity code from the target user's account, determine the recruitment type of each target activity code, and determine the merchants displayed in the merchant list based on the recruitment type. Specifically, if at least one target activity code contains a positive recruitment type activity code and at least one target activity code does not contain a negative recruitment type activity code, then the first merchant in the first merchant pool corresponding to the positive recruitment type that meets the first filtering condition is displayed in the merchant list; if at least one target activity code contains a negative recruitment type activity code and at least one target activity code does not contain a positive recruitment type activity code, then the second merchant in the second merchant pool corresponding to the negative recruitment type that meets the second filtering condition is displayed in the merchant list; if at least one target activity code contains a positive recruitment type activity code and at least one target activity code contains a negative recruitment type activity code, then the first merchant in the first merchant pool corresponding to the positive recruitment type that meets the first filtering condition is displayed in the merchant list.

[0079] In this embodiment, the terminal first receives a first operation instruction from a target user regarding the initial activity code of a digital resource, and sends the first operation instruction to the server. Then, in response to the first operation instruction, the server obtains a first number of first merchants meeting a first filtering condition and a second number of second merchants meeting a second filtering condition, wherein the first and second merchants belong to different merchant recruitment types. Further, the server determines a replacement strategy corresponding to the digital resource based on the first and second numbers, and replaces the initial activity code of the digital resource with a target activity code based on the replacement strategy. Finally, the server sends the target activity code to the terminal, enabling the terminal to update the display of merchants in the merchant list based on the target activity code. Therefore, in this embodiment, by obtaining the number of merchants of different recruitment types to determine the replacement strategy for the initial activity code of digital resources in the user's account, and then replacing the initial activity code according to the replacement strategy, the terminal can update the display of merchants based on the replaced activity code. This ensures a sufficient supply of merchants in marketing activities and improves the effectiveness of digital resource utilization.

[0080] Please see Figure 5 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification. Figure 5 As shown, the method described in the embodiments of this specification may include the following steps:

[0081] S502, the terminal receives the first operation instruction from the target user for the initial activity code of the digital resource.

[0082] S504, the terminal sends the first operation instruction to the server.

[0083] For details, please refer to Figure 2 The descriptions in S202 and S204 are not repeated here.

[0084] S506, the server responds to the first operation instruction, obtains the first merchant pool corresponding to the first investment promotion type, and determines the first number of first merchants in the first merchant pool that meet the first screening conditions.

[0085] It is understandable that the first type of investment attraction can refer to the positive investment attraction type, as can be seen in the description of the first merchant above.

[0086] The first merchant pool can refer to a collection of merchants that are recruited through positive means.

[0087] In some embodiments, when a target user performs an expansion function on digital resources on a terminal, a first operation instruction is generated. The terminal can recognize this first operation instruction and send it to a server. After receiving the first operation instruction, the server can generate first filtering conditions based on user information. Furthermore, it can select a first number of merchants from a first merchant pool that meet the first filtering conditions. It is understood that in some application scenarios, user information may be the user's location information on the terminal. For the server to obtain user information, the terminal can send the user information to the server simultaneously with the first operation instruction. Alternatively, when the terminal determines that the user's location information has changed, it can send the changed location information to the server so that the server can obtain the user's latest location information. In other application scenarios, user information may be search information entered by the user on the terminal. Similarly, following the methods described above for obtaining location information, the server can also use the same methods to obtain search information.

[0088] S508, the server obtains the second merchant pool corresponding to the second investment promotion type, and determines the second number of second merchants in the second merchant pool that meet the second screening conditions.

[0089] It is understandable that the second type of investment attraction can refer to the reverse investment attraction type, as can be seen in the description of the second merchant above.

[0090] The second merchant pool can refer to a collection of merchants that are recruited through reverse recruitment.

[0091] In some embodiments, the second number of second merchants in the second merchant pool that meet the second filtering conditions can be obtained in accordance with the method of obtaining the first quantity in S506. The means by which the server determines the second filtering conditions can also be found in the description in S506, and will not be repeated here.

[0092] Understandably, in the application scenario of a food delivery platform, the first and second filtering conditions can be exactly the same. For example, the filtering condition determined based on the user's location information could be: within 10 kilometers of the current location. Both the first and second filtering conditions can apply to this filtering condition. Alternatively, the first and second filtering conditions can be different. For example, when determining the filtering condition based on the user's location information, since there are no merchants of the second type of merchant recruitment within 5 kilometers of the user's current location, but there are a number of merchants of the second type of merchant recruitment beyond 5 kilometers or 6 kilometers of the user's current location, in order to provide a better user experience, the first filtering condition can be set to: within 5 kilometers of the current location, and the second filtering condition can be set to: within 6 kilometers of the current location.

[0093] S510, if the first quantity is greater than the first threshold, the server determines that the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtains the first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code.

[0094] S512, the server sends the first activity code to the terminal.

[0095] Understandably, the first threshold can refer to a set value, which can be a fixed value or a variable value.

[0096] The merchant type corresponding to the first merchant is the same as the first merchant type described in S506.

[0097] The first active code can be understood with reference to the concept of the initial active code. The number of characters in the first active code and the initial active code can be the same or different. The meaning represented by some of the characters in the first active code can be the same or different from the meaning represented by some of the characters in the initial active code.

[0098] In some embodiments, when the first quantity exceeds a first threshold, it indicates that there are sufficient merchants of the positive recruitment type around the user. The replacement strategy corresponding to the digital resource can be determined as the first strategy. The first strategy can be associated with the first recruitment type, and the first activity code corresponding to the first strategy can be applied to merchants of the first recruitment type. Therefore, the first activity code corresponding to the first strategy can be obtained, the initial activity code of the digital resource can be replaced with the first activity code, and the first activity code can be sent to the terminal used by the target user. In this way, when the user consumes digital resources in the activity at merchants of the positive recruitment type, because these merchants can bear more investment costs in the activity, and the user has access to a larger number of merchants, the promotional effect of the platform is effectively guaranteed, as well as the effectiveness of the digital resource usage.

[0099] S514, the terminal receives the first activity code sent by the server and receives a second operation instruction from the target user for the first activity code.

[0100] It is understandable that the second operation instruction can refer to the operation instruction generated when the target user performs a function to use the digital resource.

[0101] In some embodiments, a first promotional code may be received. Further, the discount amount of the digital resource displayed to the user may be replaced with the discount amount represented by the first promotional code, and the discount amount represented by the first promotional code may be displayed to the user. See also... Figure 4 The diagram shown illustrates the display interface when the digital resource is an electronic red envelope. Figure 4 This is an illustration of what happens after the electronic red envelope has been inflated. The inflated electronic red envelope can have a discount of 10 yuan off for purchases of 12 or more. When the target user clicks... Figure 4 When the icon "Inflated, go to use" is displayed, a second operation command can be triggered, and the terminal can receive the second operation command.

[0102] S516, the terminal determines that the first activity code belongs to the first type of investment promotion activity code, and selects the first merchant in the first merchant pool corresponding to the first type of investment promotion that meets the first screening condition as the target merchant.

[0103] In some embodiments, the first activity code may include a number of characters, where a specific number of characters can represent different meanings. For example, the first activity code may include 20 characters, and the 12th to 16th characters may represent the type of business recruitment to which the activity code belongs, which could be a forward recruitment type or a reverse recruitment type. Therefore, when the terminal can determine that the first activity code belongs to a first type of business recruitment based on certain characters of the first activity code, a first filtering condition can be generated. Specifically, the first filtering condition can be generated based on user information; the specific generation method can be found in the glossary at the beginning of the specification and will not be repeated here. Further, a first merchant that meets the first filtering condition can be selected from the first merchant pool. Further still, the selected first merchant can be used as the target merchant.

[0104] S518, the terminal deletes merchants from the merchant list except for the target merchant, and displays the target merchant in the merchant list.

[0105] Understandably, the merchant list can refer to the list of merchants displayed on the screen.

[0106] In some embodiments, when a user executes the "go to use" function and triggers the first operation instruction, merchants that are not the target merchants in the merchant list can be deleted, and only the target merchants can be displayed. These target merchants can all use digital resources, and the user can choose to consume from the above target merchants. This eliminates the need for the user to repeatedly try to determine which merchants can consume digital resources, thus saving the user's time and effort.

[0107] Optionally, if the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, the server determines that the replacement strategy corresponding to the digital resource is the second strategy of the merchant recruitment type corresponding to the second merchant, obtains the second activity code corresponding to the second strategy, replaces the initial activity code of the digital resource with the second activity code, and sends the second activity code to the terminal.

[0108] Further, optionally, if the terminal determines that the second activity code belongs to the second type of investment promotion activity code, then the second merchant in the second merchant pool corresponding to the second type of investment promotion that meets the second screening condition is taken as the target merchant, and the second type of investment promotion is the investment promotion type corresponding to the second merchant.

[0109] Understandably, the second threshold can refer to a set value, which can be a fixed value or a variable value.

[0110] The second merchant's recruitment type is the same as the second recruitment type described above.

[0111] The second active code can be referenced from the concept of the initial active code. The number of characters in the first active code and the initial active code may be the same or different. The meaning represented by some of the characters in the first active code may be the same or different from the meaning represented by some of the characters in the initial active code.

[0112] In some embodiments, when the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, it indicates that the number of merchants with positive recruitment type around the user is small, while the number of merchants with negative recruitment type is sufficient. In this case, the replacement strategy corresponding to the digital resource can be determined as the second strategy. The second strategy can be associated with the second recruitment type, and the second activity code corresponding to the second strategy can be applied to merchants with the second recruitment type. Therefore, the second activity code corresponding to the second strategy can be obtained, the initial activity code of the digital resource can be replaced with the second activity code, and the second activity code can be sent to the terminal used by the target user. Thus, since the number of merchants with positive recruitment type around the user is small, if the initial activity code of the digital resource is continued to be replaced with an activity code applicable to merchants with positive recruitment type, the scope of use of the digital resource is small, resulting in a poor user experience. To ensure the scope of use of the digital resource, the initial activity code of the digital resource can be replaced with an activity code applicable to merchants with negative recruitment type (i.e., the second activity code), expanding the scope of use of the digital resource and further improving the effectiveness of its use. Simultaneously, the platform ensures a sufficient supply of merchants.

[0113] In some embodiments, based on the first activity code described in S516, if the terminal can determine that the second activity code belongs to the second recruitment type based on certain digits of the second activity code, a second filtering condition can be generated. Specifically, the second filtering condition can be generated based on user information; the specific generation method can be found in the glossary at the beginning of the specification and will not be repeated here. Further, a second merchant that meets the second filtering condition can be selected from the second merchant pool. Further, the selected second merchant can be used as the target merchant.

[0114] Optionally, if the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, the server controls the terminal to display a prompt pop-up. In response to the target user's confirmation instruction for the prompt pop-up, the server determines that the replacement strategy corresponding to the digital resource is the first strategy of the recruitment type corresponding to the first merchant, obtains the first activity code corresponding to the first strategy, replaces the initial activity code of the digital resource with the first activity code, and sends the first activity code to the terminal.

[0115] Understandably, pop-up prompts can be used to confirm with the user whether to perform the bloat function on the current digital resource.

[0116] In some embodiments, when the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, it indicates that the number of merchants in the user's vicinity that are recruiting for business is relatively small, and the number of merchants that are recruiting for business in reverse is also relatively small. The server can send a corresponding control instruction to the terminal. This control instruction can be used to instruct the terminal to display a prompt pop-up window. The prompt pop-up window can display the prompt words "Confirm Expansion" and "Cancel Expansion". The user can perform a confirmation operation for confirming expansion or a cancellation operation for canceling expansion according to the prompt words displayed in the prompt pop-up window. When the user performs the confirmation operation for confirming expansion, the terminal can receive a confirmation instruction triggered by the confirmation operation. Furthermore, the terminal can send the confirmation instruction to the server. Furthermore, the server can determine the digital resource replacement strategy as a first strategy. The first strategy can be associated with the first recruitment type, and the first activity code corresponding to the first strategy can be applied to merchants of the first recruitment type. Therefore, the server can obtain the first activity code corresponding to the first strategy, replace the initial activity code of the digital resource with the first activity code, and send the first activity code to the terminal used by the target user. In this way, when the number of merchants recruited through positive means is small and the number of merchants recruited through negative means is also small, and user permission has been obtained, choosing to replace the initial activity code of digital resources with an activity code suitable for merchants recruited through positive means (i.e., the first activity code) can ensure the promotional effect of the platform's marketing activities.

[0117] Understandably, when a user performs a cancellation operation to cancel inflation, the terminal can receive a cancellation command triggered by the cancellation operation. Furthermore, the terminal can send this cancellation command to the server. Moreover, the server may not need to change the activity code of the digital resource.

[0118] Optionally, the terminal may also perform the following steps: receiving a third operation instruction from the target user for the target activity code, and obtaining at least one target activity code from the account corresponding to the target user.

[0119] Specifically, the target activity code may include the first activity code and the second activity code mentioned above.

[0120] The third operation instruction can refer to the operation instruction generated when the target user performs the hiding function on the digital resource. The hiding function can refer to the function of not displaying the digital resource on the current interface through corresponding operations. For example, when the digital resource is displayed, it may have functions such as "go to use", "cancel" and "close". The "cancel" and "close" functions are both hiding functions, that is, the function of not displaying the digital resource on the current interface.

[0121] In some embodiments, the terminal may receive a target activity code (which may refer to a first activity code / second activity code) sent by the server. Further, the discount amount of the digital resources displayed to the user may be replaced with the discount amount represented by the target activity code, and the discount amount represented by the target activity code may be displayed to the user. See also... Figure 4 The diagram shown illustrates the display interface when the digital resource is an electronic red envelope. Figure 4 This diagram illustrates the effect of inflating an electronic red envelope, where the inflated amount can be 10 yuan off for every 12 yuan spent. When the target user clicks the "close" icon in the diagram, a third operation command is triggered, which the terminal can receive. Furthermore, it allows querying all target activity codes in the target user's account.

[0122] For at least one target activity code in the account corresponding to the aforementioned target user, the following scenarios are possible: Scenario 1: If the at least one target activity code contains an activity code of a first recruitment type, and the at least one target activity code does not contain an activity code of a second recruitment type, then the first merchant in the first merchant pool corresponding to the first recruitment type that meets the first filtering condition is displayed in the merchant list. Scenario 2: If the at least one target activity code contains an activity code of a second recruitment type, and the at least one target activity code does not contain an activity code of the first recruitment type, then the second merchant in the second merchant pool corresponding to the second recruitment type that meets the second filtering condition is displayed in the merchant list. Scenario 3: If the at least one target activity code contains an activity code of a first recruitment type, and the at least one target activity code contains an activity code of a second recruitment type, then the first merchant in the first merchant pool corresponding to the first recruitment type that meets the first filtering condition is displayed in the merchant list, where the first recruitment type is the recruitment type corresponding to the first merchant, and the second recruitment type is the recruitment type corresponding to the second merchant.

[0123] In some embodiments, as described above, the merchant recruitment type to which the target activity code belongs can be determined based on certain digits of characters in the target activity code. Then it is easy to know the merchant recruitment type to which each of the target activity codes in the target user's account belongs. If it is determined that there is an activity code of the first merchant recruitment type and an activity code of the second merchant recruitment type among the above target activity codes, the first merchant that meets the first screening condition can be selected from the first merchant pool of the first merchant recruitment type, and the selected first merchant can be displayed in the merchant list.

[0124] In some embodiments, as described above, the merchant recruitment type to which the target activity code belongs can be determined based on certain digits of characters in the target activity code. Then it is easy to know the merchant recruitment type to which each of the target activity codes in the target user's account belongs. If it is determined that there is no activity code of the first merchant recruitment type among the above target activity codes but there is an activity code of the second merchant recruitment type, a second merchant that meets the second screening condition can be selected from the second merchant pool of the second merchant recruitment type, and the selected second merchant can be displayed in the merchant list.

[0125] In some embodiments, as described above, the merchant recruitment type to which the target activity code belongs can be determined based on certain digits of characters in the target activity code. Then it is easy to know the merchant recruitment type to which each of the target activity codes in the target user's account belongs. If it is determined that there is an activity code of the first merchant recruitment type and there is no activity code of the second merchant recruitment type among the above target activity codes, the first merchant that meets the first screening condition can be selected from the first merchant pool of the first merchant recruitment type, and the selected first merchant can be displayed in the merchant list.

[0126] In this embodiment, the terminal first receives a first operation instruction from a target user regarding the initial activity code of a digital resource, and sends the first operation instruction to the server. Then, in response to the first operation instruction, the server obtains a first number of first merchants meeting a first filtering condition and a second number of second merchants meeting a second filtering condition, wherein the first and second merchants belong to different merchant recruitment types. Further, the server determines a replacement strategy corresponding to the digital resource based on the first and second numbers, and replaces the initial activity code of the digital resource with a target activity code based on the replacement strategy. Finally, the server sends the target activity code to the terminal, so that the terminal updates the display of merchants in the merchant list based on the target activity code. Therefore, in this embodiment, by changing the initial activity code of the digital resource in the user's account to a forward recruitment type activity code or a reverse recruitment type activity code by the number of merchants of different recruitment types, the terminal can update the display of merchants according to different types of activity codes. This ensures a sufficient supply of merchants during marketing activities while guaranteeing the promotional effect of the platform's marketing activities and improving the utilization effect of digital resources.

[0127] Please see Figure 6 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification. Figure 6 As shown, the method described in the embodiments of this specification is explained with the server as the executing entity. The method described in the embodiments of this specification may include the following steps:

[0128] S602, in response to a first operation instruction from a target user for an initial activity code of a digital resource, obtains a first number of first merchants that meet a first filtering condition and a second number of second merchants that meet a second filtering condition.

[0129] In some embodiments, merchants are mainly included in two types: merchants recruited through forward recruitment and merchants recruited through reverse recruitment. The database can contain merchant pools corresponding to each of these two recruitment types, with each pool storing the merchants corresponding to their respective recruitment type. Merchants recruited through forward recruitment are described in the first merchant concept above. Merchants recruited through reverse recruitment are described in the second merchant concept above. For example, the database contains merchant pool B and merchant pool C. Merchant pool B contains all merchants recruited through forward recruitment, and merchant pool C contains all merchants recruited through reverse recruitment. After receiving the first operation instruction from the terminal, the server can first determine a first filtering condition for selecting merchants from one merchant pool and a second filtering condition for selecting merchants from the other merchant pool. If the first and second filtering conditions are the same, a common filtering condition is used in both merchant pools. If the first and second filtering conditions are different, each filtering condition is used in a separate merchant pool. Furthermore, a first number of first merchants meeting the first screening criteria can be selected from the merchant pool corresponding to the positive recruitment type, and a second number of second merchants meeting the second screening criteria can be selected from the merchant pool corresponding to the reverse recruitment type.

[0130] S604, determine the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replace the initial activity code of the digital resource with the target activity code based on the replacement strategy.

[0131] In some embodiments, a first threshold and a second threshold can be set, as well as a first strategy and a second strategy. Both the first strategy and the second strategy can be replacement strategies, and a target activity code corresponding to the first strategy and a target activity code corresponding to the second strategy can be set. The server can determine the replacement strategy based on the relationship between the first quantity and the first threshold, and the relationship between the second quantity and the second threshold, i.e., select the first strategy or the second strategy. Specifically, one way to determine the replacement strategy is: if the first quantity is greater than the first threshold, the replacement strategy can be determined as the first strategy; if the first quantity is less than or equal to the first threshold, and the second quantity is greater than the second threshold, the replacement strategy can be determined as the second strategy; if the first quantity is less than or equal to the second threshold, and the second quantity is less than or equal to the second threshold, the replacement strategy can be determined as the first strategy. Further, when the replacement strategy is determined to be the first strategy, the initial activity code of the digital resource can be replaced with the target activity code corresponding to the first strategy; when the replacement strategy is determined to be the second strategy, the initial activity code of the digital resource can be replaced with the target activity code corresponding to the second strategy. Further, the server can send the replaced target activity code to the terminal.

[0132] S606, the target activity code is sent to the terminal corresponding to the target user.

[0133] In some embodiments, the server can send the target activity code to the terminal corresponding to the target user, so that the terminal can update the display of merchants in the merchant list based on the target activity code. Since the initial activity code and the target activity code can be the identifier code of the digital resource in the database, when the identifier code of the digital resource in the database changes, the amount indicated by the digital resource will also change. The process of this change and the amount indicated after the change can be displayed to the user. For users, the main function of electronic red envelopes is to be used for online platform verification. To facilitate user use, a specific display area can be set in the terminal's display interface for the list of merchants available for the electronic red envelope. The display interface may include only the specific display area, or it may include a specific display area and a normal display area. The normal display area can be used to display the list of merchants available for ordinary electronic red envelopes. It is understandable that online food delivery platforms typically offer red envelopes with an "expansion" feature, which can refer to the electronic red envelopes in the embodiments of this specification. They can also use red envelopes without this feature, which can be simply referred to as ordinary electronic red envelopes. The number of merchants eligible for ordinary electronic red envelopes can be greater than the number of merchants eligible for general electronic red envelopes. To facilitate user use, a list of merchants eligible for ordinary electronic red envelopes can be displayed in the standard display area. Typically, the merchants in the list can be scrolled based on user input.

[0134] In the embodiments of this specification, the server determines the replacement strategy of the initial activity code of digital resources in the user account by obtaining the number of merchants of different recruitment types, and then replaces the initial activity code according to the replacement strategy, so that the terminal can update the display of merchants according to the replaced activity code. This can ensure a sufficient supply of merchants in marketing activities and improve the utilization effect of digital resources.

[0135] Please see Figure 7 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification. Figure 7 As shown, the method described in the embodiments of this specification is explained with the server as the executing entity. The method described in the embodiments of this specification may include the following steps:

[0136] S702, in response to the first operation instruction of the target user for the initial activity code of digital resources, obtain the first merchant pool corresponding to the first investment promotion type, and determine the first number of first merchants in the first merchant pool that meet the first screening conditions.

[0137] It is understandable that the first type of investment attraction can refer to the positive investment attraction type, as can be seen in the description of the first merchant above.

[0138] The first merchant pool can refer to a collection of merchants that are recruited through positive means.

[0139] In some embodiments, when a target user performs an expansion function on digital resources on a terminal, a first operation instruction is generated. The terminal can recognize this first operation instruction and send it to a server. After receiving the first operation instruction, the server can generate first filtering conditions based on user information. Furthermore, it can select a first number of merchants from a first merchant pool that meet the first filtering conditions. It is understood that in some application scenarios, user information may be the user's location information on the terminal. For the server to obtain user information, the terminal can send the user information to the server simultaneously with the first operation instruction. Alternatively, when the terminal determines that the user's location information has changed, it can send the changed location information to the server so that the server can obtain the user's latest location information. In other application scenarios, user information may be search information entered by the user on the terminal. Similarly, following the methods described above for obtaining location information, the server can also use the same methods to obtain search information.

[0140] S704, obtain the second merchant pool corresponding to the second investment promotion type, and determine the second number of second merchants in the second merchant pool that meet the second screening conditions.

[0141] It is understandable that the second type of investment attraction can refer to the reverse investment attraction type described above, and for details, please refer to the concept of the second merchant.

[0142] The second merchant pool can refer to a collection of merchants that are recruited through reverse recruitment.

[0143] In some embodiments, the second number of second merchants in the second merchant pool that meet the second filtering conditions can be obtained in accordance with the method of obtaining the first quantity in S703. The means by which the server determines the second filtering conditions can also be found in the description in S703, and will not be repeated here.

[0144] Understandably, in the application scenarios of food delivery platforms, the first and second filtering conditions can be exactly the same. For example, the filtering condition determined based on the user's location information can be: within 10 kilometers of the current location. Both the first and second filtering conditions can apply to this filtering condition. Alternatively, the first and second filtering conditions can be different. For example, when determining the filtering condition based on the user's location information, since there are no merchants of the second type of merchant recruitment within 5 kilometers of the user's current location, but there are a number of merchants of the second type of merchant recruitment beyond 5 kilometers or 6 kilometers of the user's current location, in order to provide a better user experience, the first filtering condition can be set to: within 5 kilometers of the current location, and the second filtering condition can be set to: within 6 kilometers of the current location.

[0145] S706, if the first quantity is greater than the first threshold, then determine that the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtain the first activity code corresponding to the first strategy, replace the initial activity code of the digital resource with the first activity code, and send the first activity code to the terminal corresponding to the target user.

[0146] Understandably, the first threshold can refer to a set value, which can be a fixed value or a variable value.

[0147] The merchant type corresponding to the first merchant is the same as the first merchant type described in S702.

[0148] The first active code can be understood with reference to the concept of the initial active code. The number of characters in the first active code and the initial active code can be the same or different. The meaning represented by some of the characters in the first active code can be the same or different from the meaning represented by some of the characters in the initial active code.

[0149] In some embodiments, if the first quantity exceeds a first threshold, it indicates that there are sufficient merchants of the positive recruitment type around the user. The replacement strategy corresponding to the digital resource can be determined as the first strategy. The first strategy can be associated with the first recruitment type, and the first activity code corresponding to the first strategy can be applied to merchants of the first recruitment type. Therefore, the first activity code corresponding to the first strategy can be obtained, the initial activity code of the digital resource can be replaced with the first activity code, and the first activity code can be sent to the terminal used by the target user. In this way, when the user consumes digital resources in the activity at merchants of the positive recruitment type, the platform's promotional effect is effectively guaranteed, and the utilization effect of the digital resources is also guaranteed, because merchants of the positive recruitment type can bear more investment costs in the activity, and the number of merchants the user can consume at is also larger.

[0150] S708, if the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, then determine that the replacement strategy corresponding to the digital resource is the second strategy of the merchant recruitment type corresponding to the second merchant, obtain the second activity code corresponding to the second strategy, replace the initial activity code of the digital resource with the second activity code, and send the second activity code to the terminal corresponding to the target user.

[0151] Understandably, the second threshold can refer to a set value, which can be a fixed value or a variable value.

[0152] The second merchant's recruitment type is the same as the second recruitment type described in S702.

[0153] The second active code can be referenced from the concept of the initial active code. The number of characters in the first active code and the initial active code may be the same or different. The meaning represented by some of the characters in the first active code may be the same or different from the meaning represented by some of the characters in the initial active code.

[0154] In some embodiments, when the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, it indicates that the number of merchants with positive recruitment type around the user is small, while the number of merchants with negative recruitment type is sufficient. In this case, the replacement strategy corresponding to the digital resource can be determined as the second strategy. The second strategy can be associated with the second recruitment type, and the second activity code corresponding to the second strategy can be applied to merchants with the second recruitment type. Therefore, the second activity code corresponding to the second strategy can be obtained, the initial activity code of the digital resource can be replaced with the second activity code, and the second activity code can be sent to the terminal used by the target user. Thus, since the number of merchants with positive recruitment type around the user is small, if the initial activity code of the digital resource is continued to be replaced with an activity code applicable to merchants with positive recruitment type, the scope of use of the digital resource is small, resulting in a poor user experience. To ensure the scope of use of the digital resource, the initial activity code of the digital resource can be replaced with an activity code applicable to merchants with negative recruitment type (i.e., the second activity code), expanding the scope of use of the digital resource and further improving the effectiveness of its use. Simultaneously, the platform ensures a sufficient supply of merchants.

[0155] S710, if the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, then control the terminal to display a prompt pop-up window.

[0156] S712, in response to the confirmation instruction from the target user to the pop-up window, determine that the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtain the first activity code corresponding to the first strategy, replace the initial activity code of the digital resource with the first activity code, and send the first activity code to the terminal corresponding to the target user.

[0157] The following is an explanation of S710 and S712.

[0158] Understandably, pop-up prompts can be used to confirm with the user whether to perform the bloat function on the current digital resource.

[0159] In some embodiments, when the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, it indicates that the number of merchants in the user's vicinity that are recruiting for business is relatively small, and the number of merchants that are recruiting for business in reverse is also relatively small. The server can send a corresponding control instruction to the terminal. This control instruction can be used to instruct the terminal to display a prompt pop-up window. The prompt pop-up window can display the prompt words "Confirm Expansion" and "Cancel Expansion". The user can perform a confirmation operation for confirming expansion or a cancellation operation for canceling expansion according to the prompt words displayed in the prompt pop-up window. When the user performs the confirmation operation for confirming expansion, the terminal can receive a confirmation instruction triggered by the confirmation operation. Furthermore, the terminal can send the confirmation instruction to the server. Furthermore, the server can determine the digital resource replacement strategy as a first strategy. The first strategy can be associated with the first recruitment type, and the first activity code corresponding to the first strategy can be applied to merchants of the first recruitment type. Therefore, the server can obtain the first activity code corresponding to the first strategy, replace the initial activity code of the digital resource with the first activity code, and send the first activity code to the terminal used by the target user. In this way, when the number of merchants recruited through positive channels is small and the number of merchants recruited through negative channels is also small, choosing to replace the initial activity code of the digital resources with an activity code suitable for merchants recruited through positive channels (i.e., the first activity code) can ensure the promotion effect of the platform's marketing activities and effectively guarantee the use effect of the digital resources.

[0160] Understandably, when a user performs a cancellation operation to cancel inflation, the terminal can receive a cancellation command triggered by the cancellation operation. Furthermore, the terminal can send this cancellation command to the server. Moreover, the server may not need to change the activity code of the digital resource.

[0161] In the embodiments described in this specification, the server can obtain the number of merchants of different recruitment types and compare the number of merchants with a set (variable) threshold to determine whether to replace the initial activity code of the digital resources in the user's account with a positive recruitment type activity code or a negative recruitment type activity code. This allows the terminal to update the display of merchants according to different types of activity codes, ensuring a sufficient supply of merchants while effectively guaranteeing the promotional effect of the platform's marketing activities. Since the set threshold is variable, it can be changed according to the actual situation in practical applications, providing users with a better user experience and improving the utilization effect of digital resources.

[0162] Please see Figure 8 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification. Figure 8 As shown, the methods described in the embodiments of this specification are explained with the execution subject as the terminal. The methods in the embodiments of this specification may include the following steps:

[0163] S802, receive a first operation instruction from the target user for the initial activity code of the digital resource, and send the first operation instruction to the server so that the server responds to the first operation instruction by changing the initial activity code of the digital resource to the target activity code.

[0164] In some embodiments, a target user can control a digital resource to perform an expansion function within the food delivery platform's application. The terminal can recognize the first operation instruction generated when the expansion function is triggered, and the terminal can send this first operation instruction to the server. It is understood that the terminal can also send the user's current user information to the server simultaneously with the first operation instruction. Optionally, the terminal can also send the latest user information to the server when it detects a change in the user's user information, so that the server can obtain the latest user information. In some application scenarios, user information can be the user's location information, whether automatically or manually located; in other application scenarios, user information can also be the search information set by the user, such as keywords, prices, etc.

[0165] After receiving the first operation instruction sent by the terminal, the server can determine the first screening condition for filtering the first merchant and the second screening condition for filtering the second merchant. Specifically, the first and second screening conditions can be determined based on user information. Furthermore, the first screening condition can be used to select the first number of first merchants in the merchant pool of the forward recruitment type, and the second screening condition can be used to select the second number of second merchants in the merchant pool of the reverse recruitment type. Furthermore, the initial activity code replacement strategy for digital resources can be determined based on the first and second numbers. Furthermore, the initial activity code can be replaced with the target activity code based on the replacement strategy.

[0166] S804, receive the target activity code sent by the server, and update the display of merchants in the merchant list based on the target activity code.

[0167] In some embodiments, since the initial activity code and the target activity code can be the identifier of the digital resource in the database, when the identifier of the digital resource in the database changes, the amount indicated by the digital resource will also change. This change process and the amount indicated after the change can be displayed to the user. For example, if the digital resource is an electronic red envelope, see [link to relevant documentation]. Figure 3 The displayed interface diagram shown is an illustration of the electronic red envelope before the expansion function is applied. When the user clicks the "10-point expansion" icon, the electronic red envelope will be expanded. Before expansion, the amount of the electronic red envelope can be 3 points less than or equal to 12 points. See also... Figure 4The illustrated display interface diagram shows the electronic red envelope after the expansion function is applied. The expanded electronic red envelope amount can be 10 yuan off for purchases over 12 yuan. For users, the main function of the electronic red envelope is for online platform redemption. To facilitate user use, a specific display area can be set in the terminal's display interface for a list of merchants eligible for the electronic red envelope. The display interface can include only the specific display area, or it can include both a specific display area and a regular display area. The regular display area can be used to display a list of merchants eligible for regular electronic red envelopes. It is understood that online food delivery platforms typically have red envelopes that can be used with the expansion function, which can refer to the electronic red envelope in this embodiment, and also red envelopes that are not eligible for the expansion function, which can be simply referred to as regular electronic red envelopes. The number of merchants eligible for regular electronic red envelopes can be greater than the number of merchants eligible for electronic red envelopes. To facilitate user use, a list of merchants eligible for regular electronic red envelopes can be displayed in the regular display area. Typically, the merchants in the merchant list can be scrolled down based on user commands.

[0168] Specifically, the terminal can display the amount indicated by the change in the digital resource to the user. At this time, the user can choose to use the digital resource immediately or later. In one specific implementation, when the user executes the operation command to use the digital resource immediately, the terminal can determine the target merchant applicable to the digital resource based on the target activity code, and can update the display of merchants in the merchant list based on the target merchant. The specific implementation of the terminal determining the target merchant applicable to the digital resource based on the target activity code can be as follows: determine the recruitment type of the target activity code. If the target activity code belongs to the positive recruitment type, the terminal will select the first merchant in the first merchant pool corresponding to the positive recruitment type that meets the first screening condition as the target merchant; if the target activity code belongs to the negative recruitment type, the terminal will select the second merchant in the second merchant pool corresponding to the negative recruitment type that meets the second screening condition as the target merchant.

[0169] In another specific implementation, when a user executes an operation instruction to use the digital resource later, the terminal can obtain at least one target activity code from the target user's account, determine the recruitment type of each target activity code, and determine the merchants displayed in the merchant list based on the recruitment type. Specifically, if at least one target activity code contains a positive recruitment type activity code and at least one target activity code does not contain a negative recruitment type activity code, then the first merchant in the first merchant pool corresponding to the positive recruitment type that meets the first filtering condition is displayed in the merchant list; if at least one target activity code contains a negative recruitment type activity code and at least one target activity code does not contain a positive recruitment type activity code, then the second merchant in the second merchant pool corresponding to the negative recruitment type that meets the second filtering condition is displayed in the merchant list; if at least one target activity code contains a positive recruitment type activity code and at least one target activity code contains a negative recruitment type activity code, then the first merchant in the first merchant pool corresponding to the positive recruitment type that meets the first filtering condition is displayed in the merchant list.

[0170] In the embodiments of this specification, the terminal can send a first operation instruction executed by the target user for digital resources to the server, so that the server can replace the initial activity code of the digital resources with a target activity code and send the target activity code to the terminal. Further, the terminal can determine the target merchants applicable to the target activity code, and finally update the merchant list display based on the applicable target merchants. Because the server, in the process of replacing the initial activity code with the target activity code, considers the number of merchants of different recruitment types and the investment ratio undertaken by merchants of different recruitment types, it ensures a sufficient supply of merchants while guaranteeing the promotional effect of the marketing activity. This allows users to achieve a better user experience when consuming digital resources corresponding to the target activity code, thus improving the utilization effect of digital resources.

[0171] Please see Figure 9 This is a flowchart illustrating a digital resource retrieval method provided in an embodiment of this specification. Figure 9 As shown, the methods described in the embodiments of this specification are explained with the execution subject as the terminal. The methods in the embodiments of this specification may include the following steps:

[0172] S902, receive a first operation instruction from the target user for the initial activity code of the digital resource, and send the first operation instruction to the server so that the server responds to the first operation instruction by changing the initial activity code of the digital resource to the target activity code.

[0173] For details, please refer to Figure 8 The description of S802 will not be repeated here.

[0174] S904, receive the target activity code sent by the server, and receive the second operation instruction from the target user for the target activity code.

[0175] It is understandable that the second operation instruction can refer to the operation instruction generated when the target user performs the immediate use function on the digital resource.

[0176] In some embodiments, a target activity code may be received. Further, the discount amount of the digital resource displayed to the user may be replaced with the discount amount represented by the target activity code, and the discount amount represented by the target activity code may be displayed to the user. See also... Figure 4 The diagram shown illustrates the display interface when the digital resource is an electronic red envelope. Figure 4 This is an illustration of what happens after the electronic red envelope has been inflated. The inflated electronic red envelope can have a discount of 10 yuan off for purchases of 12 or more. When the target user clicks... Figure 4 When the icon "Inflated, go to use" is displayed, a second operation command can be triggered, and the terminal can receive the second operation command.

[0177] S906, if the target activity code belongs to the activity code of the first investment promotion type, then the first merchant in the first merchant pool corresponding to the first investment promotion type that meets the first screening condition is taken as the target merchant.

[0178] It is understandable that the first type of investment attraction can refer to the positive investment attraction type, as can be seen in the description of the first merchant above.

[0179] In some embodiments, the target activity code may include a number of characters, where a specific number of characters can represent different meanings. For example, the target activity code may include 20 characters, and the 12th to 16th characters may represent the recruitment type to which the activity code belongs, which could be a forward recruitment type or a reverse recruitment type. Therefore, if the terminal can determine that the target activity code belongs to the first recruitment type based on certain characters of the target activity code, a first filtering condition can be generated. Specifically, the first filtering condition can be generated based on user information; the specific generation method can be found in the glossary at the beginning of the specification and will not be repeated here. Further, a first merchant that meets the first filtering condition can be selected from the first merchant pool. Further still, the selected first merchant can be used as the target merchant.

[0180] S908, if the target activity code belongs to the activity code of the second investment promotion type, then the second merchant in the second merchant pool corresponding to the second investment promotion type that meets the second screening condition is taken as the target merchant.

[0181] It is understandable that the second type of investment attraction can refer to the reverse investment attraction type, and you can refer to the description of the second merchant for details.

[0182] In some embodiments, based on the target activity code described in S906, if the terminal can determine that the target activity code belongs to the second type of merchant recruitment activity code based on certain digits of the target activity code, a second filtering condition can be generated. Specifically, the second filtering condition can be generated based on user information; the specific generation method can be found in the glossary at the beginning of the specification and will not be repeated here. Further, a second merchant that meets the second filtering condition can be selected from the second merchant pool. Further, the selected second merchant can be used as the target merchant.

[0183] S910, delete all merchants in the merchant list except the target merchant, and display the target merchant in the merchant list.

[0184] Understandably, the merchant list can refer to the list of merchants displayed on the screen.

[0185] In some embodiments, when a user executes the "go to use" function and triggers the first operation instruction, merchants that are not the target merchants in the merchant list can be deleted, and only the target merchants can be displayed. These target merchants can all use digital resources, and the user can choose to consume from the above target merchants. This eliminates the need for the user to repeatedly try to determine which merchants can consume digital resources, thus reducing user operations.

[0186] S912, receive the target activity code sent by the server, receive the third operation instruction from the target user for the target activity code, and obtain at least one target activity code from the account corresponding to the target user.

[0187] It is understandable that the third operation instruction can refer to the operation instruction generated when the target user performs the hiding function on the digital resource. The hiding function can refer to the function of not displaying the digital resource on the current interface through corresponding operations. For example, when the digital resource is displayed, it may have functions such as "go to use", "cancel" and "close". The "cancel" and "close" functions are both hiding functions, that is, the function of not displaying the digital resource on the current interface.

[0188] In some embodiments, a target activity code may be received. Further, the discount amount of the digital resource displayed to the user may be replaced with the discount amount represented by the target activity code, and the discount amount represented by the target activity code may be displayed to the user. See also... Figure 4 The diagram shown illustrates the display interface when the digital resource is an electronic red envelope. Figure 4This diagram illustrates the effect of inflating an electronic red envelope, where the inflated amount can be 10 yuan off for every 12 yuan spent. When the target user clicks the "close" icon in the diagram, a third operation command is triggered, which the terminal can receive. Furthermore, it allows querying all target activity codes in the target user's account.

[0189] S914, if there is an activity code of the first recruitment type among the at least one target activity code, and there is no activity code of the second recruitment type among the at least one target activity code, then display the first merchant in the first merchant pool corresponding to the first recruitment type that meets the first screening condition in the merchant list.

[0190] In some embodiments, as described above, the merchant recruitment type to which the target activity code belongs can be determined based on certain digits of characters in the target activity code. Then it is easy to know the merchant recruitment type to which each of the target activity codes in the target user's account belongs. If it is determined that there is an activity code of the first merchant recruitment type and an activity code of the second merchant recruitment type among the above target activity codes, the first merchant that meets the first screening condition can be selected from the first merchant pool of the first merchant recruitment type, and the selected first merchant can be displayed in the merchant list.

[0191] S916, if there is a second recruitment type activity code among the at least one target activity code, and there is no first recruitment type activity code among the at least one target activity code, then display the second merchants in the second merchant pool corresponding to the second recruitment type that meet the second screening conditions in the merchant list.

[0192] In some embodiments, as described above, the merchant recruitment type to which the target activity code belongs can be determined based on certain digits of characters in the target activity code. Then it is easy to know the merchant recruitment type to which each of the target activity codes in the target user's account belongs. If it is determined that there is no activity code of the first merchant recruitment type among the above target activity codes but there is an activity code of the second merchant recruitment type, a second merchant that meets the second screening condition can be selected from the second merchant pool of the second merchant recruitment type, and the selected second merchant can be displayed in the merchant list.

[0193] S918, if there is an activity code of the first merchant recruitment type among the at least one target activity code, and there is an activity code of the second merchant recruitment type among the at least one target activity code, then display the first merchant in the first merchant pool corresponding to the first merchant recruitment type that meets the first screening condition in the merchant list.

[0194] In some embodiments, as described above, the merchant recruitment type to which the target activity code belongs can be determined based on certain digits of characters in the target activity code. Then it is easy to know the merchant recruitment type to which each of the target activity codes in the target user's account belongs. If it is determined that there is an activity code of the first merchant recruitment type and there is no activity code of the second merchant recruitment type among the above target activity codes, the first merchant that meets the first screening condition can be selected from the first merchant pool of the first merchant recruitment type, and the selected first merchant can be displayed in the merchant list.

[0195] In the embodiments of this specification, the terminal can send a first operation instruction executed by the target user for digital resources to the server, so that the server can replace the initial activity code of the digital resources with a target activity code and send the target activity code to the terminal. Further, the terminal can determine the target merchants to which the target activity code is applicable and then display the target merchants. Additionally, upon receiving a second operation instruction executed by the target user for digital resources, the terminal can display only merchants applicable to the target activity code in the merchant list, providing convenience for the user's consumption operations. Furthermore, upon receiving a third operation instruction executed by the target user for digital resources, the terminal can display merchants of different recruitment types in the merchant list according to the type of all target activity codes in the target user's account. Therefore, the server can replace the initial activity code of digital resources with a target activity code based on considerations of the number of merchants of different recruitment types and the investment ratio undertaken by merchants of different recruitment types. This ensures a sufficient supply of merchants while guaranteeing the promotional effect of marketing activities, allowing users to achieve a better user experience when consuming digital resources corresponding to the target activity code, thus improving the utilization effect of digital resources.

[0196] Please see Figure 10 This is a schematic diagram of the structure of a digital resource retrieval device provided in an embodiment of this specification. The digital resource retrieval device 1000 can be implemented as all or part of a server through software, hardware, or a combination of both. The device 1000 includes:

[0197] The filtering module 1010 is used to respond to the first operation instruction of the target user for the initial activity code of digital resources, and to obtain the first number of first merchants that meet the first filtering conditions and the second number of second merchants that meet the second filtering conditions, wherein the first merchants and the second merchants belong to different types of merchants.

[0198] The replacement module 1020 is used to determine the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and to replace the initial activity code of the digital resource with the target activity code based on the replacement strategy.

[0199] The sending module 1030 is used to send the target activity code to the terminal corresponding to the target user.

[0200] Optionally, the filtering module 1010 includes:

[0201] The first screening unit is used to obtain the first merchant pool corresponding to the first investment promotion type, and determine the first number of first merchants in the first merchant pool that meet the first screening conditions. The first investment promotion type is the investment promotion type corresponding to the first merchant.

[0202] The second screening unit is used to obtain the second merchant pool corresponding to the second investment promotion type, and determine the second number of second merchants in the second merchant pool that meet the second screening conditions. The second investment promotion type is the investment promotion type corresponding to the second merchant.

[0203] Optionally, replacing module 1020 includes:

[0204] The first replacement unit is configured to determine, if the first quantity is greater than the first threshold, the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtain the first activity code corresponding to the first strategy, and replace the initial activity code of the digital resource with the first activity code.

[0205] The second replacement unit is configured to determine, if the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, the replacement strategy corresponding to the digital resource is the second strategy of the merchant recruitment type corresponding to the second merchant, obtain the second activity code corresponding to the second strategy, and replace the initial activity code of the digital resource with the second activity code.

[0206] Optionally, replacing module 1020 includes:

[0207] The third replacement unit is used to control the terminal to display a prompt pop-up if the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold.

[0208] The fourth replacement unit is used to respond to the confirmation instruction from the target user to the prompt pop-up window, determine that the replacement strategy corresponding to the digital resource is the first strategy of the recruitment type corresponding to the first merchant, obtain the first activity code corresponding to the first strategy, and replace the initial activity code of the digital resource with the first activity code.

[0209] Please see Figure 11 This is a schematic diagram of the structure of a digital resource retrieval device provided in an embodiment of this specification. The digital resource retrieval device 1100 can be implemented as all or part of a terminal through software, hardware, or a combination of both. Device 1100 includes:

[0210] The instruction sending module 1110 is used to receive a first operation instruction from a target user for an initial activity code of a digital resource, and send the first operation instruction to a server so that the server responds to the first operation instruction to change the initial activity code of the digital resource to a target activity code.

[0211] The merchant display module 1120 is used to receive the target activity code sent by the server and update the display of merchants in the merchant list based on the target activity code.

[0212] Please refer to Figure 12 This diagram illustrates the structure of a terminal provided in an exemplary embodiment of this specification. The terminal in this specification may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected via the bus 150.

[0213] Processor 110 may include one or more processing cores. Processor 110 connects to various parts of the terminal using various interfaces and lines, and performs various functions and processes data of terminal 100 by running or executing instructions, programs, code sets, or instruction sets stored in memory 120, and by calling data stored in memory 120. Optionally, processor 110 may be implemented using at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). Processor 110 may integrate one or more of the following: central processing unit (CPU), graphics processing unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into processor 110 and may be implemented separately using a communication chip.

[0214] The memory 120 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 120 may include non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described below, etc. The operating system may be the Android system, including systems deeply developed based on the Android system, the iOS system developed by Apple Inc., including systems deeply developed based on the iOS system, or other systems.

[0215] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to establish data communication between the third-party applications and the operating system. This would allow the operating system to obtain the current scenario information of the third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.

[0216] The input device 130 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 140 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 can be a touch display screen.

[0217] The touch display screen can be designed as a full-screen, curved screen, or irregularly shaped screen. It can also be designed as a combination of a full-screen and a curved screen, or a combination of an irregularly shaped screen and a curved screen; however, this specification does not limit the specific design of the embodiments described herein.

[0218] In addition, those skilled in the art will understand that the structure of the terminal shown in the above figures does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the terminal may also include radio frequency circuits, input units, sensors, audio circuits, Wireless Fidelity (WiFi) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.

[0219] exist Figure 12In the terminal shown, the processor 110 can be used to call the digital resource calling program stored in the memory 120, and specifically perform the following operations:

[0220] In response to the first operation instruction of the target user for the initial activity code of digital resources, the first number of first merchants that meet the first screening condition and the second number of second merchants that meet the second screening condition are obtained, wherein the first merchants and the second merchants belong to different types of merchants.

[0221] Based on the first quantity and the second quantity, a replacement strategy corresponding to the digital resource is determined, and based on the replacement strategy, the initial activity code of the digital resource is replaced with the target activity code.

[0222] The target activity code is sent to the terminal corresponding to the target user.

[0223] In one embodiment, when the processor 110 executes the step of obtaining the first number of first merchants that meet the first filtering condition and the second number of second merchants that meet the second filtering condition, it specifically performs the following operations:

[0224] Obtain the first merchant pool corresponding to the first investment promotion type, determine the first number of first merchants in the first merchant pool that meet the first screening condition, and the first investment promotion type is the investment promotion type corresponding to the first merchant;

[0225] Obtain the second merchant pool corresponding to the second investment promotion type, determine the second number of second merchants in the second merchant pool that meet the second screening conditions, and the second investment promotion type is the investment promotion type corresponding to the second merchant.

[0226] In one embodiment, when the processor 110 executes the step of determining the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, it specifically performs the following operations:

[0227] If the first quantity is greater than the first threshold, then the replacement strategy corresponding to the digital resource is determined to be the first strategy of the merchant recruitment type corresponding to the first merchant, the first activity code corresponding to the first strategy is obtained, and the initial activity code of the digital resource is replaced with the first activity code.

[0228] If the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, then the replacement strategy corresponding to the digital resource is determined to be the second strategy of the merchant recruitment type corresponding to the second merchant, the second activity code corresponding to the second strategy is obtained, and the initial activity code of the digital resource is replaced with the second activity code.

[0229] In one embodiment, when the processor 110 executes the step of determining the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, it specifically performs the following operations:

[0230] If the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, then control the terminal to display a prompt pop-up window;

[0231] In response to the target user's confirmation instruction to the pop-up window, the system determines that the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtains the first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code.

[0232] Please see Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 13As shown, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or a camera; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The processor 1001 may include one or more processing cores. The processor 1001 connects to various parts within the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and by calling data stored in the memory 1005. Optionally, the processor 1001 can be implemented using at least one of the following hardware forms: Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 can integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem can also be implemented as a separate chip without being integrated into the processor 1001.

[0233] The memory 1005 may include random access memory (RAM) or read-only memory. Optionally, the memory 1005 may include a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 1005 may also be at least one storage device located remotely from the aforementioned processor 1001. Figure 13 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a digital resource retrieval application.

[0234] exist Figure 13 In the illustrated electronic device 1000, the electronic device can be a terminal. The user interface 1003 is mainly used to provide an input interface for the user and to obtain the user's input data. The processor 1001 can be used to call the digital resource calling application stored in the memory 1005 and specifically perform the following operations:

[0235] Receive a first operation instruction from a target user for an initial activity code of a digital resource, and send the first operation instruction to a server so that the server responds to the first operation instruction by changing the initial activity code of the digital resource to a target activity code.

[0236] The system receives the target activity code sent by the server and updates the display of merchants in the merchant list based on the target activity code.

[0237] In addition, those skilled in the art will understand that the terminal structure shown in the above figures does not constitute a limitation on the terminal. A user terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the terminal may also include radio frequency circuits, audio circuits, WiFi components, power supplies, Bluetooth components, etc., which will not be described in detail here.

[0238] This specification also provides a computer-readable storage medium storing at least one instruction that is executed by a processor to implement the digital resource retrieval method as described in the above embodiments.

[0239] This specification also provides a computer program product that stores at least one instruction, which is loaded and executed by the processor to implement the digital resource retrieval method as described in the above embodiments.

[0240] Those skilled in the art will recognize that the functions described in the embodiments of this specification in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0241] The above description is merely an optional embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification shall be included within the protection scope of this specification.

[0242] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

Claims

1. A method for retrieving digital resources, characterized in that, The method includes: The terminal receives the first operation instruction from the target user for the initial activity code of the digital resource, and sends the first operation instruction to the server; The server responds to the first operation instruction by obtaining a first number of first merchants that meet the first screening criteria and a second number of second merchants that meet the second screening criteria, wherein the first merchants and the second merchants belong to different types of merchants. The server determines a replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replaces the initial activity code of the digital resource with a target activity code based on the replacement strategy. The process of determining the replacement strategy based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, includes: if the first quantity is greater than a first threshold, the server determines that the replacement strategy corresponding to the digital resource is a first strategy for the merchant recruitment type corresponding to the first merchant, obtains a first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code; if the first quantity is less than or equal to the first threshold and the second quantity is greater than a second threshold, the server determines that the replacement strategy corresponding to the digital resource is a second strategy for the merchant recruitment type corresponding to the second merchant, obtains a second activity code corresponding to the second strategy, and replaces the initial activity code of the digital resource with the second activity code. The server sends the target activity code to the terminal; The terminal receives the target activity code sent by the server and updates the display of merchants in the merchant list based on the target activity code.

2. The method according to claim 1, characterized in that, The server obtains a first number of first merchants that meet the first filtering condition and a second number of second merchants that meet the second filtering condition, including: The server obtains the first merchant pool corresponding to the first investment promotion type, and determines the first number of first merchants in the first merchant pool that meet the first screening conditions. The first investment promotion type is the investment promotion type corresponding to the first merchant. The server obtains the second merchant pool corresponding to the second investment promotion type, determines the second number of second merchants in the second merchant pool that meet the second screening conditions, and the second investment promotion type is the investment promotion type corresponding to the second merchant.

3. The method according to claim 1, characterized in that, The server determines a replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replaces the initial activity code of the digital resource with the target activity code based on the replacement strategy, including: If the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, then the server controls the terminal to display a prompt pop-up window; In response to the target user's confirmation instruction to the pop-up window, the server determines that the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtains the first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code.

4. The method according to any one of claims 1-3, characterized in that, The terminal updates and displays the merchants in the merchant list based on the target activity code, including: The terminal receives a second operation instruction from the target user for the target activity code; The terminal determines the target merchant based on the target activity code, and updates the display of merchants in the merchant list based on the target merchant.

5. The method according to claim 4, characterized in that, The terminal determines the target merchant based on the target activity code, including: If the target activity code belongs to the activity code of the first investment promotion type, then the terminal will take the first merchant in the first merchant pool corresponding to the first investment promotion type that meets the first screening condition as the target merchant, and the first investment promotion type is the investment promotion type corresponding to the first merchant; If the target activity code belongs to the second type of investment promotion, the terminal will select the second merchant in the second merchant pool corresponding to the second type of investment promotion that meets the second screening conditions as the target merchant, and the second type of investment promotion is the investment promotion type corresponding to the second merchant.

6. The method according to claim 5, characterized in that, The terminal updates and displays the merchants in the merchant list based on the target merchant, including: The terminal deletes all merchants from the merchant list except the target merchant, and displays the target merchant in the merchant list.

7. The method according to claim 4, characterized in that, The terminal determines the target merchant based on the target activity code, and updates the display of merchants in the merchant list based on the target merchant, including: Receive a third operation instruction from the target user for the target activity code, and obtain at least one target activity code from the account corresponding to the target user; If there is an activity code of the first recruitment type among the at least one target activity code, and there is no activity code of the second recruitment type among the at least one target activity code, then the first merchant in the first merchant pool corresponding to the first recruitment type that meets the first screening condition is displayed in the merchant list. The first recruitment type is the recruitment type corresponding to the first merchant, and the second recruitment type is the recruitment type corresponding to the second merchant. If there is a second recruitment type activity code among the at least one target activity code, and there is no first recruitment type activity code among the at least one target activity code, then the second merchant in the second merchant pool corresponding to the second recruitment type that meets the second screening condition is displayed in the merchant list, where the first recruitment type is the recruitment type corresponding to the first merchant, and the second recruitment type is the recruitment type corresponding to the second merchant; If the at least one target activity code contains an activity code of the first merchant recruitment type, and the at least one target activity code contains an activity code of the second merchant recruitment type, then the first merchant in the first merchant pool corresponding to the first merchant recruitment type that meets the first screening condition is displayed in the merchant list. The first merchant recruitment type is the merchant recruitment type corresponding to the first merchant, and the second merchant recruitment type is the merchant recruitment type corresponding to the second merchant.

8. A method for retrieving digital resources, applied to a server, characterized in that, The method includes: In response to the first operation instruction of the target user for the initial activity code of digital resources, the first number of first merchants that meet the first screening conditions and the second number of second merchants that meet the second screening conditions are obtained, wherein the first merchants and the second merchants belong to different types of merchants. Based on the first quantity and the second quantity, a replacement strategy corresponding to the digital resource is determined, and based on the replacement strategy, the initial activity code of the digital resource is replaced with a target activity code; wherein, determining the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, includes: if the first quantity is greater than a first threshold, then determining the replacement strategy corresponding to the digital resource as a first strategy for the recruitment type corresponding to the first merchant, obtaining a first activity code corresponding to the first strategy, and replacing the initial activity code of the digital resource with the first activity code; if the first quantity is less than or equal to the first threshold and the second quantity is greater than a second threshold, then determining the replacement strategy corresponding to the digital resource as a second strategy for the recruitment type corresponding to the second merchant, obtaining a second activity code corresponding to the second strategy, and replacing the initial activity code of the digital resource with the second activity code; The target activity code is sent to the terminal corresponding to the target user.

9. The method according to claim 8, characterized in that, Obtaining the first number of first merchants that meet the first screening criteria and the second number of second merchants that meet the second screening criteria includes: Obtain the first merchant pool corresponding to the first investment promotion type, determine the first number of first merchants in the first merchant pool that meet the first screening condition, and the first investment promotion type is the investment promotion type corresponding to the first merchant; Obtain the second merchant pool corresponding to the second investment promotion type, determine the second number of second merchants in the second merchant pool that meet the second screening conditions, and the second investment promotion type is the investment promotion type corresponding to the second merchant.

10. The method according to claim 8 or 9, characterized in that, The step of determining the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, includes: If the first quantity is greater than the first threshold, then the replacement strategy corresponding to the digital resource is determined to be the first strategy of the merchant recruitment type corresponding to the first merchant, the first activity code corresponding to the first strategy is obtained, and the initial activity code of the digital resource is replaced with the first activity code. If the first quantity is less than or equal to the first threshold and the second quantity is greater than the second threshold, then the replacement strategy corresponding to the digital resource is determined to be the second strategy of the merchant recruitment type corresponding to the second merchant, the second activity code corresponding to the second strategy is obtained, and the initial activity code of the digital resource is replaced with the second activity code.

11. The method according to claim 8 or 9, characterized in that, The step of determining the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, includes: If the first quantity is less than or equal to the first threshold and the second quantity is less than or equal to the second threshold, then control the terminal to display a prompt pop-up window; In response to the target user's confirmation instruction to the pop-up window, the system determines that the replacement strategy corresponding to the digital resource is the first strategy of the merchant recruitment type corresponding to the first merchant, obtains the first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code.

12. A method for retrieving digital resources, applied to a terminal, characterized in that, The method includes: The system receives a first operation instruction from a target user regarding the initial activity code of a digital resource, sends the first operation instruction to a server, and causes the server to respond to the first operation instruction by obtaining a first number of first merchants satisfying a first screening condition and a second number of second merchants satisfying a second screening condition, wherein the first and second merchants belong to different merchant recruitment types. The system also determines a replacement strategy corresponding to the digital resource based on the first and second numbers, and replaces the initial activity code of the digital resource with a target activity code based on the replacement strategy. Specifically, the server determines the replacement strategy based on the first and second numbers, and replaces the initial activity code of the digital resource with the target activity code based on the replacement strategy, including: if the first number is greater than a first threshold, the server determines the replacement strategy corresponding to the digital resource as a first strategy for the recruitment type corresponding to the first merchant, obtains the first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code; if the first number is less than or equal to the first threshold and the second number is greater than a second threshold, the server determines the replacement strategy corresponding to the digital resource as a second strategy for the recruitment type corresponding to the second merchant, obtains the second activity code corresponding to the second strategy, and replaces the initial activity code of the digital resource with the second activity code. The system receives the target activity code sent by the server and updates the display of merchants in the merchant list based on the target activity code.

13. The method according to claim 12, characterized in that, The step of updating and displaying merchants in the merchant list based on the target activity code includes: Receive a second operation instruction from the target user for the target activity code; The target merchant is determined based on the target activity code, and the merchants in the merchant list are updated based on the target merchant.

14. The method according to claim 13, characterized in that, The process of determining the target merchant based on the target activity code includes: If the target activity code belongs to the activity code of the first investment promotion type, then the first merchant in the first merchant pool corresponding to the first investment promotion type that meets the first screening condition will be the target merchant, and the first investment promotion type is the investment promotion type corresponding to the first merchant. If the target activity code belongs to the second type of recruitment activity code, then the second merchant in the second merchant pool corresponding to the second recruitment type that meets the second screening condition will be the target merchant, and the second recruitment type is the recruitment type corresponding to the second merchant.

15. The method according to claim 14, characterized in that, The process of updating and displaying merchants in the merchant list based on the target merchant includes: Delete all merchants in the merchant list except the target merchant, and then display the target merchant in the merchant list.

16. The method according to claim 13, characterized in that, The process of determining the target merchant based on the target activity code and updating the merchant list based on the target merchant includes: Receive a third operation instruction from the target user for the target activity code, and obtain at least one target activity code from the account corresponding to the target user; If there is an activity code of the first recruitment type among the at least one target activity codes, and there is no activity code of the second recruitment type among the at least one target activity codes, then the first merchant in the first merchant pool corresponding to the first recruitment type that meets the first screening condition is displayed in the merchant list. The first recruitment type is the recruitment type corresponding to the first merchant, and the second recruitment type is the recruitment type corresponding to the second merchant. If there is a second recruitment type activity code among the at least one target activity code, and there is no first recruitment type activity code among the at least one target activity code, then the second merchant in the second merchant pool corresponding to the second recruitment type that meets the second screening condition is displayed in the merchant list, where the first recruitment type is the recruitment type corresponding to the first merchant, and the second recruitment type is the recruitment type corresponding to the second merchant; If the at least one target activity code contains an activity code of the first merchant recruitment type, and the at least one target activity code contains an activity code of the second merchant recruitment type, then the first merchant in the first merchant pool corresponding to the first merchant recruitment type that meets the first screening condition is displayed in the merchant list. The first merchant recruitment type is the merchant recruitment type corresponding to the first merchant, and the second merchant recruitment type is the merchant recruitment type corresponding to the second merchant.

17. A digital resource retrieval device, applied to a server, characterized in that, The device includes: The filtering module is used to respond to the first operation instruction of the target user for the initial activity code of digital resources, and to obtain the first number of first merchants that meet the first filtering conditions and the second number of second merchants that meet the second filtering conditions, wherein the first merchants and the second merchants belong to different types of merchants. A replacement module is configured to determine a replacement strategy corresponding to the digital resource based on a first quantity and a second quantity, and replace the initial activity code of the digital resource with a target activity code based on the replacement strategy; wherein, determining the replacement strategy corresponding to the digital resource based on the first quantity and the second quantity, and replacing the initial activity code of the digital resource with the target activity code based on the replacement strategy, includes: if the first quantity is greater than a first threshold, then determining the replacement strategy corresponding to the digital resource as a first strategy for the recruitment type corresponding to the first merchant, obtaining a first activity code corresponding to the first strategy, and replacing the initial activity code of the digital resource with the first activity code; if the first quantity is less than or equal to the first threshold and the second quantity is greater than a second threshold, then determining the replacement strategy corresponding to the digital resource as a second strategy for the recruitment type corresponding to the second merchant, obtaining a second activity code corresponding to the second strategy, and replacing the initial activity code of the digital resource with the second activity code; The sending module is used to send the target activity code to the terminal corresponding to the target user.

18. A digital resource retrieval device, applied to a terminal, characterized in that, The device includes: The instruction sending module is used to receive a first operation instruction from a target user regarding the initial activity code of a digital resource, and send the first operation instruction to a server. The server responds to the first operation instruction by obtaining a first number of first merchants meeting a first screening condition and a second number of second merchants meeting a second screening condition. The first and second merchants belong to different merchant recruitment types. Based on the first and second numbers, the server determines a replacement strategy corresponding to the digital resource, and based on the replacement strategy, replaces the initial activity code of the digital resource with a target activity code. The server determines the replacement strategy based on the first and second numbers, and based on the... The replacement strategy replaces the initial activity code of the digital resource with the target activity code, comprising: if the first quantity is greater than a first threshold, the server determines that the replacement strategy corresponding to the digital resource is a first strategy for the recruitment type corresponding to the first merchant, obtains a first activity code corresponding to the first strategy, and replaces the initial activity code of the digital resource with the first activity code; if the first quantity is less than or equal to the first threshold and the second quantity is greater than a second threshold, the server determines that the replacement strategy corresponding to the digital resource is a second strategy for the recruitment type corresponding to the second merchant, obtains a second activity code corresponding to the second strategy, and replaces the initial activity code of the digital resource with the second activity code. The merchant display module is used to receive the target activity code sent by the server and update the display of merchants in the merchant list based on the target activity code.

19. A computer storage medium, characterized in that, The computer storage medium stores a plurality of instructions, which are adapted to be loaded by a processor and executed as method steps as claimed in any one of claims 1 to 7, 8 to 11, and 12 to 16.

20. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and executed the method steps as claimed in any one of claims 1 to 7, 8 to 11, 12 to 16.