CN110377269B - Service approval system collocation method, device and storage medium - Google Patents
Service approval system collocation method, device and storage medium Download PDFInfo
- Publication number
- CN110377269B CN110377269B CN201910520661.XA CN201910520661A CN110377269B CN 110377269 B CN110377269 B CN 110377269B CN 201910520661 A CN201910520661 A CN 201910520661A CN 110377269 B CN110377269 B CN 110377269B
- Authority
- CN
- China
- Prior art keywords
- judgment
- condition
- stage
- node
- codes
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims abstract description 38
- 230000007246 mechanism Effects 0.000 claims abstract description 22
- 238000012552 review Methods 0.000 claims description 34
- 239000000463 material Substances 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 5
- 238000012827 research and development Methods 0.000 abstract description 2
- 239000013598 vector Substances 0.000 description 75
- 230000008520 organization Effects 0.000 description 9
- 238000004364 calculation method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Marketing (AREA)
- General Engineering & Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The scheme relates to research and development management, and provides a service approval system configuration method, a device and a computer readable storage medium, wherein the method comprises the following steps: acquiring judging condition nodes of a mechanism in a business approval system, wherein the judging condition nodes correspond to condition judging codes, respectively setting phase coding fields for each phase of a loan approval process, classifying the judging condition nodes into corresponding phases, corresponding to all the judging condition nodes in each phase, and adding different node coding fields after the phase coding fields; the method comprises the steps that all judgment condition nodes of each mechanism are combined, corresponding coding judgment codes are configured for each judgment condition node, and files are formed by taking the mechanism as a unit and stored in a database; and step 3, starting the server, taking out and analyzing the file configured by the database, and waiting for calling. The application shortens the development workload when adding new institutions in the business approval system.
Description
Technical Field
The present invention relates to the field of research and development management technologies, and in particular, to a method and apparatus for configuring a service approval system, and a computer readable storage medium.
Background
For some special business approval systems, a plurality of related institutions are often required to be introduced to participate in a business approval process, and in terms of a code layer, the existing implementation mode is to perform customized development on each participating institution of the introduced business approval system, and a plurality of judgment codes are added in the system to perform judgment on the participating institutions in different dimensions. For example, the qualification of the participating institution is determined, and then whether the applicant meets the condition is determined. The judgment conditions involved in the business approval process are numerous, and the processes and rules of each participating institution are similar and different. Developing program codes separately for each accessed organization results in increased development and testing costs, and a great deal of judgment process is added only by adding one organization, and the code readability is greatly reduced after the addition of the organization to hundreds of families.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides a method for configuring a service approval system, which is applied to an electronic device, and includes:
Step 1, acquiring all judgment condition nodes corresponding to all institutions in a business approval process, wherein the judgment condition nodes comprise condition judgment codes, and the condition judgment codes refer to judgment conditions corresponding to all institutions and program codes corresponding to node execution operations; setting corresponding stage coding fields for each stage of a business approval process respectively, classifying the judging condition nodes into the corresponding stages, and adding different node coding fields after the stage coding fields, wherein the node coding fields correspond to each judging condition node in each stage;
step 2, taking a union set of all judgment condition nodes corresponding to each mechanism, configuring corresponding coding judgment codes for each judgment condition node, and storing files in json format formed by taking one mechanism as a unit into a database, wherein the coding judgment codes refer to program codes corresponding to the combination of a stage coding field and a node coding field as judgment conditions and execution operation thereof;
And step 3, when a signal for starting the server is obtained, the json file in the database is taken out and analyzed to wait for calling.
The invention also provides an electronic device, which comprises: the system comprises a memory and a processor, wherein a service approval system configuration program is stored in the memory, and the service approval system configuration program realizes the following steps when being executed by the processor:
Step 1, acquiring all judgment condition nodes corresponding to all institutions in a business approval process, wherein the judgment condition nodes comprise condition judgment codes, and the condition judgment codes refer to judgment conditions corresponding to all institutions and program codes corresponding to node execution operations; setting corresponding stage coding fields for each stage of a business approval process respectively, classifying the judging condition nodes into the corresponding stages, and adding different node coding fields after the stage coding fields, wherein the node coding fields correspond to each judging condition node in each stage;
step 2, taking a union set of all judgment condition nodes corresponding to each mechanism, configuring corresponding coding judgment codes for each judgment condition node, and storing files in json format formed by taking one mechanism as a unit into a database, wherein the coding judgment codes refer to program codes corresponding to the combination of a stage coding field and a node coding field as judgment conditions and execution operation thereof;
And step 3, when a signal for starting the server is obtained, the json file in the database is taken out and analyzed to wait for calling.
The present invention also provides a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement a method of configuring a business approval system as described above.
In the credit business judgment flow, the application cancels the business judgment of which institution is originally judged first, and adopts the business flow aiming at the institution business function classification to judge institutions. The new mechanism only needs to add a configuration in the database aiming at the function, and the business judgment of which mechanism is not needed to be added, thereby greatly shortening the development workload and increasing the code reusability.
Drawings
The above-mentioned features and technical advantages of the present invention will become more apparent and readily appreciated from the following description of the embodiments thereof, taken in conjunction with the accompanying drawings.
FIG. 1 is a flow chart of a method for configuring a business approval system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the invention;
fig. 3 is a block diagram of a service approval system configurator program according to an embodiment of the present invention.
Detailed Description
Embodiments of a business approval system configuration method, apparatus and computer-readable storage medium according to the present invention will be described below with reference to the accompanying drawings. Those skilled in the art will recognize that the described embodiments may be modified in various different ways, or combinations thereof, without departing from the spirit and scope of the invention. Accordingly, the drawings and description are to be regarded as illustrative in nature and not as restrictive in scope. Furthermore, in the present specification, the drawings are not drawn to scale, and like reference numerals denote like parts.
Fig. 1 is a flow chart of a method for configuring a business approval system according to an embodiment of the present invention, which is applied to an electronic device. The service approval system is configured by a method for introducing an organization related to a service to the service approval system in a configurable manner so as to configure the expression service to configure the organization architecture elements (services, components and data). The mechanisms associated therewith are different from business approval system to business approval system. For example, the business approval system may be a loan approval system, a purchase approval system, a case approval system, or the like. The institution to which the loan approval system joins may be an institution such as a bank, and the institution to which the purchase approval system introduces may be a supplier. The mechanism introduced by the case approval system may be a public security bureau, law firm, or the like.
The following takes a business approval system as a loan approval system, and the introduced organization is a bank as an example to describe the steps of the method:
S1, acquiring judgment condition nodes corresponding to all banks in a loan approval system, wherein the judgment condition nodes comprise condition judgment codes. The condition judgment code refers to a judgment condition corresponding to each mechanism and a program code corresponding to the node execution operation. Corresponding phase code fields are set for each phase of the loan approval process, wherein the phase code fields can be numerical codes, alphabetical codes or mixed alphabetical and numerical codes. Of course, special symbols may be included, without limitation. And classifying the judging condition nodes into corresponding stages according to each stage of the loan approval process, wherein each stage comprises an initial review stage, a signing stage, an execution stage and a feedback stage. And setting corresponding node coding fields for each condition judgment node respectively. The node code field can be a new bit code based on the phase code field to represent different judging condition nodes.
The condition judging code refers to the existing customized development of each bank, and the program codes corresponding to the judging conditions of each bank and the node executing operation of each bank are added with a plurality of if codes and else codes to set the program codes for the judging conditions of each bank respectively.
S2, taking a union set of all the judgment condition nodes corresponding to each bank, configuring corresponding coding judgment codes for each judgment condition node, and storing the files in json format in a database by taking each bank as a unit. The code judging code is a program code corresponding to the judging condition and the executing operation by combining the phase code field and the node code field.
Preferably, only the difference points with difference in the judgment condition nodes of each bank are obtained in the loan approval system. The difference points refer to differences in judging conditions and requirements of nodes in a loan approval process of each bank, for example, the difference points in the loan approval process include:
1) When the A bank uploads the material, two income certificates must be uploaded, and other banks upload only one income certificate or do not need to upload the income certificates.
2) The loan application of a part of bank bill is approved to execute the credit approval process, and the other banks execute the loan approval process;
3) When judging the autonomous payment mode or the trusted payment mode, the bank B compares the credit line with the autonomous payment limit, and other banks judge the autonomous payment mode by only the credit line (in each flow, there are many similar judgments). The trusted payment is a payment mode of loan funds, and refers to that a borrower (banking financial institution established by law) pays the loan funds to a borrower transaction object conforming to the contractual purpose according to the withdrawal application and payment commission of the borrower. The self-payment refers to that after the borrower confirms that the borrower meets the withdrawal conditions of the contract agreement, the borrower pays the borrower transaction object meeting the purpose of the contract agreement by the borrower after the borrower issues the loan funds to the account of the borrower according to the withdrawal application of the borrower.
S3, starting the server, taking out and analyzing the json file configured by the database, initializing the json file in a Map < String > format, and waiting for calling. For example, in a loan approval system, including a pre-entry, a credit-check, a subscription, a payment, and a repayment, the stage code fields are respectively:
stage before feeding: 1000
And (3) a credit examination stage: 2000
Signing stage: 3000
And (3) a paying-out stage: 4000
And (3) repayment stage: 5000
The judging condition nodes are classified according to the complaints, for example, all bank condition judgment in the stage before the part feeding are all 1000-start coding fields, and all signing stages are 3000-start coding fields, so that the follow-up management is convenient. Then, after 1000, different node code fields are set according to different judging conditions, for example, "30001006" corresponds to the judging condition, and if two income certificates must be uploaded when the materials are uploaded. "20001001" corresponds to the judgment condition "provide credit evidence". The above can be set according to different judging conditions, and will not be described in detail here.
For example, in the above example, when the bank A uploads the material, two revenue certificates must be uploaded, and the other banks do not use, the node of the piece of data of the bank A needs to be configured as { "bank": "HXB", …, "30001006": "Y" }, and 30001006 of the other banks are configured as { "bank": "CEB", …, "30001006": "N" }, where Y is that two revenue certificates need to be uploaded, and N indicates that two revenue certificates do not need to be uploaded.
S4, replacing the condition judgment codes corresponding to all the judgment condition nodes of the loan approval system with the code judgment codes set in the step 2.
For example, in a loan approval system, a judgment condition of "whether two income documents must be uploaded at the time of uploading a material" is made. In the code of the loan approval system of the banking dimension, (if ("CCB". Equels (map. Get ")) { … }) is generally adopted, the front part of the code is used for judging whether the bank is" CCB ", and { … } is then the judgment condition judgment. The present embodiment replaces the piece of code with if ("Y". Equels (map. Get ("bank"). Get ("30001006"))) { … }. If the 30001006 code field of the bank corresponds to "Y", the corresponding flow is executed. In the above embodiment 30001006 represents that the judgment condition is "whether two revenue certificates must be uploaded at the time of uploading the material", Y represents yes, and N represents no. In the past, it is first to judge which bank, then it is to judge whether to upload two income certificates. By setting the judgment conditions to the code fields corresponding to each stage of the loan approval process, the next process can be executed by judging the execution operation corresponding to the field, so that the code compiling work can be simplified, and the code execution efficiency can be accelerated. In addition, the corresponding code field can be directly added to the newly introduced bank in the later stage, so that the code writing work is simplified. If a certain bank or trusted company has more special judgment, only a phase code field and a node code field are added in a json file configured by each bank, and the phase code field and the node code field are assigned as 'Y' or 'N'.
In an alternative embodiment, the conditions for the initial stage of the corresponding loan approval process of the bank are formed into a condition vector A 1 in the form shown below:
A1=(10001001 10001002 10001003…1000100N)
The corresponding judgment requests also form a request matrix B 1,
B1=(Y N Y…N)
Judgment condition vector c1=a1×b1 at initial stage of bank
For example, the judgment condition is whether or not the student of Yangtze river is eligible, and the judgment requirement is that the student of Yangtze river is eligible.
Similarly, when the judgment conditions of each stage of the bank are formed into judgment condition vectors, A1, A2 … … A6, B1, B2 … B6 are obtained, and judgment condition vectors c=c1, C2 … … C6 are obtained, wherein C1, C2 … … C6 are the judgment condition vectors corresponding to A certain stage.
The various judgment conditions set by each bank are different, and similar, for a loan approval system, when a new bank is introduced, the similarity between the judgment condition node of the new bank and the judgment condition node of the introduced bank can be mastered, and the method has the advantages of whether the new bank is introduced, whether the judgment condition node needs to be modified, and the like. And calculating the similarity between the judging condition vector of any stage of the newly added bank and the judging condition vector of the stage of the introduced bank by using the cosine similarity. The cosine similarity is expressed as follows:
Wherein D 1 represents a judgment condition vector of a pre-shipment stage of the newly added bank;
c 1 represents a judgment condition vector of a pre-feed stage that has been introduced into the bank,
N represents the dimension of the judgment condition vector of the pre-feed stage;
i represents the i-th dimension;
θ is the angle between the vectors of D 1、C1.
The similarity between the judgment condition vector of the newly added bank at the stage and the judgment condition vector of the introduced bank at the stage is obtained by taking the stage before the entry as an example. Similarly, the similarity between the judgment condition vector of the newly added bank and the judgment condition vector of the introduced bank can be obtained corresponding to other review stage, signing stage, executing stage and feedback stage. And weighting and summing the similarity, so as to obtain the similarity degree between the judging conditions of the newly added bank and the judging conditions of the introduced bank, and providing a basis for whether the judging conditions are introduced or not and whether the judging conditions need to be modified or not. For example, the similarity of the judgment condition vector of the newly added bank and the introduced bank is compared with a similarity threshold, and if the similarity is higher than the similarity threshold, the judgment condition vector of the newly added bank and the introduced bank is proved to be basically consistent, and the newly added bank and the introduced bank can be directly introduced. If the similarity threshold value is lower than the similarity threshold value, the judgment conditions of the newly added bank and all banks introduced into the bank are greatly different, and caution is needed, so that the newly added bank can negotiate with the newly added bank to modify the judgment conditions.
In an alternative embodiment, the duration from the initial review stage to the execution stage, including the time from the initial review stage to the review stage, the time from the review stage to the sign-up stage, and the time from the sign-up stage to the execution stage, of each bank is obtained when different customers apply for the business, and the approval time of each bank for a large number of customers in each stage is formed into an approval time vector. And obtaining the similarity between the approval time vector of each bank and the standard approval time vector by using the Euclidean distance. Taking the review phase as an example, the approval time vector from the review phase to the signing phase is x Sk1、xSk2…xSki…xSkn. The standard approval time vector may be a plurality of discrete values within a standard required time range for the review phase.
The Euclidean distance calculation formula is as follows:
Wherein k represents the kth bank;
x Sk represents the approval time vector from the review stage to the signing stage of the kth bank;
y S represents a standard approval time vector from the review phase to the subscription phase;
x Ski represents the approval time of the kth bank from the review stage to the ith customer of the subscription stage;
y Si represents the i-th component of the standard approval time vector from the review phase to the subscription phase;
S represents review stage to signing stage;
n represents the number of clients;
d (x Sk,yS) represents the similarity degree of the approval time vector of the kth bank from the review stage to the signing stage and the standard approval time vector.
The above is exemplified by the examination and approval time from the review stage to the subscription stage, and the other stages are similar, and the description thereof is omitted here.
Through calculation, the similarity degree of the approval time vector of each bank and the standard approval time vector can be obtained. The method can assist in judging the influence of each judgment condition vector of a certain bank on the approval time, and further can modify each judgment condition vector according to the needs.
For example, if the difference between the approval time vector of a certain bank and the standard approval time vector exceeds a preset threshold, each judgment condition of the bank can be studied and modified to reduce the difference between the approval time vector and the standard approval time vector and improve the approval efficiency.
Fig. 2 is a schematic diagram of a hardware architecture of an electronic device according to an embodiment of the invention. In this embodiment, the electronic device 2 is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction. For example, it may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including a stand-alone server or a server cluster composed of a plurality of servers), etc. As shown in fig. 2, the electronic device 2 includes at least, but is not limited to, a memory 21, a processor 22, and a network interface 23, which are communicatively connected to each other via a system bus. Wherein: the memory 21 includes at least one type of computer-readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 21 may be an internal storage unit of the electronic device 2, such as a hard disk or a memory of the electronic device 2. In other embodiments, the memory 21 may also be an external storage device of the electronic apparatus 2, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the electronic apparatus 2. Of course, the memory 21 may also comprise both an internal memory unit of the electronic device 2 and an external memory means thereof. In this embodiment, the memory 21 is generally used to store an operating system and various application software installed in the electronic device 2, for example, the service approval system configurating program code and the like. Further, the memory 21 may be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the electronic device 2, such as performing control and processing related to data interaction or communication with the electronic device 2. In this embodiment, the processor 22 is configured to execute the program code or process data stored in the memory 21, for example, execute the service approval system configuration program.
The network interface 23 may comprise a wireless network interface or a wired network interface, which network interface 23 is typically used for establishing a communication connection between the electronic device 2 and other electronic devices. For example, the network interface 23 is configured to connect the electronic device 2 to a push platform through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and the push platform. The network may be an intranet (intranet), the internet (internet), a global system for mobile communications (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband CodeDivision Multiple Access, WCDMA), a 4G network, a 5G network, bluetooth (bluetooth), wi-Fi, or other wireless or wired network.
Optionally, the electronic device 2 may also comprise a display, which may also be referred to as a display screen or display unit. In some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) display, or the like. The display is used for displaying information processed in the electronic device 2 and for displaying a visualized user interface.
It is noted that fig. 2 only shows an electronic device 2 having components 21-23, but it is understood that not all of the illustrated components are required to be implemented, and that more or fewer components may alternatively be implemented.
The memory 21 containing the readable storage medium may include an operating system, a business approval system configuration program 50, and the like. The steps S1 to S4 described above are implemented when the processor 22 executes the service approval system configuration program 50 in the memory 21, and will not be described here again. In this embodiment, the service approval system configuration program 50 stored in the memory 21 may be divided into one or more program modules, which are stored in the memory 21 and executed by one or more processors (the processor 22 in this embodiment) to complete the present invention. For example, fig. 3 shows a schematic program module of the service approval system configurator, in this embodiment, the service approval system configurator 50 may be divided into a judgment condition node categorizing module 501, a judgment condition node configuring module 502, a file parsing module 503, a code replacing module 504, a judgment condition vector similarity obtaining module 505, and an approval time vector similarity obtaining module 506. Program modules in the present invention are defined as a series of computer program instruction segments capable of performing a specific function, more suitable than a program describing the execution of the business approval system configuration Cheng Xuxu in the electronic device 2. The following description will specifically introduce specific functions of the program modules.
The judging condition node classifying module 501 is configured to obtain judging condition nodes of all institutions in a business approval system, and set corresponding phase code fields for each phase of a loan approval process, where the phase code fields may be numeric codes, alphabetic codes, or mixed alphabetic and numeric codes. Of course, special symbols may be included, without limitation. And classifying the judging condition nodes into corresponding coding fields according to the loan approval process, wherein each stage comprises an initial review stage, a signing stage, an execution stage and a feedback stage. And setting corresponding node coding fields for each condition judgment node respectively. The node code field can be a new bit code based on the phase code field to represent different judging condition nodes. The condition judgment code refers to the judgment condition of each mechanism and the program code corresponding to the node execution operation.
The judging condition node configuration module 502 is configured to take the union set of all the judging condition nodes of each organization, configure the corresponding code judging code for each judging condition node, and store the file in json format formed by taking the organization as a unit into the database. The code judging code is a program code corresponding to the judging statement and the executing operation by combining the phase code field and the node code field. For example, the phase code field plus the node code field is 30001006, which corresponds to a requirement of "Y" or "N".
The file parsing module 503 is configured to take out and parse the json file configured by the database after the server is started, initialize the json file in Map < String > format, and wait for call.
And classifying the judging condition nodes according to the complaints, for example, judging all the mechanism conditions in the stage before the part feeding are all 1000-start coding fields, and the signing stage is all 3000-start coding fields, so that the follow-up management is convenient. Then, after 1000, different codes are set according to different judging conditions, for example, "30001006" corresponds to judging conditions "whether two income certificates must be uploaded when uploading materials. "20001001" corresponds to the judgment condition "provide credit evidence". The above can be set according to different judging conditions, and will not be described in detail here.
The code replacing module 504 is configured to replace the condition judgment codes corresponding to all the judgment condition nodes of the service approval system with the code judgment codes set in the step 2. Therefore, the original judgment with the mechanism as the dimension is changed into the judgment with the functional flow as the dimension.
Taking the business approval system as a loan approval system, the introduced organization is exemplified by a bank, for example, a judgment condition of whether two income documents must be uploaded when uploading materials. In the code of the business approval system of the banking dimension, (if ("CCB". Equels (map. Get ")) { … }) is generally adopted, the front part of the code is used for judging whether the bank is" CCB ", and { … } is then the judgment condition judgment. The present embodiment replaces the piece of code with if ("Y". Equels (map. Get ("bank"). Get ("30001006"))) { … }. If the 30001006 code field of the bank corresponds to "Y", the corresponding flow is executed. In the above embodiment 30001006 represents that the judgment condition is "whether two revenue certificates must be uploaded at the time of uploading the material", Y represents yes, and N represents no. In the past, it is first to judge which bank, then it is to judge whether to upload two income certificates. By setting the judgment conditions to the code fields corresponding to the respective stages of the loan approval process, the next process can be executed by judging the execution operation corresponding to the fields, and it is not necessary to judge which bank is first. Thus, the code compiling work can be simplified, and the code executing efficiency is also quickened. In addition, the corresponding code field can be directly added to the newly introduced bank in the later stage, so that the code writing work is simplified. If a certain bank or trusted company has more special judgment, only a phase code field and a node code field are added in a json file configured by each bank, and the phase code field and the node code field are assigned as 'Y' or 'N'.
In an alternative embodiment, the method further includes a condition vector similarity obtaining module 505, configured to form a condition vector a 1 according to a condition for a first review stage of a corresponding business approval process of a bank, where the condition vector is as follows:
A1=(10001001 10001002 10001003…1000100N)
The corresponding judgment requests also form a request matrix B 1,
B1=(Y N Y…N)
Judgment condition vector c1=a1×b1 at initial stage of bank
For example, the judgment condition is whether or not the student of Yangtze river is eligible, and the judgment requirement is that the student of Yangtze river is eligible.
Similarly, when the judgment conditions of each stage of the bank are formed into judgment condition vectors, A1, A2 … … A6, B1, B2 … B6 are obtained, and judgment condition vectors c=c1, C2 … … C6 are obtained, wherein C1, C2 … … C6 are the judgment condition vectors corresponding to A certain stage.
The various judgment conditions set by each bank are different, and the method is similar, so that when a new bank is introduced into a business approval system, the similarity between the judgment condition node of the new bank and the judgment condition node of the introduced bank can be mastered, and the method has the advantages of whether the new bank is introduced, whether the judgment condition node needs to be modified and the like. And calculating the similarity between the judging condition vector of any stage of the newly added bank and the judging condition vector of the stage of the introduced bank by using the cosine similarity. The cosine similarity is expressed as follows:
Wherein D 1 represents a judgment condition vector of a pre-shipment stage of the newly added bank;
c 1 represents a judgment condition vector of a pre-feed stage that has been introduced into the bank,
N represents the dimension of the judgment condition vector of the pre-feed stage;
i represents the i-th dimension;
θ is the angle between the vectors of D 1、C1.
The similarity between the judgment condition vector of the newly added bank at the stage and the judgment condition vector of the introduced bank at the stage is obtained by taking the stage before the entry as an example. Similarly, the similarity between the judgment condition vector of the newly added bank and the judgment condition vector of the introduced bank can be obtained corresponding to other review stage, signing stage, executing stage and feedback stage. And weighting and summing the similarity, so as to obtain the similarity degree between the judging conditions of the newly added bank and the judging conditions of the introduced bank, and providing a basis for whether the judging conditions are introduced or not and whether the judging conditions need to be modified or not. For example, the similarity of the judgment condition vector of the newly added bank and the introduced bank is compared with a similarity threshold, and if the similarity is higher than the similarity threshold, the judgment condition vector of the newly added bank and the introduced bank is proved to be basically consistent, and the newly added bank and the introduced bank can be directly introduced. If the similarity threshold value is lower than the similarity threshold value, the judgment conditions of the newly added bank and all banks introduced into the bank are greatly different, and caution is needed, so that the newly added bank can negotiate with the newly added bank to modify the judgment conditions.
In an alternative embodiment, the method further includes an approval time vector similarity obtaining module 506, configured to obtain a duration from a first review stage to an execution stage, including a time from the first review stage to the second review stage, a time from the second review stage to a sign-up stage, and a time from the sign-up stage to the execution stage, when each bank applies for a service from different clients, and form approval time vectors for approval times of each bank for a large number of clients at each stage, respectively. And obtaining the similarity between the approval time vector of each bank and the standard approval time vector by using the Euclidean distance. Taking the review phase as an example, the approval time vector from the review phase to the signing phase is x Sk1、xSk2…xSki…xSkn. The standard approval time vector may be a plurality of discrete values within a standard required time range for the review phase.
The Euclidean distance calculation formula is as follows:
Wherein k represents the kth bank;
x Sk represents the approval time vector from the review stage to the signing stage of the kth bank;
y S represents a standard approval time vector from the review phase to the subscription phase;
x Ski represents the approval time of the kth bank from the review stage to the ith customer of the subscription stage;
y Si represents the i-th component of the standard approval time vector from the review phase to the subscription phase;
S represents review stage to signing stage;
n represents the number of clients;
d (x Sk,yS) represents the similarity degree of the approval time vector of the kth bank from the review stage to the signing stage and the standard approval time vector.
The above is exemplified by the examination and approval time from the review stage to the subscription stage, and the other stages are similar, and the description thereof is omitted here.
Through calculation, the similarity degree of the approval time vector of each bank and the standard approval time vector can be obtained. The method can assist in judging the influence of each judgment condition vector of a certain bank on the approval time, and further can modify each judgment condition vector according to the needs.
For example, if the difference between the approval time vector of a certain bank and the standard approval time vector exceeds a preset threshold, each judgment condition of the bank can be studied and modified to reduce the difference between the approval time vector and the standard approval time vector and improve the approval efficiency.
In addition, the embodiment of the invention also provides a computer readable storage medium, which can be any one or any combination of a plurality of hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory and the like. The computer readable storage medium includes a service approval system configuration program, and the service approval system configuration program 50 when executed by the processor 22 performs the following operations:
Step 1, acquiring all judgment condition nodes corresponding to all institutions in a business approval process, wherein the judgment condition nodes comprise condition judgment codes, and the condition judgment codes refer to judgment conditions corresponding to all institutions and program codes corresponding to node execution operations; setting corresponding stage coding fields for each stage of a business approval process respectively, classifying the judging condition nodes into the corresponding stages, and adding different node coding fields after the stage coding fields, wherein the node coding fields correspond to each judging condition node in each stage;
step 2, taking a union set of all judgment condition nodes corresponding to each mechanism, configuring corresponding coding judgment codes for each judgment condition node, and storing files in json format formed by taking one mechanism as a unit into a database, wherein the coding judgment codes refer to program codes corresponding to the combination of a stage coding field and a node coding field as judgment conditions and execution operation thereof;
And step 3, when a signal for starting the server is obtained, the json file in the database is taken out and analyzed to wait for calling.
And 4, replacing all the condition judgment codes of the business approval process in the step 1 with the code judgment codes set in the step 2.
The embodiment of the computer readable storage medium of the present invention is substantially the same as the above-mentioned method for configuring the business approval system and the embodiment of the electronic device 2, and will not be described herein.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (7)
1. A method for configuring a business approval system, applied to an electronic device, comprising the following steps:
Step 1, acquiring all judgment condition nodes corresponding to all institutions in a business approval process, wherein the judgment condition nodes comprise condition judgment codes, and the condition judgment codes refer to judgment conditions corresponding to all institutions and program codes corresponding to node execution operations; setting corresponding stage coding fields for each stage of a business approval process respectively, classifying the judging condition nodes into the corresponding stages, and adding different node coding fields after the stage coding fields, wherein the node coding fields correspond to each judging condition node in each stage;
step 2, taking a union set of all judgment condition nodes corresponding to each mechanism, configuring corresponding coding judgment codes for each judgment condition node, and storing files in json format formed by taking one mechanism as a unit into a database, wherein the coding judgment codes refer to program codes corresponding to the combination of a stage coding field and a node coding field as judgment conditions and execution operation thereof;
step 3, when the signal of starting the server is obtained, the json format file in the database is taken out and analyzed to wait for calling,
Step 4, replacing the condition judgment codes corresponding to all the judgment condition nodes of the business approval process with the code judgment codes, executing the process corresponding to the judgment result by taking the code field as the judgment condition,
When judging condition nodes are newly added, the corresponding setting uses the combination of the phase coding field and the node coding field as the newly added judging condition and the program code corresponding to the executing operation.
2. The method of claim 1, wherein the stages of the business approval process include an initial review stage, a subscription stage, an execution stage, and a feedback stage.
3. The method according to claim 1, wherein in step 1, only the difference points having differences among the judgment condition nodes of the respective institutions are obtained in the business approval system.
4. A business approval system configuration method according to claim 3, wherein the point of difference comprises:
When the loan application material is uploaded, each institution requires different parts of the uploaded income certificate;
The loan application of a single pen and a single approval of part of institutions executes a credit approval process, and other institutions execute the credit approval process;
When judging the autonomous payment mode or the trusted payment mode, part of institutions adopt credit line to compare and judge with the autonomous payment limit, and other institutions only adopt the credit line to judge.
5. An electronic device, comprising: the system comprises a memory and a processor, wherein a service approval system configuration program is stored in the memory, and the service approval system configuration program realizes the following steps when being executed by the processor:
Step 1, acquiring all judgment condition nodes corresponding to all institutions in a business approval process, wherein the judgment condition nodes comprise condition judgment codes, and the condition judgment codes refer to judgment conditions corresponding to all institutions and program codes corresponding to node execution operations; setting corresponding stage coding fields for each stage of a business approval process respectively, classifying the judging condition nodes into the corresponding stages, and adding different node coding fields after the stage coding fields, wherein the node coding fields correspond to each judging condition node in each stage;
step 2, taking a union set of all judgment condition nodes corresponding to each mechanism, configuring corresponding coding judgment codes for each judgment condition node, and storing files in json format formed by taking one mechanism as a unit into a database, wherein the coding judgment codes refer to program codes corresponding to the combination of a stage coding field and a node coding field as judgment conditions and execution operation thereof;
step 3, when the signal of starting the server is obtained, the json format file in the database is taken out and analyzed to wait for calling,
Step 4, replacing the condition judgment codes corresponding to all the judgment condition nodes of the business approval process with the code judgment codes, executing the process corresponding to the judgment result by taking the code field as the judgment condition,
When judging condition nodes are newly added, the corresponding setting uses the combination of the phase coding field and the node coding field as the newly added judging condition and the program code corresponding to the executing operation.
6. The electronic device of claim 5, wherein:
in step 1, only the difference points with difference in the judging condition nodes of each mechanism are obtained in the business approval system.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, implement the business approval system configuration method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910520661.XA CN110377269B (en) | 2019-06-17 | 2019-06-17 | Service approval system collocation method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910520661.XA CN110377269B (en) | 2019-06-17 | 2019-06-17 | Service approval system collocation method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110377269A CN110377269A (en) | 2019-10-25 |
CN110377269B true CN110377269B (en) | 2024-04-19 |
Family
ID=68248916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910520661.XA Active CN110377269B (en) | 2019-06-17 | 2019-06-17 | Service approval system collocation method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110377269B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113126864A (en) * | 2021-04-21 | 2021-07-16 | 华世界数字科技(深圳)有限公司 | Visual configuration method and device for approval process |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6631464B1 (en) * | 1988-12-27 | 2003-10-07 | Fujitsu Limited | Instruction pipeline with a branch prefetch when the branch is certain |
WO2010054599A1 (en) * | 2008-11-13 | 2010-05-20 | 华为技术有限公司 | Method, device and system for storing data |
CN105760143A (en) * | 2014-12-15 | 2016-07-13 | 龙芯中科技术有限公司 | Image processing execution code reconstruction method and device |
CN107316121A (en) * | 2016-08-31 | 2017-11-03 | 天河大成建筑云科技(天津)有限公司 | One kind is based on the workflow examination and approval method of BIM (BIM) |
CN109670686A (en) * | 2018-12-05 | 2019-04-23 | 泰康保险集团股份有限公司 | Construct method, equipment and the business process management system of operation flow template |
WO2019080091A1 (en) * | 2017-10-27 | 2019-05-02 | 华为技术有限公司 | Code processing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9678746B2 (en) * | 2014-07-31 | 2017-06-13 | International Business Machines Corporation | Coding convention discovery and enforcement |
-
2019
- 2019-06-17 CN CN201910520661.XA patent/CN110377269B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6631464B1 (en) * | 1988-12-27 | 2003-10-07 | Fujitsu Limited | Instruction pipeline with a branch prefetch when the branch is certain |
WO2010054599A1 (en) * | 2008-11-13 | 2010-05-20 | 华为技术有限公司 | Method, device and system for storing data |
CN105760143A (en) * | 2014-12-15 | 2016-07-13 | 龙芯中科技术有限公司 | Image processing execution code reconstruction method and device |
CN107316121A (en) * | 2016-08-31 | 2017-11-03 | 天河大成建筑云科技(天津)有限公司 | One kind is based on the workflow examination and approval method of BIM (BIM) |
WO2019080091A1 (en) * | 2017-10-27 | 2019-05-02 | 华为技术有限公司 | Code processing method and device |
CN109670686A (en) * | 2018-12-05 | 2019-04-23 | 泰康保险集团股份有限公司 | Construct method, equipment and the business process management system of operation flow template |
Non-Patent Citations (1)
Title |
---|
多节点流程业务影响计算模型建立与实践;李艳杰;信息技术与标准化(06);第75-79页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110377269A (en) | 2019-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109344154B (en) | Data processing method, device, electronic equipment and storage medium | |
US20140279303A1 (en) | Image capture and processing for financial transactions | |
WO2020233402A1 (en) | Accounts payable order validation method, apparatus and device, and storage medium | |
CN111598122B (en) | Data verification method and device, electronic equipment and storage medium | |
CN114358147A (en) | Training method, identification method, device and equipment of abnormal account identification model | |
CN112182250A (en) | Construction method of checking relation knowledge graph, and financial statement checking method and device | |
CN110675249A (en) | Matching method, device, server and storage medium for network lending | |
CN114298804A (en) | Intelligent account checking method, system and computer readable storage medium | |
CN111899111A (en) | Capital matching method, device, server and storage medium | |
CN110415112B (en) | Post-credit business processing method, device, equipment and storage medium | |
CN111241803A (en) | Method and device for generating text file, computer equipment and readable storage medium | |
CN111177099A (en) | Data processing method and device of business system, electronic equipment and storage medium | |
CN110377269B (en) | Service approval system collocation method, device and storage medium | |
CN113902574A (en) | Protocol data processing method, device, computer equipment and storage medium | |
CN117331956A (en) | Task processing method, device, computer equipment and storage medium | |
CN111984674A (en) | Method and system for generating structured query language | |
CN111209283A (en) | Data processing method and device | |
CN106708869B (en) | Group data processing method and device | |
CN116681045A (en) | Report generation method, report generation device, computer equipment and storage medium | |
CN107172311B (en) | Service evaluation method and terminal equipment | |
CN116050359A (en) | Policy escrow entry method, system, terminal equipment and storage medium | |
CN115578170A (en) | Financial batch certificate making method, device, equipment and storage medium | |
CN115880703A (en) | Form data processing method and device, electronic equipment and storage medium | |
CN114416805A (en) | Data checking method and device, computer equipment and storage medium | |
CN113743903A (en) | Method and device for information automatic approval based on list, electronic equipment and medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |