Invitation code promotion level query system based on B tree and forest

A query system and invitation code technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of inappropriate invitation code promotion level query, unable to indicate invitation code, etc., to ensure recoverability, guarantee Accuracy and guaranteed efficiency

Inactive Publication Date: 2020-02-28
江苏一乙网络信息科技有限公司
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the underlying data structure used by the above two methods is a binary sorting tree. This data structure has certain advantages in query because of its sorting characteristics, but it is not suitable for the hierarchical query of invitation code promotion. The reasons are: first, Invitation code promotion S

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
  • Invitation code promotion level query system based on B tree and forest
  • Invitation code promotion level query system based on B tree and forest
  • Invitation code promotion level query system based on B tree and forest

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work all belong to the protection scope of the present invention.

[0029] see Figure 1-2 , the present invention provides a kind of technical scheme: a kind of invitation code promotion level query system based on B tree and forest, this kind invitation code promotion level query system based on B tree and forest comprises the following basic steps:

[0030] Step 1, construct all natural users as the root nodes of the B-tree in the forest: the natural users represent users who become product users through natural regis...

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 an invitation code promotion level query system based on a B tree and a forest. The method comprises the following specific steps: 1, constructing all natural users as root nodes of a tree B in a forest, 2, constructing child nodes of the tree B and completing tree construction, 3, storing the B tree and a forest data model, 4, monitoring changes of database users by a monitoring thread and dynamically updating the tree and the forest, 5, carrying out related query according to the constructed B tree and forest model, and 6, performing persistence of the tree B and theforest data model. Through the query system, the farm game users are ranked, so that the problem of low efficiency in a massive data environment in hierarchical query is effectively solved, meanwhile,a model based on a B tree and a forest is provided, and tree nodes are self-defined, so that the system not only meets the requirement of improving the efficiency of common hierarchical query, but also can realize more conditional queries.

Description

technical field [0001] The invention relates to the technical field related to game user ranking, in particular to a B-tree and forest-based invitation code promotion level query system. Background technique [0002] In recent years, with the continuous development of smart phones and mobile Internet, the Internet industry has various promotion models, and the invitation code promotion model based on the reward mechanism is currently widely used. Each natural user shares the invitation code, and successfully invites a user to register to get rewards. The more people you invite, the more rewards, but the follow-up is that the timeliness of reward calculation is not high enough. The current hierarchical query system is based on the relational database to store user invitation records for query, but it cannot accurately and efficiently query intergenerational invitations. For example, A invites B, and B invites C. In this case, both B and C Belonging to the users invited by A,...

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
IPC IPC(8): G06F16/22G06F16/2457G06F16/2453
CPCG06F16/2246G06F16/2453G06F16/2457
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