Resource link issuing method and device, equipment and storage medium

By obtaining resource links from the file-sharing storage component and generating a record table, combined with a database sharding distribution mechanism, the information gap between the financial institution's system and the user's end is resolved, improving the efficiency of resource link distribution and user experience.

CN119520548BActive Publication Date: 2025-12-05INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311082607.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-25
Publication Date
2025-12-05
Estimated Expiration
2043-08-25

AI Technical Summary

Technical Problem

Information gaps exist between the financial institution's system and the user's end regarding resource linking, making it difficult to adjust the disbursement process based on the receipt status, thus reducing execution efficiency and user experience.

Method used

By sending a request to the file-sharing storage component to obtain resource links, a record table is generated and stored. Resource links are distributed according to user filtering conditions and divided into primary and backup shards in the database for distribution. Resource links are distributed by mapping user identifiers to shard identifiers.

Benefits of technology

It improves the efficiency and user experience of financial institutions' system-side resource linking operations, reduces resource consumption, and enhances the accuracy and flexibility of the disbursement process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520548B_ABST
    Figure CN119520548B_ABST
Patent Text Reader

Abstract

The present disclosure provides a resource link issuing method and device, equipment and storage medium, which can be applied to the field of computer technology or financial technology. The method comprises: based on the issuing information configured for the resource link, sending a request for obtaining k resource links to a file sharing storage component, wherein the issuing information comprises a user filtering condition, the file sharing storage component has m resource links, and k and m are positive integers; in the case that m is greater than or equal to k, receiving a first resource file comprising k resource links and storing the first resource file into a database; generating a plurality of record tables for representing the resource link issuing situation according to the first resource file and the issuing information, and storing the plurality of record tables into the database; in the case that the user who requests to take the resource link satisfies the user filtering condition, issuing the resource link stored in the database to the user and updating the plurality of record tables stored in the database.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer or financial technology, and particularly relates to a resource link issuing method and device, equipment, a storage medium and a program product. BACKGROUND

[0002] With the development of computer technology, more and more digital resources will be issued in the form of links. For example, in the process of issuing digital resources, the bank generally applies for a resource link through a financial institution system end to an external server end, the external server end returns an application result, and the applied resource link is deployed on the external server end. When a user receives the resource link, the user can directly apply for the resource link through a user end to the external server end, and the external server end returns the associated resource link to the user end.

[0003] In the process of implementing the present disclosure, the inventors have found that in the related art, the user receives the resource link by directly interacting with the external server end through the user end, and the user end does not interact with the financial institution system end that issues the resource link. This causes an information gap between the financial institution system end and the user end regarding the resource link business, and the financial institution system end cannot obtain the actual situation of the user receiving the resource link through the user end, and thus it is difficult to adjust the resource link issuing business according to the actual situation of receiving the resource link, thereby reducing the execution efficiency of the financial institution system end in executing the resource link business. SUMMARY

[0004] In view of the above problems, the present disclosure provides a resource link issuing method, device, equipment, storage medium and program product.

[0005] One aspect of the present disclosure provides a resource link issuing method, comprising: based on issuing information configured for a resource link, sending a request for obtaining k resource links to a file sharing storage component, wherein the issuing information comprises a user filtering condition, the file sharing storage component has m resource links, and k and m are positive integers; in the case that m is greater than or equal to k, receiving a first resource file comprising k resource links, and storing the first resource file in a database; generating a plurality of record tables for representing resource link issuing conditions according to the first resource file and the issuing information, and storing the plurality of record tables in the database; in the case that a user requesting to receive the resource link satisfies the user filtering condition, issuing the resource link stored in the database to the user, and updating the plurality of record tables stored in the database.

[0006] According to an embodiment of the present disclosure, the storing the first resource file into the database comprises: dividing the database into N database shards, N being a positive integer; and storing k resource links in the first resource file into the N database shards evenly.

[0007] According to an embodiment of the present disclosure, the method further comprises: after storing the first resource file into the database, randomly dividing the N database shards into a first type of database shard and a second type of database shard, wherein the first type of database shard comprises N-1 database shards, and the second type of database shard comprises 1 database shard.

[0008] According to an embodiment of the present disclosure, each database shard is configured with a shard identifier; and the issuing the resource link stored in the database to the user comprises: in response to a request of the user for taking the resource link, obtaining an initial identifier of the user, wherein the initial identifier comprises a plurality of identifiers; extracting a preset number of identifiers from the initial identifier to obtain a target identifier; inputting the target identifier into a preset function to output a shard identifier having a mapping relationship with the user, wherein the database shard corresponding to the shard identifier is subordinate to the first type of database shard; and issuing the resource link to the user according to the shard identifier.

[0009] According to an embodiment of the present disclosure, the issuing the resource link to the user according to the shard identifier comprises: searching for a target database shard in the first type of database shard according to the shard identifier; in a case where a number of resource links in the target database shard is not zero, issuing the resource link stored in the target database shard to the user; in a case where the number of resource links in the target database shard is zero, querying a number of resource links in the second type of database shard; and in a case where the number of resource links in the second type of database shard is not zero, issuing the resource link stored in the second type of database shard to the user.

[0010] According to an embodiment of the present disclosure, each record table is configured with a corresponding record table template; and the generating a plurality of record tables for representing the issuing of the resource link according to the first resource file and the issuing information comprises: calling a plurality of record table templates, wherein each record table template comprises a plurality of template fields; collecting information in the first resource file and the issuing information according to the template fields on each record table template to obtain target information associated with the target fields; and splicing the template fields having the association and the target information to generate the plurality of record tables.

[0011] According to an embodiment of the present disclosure, the distribution information further includes a distribution state of the resource link; and the distribution of the resource link stored in the database to the user includes: reading the distribution state in response to a request of the user for taking the resource link; and distributing the resource link stored in the database to the user based on the distribution state, wherein the distribution state includes at least one of a suspension distribution state and a normal distribution state.

[0012] According to an embodiment of the present disclosure, the m resource links in the file sharing storage component are obtained by: sending, by an enterprise management terminal component, a request for obtaining m resource links to a server end, so that the server end generates a second resource file according to the request; receiving the second resource file; and storing the second resource file in the file sharing storage component.

[0013] Another aspect of the present disclosure further provides a distribution device of a resource link, including: an obtaining module configured to send a request for obtaining k resource links to a file sharing storage component based on distribution information configured for the resource link, wherein the distribution information includes a user filtering condition, the file sharing storage component has m resource links, and k and m are positive integers; a first receiving module configured to, in a case where m is greater than or equal to k, receive a first resource file including the k resource links and store the first resource file in a database; a generating module configured to generate a plurality of record tables for representing a distribution situation of the resource link according to the first resource file and the distribution information, and store the plurality of record tables in the database; and a distribution module configured to, in a case where a user requesting to take the resource link satisfies the user filtering condition, distribute the resource link stored in the database to the user and update the plurality of record tables stored in the database.

[0014] Another aspect of the present disclosure further provides an electronic device, including: one or more processors; and a storage device configured to store one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the distribution method of the resource link.

[0015] Another aspect of the present disclosure further provides a computer readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the distribution method of the resource link.

[0016] Another aspect of the present disclosure further provides a computer program product including a computer program, wherein the computer program, when executed by a processor, implements the distribution method of the resource link.

[0017] According to the resource link issuing method, apparatus, device, storage medium and program product provided by the embodiment of the present disclosure, the request of obtaining k resource links is sent to the file sharing storage component based on the issuing information configured for the resource link, in the case that the number m of resource links in the file sharing storage component is greater than k, the first resource file including the k resource links is received and stored, the plurality of record tables are generated and stored according to the first resource link and the issuing information, and the resource link is issued to the user and the plurality of record tables are updated in the case that the user requesting to obtain the resource link meets the user filtering condition. Since the interaction end involved in the above process of issuing the resource link can be set in the system architecture that the financial institution can access, and the resource link is obtained from the file sharing storage component, the record table generated according to the resource link and the issuing information is stored in the database, and the record table can be automatically updated after the user meeting the condition obtains the resource link, at least part of the problem of information difference between the financial institution system end and the user end about the resource link business in the related art is overcome, and the technical effect of improving the execution efficiency of the financial institution system end in executing the resource link business is achieved. BRIEF DESCRIPTION OF DRAWINGS

[0018] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure taken in conjunction with the accompanying drawings, in which:

[0019] Figure 1 A system architecture diagram of issuing a resource link in the related art is schematically shown;

[0020] Figure 2 An application scenario diagram of the resource link issuing method, apparatus, device, storage medium and program product according to the embodiment of the present disclosure is schematically shown;

[0021] Figure 3 A flowchart of the resource link issuing method according to the embodiment of the present disclosure is schematically shown

[0022] Figure 4 A system architecture diagram of the resource link issuing system according to the embodiment of the present disclosure is schematically shown;

[0023] Figure 5 A flowchart of issuing a resource link according to the embodiment of the present disclosure is schematically shown;

[0024] Figure 6 A logical relationship diagram between the user management component and the database shard is schematically shown;

[0025] Figure 7 A structural block diagram of the resource link issuing apparatus according to the embodiment of the present disclosure is schematically shown; and

[0026] Figure 8 A block diagram of an electronic device suitable for implementing a method of issuing resource links according to embodiments of the present disclosure is shown schematically. DETAILED DESCRIPTION

[0027] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that the description which follows is merely exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description of the embodiments of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be apparent to one skilled in the art that the embodiments of the present disclosure can be practiced without these specific details. In other instances, well-known structures and functions have not been described in detail in order to avoid obscuring aspects of the present disclosure.

[0028] The terms used herein are merely used to describe specific embodiments and are not intended to limit the present disclosure. The terms "include", "comprise" and the like used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0029] All terms used herein, including technical and scientific terms, have the same meanings as those generally understood by a person skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having meanings consistent with the context of the specification, and should not be interpreted in an idealized or overly formal manner.

[0030] In the case of using expressions similar to "at least one of A, B, and C, etc.", it should be generally interpreted as having the same meaning as the expression "one or more of the items from the group consisting of A, B, and C" unless otherwise specified. For example, "a system having at least one of A, B, and C" should be interpreted as including a system having A alone, a system having B alone, a system having C alone, a system having both A and B, a system having both A and C, a system having both B and C, and / or a system having A, B, and C, etc.

[0031] In the technical solutions of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information such as location information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved are information and data authorized by the user or authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of related data comply with relevant laws, regulations and standards of relevant countries and regions, necessary security measures are taken, public order and good customs are not violated, and appropriate operation portals are provided for users to choose authorization or refusal.

[0032] The digital resource can be distributed through a link, for example, a cover resource link of a third-party application. The third-party application can generate a cover resource link in its own application system. An external enterprise (such as a financial institution) can open an identification of the financial institution in the third-party application system, for example, a financial institution public account, a financial institution video account, a financial institution applet, and the like. After the external enterprise (such as the financial institution) obtains the cover resource link of the third-party application, the external enterprise (such as the financial institution) can distribute the cover resource link to a user in the financial institution public account, the financial institution video account, the financial institution applet, and the like.

[0033] Figure 1 A system architecture diagram for distributing a resource link in the related art is schematically shown.

[0034] As shown in Figure 1 The related art generates, distributes, and collects a resource link generally in a third-party application system. The third-party application system provides an external enterprise management end 101 to an external enterprise (such as a financial institution). The external enterprise (such as the financial institution) applies for a resource link in the external enterprise management end 101. A server end 102 returns an application result and deploys the applied resource link in the server end 102. A user end 103 applies for and collects the resource link. The server end 102 returns a collection result to the user end 102.

[0035] The related art distributes a resource link in a way that completely excludes an external enterprise (such as a financial institution), which causes the following disadvantages. The digital resource distribution process in the form of a link is as follows. Once the resource link is deployed in the server end, the collection of the resource link is completely determined by a user using the third-party application. As long as there is an uncollected link in the server end, the user can request to collect the link. An external enterprise system end (such as a financial institution system end) is difficult to obtain the actual distribution of the resource link and the actual situation of the user collecting the resource link. This causes an information difference between the financial institution system end and the user end regarding the resource link, and further makes it difficult to adjust the business of distributing the resource link according to the actual situation of collecting the resource link, thereby reducing the execution efficiency of the financial institution system end in executing the resource link business. The resource distribution method of the related art cannot realize the personalized distribution of the resource link to the user, resulting in an insufficient experience of the user.

[0036] In view of this, the embodiments of the present disclosure provide a resource link issuing method and device, equipment, storage medium and program product, which are used to improve the execution efficiency of the resource link business executed by the financial institution system end and the user experience. Specifically, the method comprises: based on the issuing information configured for the resource link, sending a request for obtaining k resource links to a file sharing storage component, wherein the issuing information comprises a user filtering condition, the file sharing storage component has m resource links, and k and m are positive integers; in the case that m is greater than or equal to k, receiving a first resource file comprising k resource links and storing the first resource file into a database; generating a plurality of record tables for representing the resource link issuing situation according to the first resource file and the issuing information, and storing the plurality of record tables into the database; in the case that the user who requests to obtain the resource link satisfies the user filtering condition, issuing the resource link stored in the database to the user and updating the plurality of record tables stored in the database.

[0037] It should be noted that the resource link issuing method and device determined by the embodiments of the present disclosure can be used in the field of computer technology or financial technology, and can also be used in any field other than the field of computer technology or financial technology. The embodiments of the present disclosure do not limit the application field of the determined resource link issuing method and device.

[0038] Figure 2 An application scenario diagram of the resource link issuing method, device, equipment, storage medium and program product according to the embodiments of the present disclosure is schematically shown.

[0039] As shown in Figure 2 The application scenario 200 according to the embodiments can include a first terminal device 201, a second terminal device 202, a third terminal device 203, a network 204, a database 205, an issuing system management end 206, and a file sharing storage component 207. The network 204 is used as a medium to provide a communication link between the first terminal device 201, the second terminal device 202, the third terminal device 203 and the database 205, between the database 205 and the issuing system management end 206, and between the issuing system management end 206 and the file sharing storage component 207. The network 204 can include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0040] The user can use at least one of the first terminal device 201, the second terminal device 202, and the third terminal device 203 to interact with the database 205 through the network 204 to send a resource link request or receive a resource link, etc. Various communication client applications can be installed on the first terminal device 201, the second terminal device 202, and the third terminal device 203, such as financial applications, applications for processing resource links, shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0041] The first terminal device 201, the second terminal device 202, and the third terminal device 203 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, etc.

[0042] The database 205 can be used to store the digital resource links sent by the issuance system management end 206, record tables, etc., and provide the resource links to the first terminal device 201, the second terminal device 202, and the third terminal device 203, and update the record tables.

[0043] The issuance system management end 206 can be a server providing various services, such as obtaining the resource links from the file sharing storage component 207 according to the issuance information of the resource links, and sending the resource links and the record tables generated according to the resource links and the configuration information to the database 205.

[0044] The file sharing storage component 207 can be used to store the resource links obtained by the financial institution from the external service end.

[0045] It should be noted that the resource link issuance method provided by the embodiments of the present disclosure can generally be executed by the issuance system management end 206. Correspondingly, the resource link issuance device provided by the embodiments of the present disclosure can generally be arranged in the issuance system management end 206. The resource link issuance method provided by the embodiments of the present disclosure can also be executed by a server or a server cluster different from the issuance system management end 206 and capable of communicating with the database 205, the file sharing storage component 207, and / or the issuance system management end 206. Correspondingly, the resource link issuance device provided by the embodiments of the present disclosure can also be arranged in a server or a server cluster different from the issuance system management end 206 and capable of communicating with the database 205, the file sharing storage component 207, and / or the issuance system management end 206.

[0046] It should be understood that, Figure 2The number of terminal devices, networks, databases, distribution system management ends, and file sharing storage components in the system is merely illustrative. Any number of terminal devices, networks, databases, distribution system management ends, and file sharing storage components can be provided according to implementation needs.

[0047] The following will be based on Figure 2 the described scenario, by Figures 3-5 the resource link distribution method of the disclosed embodiment is described in detail.

[0048] Figure 3 The flowchart of the resource link distribution method according to the embodiment of the present disclosure is schematically shown.

[0049] As Figure 3 shown, the resource link distribution method of the embodiment includes operations S310-S340.

[0050] At operation S310, based on the distribution information configured for the resource link, a request for obtaining k resource links is sent to the file sharing storage component, wherein the distribution information includes a user filtering condition, the file sharing storage component has m resource links, and k and m are both positive integers.

[0051] At operation S320, in the case where m is greater than or equal to k, a first resource file including k resource links is received, and the first resource file is stored in the database.

[0052] At operation S330, according to the first resource file and the distribution information, a plurality of record tables for representing the resource link distribution situation are generated, and the plurality of record tables are stored in the database.

[0053] At operation S340, in the case where the user requesting to take the resource link satisfies the user filtering condition, the resource link stored in the database is distributed to the user, and the plurality of record tables stored in the database are updated.

[0054] According to the embodiment of the present disclosure, the resource link can include a benefit resource link, a digital resource link, etc.

[0055] According to an embodiment of the present disclosure, the distribution information can be information configured for each distribution resource link item, and used to obtain the required resource link of the item. Specifically, the distribution information can include at least one of the following: a user filtering condition, a number of resource links (for example, k), an item name of the distribution resource link item, a time of starting to distribute the resource link, a time of ending to distribute the resource link, a distribution state of the distribution resource link item, a start time of the item, an end time of the item, a database shard number where the resource link is located, an update date of the resource link, an ID of the user in the financial institution, a resource link allocated to the user, a time of allocating the resource link, and the like. The distribution state of the distribution resource link item can include a suspension distribution state or a normal distribution state, and the like.

[0056] According to an embodiment of the present disclosure, the user filtering condition can include at least one of the following: whether the user has followed a preset financial institution identifier (for example, a financial institution public account, a financial institution video account, a financial institution applet, and the like), and whether the user has registered an associated transaction medium (for example, a bank card, and the like) in the preset financial institution identifier. It can be understood that the process of obtaining whether the user has followed the preset financial institution identifier and whether the user has registered the associated transaction medium is performed with the permission of the user. For example, before obtaining whether the user has followed the preset financial institution identifier and whether the user has registered the associated transaction medium, a request for obtaining can be initiated to the user, and the information of the user can be obtained after the permission of the user. The information obtaining process complies with the relevant laws, regulations and standards of the country and region, takes necessary security measures, and does not violate public order and good customs.

[0057] According to an embodiment of the present disclosure, the file sharing storage component can be used to store the resource links obtained by the financial institution from the external service end, for example, m resource links obtained by the financial institution from the external service end.

[0058] According to an embodiment of the present disclosure, the number m of the resource links stored in the file sharing storage component and the number k of the resource links sent to the file sharing storage component for obtaining include one of the following relationships: m is greater than k, m is equal to k, and m is less than k. In the case of m being greater than or equal to k, the distribution system management end can receive the first resource file including k resource links sent by the file sharing storage component. In the case of m being less than k, the distribution system management end can receive the response information sent by the file sharing storage component for refusing to generate k resource links, and prompt that the number of the requested resource links has exceeded the number of the stored resource links.

[0059] According to an embodiment of the present disclosure, the first resource file can include k resource links, and each of the k resource links can be a resource link issued to a user, and it can be understood that the user can be associated with a project corresponding to the k resource links. The first resource file is further used to generate a record table.

[0060] According to an embodiment of the present disclosure, the record table can represent an issuing state of the resource link, and is generated according to the first resource file and the issuing information. Specifically, the record table can be generated by extracting required content from the first resource file and the issuing information according to a preset field, and splicing the content and the preset field. The record table can include a resource link project information table, a resource link issuing state table, and a resource link scheduling table, and the like.

[0061] According to an embodiment of the present disclosure, the database is used to store the k resource links and the plurality of record tables, so as to, in response to a case that a user requests to take any one of the k resource links, issue any one of the k resource links to the user, and automatically update the issuing information to the record table. For example, the taking state of the resource link is updated to the resource link issuing state table, and the un-taken is changed to the taken; for another example, the taking time of the user taking the resource link, the identification of the user, and the like are updated to the user taking resource link record table.

[0062] According to the resource link issuing method, device, equipment, storage medium and program product provided by the embodiment of the present disclosure, the request of obtaining k resource links is sent to the file sharing storage component based on the issuing information configured for the resource link, in the case that the number m of the resource links in the file sharing storage component is greater than k, the first resource file including the k resource links is received and stored; the plurality of record tables are generated and stored according to the first resource link and the issuing information; in the case that the user requesting to take the resource link meets the user filtering condition, the resource link is issued to the user, and the plurality of record tables are updated. Since the interaction end involved in the above process of issuing the resource link can be set in the system architecture that the financial institution can access, and the resource link is obtained from the file sharing storage component, and the record table generated according to the resource link and the issuing information is stored in the database, the record table can be automatically updated after the user meeting the condition takes, at least part of the problem that the information difference about the resource link business exists between the financial institution system end and the user end in the related art is overcome, and the technical effect of improving the execution efficiency of the financial institution system end in executing the resource link business is achieved.

[0063] According to an embodiment of the present disclosure, the issuing system management end can apply for a resource link from a file sharing storage component. The m resource links in the file sharing storage component can be obtained by the following manner: the enterprise management end component sends a request for obtaining m resource links to a server end, so that the server end generates a second resource file according to the request; receives the second resource file; and stores the second resource file in the file sharing storage component.

[0064] According to an embodiment of the present disclosure, the enterprise management end component can be provided to an external user (for example, a financial institution). The server end can refer to an external server end. Specifically, the financial institution can send a request for obtaining m resource links to the external server end through the enterprise management end component, or perform a transaction for obtaining m resource links to the external server end, so as to obtain a second resource file including the m resource links, and store the second resource file in a file sharing storage component that can be accessed by an internal system of the financial institution.

[0065] According to an embodiment of the present disclosure, by storing the resource links obtained from the external server end in the file sharing storage component that can be accessed by the internal system of the financial institution, and then performing subsequent operations of issuing resource links to users, the interaction process between the financial institution and the users can be increased, the actual situation of issuing resource links can be obtained by the system end of the financial institution, and thus the accuracy of the resource link issuing business and the user experience can be improved.

[0066] According to an embodiment of the present disclosure, the generation of the record table can facilitate the system end of the financial institution to further obtain the actual situation of the users taking the resource links and improve the user experience. Each record table can be configured with a corresponding record table template. Operation S230 can include the following operations: calling a plurality of record table templates, wherein each record table template includes a plurality of template fields; collecting information from the first resource file and the issuing information according to the template fields on each record table template to obtain target information associated with a target field; and splicing the template fields with the associated target information to generate a plurality of record tables.

[0067] According to an embodiment of the present disclosure, the record table can include a resource link item information table as shown in Table 1, a resource link scheduling table as shown in Table 2, a resource link issuing status table as shown in Table 3, and a user taking resource link record table as shown in Table 4.

[0068] Table 1

[0069]

[0070]

[0071] Table 2

[0072]

[0073] Table 3

[0074]

[0075] Table 4

[0076]

[0077]

[0078] According to an embodiment of the present disclosure, in Tables 1-4, the data type bigint can represent the character type, varchar can represent the literal type, and datatime can represent the time type. The length can refer to the byte length of the obtained information. In the whether to allow empty column, if it is "no", it can be indicated that the content of the row cannot be null and needs to have information.

[0079] According to an embodiment of the present disclosure, in Table 1, if the user filtering condition is exemplary set to 1, it can be indicated that the user needs to follow the public number of the financial institution, and only then can the resource link be issued to the user.

[0080] According to an embodiment of the present disclosure, Tables 1-4 can all be used as different record table templates. Taking Table 1 as an example, Table 1 can be used as a resource link project information table template, and the preset fields in Table 1 can include project name, project start time, project end time, total number of resource links, project creation time, last modification time of issuance state, project state, and user filtering condition. According to the above fields, information is extracted from the first resource file and the issuance information, for example, the first resource file includes k resource links, and the information extracted according to the total number of resource links field in Table 1 can be k, and according to the project start time T configured in the issuance information, the information extracted according to the project start time field in Table 1 can be T. The extracted information is recorded in the position associated with the preset field, for example, recorded in the comment column, or in a newly added column in the table, and a resource link project information table can be obtained.

[0081] According to an embodiment of the present disclosure, after the user receives the resource link, the resource link issuance status table shown in Table 3 and the user receives the resource link record table shown in Table 4 can be updated. For example, the receiving state is changed from not received to received, the time of receiving the resource link is updated in Table 4, and the ID of the user in the third-party application, the ID of the user in the financial institution, the project ID corresponding to the received resource link, etc. It can be understood that the preset fields and various contents in Tables 1-4 can be adaptively adjusted according to actual needs.

[0082] According to an embodiment of the present disclosure, by querying the resource link item information table shown in Table 1, the resource link scheduling table shown in Table 2, the resource link distribution status table shown in Table 3, and the user resource link record table shown in Table 4, and updating the resource link distribution status table shown in Table 3 and the user resource link record table shown in Table 4, the actual situation of the user taking the resource link can be more efficiently obtained, so as to improve the accuracy of distributing the resource link and the experience of the user.

[0083] In the related art, when distributing the resource link to the user, the resource link is directly distributed from the database to the user. In the case where the number of users is large, the consumption of resources is caused, and the efficiency of distributing the resource link is reduced. Therefore, an embodiment of the present disclosure further provides a resource link distribution method based on database sharding, so as to reduce the consumption of resources and improve the efficiency of distributing the resource link. Specifically, the database can be divided into a plurality of database shards. The first resource file shards can be uniformly stored in the plurality of database shards. When actually distributing the resource link, one database shard is reserved for backup distribution, and the remaining database shards are used for main distribution. For example, when distributing the resource link to the user, the database shard corresponding to the user for main distribution can be determined according to the identifier of the user. If the database shard has the resource link, the resource link is distributed to the user. If the database shard does not have the resource link, the resource link in the database shard for backup distribution can be distributed to the user. If the database shard for backup distribution does not have the resource link, the distribution of the resource link to the user can be refused.

[0084] According to an embodiment of the present disclosure, the process of storing the first resource file into the database can include the following operations: randomly dividing the database into N database shards, N being a positive integer, and N can be adaptively adjusted according to actual needs; uniformly storing k resource links in the first resource link file into the N database shards, wherein the uniform storage can mean that the number of resource links in each database shard is consistent or tends to be consistent.

[0085] According to an embodiment of the present disclosure, in the process of distributing the resource link to the user, the database shards can be divided into main distribution shards and backup distribution shards, so as to improve the efficiency of distributing the resource link. Therefore, after storing the first resource file into the database, the following operations can be adopted: randomly dividing the N database shards into first-type database shards and second-type database shards, wherein the first-type database shards include N-1 database shards, and the second-type database shards include one database shard. It can be understood that the first-type database shards can be used as the main distribution shards, and the second-type database shards can be used as the backup distribution shards.

[0086] According to an embodiment of the present disclosure, when the first type of database shards and the second type of database shards are divided, the resource links stored in the database can be distributed to the user in the following manner: in response to a request of the user to obtain the resource link, an initial identifier of the user is obtained, wherein the initial identifier includes a plurality of identifiers; a preset number of identifiers are extracted from the initial identifier to obtain a target identifier; the target identifier is input into a preset function, and a shard identifier having a mapping relationship with the user is output, wherein the database shard corresponding to the shard identifier is subordinate to the first type of database shards; and the resource link is distributed to the user according to the shard identifier.

[0087] According to an embodiment of the present disclosure, the resource link is distributed to the user according to the shard identifier, including: searching for a target database shard in the first type of database shards according to the shard identifier; in a case where the number of resource links in the target database shard is not zero, distributing the resource link stored in the target database shard to the user; in a case where the number of resource links in the target database shard is zero, querying the number of resource links in the second type of database shards; and in a case where the number of resource links in the second type of database shards is not zero, distributing the resource link stored in the second type of database shards to the user.

[0088] According to an embodiment of the present disclosure, the preset function can be a process of a modulus operation, as shown in formula (1).

[0089] r=a%31 (1)

[0090] Wherein, r can represent the shard identifier having a mapping relationship with the user, and a can represent the template identifier. r is the remainder of a divided by 31.

[0091] For example, the database can be divided into 32 database shards, each database shard has a shard identifier, and the shard identifiers corresponding to the 32 database shards are 0-31 respectively. Among them, the database shards 0-30 can be used as the first type of database shards for mainly distributing resource links, and the database shard 31 can be used as the second type of database shard for backup distributing resource links. r is an integer from 0 to 30.

[0092] The initial identifier of the user can be 0200xxxxxxx6269, each bit in the initial identifier is an identifier, and the initial identifier has a total of 15 identifiers. The last two bits are extracted from the initial identifier as the target identifier, for example, 69 can be used as the target identifier of the user, and the target identifier is input into formula (1) to obtain r as 7, that is, the shard identifier having a mapping relationship with the user is 7, and the resource link in the database shard 7 can be distributed to the user. In an embodiment, the shard identifier can be located in the database shard identifier column shown in Table 2.

[0093] Specifically, in the process of issuing resource links to users, in the case that the number of resource links in the No. 7 database shard is not zero, the resource links in the No. 7 database shard can be issued to the user; in the case that the number of resource links in the No. 7 database shard is zero, the number of resource links in the second type of database shard (for example, the No. 31 database shard) can be queried, in the case that the number of resource links in the second type of database shard (for example, the No. 31 database shard) is not zero, the resource links in the second type of database shard (for example, the No. 31 database shard) can be issued to the user, and in the case that the number of resource links in the second type of database shard (for example, the No. 31 database shard) is zero, the resource links can not be issued to the user.

[0094] According to an embodiment of the present disclosure, by dividing the plurality of database shards into the first type of database shard as the main issuance and the second type of database shard as the backup issuance, using the user number last two identifiers to do the modulo operation, the shard identifier belonging to the first type of database shard which has a mapping relationship with the user is obtained, and the resource link is obtained from the database shard corresponding to the shard identifier; the remaining one database shard backup shard is not issued, and when the resource links in a certain database shard of the first type of database shard are issued, the backup shard is used for issuance. When processing the request of the user to obtain the resource link, the method has less calculation amount, saves the calculation resources of the system, and improves the efficiency of issuing the resource link.

[0095] According to an embodiment of the present disclosure, in order for the financial institution system end to further obtain the actual situation of the user obtaining the resource link, the issuance state can be configured in the issuance information when the resource link is issued, and the resource link is issued according to the issuance state. Specifically, the issuance state can be read in response to the request of the user to obtain the resource link; based on the issuance state, the resource link stored in the database is issued to the user, wherein the issuance state can include at least one of the following: a suspension issuance state, a normal issuance state, and a termination issuance state.

[0096] According to an embodiment of the present disclosure, in the case of the suspension issuance state, the resource link can be suspended to the user; in the case of the normal issuance state, the resource link can be normally issued to the user, and in the case of the termination issuance state, it can be indicated that the resource link of the project has been issued, and the resource link is stopped to the user.

[0097] According to an embodiment of the present disclosure, by issuing the resource link according to the issuance state, the problem of misissuing the resource link due to operation errors and the like can be timely suspended, the accuracy of issuing the resource link is improved, and the experience of the user is improved.

[0098] Figure 4A system architecture diagram of a resource link issuing system according to an embodiment of the present disclosure is shown.

[0099] As shown in Figure 4 the resource link issuing system 400 of the present disclosure can include a third-party application system 410 and an external enterprise system end (such as a financial institution system end) 420. The resource link issuing system 400 can be used to implement the resource link issuing method described in operation S310 to operation S340.

[0100] The third-party application system 410 can include a server end 411, an external enterprise management end 412, and a user end 413.

[0101] The external enterprise system 420 can include a file sharing storage component 421, an issuing system management end 422, an open platform (configuration center) 423, a database 424, and a user management component 425.

[0102] The third-party application system 410 provides the external enterprise management 412 to the external enterprise, and the external enterprise applies for a resource link at the external enterprise management end 412. The server end 411 returns an application result (a second resource file containing multiple resource links) to the external enterprise management end 412.

[0103] The external enterprise management end 412 sends the second resource file containing multiple resource links to the file sharing storage component 421 of the external enterprise system 420, and the file sharing storage component 421 stores the second resource file containing multiple resource links.

[0104] The open platform (configuration center) 423 configures the project for issuing resource links, sets the number of resource links that can be issued by any project, the project name, the start time of issuing, the end time of issuing, the issuing state, the user filtering conditions (whether the user follows the public number, video number, applet, etc. of the financial institution; whether the user registers the bank card of the financial institution in the public number, video number, applet, etc. of the financial institution, etc.), and sends the above issuing information to the issuing system management end 422.

[0105] After the system management end 422 obtains the number information of the project resource links, it can apply for a corresponding number of resource links to the file sharing storage component 421. If the number of available resource links of the file sharing storage component 421 is greater than or equal to the number, the first resource file including the number of resource links is generated and sent to the system management end 422. If the number of available resource links of the file sharing storage component 421 is less than the number, the application can be rejected.

[0106] When the number of available resource links is greater than or equal to the required number of the project, the system management end 422 receives a first resource file including a number of resource links, and the file sharing storage component 421 can store the first resource file and generate a related record table using the first resource file and the distribution information (the number of resource links, the project name, the start time of distribution, the end time of distribution, the distribution state, and the user filtering condition) in the database 424. The record table can be as shown in Tables 1-3.

[0107] The user end 413 applies for obtaining the resource link, and the user management component 425 performs logical judgment. If the user meets the user filtering condition and there are still remaining resource links, and the distribution state is normal distribution, the related resource link is distributed to the user end. After distribution, the information in Tables 3-4 is updated.

[0108] If it is necessary to suspend the distribution of the resource link, the distribution state can be modified in the open platform (configuration center) 423, the distribution state is set to suspended distribution, and the distribution state in Table 1 in the database 424 and the time of modifying the distribution state are updated. When the distribution state is suspended distribution, the user end 413 applies for obtaining the resource link, and the user management component 425 performs logical judgment based on Table 1 in the database 424. If the project state is suspended distribution, the application of the user end 413 can be rejected, and the resource link is not distributed. If it is necessary to restart the distribution of the resource link, the distribution state can be modified in the open platform (configuration center) 423, the distribution state is set to normal distribution, and the distribution state in Table 1 in the database 424 and the time of modifying the distribution state are updated. When the distribution state is normal distribution, the user end 413 applies for obtaining the resource link, and the user management component 425 performs logical judgment based on Table 1 in the database 424. If the distribution state is normal distribution, the application of the user end 413 is processed, and the resource link is distributed to the user end.

[0109] Figure 5 A flowchart of distributing a resource link according to an embodiment of the present disclosure is schematically shown.

[0110] As shown in Figure 5 , the process of distributing a resource link can include operations S510-S560.

[0111] In operation S510, a user initiates a request for obtaining a resource link.

[0112] In operation S520, a resource link scheduling table is queried to obtain whether there is a resource link in a database shard mapped to the user. In the case where there is a resource link, operation S530 is performed, and in the case where there is no resource link, operation S540 is performed.

[0113] At operation S530, the resource link in the database shard mapped with the user is issued to the user.

[0114] At operation S540, the resource link scheduling table is queried to obtain whether there is a resource link in the standby database shard. In the case of a resource link, operation S550 is performed, and in the case of no resource link, operation S560 is performed.

[0115] At operation S550, the resource link in the standby database shard is issued to the user.

[0116] At operation S560, the process of issuing the resource link is ended.

[0117] Figure 6 A schematic diagram of the logical relationship between the user management component and the database shards is shown.

[0118] As shown in Figure 6 , the user management component 425 can first determine the first type of database shards (for example, database shard 1, database shard 2, …, database shard N-1) that have a mapping relationship with the user, and issue the resource link in the first type of database shards to the user. In the case that there is no resource link in a certain database shard in the first type of database shards, a second type of database shard (for example, database shard N) is called, and in the case that there is a resource link in the second type of database shard, the resource link in the database shard is issued to the user. As an example, there is no resource link in the database shard 2 mapped with the user, and in the case that there is a resource link in the database shard N, the resource link in the database shard N can be issued to the user. It can be understood that the resource links in the database shard 1 to the database shard N-1 can be evenly issued to the user.

[0119] The resource link issuing method provided by the embodiments of the present disclosure can realize that the external enterprise system end (such as the financial institution system end) further obtains the actual situation of the user taking the resource link, obtains the progress of the user taking the resource link, can realize that the resource link is issued according to the project, each project can only issue a part of the resource link, and the issuing state can be adjusted. After the issuing state is set to suspend, the resource link belonging to the project cannot be issued again. If it is necessary to restart the project, the issuing state is modified in the open platform (configuration center), the issuing state is set to normal, and when the issuing state is normal, the user end applies for taking the resource link, the user management component performs logical judgment, judges that the project state is normal, and then processes the user end application.

[0120] The embodiment of the present disclosure can filter the user when the user requests to take the resource link, and can issue the resource link to the user meeting the user filtering condition, so as to realize personalized issuance of the resource link and improve the experience of the user.

[0121] It should be noted that, unless it is explicitly stated that there is an execution sequence between different operations or there is an execution sequence in the technical implementation of different operations, the execution sequence between multiple operations can not be distinguished, and multiple operations can be executed simultaneously.

[0122] Based on the above resource link issuing method, the present disclosure further provides a resource link issuing device. The following will be described in combination with Figure 7 The device is described in detail.

[0123] Figure 7 The structure block diagram of the resource link issuing device according to the embodiment of the present disclosure is schematically shown.

[0124] As Figure 7 shown, the resource link issuing device 700 of the embodiment includes an acquisition module 710, a first receiving module 720, a generation module 730, and an issuing module 740.

[0125] The acquisition module 710 is configured to send a request for acquiring k resource links to a file sharing storage component based on the issuing information configured for the resource link, wherein the issuing information includes a user filtering condition, the file sharing storage component has m resource links, and k and m are both positive integers.

[0126] The first receiving module 720 is configured to receive a first resource file including k resource links and store the first resource file into a database when m is greater than or equal to k.

[0127] The generation module 730 is configured to generate a plurality of record tables for representing the resource link issuing situation according to the first resource file and the issuing information, and store the plurality of record tables into the database.

[0128] The issuing module 740 is configured to issue the resource link stored in the database to the user and update the plurality of record tables stored in the database when the user requesting to take the resource link meets the user filtering condition.

[0129] According to the method, the device, the equipment, the storage medium and the program product for issuing the resource link provided by the embodiment of the present disclosure, the request for obtaining k resource links is sent to the file sharing storage component based on the issuing information configured for the resource link, in the case that the number m of resource links in the file sharing storage component is greater than k, the first resource file including the k resource links is received and stored, a plurality of record tables are generated and stored according to the first resource link and the issuing information, and the resource link is issued to the user in the case that the user meets the user filtering condition, and the plurality of record tables are updated. Since the interaction end involved in the process of issuing the resource link can be arranged in the system architecture that can be accessed by the financial institution, and the resource link is obtained from the file sharing storage component, the record table generated according to the resource link and the issuing information is stored in the database, and the record table can be automatically updated after the user meets the condition, at least part of the problem of information difference between the financial institution system end and the user end about the resource link business in the related art is overcome, and the technical effect of improving the execution efficiency of the financial institution system end in executing the resource link business is achieved.

[0130] According to the embodiment of the present disclosure, the first receiving module can include a division unit and a storage unit.

[0131] The division unit is configured to divide the database into N database shards, N being a positive integer.

[0132] The storage unit is configured to uniformly store the k resource links in the first resource link file into the N database shards.

[0133] According to the embodiment of the present disclosure, the resource link issuing device can further include a division module.

[0134] The division module is configured to randomly divide the N database shards into a first type of database shard and a second type of database shard after storing the first resource file into the database, wherein the first type of database shard includes N-1 database shards, and the second type of database shard includes 1 database shard.

[0135] According to the embodiment of the present disclosure, the issuing module can include an acquisition unit, an extraction unit, an input unit and a first issuing unit.

[0136] The acquisition unit is configured to acquire the initial identifier of the user in response to the request of the user for obtaining the resource link, wherein the initial identifier includes a plurality of identifiers.

[0137] The extraction unit is configured to extract a preset number of identifiers from the initial identifier to obtain a target identifier.

[0138] The input unit is configured to input a target identifier into a preset function, and output a shard identifier having a mapping relationship with a user, wherein a database shard corresponding to the shard identifier is subordinate to the first type of database shard.

[0139] The first issuing unit is configured to issue a resource link to the user according to the shard identifier.

[0140] According to an embodiment of the present disclosure, the first issuing unit can include a first query subunit, a first issuing subunit, a second query subunit, and a second issuing subunit.

[0141] The first query subunit is configured to query a target database shard in the first type of database shard according to the shard identifier.

[0142] The first issuing subunit is configured to issue a resource link stored in the target database shard to the user in a case where a number of resource links in the target database shard is not zero.

[0143] The second query subunit is configured to query a number of resource links in the second type of database shard in a case where the number of resource links in the target database shard is zero.

[0144] The second issuing subunit is configured to issue a resource link stored in the second type of database shard to the user in a case where the number of resource links in the second type of database shard is not zero.

[0145] According to an embodiment of the present disclosure, the generation module can include a calling unit, an acquisition unit, and a splicing unit.

[0146] The calling unit is configured to call a plurality of record table templates, wherein each record table template includes a plurality of template fields.

[0147] The acquisition unit is configured to acquire information from a first resource file and issuing information according to the template fields on each record table template, to obtain target information associated with a target field.

[0148] The splicing unit is configured to splice the template fields having the association with the target information, to generate a plurality of record tables.

[0149] According to an embodiment of the present disclosure, the issuing module can further include a reading unit and a second issuing unit.

[0150] The reading unit is configured to read an issuing state in response to a request of the user to collect the resource link.

[0151] The second issuing unit is configured to issue a resource link stored in a database to the user based on the issuing state, wherein the issuing state includes at least one of the following: a suspension issuing state and a normal issuing state.

[0152] According to an embodiment of the present disclosure, the resource link issuing apparatus can further include a sending module, a second receiving module and a storage module.

[0153] The sending module is configured to send a request for obtaining m resource links to the server end through the enterprise management end component, so that the server end generates a second resource file according to the request.

[0154] The second receiving module is configured to receive the second resource file.

[0155] The storage module is configured to store the second resource file in the file sharing storage component.

[0156] According to an embodiment of the present disclosure, any one of the obtaining module 710, the first receiving module 720, the generating module 730 and the issuing module 740 can be combined in one module, or any one of them can be split into multiple modules. Alternatively, at least part of the function of one or more of these modules can be combined with at least part of the function of other modules, and implemented in one module. According to an embodiment of the present disclosure, at least one of the obtaining module 710, the first receiving module 720, the generating module 730 and the issuing module 740 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable way of hardware or firmware that can be integrated or packaged, or any one of software, hardware and firmware or any appropriate combination of several of them. Alternatively, at least one of the obtaining module 710, the first receiving module 720, the generating module 730 and the issuing module 740 can be at least partially implemented as a computer program module which can perform corresponding functions when it is run.

[0157] It should be noted that the resource link issuing apparatus part in the embodiments of the present disclosure corresponds to the resource link issuing method part in the embodiments of the present disclosure, and the description of the resource link issuing apparatus part is specifically referred to the resource link issuing method part, which will not be repeated here.

[0158] Figure 8 The block diagram of the electronic device suitable for implementing the resource link issuing method according to an embodiment of the present disclosure is schematically shown.

[0159] As Figure 8As shown, the electronic device 800 according to embodiments of the present disclosure includes a processor 801 which can perform various appropriate actions and processes according to programs stored in a read only memory (ROM) 802 or loaded into a random access memory (RAM) 803 from a storage section 808. The processor 801 can include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor, and / or a related chipset and / or a dedicated microprocessor (e.g., an application specific integrated circuit (ASIC)), and the like. The processor 801 can also include an on-board memory for cache use. The processor 801 can include a single processing unit or multiple processing units for executing different actions of the method processes according to embodiments of the present disclosure.

[0160] In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. The processor 801 performs various operations of the method processes according to embodiments of the present disclosure by executing the programs in the ROM 802 and / or the RAM 803. Note that the programs can also be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 can also perform various operations of the method processes according to embodiments of the present disclosure by executing the programs stored in the one or more memories.

[0161] According to embodiments of the present disclosure, the electronic device 800 can further include an input / output (I / O) interface 805 which is also connected to the bus 804. The electronic device 800 can further include one or more of the following components connected to the input / output (I / O) interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as necessary. A removable medium 811 such as a magnetic disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 810 as necessary, so that a computer program read out therefrom is installed into the storage section 808 as necessary.

[0162] The present disclosure also provides a computer readable storage medium, which can be included in the device / apparatus / system described in the above embodiments, or can exist independently without being assembled into the device / apparatus / system. The above computer readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present disclosure.

[0163] According to an embodiment of the present disclosure, the computer readable storage medium can be a non-volatile computer readable storage medium, which can include, but is not limited to, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any appropriate combination thereof. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in connection with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, the computer readable storage medium can include the ROM 802 and / or the RAM 803 described above, and / or one or more memories other than the ROM 802 and the RAM 803.

[0164] Embodiments of the present disclosure also include a computer program product, which includes a computer program containing program codes for executing the methods shown in the flowcharts. When the computer program product is run in a computer system, the program codes are used to make the computer system implement the resource link issuing method provided by the embodiments of the present disclosure.

[0165] The above functions defined in the system / apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. According to an embodiment of the present disclosure, the system, apparatus, module, unit, etc. described above can be implemented by computer program modules.

[0166] In one embodiment, the computer program can rely on a tangible storage medium such as an optical storage medium, a magnetic storage medium, etc. In another embodiment, the computer program can also be transmitted, distributed, and downloaded in the form of a signal via a network medium, and be downloaded and installed through the communication part 809 and / or installed from the detachable medium 811. The program codes contained in the computer program can be transmitted by any appropriate network medium, including but not limited to wireless, wired, etc., or any appropriate combination thereof.

[0167] In such embodiments, the computer program can be downloaded and installed from the network via the communication section 809, and / or installed from the removable media 811. When the computer program is executed by the processor 801, the above-described functions defined in the system of the embodiments of the present disclosure are executed. According to the embodiments of the present disclosure, the system, device, apparatus, module, unit, and the like described above can be implemented by the computer program modules.

[0168] According to the embodiments of the present disclosure, the program code for executing the computer program provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages, and specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming language, and / or assembly / machine language. The programming language includes, but is not limited to, such as Java, C++, python, "C" language, or similar programming language. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case involving a remote computing device, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, connected through the Internet by using an Internet service provider).

[0169] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a segment, or a portion of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that shown in the figures. For example, two blocks noted in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the functionality involved. It should also be noted that each block in the flowcharts or block diagrams, and combinations of blocks in the flowcharts or block diagrams, can be implemented by dedicated hardware-based systems that perform the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0170] Those skilled in the art can understand that the features described in various embodiments of the present disclosure and / or claims can be combined or / and integrated, even if such combinations or integrations are not explicitly described in the present disclosure. In particular, the features described in various embodiments of the present disclosure and / or claims can be combined and / or integrated in various combinations, without departing from the spirit and teachings of the present disclosure. All these combinations and / or integrations fall within the scope of the present disclosure.

[0171] The above described embodiments of the present disclosure. However, these embodiments are merely for illustrative purposes, and are not intended to limit the scope of the present disclosure. Although each embodiment is described above separately, this does not mean that the measures in each embodiment cannot be advantageously used in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Those skilled in the art can make various substitutions and modifications without departing from the scope of the present disclosure, and all such substitutions and modifications shall fall within the scope of the present disclosure.

Claims

1. A method for issuing resource links, comprising: sending, based on issuing information configured for the resource links, a request for obtaining k resource links to a file sharing storage component, wherein the issuing information comprises a user filtering condition, the file sharing storage component has m resource links, and k and m are positive integers; in a case where m is greater than or equal to k, receiving a first resource file comprising the k resource links and storing the first resource file into a database; generating, according to the first resource file and the issuing information, a plurality of record tables for representing an issuing situation of the resource links and storing the plurality of record tables into the database; in a case where a user requesting to obtain the resource links satisfies the user filtering condition, issuing the resource links stored in the database to the user and updating the plurality of record tables stored in the database.

2. The method of claim 1, wherein, the storing the first resource file into the database comprises: dividing the database into N database shards, N being a positive integer; uniformly storing the k resource links in the first resource file into the N database shards. 3.The method of claim 2, further comprising: after storing the first resource file into the database, randomly dividing the N database shards into a first type of database shard and a second type of database shard, wherein the first type of database shard comprises N-1 database shards and the second type of database shard comprises 1 database shard.

4. The method of claim 3, wherein, each database shard is configured with a shard identifier; the issuing the resource links stored in the database to the user comprises: in response to a request of the user for obtaining the resource links, obtaining an initial identifier of the user, wherein the initial identifier comprises a plurality of identifiers; extracting a preset number of identifiers from the initial identifier to obtain a target identifier; inputting the target identifier into a preset function to output a shard identifier having a mapping relationship with the user, wherein a database shard corresponding to the shard identifier is subordinate to the first type of database shard; issuing the resource links to the user according to the shard identifier.

5. The method of claim 4, wherein, the issuing the resource links to the user according to the shard identifier comprises: searching for a target database shard in the first type of database shard according to the shard identifier; in a case where a number of resource links in the target database shard is not zero, issuing the resource links stored in the target database shard to the user; in a case where the number of resource links in the target database shard is zero, querying a number of resource links in the second type of database shard; in a case where the number of resource links in the second type of database shard is not zero, issuing the resource links stored in the second type of database shard to the user.

6. The method of claim 1, wherein, each record table is configured with a corresponding record table template; the generating, according to the first resource file and the issuing information, a plurality of record tables for representing an issuing situation of the resource links comprises: calling a plurality of record table templates, wherein each record table template comprises a plurality of template fields. According to the template field on each record table template, information collection is performed in the first resource file and the distribution information to obtain target information associated with the template field; The template field with the association is spliced with the target information to generate the plurality of record tables.

7. The method of claim 1, wherein, The distribution information further includes a distribution state of the resource link; The distribution of the resource link stored in the database to the user includes: In response to a request of a user to take the resource link, the distribution state is read; Based on the distribution state, the resource link stored in the database is distributed to the user, wherein the distribution state includes at least one of the following: a suspension distribution state, a normal distribution state.

8. The method of claim 1, wherein, The m resource links in the file sharing storage component are obtained by: The enterprise management end component sends a request to obtain m resource links to the server end, so that the server end generates a second resource file according to the request; The second resource file is received; The second resource file is stored in the file sharing storage component.

9. A resource link distribution device, comprising: An acquisition module configured to send a request to obtain k resource links to a file sharing storage component based on distribution information configured for the resource links, wherein the distribution information includes a user filtering condition, the file sharing storage component has m resource links, and k and m are positive integers; A first receiving module configured to receive a first resource file including k resource links and store the first resource file in a database when m is greater than or equal to k; A generation module configured to generate a plurality of record tables for representing resource link distribution conditions according to the first resource file and the distribution information, and store the plurality of record tables in the database; A distribution module configured to distribute the resource links stored in the database to a user and update the plurality of record tables stored in the database when the user requesting to take the resource links meets the user filtering condition.

10. An electronic device, comprising: One or more processors; A storage device configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1-8.

11. A computer readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Method and device for managing resource files

    CN115062253A

  • Resource version control method and device, popup window confirmation method and device, equipment and medium

    CN116389254A