CN113612827A - Method and system for efficiently transmitting financial information in batches - Google Patents

Method and system for efficiently transmitting financial information in batches Download PDF

Info

Publication number
CN113612827A
CN113612827A CN202110844818.1A CN202110844818A CN113612827A CN 113612827 A CN113612827 A CN 113612827A CN 202110844818 A CN202110844818 A CN 202110844818A CN 113612827 A CN113612827 A CN 113612827A
Authority
CN
China
Prior art keywords
financial information
reverse proxy
network memory
proxy server
application server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110844818.1A
Other languages
Chinese (zh)
Inventor
计璐
朱思深
陈卓红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Gangao Information Industry Co ltd
Original Assignee
Hainan Gangao Information Industry 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 Hainan Gangao Information Industry Co ltd filed Critical Hainan Gangao Information Industry Co ltd
Priority to CN202110844818.1A priority Critical patent/CN113612827A/en
Publication of CN113612827A publication Critical patent/CN113612827A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a method and a system for transmitting financial information in batches with high efficiency, the method is applied to a financial information transmitting system, the system comprises a recording interface, a reverse proxy server, a plurality of network memory middleware and an application server cluster, the recording interface is in communication connection with the reverse proxy server, the reverse proxy server is in communication connection with the network memory middleware, the network memory middleware is in communication connection with the application server cluster, the application server cluster is in communication connection with an operator gateway, after a user records a financial information transmitting request through the recording interface, the reverse proxy server transmits the financial information transmitting request to a specified network memory middleware according to the load data of each application server, the application server acquires the financial information transmitting request from the network memory middleware for processing and transmits the financial information to different clients through the operator gateway, the invention can ensure the stable, efficient and sustainable operation of the financial information service.

Description

Method and system for efficiently transmitting financial information in batches
Technical Field
The invention relates to the technical field of information transmission, in particular to a method and a system for efficiently transmitting financial information in batches.
Background
At present, in the field of financial securities, a dealer needs to often send financial information to a client so that the client can know the latest dynamic state of the market, and a short message is an important mode for the dealer to push the financial information to the client.
In the prior art, a patent with application number CN201010592430.9 discloses a short message sending method, a short message sending management system and a short message server based on a cloud computing platform, which are used in the field of mobile phones and internet communications, and the short message sending management system includes: the mobile phone client comprises a short message function interface and is used for sending short message sending request information through the short message function interface; the short message server is positioned on the cloud computing platform and used for receiving and analyzing the short message sending request information, generating short message sending information and sending the short message sending information to the short message service platform of the operator; the system comprises an operator short message service platform, a cloud computing platform and a target mobile phone, wherein the operator short message service platform is used for receiving the short message sending information and sending a short message to the target mobile phone according to the short message sending information.
The patent with application number CN201210390686.0 discloses a method, a device and a system for controlling short message sending flow, which dynamically calculate the short message sending rate and sending success rate of sending processes, gradually increase the number of short messages sent on each sending process to improve the processing capacity of each process, and maximize the processing capacity of the processes, thereby realizing efficient and reasonable use of the processing capacity of a short message center. Meanwhile, the success rate of sending the short message is monitored, the sending rate of the process and the number of the processes under the short message center are adjusted according to the success rate of sending the short message, and the success rate of sending the short message is improved.
The prior art improves the performance and efficiency of a user when sending a large number of short messages by additionally arranging a cloud server and increasing the number of short messages sent by each short message sending process, but the prior art still cannot well solve the problem of performance reduction of the server when sending a large number of financial information when the hard disk resources of the server form a bottleneck.
Disclosure of Invention
Accordingly, the present invention is directed to a method and system for transmitting financial information in batches with high efficiency, which overcomes or at least partially solves the above-mentioned problems of the prior art.
To achieve the above object, a first aspect of the present invention provides a method for efficiently transmitting financial information in batches, comprising the steps of:
s101, acquiring a financial information sending request initiated by a user through an input interface, calling a reverse proxy server, and sending the financial information sending request to the reverse proxy server, wherein the financial information sending request comprises financial information content;
s102, the reverse proxy server acquires load data of each application server, and distributes a financial information sending request to a specified network memory middleware according to the load data;
s103, each application server in the application server cluster extracts financial information sending request data from different network memory middleware respectively, and sends the financial information sending request to the operator gateway after sorting.
Further, the reverse proxy server includes n reverse proxy servers, and in step S101, the invoking of the reverse proxy server specifically includes the following steps:
s201, an input interface sends a link request to a reverse proxy server with the sequence number of 1, and the reverse proxy server which sends the link request is called a target reverse proxy server;
s202, if the input interface does not receive the link feedback of the target reverse proxy server, sending a link request to the reverse proxy server with the target reverse proxy server serial number +1 until the link request is sent to the nth reverse proxy server or the link feedback of the target reverse proxy server is received;
s203, when the input interface receives the link feedback of the reverse proxy server, the communication connection with the corresponding reverse proxy server is established.
Further, the step S102 specifically includes the following steps:
s301, a reverse proxy server creates a list of servers to be selected, wherein each table entry in the list of servers to be selected corresponds to one application server;
s302, the reverse proxy server acquires the load data of each application server and records the load data into corresponding entries in a to-be-selected server list as dynamic attributes;
s303, the reverse proxy server inquires the list of the servers to be selected, selects the application server with the minimum load data, and leads the financial information sending request to the network memory middleware corresponding to the application server.
Further, in step S303, when the load data of one entry in the candidate server list exceeds a preset threshold, or when the number of failures of the reverse proxy server to attempt to direct the request for sending financial information to one of the network memory middleware reaches a preset threshold, the corresponding entry is deleted from the candidate server list.
Further, in step S103, each network memory middleware is associated with a plurality of application servers in the application server cluster, the network memory middleware associated with the application servers is called an associated network memory middleware, each application server only extracts financial information transmission request data from the associated network memory middleware, and when the reverse proxy server distributes the financial information transmission request to the network memory middleware, the network memory middleware stores the financial information transmission request through a dynamic memory queue.
Further, in step S103, the application server sends the financial information sending request to the operator gateway after sorting, which specifically includes the following steps:
s401, the application server extracts the financial information content in the financial information request, judges the business of the financial information content and obtains the business information of the financial information content;
s402, calling corresponding business processing logic according to the business information to which the financial information content belongs, and processing the financial information content according to the business processing logic;
s403, the processed financial information content is sent to the operator gateway.
Further, before the step S402, the method further includes the steps of: respectively packaging different business processing logics into a plurality of micro service modules, and deploying the micro service modules on an application server, wherein the step S402 specifically comprises the following steps:
s501, the application server calls a first interface of the micro-service module, and business information of financial information content is used as a parameter to be input into the first interface;
s502, the micro-service module feeds back a matching result to the application server through the first interface if the business information to which the financial information content belongs is matched with the business processing logic;
s503, when the matching result is that the matching is successful, the application server calls a second interface of the micro-service module, and the financial information content is used as a parameter to be input into the second interface;
s504, the micro service module processes the financial information content and outputs a processing result through the second interface.
Further, the step S102 specifically includes the following steps:
s601, the reverse proxy server calls a first extractor to obtain a first extraction result generated by the first extractor, wherein the first extractor is used for randomly extracting any one of all network memory middleware;
s602, the reverse proxy server acquires the load data of the corresponding application server according to the first extraction result, generates a key by taking the load data as an input parameter of a key generation algorithm, and encrypts the financial information sending request through the key;
s603, the encrypted financial information sending request is distributed to the appointed network memory middleware according to the load data.
Further, before the step S103, the method further includes the steps of:
s701, calling a second extractor by the network memory middleware to acquire a second extraction result generated by the second extractor, wherein the second extractor is used for synchronously generating a second extraction result which is the same as the first extraction result;
s702, the network memory middleware communicates with a network memory middleware specified by a second extraction result, the network memory middleware specified by the second extraction result is called an extracted network memory middleware, load data of an application server related to the extracted network memory middleware is obtained, and the load data of the application server related to the extracted network memory middleware is called extracted load data;
s703, the network memory middleware generates a key by using the extracted load data as an input parameter of a key generation algorithm, and decrypts the encrypted financial information sending request through the key.
A second aspect of the present invention provides a system for efficiently sending financial information in batches, configured to execute the method according to the first aspect, where the system includes a logging interface, a reverse proxy server, a plurality of network memory middleware, and an application server cluster, where the application server cluster includes a plurality of application servers, the logging interface is in communication connection with the reverse proxy server, the reverse proxy server is in communication connection with the network memory middleware, the network memory middleware is in communication connection with the application server cluster, and the application server cluster is in communication connection with an operator gateway.
Compared with the prior art, the invention has the beneficial effects that:
according to the method and the system for efficiently transmitting the financial information in batches, provided by the invention, after a user inputs a financial information transmission request through the input interface, the reverse proxy server can transmit the financial information transmission request to the appointed network memory middleware according to the load data of each application server, the application server obtains the financial information transmission request from the network memory middleware for processing, and transmits the financial information to different clients through the operator gateway, so that the dynamic shunting processing of the financial information transmission request is realized according to the load data of the application server, and the stable, efficient and sustainable operation of financial information service is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the following description are only preferred embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive efforts.
FIG. 1 is a flowchart illustrating an overall process of a method for efficiently transmitting financial information in batch according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a process of invoking a reverse proxy server by a logging interface in a method for efficiently transmitting financial information in batches according to an embodiment of the present invention.
FIG. 3 is a schematic diagram illustrating a process of distributing a financial information transmission request by a reverse proxy server in a method for efficiently transmitting financial information in batch according to an embodiment of the present invention.
Fig. 4 is a schematic view illustrating a sorting process of an application server in a method for efficiently transmitting financial information in batches according to an embodiment of the present invention.
Fig. 5 is a schematic flowchart illustrating an application server invoking micro-service module in a method for efficiently transmitting financial information in batches according to an embodiment of the present invention.
Fig. 6 is a schematic diagram illustrating a process of sending a request for encrypting financial information by a reverse proxy server in a method for efficiently sending financial information in batch according to an embodiment of the present invention.
FIG. 7 is a flowchart illustrating a process of decrypting a financial information transmission request by the network memory middleware in a method for efficiently transmitting financial information in batches according to an embodiment of the present invention.
FIG. 8 is a schematic diagram of an overall structure of a system for efficiently transmitting financial information in batches according to another embodiment of the invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, the illustrated embodiments are provided to illustrate the invention and not to limit the scope of the invention.
Referring to fig. 1, this embodiment provides a method for efficiently sending financial information in batches, where the method is applied to a financial information sending system, where the system includes a recording interface, a reverse proxy server, a plurality of network memory middleware, and an application server cluster, where the application server cluster includes a plurality of application servers, the recording interface is in communication connection with the reverse proxy server, the reverse proxy server is in communication connection with the network memory middleware, the network memory middleware is in communication connection with the application server cluster, and the application server cluster is in communication connection with an operator gateway, and the method includes the following steps:
s101, the input interface acquires a financial information sending request initiated by a user, calls a reverse proxy server, and sends the financial information sending request to the reverse proxy server, wherein the financial information sending request comprises financial information content.
The input interface is illustratively a software interface, and the input interface may be disposed on a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, or a pc (personal computer) or a server. When a user initiates a financial information sending request through the input interface, the financial information content can be edited manually, and the financial information content can also be obtained through the imported file.
S102, the reverse proxy server obtains the load data of each application server, and distributes the financial information sending request to the appointed network memory middleware according to the load data.
S103, each application server in the application server cluster extracts financial information sending request data from different network memory middleware respectively, and sends the financial information sending request to the operator gateway after sorting.
Illustratively, the operator gateways include a mobile short message gateway, a Unicom short message gateway, a telecom short message gateway, and a WeChat gateway.
In the embodiment, after a user inputs a financial information sending request through the input interface, the reverse proxy server is called, the financial information sending request is sent to the appointed network memory middleware according to the load data of each application server, and the application server obtains the financial information sending request from the appointed network memory middleware to process the financial information sending request, so that the dynamic distribution of financial information is realized according to the load of each application server, and the problems that the financial information sending efficiency is easily limited by server hardware bottleneck and the sending is slow due to the fact that a large number of financial information sending requests are concentrated in a certain or partial application servers to process are avoided.
As an optional implementation manner, n reverse proxy servers are provided in the financial information sending system, the n reverse proxy servers are numbered sequentially, and in step S101, the invoking of the reverse proxy server specifically includes the following steps:
s201, the input interface sends a link request to a reverse proxy server with the sequence number of 1, and the reverse proxy server which sends the link request is called a target reverse proxy server.
S202, if the input interface does not receive the link feedback of the target reverse proxy server, sending a link request to the reverse proxy server with the target reverse proxy server serial number +1 until the link request is sent to the nth reverse proxy server or the link feedback of the target reverse proxy server is received.
S203, when the input interface receives the link feedback of the reverse proxy server, the communication connection with the corresponding reverse proxy server is established.
For example, in the case of a large amount of traffic, the financial information transmission system may be provided with a plurality of input interfaces, and when the amount of concurrent financial information transmission requests is large, a single reverse proxy server may not be able to process all financial information transmission requests in a short time, and at this time, providing a plurality of reverse proxy servers may improve the processing efficiency of the financial information transmission requests. The logging-in interface sends a link request to the reverse proxy server in a polling mode when the reverse proxy server is called, and if the sending request quantity of the financial information being processed by the reverse proxy server reaches a preset threshold value or the reverse proxy server has a fault, the link request of the logging-in interface is rejected. If the reverse proxy server can process the financial information sending request, the reverse proxy server sends the link feedback to the input interface and receives the financial information sending request sent by the input interface.
As an optional implementation manner, referring to fig. 3, the step S102 specifically includes the following steps:
s301, the reverse proxy server creates a list of servers to be selected, wherein each table entry in the list of servers to be selected corresponds to one application server.
S302, the reverse proxy server obtains the load data of each application server, and records the load data into corresponding entries in the list of the servers to be selected as dynamic attributes.
S303, the reverse proxy server inquires the list of the servers to be selected, selects the application server with the minimum load data, and leads the financial information sending request to the network memory middleware corresponding to the application server.
Illustratively, the reverse proxy server periodically obtains load data of each application server to update the list of candidate servers. After receiving a financial information sending request sent by the input interface, the reverse proxy server inquires a list of servers to be selected, selects an application server with the minimum real-time load from the list of servers to be selected, and leads the financial information sending request to a network memory middleware corresponding to the application server with the minimum real-time load.
In this embodiment, each network memory middleware is associated with a plurality of application servers in the application server cluster, that is, each network memory middleware is associated with at least one application server, the network memory middleware associated with the application server is referred to as an associated network memory middleware, and each application server only extracts financial information transmission request data from the associated network memory middleware. When the reverse proxy server distributes the financial information sending request to the network memory middleware, the network memory middleware stores the financial information sending request through the dynamic memory queue to shorten the time of the submission process, and the dynamic memory queue supports large-batch and multi-thread submission, so that the distribution efficiency of the financial information sending request is improved.
In addition, when the load data of one table entry in the server list to be selected exceeds a preset threshold value, or when the failure frequency of the reverse proxy server trying to lead the financial information sending request to the associated network memory middleware corresponding to one of the application servers reaches the preset threshold value, the corresponding table entry is deleted from the server list to be selected, so that the scale of the server list to be selected is reduced through the operation of deleting invalid table entries, and the query speed and efficiency are improved.
As an alternative implementation manner, referring to fig. 4, in step S103, the application server sends the financial information sending request to the operator gateway after sorting, which specifically includes the following steps:
s401, the application server extracts the financial information content in the financial information request, judges the business of the financial information content and obtains the business information of the financial information content.
Illustratively, the determining of the business to which the financial information content belongs and the obtaining of the business information to which the financial information content belongs may be implemented by extracting and identifying keywords in the financial information content, where different businesses to which the financial information belongs correspond to different keywords, and when corresponding keywords occur in the financial information content, business information to which the financial information corresponding to the keywords belongs is output. If keywords belonging to the services belonging to different financial information appear in the financial information content at the same time, different weights can be distributed to the keywords of the services belonging to different financial information, and the services belonging to the corresponding financial information content can be judged by comparing the weight values of the keywords.
S402, calling corresponding business processing logic according to the business information to which the financial information content belongs, and processing the financial information content according to the business processing logic.
Illustratively, each application server is respectively provided with a plurality of service processing logics for processing the services to which the financial information belongs, after the specific services to which the financial information content belongs are identified, the application server calls the corresponding service processing logics to carry out preprocessing before the financial information content is sent, and the preprocessing can be typesetting again on the financial information content, extracting the key information and then inputting the key information into a custom information template.
S403, the processed financial information content is sent to the operator gateway.
In this embodiment, the application server cluster serves as a service processing layer and is configured to perform different logic processing according to different financial information contents, and different application servers may be respectively configured to process financial information of different service boards, so that when an application server for processing a certain service fails, processing of other services is not affected.
As a further alternative, referring to fig. 5, before the step S402, the method further includes the steps of: respectively packaging different business processing logics into a plurality of micro service modules, and deploying the micro service modules on an application server, wherein the step S402 specifically comprises the following steps:
s501, the application server calls a first interface of the micro-service module, and business information of financial information content is used as a parameter to be input into the first interface.
S502, the micro-service module feeds back a matching result to the application server through the first interface according to whether the business information of the financial information content is matched with the business processing logic.
S503, when the matching result is that the matching is successful, the application server calls a second interface of the micro-service module, and the financial information content is used as a parameter to be input into the second interface.
S504, the micro service module processes the financial information content and outputs a processing result through the second interface.
In the method provided by the embodiment, the service processing logic is packaged and deployed on the application server in the form of a micro service module, so that the service processing logic can be conveniently expanded, replaced and deleted. Each micro-service module is provided with a first interface and a second interface, and the first interface is used for inputting business information to which the financial information content belongs and judging whether the business information belongs to business which is in charge of processing; the second interface is used for inputting the financial information content, so that the financial information content is processed through the built-in business processing logic and the processing result is output.
As an optional implementation manner, referring to fig. 6, the step S102 specifically includes the following steps:
s601, the reverse proxy server calls a first extractor to obtain a first extraction result generated by the first extractor, wherein the first extractor is used for randomly extracting any one of all network memory middleware.
S602, the reverse proxy server obtains the load data of the corresponding application server according to the first extraction result, generates a key by using the load data as an input parameter of a key generation algorithm, and encrypts the financial information sending request through the key.
Illustratively, the corresponding application server is an application server associated with the extracted network memory middleware, and when the extracted network memory middleware is associated with only one application server, the reverse proxy server only obtains load data corresponding to the application server to serve as an input parameter of a key generation algorithm; if the extracted network memory middleware is associated with a plurality of application servers, firstly judging whether the application server needing to receive the financial information sending request is one of the plurality of application servers associated with the extracted network memory middleware, if so, taking the average value or the median of the load data of the plurality of application servers associated with the extracted network memory middleware as an input parameter of a key generation algorithm to generate a key under the condition of removing the application server receiving the financial information sending request; if not, directly taking the average value or the median of the load data of the plurality of application servers associated with the extracted network memory middleware as an input parameter of a key generation algorithm to generate the key. The application server for receiving the financial information sending request is removed, so that lawless persons intercepting the transmission data in the transmission process of the financial information sending request can be prevented from cracking the key according to the information of the receiving party, and the difficulty of key cracking is improved.
S603, the encrypted financial information sending request is distributed to the appointed network memory middleware according to the load data.
In the method for sending financial information provided by this embodiment, the network memory middleware is randomly extracted, and the load data of the application server corresponding to the network memory middleware is obtained and used as the input parameter of the key generation algorithm to generate the key, so as to encrypt the financial information sending request, thereby improving the security of the financial information sending request in the transmission process.
As a further alternative, referring to fig. 7, before the step S103, the method further includes the steps of:
and S701, calling a second extractor by the network memory middleware to acquire a second extraction result generated by the second extractor, wherein the second extractor is used for synchronously generating a second extraction result which is the same as the first extraction result.
Illustratively, the second extractor is deployed in the network memory middleware, the first extractor is deployed in the reverse proxy server, the second extractor and the first extractor have the same random extraction algorithm in advance, and the second extractor and the first extractor generate the same extraction result at the same time.
S702, the network memory middleware communicates with the network memory middleware specified by the second extraction result, the network memory middleware specified by the second extraction result is called an extracted network memory middleware, load data of an application server related to the extracted network memory middleware is obtained, and the load data of the application server related to the extracted network memory middleware is called extracted load data.
For example, the network memory middleware specified by the second extraction result may also be the network memory middleware associated with the application server receiving the financial information transmission request. When the extracted network memory middleware is the network memory middleware associated with the application server receiving the financial information sending request, acquiring the load data of all the application servers associated with the extracted network memory middleware except the application server receiving the financial information sending request; and when the extracted network memory middleware is not associated with the application server receiving the financial information sending request, acquiring load data of all the application servers associated with the extracted network memory middleware. In addition, the acquired load data should be the application server load data at the time when the reverse proxy server transmits the financial information transmission request, not the real-time load data, so as to be unified with the load data used by the reverse proxy server to generate the encryption key.
S703, the network memory middleware generates a key by using the extracted load data as an input parameter of a key generation algorithm, and decrypts the encrypted financial information sending request through the key.
Illustratively, the network memory middleware generates the key by using the same key generation algorithm as that of the reverse proxy server, and processes the extracted payload data by using the same key generation algorithm as that of the reverse proxy server, so that the corresponding decryption key can be generated to decrypt the encrypted financial information transmission request without additional communication with the reverse proxy server. In the embodiment, the method generates the secret key to encrypt the financial information sending request based on the randomly extracted and dynamically changed load data, so that the confidentiality of the financial information sending request in the network transmission process is ensured, and the safety of the financial client information is improved.
Another embodiment of the present invention provides a system for efficiently transmitting financial information in batches, the system being configured to perform the method of the aforementioned method embodiments. Referring to fig. 8, the system includes a recording interface, a reverse proxy server, a plurality of network memory middleware, and an application server cluster, where the application server cluster includes a plurality of application servers, the recording interface is in communication connection with the reverse proxy server, the reverse proxy server is in communication connection with the network memory middleware, the network memory middleware is in communication connection with the application server cluster, and the application server cluster is in communication connection with an operator gateway.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for efficiently transmitting financial information in batches is applied to a financial information transmission system, the system comprises a recording interface, a reverse proxy server, a plurality of network memory middleware and an application server cluster, the application server cluster comprises a plurality of application servers, the recording interface is in communication connection with the reverse proxy server, the reverse proxy server is in communication connection with the network memory middleware, the network memory middleware is in communication connection with the application server cluster, and the application server cluster is in communication connection with an operator gateway, and the method comprises the following steps:
s101, acquiring a financial information sending request initiated by a user through an input interface, calling a reverse proxy server, and sending the financial information sending request to the reverse proxy server, wherein the financial information sending request comprises financial information content;
s102, the reverse proxy server acquires load data of each application server, and distributes a financial information sending request to a specified network memory middleware according to the load data;
s103, each application server in the application server cluster extracts financial information sending request data from different network memory middleware respectively, and sends the financial information sending request to the operator gateway after sorting.
2. The method as claimed in claim 1, wherein the reverse proxy server comprises n reverse proxy servers, and the step of invoking the reverse proxy server in step S101 comprises the following steps:
s201, an input interface sends a link request to a reverse proxy server with the sequence number of 1, and the reverse proxy server which sends the link request is called a target reverse proxy server;
s202, if the input interface does not receive the link feedback of the target reverse proxy server, sending a link request to the reverse proxy server with the target reverse proxy server serial number +1 until the link request is sent to the nth reverse proxy server or the link feedback of the target reverse proxy server is received;
s203, when the input interface receives the link feedback of the reverse proxy server, the communication connection with the corresponding reverse proxy server is established.
3. The method as claimed in claim 1, wherein the step S102 comprises the steps of:
s301, a reverse proxy server creates a list of servers to be selected, wherein each table entry in the list of servers to be selected corresponds to one application server;
s302, the reverse proxy server acquires the load data of each application server and records the load data into corresponding entries in a to-be-selected server list as dynamic attributes;
s303, the reverse proxy server inquires the list of the servers to be selected, selects the application server with the minimum load data, and leads the financial information sending request to the network memory middleware corresponding to the application server.
4. The method as claimed in claim 3, wherein in step S303, when the load data of one entry in the candidate server list exceeds a predetermined threshold, or when the number of failures of the reverse proxy server to attempt to direct the financial information transmission request to one of the network memory middleware reaches a predetermined threshold, the corresponding entry is deleted from the candidate server list.
5. The method as claimed in claim 1, wherein in step S103, each of the network memory middleware is associated with a plurality of application servers in the application server cluster, the network memory middleware associated with the application servers is called an associated network memory middleware, each application server only extracts the data of the financial information transmission request from the associated network memory middleware, and the network memory middleware stores the financial information transmission request through a dynamic memory queue when the reverse proxy server distributes the financial information transmission request to the network memory middleware.
6. The method as claimed in claim 1, wherein the step S103 of sending the request for sending financial information to the operator gateway after the application server performs sorting comprises the following steps:
s401, the application server extracts the financial information content in the financial information request, judges the business of the financial information content and obtains the business information of the financial information content;
s402, calling corresponding business processing logic according to the business information to which the financial information content belongs, and processing the financial information content according to the business processing logic;
s403, the processed financial information content is sent to the operator gateway.
7. The method of claim 6, wherein the step S402 is preceded by the steps of: respectively packaging different business processing logics into a plurality of micro service modules, and deploying the micro service modules on an application server, wherein the step S402 specifically comprises the following steps:
s501, the application server calls a first interface of the micro-service module, and business information of financial information content is used as a parameter to be input into the first interface;
s502, the micro-service module feeds back a matching result to the application server through the first interface if the business information to which the financial information content belongs is matched with the business processing logic;
s503, when the matching result is that the matching is successful, the application server calls a second interface of the micro-service module, and the financial information content is used as a parameter to be input into the second interface;
s504, the micro service module processes the financial information content and outputs a processing result through the second interface.
8. The method as claimed in claim 1, wherein the step S102 comprises the steps of:
s601, the reverse proxy server calls a first extractor to obtain a first extraction result generated by the first extractor, wherein the first extractor is used for randomly extracting any one of all network memory middleware;
s602, the reverse proxy server acquires the load data of the corresponding application server according to the first extraction result, generates a key by taking the load data as an input parameter of a key generation algorithm, and encrypts the financial information sending request through the key;
s603, the encrypted financial information sending request is distributed to the appointed network memory middleware according to the load data.
9. The method of claim 8, wherein the step S103 is preceded by the steps of:
s701, calling a second extractor by the network memory middleware to acquire a second extraction result generated by the second extractor, wherein the second extractor is used for synchronously generating a second extraction result which is the same as the first extraction result;
s702, the network memory middleware communicates with a network memory middleware specified by a second extraction result, the network memory middleware specified by the second extraction result is called an extracted network memory middleware, load data of an application server related to the extracted network memory middleware is obtained, and the load data of the application server related to the extracted network memory middleware is called extracted load data;
s703, the network memory middleware generates a key by using the extracted load data as an input parameter of a key generation algorithm, and decrypts the encrypted financial information sending request through the key.
10. A system for efficient bulk delivery of financial information, the system configured to perform the method of any of claims 1-9, the system comprising a portal interface, a reverse proxy server, a plurality of network memory middleware, and an application server cluster, the application server cluster comprising a plurality of application servers, the portal interface communicatively coupled to the reverse proxy server, the reverse proxy server communicatively coupled to the network memory middleware, the network memory middleware communicatively coupled to the application server cluster, and the application server cluster communicatively coupled to an operator gateway.
CN202110844818.1A 2021-07-26 2021-07-26 Method and system for efficiently transmitting financial information in batches Pending CN113612827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110844818.1A CN113612827A (en) 2021-07-26 2021-07-26 Method and system for efficiently transmitting financial information in batches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110844818.1A CN113612827A (en) 2021-07-26 2021-07-26 Method and system for efficiently transmitting financial information in batches

Publications (1)

Publication Number Publication Date
CN113612827A true CN113612827A (en) 2021-11-05

Family

ID=78305418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110844818.1A Pending CN113612827A (en) 2021-07-26 2021-07-26 Method and system for efficiently transmitting financial information in batches

Country Status (1)

Country Link
CN (1) CN113612827A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050027862A1 (en) * 2003-07-18 2005-02-03 Nguyen Tien Le System and methods of cooperatively load-balancing clustered servers
CN105188087A (en) * 2014-06-12 2015-12-23 北京神州泰岳软件股份有限公司 Business communication method and system based on short message gateway
CN107566508A (en) * 2017-09-19 2018-01-09 广东电网有限责任公司信息中心 A kind of short message micro services system for automating O&M
CN108696831A (en) * 2018-09-03 2018-10-23 万惠投资管理有限公司 A kind of note transmission method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050027862A1 (en) * 2003-07-18 2005-02-03 Nguyen Tien Le System and methods of cooperatively load-balancing clustered servers
CN105188087A (en) * 2014-06-12 2015-12-23 北京神州泰岳软件股份有限公司 Business communication method and system based on short message gateway
CN107566508A (en) * 2017-09-19 2018-01-09 广东电网有限责任公司信息中心 A kind of short message micro services system for automating O&M
CN108696831A (en) * 2018-09-03 2018-10-23 万惠投资管理有限公司 A kind of note transmission method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾国斌: "移动金融服务平台系统", 计算机与现代化 *

Similar Documents

Publication Publication Date Title
EP4120166A1 (en) Blockchain message processing method and apparatus, computer and readable storage medium
CN108123800B (en) Key management method, key management device, computer equipment and storage medium
US8447970B2 (en) Securing out-of-band messages
US8972512B2 (en) Message delivery systems and methods
US6799197B1 (en) Secure method and system for using a public network or email to administer to software on a plurality of client computers
EP3293934A1 (en) Cloud storage method and system
US20150058629A1 (en) Processing Data Privately in the Cloud
US20130305049A1 (en) Secure message transfer and storage
CN113347206A (en) Network access method and device
WO2019178942A1 (en) Method and system for performing ssl handshake
CN112966287B (en) Method, system, device and computer readable medium for acquiring user data
CN112437044B (en) Instant messaging method and device
CN113434905B (en) Data transmission method and device, computer equipment and storage medium
EP2942899A1 (en) Information processing method, trust server and cloud server
CN113642014A (en) Data access system based on hybrid cloud and public cloud server
CN113726743B (en) Method, device, equipment and medium for detecting network replay attack
CN111371753A (en) Resource sharing method and device
EP4180985A1 (en) File sharing method, apparatus, and system
WO2015027931A1 (en) Method and system for realizing cross-domain remote command
CN113761566A (en) Data processing method and device
CN113612827A (en) Method and system for efficiently transmitting financial information in batches
US11777870B1 (en) Machine-learning (ML)-based systems and methods for maximizing resource utilization
CN111984613B (en) Method, device and system for sharing files
CN111984616B (en) Method, device and system for updating shared file
CN116781764A (en) Long-connection task execution method and device and related equipment

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