CN111708782A - Data structure construction method, device, equipment and storage medium - Google Patents

Data structure construction method, device, equipment and storage medium Download PDF

Info

Publication number
CN111708782A
CN111708782A CN202010560225.8A CN202010560225A CN111708782A CN 111708782 A CN111708782 A CN 111708782A CN 202010560225 A CN202010560225 A CN 202010560225A CN 111708782 A CN111708782 A CN 111708782A
Authority
CN
China
Prior art keywords
configuration information
quota
current
node
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010560225.8A
Other languages
Chinese (zh)
Inventor
吴岘辉
陈龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tongbang Zhuoyi Technology Co ltd
Original Assignee
Beijing Tongbang Zhuoyi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tongbang Zhuoyi Technology Co ltd filed Critical Beijing Tongbang Zhuoyi Technology Co ltd
Priority to CN202010560225.8A priority Critical patent/CN111708782A/en
Publication of CN111708782A publication Critical patent/CN111708782A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a method, a device, equipment and a storage medium for constructing a data structure, wherein the method comprises the following steps: receiving a configuration information change request of a quota system triggered by a first user, wherein the configuration information change request comprises: current configuration information; judging whether the current business of the quota system meets the configuration information change condition or not according to the configuration information change request; if the current service of the quota system is determined to meet the configuration information change condition, acquiring the current configuration information; and constructing a credit line data tree structure corresponding to a second user in the credit line system current service according to the current configuration information. The change of the configuration information only relates to the change of the second user configuration information related to the current service, the change of the whole quota system configuration information is dispersed to each service needing to be processed, the resources of the system are not greatly occupied at the same time, other services can be enabled to normally operate, and the quota data of the user can be efficiently managed.

Description

Data structure construction method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a method, a device, equipment and a storage medium for constructing a data structure.
Background
With the rapid development of computer technology and information technology, data generated by industrial application is explosively increased, and the data needs to be efficiently and safely stored and managed.
In the field of network loan, the responsibility of the quota center is to maintain the credit quota system of the client and provide the functions of initializing, freezing, unfreezing, occupying, recovering, losing, increasing, decreasing and the like of quota data.
In the existing method for constructing the quota system, when the configuration information of the quota system changes, the whole quota system is updated in real time according to the changed configuration information. And the existing limit system constructed is constructed by adopting a common database structure. Because the whole quota system is updated in real time according to the changed configuration information, the change of a large amount of client quota configuration information can be touched, so that a large amount of system resources are occupied, the normal operation of other services is influenced, and the management efficiency of the quota system is reduced. And the quota system constructed by adopting the common database structure can not efficiently manage the quota data of the user.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for constructing a data structure, which solve the problem in the prior art that a large amount of system resources are occupied due to a large amount of changes of client quota configuration information caused by updating a whole quota system in real time according to changed configuration information, which affects normal operations of other services, and reduces management efficiency of the quota system. And the technical problem that the quota system constructed by adopting the common database structure can not efficiently manage the quota data of the user is solved.
In a first aspect, an embodiment of the present invention provides a method for constructing a data structure, including:
receiving a configuration information change request of a quota system triggered by a first user, wherein the configuration information change request comprises: current configuration information; judging whether the current business of the quota system meets the configuration information change condition or not according to the configuration information change request; if the current business of the limit system is determined to meet the change condition of the configuration information, acquiring the current configuration information; and constructing a credit line data tree structure corresponding to a second user in the credit line system current service according to the current configuration information.
In a second aspect, an embodiment of the present invention provides an apparatus for constructing a data structure, including:
a change request receiving module, configured to receive a configuration information change request of a quota system triggered by a first user, where the configuration information change request includes: current configuration information; the change condition judgment module is used for judging whether the current business of the quota system meets the change condition of the configuration information according to the change request of the configuration information; the configuration information acquisition module is used for acquiring current configuration information if the current business of the quota system is determined to meet the configuration information change condition; and the tree structure construction module is used for constructing a credit data tree structure corresponding to a second user in the credit system current service according to the current configuration information.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method according to any one of the first aspect.
The embodiment of the invention provides a method, a device, equipment and a storage medium for constructing a data structure, wherein a configuration information change request of a quota system triggered by a first user is received, and the configuration information change request comprises the following steps: current configuration information; judging whether the current business of the quota system meets the configuration information change condition or not according to the configuration information change request; if the current service of the quota system is determined to meet the configuration information change condition, acquiring the current configuration information; and constructing a credit line data tree structure corresponding to a second user in the credit line system current service according to the current configuration information. The change of the configuration information only relates to the change of the second user configuration information related to the current business, the change of the whole quota system configuration information is dispersed into each business needing to be processed, the configured change information is safely excessive into the whole quota system, resources of the system are not greatly occupied at the same time, other businesses can normally operate, data are managed by adopting a quota data tree structure, and the quota data tree structure can manage the data in a layered and top-down mode, so that the quota data of the user can be efficiently managed.
It should be understood that what is described in the summary above is not intended to limit key or critical features of embodiments of the invention, nor is it intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a method for constructing a data structure according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for constructing a data structure according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a first usage state of a template configuration interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a first usage state of a template configuration interface according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a first product configuration interface in an embodiment of the invention;
FIG. 6 is a schematic illustration of a second product configuration interface in an embodiment of the invention;
FIG. 7 is a schematic illustration of a third product configuration interface in an embodiment of the invention;
FIG. 8 is a flowchart of a method for constructing a data structure according to a second embodiment of the present invention;
FIG. 9 is a flowchart of step 203 in the method for constructing a data structure according to the second embodiment of the present invention;
FIG. 10 is a flowchart of step 205 in the method for constructing a data structure according to the second embodiment of the present invention;
FIG. 11 is a diagram illustrating a structure of a credit tree according to a second embodiment of the present invention;
fig. 12 is a schematic structural diagram of a data structure building apparatus according to a third embodiment of the present invention;
fig. 13 is a schematic structural diagram of a data structure building apparatus according to a fourth embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For clear understanding of the technical solutions of the present application, the terms involved are explained first:
the credit data tree structure is abbreviated as: the quota tree, after modeling the quota system by adopting the tree structure, is called the image of the quota system, in the following embodiment, for the convenience of description, the quota tree is used to represent the quota data tree structure.
Quota nodes: the specific node in the quota tree can be associated with the father node and the child node according to the position of the quota node in the quota tree.
And (3) a quota tree root quota node: the special quota node is positioned at the topmost layer of the quota tree, only the child node is associated, and no parent node is arranged.
Limit tree leaf limit node: the special quota node is positioned at the bottommost layer of the quota tree, has no child node, and only can be associated with the parent node.
First, an application scenario of the data management method provided in the embodiment of the present invention is described. As shown in fig. 1, the application scenario of the embodiment of the present invention may include: the electronic device comprises a first electronic device and a second electronic device. The first electronic equipment is electronic equipment of a management person of the quota system, and the second electronic equipment is electronic equipment of a client of the quota system. The manager of the quota system is the first user, and the client of the quota system is the second user. The first user manages the quota data in the quota system through the first electronic device. The second user can actively trigger the related quota service through the second electronic device. And sending the quota related service to the first electronic equipment so that the first electronic equipment processes quota data of the second user according to the quota related service. First, the data of the quota of each second user in the quota system needs to be managed by using a quota tree. Before managing the quota data of the second user, if the configuration information of the quota system needs to be changed, the first user can trigger the configuration information change request of the quota system by clicking the configuration information change control in the configuration interface. And the configuration information is changed by selecting or inputting the corresponding current configuration parameters in the displayed configuration information change window. After receiving the current configuration parameters, the first electronic equipment does not directly carry out the overall change of the credit system corresponding to all the second users, but waits for the credit system current service sent by the second electronic equipment according to the configuration information change request, judges whether the credit system current service meets the configuration information change condition or not after obtaining the credit system current service, and obtains the current configuration information if determining that the credit system current service meets the configuration information change condition; and constructing a credit line data tree structure corresponding to a second user in the credit line system current service according to the current configuration information. Therefore, the change of the configuration information only relates to the change of the second user configuration information related to the current business, the change of the whole quota system configuration information is dispersed into each business needing to be processed, the configured change information is safely excessive into the whole quota system, resources of the system are not greatly occupied at the same time, other businesses can normally operate, the data is managed by adopting a quota data tree structure, and the quota data tree structure can manage the data in a layered and top-down mode, so that the quota data of the user can be efficiently managed.
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example one
Fig. 2 is a flowchart of a method for constructing a data structure according to an embodiment of the present invention, and as shown in fig. 2, an execution main body of the method for constructing a data structure according to the embodiment is a data structure constructing device, the data structure constructing device may be integrated in an electronic device, and the electronic device is a first electronic device corresponding to a first user, and the method for constructing a data structure according to the embodiment includes the following steps.
Step 101, receiving a configuration information change request of a quota system triggered by a first user, wherein the configuration information change request comprises: current configuration information.
In this embodiment, in the process that the first user manages the quota data in the quota system through the first electronic device, in order to manage the quota data of all the second users more reasonably, the first user may change the configuration information of the quota system through the configuration interface of the first electronic device. More specifically, the configuration information change control is clicked in the configuration interface, or the changed configuration information is selected or input, and the configuration information change request of the quota system is triggered.
The configuration information for changing can be the father-son relationship of each layer of quota nodes in the quota data tree structure in the general quota template information, and can also be a quota calculation strategy of non-leaf quota nodes. Or the changed configuration information can also be attribute information or additional quota information of the leaf quota node.
Optionally, if the changed configuration information is the parent-child relationship of each layer of the quota node in the quota data tree structure in the general quota template information, as shown in fig. 3, the change of the parent-child relationship configuration of each layer of the quota node in the quota data tree structure can be triggered by clicking the editing control of each layer of the quota node and by using the corresponding control in the hierarchy content editing window displayed on the right side.
In this embodiment, the basic quota attributes of each quota node include: the credit limit, the frozen limit and the occupied limit are arranged in the limit calculation strategy of the non-leaf limit node configured in the template configuration interface, the credit limit of the non-leaf limit node is generated according to the limit calculation strategy and the credit limits of all the sub-nodes, and the specific limit calculation strategy comprises the strategies of summation, big calculation, small calculation and the like. Or an irrelevant strategy can be set, if the strategy is the irrelevant strategy, the credit line of the current non-leaf line node can be generated by the line-related wind control strategy model and is irrelevant to the credit line of the child node. Similarly, the frozen quota and the occupied quota can also be generated by summing according to the frozen quota and the occupied quota of all the child nodes, if the quota node is a leaf node, the credit quota is default to zero, and meanwhile, the credit quota is not involved in the calculation of the credit quota of the parent quota node. The frozen quota and the occupied quota are also defaulted to zero, but participate in the generation of the frozen quota and the occupied quota of the parent node.
Optionally, if the changed configuration information is the quota calculation policy of the non-leaf quota node in the quota data tree structure in the general quota template information, as shown in fig. 4, the configuration change of the quota calculation policy of the non-leaf quota node may be triggered by clicking the corresponding control in the editing node rule window displayed on the right side after the node rule is edited.
Optionally, if the changed configuration information is attribute information of a leaf credit node, as shown in fig. 5 or fig. 6, if the leaf credit node is attached to the credit tree, the first product configuration interface in fig. 5 may be used to select or input the attribute information of the product corresponding to the leaf credit node to perform corresponding configuration change. If the leaf credit node is not affiliated to the credit tree, the attribute information of the corresponding product of the leaf credit node can be selected or input through a second product configuration interface in fig. 6 to carry out corresponding configuration change.
Wherein, the attribute information of the product corresponding to the leaf quota node may include: currency type, whether the money can be recycled, whether the money is hung on a limit tree and the like.
Optionally, if the changed configuration information is the additional attribute information of the leaf credit node, the additional credit information of the product corresponding to the leaf credit node may be selected or input through a third product configuration interface as shown in fig. 7 to perform corresponding configuration change.
Wherein, the additional amount information may include: the upper limit of the credit limit of the product, the limit recovery mode, the association configuration of the product and the leaf limit node and the like. The association configuration of the products and the leaf limit nodes can be associated by selecting the product names corresponding to the leaf limit nodes.
In this embodiment, the configuration information change request includes: current configuration information, the current configuration information comprising: the updated configuration information may further include: and directly changing the identification information of the quota node. Wherein the current configuration information is available through the corresponding configuration interface.
And 102, judging whether the current business of the quota system meets the configuration information change condition or not according to the configuration information change request.
Specifically, in this embodiment, after receiving the configuration information change request, it is monitored whether the first electronic device receives the request of the credit-related service sent by the second electronic device, and if the request of the credit-related service is received, it indicates that the current service of the credit system needs to be processed. And analyzing the current service, and judging whether the current service meets the configuration information change condition.
Optionally, when determining whether the current service meets the configuration information change condition, it may be determined whether the credit risk management and control of the second user is triggered, and if the credit risk management and control of the second user is triggered, it indicates that the configuration information change condition is met. If the limit risk control on the second user is not triggered, the configuration information change condition is not met.
Or other manners may be adopted when determining whether the current service satisfies the configuration information change condition, which is not limited in this embodiment.
Step 103, if it is determined that the current business of the quota system meets the configuration information change condition, acquiring the current configuration information.
Specifically, in this embodiment, if it is determined that the current service of the quota system meets the configuration information change condition, which indicates that the configuration information change condition is met, the current configuration information is obtained, and since the configuration information change request is triggered in the configuration interface, the current configuration information can be obtained through the configuration interface.
And 104, constructing a credit data tree structure corresponding to a second user in the credit system current service according to the current configuration information.
In this embodiment, the current configuration information includes: and the parent-child relationship of the current each layer of quota nodes and the current quota configuration information. The parent-child relationship of each layer of quota nodes at present may be a parent-child relationship of each layer of quota nodes that have not been changed, or may be a parent-child relationship of each layer of quota nodes after being changed, which is not limited in this embodiment.
Wherein, the current quota configuration information may include: and the quota configuration information of at least one quota node after updating and the quota configuration information of the existing quota node which is not changed.
Specifically, in this embodiment, an initial quota data tree structure may be generated according to the parent-child relationship of quota nodes of each current layer; and then configuring the corresponding quota node according to the current quota configuration information to generate a quota tree corresponding to the second user.
In the method for constructing a data structure provided in this embodiment, a configuration information change request of a quota system triggered by a first user is received, where the configuration information change request includes: current configuration information; judging whether the current business of the quota system meets the configuration information change condition or not according to the configuration information change request; if the current service of the quota system is determined to meet the configuration information change condition, acquiring the current configuration information; and constructing a credit line data tree structure corresponding to a second user in the credit line system current service according to the current configuration information. The change of the configuration information only relates to the change of the second user configuration information related to the current business, the change of the whole quota system configuration information is dispersed into each business needing to be processed, the configured change information is safely excessive into the whole quota system, resources of the system are not greatly occupied at the same time, other businesses can normally operate, data are managed by adopting a quota data tree structure, and the quota data tree structure can manage the data in a layered and top-down mode, so that the quota data of the user can be efficiently managed.
Example two
Fig. 8 is a flowchart of a method for constructing a data structure according to a second embodiment of the present invention, and as shown in fig. 8, the method for constructing a data structure according to the second embodiment of the present invention is further detailed in steps 101 to 104 on the basis of the method for constructing a data structure according to the first embodiment of the present invention, and further includes a step of managing and controlling an quota risk corresponding to a second user according to a quota data tree structure, and a step of processing a current service corresponding to the second user according to a quota data tree structure.
Step 201, receiving a configuration information change request of a quota system triggered by a first user, where the configuration information change request includes: current configuration information.
Optionally, in this embodiment, the current configuration information includes: the parent-child relationship of the current each layer of quota node, the current quota configuration information and the identification information of the direct quota changing node.
Step 202, changing the configuration of the quota node corresponding to the identification information of the direct quota changing node according to the current configuration information.
Optionally, in this embodiment, after receiving a configuration information change request of the quota system triggered by the first user, the configuration of the quota node corresponding to the identification information of the directly changed quota node may be preferentially changed according to the current configuration information.
Exemplarily, if the credit line calculation policy of each credit line node in the configuration information of each credit line node in the second layer is changed, the credit line of each credit line node is summed up by the original credit lines corresponding to all the child nodes, and the change is performed to increase the credit line corresponding to all the child nodes, only the configuration of the credit line calculation policy of each credit line node in the second layer is changed. Each credit node of the second layer is a direct credit changing node.
Step 203, judging whether the current business of the quota system meets the configuration information change condition according to the configuration information change request.
It should be noted that before determining that the current service of the quota system does not meet the configuration information change condition, the quota system configuration information change request triggered by the first user may be received for multiple times, and the configuration information change request may only trigger the configuration of the quota node corresponding to the identification information of the directly changed quota node to be changed according to the current configuration information, and may not be synchronized to the quota trees of all the second users in real time. And aiming at the current service of the second user, after the condition that the configuration information change is met is determined, the quota tree of the second user is constructed at one time to be synchronized to the quota tree of the second user.
As an alternative implementation, in this embodiment, as shown in fig. 9, step 203 includes the following steps:
step 2031, monitoring whether the current service of the quota system triggers quota risk control on the second user according to the configuration information change request, if yes, executing step 2032, otherwise executing step 2033.
Step 2032, determining that the current service of the quota system meets the configuration information change condition.
Step 2033, determining that the current service of the quota system does not satisfy the change condition of the configuration information.
Specifically, in this embodiment, if the current service of the quota system triggers quota risk management and control of the second user, it indicates that a quota tree needs to be constructed to manage quota data of the second user, and one or more changes of configuration information may be synchronized to the quota tree by constructing the quota tree of the second user. Therefore, when judging whether the configuration information change condition is met, monitoring whether the current business of the quota system triggers quota risk control on the second user. And if determining that the limit risk control of the second user is triggered, determining that the current business of the limit system meets the configuration information change condition, and if determining that the limit risk control of the second user is not triggered, determining that the current business of the limit system does not meet the configuration information change condition.
And 204, if the current service of the quota system is determined to meet the configuration information change condition, acquiring the current configuration information.
And step 205, adopting a recursive algorithm to construct a quota data tree structure corresponding to the second user according to the current configuration information.
As an alternative implementation, in this embodiment, as shown in fig. 10, step 205 includes the following steps:
step 2051, for each credit node, judging whether a next-level credit node exists according to the parent-child relationship information of the current credit node of each level; if the next level quota node is determined to exist, the next level quota node is preferentially constructed, and after the next level quota node is constructed, the current quota node is constructed until the root quota node is constructed from the leaf quota node.
Specifically, in this embodiment, each first-layer sub-limit node of the root limit node is searched; aiming at each first-layer sub-limit node, judging whether the first-layer sub-limit node has a second-layer sub-limit node or not, if so, constructing the second-layer sub-limit node, and if not, constructing the first-layer sub-limit node; for each second-layer sub-limit node, judging whether the second-layer sub-limit node has a third-layer sub-limit node or not, if so, constructing the third-layer sub-limit node, and if not, constructing the third-layer sub-limit node; and repeating the steps until the construction of each layer of quota nodes is completed.
The tree structure formed by the constructed limit nodes of each layer is an initial limit data tree structure, which is called an initial limit tree for short.
Step 2052, configuring each quota node according to the current quota configuration information.
Specifically, in this embodiment, the current quota configuration information in the current quota configuration information may include: and the quota configuration information of at least one quota node after updating and the quota configuration information of the existing quota node which is not changed. Therefore, the quota configuration is carried out on each quota node in the initial quota data tree structure according to the updated quota configuration information of at least one quota node and the existing quota configuration information of the unchanged quota node so as to generate a final quota data tree structure.
Exemplarily, as shown in fig. 11, the constructed credit tree has 4 credit nodes, except for the lowest layer where the leaf credit node is located, each layer on the upper layer of the leaf credit node represents one management dimension, that is, three credit management nodes. The first layer only has one root limit node which is fixed as the comprehensive limit management dimension of the user and represents the comprehensive limit information of the user. The second layer represents the loan product type management dimensionality and can be divided into two sub-classes of credit loan lines and mortgage loan lines, wherein one sub-class is represented by a line node. The third layer represents the partner type management dimension and can be divided into two sub-categories of self-supporting product quota and non-self-supporting product quota. As shown in fig. 2, the client has line information under four products of the product A, B, C, D, and the four product line information are respectively hung on four bottommost leaf line nodes of the line tree.
And step 206, managing and controlling the quota risk corresponding to the second user according to the quota data tree structure.
In this embodiment, after the limit tree of the second user is constructed and before the current service of the second user is processed, it is necessary to evaluate whether the second user is a credit granting user, so that data of the second user in each limit management and control dimension in the limit tree needs to be obtained to determine whether the second user has a limit risk, and if the limit risk exists, how much the corresponding limit risk exists is to implement management and control of the limit risk.
It is understood that if the second user has no or low risk of quota, the current service may be accepted.
And step 207, processing the current service corresponding to the second user according to the limit data tree structure.
Specifically, the type of the current service is not limited, and may be, for example, a loan service, a payment service, an amount adjustment service, or the like.
Optionally, if the current service is a loan service, the credit remaining amount can be obtained through the amount tree; judging whether the credit remaining amount is larger than the loan application amount; and if the credit remaining amount is determined to be larger than or equal to the loan application amount, adjusting the frozen amount and the occupied amount corresponding to each layer of amount node in the amount data tree structure from bottom to top according to the loan application amount.
Optionally, if the current service is a repayment service, obtaining a loan cycle attribute corresponding to a loan amount node in the limit data tree structure; if the loan cycle attribute is the cycle attribute, adjusting the occupation amount according to the repayment application amount; if the loan cycle attribute is a non-cycle attribute, keeping the occupation amount unchanged according to the repayment application amount.
It is worth mentioning that the second user can also view the corresponding credit line tree. Specifically, a first electronic device receives a service display request triggered by a second user through a second electronic device; the first electronic equipment sends the corresponding credit tree to the second electronic equipment according to the service display request, and displays the credit data tree structure in a tree connection mode; if the first electronic equipment also receives a statistical request of a certain quota node triggered by a second user through the second electronic equipment; then responding to the counting request, the first electronic equipment sends the quota counting information of the quota node to the second electronic equipment so as to display the quota counting information of the quota node.
In the method for constructing a data structure provided by this embodiment, when determining whether the current service of the quota system meets the change condition of the configuration information according to the change request of the configuration information, monitoring whether the current service of the quota system triggers quota risk control on the second user according to the change request of the configuration information; if the limit risk control of the second user is determined to be triggered, determining that the current business of the limit system meets the configuration information change condition; and if determining that the limit risk control of the second user is not triggered, determining that the current business of the limit system does not meet the configuration information change condition. The configuration information can be effectively changed when the quota tree of the second user needs to be constructed. When the configuration information change condition is not met, the configuration information can be changed by constructing the quota tree of the second user once according to the change of the configuration information for multiple times, so that the change frequency of the quota tree is effectively reduced, and the efficiency of the configuration information change is effectively improved.
EXAMPLE III
Fig. 12 is a schematic structural diagram of a data structure building apparatus according to a third embodiment of the present invention, and as shown in fig. 12, a data structure building apparatus 1200 according to the third embodiment includes: a change request receiving module 1201, a change condition judging module 1202, a configuration information acquiring module 1203, and a tree structure constructing module 1204.
The change request receiving module 1201 is configured to receive a configuration information change request of a quota system triggered by a first user, where the configuration information change request includes: current configuration information. And a change condition determining module 1202, configured to determine whether the current service of the quota system meets the configuration information change condition according to the configuration information change request. A configuration information obtaining module 1203, configured to obtain the current configuration information if it is determined that the current service of the quota system meets the configuration information change condition. And a tree structure constructing module 1204, configured to construct, according to the current configuration information, a credit data tree structure corresponding to a second user in the credit system current service.
The apparatus for constructing a data structure provided in this embodiment may execute the technical solution of the method embodiment shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Example four
Fig. 13 is a schematic structural diagram of a data structure building apparatus according to a fourth embodiment of the present invention, and as shown in fig. 13, the data structure building apparatus according to the present embodiment further includes, on the basis of the data structure building apparatus 1200 according to the first embodiment of the present invention: a risk management and control module 1301, a configuration change module 1302, and a business processing module 1303.
Optionally, the change condition determining module 1202 is specifically configured to:
monitoring whether the current business of the quota system triggers quota risk control on a second user or not according to the configuration information change request; if the limit risk control of the second user is determined to be triggered, determining that the current business of the limit system meets the configuration information change condition; and if determining that the limit risk control of the second user is not triggered, determining that the current business of the limit system does not meet the configuration information change condition.
Optionally, the tree structure constructing module 1204 is specifically configured to:
and constructing a limit data tree structure corresponding to the second user according to the current configuration information by adopting a recursive algorithm.
Optionally, the current configuration information includes: and the parent-child relationship of the current each layer of quota nodes and the current quota configuration information.
Correspondingly, the tree structure constructing module 1204, when adopting a recursive algorithm to construct the credit data tree structure corresponding to the second user according to the current configuration information, is specifically configured to:
for each quota node, judging whether a next hierarchy quota node exists according to the parent-child relationship information of the current quota node of each layer; if the next level limit node is determined to exist, the next level limit node is preferentially constructed, and after the next level limit node is constructed, the current limit node is constructed until the root limit node is constructed from the leaf limit node; and configuring each quota node according to the current quota configuration information.
Optionally, the risk management and control module 1301 is configured to manage and control an amount risk corresponding to the second user according to the amount data tree structure.
Optionally, the configuration information change request further includes: directly changing the identification information of the quota node;
correspondingly, the configuration change module 1302 is configured to change the configuration of the credit line node corresponding to the identification information of the directly changed credit line node according to the current configuration information.
Optionally, the service processing module 1303 is configured to process a current service corresponding to the second user according to the credit data tree structure.
The construction apparatus of the data structure provided in this embodiment may execute the technical solutions of the method embodiments shown in fig. 8 to fig. 10, and the implementation principles and technical effects thereof are similar and will not be described herein again.
Example four
Fig. 14 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention, and as shown in fig. 14, an electronic device 1400 according to a fourth embodiment of the present invention includes: memory 1401, processor 1402, and computer programs.
Wherein the computer program is stored in the memory 1401 and configured to be executed by the processor 1402 to implement the method of constructing a data structure provided by any one of the embodiments of the present invention. The electronic equipment is first electronic equipment.
The related descriptions and effects corresponding to the steps in the drawings can be correspondingly understood, and redundant description is not repeated here.
In this embodiment, the memory 1401 and the processor 1402 are connected by a bus.
EXAMPLE five
Fifth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for constructing a data structure provided in any embodiment of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (16)

1. A method for constructing a data structure, comprising:
receiving a configuration information change request of a quota system triggered by a first user, wherein the configuration information change request comprises: current configuration information;
judging whether the current business of the quota system meets the configuration information change condition or not according to the configuration information change request;
if the current business of the limit system is determined to meet the change condition of the configuration information, acquiring the current configuration information;
and constructing a credit line data tree structure corresponding to a second user in the credit line system current service according to the current configuration information.
2. The method of claim 1, wherein the determining whether the current business of the quota system meets the configuration information change condition according to the configuration information change request comprises:
monitoring whether the current business of the quota system triggers quota risk control on a second user or not according to the configuration information change request;
if determining to trigger the limit risk control of the second user, determining that the current business of the limit system meets the configuration information change condition;
and if determining that the limit risk control of the second user is not triggered, determining that the current business of the limit system does not meet the configuration information change condition.
3. The method of claim 1, wherein the constructing of the credit data tree structure corresponding to the second subscriber in the credit system current service according to the current configuration information comprises:
and constructing a limit data tree structure corresponding to the second user according to the current configuration information by adopting a recursive algorithm.
4. The method of claim 3, wherein the current configuration information comprises: the parent-child relationship of each layer of limit nodes and the current limit configuration information;
the construction of the credit data tree structure corresponding to the second user according to the current configuration information by adopting a recursive algorithm comprises the following steps:
for each quota node, judging whether a next hierarchy quota node exists according to the parent-child relationship information of the current each layer quota node; if the next-level line node is determined to exist, the next-level line node is preferentially constructed, and after the next-level line node is constructed, the current line node is constructed until the root line node is constructed from the leaf line node;
and configuring each quota node according to the current quota configuration information.
5. The method as claimed in any one of claims 1 to 4, wherein after the constructing the credit data tree structure corresponding to the second user in the credit system current service according to the current configuration information, the method further comprises:
and managing and controlling the quota risk corresponding to the second user according to the quota data tree structure.
6. The method according to any of claims 1-4, wherein the configuration information change request further comprises: directly changing the identification information of the quota node;
after receiving the request for changing the configuration information of the quota system triggered by the first user, the method further comprises the following steps:
and changing the configuration of the quota node corresponding to the identification information of the direct quota changing node according to the current configuration information.
7. The method as claimed in any one of claims 1 to 4, wherein after the constructing the credit data tree structure corresponding to the second user in the credit system current service according to the current configuration information, the method further comprises:
and processing the current service corresponding to the second user according to the credit data tree structure.
8. An apparatus for building a data structure, comprising:
a change request receiving module, configured to receive a configuration information change request of a quota system triggered by a first user, where the configuration information change request includes: current configuration information;
the change condition judgment module is used for judging whether the current business of the quota system meets the change condition of the configuration information according to the change request of the configuration information;
the configuration information acquisition module is used for acquiring current configuration information if the current business of the quota system is determined to meet the configuration information change condition;
and the tree structure construction module is used for constructing a credit data tree structure corresponding to a second user in the credit system current service according to the current configuration information.
9. The apparatus according to claim 8, wherein the change condition determining module is specifically configured to:
monitoring whether the current business of the quota system triggers quota risk control on a second user or not according to the configuration information change request; if determining to trigger the limit risk control of the second user, determining that the current business of the limit system meets the configuration information change condition; and if determining that the limit risk control of the second user is not triggered, determining that the current business of the limit system does not meet the configuration information change condition.
10. The apparatus according to claim 8, wherein the tree structure building module is specifically configured to:
and constructing a limit data tree structure corresponding to the second user according to the current configuration information by adopting a recursive algorithm.
11. The apparatus of claim 10, wherein the current configuration information comprises: the parent-child relationship of each layer of limit nodes and the current limit configuration information;
the tree structure building module is specifically configured to, when a recursive algorithm is used to build the credit data tree structure corresponding to the second user according to the current configuration information:
for each quota node, judging whether a next hierarchy quota node exists according to the parent-child relationship information of the current each layer quota node; if the next-level line node is determined to exist, the next-level line node is preferentially constructed, and after the next-level line node is constructed, the current line node is constructed until the root line node is constructed from the leaf line node; and configuring each quota node according to the current quota configuration information.
12. The apparatus of any one of claims 8-11, further comprising:
and the risk management and control module is used for managing and controlling the risk of the quota corresponding to the second user according to the quota data tree structure.
13. The apparatus according to any one of claims 8-11, wherein the configuration information change request further comprises: directly changing the identification information of the quota node;
the device further comprises:
and the configuration change module is used for changing the configuration of the quota node corresponding to the identification information of the direct quota change node according to the current configuration information.
14. The apparatus of any one of claims 8-11, further comprising:
and the service processing module is used for processing the current service corresponding to the second user according to the limit data tree structure.
15. An electronic device, comprising:
a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-7.
16. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-7.
CN202010560225.8A 2020-06-18 2020-06-18 Data structure construction method, device, equipment and storage medium Pending CN111708782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010560225.8A CN111708782A (en) 2020-06-18 2020-06-18 Data structure construction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010560225.8A CN111708782A (en) 2020-06-18 2020-06-18 Data structure construction method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111708782A true CN111708782A (en) 2020-09-25

Family

ID=72541920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010560225.8A Pending CN111708782A (en) 2020-06-18 2020-06-18 Data structure construction method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111708782A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331830A (en) * 2014-11-07 2015-02-04 山东中创软件工程股份有限公司 Construction method and platform of limit managing system
CN107679983A (en) * 2017-10-20 2018-02-09 京北方信息技术股份有限公司 Amount tree constructing method and device, amount take route inspection method and apparatus
CN108596568A (en) * 2018-04-19 2018-09-28 深圳乐信软件技术有限公司 A kind of credit method, system, terminal and storage medium
CN109102386A (en) * 2018-06-04 2018-12-28 北京至信普林科技有限公司 Risk control method and device based on big data
CN110363643A (en) * 2019-06-04 2019-10-22 深圳前海新心金融管理有限公司 Quota control system based on various dimensions
CN110490459A (en) * 2019-08-21 2019-11-22 中国工商银行股份有限公司 A kind of protocol managerial approach and device
CN110706096A (en) * 2019-09-30 2020-01-17 上海淇玥信息技术有限公司 Method and device for managing credit line based on salvage-back user and electronic equipment
CN111008892A (en) * 2019-11-13 2020-04-14 深圳市融壹买信息科技有限公司 Business limit adjusting method and device and computer readable storage medium
CN111179055A (en) * 2019-12-20 2020-05-19 北京淇瑀信息科技有限公司 Credit limit adjusting method and device and electronic equipment
CN111191166A (en) * 2019-12-20 2020-05-22 上海淇玥信息技术有限公司 Method and device for displaying service page and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104331830A (en) * 2014-11-07 2015-02-04 山东中创软件工程股份有限公司 Construction method and platform of limit managing system
CN107679983A (en) * 2017-10-20 2018-02-09 京北方信息技术股份有限公司 Amount tree constructing method and device, amount take route inspection method and apparatus
CN108596568A (en) * 2018-04-19 2018-09-28 深圳乐信软件技术有限公司 A kind of credit method, system, terminal and storage medium
CN109102386A (en) * 2018-06-04 2018-12-28 北京至信普林科技有限公司 Risk control method and device based on big data
CN110363643A (en) * 2019-06-04 2019-10-22 深圳前海新心金融管理有限公司 Quota control system based on various dimensions
CN110490459A (en) * 2019-08-21 2019-11-22 中国工商银行股份有限公司 A kind of protocol managerial approach and device
CN110706096A (en) * 2019-09-30 2020-01-17 上海淇玥信息技术有限公司 Method and device for managing credit line based on salvage-back user and electronic equipment
CN111008892A (en) * 2019-11-13 2020-04-14 深圳市融壹买信息科技有限公司 Business limit adjusting method and device and computer readable storage medium
CN111179055A (en) * 2019-12-20 2020-05-19 北京淇瑀信息科技有限公司 Credit limit adjusting method and device and electronic equipment
CN111191166A (en) * 2019-12-20 2020-05-22 上海淇玥信息技术有限公司 Method and device for displaying service page and electronic equipment

Similar Documents

Publication Publication Date Title
CN111708849A (en) Data management method, device, equipment and storage medium
US10528897B2 (en) Graph databases for storing multidimensional models of software offerings
US20140136251A1 (en) Automated application discovery and analysis system and method
CN1996326A (en) Information system service-level security risk analysis
US11044274B2 (en) Policy evaluation trees
CN106534291A (en) Voltage monitoring method based on big data processing
CN104102670A (en) Performance indicator analytical framework
CN112905340A (en) System resource allocation method, device and equipment
CN112052082B (en) Task attribute optimization method, device, server and storage medium
CN115840738A (en) Data migration method and device, electronic equipment and storage medium
CN109493077A (en) Activity recognition method and device, electronic equipment, storage medium
US20200327125A1 (en) Systems and methods for hierarchical process mining
CN112861059A (en) Visual component generation method and device, computer equipment and readable storage medium
CN111708782A (en) Data structure construction method, device, equipment and storage medium
CN113918534A (en) Policy processing system and method
CN111831868A (en) Method and apparatus for financial product configuration
CN116187675A (en) Task allocation method, device, equipment and storage medium
CN115114264A (en) Application system database performance control method and system based on operation and maintenance flow platform
CN112560213B (en) System modeling method and system based on model system engineering and hyper-network theory
CN111680918B (en) Intelligent manufacturing service flow determining method and system
CN114676266A (en) Conflict identification method, device, equipment and medium based on multilayer relation graph
CN111552847B (en) Method and device for changing number of objects
CN114548709A (en) Intelligent decision-making method and system based on Bayesian network data enabling enterprise
CN112613792A (en) Data processing method, system, computer device and storage medium
US9231834B2 (en) Bundling configuration items into a composite configuration item

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200925