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.

Active Publication Date: 2014-10-08
广州方硅信息技术有限公司
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problems of complex code implementation, low program efficiency and low program code reuse rate that may occur in the prior art, the embodiment of the present invention provides a data-driven task implementation method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Task implementation method and device based on data driving
  • Task implementation method and device based on data driving
  • Task implementation method and device based on data driving

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a task implementation method and device based on data driving and belongs to the technical field of a social network. The task implementation method includes the steps of receiving a present giving request, wherein the present giving request includes at least one present mark and the number of presents corresponding to the present marks; determining the mark of a present list corresponding to the present marks according to the corresponding relation between the set present marks and the present list, wherein the present list corresponds to one or more present marks; updating the number of presents corresponding to the marks of the present list corresponding to the present marks according to the number of the presents corresponding to the present marks in the present giving request; judging whether a first task is fulfilled or not through the updated number of the presents corresponding to the marks of the present list corresponding to the present marks.

Description

technical field [0001] The invention relates to the technical field of social network, in particular to a data-driven task realization method and device. Background technique [0002] With the continuous growth of network users, various social network applications are launched one after another to satisfy the hobbies of the majority of users. Network show is a popular network application in recent years. It is similar to network games and is welcomed by many users. [0003] For example, the anchor performs a talent show in the webcast room, and users give the anchor virtual flowers, virtual cars and other gifts while enjoying the performance. The anchor accumulates experience points by obtaining virtual gifts, and the behavior of increasing the anchor's experience points and completing the upgrade by collecting a certain amount of specific gifts is called completing the anchor task. Specifically, the system pre-sets the various virtual gifts that need to be obtained to com...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q50/00
Inventor 黄伟
Owner 广州方硅信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products