CN109447806A - Front-end control method and device, storage medium and electronic equipment - Google Patents

Front-end control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109447806A
CN109447806A CN201811295060.5A CN201811295060A CN109447806A CN 109447806 A CN109447806 A CN 109447806A CN 201811295060 A CN201811295060 A CN 201811295060A CN 109447806 A CN109447806 A CN 109447806A
Authority
CN
China
Prior art keywords
transaction
data
transaction data
approval
input
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.)
Granted
Application number
CN201811295060.5A
Other languages
Chinese (zh)
Other versions
CN109447806B (en
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201811295060.5A priority Critical patent/CN109447806B/en
Publication of CN109447806A publication Critical patent/CN109447806A/en
Application granted granted Critical
Publication of CN109447806B publication Critical patent/CN109447806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of front-end control methods, comprising: when receiving transaction request, according to preconfigured input field, loads and shows input view corresponding with the transaction request;It receives user and passes through the transaction data of the input view input;It is verified according to the transaction data of the preconfigured data rule to input;When being verified, judge whether the transaction data needs to carry out workflow examination and approval;When needing to carry out workflow examination and approval, start preset workflow examination and approval process, workflow examination and approval is carried out to the transaction data;At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtain the corresponding Message processing data of the transaction data;The Message processing data are subjected to transaction results processing, obtain the corresponding transaction results of the transaction data, and the transaction results are exported.Front-end control method provided by the invention accelerates the upper linear velocity of transaction new product by transaction data configuration mode.

Description

Front-end control method and device, storage medium and electronic equipment
Technical field
The present invention relates to control field, in particular to a kind of front-end control method and device, storage medium and electronic equipment.
Background technique
The transaction platform of bank is to provide client transactional services and to client comprehensive credit risk and other risk sets The transaction platform of middle management and real-time control.The realization of bank transaction function is completed by its front end transaction platform, bank Transaction platform provides a large amount of interface and transaction to its front end transaction platform.Due to the fast development of business, risk control and The variation of regulatory requirements, bank transaction platform need constantly to provide new function interface and New Transaction.
Current front end transaction platform all uses traditional development mode, when bank transaction platform provides new interface or new friendship Yi Shi needs that the front end page being related in the transaction platform of front end is transformed one by one, needs to carry out largely to encode exploitation Work, cannot achieve the Quick thread of bank transaction platform new function, also can not just adapt to the fast development and risk control of business The variation of system.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of front-end control methods, can be matched by updating transaction data The mode set realizes the update of the front end transaction platform page, improves the upper linear velocity of transaction platform new function.
The present invention also provides a kind of front-end control devices, to guarantee the realization and application of the above method in practice.
A kind of front-end control method, comprising:
When receiving transaction request, according to preconfigured input field, loads and show and the transaction request pair The input view answered;
It receives user and passes through the transaction data of the input view input;And according to preconfigured data rule to input The transaction data verified;
When being verified, judge whether the transaction data needs to carry out workflow examination and approval;
When needing to carry out workflow examination and approval, starts preset workflow examination and approval process, the transaction data is flowed Journey examination & approval;
At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtain the number of deals According to corresponding Message processing data;
The Message processing data are subjected to transaction results processing, obtain the corresponding transaction results of the transaction data, and The transaction results are exported.
Above-mentioned method, it is optionally, described when receiving transaction request, according to preconfigured input field, load And show input view corresponding with the transaction request, comprising:
Load the transaction List Table pre-established;
According to the transaction List Table, transaction corresponding to the transaction request is numbered;
Thread cache is carried out to numbered transaction;
According to the transaction input field that in preconfigured input field table, inquiry thread cache is traded;
According to the transaction input field that inquiry obtains, loads and show input view corresponding with the transaction request.
Above-mentioned method, it is optionally, described to be carried out according to the transaction data of the preconfigured data rule to input Verifying, comprising:
The user right of the corresponding trade user of the transaction data is verified;
After the user right of the trade user is by verifying, whether the input format for verifying the transaction data meets Preset input requirements;
When these segmentation symbols match, the transaction data verify on way, verify whether user is to initiate the transaction data Identical or mutual exclusion transaction;
When by described after way verifies, service logic verification carried out to the transaction data, verifies the transaction data Whether corresponding logical transaction meets preset service logic implementation procedure.
Above-mentioned method, optionally, the preset workflow examination and approval process of starting flows the transaction data Journey examination & approval, comprising:
Business process management start flow is called, the transaction data is assemblied into JSON formatted data;
By the corresponding JSON format data transmission of the transaction data into pre-generated transaction input list, and in institute State the public information extracted in the corresponding JSON formatted data of the transaction data in transaction input list;
When the public information of the extraction meets preset workflow examination and approval rule, examined by the process of the transaction data Batch.
Above-mentioned method, optionally, when the transaction data do not need carry out workflow examination and approval when, to the transaction data into Row Message processing, until obtaining the corresponding transaction results of the transaction data.
Above-mentioned method, it is optionally, described to carry out Message processing by the transaction data of workflow examination and approval, obtain the friendship The corresponding Message processing data of easy data, comprising:
According to preset message assembling mode, message assembling is carried out to the transaction data by workflow examination and approval;
According to preset transmission rule, the transaction data after message assembles is sent to corresponding outer machine and is carried out Trading processing;
When receiving the transaction data that the outer machine returns, according to preset packet parsing rule, to institute It states the transaction data that outer machine returns to be parsed, obtains the corresponding Message processing data of the transaction data.
Above-mentioned method, it is optionally, described that the Message processing data are subjected to transaction results processing, comprising:
Obtain the corresponding result treatment class of the Message processing data;
Whether the result treatment class for judging the acquisition is empty;
If so, default result treatment class is obtained, and by the result processing method of the default result treatment class, to described Message processing data carry out transaction results processing;
If it is not, then trading by the result processing method of the result treatment class obtained to the Message processing data Result treatment.
A kind of front-end control device, comprising:
Input unit according to preconfigured input field, is loaded and is shown and institute for when receiving transaction request State the corresponding input view of transaction request;
Backstage verification unit passes through the transaction data of the input view input for receiving user;And according to matching in advance The data rule set verifies the transaction data of input;
Workflow examination and approval unit, for when needing to carry out workflow examination and approval, starting preset workflow examination and approval process, to institute It states transaction data and carries out workflow examination and approval;
Message process unit, the transaction data for that will pass through workflow examination and approval carry out Message processing, obtain the number of deals According to corresponding Message processing data;
On-line unit carries out data transmission for connecting outer machine with the outer machine;
Result treatment unit obtains the transaction data for the Message processing data to be carried out transaction results processing Corresponding transaction results;
Output unit, for loading and showing output view corresponding with the transaction results;
Configuration unit, for the input unit, the backstage verification unit, the workflow examination and approval unit, the report Literary processing unit, the result treatment unit and the output unit carry out transaction data configuration;
Storage unit, for saving transaction results data.
A kind of storage medium, the storage medium include the instruction of storage, wherein in described instruction operation described in control Equipment where storage medium executes above-mentioned front-end control method.
A kind of electronic equipment, including memory and one perhaps one of them or one of more than one instruction with Upper instruction is stored in memory, and is configured to execute above-mentioned front-end control side by one or more than one processor Method.
Compared with prior art, the present invention includes the following advantages:
The present invention provides front-end control methods, comprising: when receiving transaction request, according to preconfigured input word Section, loads and shows input view corresponding with the transaction request;It receives user and passes through the transaction of the input view input Data;It is verified according to the transaction data of the preconfigured data rule to input;When being verified, the friendship is judged Whether easy data need to carry out workflow examination and approval;When needing to carry out workflow examination and approval, start preset workflow examination and approval process, to institute It states transaction data and carries out workflow examination and approval;At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtained Obtain the corresponding Message processing data of the transaction data;The Message processing data are subjected to transaction results processing, described in acquisition The corresponding transaction results of transaction data, and the transaction results are exported.Front-end control method provided by the invention only needs The update that the front end transaction platform page can have both been realized by adjusting the configuration of preset transaction data, it is flat to improve bank transaction The upper linear velocity of platform new function.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of method flow diagram of front-end control method provided by the invention;
Fig. 2 is a kind of another method flow diagram of front-end control method provided by the invention;
Fig. 3 is a kind of structural schematic diagram of front-end control device provided by the invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The present invention can be used in numerous general or special purpose computing device environment or configurations.Such as: personal computer, service Device computer, handheld device or portable device, laptop device, multi-processor device including any of the above devices or devices Distributed computing environment etc..
The embodiment of the invention provides a kind of front-end control method, this method can be applied in bank's front end transaction platform In, executing subject can be front end transaction platform processor, and the method flow diagram of the method is as shown in Figure 1, specifically include:
S101: it when receiving transaction request, according to preconfigured input field, loads and shows and asked with the transaction Seek corresponding input view;
In method provided in an embodiment of the present invention, user logs in transaction platform and trades, and processor receives the use When the transaction request at family, user is configured to according to transaction input field and loads and shows input view.
S102: it receives user and passes through the transaction data of the input view input;And according to preconfigured data rule The transaction data of input is verified;
In method provided in an embodiment of the present invention, user is when inputting transaction views progress Transaction Information input, processor The user is received by the transaction data of input view input, and according to preconfigured data rule, to input transaction page The transaction data in face carries out background authentication, and the preconfigured data rule can be Transaction Information configuration.
S103: when being verified, judge whether the transaction data needs to carry out workflow examination and approval;
In method provided in an embodiment of the present invention, after the transaction data of user's input is upchecked, judge whether needs pair The transaction data carries out workflow examination and approval.
S104: when needing to carry out workflow examination and approval, starting preset workflow examination and approval process, to the transaction data into Row workflow examination and approval;
In method provided in an embodiment of the present invention, if necessary to workflow examination and approval, then start preset workflow examination and approval mistake Journey, the preset workflow examination and approval process can be according to prespecified transaction configuration template, start corresponding examination & approval Process carries out workflow examination and approval to the transaction.
S105: at the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtains the friendship The corresponding Message processing data of easy data;
In method provided in an embodiment of the present invention, after workflow examination and approval, configured according to preset message to through overcurrent The transaction data of journey examination & approval carries out Message processing, and the message configuration can be the message configuration of transaction input field table.
S106: carrying out transaction results processing for the Message processing data, obtains the corresponding transaction knot of the transaction data Fruit, and the transaction results are exported.
In method provided in an embodiment of the present invention, the Message processing data are subjected to transaction results processing, described in acquisition The corresponding transaction results of transaction data, and according to transaction output field configuration, the transaction results are loaded into the output page.
In method provided in an embodiment of the present invention, it should be noted that the Transaction Information configuration includes at least: transaction Code, type of transaction can initiate role, the recyclable number of maximum, and input page exports the page, transaction input table, transaction results Table, preposition inquiry transaction, flow template are loaded into page processor, in way checker, service logic checker, and results processor, Unknown processor, Message processing device, if delete.
In method provided in an embodiment of the present invention, it should be noted that the transaction input field configuration includes at least: handing over Easy code, field name, field Chinese, order of the field, recycle mark, the verification of the basis WEB, input type, code table or set, whether It can modify, default value, whether can modify after preservation, JS event, whether to organize message, test serial number, start of message (SOM) position, message long Degree, message data format, type of message and transaction system.
In method provided in an embodiment of the present invention, it should be noted that the transaction output field configuration includes at least: handing over Easy code, field name, field Chinese, order of the field, circulation mark, code table or set, test serial number, start of message (SOM) position, message Length, message data format, type of message, the configuration of transaction system transaction field mapping table: transaction code, field to be updated and word Section value.
In method provided in an embodiment of the present invention, it should be further noted that Transaction Information configuration, the transaction Input field configuration and transaction output field configuration are the configurations that can be updated, and are handed over when transaction platform needs to update When easy product, the update of the front end transaction platform page can be realized, to realize products transactions quickly more by updating above-mentioned configuration New purpose.
The present invention provides front-end control methods, comprising: when receiving transaction request, according to preconfigured input word Section, loads and shows input view corresponding with the transaction request;It receives user and passes through the transaction of the input view input Data;It is verified according to the transaction data of the preconfigured data rule to input;When being verified, the friendship is judged Whether easy data need to carry out workflow examination and approval;When needing to carry out workflow examination and approval, start preset workflow examination and approval process, to institute It states transaction data and carries out workflow examination and approval;At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtained Obtain the corresponding Message processing data of the transaction data;The Message processing data are subjected to transaction results processing, described in acquisition The corresponding transaction results of transaction data, and the transaction results are exported.Front-end control method provided by the invention only needs The update that the front end transaction platform page can have both been realized by adjusting the configuration of preset transaction data, it is flat to improve bank transaction The upper linear velocity of platform new function.
It is described when receiving transaction request in front-end control method provided in an embodiment of the present invention, according to being pre-configured with Input field, load and show input view corresponding with the transaction request, comprising:
Load the transaction List Table pre-established;
According to the transaction List Table, transaction corresponding to the transaction request is numbered;
Thread cache is carried out to numbered transaction;
According to the transaction input field that in preconfigured input field table, inquiry thread cache is traded;
According to the transaction input field that inquiry obtains, loads and show input view corresponding with the transaction request.
Method provided in an embodiment of the present invention, when receiving transaction request, processor according to currently logged on user role, Inquiry meets the transaction of active user role, obtains the transaction data of corresponding user's request, and will be described with JSON format Transaction data passes to front end view, and front end view receives and parses through the transaction data of JSON format, and by the JSON format Transaction data is converted into selectable transaction List Table, and then transaction corresponding to transaction request is numbered, and has the transaction Corresponding transaction coding, then activates thread cache, carries out thread cache to numbered transaction, the thread cache saves The Hash codes of querying condition and the key-value pair of transaction results data, realizing can only call once in same a thread with Hash codes Transaction, prevents in a thread, is repeatedly called by identical condition with a transaction, leads to the waste of transaction platform resource.
It after carrying out thread cache, is configured according to preconfigured input field table, the transaction of inquiry thread cache transaction is defeated The field entered, and corresponding transaction page is loaded according to the input field, and according to the configuration mode of the transaction page into Row page layout and verification, load and display transaction input view.Wherein, the configuration mode of the transaction page may include: Field type (such as: Text Entry, drop-down list, check box, date), field sequence of positions, the verification of field input format (such as: must defeated, read-only, length, data type), default value, JS event, loop body etc..
Method provided in an embodiment of the present invention, it is preferred that user is when input view input data finishes, transaction platform root The verification in view level is carried out according to the configuration of transaction input field and the verification of the basis WEB and JS event, if verification does not pass through, The then corresponding error message of instantly prompting on input view.If verification passes through, transaction platform processor is inputting user The data conversion inputted in view is submitted to background process at the JSON formatted data convenient for network transmission.
In method provided in an embodiment of the present invention, according to preconfigured data rule to the transaction data of input into Row verifying, comprising:
The user right of the corresponding trade user of the transaction data is verified;
After the user right of the trade user is by verifying, whether the input format for verifying the transaction data meets Preset input requirements;
When these segmentation symbols match, the transaction data verify on way, verify whether user is to initiate the transaction data Identical or mutual exclusion transaction;
When by described after way verifies, service logic verification carried out to the transaction data, verifies the transaction data Whether corresponding logical transaction meets preset service logic implementation procedure.
Method provided in an embodiment of the present invention first has to carry out when the transaction data of user's input is submitted to backstage verification Trading privilege verification, checks whether the user right of the corresponding trade user of the transaction data meets the scheduled rules of competence. After the authorization check of user passes through, whether the input format for verifying the transaction data meets preset input requirements, described defeated Entry format can wrap or: whether must whether defeated, length meets, whether data type correct etc..The input format school of transaction data It tests by rear, trades and verified on way, the step is that user while initiating identical same a transaction data in order to prevent Or the transaction of mutual exclusion.Be finally service logic verification, verify the corresponding logical transaction of the transaction data whether meet it is preset Service logic implementation procedure, service logic verification are the expansions to Input Data Verification, effectively improve final success of trading Rate.
In method provided in an embodiment of the present invention, start preset workflow examination and approval process, to the transaction data into Row workflow examination and approval, comprising:
Business process management start flow is called, the transaction data is assemblied into JSON formatted data;
By the corresponding JSON format data transmission of the transaction data into pre-generated transaction input list, and in institute State the public information extracted in the corresponding JSON formatted data of the transaction data in transaction input list;
When the public information of the extraction meets preset workflow examination and approval rule, examined by the process of the transaction data Batch.
In method provided in an embodiment of the present invention, when carrying out workflow examination and approval, start preset workflow examination and approval process, institute It states preset workflow examination and approval process and can be and corresponding approval process is started according to the flow template of configuration, first calling industry Business workflow management BPM start flow, is assemblied into JSON formatted data for the transaction data, by the JSON format data transmission In extremely pre-generated transaction input list, public information extraction is finally carried out, in transaction input list described in extraction Public information in JSON formatted data, and transaction data important in the public information is recorded, it trades convenient for user Inquiry and statistics.
In method provided in an embodiment of the present invention, when the transaction data does not need to carry out workflow examination and approval, to the friendship Easy data carry out Message processing, until obtaining the corresponding transaction results of the transaction data.
In method provided in an embodiment of the present invention, when the transaction data does not need to carry out workflow examination and approval, according in advance The Message processing rule of setting, carries out Message processing to the transaction data, until obtaining the corresponding transaction of the transaction data As a result, and the transaction results load transaction is exported the page.
In method provided in an embodiment of the present invention, it is preferred that, can when the transaction data does not need to carry out workflow examination and approval According to scheduled transmission rule, the transaction data is directly transferred to corresponding outer machine, online calling GLMS carries out number of deals According to processing, transaction results data are obtained, and are configured according to preset transaction results output field, load transaction result page Face.
It is described to carry out Message processing by the transaction data of workflow examination and approval in method provided in an embodiment of the present invention, it obtains Obtain the corresponding Message processing data of the transaction data, comprising:
According to preset message assembling mode, message assembling is carried out to the transaction data by workflow examination and approval;
According to preset transmission rule, the transaction data after message assembles is sent to corresponding outer machine and is carried out Trading processing;
When receiving the transaction data that the outer machine returns, according to preset packet parsing rule, to institute It states the transaction data that outer machine returns to be parsed, obtains the corresponding Message processing data of the transaction data.
In method provided in an embodiment of the present invention, called at corresponding message according to the message configuration of transaction input field table Manage device, the Message processing device according to preset message assembling mode, to the transaction data by workflow examination and approval into The assembling of row message, and assembled message is sent to corresponding outer machine and carries out trading processing, while according to preset report Literary resolution rules, the synchronous Message processing for receiving and parsing the outer machine return is as a result, the packet parsing rule can be friendship The resolution rules of easy outgoing message configuration.
In method provided in an embodiment of the present invention, the Message processing data are subjected to transaction results processing, comprising:
Obtain the corresponding result treatment class of the Message processing data;
Whether the result treatment class for judging the acquisition is empty;
If so, default result treatment class is obtained, and by the result processing method of the default result treatment class, to described Message processing data carry out transaction results processing;
If it is not, then trading by the result processing method of the result treatment class obtained to the Message processing data Result treatment.
In method provided in an embodiment of the present invention, according to the Message processing data returned after Message processing, the report is obtained The corresponding result treatment class of text processing data, and judge whether the result treatment class is empty, if it is not, by the result obtained The result processing method for handling class carries out transaction results processing to the Message processing data;If it is, obtaining the knot of default Fruit handles class, carries out transaction results processing to the Message processing data, wherein the result treatment class of the default is according to pre- What the transaction results data acquisition first configured obtained.
In method provided in an embodiment of the present invention, it is preferred that the transaction platform is that bank transaction platform is mentioned with reference to Fig. 2 The detail flowchart for having supplied front-end control is described in detail method provided in an embodiment of the present invention in conjunction with the flow chart, It is specific as follows:
Method provided in an embodiment of the present invention, when receiving transaction request, transaction platform processor is logged according to current User role, inquiry meet the transaction of active user role, then load transaction list is numbered the transaction, makes institute Stating transaction has corresponding transaction to encode, and carries out scope check to the permission of user, wherein load transaction list and scope check Process be to be carried out according to preconfigured trading privilege table.Then thread cache is activated, prevents from passing through in a thread Identical condition is repeatedly called with a transaction.It is defeated according to the inquiry transaction of preconfigured input field table after thread cache The field entered, and according to the input field load transaction view, user inputs transaction data in the transaction views, then will The transaction data is assembled into sheet format, and submits declaration form, carries out view page verification.
It after view page verification passes through, is configured according to Transaction Information and carries out backstage verification, the backstage verification includes input Data format verification is verified in way verification, service logic.The input format verifying is that the input format of verifying transaction data is It is no to meet preset input requirements, after the input format verification of transaction data passes through, trade in way verification, the step is User is to same a transaction data in order to prevent, while initiating identical or mutual exclusion transaction, is finally service logic verification, verifying Whether the corresponding logical transaction of the transaction data meets preset service logic implementation procedure.
Backstage verification judges whether the corresponding transaction data of transaction request needs workflow examination and approval after passing through, if it is not, then directly It meets online tune GLMS and carries out transaction data processing, obtain transaction results data, and according to preset transaction results output word Section configuration, load transaction result view.It is then shut off thread cache, in conjunction with whole flow process.
Backstage verification judges whether the corresponding transaction data of transaction request needs workflow examination and approval after passing through, if it is, hair Process is played, corresponding approval process is started according to preconfigured flow template, calling business process management first initiates stream The transaction data is assemblied into JSON formatted data by journey, and the JSON format data transmission is defeated to pre-generated transaction Enter in list, finally carry out public information extraction, the public affairs in the JSON formatted data are extracted in the transaction input list Co-information, and transaction data important in the public information is recorded, the inquiry and statistics traded convenient for user.
Message processing is carried out after workflow examination and approval, transaction platform is configured according to the message of transaction input field table, called Corresponding Message processing device assembles message, and assembled message is sent to outer machine and carries out trading processing, while according to According to preset packet parsing rule, the synchronous Message processing result for receiving and parsing the outer machine and return.
Processing transaction results are obtained according to the data that Message processing returns, are to obtain the processing transaction results to correspond to first Result treatment class, and judge whether the result treatment class is empty, if it is not, then by the result of the result treatment class obtained Processing method carries out transaction results processing to the Message processing data;If it is, the result treatment class of default is obtained, it is right The Message processing data carry out transaction results processing, obtain transaction results data, and defeated according to preset transaction results Field configuration out, load transaction result view, finally closes thread cache, in conjunction with whole flow process.
Corresponding with method described in Fig. 1, the embodiment of the invention also provides a kind of front-end control devices, to Fig. 1 The specific implementation of middle method, front-end control device provided in an embodiment of the present invention can be applied in terminal or various shiftings In dynamic equipment, structural schematic diagram is as shown in Figure 3, comprising:
Input unit according to preconfigured input field, is loaded and is shown and institute for when receiving transaction request State the corresponding input view of transaction request;
Backstage verification unit passes through the transaction data of the input view input for receiving user;And according to matching in advance The data rule set verifies the transaction data of input;
Workflow examination and approval unit, for when needing to carry out workflow examination and approval, starting preset workflow examination and approval process, to institute It states transaction data and carries out workflow examination and approval;
Message process unit, the transaction data for that will pass through workflow examination and approval carry out Message processing, obtain the number of deals According to corresponding Message processing data;
On-line unit carries out data transmission for connecting outer machine with the outer machine;
Result treatment unit obtains the transaction data for the Message processing data to be carried out transaction results processing Corresponding transaction results;
Output unit, for loading and showing output view corresponding with the transaction results;
Configuration unit, for the input unit, the backstage verification unit, the workflow examination and approval unit, the report Literary processing unit, the result treatment unit and the output unit carry out transaction data configuration;
Storage unit, for saving transaction results data.
Front-end control device provided by the invention, according to preconfigured input field, adds when receiving transaction request It carries and shows input view corresponding with the transaction request;It receives user and passes through the transaction data of the input view input; It is verified according to the transaction data of the preconfigured data rule to input;When being verified, the number of deals is judged According to whether needing to carry out workflow examination and approval;When needing to carry out workflow examination and approval, start preset workflow examination and approval process, to the friendship Easy data carry out workflow examination and approval;At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtain institute State the corresponding Message processing data of transaction data;The Message processing data are subjected to transaction results processing, obtain the transaction The corresponding transaction results of data, and the transaction results are exported.Using front-end control method provided by the invention, only need The update that the front end transaction platform page can have both been realized by adjusting the configuration of preset transaction data, it is flat to improve bank transaction The upper linear velocity of platform new function.
The embodiment of the invention also provides a kind of storage medium, the storage medium includes the instruction of storage, wherein in institute It states the equipment where controlling the storage medium when instruction operation and executes above-mentioned front-end control method.
The embodiment of the invention also provides a kind of electronic equipment, structural schematic diagram is as shown in figure 4, specifically include memory 401 and one perhaps more than one 402 one of them or more than one instruction of instruction 402 be stored in memory 401 In, and be configured to by one or more than one processor 403 execute the one or more instruction 402 carry out with Lower operation:
When receiving transaction request, according to preconfigured input field, loads and show and the transaction request pair The input view answered;
It receives user and passes through the transaction data of the input view input;And according to preconfigured data rule to input The transaction data verified;
When being verified, judge whether the transaction data needs to carry out workflow examination and approval;
When needing to carry out workflow examination and approval, starts preset workflow examination and approval process, the transaction data is flowed Journey examination & approval;
At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtain the number of deals According to corresponding Message processing data;
The Message processing data are subjected to transaction results processing, obtain the corresponding transaction results of the transaction data, and The transaction results are exported.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention Method described in part.
A kind of front-end control method and device provided by the present invention is described in detail above, tool used herein Body example is illustrated the principle of the present invention and embodiment, the present invention that the above embodiments are only used to help understand Method and its core concept;At the same time, for those skilled in the art is being embodied according to the thought of the present invention There will be changes in mode and application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of front-end control method characterized by comprising
When receiving transaction request, according to preconfigured input field, loads and show corresponding with the transaction request Input view;
It receives user and passes through the transaction data of the input view input;And according to preconfigured data rule to the institute of input Transaction data is stated to be verified;
When being verified, judge whether the transaction data needs to carry out workflow examination and approval;
When needing to carry out workflow examination and approval, start preset workflow examination and approval process, process is carried out to the transaction data and is examined Batch;
At the end of workflow examination and approval, Message processing will be carried out by the transaction data of workflow examination and approval, obtain the transaction data pair The Message processing data answered;
The Message processing data are subjected to transaction results processing, obtain the corresponding transaction results of the transaction data, and by institute Transaction results are stated to be exported.
2. the method according to claim 1, wherein described when receiving transaction request, according to being pre-configured with Input field, load and show input view corresponding with the transaction request, comprising:
Load the transaction List Table pre-established;
According to the transaction List Table, transaction corresponding to the transaction request is numbered;
Thread cache is carried out to numbered transaction;
According to the transaction input field that in preconfigured input field table, inquiry thread cache is traded;
According to the transaction input field that inquiry obtains, loads and show input view corresponding with the transaction request.
3. the method according to claim 1, wherein it is described according to preconfigured data rule to the institute of input Transaction data is stated to be verified, comprising:
The user right of the corresponding trade user of the transaction data is verified;
When the trade user user right by verifying after, verify the transaction data input format whether meet it is default Input requirements;
When these segmentation symbols match, the transaction data verify on way, verify whether user is identical to transaction data initiation Or mutual exclusion transaction;
When by described after way verifies, service logic verification carried out to the transaction data, it is corresponding to verify the transaction data Logical transaction whether meet preset service logic implementation procedure.
4. the method according to claim 1, wherein described start preset workflow examination and approval process, to institute It states transaction data and carries out workflow examination and approval, comprising:
Business process management start flow is called, the transaction data is assemblied into JSON formatted data;
By the corresponding JSON format data transmission of the transaction data into pre-generated transaction input list, and in the friendship The public information in the corresponding JSON formatted data of the transaction data is easily extracted in input list;
When the public information of the extraction meets preset workflow examination and approval rule, pass through the workflow examination and approval of the transaction data.
5. the method according to claim 1, wherein further include: when the transaction data does not need to carry out process When examination & approval, Message processing is carried out to the transaction data, until obtaining the corresponding transaction results of the transaction data.
6. the method according to claim 1, wherein described will carry out message by the transaction data of workflow examination and approval Processing, obtains the corresponding Message processing data of the transaction data, comprising:
According to preset message assembling mode, message assembling is carried out to the transaction data by workflow examination and approval;
According to preset transmission rule, the transaction data after message assembles is sent to corresponding outer machine and is traded Processing;
When receiving the transaction data that the outer machine returns, according to preset packet parsing rule, to described outer The transaction data that machine returns is parsed, and the corresponding Message processing data of the transaction data are obtained.
7. the method according to claim 1, wherein described carry out the Message processing data at transaction results Reason, comprising:
Obtain the corresponding result treatment class of the Message processing data;
Whether the result treatment class for judging the acquisition is empty;
If so, default result treatment class is obtained, and by the result processing method of the default result treatment class, to the message It handles data and carries out transaction results processing;
If it is not, then carrying out transaction results to the Message processing data by the result processing method of the result treatment class obtained Processing.
8. a kind of front-end control device characterized by comprising
Input unit, for according to preconfigured input field, loading and showing and the friendship when receiving transaction request Easily request corresponding input view;
Backstage verification unit passes through the transaction data of the input view input for receiving user;And according to preconfigured Data rule verifies the transaction data of input;
Workflow examination and approval unit, for when needing to carry out workflow examination and approval, starting preset workflow examination and approval process, to the friendship Easy data carry out workflow examination and approval;
Message process unit, the transaction data for that will pass through workflow examination and approval carry out Message processing, obtain the transaction data pair The Message processing data answered;
On-line unit carries out data transmission for connecting outer machine with the outer machine;
It is corresponding to obtain the transaction data for the Message processing data to be carried out transaction results processing for result treatment unit Transaction results;
Output unit, for loading and showing output view corresponding with the transaction results;
Configuration unit, to the input unit, the backstage verification unit, the workflow examination and approval unit, the message It manages unit, the result treatment unit and the output unit and carries out transaction data configuration;
Storage unit, for saving transaction results data.
9. a kind of storage medium, which is characterized in that the storage medium includes the instruction of storage, wherein run in described instruction When control the equipment where the storage medium and execute front-end control method as described in claim 1~7 any one.
10. a kind of electronic equipment, which is characterized in that including memory and one or more than one instruction, one of them Perhaps more than one instruction is stored in memory and is configured to be executed by one or more than one processor as right is wanted Seek front-end control method described in 1~7 any one.
CN201811295060.5A 2018-11-01 2018-11-01 Front-end control method and device, storage medium and electronic equipment Active CN109447806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811295060.5A CN109447806B (en) 2018-11-01 2018-11-01 Front-end control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811295060.5A CN109447806B (en) 2018-11-01 2018-11-01 Front-end control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109447806A true CN109447806A (en) 2019-03-08
CN109447806B CN109447806B (en) 2021-06-01

Family

ID=65550325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811295060.5A Active CN109447806B (en) 2018-11-01 2018-11-01 Front-end control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109447806B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694745A (en) * 2020-06-15 2020-09-22 北京首汽智行科技有限公司 Vehicle cost simulation calculation method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5827261A (en) * 1981-08-10 1983-02-17 Sharp Corp Money paying and peceiving system
WO2000033264A1 (en) * 1998-12-02 2000-06-08 Swisscom Ag Method and system for charging or recharging an account with a value corresponding to a sum of money
CN102291437A (en) * 2011-07-27 2011-12-21 武汉天喻信息产业股份有限公司 System and method for realizing application of cross-platform internet
CN104320482A (en) * 2014-11-04 2015-01-28 中国银行股份有限公司 Bank teller front-end system
CN204759516U (en) * 2015-06-19 2015-11-11 中国工商银行股份有限公司 Voucher management system
CN106339457A (en) * 2016-08-26 2017-01-18 山东尚捷信息科技有限公司 Counter system based on B/S architecture and data transmission method thereof
CN107370786A (en) * 2017-06-02 2017-11-21 广州杰赛科技股份有限公司 A kind of general information management system based on micro services framework
US20170337628A1 (en) * 2015-02-13 2017-11-23 Mount Olympus Mortgage Company Automated Consumer-Facing Mortgage Processing System
CN107437222A (en) * 2017-08-03 2017-12-05 中国银行股份有限公司 The processing method and system of online business data based on bank counter front end
CN107958551A (en) * 2017-12-29 2018-04-24 福建省农村信用社联合社 A kind of full channel remote centralized authoring system of the expansible bank of business
CN107995274A (en) * 2017-11-27 2018-05-04 中国银行股份有限公司 A kind of information cuing method and front-end server based on business scenario coding
CN108229563A (en) * 2018-01-04 2018-06-29 众安信息技术服务有限公司 A kind of treasury bond futures actively do city's system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5827261A (en) * 1981-08-10 1983-02-17 Sharp Corp Money paying and peceiving system
WO2000033264A1 (en) * 1998-12-02 2000-06-08 Swisscom Ag Method and system for charging or recharging an account with a value corresponding to a sum of money
CN102291437A (en) * 2011-07-27 2011-12-21 武汉天喻信息产业股份有限公司 System and method for realizing application of cross-platform internet
CN104320482A (en) * 2014-11-04 2015-01-28 中国银行股份有限公司 Bank teller front-end system
US20170337628A1 (en) * 2015-02-13 2017-11-23 Mount Olympus Mortgage Company Automated Consumer-Facing Mortgage Processing System
CN204759516U (en) * 2015-06-19 2015-11-11 中国工商银行股份有限公司 Voucher management system
CN106339457A (en) * 2016-08-26 2017-01-18 山东尚捷信息科技有限公司 Counter system based on B/S architecture and data transmission method thereof
CN107370786A (en) * 2017-06-02 2017-11-21 广州杰赛科技股份有限公司 A kind of general information management system based on micro services framework
CN107437222A (en) * 2017-08-03 2017-12-05 中国银行股份有限公司 The processing method and system of online business data based on bank counter front end
CN107995274A (en) * 2017-11-27 2018-05-04 中国银行股份有限公司 A kind of information cuing method and front-end server based on business scenario coding
CN107958551A (en) * 2017-12-29 2018-04-24 福建省农村信用社联合社 A kind of full channel remote centralized authoring system of the expansible bank of business
CN108229563A (en) * 2018-01-04 2018-06-29 众安信息技术服务有限公司 A kind of treasury bond futures actively do city's system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694745A (en) * 2020-06-15 2020-09-22 北京首汽智行科技有限公司 Vehicle cost simulation calculation method

Also Published As

Publication number Publication date
CN109447806B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
Mik Smart contracts: terminology, technical limitations and real world complexity
US7386526B1 (en) Method of and system for rules-based population of a knowledge base used for medical claims processing
CN104919487B (en) Apparatus and method for performing task
US20090271351A1 (en) Rules engine test harness
US7822621B1 (en) Method of and system for populating knowledge bases using rule based systems and object-oriented software
CN106095554A (en) The method and device of batch data process is carried out in the most online stage
US20120246555A1 (en) Systems and methods for submitting a request for goods, services, and/or information, such as goods, services, or information related to healthcare
US20210328772A1 (en) Blockchain Management Platform for Performing Asset Adjustment, Cross Sectional Editing, and Bonding
US20080270312A1 (en) Taxonomy extension generation and management
CN108650289A (en) A kind of method and apparatus of the management data based on block chain
CN107633393A (en) Medical cloud platform monitoring system and method based on Quick Response Code
CN109447806A (en) Front-end control method and device, storage medium and electronic equipment
CN111104779A (en) Claim settlement service processing method, device, medium and electronic equipment
CN113657605B (en) Document processor based on artificial intelligence AI
Cadman Means not ends: Deterring discrimination through equivalence and functional separation
US20210374657A1 (en) Systems and methods of validating data entry and generating error flags using artificial intelligence
US7831442B1 (en) System and method for minimizing edits for medical insurance claims processing
US11012232B2 (en) Blockchain management platform for performing asset adjustment, cross sectional editing, and bonding
Zhang et al. Model Checking and Verification of the Internet Payment System with SPIN.
CN112633996B (en) Credit order distribution method, computer equipment and readable storage medium thereof
US20220245592A1 (en) Document package modifications based on entity unavailability in a document management platform
US20220245122A1 (en) Document package modifications based on organization policies in a document management platform
US20220164868A1 (en) Real-time online transactional processing systems and methods
EP3869445A1 (en) Computer system and method for generating an improved and consensual document in a multi-user environment
CN107133780A (en) Management method and device in a kind of open task-set

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