Membership level construction method, device, computer equipment and storage medium

In the field of judicial appraisal of electronic data, recursive functions are used to analyze member IDs and recommender IDs, and a member hierarchical tree structure is built, which solves the complex problem of network member hierarchical construction, and realizes efficient and accurate accounting and visualization results. Cracking and rectifying the network provides a definite basis.

CN114003202BActive Publication Date: 2024-11-05GUANGDONG ANZHENG COMPUTER FORENSIC EXPERTISE INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110593605.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-28
Publication Date
2024-11-05
Estimated Expiration
2041-05-28

AI Technical Summary

Technical Problem

In the field of judicial appraisal of electronic data, the construction of online membership hierarchy is complex, which leads to difficulty in determining facts and amounts, and it is difficult for the existing technology to efficiently and accurately calculate the membership hierarchy structure.

Method used

Through Python scripts, the member organization list is imported into the preset database, and the member ID and the recommender ID are analyzed using recursive functions, a member hierarchical tree structure is constructed, and statistical results are output to form a visual network member hierarchical tree structure diagram.

Benefits of technology

It has achieved efficient and accurate member-level structure accounting, provided scientific, efficient and reliable basis, and supported the crackdown and rectification of online cases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114003202B_ABST
    Figure CN114003202B_ABST
Patent Text Reader

Abstract

The present invention discloses a member hierarchy construction method, device, computer equipment and storage medium, wherein the member hierarchy construction method comprises: importing at least one type of member organization list into a preset database, wherein each type of member organization list includes at least one group of member information; obtaining preset identification requirements, and setting a data input / output format based on the member information and the preset identification requirements; using the data input / output format to obtain the member ID and the recommender ID included in each group of member information; using the recursive function of the preset database to recursively analyze the member ID and the recommender ID to construct a member hierarchy tree structure; and performing statistics on the member hierarchy tree structure. The method can form a visualized network member hierarchy tree structure diagram, provide a reliable and sufficient basis for cracking down on and rectifying the network, and meet the needs of handling network cases.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic data forensic identification, and in particular to a member level construction method, device, computer equipment and storage medium. Background Art

[0002] With the popularization and application of the Internet, illegal activities using the Internet have become increasingly prominent, involving large amounts of money, wide regions, and many people. They are more concealed, deceptive, and rapidly expanding, and their harm is serious. Some organizations, under the guise of "pure capital operation", "chain sales", "e-commerce", "online sales", "online franchising", "online shopping platforms", "private equity funds" and "equity investment", set up websites on the Internet as a platform for paying fees, developing personnel, forming hierarchical networks, and accruing remuneration. They also develop members across regions through the Internet and settle funds through electronic banking and other means.

[0003] However, such cases often involve huge amounts of money and involve numerous and complex personnel and membership levels, which leads to many difficulties in determining facts and amounts. Summary of the invention

[0004] The embodiments of the present invention provide a member level construction method, device, computer equipment and storage medium to solve the problem of complex network member levels.

[0005] A membership level construction method, comprising:

[0006] Importing at least one type of member organization list into a preset database through a Python script, wherein each type of member organization list includes at least one set of member information;

[0007] Get the preset identification requirements, and set the data input / output format in the Python script based on the member information and the preset identification requirements;

[0008] Using data input / output format to obtain the member ID and referrer ID included in each group of member information;

[0009] The recursive function of the preset database is used to recursively analyze the member ID and the referrer ID to construct a member level tree structure;

[0010] Statistics are performed on the member level tree structure to output the member level statistical results.

[0011] A member level construction device, comprising:

[0012] An import database module, used to import at least one type of member organization list into a preset database through a Python script, wherein each type of member organization list includes at least one set of member information;

[0013] Get identification requirements module, used to get preset identification requirements, and set data input / output format in Python script based on member information and preset identification requirements;

[0014] A member ID acquisition module is used to acquire the member ID and the recommender ID included in each group of member information in a data input / output format;

[0015] A recursive analysis module is used to recursively analyze the member ID and the referrer ID using a recursive function of a preset database to construct a member hierarchical tree structure;

[0016] The statistical result output module is used to count the member level tree structure and output the member level statistical results.

[0017] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the member level construction method is implemented when the processor executes the computer program.

[0018] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the member level construction method is implemented.

[0019] The above-mentioned member hierarchy construction method, device, computer equipment and storage medium solve the problem of network member hierarchy construction in the field of electronic data forensic identification through a member architecture hierarchy construction method based on a recursive function, efficiently and accurately calculate the member hierarchy architecture, and form a visual network member hierarchy tree structure diagram, providing a solid and sufficient basis for combating and rectifying the network, and meeting the needs of scientifically, efficiently and reliably establishing a member hierarchy architecture when handling network cases. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0021] Figure 1 is a schematic diagram of an application environment of a member level construction method in one embodiment of the present invention;

[0022] Figure 2 is a flow chart of a method for constructing a membership hierarchy in one embodiment of the present invention;

[0023] Figure 3is another flow chart of a method for constructing a membership hierarchy in one embodiment of the present invention;

[0024] Figure 4 is another flow chart of a method for constructing a membership hierarchy in one embodiment of the present invention;

[0025] Figure 5 is another flow chart of a method for constructing a membership hierarchy in one embodiment of the present invention;

[0026] Figure 6 is another flow chart of a method for constructing a membership hierarchy in one embodiment of the present invention;

[0027] Figure 7 is a schematic diagram of a member level construction device in one embodiment of the present invention;

[0028] Figure 8 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] The member level construction method provided in the embodiment of the present invention can be applied in the following aspects: Figure 1 In the application environment, the member level construction method is applied in a member level construction system, and the member level construction system includes a client and a server, wherein the client communicates with the server through a network. The client, also known as the user end, refers to a program corresponding to the server and providing local services to the client. The client can be installed on, but not limited to, various computer devices such as personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be implemented as an independent server or a server cluster consisting of multiple servers.

[0031] In one embodiment, if Figure 2 As shown, a member level construction method is provided, which is applied in Figure 1 The server in the example is used as an example, and the specific steps include the following:

[0032] S10. Import at least one type of member organization list into a preset database through a Python script, wherein each type of member organization list includes at least one set of member information.

[0033] The preset database may be a common database on the market, such as SQL, mySQL, etc.

[0034] Specifically, the member organization list type may include a table file or a database, etc. The member information includes all obtainable member information such as a member ID and a recommender ID.

[0035] S20. Obtain preset identification requirements, and set data input / output format in the Python script based on member information and preset identification requirements.

[0036] The preset identification requirements are requirements set by the operator based on the materials required for forensic identification. The data input / output format includes the content and form of input and output data.

[0037] Specifically, the operator can set other required fields of input / output in the Python script according to actual conditions.

[0038] S30. Obtain the member ID and recommender ID included in each set of member information using a data input / output format.

[0039] Specifically, the Python script extracts corresponding content in each set of member information according to the data input / output format.

[0040] S40. Use the recursive function of the preset database to recursively analyze the member ID and the recommender ID to construct a member hierarchical tree structure.

[0041] Among them, the member level tree structure is a structure that displays the network member organization in a tree form.

[0042] Specifically, when mySQL is used as the preset database, the recursive function can use a "WITH RECURSIVE" statement or the like to set a query statement.

[0043] S50. Perform statistics on the member level tree structure to output the member level statistical results.

[0044] Specifically, the member-level statistical results can be provided in reports according to the preset identification requirements, such as:

[0045] ① Visualized network membership hierarchy diagram;

[0046] ② A folder with the member ID as the file name, which includes a table file of the corresponding member's superior member information and subordinate member information;

[0047] ③ Statistical analysis summary table, the statistical analysis summary table includes: the level of each member, the number of levels occupied by their downlines, and the number of their downline members.

[0048] The member hierarchy construction method provided in this embodiment solves the problem of network member hierarchy construction in the field of electronic data forensic identification through a member architecture hierarchy construction method based on a recursive function, efficiently and accurately calculates the member hierarchy architecture, and forms a visual network member hierarchy tree structure diagram, providing a solid and sufficient basis for combating and regulating the network, and meeting the needs of scientifically, efficiently and reliably establishing a member hierarchy architecture when handling network cases.

[0049] In a specific embodiment, if Figure 3 As shown, in step S40, the member ID and the recommender ID are recursively analyzed using a recursive function of a preset database to construct a member hierarchical tree structure, which specifically includes the following steps:

[0050] S41, obtaining a recommender ID corresponding to any member as an initial value as the first member, and taking the first member as the root node of the member hierarchical tree structure.

[0051] Specifically, the operator can set the recommender ID corresponding to the root node member to 0 etc. as needed. The root node member means that the level of the member is the first level of the entire network member level (member level tree structure).

[0052] S42, the recursive function uses the member ID corresponding to the first member as the recommender ID as input to perform a query, and the query result obtained is the direct downline members of the first member.

[0053] Specifically, direct downline members are members who are directly introduced into the club by the first member.

[0054] S43. Using the query result obtained in step S42 as input, repeat step S42 and perform the query recursively downward until the direct downline members of each member are obtained.

[0055] S44. Acquire any member who has no direct downline members as the second member, and the second member is a leaf node of the network member hierarchical tree structure.

[0056] S45. The recursive function uses the recommender ID corresponding to the second member as input to perform a query, and the query result obtained is the direct upline member of the second member.

[0057] Specifically, the direct online member is the direct recommender of the second member when he or she joins the club.

[0058] S46. Using the query result obtained in step S45 as input, repeat step S45 and recursively query upward to obtain the direct online members of each member until the root node of the member hierarchy tree structure is obtained.

[0059] S47, determining whether the traversal of all members in the member organization list is completed.

[0060] Specifically, in order to ensure the integrity and reliability of the member hierarchy tree structure, it should be ensured that the records of all members in the member organization list can be reflected in the member hierarchy tree structure.

[0061] If the traversal of all members is completed, the member hierarchical tree structure is output. If the traversal of all members is not completed, step S42 is repeated.

[0062] In a specific embodiment, if Figure 4 As shown, in step S40, the member ID and the recommender ID are recursively analyzed using a recursive function of a preset database to construct a member hierarchical tree structure, which specifically includes the following steps:

[0063] S401. If a member level ring structure appears in the process of constructing the member level tree structure, the corresponding type of processing is performed through the automatic error correction plug-in of the Python script according to the type of the ring structure.

[0064] S402. Repeat the step of using a recursive function of a preset database to recursively analyze the member ID and the recommender ID to construct a member hierarchical tree structure.

[0065] In a specific embodiment, if Figure 5 As shown, in step S401, if a member level ring structure appears in the process of building a member level tree structure, the automatic error correction plug-in of the Python script performs the corresponding type of processing according to the type of the ring structure, which specifically includes the following steps:

[0066] S4011. If the recommender of the third member is a subordinate of the third member in the member hierarchy ring structure, the registration times of the two members at both ends of the member hierarchy ring structure are compared, and the member with the earlier registration time is set as the root node of the member hierarchy tree structure.

[0067] Specifically, the operator should set the recommender ID of the member who registered earlier to 0, that is, the member corresponding to the root node.

[0068] S4012. If the recommender of the fourth member appears in the member hierarchy ring structure is the fourth member, the fourth member is set as the root node of the member hierarchy tree structure.

[0069] Specifically, at this time, the operator should set the recommender ID of the fourth member to 0, that is, the member corresponding to the root node.

[0070] In a specific embodiment, if Figure 6As shown, in step S50, statistics are performed on the member level tree structure to output the member level statistical results, which specifically includes the following steps:

[0071] S51. Output the member hierarchy tree structure into a parent-child tree document of a specified format through a Python script, embed the digital document into the corresponding data item of the ECHART table, and form a visual member hierarchy structure diagram.

[0072] Specifically, the specified format may be JSON format or the like.

[0073] S52. Perform statistical analysis on the visualized member hierarchy structure diagram through Python script, including: statistical analysis of the level of each member, the number of levels occupied by downlines, and the number of downline members, forming statistical results, and storing the statistical results in a hierarchical information summary table.

[0074] Preferably, in step S51, a visual membership hierarchy structure diagram is formed, which specifically includes the following steps:

[0075] A visual membership hierarchy diagram is formed in the form of a web page, wherein the visual membership hierarchy diagram includes a collapsible and editable membership hierarchy structure.

[0076] Specifically, the Python script can display the membership hierarchy of a network organization in the form of an HTML web page, expand or collapse a certain hierarchy branch as needed, and edit the attributes of each member, including: financial status, mobile phone number, and ID number, etc.

[0077] Preferably, after step S51, that is, after forming a visualized member hierarchy structure diagram, the following steps are further specifically included:

[0078] Based on the visualized member hierarchy diagram, the superior-subordinate relationship information of each member is output through Python script. The superior-subordinate relationship information includes the superior member information and subordinate member information corresponding to the member, and the superior-subordinate relationship information is stored in the member folder corresponding to the member.

[0079] Specifically, the operator can use the Python script to output the member's superior member information and subordinate member information as a table file, and put it in a folder with the corresponding member ID as the file name.

[0080] The member hierarchy construction method provided in this embodiment solves the problem of network member hierarchy construction in the field of electronic data forensic identification through a member architecture hierarchy construction method based on a recursive function, efficiently and accurately calculates the member hierarchy architecture, and forms a visual network member hierarchy tree structure diagram, providing a solid and sufficient basis for combating and regulating the network, and meeting the needs of scientifically, efficiently and reliably establishing a member hierarchy architecture when handling network cases.

[0081] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0082] In one embodiment, a member level construction device is provided, and the member level construction device corresponds one-to-one to the member level construction method in the above embodiment. Figure 7 As shown, the member hierarchy construction device includes a database import module 10, an identification requirement acquisition module 20, a member ID acquisition module 30, a recursive analysis module 40 and a statistical result output module 50.

[0083] The detailed description of each functional module is as follows:

[0084] The database importing module 10 is used to import at least one type of member organization list into a preset database through a Python script, wherein each type of member organization list includes at least one set of member information.

[0085] The module 20 for obtaining identification requirements is used to obtain preset identification requirements and set the data input / output format in the Python script based on the member information and the preset identification requirements.

[0086] The member ID acquisition module 30 is used to acquire the member ID and the recommender ID included in each group of member information in a data input / output format.

[0087] The recursive analysis module 40 is used to perform recursive analysis on the member ID and the recommender ID using a recursive function of a preset database to construct a member hierarchical tree structure.

[0088] The statistical result output module 50 is used to perform statistics on the member level tree structure and output the member level statistical results.

[0089] Preferably, the recursive analysis module 40 includes:

[0090] The first member acquisition module is used to acquire the recommender ID corresponding to any member as the initial value as the first member, and the first member is used as the root node of the member hierarchical tree structure.

[0091] The query module is used for the recursive function to use the member ID corresponding to the first member as the recommender ID as input to query, and the query results obtained are the direct offline members of the first member.

[0092] The repeated execution module is used to take the query result obtained in step S2 as input, repeatedly execute step S42, and recursively query downward until the direct downline members of each member are obtained.

[0093] As a second member module, it is used to obtain any member who has no direct downline members as the second member, and the second member is a leaf node of the network member hierarchical tree structure.

[0094] The module for obtaining the upline member is used for the recursive function to query the referral ID corresponding to the second member as input, and the query result obtained is the direct upline member of the second member.

[0095] The root node obtaining module is used to take the query result obtained in step S45 as input, repeatedly execute step S45, and recursively query upward to obtain the direct online members of each member until the root node of the member hierarchy tree structure is obtained.

[0096] The module for determining whether all members have been traversed is used to determine whether the traversal of all members in the member organization list has been completed.

[0097] The completion submodule is used to output the member level tree structure if the traversal of all members is completed.

[0098] The unfinished submodule is used to repeat step S42 if the traversal of all members is not completed.

[0099] Preferably, the recursive analysis module 40 includes:

[0100] A ring structure module appears, which is used to execute corresponding type of processing through the automatic error correction plug-in of the Python script according to the type of ring structure if a member level ring structure appears in the process of building a member level tree structure.

[0101] The tree structure building module is used to repeatedly execute the steps of recursively analyzing the member ID and the recommender ID using the recursive function of the preset database to build a member level tree structure.

[0102] Preferably, the ring structure module comprises:

[0103] The registration time comparison submodule is used to compare the registration times of the two members at both ends of the member hierarchy ring structure if the recommender of the third member is his subordinate in the member hierarchy ring structure, and set the member with the earlier registration time as the root node of the member hierarchy tree structure.

[0104] A root node submodule is set to set the fourth member as the root node of the member hierarchy tree structure if the recommender of the fourth member appears to be the fourth member in the member hierarchy ring structure.

[0105] Preferably, the statistical result output module 50 includes:

[0106] The structure diagram submodule is used to output the member level tree structure into a parent-child tree document of a specified format through a Python script, embed the digital document into the corresponding data item of the ECHART table, and form a visual member level structure diagram.

[0107] The submodule for storing statistical results is used to perform statistical analysis on the visualized member hierarchy structure diagram through Python scripts, including: statistical analysis of the level of each member, the number of levels occupied by downlines, and the number of downline members, forming statistical results, and storing the statistical results in the hierarchical information summary table.

[0108] Preferably, forming a structure diagram submodule includes:

[0109] A web page unit is formed, which is used to form a visual member hierarchy structure diagram in the form of a web page, wherein the visual member hierarchy structure diagram includes a collapsible and editable member hierarchy structure.

[0110] Preferably, the forming structure diagram submodule further includes:

[0111] The module for storing superior-subordinate relationship information is used to output the superior-subordinate relationship information of each member through Python script based on the visual member hierarchy structure diagram. The superior-subordinate relationship information includes the superior member information and subordinate member information corresponding to the member, and the superior-subordinate relationship information is stored in the member folder corresponding to the member.

[0112] For the specific definition of the member level construction device, please refer to the definition of the member level construction method above, which will not be repeated here. Each module in the above-mentioned member level construction device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0113] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for data related to the member level construction method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a member level construction method is implemented.

[0114] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the member level construction method of the above embodiment is implemented, for example Figure 2 Alternatively, when the processor executes the computer program, the functions of each module / unit of the member level construction device in the above embodiment are realized, for example Figure 7 The functions of the modules 10 to 50 are shown in detail and will not be described again here to avoid repetition.

[0115] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the member level construction method of the above embodiment is implemented, for example Figure 2 Alternatively, when the computer program is executed by the processor, the functions of each module / unit in the member level construction device in the above device embodiment are realized, for example Figure 7 The functions of the modules 10 to 50 are shown in detail and will not be described again here to avoid repetition.

[0116] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments of the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0117] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0118] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.

Claims

1. A method for constructing a membership hierarchy, characterized in that: include: Importing at least one type of member organization list into a preset database through a Python script, wherein each type of member organization list includes at least one set of member information; Obtaining preset authentication requirements, and setting a data input / output format in the Python script based on the member information and the preset authentication requirements; Using the data input / output format to obtain the member ID and referrer ID included in each group of member information; The member ID and the recommender ID are recursively analyzed by using a recursive function of a preset database to construct a member hierarchical tree structure, including: S41, obtaining a recommender ID corresponding to any member as an initial value as a first member, and taking the first member as a root node of the member hierarchical tree structure; S42, the recursive function uses the member ID corresponding to the first member as the recommender ID as input to perform a query, and the query result obtained is the direct downline members of the first member; S43, taking the query result obtained in step S2 as input, repeatedly executing step S42, and recursively querying downward until the direct downline members of each member are obtained; S44, obtaining any member who has no direct downline members as a second member, and the second member is a leaf node of the member hierarchical tree structure; S45, the recursive function uses the recommender ID corresponding to the second member as input to perform a query, and the query result obtained is the direct upline member of the second member; S46, taking the query result obtained in step S45 as input, repeatedly executing step S45, recursively querying upwards, obtaining the direct upline members of each member, and terminating after obtaining the root node of the member hierarchy tree structure; S47, determining whether the traversal of all members in the member organization list is completed; If the traversal of all members is completed, the member level tree structure is output; If the traversal of all members is not completed, step S42 is repeated; If a member hierarchical ring structure appears in the process of constructing the member hierarchical tree structure, the automatic error correction plug-in of the Python script performs corresponding types of processing according to the type of the ring structure, including: if the recommender of the third member appears in the member hierarchical ring structure as the third member's subordinate, the registration time of the two members at both ends of the member hierarchical ring structure is compared, and the member with the earlier registration time is set as the root node of the member hierarchical tree structure; If the recommender of the fourth member in the member hierarchy ring structure is the fourth member, the fourth member is set as the root node of the member hierarchy tree structure; Repeating the step of using a recursive function of a preset database to recursively analyze the member ID and the recommender ID to construct a member hierarchical tree structure; The member level tree structure is statistically processed to output the member level statistical results, including: outputting the member level tree structure into a parent-child tree document in a specified format through the Python script, embedding the parent-child tree document into the data item corresponding to the ECHART table, and forming a visual member level structure diagram; The Python script is used to perform statistical analysis on the visualized member hierarchy diagram, including: statistically analyzing the level of each member, the number of levels occupied by downlines, and the number of downline members, forming statistical results, and storing the statistical results in a hierarchy information summary table.

2. The member level construction method according to claim 1, characterized in that: The forming of a visual membership hierarchy structure diagram includes: A visual member hierarchical structure diagram is formed in the form of a web page, wherein the visual member hierarchical structure diagram includes a collapsible and editable member hierarchical structure.

3. The member level construction method according to claim 1, characterized in that: After forming a visual membership hierarchy structure diagram, the following specific steps are included: Based on the visualized member hierarchy diagram, the superior-subordinate relationship information of each member is output through Python script. The superior-subordinate relationship information includes the superior member information and subordinate member information corresponding to the member, and the superior-subordinate relationship information is stored in the member folder corresponding to the member.

4. A member level construction device, characterized in that: include: An import database module, used to import at least one type of member organization list into a preset database through a Python script, wherein each type of the member organization list includes at least one set of member information; An identification requirement acquisition module is used to acquire preset identification requirements and set a data input / output format in the Python script based on the member information and the preset identification requirements; A member ID acquisition module, used to acquire the member ID and recommender ID included in each group of member information using the data input / output format; A recursive analysis module is provided, which is used to recursively analyze the member ID and the recommender ID using a recursive function of a preset database to construct a member hierarchical tree structure, including: S41, obtaining the recommender ID corresponding to any member as an initial value as the first member, and taking the first member as the root node of the member hierarchical tree structure; S42, the recursive function uses the member ID corresponding to the first member as the recommender ID as input for query, and the query result obtained is the direct downline member of the first member; S43, using the query result obtained in step S2 as input, repeating step S42, and recursively querying downward until the direct downline members of each member are obtained; S44, obtaining any member who does not have a direct downline member as the second member, and the second member is the leaf node of the member hierarchical tree structure; S45, the recursive function uses the recommender ID corresponding to the second member as input for query, and the query result obtained is the direct upline member of the second member; S46, using the query result obtained in step S45 as input, repeating step S45, and recursively querying upward Query to obtain the direct online member of each member until the root node of the member hierarchy tree structure is obtained; S47, determine whether the traversal of all members in the member organization list is completed; if the traversal of all members is completed, output the member hierarchy tree structure; if the traversal of all members is not completed, repeat step S42; if a member hierarchy ring structure appears in the process of constructing the member hierarchy tree structure, then according to the type of the ring structure, the automatic error correction plug-in of the Python script performs the corresponding type of processing, including: if the recommender of the third member appears in the member hierarchy ring structure as its subordinate, then compare the registration time of the two members at both ends of the member hierarchy ring structure, and set the member with the earlier registration time as the root node of the member hierarchy tree structure; if the recommender of the fourth member appears in the member hierarchy ring structure as itself, then set the fourth member as the root node of the member hierarchy tree structure; repeat the step of recursively analyzing the member ID and the recommender ID using the recursive function of the preset database to construct the member hierarchy tree structure; The statistical result output module is used to perform statistics on the member hierarchy tree structure and output the member hierarchy statistical results, including: outputting the member hierarchy tree structure into a parent-child tree document in a specified format through the Python script, embedding the parent-child tree document into the data item corresponding to the ECHART table, and forming a visual member hierarchy structure diagram; performing statistical analysis on the visual member hierarchy structure diagram through the Python script, including: statistically analyzing the level of each member, the number of levels occupied by the downline, and the number of downline members to form statistical results, and storing the statistical results in a hierarchy information summary table.

5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the membership hierarchy construction method according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the membership hierarchy construction method as described in any one of claims 1 to 3 is implemented.