A resource distribution method and apparatus

By receiving resource configuration data in the resource distribution platform and using a template database to match resource templates for assembly, the problem of inflexible adjustment of the resource distribution platform in the prior art is solved, and the flexible adjustment and efficient development of the resource distribution platform are realized.

CN115525823BActive Publication Date: 2026-11-06BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210995003.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2026-11-06
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

Existing resource distribution platforms have fixed logic and poor flexibility in adjustment, resulting in high development costs and long development cycles, making them unable to adapt to the rapidly changing needs of the Internet.

Method used

By receiving resource configuration data and using a template database to match resource templates for resource assembly, the resource distribution platform can be flexibly adjusted. A graphical drag-and-drop arrangement method is adopted to reduce code development.

Benefits of technology

It enables flexible adjustment of the resource distribution platform, gets rid of the inefficient fixed coding mode, reduces development costs and time cycle, and improves the flexibility and efficiency of resource distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115525823B_ABST
    Figure CN115525823B_ABST
Patent Text Reader

Abstract

The present disclosure provides a resource distribution method and device, and relates to the technical field of resource distribution. The method comprises the following steps: receiving resource configuration data, wherein the resource configuration data comprises user identification and information of a resource to be configured; searching for a resource template matched with the resource configuration data from a template database according to the resource configuration data; when the resource template is found, assembling the resource based on the resource template, and delivering the resource to be configured to the matched user. The present disclosure realizes flexible adjustment of the resource distribution platform, and breaks away from the low-efficiency mode relying on fixed coding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of resource distribution technology, and in particular to a resource distribution method, apparatus, system, electronic device and storage medium. Background Technology

[0002] With the rapid development and widespread application of internet technology, numerous internet platforms are constantly upgrading. For the internet industry, there are abundant resources on the user side, but these limited display positions often require decision-making based on information such as the current user demographics and trigger sources. Selecting different styles of copywriting for distribution is crucial to maximizing user conversion rates.

[0003] Currently, resource distribution platforms in related technologies generally use hard-coded strategy combinations with fixed logic, resulting in poor flexibility in adjustment. Summary of the Invention

[0004] This disclosure provides a resource distribution method, apparatus, system, electronic device, and storage medium.

[0005] According to a first aspect of this disclosure, a resource distribution method is provided. The method includes: receiving resource configuration data, the resource configuration data including a user identifier and information about the resource to be configured; searching a template database for a resource template that matches the resource configuration data based on the resource configuration data; and when a resource template is found, assembling resources based on the resource template and distributing the resource to be configured to the matching user.

[0006] In some embodiments, receiving resource configuration data includes: obtaining resource configuration data from user request information, wherein the resource configuration data is stored in the form of key-value pairs.

[0007] In some embodiments, searching for a resource template that matches the resource configuration data from the template database based on the resource configuration data includes: determining the parameter characteristics of the resource to be configured based on the resource configuration data; and searching for a resource template that matches the parameter characteristics of the resource to be configured from the template database based on the parameter characteristics of the resource to be configured.

[0008] In some embodiments, when a resource template is found, assembling resources based on the resource template and sending the resource to be configured to the matching user includes: when a resource template is found, using the resource template to assemble and render the resource to be configured, and sending the resource to be configured to the user matching the resource to be configured.

[0009] In some embodiments, the method further includes: when no resource template is found, determining the user corresponding to the resource to be configured based on resource configuration data; encapsulating the resource to be configured and the user corresponding to the resource to be configured into a resource template, and storing the resource template in a template database.

[0010] According to embodiments of this disclosure, by receiving resource configuration data, which includes user identifiers and information about the resources to be configured; searching for resource templates that match the resource configuration data from a template database based on the resource configuration data; when a resource template is found, assembling resources based on the resource template, and distributing the resources to be configured to the matching users, the resource distribution platform can be flexibly adjusted, thus getting rid of the inefficient mode of relying on fixed coding.

[0011] According to a second aspect of this disclosure, a resource distribution apparatus is provided, comprising: a receiving module for receiving resource configuration data, the resource configuration data including a user identifier and information about the resource to be configured; a searching module for searching a resource template matching the resource configuration data from a template database; and a distributing module for assembling resources based on the resource template when a resource template is found, and distributing the resource to be configured to the matching user.

[0012] According to embodiments of this disclosure, a resource distribution device receives resource configuration data, which includes user identifiers and information about the resources to be configured. Based on the resource configuration data, a resource template matching the resource configuration data is searched from a template database. When a resource template is found, resources are assembled based on the resource template, and the resources to be configured are distributed to the matching users. This enables flexible adjustment of the resource distribution platform and eliminates the inefficient mode of relying on fixed coding.

[0013] According to a third aspect of this disclosure, a resource distribution system is provided, comprising: a terminal and a resource distribution server, wherein the resource distribution server is used to receive resource configuration data, the resource configuration data including user identifier and information of the resource to be configured; based on the resource configuration data, searching a template from a template database for a resource template that matches the resource configuration data; when a resource template is found, assembling resources based on the resource template, and distributing the resource to be configured to the terminal corresponding to the matching user.

[0014] According to embodiments of this disclosure, resource configuration data is received through a terminal and a resource distribution server of the resource distribution system. The resource configuration data includes user identifiers and information about the resources to be configured. Based on the resource configuration data, a resource template matching the resource configuration data is searched from a template database. When a resource template is found, resources are assembled based on the resource template, and the resources to be configured are distributed to the matching users. This enables flexible adjustment of the resource distribution platform and eliminates the inefficient mode of relying on fixed coding.

[0015] According to a fourth aspect of this disclosure, an electronic device is provided, comprising:

[0016] At least one processor; and

[0017] A memory that is communicatively connected to at least one processor; wherein,

[0018] The memory stores instructions that can be executed by at least one processor, such that the at least one processor is able to perform the method described in the first aspect above.

[0019] According to a fifth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause a computer to perform the method of the first aspect described above.

[0020] According to a sixth aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method as described in the first aspect above.

[0021] According to embodiments of this disclosure, by receiving resource configuration data, which includes user identifiers and information about the resources to be configured; searching for resource templates that match the resource configuration data from a template database based on the resource configuration data; when a resource template is found, assembling resources based on the resource template, and distributing the resources to be configured to the matching users, the resource distribution platform can be flexibly adjusted, thus getting rid of the inefficient mode of relying on fixed coding.

[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0023] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0024] Figure 1 A flowchart illustrating a resource distribution method provided in an embodiment of this disclosure;

[0025] Figure 2 A flowchart illustrating a resource distribution method provided in an embodiment of this disclosure;

[0026] Figure 3 A schematic diagram of a strategy orchestration method provided in an embodiment of this disclosure;

[0027] Figure 4 A schematic block diagram of a resource distribution system 400 provided in an embodiment of this disclosure;

[0028] Figure 5 A schematic diagram illustrating the functional analysis of a specific resource distribution system provided in this embodiment of the disclosure;

[0029] Figure 6This is a schematic diagram of the structure of a resource distribution device provided in an embodiment of the present disclosure;

[0030] Figure 7 A schematic block diagram of an example electronic device 700 provided for embodiments of this disclosure. Detailed Implementation

[0031] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0032] A resource distribution method, apparatus, system, electronic device, and storage medium according to embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0033] With the rapid development and widespread application of internet technology, numerous internet platforms are constantly upgrading. The internet industry possesses abundant resources on the user side; however, these limited display positions often require careful consideration of current user demographics, trigger sources, and other information to determine the best copywriting style for distribution, maximizing user conversion rates. In different application scenarios, user conversion rate includes registered user conversion rate, logged-in user conversion rate, and paying user conversion rate—the percentage of users attracted through news, advertising, and other media who become registered users. To improve user conversion rates, these strategies cannot be perfected from the outset; operations teams need to continuously experiment with different combinations to select the most effective strategy. This requires significant development work and is not agile enough to adapt quickly.

[0034] Currently, resource distribution platforms in related technologies generally use hard-coded strategy combinations with fixed logic, resulting in poor flexibility in adjustment.

[0035] Specifically, since existing strategies are generally hardcoded, any addition or adjustment to a particular strategy requires developers to redevelop and modify it. This results in high development costs and long development cycles, which is unsuitable for the rapid pace of experimentation in the internet industry.

[0036] To this end, this disclosure proposes a resource distribution method that enables flexible adjustment of the distribution strategy of the resource distribution platform, allowing each decision-making unit to reuse resources indefinitely, thus eliminating the inefficient mode of relying on fixed codes.

[0037] The following describes in detail, with reference to the accompanying drawings, a product information recommendation method, apparatus, electronic device, storage medium, and program product based on feature comparison proposed in this disclosure.

[0038] Figure 1 This is a flowchart illustrating a resource distribution method provided in an embodiment of this disclosure. Figure 1 As shown, the method includes the following steps:

[0039] Step 101: Receive resource configuration data, which includes user identifier and information about the resource to be configured.

[0040] In one embodiment of this disclosure, the resource distribution platform receives a user's resource distribution request and combines the received user resource distribution request information into necessary decision data for subsequent decision-making.

[0041] The resource distribution platform can be applied to scenarios involving policy orchestration. It can be implemented as a client or a cloud server, and this disclosure does not limit this. In this disclosure, the resource distribution platform can be understood as an implementation of policy logic, for example, implemented through code and executed through a corresponding controller.

[0042] Step 102: Based on the resource configuration data, search the template database for resource templates that match the resource configuration data.

[0043] In one embodiment of this disclosure, a strategy decision is made based on resource configuration data, and a suitable strategy, i.e., a resource template matching the resource configuration data, is selected and distributed to the matching user. Since the resource templates matching the resource configuration data vary widely, this disclosure adopts a graphical approach, allowing users to drag and drop to arrange and combine them. Here, the user refers to the administrator of the resource distribution platform.

[0044] Specifically, in the embodiments of this disclosure, a resource template that matches the resource configuration data can be directly searched in the template database. This template is a template assembled by coding when implementing similar functions and stored in the database for subsequent reuse.

[0045] Step 103: When a resource template is found, resources are assembled based on the resource template, and the resources to be configured are distributed to the matching users.

[0046] In one embodiment of this disclosure, based on resource configuration data and resource templates matching the resource configuration data, corresponding assembly logic is selected to assemble resources and distribute them to the matched user. Here, the user refers to a client user; that is, through judgment and assembly, the resource distribution platform distributes resources suitable for that user to that user.

[0047] In other words, the resource distribution platform can reuse pre-formed resource templates through logical orchestration. There is no need to develop code for each resource. Instead, resources are assembled directly based on the resource templates by dragging and dropping the orchestration logic, thereby distributing the resources to be configured to the matching users.

[0048] Therefore, according to the embodiments of this disclosure, by receiving resource configuration data, which includes user identifier and information about the resource to be configured; searching for a resource template that matches the resource configuration data from the template database based on the resource configuration data; when a resource template is found, assembling the resource based on the resource template, and distributing the resource to be configured to the matching user, the resource distribution platform can be flexibly adjusted, thus getting rid of the inefficient mode of relying on fixed coding.

[0049] Figure 2 This is a flowchart illustrating a resource distribution method provided in an embodiment of the present disclosure. Figure 2 based on Figure 1 The illustrated embodiment further defines steps 101, 102, and 103. Figure 2 In the illustrated embodiment, step 101 includes step 201, step 102 includes steps 202 and 203, and step 103 includes step 204. The steps are as follows... Figure 2 As shown, the method includes the following steps.

[0050] Step 201: Obtain resource configuration data from the user request information. The resource configuration data is stored in the form of key-value pairs.

[0051] In some embodiments of this disclosure, the user request information includes resource configuration data, such as a combination of user ID, resources to be configured, etc., which is not limited in the embodiments of this disclosure.

[0052] Upon receiving a user request, the resource configuration data matching the resource request is retrieved to determine the resource template corresponding to the resource request.

[0053] Specifically, all user request information required during the resource configuration data assembly phase is stored in key-value pairs (KEY-VALUE), and these parameters will be used in subsequent decision-making processes. These decision-making parameters can be entered into the resource distribution platform, or they can be collected and provided to the resource distribution platform by other platforms.

[0054] This disclosure does not limit the storage method of resource configuration data. As a preferred implementation, it can be stored in the form of key-value pairs. Key-value pairs are distributed storage systems that offer fast query speeds, large data storage capacity, and support for high concurrency, making them suitable for querying by primary key. For example, a parameter, such as user ID or video type, has an English name and a corresponding value.

[0055] Step 202: Determine the parameter characteristics of the resource to be configured based on the resource configuration data.

[0056] In some embodiments of this disclosure, parameter characteristics of the resource to be configured are obtained from stored resource configuration data. These parameter characteristics can be understood as the values ​​in the key-value pairs mentioned above. For example, in the resource configuration data, if an animation type video is denoted as `anim_video` and its corresponding value is denoted as `003`, then the resource configuration data is (`anim_video`, `003`), and the specific video category can be queried through the corresponding value. These parameter characteristics can also be corresponding English names, which are not limited in the embodiments of this disclosure.

[0057] Step 203: Based on the parameter characteristics of the resource to be configured, search the template database for a resource template that matches the parameter characteristics of the resource to be configured.

[0058] In some embodiments of this disclosure, a resource template matching the parameter characteristics of the resource to be configured can be searched. For example, for animated videos, the corresponding value can be used to search whether a configuration template for this type of resource has been stored previously.

[0059] It is understood that the strategy orchestration of the resource distribution platform in this disclosure consists of elements including an entry point, conditional judgments, and result assembly. Specifically, after completing basic data collection, the process, carrying the collected parameters, enters the process from the entry point. For example... Figure 3 As shown, “Start” represents the policy entry point. In this disclosure, the position of this entry point is not limited to the policy judgment of whether it is a template video. It can be understood that it can also be used for the policy judgment of whether it is an advanced edited video. It can be freely dragged and dropped by the administrator through the scheme of this disclosure, and there is no restriction in this disclosure.

[0060] For example, in the scenario of delivering advertisements, the data collected at the entry point includes, but is not limited to, user ID, device ID, application (APP) version, user profile, etc., which can all be used as entry decision data for the strategy. Then, through selection and assembly logic, and through the judgment and decision of functions, these data are assembled into a reusable resource template.

[0061] In this embodiment of the disclosure, the process can be understood as determining whether the parameter characteristics of the resource to be configured match the resource template. For example... Figure 3 As shown, the judgment process represented by the diamond is the template search and drag-and-drop process in this disclosure. The diamond judgment is essentially a multi-path matching of two Boolean-type options. A conditional judgment can have multiple branch paths, and the specific choice of branch is determined by the configuration of the conditional judgment. For example, for judging whether it is a template video, if not, other judgments can be performed; if yes, subsequent audience segment judgments are performed, such as judging whether it is a new user. If it is a new user, then multi-path matching can be performed, such as matching by author type. Matching 1, 2, and 3 respectively leads to different branch paths.

[0062] As an optional implementation, in addition to conditional judgment, this disclosure can also achieve the effect of flow switching through hashing. This is not limited in the embodiments of this disclosure.

[0063] Hash, or hashing, is a method of calculating the value of an input node by taking its key as a variable and applying a function h(K) (called a hash function). This function value is typically the array index, and the corresponding input information is stored in memory at that index. During retrieval, the address is calculated using the same method, and the desired node is retrieved from the corresponding memory location. Hash algorithms are generally used for fast lookups, trading memory for time. They are often used to improve performance, especially when there are many for loops, as lookups become particularly time-consuming; in such cases, hash algorithms can replace conditional checks.

[0064] In terms of configuring conditional judgments, this solution avoids the inefficient model of relying on fixed coding in existing technologies. For example, in existing technologies, when a user visits a website and the website wants to display multiple ads (a, b, c, d) to the user, the strategy is implemented through code, pushed to the user, published to the server, and then distributed to matching users.

[0065] The method disclosed herein connects the resource distribution platform with the business system, obtains all information and pushes it to the platform. It does not require repeated code development. Simply drag and drop the corresponding judgment flowchart, and the system will judge the diamond according to the set steps, then assemble and distribute the information.

[0066] Based on the template database, search for resource templates that match the parameter characteristics of the resource to be configured, such as... Figure 3 The diagram shown illustrates a strategy orchestration method proposed in this disclosure.

[0067] Step 204: When a resource template is found, the resource to be configured is assembled and rendered using the resource template, and then the resource to be configured is distributed to the user who matches the resource to be configured.

[0068] In some embodiments of this disclosure, when it is determined that the parameter characteristics of the resource template match those of the resource to be configured, the component can be assembled, and the final result can be combined based on the parameter information within the component.

[0069] The final result combination can provide several commonly used result combination plugins, or it can be extended by the administrator. This disclosure does not restrict this.

[0070] It is important to note that the result assembly in this disclosure is based on a reusable resource template for rendering. For application scenarios involving advertising distribution, the advertisement can be rendered as a 1080p image and the image resource can be distributed to the user. If this strategy needs to be reused later, the resource template can be used directly without further code development. Furthermore, if strategy adjustments are required, only adding or removing decision chains, or adjusting the order of decision chains, is needed to achieve orchestration of resource distribution.

[0071] Step 205: If no resource template is found, determine the user corresponding to the resource to be configured based on the resource configuration data.

[0072] In some embodiments of this disclosure, when no resource template is found, the user corresponding to the resource to be configured is determined based on the resource configuration data, and the corresponding resource template is stored for later use, making it easier to find next time.

[0073] As mentioned above, for scenarios where no resource template has yet been developed, code can be developed once, solidified into a resource template, and saved to avoid having to develop code again when distributing similar resources in the future.

[0074] Step 206: Encapsulate the resource to be configured and the user corresponding to the resource to be configured into a resource template, and store the resource template in the template database.

[0075] In some embodiments of this disclosure, resource templates can be reused. The resource to be configured can be used as a template, so that the template name does not need to be filled in next time. The components corresponding to the encapsulated judgment logic can be saved, and no further development and configuration are required.

[0076] The order of resource template configuration is based on the current configuration and relies on dragging and dropping images, which can be dynamically adjusted, and this disclosure does not restrict this.

[0077] In summary, according to the embodiments of this disclosure, resource configuration data is obtained from user request information and stored in the form of key-value pairs. Based on the resource configuration data, the parameter characteristics of the resource to be configured are determined. Based on the parameter characteristics of the resource to be configured, a resource template matching the parameter characteristics of the resource to be configured is searched in the template database. When a resource template is found, the resource to be configured is assembled and rendered using the resource template, and the resource to be configured is distributed to the user matching the resource to be configured. When no resource template is found, the user corresponding to the resource to be configured is determined based on the resource configuration data. The resource to be configured and the user corresponding to the resource to be configured are encapsulated into a resource template and stored in the template database. This enables flexible adjustment of the strategy, and each decision unit can be reused infinitely, thus getting rid of the inefficient mode of relying on fixed coding.

[0078] based on Figure 1 and Figure 2 One resource distribution method shown is as follows: Figure 4 The present invention discloses a resource distribution system 400, specifically as shown in the embodiments herein. Figure 5 As shown, a functional analysis diagram of a specific resource distribution system is provided. Figure 4 As shown, the system includes: a terminal and a resource distribution server.

[0079] In practical applications, some live streaming platforms often attract viewers by distributing virtual resources to their viewers. Correspondingly, different resource distribution activities can correspond to different backend services. A resource creation server can be the server corresponding to a specific resource distribution activity, providing backend services for resource distribution. A resource management server can be used to manage the target virtual resources corresponding to the resource distribution activity. A resource distribution server can be used to distribute virtual resources.

[0080] In some embodiments, the terminal can be used to provide information browsing services to users. In some embodiments, the terminal can be a viewer terminal in a live streaming service, and correspondingly, the terminal can be used to provide services to viewers during the live streaming process. In some embodiments, the service server can be a server corresponding to the terminal, used to provide backend services to the terminal.

[0081] In some embodiments, the aforementioned servers (resource creation server, resource management server, resource distribution server, and business server) can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0082] In some embodiments, the aforementioned terminal may include, but is not limited to, electronic devices such as smartphones, desktop computers, tablets, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, and smart wearable devices. In some embodiments, the operating system running on the electronic device may include, but is not limited to, Android, iOS, Linux, and Windows.

[0083] Furthermore, it should be noted that in practical applications, the application environment depends on the situation. For example, the resource creation server, resource management server, resource distribution server, and business server mentioned above may be the same server. In some embodiments, the above-mentioned service functions of the resource creation server, resource management server, and resource distribution server may be integrated into the above-mentioned business server.

[0084] In the embodiments described in this specification, the resource creation server, resource management server, resource distribution server, business server, and terminal can be directly or indirectly connected via wired or wireless communication.

[0085] In some embodiments of this disclosure, a resource distribution server is used to receive resource configuration data, which includes user identifiers and information about the resources to be configured; based on the resource configuration data, it searches a template database for a resource template that matches the resource configuration data; when a resource template is found, it assembles resources based on the resource template and distributes the resources to be configured to the terminal corresponding to the matching user.

[0086] It is understood that the resources to be configured are sent to the corresponding terminals of the matching users. These terminals can be applications installed on the terminals, mini-programs embedded in a specific application on the terminals, or resource receiving platforms such as websites. This disclosure does not impose any restrictions.

[0087] According to embodiments of this disclosure, resource configuration data is received through a terminal and a resource distribution server of the resource distribution system. The resource configuration data includes user identifiers and information about the resources to be configured. Based on the resource configuration data, a resource template matching the resource configuration data is searched from a template database. When a resource template is found, resources are assembled based on the resource template, and the resources to be configured are distributed to the matching users. This enables flexible adjustment of the resource distribution platform and eliminates the inefficient mode of relying on fixed coding.

[0088] Corresponding to the resource distribution method described above, this disclosure also proposes a resource distribution device. Figure 6 This is a schematic diagram of the structure of a resource distribution device 600 provided in an embodiment of this disclosure. Figure 6 As shown, it includes:

[0089] The receiving module 610 is used to receive resource configuration data, which includes user identifier and information about the resource to be configured.

[0090] The lookup module 620 is used to search for resource templates that match the resource configuration data from the template database based on the resource configuration data.

[0091] The distribution module 630 is used to assemble resources based on resource templates when a resource template is found, and then distribute the resources to be configured to the matching users.

[0092] In some embodiments, the receiving module 610 is configured to: obtain resource configuration data from user request information, wherein the resource configuration data is stored in the form of key-value pairs.

[0093] In some embodiments, the lookup module 620 is configured to: determine the parameter characteristics of the resource to be configured based on the resource configuration data; and search the template database for a resource template that matches the parameter characteristics of the resource to be configured based on the parameter characteristics of the resource to be configured.

[0094] In some embodiments, the distribution module 630 is used to: when a resource template is found, use the resource template to assemble and render the resource to be configured, and distribute the resource to be configured to the user matching the resource to be configured.

[0095] In some embodiments, the device 600 further includes: a storage module, which, when no resource template is found, determines the user corresponding to the resource to be configured based on resource configuration data; encapsulates the resource to be configured and the user corresponding to the resource to be configured into a resource template, and stores the resource template in a template database.

[0096] In summary, according to the resource distribution device provided in this disclosure, according to the embodiments of this disclosure, resource configuration data is received, the resource configuration data includes user identifier and information of the resource to be configured; according to the resource configuration data, a resource template matching the resource configuration data is searched from the template database; when a resource template is found, the resource is assembled based on the resource template, and the resource to be configured is distributed to the matching user, thereby realizing flexible adjustment of the resource distribution platform and getting rid of the inefficient mode of relying on fixed coding.

[0097] It should be noted that since the device embodiments of this disclosure correspond to the method embodiments described above, the foregoing explanations and descriptions of the method embodiments also apply to the device of this embodiment, and the principles are the same. For details not disclosed in the device embodiments, please refer to the method embodiments described above, and they will not be repeated in this disclosure.

[0098] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0099] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0100] like Figure 7 As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in ROM (Read-Only Memory) 702 or a computer program loaded from storage unit 708 into RAM (Random Access Memory) 703. RAM 703 can also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. I / O (Input / Output) interface 705 is also connected to bus 704.

[0101] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0102] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as resource distribution methods. For example, in some embodiments, the resource distribution method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the aforementioned resource distribution method by any other suitable means (e.g., by means of firmware).

[0103] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System-on-Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0104] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0105] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0106] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0107] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include LANs (Local Area Networks), WANs (Wide Area Networks), the Internet, and blockchain networks.

[0108] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service ecosystem, addressing the shortcomings of traditional physical hosts and VPS (Virtual Private Server, or simply "VPS") services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.

[0109] It's important to note that artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.

[0110] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0111] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A resource distribution method, characterized in that, The method includes: Receive resource configuration data, which includes user identifier and information about the resource to be configured; Based on the resource configuration data, search the template database for a resource template that matches the resource configuration data; When the resource template is found, resources are assembled based on the resource template, and the resources to be configured are sent to the matching users. The method further includes: When the resource template is not found, the user corresponding to the resource to be configured is determined based on the resource configuration data; The resource to be configured and the user corresponding to the resource to be configured are encapsulated into a resource template, and the resource template is stored in the template database; The resource template includes strategy judgment logic and resource assembly logic. The configuration order of the resource template is determined by a graphical drag-and-drop operation. The resource templates in the template database are a reuse library of historical strategies, which are used for direct matching and calling in subsequent resource distribution processes. The configuration order and combination method of the resource templates are defined in real time by the user through dragging and dropping graphic elements in the visual arrangement interface. The template database dynamically updates the stored content of the resource templates in response to the configuration operation. The order of resource template configuration is based on the current configuration and relies on dragging and dropping images; The step of searching for a resource template that matches the resource configuration data from the template database includes: Based on the resource configuration data, determine the parameter characteristics of the resource to be configured; Based on the parameter characteristics of the resource to be configured, a resource template matching the parameter characteristics of the resource to be configured is searched from the template database.

2. The method according to claim 1, characterized in that, The receipt of the resource configuration data includes: The resource configuration data is obtained from the user request information and is stored in the form of key-value pairs.

3. The method according to claim 1, characterized in that, When the resource template is found, assembling resources based on the resource template and distributing the resources to be configured to the matching users includes: When the resource template is found, the resource to be configured is assembled and rendered using the resource template, and then the resource to be configured is distributed to the user who matches the resource to be configured.

4. A resource distribution device, characterized in that, The device includes: A receiving module is used to receive resource configuration data, which includes user identifier and information about the resource to be configured. The search module is used to search the template database for resource templates that match the resource configuration data, based on the resource configuration data. The distribution module is used to assemble resources based on the resource template when the resource template is found, and then distribute the resource to be configured to the matching user. The device further includes: The storage module is used to determine the user corresponding to the resource to be configured based on the resource configuration data when no resource template is found; to encapsulate the resource to be configured and the user corresponding to the resource to be configured into a resource template, and to store the resource template in the template database; The resource template includes strategy judgment logic and resource assembly logic. The configuration order of the resource template is determined by a graphical drag-and-drop operation. The resource templates in the template database are a reuse library of historical strategies, which are used for direct matching and calling in subsequent resource distribution processes. The configuration order and combination method of the resource templates are defined in real time by the user through dragging and dropping graphic elements in the visual arrangement interface. The template database dynamically updates the stored content of the resource templates in response to the configuration operation. The order of resource template configuration is based on the current configuration and relies on dragging and dropping images; The step of searching for a resource template that matches the resource configuration data from the template database includes: Based on the resource configuration data, determine the parameter characteristics of the resource to be configured; Based on the parameter characteristics of the resource to be configured, a resource template matching the parameter characteristics of the resource to be configured is searched from the template database.

5. A resource distribution system, characterized in that, The system includes: a terminal and a resource distribution server. The resource distribution server receives resource configuration data, which includes user identifiers and information about the resources to be configured. Based on the resource configuration data, it searches a template database for a resource template that matches the data. When a resource template is found, it assembles resources based on the template and distributes the resources to be configured to the terminal corresponding to the matching user. When no resource template is found, it determines the user corresponding to the resources to be configured based on the resource configuration data. The resources to be configured and the user corresponding to the resources are encapsulated into a resource template, which is then stored in the template database. The resource template includes policy judgment logic and resource assembly logic. The configuration order of the boards is determined through graphical drag-and-drop operations, and the resource templates in the template database are a reuse library of historical strategies, used for direct matching and invocation during subsequent resource distribution. The configuration order and combination method of the resource templates are defined in real time by the user through dragging and dropping graphical elements in the visual orchestration interface. The template database dynamically updates the stored content of the resource templates in response to configuration operations. The configuration order of the resource templates is based on the drag-and-drop of images according to the current configuration. Based on the resource configuration data, the parameter characteristics of the resource to be configured are determined. Based on the parameter characteristics of the resource to be configured, a resource template matching the parameter characteristics of the resource to be configured is searched from the template database.

6. An electronic device, comprising: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 3.

7. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method of any one of claims 1 to 3.

8. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the method of any one of claims 1 to 3.

Citation Information

Patent Citations

  • Resource orchestration method and device and electronic equipment

    CN110019835A

  • Resource allocation method and device, electronic equipment and storage medium

    CN112422711A