Task implementation method and device based on data driving
A data-driven, implementation method technology, applied in the field of social networking, can solve problems such as low program efficiency, low program code reuse rate, and complex code implementation, and achieve the effect of reducing the amount of code and simplifying the program.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] The embodiment of the present invention provides a data-driven task realization method, see figure 2 , the method includes:
[0057] Step 201: Receive a gift sending request, where the gift sending request includes at least one gift ID and the gift quantity corresponding to each gift ID.
[0058] For example, the gift request includes a flower identifier and a diamond identifier, the flower identifier corresponds to a gift quantity of 10, and the diamond identifier corresponds to a gift quantity of 1.
[0059] Among them, the gift logo is a specific mark that distinguishes the gift from other gifts, and it can be the name of the gift, such as: "car", "flowers", etc.; it can also be the number of the gift, for example, numbering 15 different gifts as A-O 15 Each letter can be used to identify what kind of gift it is through the number. Obviously, setting the gift number is not limited to the 15 letters A-O, and may include more letters, and may also use numbers or oth...
Embodiment 2
[0068] The embodiment of the present invention provides a data-driven task realization method, see image 3 , the method includes:
[0069] Step 301: Obtain a task configuration table. The task configuration table includes the task configurations of multiple first tasks and the start and end times corresponding to the task configurations of each first task. The task configuration of the first task includes the name of the first task and the Completion condition.
[0070] Specifically, the task configuration table is loaded into the server-side cache when the server is started, and the task configuration table is obtained by calling the corresponding task configuration table from the server-side cache. Wherein, the task configuration table includes task configurations of multiple first tasks and start and end times corresponding to the task configurations of each first task. The first task here may be a subtask or a main task, and the main task refers to a task that can be co...
Embodiment 3
[0108] The embodiment of the present invention provides a data-driven task realization device, which can be installed on the server or connected to the server, see Figure 4 , the device consists of:
[0109] The receiving module 401 is configured to receive a gift sending request, where the gift sending request includes at least one gift ID and a gift quantity corresponding to each gift ID.
[0110] For example, the gift request includes a flower identifier and a diamond identifier, the flower identifier corresponds to a gift quantity of 10, and the diamond identifier corresponds to a gift quantity of 1.
[0111] Among them, the gift logo is a specific mark that distinguishes the gift from other gifts, and it can be the name of the gift, such as: "car", "flowers", etc.; it can also be the number of the gift, for example, numbering 15 different gifts as A-O 15 Each letter can be used to identify what kind of gift it is through the number. Obviously, setting the gift number i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com