CN106874005A - The development approach and system of financial sector - Google Patents

The development approach and system of financial sector Download PDF

Info

Publication number
CN106874005A
CN106874005A CN201710095464.9A CN201710095464A CN106874005A CN 106874005 A CN106874005 A CN 106874005A CN 201710095464 A CN201710095464 A CN 201710095464A CN 106874005 A CN106874005 A CN 106874005A
Authority
CN
China
Prior art keywords
service logic
working cell
service
logic
sent
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
CN201710095464.9A
Other languages
Chinese (zh)
Other versions
CN106874005B (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.)
Shenzhen Lehigh Hongking Technology Co Ltd
Original Assignee
Shenzhen Lehigh Hongking Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lehigh Hongking Technology Co Ltd filed Critical Shenzhen Lehigh Hongking Technology Co Ltd
Priority to CN201710095464.9A priority Critical patent/CN106874005B/en
Publication of CN106874005A publication Critical patent/CN106874005A/en
Application granted granted Critical
Publication of CN106874005B publication Critical patent/CN106874005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention is applied to financial technology field, there is provided the development approach and system of financial sector, including:The service logic of financial sector is created, and creates the system working cell for supporting the service logic operation;Receive the service request that client sends;The service request is sent in agent queue;The service request is distributed in the more than one working cell according to Fair Queue mode;Service logic is called, in the service logic is operated in the working cell, and the service request is processed, generate result;The result is sent to client.The invention enables the service logic that developer only needs to development and application layer, without concern low-level details, thus reduce exploitation and safeguard the difficulty of financial transaction system, and improve development efficiency.

Description

The development approach and system of financial sector
Technical field
The invention belongs to financial technology field, more particularly to financial sector development approach and system.
Background technology
The transaction of various financial classes needs developer to provide powerful hind computation system, to process numerous financial transaction institutes The mass data of generation.At present, financial market occurs in that some solve the collection of large complicated monetary affair under distributed environment Groupization application platform, these large-scale financial sectors, the financial field problem for not only needing treatment actual will also be these treatment gold Melt program provided auxiliary function and the basic-level support of problem.
However, existing service logic can only be developed based on C++, C++ grammers are complicated, and development efficiency is low, to developer Requirement it is very high.Meanwhile, the business logic modules transplantability for developing is poor, it is necessary to be directed to different platforms, different volumes Translating device carries out exploitation, test, the deployment of technicality, therefore, existing financial sector developer is in exploitation financial business application When, in addition it is also necessary to first floor system is paid close attention to, the time cost of developer is wasted and is increased exploitation and the difficulty safeguarded.
The content of the invention
In view of this, the development approach and system of financial sector are the embodiment of the invention provides, to solve existing finance Transaction system debugging difficulty and the poor problem of service logic transplantability in exploitation.In a first aspect, creating financial sector Service logic, and create the system working cell for supporting the service logic operation;The business for receiving client transmission please Ask;The service request is sent in agent queue;According to Fair Queue mode by the service request be distributed to one with On the working cell in;Service logic is called, in the service logic is operated in the working cell, and to the industry Business request is processed, and generates result;The result is sent to client.
A kind of second aspect, there is provided development system of financial sector, including:Creation module, for creating financial sector Service logic, and create the system working cell for supporting service logic operation;
First receiver module, the service request for receiving client transmission;Forwarding module, for by the service request It is sent in agent queue;Agent queue module, for according to Fair Queue mode by the service request be distributed to one with On the working cell in;Processing module, for calling service logic, makes the service logic operate in the working cell In, and the service request is processed, generate result;Sending module, for the result to be sent into visitor Family end.
In embodiments of the present invention, by create financial sector service logic and for support service logic run Working cell;Receive the service request that client sends;Service request is sent in agent queue;According to Fair Queue mode Service request is distributed in more than one working cell;Service logic is called, in service logic is operated in working cell, And service request is processed, generate result;Result is sent to client so that developer only needs to out The service logic of application layer is sent out, without concern low-level details.The beneficial effect of the embodiment of the present invention be reduction of exploitation and The difficulty of financial transaction system is safeguarded, and improves development efficiency.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is that the development approach of the financial sector that the embodiment of the present invention one is provided realizes flow chart;
Fig. 2 is the hierarchical chart of the financial sector that the embodiment of the present invention one is provided;
Fig. 3 is the building-block of logic of the financial sector that the embodiment of the present invention one is provided;
Fig. 4 is that the development approach S101 of the financial sector that the embodiment of the present invention one is provided implements flow chart;
Fig. 5 is that the development approach S105 of the financial sector that the embodiment of the present invention one is provided implements flow chart;
Fig. 6 is that the development approach of the financial sector that the embodiment of the present invention two is provided realizes flow chart;
Fig. 7 is that the development approach of the financial sector that the embodiment of the present invention three is provided realizes flow chart;
Fig. 8 is that the development approach of the financial sector that the embodiment of the present invention four is provided realizes flow chart;
Fig. 9 is the development system structured flowchart of the financial sector that the embodiment of the present invention five is provided.
Specific embodiment
In below describing, in order to illustrate rather than in order to limit, it is proposed that the such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that specific without these The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, system, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
Set up working cell and service logic;Receive the service request that client sends;Service request is sent to generation In reason queue;Service request is distributed in more than one working cell according to Fair Queue mode;Service logic is called, is made Service logic is operated in working cell, and service request is processed, and generates result;Result is sent to visitor Family end.
Embodiment one:
Fig. 1 shows that the development approach of the financial sector that the embodiment of the present invention one is provided realizes flow, and details are as follows:
In S101, the service logic of financial sector is created, and create the working cell for supporting service logic to run; Receive the service request that client sends.
In order to preferably solve the problems, such as that financial field needs to process magnanimity transaction data, the embodiment of the present invention have developed One financial transaction system, flexible and easy-to-use platform is provided to solve large complicated clustering application under distributed environment. Topmost two concepts of the system, one is working cell, and another is service logic.
Service logic is that developer is the application program for realizing the exploitation of some finance trade functions, and developer can make Some already present service logics are called to realize business function with some api functions (application programming interface function). Business function can be realized oneself to write business logic modules that some can load.Referred to herein as the service logic for loading Module is that user writes, can in the case where system operation is not interrupted dynamic load or unloading business logic modules.
Working cell encapsulates and belongs to Internet, the function of database some bottoms, for service logic provides operation Environment, system resource and calling interface.So the developer of financial business can be placed on energy in the exploitation of service logic, and The systemic-function details such as concerned about network and data processing are not needed.
After service logic and working cell exploitation are completed, can be combined by configuration file as playing with building blocks Different service logics and working cell, so as to realize different business demands.
Fig. 2 shows the hierarchical chart of the financial sector that the embodiment of the present invention one is provided.
IB-kernel in figure is the bottom of whole system, the operation for supporting whole system, and this layer is not this The innovative point of inventive embodiments, therefore its method of operation and principle be not described here in detail.
IB-Engine points in figure is several middle engines such as queue engine, database engine, main memory database engine And journal engine etc., working cell mentioned above just belongs to this layer, that is, working cell operates in IB-kernel layers On.It is worth noting that whole system has multiple working cells, the application program that each working cell is supported there may be not Together, the system program of each working cell itself and the interface of encapsulation also likely to be present difference.
Script engine in figure, can provide performing environment for service logic.
Service scenario in figure is service logic mentioned above, for processing specific financial transaction problem.
Fig. 3 shows the building-block of logic of the financial sector that the embodiment of the present invention one is provided.This financial sector is supported Run on Linux and Windows.The transaction platform of the embodiment of the present invention, is all exist in the form of working cell one by one, often Individual working cell is an independent thread, has multiple service logics to perform task on each working cell, and each business is patrolled It is all by event driven to collect.There are a Listener end points and several Connector end points in each working cell. Listener is used to receive the request of client, and request is assigned to according to the service logic name of request the working cell of inside On.Each working cell can be connected in other work by Connector, and service logic can be asked by Connector Seek the service logic on other working cells.
Fig. 4 shows that the development approach S101's of the financial sector that the embodiment of the present invention one is provided implements flow.In detail State as follows:
In S401, configuration file is read.
In embodiments of the present invention, configuration file is the configuration file of YAML forms.YAML (another markup language) is A kind of Data Serialization form that can be intuitively recognized by computer, its readability is strong, be easily read by a human and easily and Script is interacted, and is commonly used to express data sequences.
In embodiments of the present invention, when system starts, the configuration file of YAML forms is read.
In S402, working cell is created according to configuration file.
In embodiments of the present invention, when system starts, ison.yaml configuration files, root under current directory can first be read According to the content creating working cell of configuration file.Configuration file format is as follows:
In S403, service logic is created according to configuration file, creating service logic includes:Create Javascript or C+ + script file.
In embodiments of the present invention, the program for the treatment of financial business is write by Javascript or C++ script files.
In S102, the service request that client sends is received.
In embodiments of the present invention, system receives the financial transaction service request sent from client, in follow-up stream Cheng Zhong, system can select suitable working cell and service logic according to this service request.
In S103, service request is sent in agent queue.
In embodiments of the present invention, before working cell is run, the service request of client can first pass through an agency Queue (may also be referred to as Shared Queue).Because can simultaneously run multiple treatment identical services in the embodiment of the present invention Working cell, the extending transversely of working cell can be realized by agent queue.
In S104, service request is distributed in more than one working cell according to Fair Queue mode.
The working method of agent queue is, after the service request of client is received, agent queue can be service request It is sent to one by one in order in multiple working cells and is processed.For example:Client c and client d send service request to being System, after system have received these service requests, is first delivered in agent queue, then in order one by one please business by agent queue Ask and be forwarded to working cell b and working cell c.
In S105, call service logic, in service logic is operated in working cell, and to service request at Reason, generates result.
Fig. 5 shows that the development approach S105's of the financial sector that the embodiment of the present invention one is provided implements flow.In detail State as follows:
In S501, service request is obtained.
In embodiments of the present invention, the service request of working cell Receiving Agent queue forwarding in S501 steps.Each There are a Listener end points and several Connector end points in working cell.Listener is used to receive the request of client, And request is assigned on the working cell of inside according to the service logic name of request.Each working cell can pass through Connector is connected in other work, and service logic can ask the business on other working cells to be patrolled by Connector Volume.
In S502, according to the service logic name included in service request, service logic is called, operate in service logic In working cell.
In the service request that client sends, comprising the service logic name for needing to call.Working cell receives business please After asking, can be according to service logic name, analyzing needs which service logic called.Working cell was described above as bottom system Unite as service logic provides running environment, service logic is operated on the basis of working cell.
In S503, composite service logic generates complete business execution logic.
In embodiments of the present invention, some service requests call the service logic can just to complete by working cell, But also there are many service requests to need to call multiple service logics can just complete.Therefore multiple business are called to patrol for those The service request that can just complete is collected, working cell needs the multiple service logics of combination and the complete business execution of generation one is patrolled Volume.
In S106, by complete business execution logic, processing business request generates result.
In S107, result is sent to client.
Embodiment two:
Fig. 6 shows that the development approach of the financial sector that the embodiment of the present invention two is provided realizes flow, and details are as follows:
In S601, working cell and service logic are set up.
In order to preferably solve the problems, such as that financial field needs to process magnanimity transaction data, the embodiment of the present invention have developed One financial transaction system, flexible and easy-to-use platform is provided to solve large complicated clustering application under distributed environment. Topmost two concepts of the system, one is working cell, and another is service logic.
Service logic is that developer is the application program for realizing the exploitation of some finance trade functions, and developer can adjust With the api function (application programming interface function) existed in some operation systems industry is realized as service logic Business function.The business logic modules that oneself can also write some can load are used as service logic to realize business function.This In the business logic modules for loading mentioned be that user writes, can in the case where system operation is not interrupted dynamic load Or unloading Service Processing Module.
Working cell encapsulates some bottom functions such as Internet, database, internal database and daily record, is that business is patrolled Collect and provide running environment, system resource and calling interface.So energy can be placed on business and patrolled by the developer of financial business In the exploitation collected, without the systemic-function details such as concerned about network and data processing.
After service logic and working cell exploitation are completed, can be as playing with building blocks, by configuration file any combination Different service logics and working cell, so as to realize different business demands.
Fig. 2 shows the hierarchical chart of the financial sector that the embodiment of the present invention two is provided.
IB-kernel in figure is the bottom of whole system, the operation for supporting whole system, and this layer is not this The innovative point of inventive embodiments, therefore its method of operation and principle be not described here in detail.
IB-Engine points in figure is several middle engines such as queue engine, database engine, main memory database engine And journal engine, this layer is equivalent to working cell mentioned above.Refer to it is to be noted that whole system has multiple work Unit, the application program that each working cell is supported there may be difference, the system program and envelope of each working cell itself The interface of dress also likely to be present difference.
Script engine in figure, can provide performing environment for service logic.
Service scenario in figure is service logic mentioned above, for processing specific financial transaction problem.
Fig. 3 shows the building-block of logic of the financial sector that the embodiment of the present invention two is provided.This financial sector is supported Run on Linux and Windows.The transaction platform of the embodiment of the present invention, is all exist in the form of working cell one by one, often Individual working cell is an independent thread, has multiple service logics to perform task on each working cell, and each business is patrolled It is all by event driven to collect.There are a Listener end points and several Connector end points in each working cell. Listener is used to receive the request of client, and request is assigned to according to the service logic name of request the working cell of inside On.Each working cell can be connected in other work by Connector, and service logic can be asked by Connector Seek the service logic on other working cells.
Fig. 4 shows that the development approach S101's of the financial sector that the embodiment of the present invention two is provided implements flow.In detail State as follows:
In S401, configuration file is read.
In embodiments of the present invention, configuration file is the configuration file of YAML forms.YAML (another markup language) is A kind of Data Serialization form that can be intuitively recognized by computer, its readability is strong, be easily read by a human and easily and Script is interacted, and is commonly used to express data sequences.
In embodiments of the present invention, when system starts, the configuration file of YAML forms is read.
In S402, working cell is created according to configuration file, working cell provides Internet, database for service logic And log interface.
In embodiments of the present invention, when system starts, ison.yaml configuration files, root under current directory can first be read According to the content creating working cell of configuration file.Configuration file format is as follows:
In S403, service logic is created according to configuration file, creating service logic includes:Create Javascript or C+ + script file.
In embodiments of the present invention, the program for the treatment of financial business is write by Javascript or C++ script files.
In S602, the topic of subscription of client is received.
In embodiments of the present invention, there is a forwarding agent before working cell, system is receiving client hair After the topic of subscription sent, topic of subscription can be sent in forwarding agent.
In S603, the message of each working cell issue is received as message to be sent.
Each working cell can be sent initially to the message to be sent of issue in forwarding agent, disappear as to be sent Breath.
In S604, the message to be sent that theme is topic of subscription is sent to client.
Forwarding agent can compare the topic of subscription for receiving, and the message to be sent for receiving, and be then to order by theme The message to be sent for readding theme is sent to client.
Embodiment three:
The present embodiment is not both with the maximum of embodiment 1:The present embodiment does not have agent queue, and working cell can directly adjust With service logic, but also therefore lose multiple working cells ability extending transversely, it is not possible to by multiple client Similar request is distributed to multiple working cells and processes simultaneously.
Fig. 7 shows that the development approach of the financial sector that the embodiment of the present invention three is provided realizes flow, and details are as follows:
In S701, working cell and service logic are set up.
In order to preferably solve the problems, such as that financial field needs to process magnanimity transaction data, the embodiment of the present invention have developed One financial transaction system, flexible and easy-to-use platform is provided to solve large complicated clustering application under distributed environment. Topmost two concepts of the system, one is working cell, and another is service logic.
Service logic is that developer is the application program for realizing the exploitation of some finance trade functions, and developer can adjust With the api function (application programming interface function) existed in some operation systems industry is realized as service logic Business function.The business logic modules that oneself can also write some can load are used as service logic to realize business function.This In the business logic modules for loading mentioned be that user writes, can in the case where system operation is not interrupted dynamic load Or unloading Service Processing Module.
Working cell encapsulates some bottom functions such as Internet, database, internal database and daily record, is that business is patrolled Collect and provide running environment, system resource and calling interface.So energy can be placed on business and patrolled by the developer of financial business In the exploitation collected, without the systemic-function details such as concerned about network and data processing.
After service logic and working cell exploitation are completed, can be as playing with building blocks, by configuration file any combination Different service logics and working cell, so as to realize different business demands.
Fig. 2 shows the hierarchical chart of the financial sector that the embodiment of the present invention three is provided.
IB-kernel in figure is the bottom of whole system, the operation for supporting whole system, and this layer is not this The innovative point of inventive embodiments, therefore its method of operation and principle be not described here in detail.
IB-Engine points in figure is several middle engines such as queue engine, database engine, main memory database engine And journal engine, this layer is equivalent to working cell mentioned above.Refer to it is to be noted that whole system has multiple work Unit, the application program that each working cell is supported there may be difference, the system program and envelope of each working cell itself The interface of dress also likely to be present difference.
Script engine in figure, can provide performing environment for service logic.
Service scenario in figure is service logic mentioned above, for processing specific financial transaction problem.
Fig. 3 shows the building-block of logic of the financial sector that the embodiment of the present invention three is provided.This financial sector is supported Run on Linux and Windows.The transaction platform of the embodiment of the present invention, is all exist in the form of working cell one by one, often Individual working cell is an independent thread, has multiple service logics to perform task on each working cell, and each business is patrolled It is all by event driven to collect.There are a Listener end points and several Connector end points in each working cell. Listener is used to receive the request of client, and request is assigned to according to the service logic name of request the working cell of inside On.Each working cell can be connected in other work by Connector, and service logic can be asked by Connector Seek the service logic on other working cells.
Fig. 4 shows that the development approach S701's of the financial sector that the embodiment of the present invention three is provided implements flow.In detail State as follows:
In S401, configuration file is read.
In embodiments of the present invention, configuration file is the configuration file of YAML forms.YAML (another markup language) is A kind of Data Serialization form that can be intuitively recognized by computer, its readability is strong, be easily read by a human and easily and Script is interacted, and is commonly used to express data sequences.
In embodiments of the present invention, when system starts, the configuration file of YAML forms is read.
In S402, working cell is created according to configuration file, working cell provides Internet, database for service logic And log interface.
In embodiments of the present invention, when system starts, ison.yaml configuration files, root under current directory can first be read According to the content creating working cell of configuration file.Configuration file format is as follows:
In S403, service logic is created according to configuration file, creating service logic includes:Create Javascript or C+ + script file.
In embodiments of the present invention, the program for the treatment of financial business is write by Javascript or C++ script files.
In S702, the service request that client sends is received.
In embodiments of the present invention, system receives the financial transaction service request sent from client, in follow-up stream Cheng Zhong, system can select suitable working cell and service logic according to this service request.In embodiments of the present invention, work The service request of unit direct reception client end in S501 steps.There is a Listener end points and some each working cell Individual Connector end points.Listener is used to receive the request of client, and request is assigned according to the service logic name of request Onto internal working cell.Each working cell can be connected in other work by Connector, and service logic can be with Service logic on other working cells is asked by Connector.
In S703, call service logic, in service logic is operated in working cell, and to service request at Reason, generates result.
In the service request that client sends, comprising the service logic name for needing to call.Working cell receives business please After asking, can be according to service logic name, analyzing needs which service logic called.Working cell was described above as bottom system Unite as service logic provides running environment, service logic is operated on the basis of working cell.
In embodiments of the present invention, some service requests call the service logic can just to complete by working cell, But also there are many service requests to need to call multiple service logics can just complete.Therefore multiple business are called to patrol for those The service request that can just complete is collected, working cell needs the multiple service logics of combination and the complete business execution of generation one is patrolled Volume.
In S704, by complete business execution logic, processing business request generates result.
In S705, result is sent to client.
Example IV:
The present embodiment is with the difference of embodiment two, and the present embodiment does not have a forwarding agent, thus the present embodiment system On a working cell client can only will be pushed to topic of subscription identical message to be sent.
Fig. 8 shows that the development approach of the financial sector that the embodiment of the present invention four is provided realizes flow, and details are as follows:
In S801, working cell and service logic are set up.
In order to preferably solve the problems, such as that financial field needs to process magnanimity transaction data, the embodiment of the present invention have developed One financial transaction system, flexible and easy-to-use platform is provided to solve large complicated clustering application under distributed environment. Topmost two concepts of the system, one is working cell, and another is service logic.
Service logic is that developer is the application program for realizing the exploitation of some finance trade functions, and developer can adjust With the api function (application programming interface function) existed in some operation systems industry is realized as service logic Business function.The business logic modules that oneself can also write some can load are used as service logic to realize business function.This In the business logic modules for loading mentioned be that user writes, can in the case where system operation is not interrupted dynamic load Or unloading Service Processing Module.
Working cell encapsulates some bottom functions such as Internet, database, internal database and daily record, is that business is patrolled Collect and provide running environment, system resource and calling interface.So energy can be placed on business and patrolled by the developer of financial business In the exploitation collected, without the systemic-function details such as concerned about network and data processing.
After service logic and working cell exploitation are completed, can be as playing with building blocks, by configuration file any combination Different service logics and working cell, so as to realize different business demands.
Fig. 2 shows the hierarchical chart of the financial sector that the embodiment of the present invention four is provided.
IB-kernel in figure is the bottom of whole system, the operation for supporting whole system, and this layer is not this The innovative point of inventive embodiments, therefore its method of operation and principle be not described here in detail.
IB-Engine points in figure is several middle engines such as queue engine, database engine, main memory database engine And journal engine, this layer is equivalent to working cell mentioned above.Refer to it is to be noted that whole system has multiple work Unit, the application program that each working cell is supported there may be difference, the system program and envelope of each working cell itself The interface of dress also likely to be present difference.
Script engine in figure, can provide performing environment for service logic.
Service scenario in figure is service logic mentioned above, for processing specific financial transaction problem.
Fig. 3 shows the building-block of logic of the financial sector that the embodiment of the present invention four is provided.This financial sector is supported Run on Linux and Windows.The transaction platform of the embodiment of the present invention, is all exist in the form of working cell one by one, often Individual working cell is an independent thread, has multiple service logics to perform task on each working cell, and each business is patrolled It is all by event driven to collect.There are a Listener end points and several Connector end points in each working cell. Listener is used to receive the request of client, and request is assigned to according to the service logic name of request the working cell of inside On.Each working cell can be connected in other work by Connector, and service logic can be asked by Connector Seek the service logic on other working cells.
Fig. 4 shows that the development approach S801's of the financial sector that the embodiment of the present invention four is provided implements flow.In detail State as follows:
In S401, configuration file is read.
In embodiments of the present invention, configuration file is the configuration file of YAML forms.YAML (another markup language) is A kind of Data Serialization form that can be intuitively recognized by computer, its readability is strong, be easily read by a human and easily and Script is interacted, and is commonly used to express data sequences.
In embodiments of the present invention, when system starts, the configuration file of YAML forms is read.
In S402, working cell is created according to configuration file, working cell provides Internet, database for service logic And log interface.
In embodiments of the present invention, when system starts, ison.yaml configuration files, root under current directory can first be read According to the content creating working cell of configuration file.Configuration file format is as follows:
In S403, service logic is created according to configuration file, creating service logic includes:Create Javascript or C+ + script file.
In embodiments of the present invention, the program for the treatment of financial business is write by Javascript or C++ script files.
In S802, the topic of subscription of client is received.
In embodiments of the present invention, system can send out topic of subscription after the topic of subscription for receiving client transmission It is sent in working cell.
In S803, the message of single working cell issue is received as message to be sent.
Some working cell can be sent initially to the message to be sent of issue in working cell.
In S804, the message to be sent that theme is topic of subscription is sent to client.
Working cell can compare the topic of subscription for receiving, and the message to be sent for receiving, and be then to order by theme The message to be sent for readding theme is sent to client.
Embodiment five:
Fig. 9 shows the development system structured flowchart of the financial sector that the embodiment of the present invention one is provided, and the system includes:
Creation module 901, for setting up working cell and service logic;
First receiver module 902, the service request for receiving client transmission;
Forwarding module 903, for service request to be sent in agent queue;
Agent queue module 904, for service request to be distributed into more than one job note according to Fair Queue mode In unit;
Processing module 905, for calling service logic, in making service logic operate in working cell, and to service request Processed, generated result;
Sending module 906, for result to be sent into client.
Further, creating unit includes:
Reading submodule, for reading configuration file;
Working cell creation module, for creating working cell according to configuration file, working cell provides for service logic Internet, database and log interface;
Service logic creation module, for creating service logic according to configuration file, creating service logic includes:Create Javascript or C++ script files.
Further, processing module includes:
Acquisition submodule, for obtaining service request;
Submodule is called, for according to the service logic name included in service request, calling service logic, makes service logic In operating in working cell;
Combination submodule, for composite service logic, generates complete business execution logic;
Generation submodule, for by complete business execution logic, processing business request to generate result.
Further, call submodule specifically for:
The service logic of this working cell is called, and calls the service logic of other working cells.
Further, system also includes:
Second receiver module, the topic of subscription for receiving client;
3rd receiver module, for receiving the message of each working cell issue as message to be sent;
Pushing module, for the message to be sent that theme is topic of subscription to be sent into client.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work( Energy unit, the division of module are carried out for example, in practical application, as needed can distribute by different above-mentioned functions Functional unit, module are completed, will the internal structure of system be divided into different functional unit or modules, to complete above description All or part of function.Each functional unit, module in embodiment can be integrated in a processing unit, or Unit is individually physically present, it is also possible to which two or more units are integrated in a unit, above-mentioned integrated unit Both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each functional unit, mould The specific name of block is also only to facilitate mutually differentiation, is not limited to the protection domain of the application.It is single in said system Unit, the specific work process of module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed system and method, can be by other Mode is realized.For example, system embodiment described above is only schematical, for example, the division of module or unit, only It is a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be combined Or another system is desirably integrated into, or some features can be ignored, or do not perform.Another, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be by some interfaces, the INDIRECT COUPLING or communication of system or unit Connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If integrated unit, can to realize in the form of SFU software functional unit and as independent production marketing or when using To store in a computer read/write memory medium.Based on such understanding, the technical scheme essence of the embodiment of the present invention On all or part of the part that is contributed to prior art in other words or the technical scheme can be with the shape of software product Formula is embodied.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments The present invention has been described in detail, it will be understood by those within the art that:It still can be to foregoing each implementation Technical scheme described in example is modified, or carries out equivalent to which part technical characteristic;And these modification or Replace, do not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution, all should include Within protection scope of the present invention.

Claims (10)

1. a kind of development approach of financial sector, it is characterised in that including:
The service logic of financial sector is created, and creates the working cell for supporting the service logic operation;
Receive the service request that client sends;
The service request is sent in agent queue;
The service request is distributed in the more than one working cell according to Fair Queue mode;
Service logic is called, in the service logic is operated in the working cell, and the service request is processed, Generation result;
The result is sent to client.
2. the method for claim 1, it is characterised in that the service logic of the establishment financial sector, and create and be used for Supporting the system working cell of the service logic operation includes:
Read configuration file;
Working cell is created according to configuration file;
Service logic is created according to configuration file, the establishment service logic includes:Create Javascript or C++ scripts text Part.
3. the method for claim 1, it is characterised in that described to call service logic, operates in the service logic In the working cell, and the service request is processed, generation result includes:
Obtain the service request;
According to the service logic name included in service request, service logic is called, the service logic is operated in the work In unit;
The service logic is combined, complete business execution logic is generated;
By the complete business execution logic, the service request is processed, generate result.
4. method as claimed in claim 3, it is characterised in that described to call the service logic to include:
By the connectivity port on the working cell, the service logic on other working cells is directly invoked.
5. the method for claim 1, it is characterised in that also include:
Receive the topic of subscription of client;
The message of each working cell issue is received as message to be sent;
The message described to be sent that theme is the topic of subscription is sent to the client.
6. a kind of development system of financial sector, it is characterised in that including:
Creation module, for creating the service logic of financial sector, and creates the system for supporting the service logic operation Working cell;
First receiver module, the service request for receiving client transmission;
Forwarding module, for the service request to be sent in agent queue;
Agent queue module, for the service request to be distributed into the more than one job note according to Fair Queue mode In unit;
Processing module, for calling service logic, in making the service logic operate in the working cell, and to the business Request is processed, and generates result;
Sending module, for the result to be sent into client.
7. system as claimed in claim 6, it is characterised in that the creating unit includes:
Reading submodule, for reading configuration file;
Working cell creation module, for creating working cell according to configuration file;
Service logic creation module, for creating service logic according to configuration file, the establishment service logic includes:Create Javascript or C++ script files.
8. system as claimed in claim 6, it is characterised in that the processing module includes:
Acquisition submodule, for obtaining the service request;
Submodule is called, for according to the service logic name included in service request, calling service logic, makes the service logic In operating in the working cell;
Combination submodule, for combining the service logic, generates complete business execution logic;
Generation submodule, for by the complete business execution logic, processing the service request, generates result.
9. system as claimed in claim 8, it is characterised in that it is described call submodule specifically for:
By the connectivity port on the working cell, the service logic on other working cells is directly invoked.
10. system as claimed in claim 6, it is characterised in that also include:
Second receiver module, the topic of subscription for receiving client;
3rd receiver module, for receiving the message of each working cell issue as message to be sent;
Pushing module, for the message described to be sent that theme is the topic of subscription to be sent into the client.
CN201710095464.9A 2017-02-22 2017-02-22 Development method and system of financial system Active CN106874005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710095464.9A CN106874005B (en) 2017-02-22 2017-02-22 Development method and system of financial system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710095464.9A CN106874005B (en) 2017-02-22 2017-02-22 Development method and system of financial system

Publications (2)

Publication Number Publication Date
CN106874005A true CN106874005A (en) 2017-06-20
CN106874005B CN106874005B (en) 2020-05-01

Family

ID=59167636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710095464.9A Active CN106874005B (en) 2017-02-22 2017-02-22 Development method and system of financial system

Country Status (1)

Country Link
CN (1) CN106874005B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728700A (en) * 2004-07-26 2006-02-01 中兴通讯股份有限公司 Web telecommunication network management system based on 'struts' architecture, and method
CN101075916A (en) * 2007-07-20 2007-11-21 中国建设银行股份有限公司 System for managing equipment
CN101706738A (en) * 2009-10-29 2010-05-12 中国联合网络通信集团有限公司 Flow application system
CN102117203A (en) * 2009-12-30 2011-07-06 上海杉达学院 Information management system based on Struts frame
US20120030663A1 (en) * 2010-07-30 2012-02-02 Joerg Schmidt Multiplexer for multi-tenant architectures
US20150220352A1 (en) * 2014-02-05 2015-08-06 Travis T. Wilson Method and System for Executing Third-Party Agent Code in a Data Processing System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728700A (en) * 2004-07-26 2006-02-01 中兴通讯股份有限公司 Web telecommunication network management system based on 'struts' architecture, and method
CN101075916A (en) * 2007-07-20 2007-11-21 中国建设银行股份有限公司 System for managing equipment
CN101706738A (en) * 2009-10-29 2010-05-12 中国联合网络通信集团有限公司 Flow application system
CN102117203A (en) * 2009-12-30 2011-07-06 上海杉达学院 Information management system based on Struts frame
US20120030663A1 (en) * 2010-07-30 2012-02-02 Joerg Schmidt Multiplexer for multi-tenant architectures
US20150220352A1 (en) * 2014-02-05 2015-08-06 Travis T. Wilson Method and System for Executing Third-Party Agent Code in a Data Processing System

Also Published As

Publication number Publication date
CN106874005B (en) 2020-05-01

Similar Documents

Publication Publication Date Title
CN111061715B (en) Web and Kafka-based distributed data integration system and method
CN109889571A (en) A kind of development platform system and development approach
CN109906597B (en) Storing and retrieving restricted and unrestricted data sets to and from a cloud network
TW200809664A (en) Method an apparatus for middleware assisted system integration in a federated environment
US9459897B2 (en) System and method for providing data analysis service in cloud environment
KR20210005043A (en) Input and output schema mapping
CN103034295B (en) The reconfigurable micro server that I/O capability strengthens
CN111767144B (en) Transaction route determination method, device, equipment and system for transaction data
CN106033476A (en) Incremental graphic computing method in distributed computing mode under cloud computing environment
CN111221793B (en) Data mining method, platform, computer equipment and storage medium
CN109828940A (en) A kind of intelligent network adapter and data processing system and method
CN105721582A (en) Multi-node file backup system
CN115658348A (en) Micro-service calling method, related device and storage medium
CN107861821B (en) Mining method and device for module call relation and computer readable medium
CN104123135A (en) Method and device for unifying background interfaces
CN106874005A (en) The development approach and system of financial sector
CN115361389A (en) Cloud computing instance creation method and device
CN111880769B (en) Abstract description method suitable for Internet of things application system interface and application thereof
CN107911413A (en) A kind of Distributed database service management system and method
CN105376273A (en) Standard cloud service interface and standard cloud service method
Chen et al. Scheduling of job combination and dispatching strategy for grid and cloud system
CN112311833B (en) Data updating method and device
CN107948232A (en) Implementation method, data transmission method, apparatus and system are acted on behalf of based on Hook API
CN116192842A (en) Information processing method, device, equipment and storage medium
CN103699965A (en) J2EE (java 2 platform enterprise edition)-based power consumption management system

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