CN110290215A - A kind of method for transmitting signals and device - Google Patents
A kind of method for transmitting signals and device Download PDFInfo
- Publication number
- CN110290215A CN110290215A CN201910580557.XA CN201910580557A CN110290215A CN 110290215 A CN110290215 A CN 110290215A CN 201910580557 A CN201910580557 A CN 201910580557A CN 110290215 A CN110290215 A CN 110290215A
- Authority
- CN
- China
- Prior art keywords
- host
- task
- agent
- schedule signal
- task schedule
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method for transmitting signals and device, wherein method are as follows: first agent's host receives the task schedule signal that second agent's host is sent;Task schedule signal is triggered after the second applied host machine has executed the second task;First agent's host is the host of first data center's node;Second agent's host and the second applied host machine are the host of second data center's node;First agent's host handles host information according to task, determines corresponding first applied host machine of task schedule signal;Task schedule signal is sent to the first applied host machine by first agent's host, and task schedule signal executes first task for triggering the first applied host machine.When the above method is applied to financial technology (Fintech), after second applied host machine has executed the second task, task schedule signal is sent to first agent's host by second agent's host, task schedule signal is read without reading in by database, to reduce the transmission delay of task schedule signal.
Description
Technical field
The present invention relates to the financial technology field (Fintech) and field of signal transmissions more particularly to a kind of signal transmission sides
Method and device.
Background technique
With the development of computer technology, more and more technologies (big data, distribution, block chain (Blockchain),
Artificial intelligence etc.) it applies in financial field, traditional financial industry gradually changes to financial technology (Fintech).Currently, financial
When carrying out task schedule in sciemtifec and technical sphere, between data center's node, due between each task there may be successive dependence,
Therefore the execution of task can be triggered by task schedule signal.
In the prior art, task completion status can be registered by database to interact, such as work as 2 dependence task 1 of task
When, after meeting agreed assignment 1 is finished, the task schedule signal that triggering task 2 executes is written to database, needs to be implemented and appoints
Data center's node of business 2, according to preset duration, whether the task schedule signal of query task 2 has been written into database, such as
Fruit has been written into, and executes task 2 further according to task schedule signal.The mode of this frequent access database will lead to task schedule
The transmission delay of signal is too long, in addition, the applied host machine chosen in data center's node may become in this query process
Dynamic, data center's node needs the host of handover access database, causes additional switching duration, and such case, which also results in, appoints
Scheduling signals transmission delay of being engaged in is too long.
Summary of the invention
The embodiment of the present application provides a kind of method for transmitting signals and device, solves task schedule signal biography in the prior art
The too long problem of defeated delay.
In a first aspect, the embodiment of the present application provides a kind of method for transmitting signals: being suitable for including multiple proxies and more
The processing system of a data central node;Each data center's node has corresponding proxy;Each data center's node
Including multiple applied host machines;The described method includes: first agent's host receives the task schedule signal that second agent's host is sent;
The task schedule signal is triggered after the second applied host machine has executed the second task;First agent's host is the first number
According to the host of central node;Second agent's host and second applied host machine are the host of second data center's node;
First agent's host handles host information according to task, determines corresponding first applied host machine of the task schedule signal;
The task processing host information is at each applied host machine of the first agent's host according to first data center node
What each task of reason determined;First applied host machine is the host of first data center node;The first agent master
The task schedule signal is sent to first applied host machine by machine, and the task schedule signal is answered for triggering described first
First task is executed with host.
In the above method, first agent's host of first data center's node receives the task tune that second agent's host is sent
Signal is spent, and the task schedule signal is triggered after the second applied host machine has executed the second task, there is no need to frequently visit
Ask database, can scheduling transmission task signal, reduce the delay of task schedule signal, in addition, first agent's host according to
Task handles host information, determines corresponding first applied host machine of the task schedule signal, and task schedule signal is sent
To the first applied host machine, the applied host machine of frequent switching access database is avoided, therefore the above method reduces task schedule
The transmission delay of signal.
In a kind of optional embodiment, the task schedule signal is sent to described first and answered by first agent's host
Before host, further includes: the first monitor of first agent's host is according to the type of the task schedule signal, by institute
State that task schedule signal is written in corresponding first data structure and count is incremented by first;The second of first agent's host
Monitor obtains the task schedule letter when determining that described first counts greater than the second counting from first data structure
Number and be written the second data structure, by described second, count is incremented later.
In the above method, the first monitor of first agent's host, will according to the type of the task schedule signal
The task schedule signal is written in corresponding first data structure and count is incremented by first, to be conducive to task schedule letter
Number classified and stored, and determine described first count be greater than second and count when, described appoint is obtained from first data structure
Be engaged in scheduling signals simultaneously be written the second data structure so that first count it is consistent with the second counting, so as to according to first counting with
Second counts, circulation synchronous scheduling transmission task signal.
In a kind of optional embodiment, first agent's host obtains the update request that third applied host machine is sent and disappears
Breath;The update solicited message is used to indicate first agent's host in task processing host information for the task
The corresponding third applied host machine of scheduling signals is updated to first applied host machine;It is updated described in first agent's host acknowledgement
After request message is legal, the task is handled into task schedule signal described in host information and corresponds to the first application master
Machine.
In the above method, first agent's host can be corresponding by task schedule signal according to legal update request message
Third applied host machine is updated to first applied host machine, to increase the flexibility of task schedule signal transmission.
In a kind of optional embodiment, update request message described in first agent's host acknowledgement is legal, comprising: described
First agent's host if it is determined that it is described update request message in user name and password be pre-set user name and preset password, then really
The fixed update request message is legal;The task is handled into task schedule signal described in host information and corresponds to described first
Applied host machine, comprising: the task is handled into task schedule signal described in host information and corresponds to first applied host machine
Internet protocol address and the first applied host machine port.
Under aforesaid way, first agent's host is if it is determined that the user name updated in request message and password are default use
Name in an account book and preset password, it is determined that the update request message is legal, to increase one-time authentication to update request message, is promoted
The safety of signal transmission.
In a kind of optional embodiment, first agent's host receives the task schedule signal that second agent's host is sent
Later, the task schedule signal is sent to before first applied host machine by first agent's host, further includes: described
First agent's host determines whether second agent's host is the proxy indicated in default white list, if it is not, then will
The task schedule signal abandons.
Under aforesaid way, by presetting white list, first agent's host is verified to task schedule signal is sent, if the
Two proxies are not the proxy indicated in default white list, then abandon task schedule signal.
Second aspect, the application provide a kind of signal transmitting apparatus, comprising: module are obtained, for receiving second agent master
The task schedule signal that machine is sent;The task schedule signal is triggered after the second applied host machine has executed the second task;Institute
It states second agent's host and second applied host machine is the host of second data center's node;Processing module is appointed for basis
Business processing host information, determines corresponding first applied host machine of the task schedule signal;First applied host machine is described
The host of first data center's node;The task processing host information is each applied host machine according to first data center's node
What each task of processing determined;The task schedule signal is sent to first applied host machine, the task schedule signal
First task is executed for triggering first applied host machine.
In a kind of optional embodiment, the processing module is also used to: according to the type of the task schedule signal, by institute
State that task schedule signal is written in corresponding first data structure and count is incremented by first;Determine it is described first count be greater than
When the second counting, the task schedule signal is obtained from first data structure and the second data structure is written, later will
Described second count is incremented.
In a kind of optional embodiment, the module that obtains is also used to: obtaining the update request that third applied host machine is sent
Message;The update solicited message is used to indicate in task processing host information that the task schedule signal is corresponding
Third applied host machine is updated to first applied host machine;After confirming that the update request message is legal, the task is handled
Task schedule signal described in host information corresponds to first applied host machine.
In a kind of optional embodiment, the module that obtains is specifically used for: if it is determined that the use updated in request message
Name in an account book and password are pre-set user name and preset password, it is determined that the update request message is legal;Task processing is led
Task schedule signal described in machine information corresponds to internet protocol address and the first application master of first applied host machine
The port of machine.
In a kind of optional embodiment, the processing module is also used to: determining whether second agent's host is default
The proxy indicated in white list, if it is not, then abandoning the task schedule signal.
The beneficial effect of above-mentioned second aspect and each embodiment of second aspect can refer to above-mentioned first aspect and first
The beneficial effect of each embodiment of aspect, which is not described herein again.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including program or instruction, when described program or refer to
Order is performed, the method to execute above-mentioned first aspect and each embodiment of first aspect.
Fourth aspect, the embodiment of the present application provides a kind of storage medium, including program or instruction, when described program or instruction
It is performed, the method to execute above-mentioned first aspect and each embodiment of first aspect.
Detailed description of the invention
Fig. 1 is a kind of step flow diagram of method for transmitting signals provided by the embodiments of the present application;
Fig. 2 is the data structure schematic diagram of batch tasks in the embodiment of the present application;
Fig. 3 is the schematic diagram of the queue structure of batch tasks in the embodiment of the present application;
Fig. 4 is the structural schematic diagram for itself asking batch Modulation recognition monitor and batch signal monitor in embodiment;
Fig. 5 is that batch signal monitor and the relevant subsequent batch subtask of batch signal are held in the embodiment of the present application
Row sequential schematic;
Fig. 6 is the update schematic diagram of batch signal index in the embodiment of the present application, tables of data and current data;
Fig. 7 is the corresponding system architecture schematic diagram of applied host machine update method in the embodiment of the present application;
Fig. 8 is the schematic diagram that PUBLISHER administers data from CMDB synchronous service in the embodiment of the present application;
Fig. 9 is that the task schedule signal in the embodiment of the present application inside DCN transmits schematic diagram;
Figure 10 is that the task schedule signal in the embodiment of the present application between DCN transmits schematic diagram;
Figure 11 is a kind of structural schematic diagram of signal transmitting apparatus provided by the embodiments of the present application.
Specific embodiment
In order to better understand the above technical scheme, below in conjunction with Figure of description and specific embodiment to above-mentioned
Technical solution is described in detail, it should be understood that the specific features in the embodiment of the present application and embodiment are to the application skill
The detailed description of art scheme, rather than the restriction to technical scheme, in the absence of conflict, the embodiment of the present application
And the technical characteristic in embodiment can be combined with each other.
For convenience of understanding, the abbreviation and Key Term occurred in the application is described first below:
Reliable news bus (reliable message bus, RMB): across the DCN message built around message-oriented middleware
Interactive system.Data center's node (data center node, DCN): for a computer of storing data, transmission data
System is in logic a node, physically includes multiple computers.High availability (high available, HA): refer to system
Meet high fault tolerance high availability.Task schedule signal distribution module (PUBLISHER): it is used for transmission the soft of task schedule signal
Part or hardware.
In financial institution's (banking institution, insurance institution or security organization), in the business of progress, (loan transaction of such as bank is deposited
Money business etc.) when carrying out task schedule in operation process, between data center's node, since there may be successive between each task
Dependence, therefore the execution of task can be triggered by task schedule signal.
In the prior art, it can be interacted by database registration task completion status, this frequent access database
Mode will lead to task schedule signal transmission delay it is too long, in addition, being selected in data center's node in this query process
The applied host machine taken may change, and data center's node needs the host of handover access database, when causing additional switching
Long, it is too long that such case also results in task schedule signal transmission delay.Such case does not meet the need of bank and other financial mechanism
It asks, not can guarantee the high-efficiency operation of financial institution's items business.
For this purpose, the application provides a kind of method for transmitting signals, as shown in Figure 1, for a kind of signal transmission provided by the present application
The step flow chart of method.
Step 101: first agent's host receives the task schedule signal that second agent's host is sent.
The task schedule signal is triggered after the second applied host machine has executed the second task;First agent's host
For the host of first data center's node;Second agent's host and second applied host machine are second data center's node
Host.
Step 102: first agent's host handles host information according to task, determines that the task schedule signal is corresponding
The first applied host machine.
The task processing host information is first agent's host respectively answering according to first data center node
It is determined with each task of host process;First applied host machine is the host of first data center node.
Step 103: the task schedule signal is sent to first applied host machine by first agent's host.
The task schedule signal executes first task for triggering first applied host machine.
It should be noted that a kind of method for transmitting signals shown in fig. 1 is suitable for including multiple proxies and multiple numbers
According to the processing system of central node;Each data center's node has corresponding proxy;Each data center's node includes
Multiple applied host machines.The system that this processing system can be any task scheduling processing can also be applied in multiple business field
Under scape, it is not limited here.Below to illustrate for lot size scheduling system shown in fig. 1 under bank's lot size scheduling business scenario
Method for transmitting signals.
Before step 104, a kind of optional embodiment is as follows:
First monitor of first agent's host is according to the type of the task schedule signal, by the task schedule
Signal is written in corresponding first data structure and count is incremented by first;Second monitor of first agent's host is true
Fixed described first counts when being greater than second and counting, and the task schedule signal is obtained from first data structure and is written the
Two data structures, by described second, count is incremented later.
In the application application embodiment, batch tasks can increase the dimension of a DCN, for example, BATCH1 name
For BATCH1_DCNA.Under lot size scheduling business scenario, task schedule signal can be batch signal in batch tasks.Such as Fig. 2
It is shown, it is the data structure schematic diagram of batch tasks, batch tasks are by batch title, batch signal name and batch signal data
Composition.Wherein, batch title is by taking BATCH2_DCNA as an example, and batch signal name is by taking EA as an example, and batch signal data is with DATA_
For EA1.
Batch tasks possess respective queue structure according to name respectively.If batch signal name is EA, the then queue of EA
It is made of batch signal index EA_index, tables of data EA_data and current data EA_current_data.As shown in figure 3,
For the schematic diagram of the queue structure of batch tasks in the embodiment of the present application.Signal index is counted by including the first counting with second,
It wherein first counts and can be indicated with max, second counts and can be indicated with last.EA_index.max indicates that the first monitor receives and criticizes
The total degree of signal EA is measured, EA_index.last is the number for the EA signal that the second monitor obtains;Batch signal data table is
One structure of arrays, EA_data [1] indicate batch signal data entrained by first EA received;Current data storage
Value is EA_data [EA_index.last].For example, current data current_data is D=100, that is, call number
The data that index is 1 are D=100.
It is below that batch signal monitor is by batch Modulation recognition monitor and the second monitor of the first monitor
Example explanation.As shown in figure 4, for the structural representation for itself asking batch Modulation recognition monitor and batch signal monitor in embodiment
Figure.It monitors and is made of a batch Modulation recognition monitor and multiple batch signal monitors in inside.Batch Modulation recognition is monitored
Device receives the batch signal outside batch, and is classified according to batch signal name and safeguard batch signal queue;Batch
Amount signal monitor can be attempted to obtain batch signal from corresponding batch signal queue.In the same batch, batch queue of the same name
One and only one, the batch signal monitor quantity for monitoring the same batch signal is up to 1.
Below with reference to Fig. 5~Fig. 6, the inside monitoring mechanism in above-mentioned optional embodiment is described in detail.Wherein, Fig. 5 is
The execution sequential schematic of batch signal monitor subsequent batch subtask relevant with the batch signal in the embodiment of the present application;
Fig. 6 is the update schematic diagram of batch signal index in the embodiment of the present application, tables of data and current data.
The max and last of the batch signal index of EA are 0 when initial, no data in tables of data, and current data is also countless
According to.As shown in figure 5, subtask EA_1 waits batch signal EA monitor to complete, batch signal EA monitor waits EA_
Index.max > EA_index.last is true, therefore the process where batch signal EA monitor is in and is blocked state.It needs
Illustrate, subtask EA_i represents i-th of task in the task sequence for waiting batch signal EA in Fig. 5;I is positive integer,
For example, subtask EA_1 represents the 1st task in the task sequence for waiting batch signal EA;Each batch signal EA prison
It listens device to execute completion, waits the EA_i in the task sequence of batch signal EA that can all execute in order once.
After batch Modulation recognition monitor receives first batch signal EA, data_EA1 is stored in tables of data, that is, EA_
Data [1]=data_EA1, updating EA_index.max is 1.Condition EA_index.max > EA_index.last meets, batch
EA_data [EA_index.last+1] is stored in EA_current_data, that is, EA_current_data=by signal EA monitor
EA_data [1], updating EA_index.last is that EA_index.last+1, that is, EA_index.last is updated to 1, then process
It continues to execute, subtask EA_1 obtains batch signal data from current data EA_current_data.
After batch Modulation recognition monitor receives second batch signal EA, data_EA2 is stored in tables of data, that is, EA_
Data [2]=data_EA2, updating EA_index.max is 2.As above figure, the process where batch signal EA monitor obtain again
It must dispatch execution (round-robin scheduling), condition EA_index.max > EA_index.last meets, and batch signal EA monitor is by EA_
Data [EA_index.last+1] is stored in EA_current_data, that is, EA_current_data=EA_data [2], updates EA_
Index.last is that EA_index.last+1, that is, EA_index.last is updated to 2, and process continues to execute, and subtask EA_1 is from working as
Preceding data EA_current_data obtains batch signal data.
In the above method, the first monitor of first agent's host, will according to the type of the task schedule signal
The task schedule signal is written in corresponding first data structure and count is incremented by first, to be conducive to task schedule letter
Number classified and stored, and determine described first count be greater than second and count when, described appoint is obtained from first data structure
Be engaged in scheduling signals simultaneously be written the second data structure so that first count it is consistent with the second counting, so as to according to first counting with
Second counts, circulation synchronous scheduling transmission task signal.
In the embodiment of the present application, PUBLISHER can be deployed in first agent's host, and can be each PUBLISHER
Increase the dimension of DCN, for example, PUBLISHER is named as PUBLISHER_DCNA.
Before step 102, a kind of optional embodiment is as follows:
First agent's host obtains the update request message that third applied host machine is sent;The update solicited message is used
The corresponding third of the task schedule signal is answered in indicating that first agent's host is handled in host information in the task
First applied host machine is updated to host;After update request message described in first agent's host acknowledgement is legal, by institute
It states task schedule signal described in task processing host information and corresponds to first applied host machine.
In the above method, first agent's host can be corresponding by task schedule signal according to legal update request message
Third applied host machine is updated to first applied host machine, to increase the flexibility of task schedule signal transmission.
In above-mentioned optional embodiment, update request message described in first agent's host acknowledgement is legal, can have
Body is as follows:
First agent's host if it is determined that it is described update request message in user name and password be pre-set user name and
Preset password, it is determined that the update request message is legal;The task is handled into task schedule signal described in host information
Corresponding to first applied host machine, comprising: the task is handled task schedule signal described in host information and corresponds to institute
State the internet protocol address of the first applied host machine and the port of the first applied host machine.
Under aforesaid way, first agent's host is if it is determined that the user name updated in request message and password are default use
Name in an account book and preset password, it is determined that the update request message is legal, to increase one-time authentication to update request message, is promoted
The safety of signal transmission.
Wherein, the user name updated in request message and password are pre-set user name and preset password meaning are as follows: more
The entitled pre-set user name of user in new request message, and update the entitled preset password of user in request message.In addition, default
User name and preset password are a pair of matched information.
It should be noted that pre-set user name and preset password can be default according to various ways.For example, the first application
Host and third applied host machine belong to the same batch, can determine pre-set user name and preset password according to this batch.
For above-mentioned optional embodiment, as shown in fig. 7, corresponding for applied host machine update method in the embodiment of the present application
System architecture schematic diagram.
Batch tasks determine active and standby applied host machine according to HA plan implementation, by zookeeper cluster.Such as Fig. 7, BATCH1_
The schedule serverA1 of DCNA via zookeeper collection group decision become applied host machine, IP address 192.168.0.1,
Port numbers are 10000, then the batch title of this system and the batch classification monitor of this batch are reported to PUBLISHER_DCNA
The ip:port used;The schedule serverB2 of BATCH2_DCNA becomes application master via zookeeper collection group decision
Machine, then the ip for reporting the batch classification monitor of the batch title of this system and this batch to use to PUBLISHER_DCNA:
Port, the also username and password comprising distributing to BATCH1_DCNA in message.PUBLISHER_DCNA use reports in message
Username and password test it is close, test it is close by then will be updated BATCH1_DCNA ip:port map.
In addition, the scheme of interaction is: configuration management database (CMDB) group for the task schedule signal inside DCN
Part safeguard service administers data, and the batch signal for needing to send must all register transmission relationship on CMDB.As shown in figure 8,
PUBLISHER periodically administers data from CMDB synchronous service.It is described in detail below with reference to Fig. 9, Fig. 9 is in the embodiment of the present application
Task schedule signal inside DCN transmits schematic diagram.
BATCH2DCNA starts the host schedule that batch signal monitor monitors batch signal EA, BATCH1_DCNA
ServerA1 sends batch signal EA to PUBLISHER_DCNA, in message comprising distribute to the user name of BATCH1_DCNA with
Password.PUBLISHER_DCNA test using the username and password in message close.It tests close do not pass through and then abandons the message, and
It records this and tests space-in and be.It tests the close service by then carrying out batch signal and administers authentication.It such as services and is not present in improvement
The call relation of BTACH1_DCNA- > BATCH2_DCNA.EA then stops not send.If there is BTACH1_DCNA- >
I.e. the authentication is passed for the call relation of BATCH2_DCNA.EA, and PUBLISHER_DCNA then can be according to target batch title BATCH2_
The ip:port that DCNA finds record is 192.168.0.22:10000, then BATCH2_DCNA sends a message to and is deployed in
192.168.0.22 the batch classification monitor of the BATCH2_DCNA on server, BATCH2_DCNA receive and process the batch
Signal.
After step 101, before step 104, a kind of optional embodiment is as follows:
First agent's host determines whether second agent's host is the proxy indicated in default white list,
If it is not, then the task schedule signal is abandoned.
Under aforesaid way, by presetting white list, first agent's host is verified to task schedule signal is sent, if the
Two proxies are not the proxy indicated in default white list, then abandon task schedule signal.Which can be applied to
In framework shown in Figure 10.It is discussed in detail below with reference to Figure 10, Figure 10 is the task schedule letter in the embodiment of the present application between DCN
Number transmission schematic diagram.It should be noted that in framework shown in Figure 10, other systems, can also not either batch system
It is batch system.
PUBLISHER_DCNB monitors the topic_publisher_DCNB of RMB, and BATCH1_DCNB starts batch signal prison
Device is listened to monitor batch signal EB.The host schedule serverA1 of BATCH1_DCNA sends batch signal to PUBLISHER_
It is DCNB that DCNA, PUBLISHER_DCNA, which check the DCN that target batch title is indicated, rather than the DCNA of this DCN, then should
Batch signal assemble is sent to RMB at RMB message, and RMB will be pushed to the topic_publisher_DCNB's for monitoring RMB
PUBLISHER_DCNB, after testing close and service improvement authentication by PUBLISHER_DCNB, PUBLISHER_DCNB is again by message
It is sent to the host of BATCH1_DCNB, otherwise the message is dropped and records.
In the above method, first agent's host of first data center's node receives the task tune that second agent's host is sent
Signal is spent, and the task schedule signal is triggered after the second applied host machine has executed the second task, there is no need to frequently visit
Ask database, can scheduling transmission task signal, reduce the delay of task schedule signal, in addition, first agent's host according to
Task handles host information, determines corresponding first applied host machine of the task schedule signal, and task schedule signal is sent
To the first applied host machine, the applied host machine of frequent switching access database is avoided, therefore the above method reduces task schedule
The transmission delay of signal.
Based on RMB reliable news bus, pass through unified batch signal active distribution module PUBLISHER and internal monitoring
Mechanism realizes the decoupling and high expansion of the distribution of batch signal, meets bank and services lot size scheduling the risk administered and authenticated
Management requires.Method for transmitting signals provided by the present application has the advantage that
The first, by internal batch signal queue, the execution scene of batch is expanded, can support circulation batch.
The second, batch title and actual host mapping relations are uniformly safeguarded by proxy, make to need interaction batch
HA plan implementation can be used in the batch of signal, and safeguards the mapping relations of batch title and actual host.
Third is named by the way that batch is added in DCN dimension, under across DCN situation, by RMB to non-DCN target batch
It sends batch signal and receives the signal from non-batch system.
4th, the service to lot size scheduling is completed by batch signal distribution module to administer and authenticate, meet the wind of bank
Danger management requires.
It as shown in figure 11, is a kind of structural schematic diagram of signal transmitting apparatus provided by the embodiments of the present application.
The application provides a kind of signal transmitting apparatus, comprising: obtains module 1101, sends for receiving second agent's host
Task schedule signal;The task schedule signal is triggered after the second applied host machine has executed the second task;Described second
Proxy and second applied host machine are the host of second data center's node;Processing module 1102, for according to task
Host information is handled, determines corresponding first applied host machine of the task schedule signal;First applied host machine is described the
The host of one data center's node;The task processing host information is at each applied host machine according to first data center's node
What each task of reason determined;The task schedule signal is sent to first applied host machine, the task schedule signal is used
First task is executed in triggering first applied host machine.
In a kind of optional embodiment, the processing module 1102 is also used to: according to the type of the task schedule signal,
The task schedule signal is written in corresponding first data structure and count is incremented by first;Determining that described first counts
When being counted greater than second, the task schedule signal is obtained from first data structure and the second data structure is written, it
By described second, count is incremented afterwards.
In a kind of optional embodiment, the module 1101 that obtains is also used to: obtaining the update that third applied host machine is sent
Request message;The update solicited message is used to indicate the task schedule signal pair in task processing host information
The third applied host machine answered is updated to first applied host machine;After confirming that the update request message is legal, by the task
It handles task schedule signal described in host information and corresponds to first applied host machine.
In a kind of optional embodiment, the acquisition module 1101 is specifically used for: if it is determined that in the update request message
User name and password be pre-set user name and preset password, it is determined that the update request message is legal;At the task
The internet protocol address and first that task schedule signal described in reason host information corresponds to first applied host machine is answered
With the port of host.
In a kind of optional embodiment, the processing module 1102 is also used to: determine second agent's host whether be
The proxy indicated in default white list, if it is not, then abandoning the task schedule signal.
The embodiment of the present application provides a kind of computer equipment, including program or instruction, when described program or instruction are performed
When, to execute a kind of method for transmitting signals provided by the embodiments of the present application and any optional method.
The embodiment of the present application provides a kind of storage medium, including program or instruction, when described program or instruction be performed,
To execute a kind of method for transmitting signals provided by the embodiments of the present application and any optional method.
Finally, it should be noted that it should be understood by those skilled in the art that, embodiments herein can provide as method, be
System or computer program product.Therefore, the application can be used complete hardware embodiment, complete software embodiment or combine software
With the form of the embodiment of hardware aspect.Moreover, it wherein includes that computer can use journey that the application, which can be used in one or more,
The computer implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, optical memory etc.) of sequence code
The form of program product.
The application be referring to according to the present processes, equipment (system) and computer program product flow chart and/or
Block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/or
The combination of process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions to arrive
General purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one
Machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realizing flowing
The device for the function of being specified in journey figure one process or multiple processes and/or block diagrams one box or multiple boxes.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
Obviously, those skilled in the art can carry out various modification and variations without departing from the model of the application to the application
It encloses.In this way, if these modifications and variations of the application belong within the scope of the claim of this application and its equivalent technologies, then
The application is also intended to include these modifications and variations.
Claims (12)
1. a kind of method for transmitting signals, which is characterized in that suitable for including multiple proxies and multiple data center's nodes
Processing system;Each data center's node has corresponding proxy;Each data center's node includes multiple applied host machines;
The described method includes:
First agent's host receives the task schedule signal that second agent's host is sent;The task schedule signal is the second application
Host, which has executed, to be triggered after the second task;First agent's host is the host of first data center's node;Described second
Proxy and second applied host machine are the host of second data center's node;
First agent's host handles host information according to task, determines the corresponding first application master of the task schedule signal
Machine;The task processing host information is each applied host machine of the first agent's host according to first data center node
What each task of processing determined;First applied host machine is the host of first data center node;
The task schedule signal is sent to first applied host machine, the task schedule signal by first agent's host
First task is executed for triggering first applied host machine.
2. the method as described in claim 1, which is characterized in that first agent's host sends the task schedule signal
Before first applied host machine, further includes:
First monitor of first agent's host is according to the type of the task schedule signal, by the task schedule signal
It is written in corresponding first data structure and count is incremented by first;
Second monitor of first agent's host is when determining that described first counts greater than the second counting, from first number
According to obtaining the task schedule signal in structure and the second data structure being written, by described second, count is incremented later.
3. the method as described in claim 1, which is characterized in that further include:
First agent's host obtains the update request message that third applied host machine is sent;The update solicited message is for referring to
Show first agent's host in task processing host information by the corresponding third application master of the task schedule signal
Machine is updated to first applied host machine;
After update request message described in first agent's host acknowledgement is legal, the task is handled and is appointed described in host information
Scheduling signals be engaged in corresponding to first applied host machine.
4. method as claimed in claim 3, which is characterized in that update request message described in first agent's host acknowledgement closes
Method, comprising:
First agent's host is if it is determined that the user name updated in request message and password are pre-set user name and preset
Password, it is determined that the update request message is legal;
The task is handled into task schedule signal described in host information and corresponds to first applied host machine, comprising:
The task is handled into the internet protocol that task schedule signal described in host information corresponds to first applied host machine
Discuss the port of IP address and the first applied host machine.
5. the method as described in claim 1-4 is any, which is characterized in that first agent's host receives second agent's host
After the task schedule signal of transmission, the task schedule signal is sent to first application and led by first agent's host
Before machine, further includes:
First agent's host determines whether second agent's host is the proxy indicated in default white list, if not
It is then to abandon the task schedule signal.
6. a kind of signal transmitting apparatus, which is characterized in that described device includes:
Module is obtained, for receiving the task schedule signal of second agent's host transmission;The task schedule signal is second to answer
It is triggered after having executed the second task with host;Second agent's host and second applied host machine are the second data center
The host of node;
Processing module determines corresponding first applied host machine of the task schedule signal for handling host information according to task;
First applied host machine is the host of first data center node;The task processing host information is according to the first number
It is determined according to each task that each applied host machine of central node is handled;The task schedule signal is sent to first application
Host, the task schedule signal execute first task for triggering first applied host machine.
7. device as claimed in claim 6, which is characterized in that the processing module is also used to:
According to the type of the task schedule signal, the task schedule signal is written in corresponding first data structure and is incited somebody to action
First count is incremented;
When determining that described first counts greater than the second counting, the task schedule signal is obtained from first data structure
And the second data structure is written, by described second, count is incremented later.
8. device as claimed in claim 6, which is characterized in that the acquisition module is also used to:
Obtain the update request message that third applied host machine is sent;The update solicited message is used to indicate in task processing
The corresponding third applied host machine of the task schedule signal is updated to first applied host machine in host information;
After confirming that the update request message is legal, the task is handled into task schedule signal described in host information and is corresponded to
First applied host machine.
9. device as claimed in claim 8, which is characterized in that the acquisition module is specifically used for:
If it is determined that it is described update request message in user name and password be pre-set user name and preset password, it is determined that it is described more
New request message is legal;
The task is handled into the internet protocol that task schedule signal described in host information corresponds to first applied host machine
Discuss the port of IP address and the first applied host machine.
10. the device as described in claim 6-9 is any, which is characterized in that the processing module is also used to:
Determine whether second agent's host is the proxy indicated in default white list, if it is not, then by the task
Scheduling signals abandon.
11. a kind of computer equipment, which is characterized in that including program or instruction, when described program or instruction are performed, as weighed
Benefit require any one of 1 to 5 described in method be performed.
12. a kind of storage medium, which is characterized in that including program or instruction, when described program or instruction are performed, such as right
It is required that method described in any one of 1 to 5 is performed.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910580557.XA CN110290215B (en) | 2019-06-28 | 2019-06-28 | Signal transmission method and device |
PCT/CN2020/095938 WO2020259326A1 (en) | 2019-06-28 | 2020-06-12 | Signal transmission method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910580557.XA CN110290215B (en) | 2019-06-28 | 2019-06-28 | Signal transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110290215A true CN110290215A (en) | 2019-09-27 |
CN110290215B CN110290215B (en) | 2021-09-28 |
Family
ID=68019811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910580557.XA Active CN110290215B (en) | 2019-06-28 | 2019-06-28 | Signal transmission method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110290215B (en) |
WO (1) | WO2020259326A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020259326A1 (en) * | 2019-06-28 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Signal transmission method and apparatus |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982141A (en) * | 2012-11-20 | 2013-03-20 | 北京搜狐新媒体信息技术有限公司 | Method and device for realizing distributed database agent |
CN103164261A (en) * | 2011-12-15 | 2013-06-19 | 中国移动通信集团公司 | Multicenter data task processing method, multicenter data task processing device and multicenter data task processing system |
CN103997725A (en) * | 2013-01-25 | 2014-08-20 | 思科技术公司 | System and method for abstracting and orchestrating mobile data networks in a network environment |
CN104144183A (en) * | 2013-05-08 | 2014-11-12 | 株式会社日立制作所 | Data center system and management method for data center system |
WO2015051685A1 (en) * | 2013-10-12 | 2015-04-16 | 华为技术有限公司 | Task scheduling method, device and system |
CN105430074A (en) * | 2015-11-13 | 2016-03-23 | 厦门大学 | Data dependency and access traffic based cloud data allocation storage optimization method and system |
US9479382B1 (en) * | 2012-03-27 | 2016-10-25 | Amazon Technologies, Inc. | Execution plan generation and scheduling for network-accessible resources |
CN106980543A (en) * | 2017-04-05 | 2017-07-25 | 福建智恒软件科技有限公司 | The distributed task dispatching method and device triggered based on event |
CN107025131A (en) * | 2016-02-01 | 2017-08-08 | 腾讯科技(深圳)有限公司 | A kind of method for scheduling task and device |
US20180136979A1 (en) * | 2016-06-06 | 2018-05-17 | Sitting Man, Llc | Offer-based computing enviroments |
CN109302308A (en) * | 2018-08-23 | 2019-02-01 | 厦门秦淮科技有限公司 | A kind of data center IDC resource management system and management method |
CN109451047A (en) * | 2018-12-13 | 2019-03-08 | 深圳前海微众银行股份有限公司 | Data transferring method, device, equipment and the storage medium of monitoring warning system |
CN109547239A (en) * | 2018-11-14 | 2019-03-29 | 赵显涛 | Strange land cloud data center management system based on three-layer network framework |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1251111C (en) * | 2002-12-31 | 2006-04-12 | 联想(北京)有限公司 | Load weighing method based on systematic grade diagnosis information |
CN101719842B (en) * | 2009-11-20 | 2011-09-21 | 中国科学院软件研究所 | Cloud computing environment-based distributed network security pre-warning method |
CN103309738B (en) * | 2013-05-31 | 2016-12-28 | 中国联合网络通信集团有限公司 | User job dispatching method and device |
WO2015021629A1 (en) * | 2013-08-15 | 2015-02-19 | 华为技术有限公司 | Resource allocation method |
CN106951330A (en) * | 2017-04-10 | 2017-07-14 | 郑州轻工业学院 | A kind of maximized virtual machine distribution method of cloud service center service utility |
CN110290215B (en) * | 2019-06-28 | 2021-09-28 | 深圳前海微众银行股份有限公司 | Signal transmission method and device |
-
2019
- 2019-06-28 CN CN201910580557.XA patent/CN110290215B/en active Active
-
2020
- 2020-06-12 WO PCT/CN2020/095938 patent/WO2020259326A1/en active Application Filing
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103164261A (en) * | 2011-12-15 | 2013-06-19 | 中国移动通信集团公司 | Multicenter data task processing method, multicenter data task processing device and multicenter data task processing system |
US9479382B1 (en) * | 2012-03-27 | 2016-10-25 | Amazon Technologies, Inc. | Execution plan generation and scheduling for network-accessible resources |
CN102982141A (en) * | 2012-11-20 | 2013-03-20 | 北京搜狐新媒体信息技术有限公司 | Method and device for realizing distributed database agent |
CN103997725A (en) * | 2013-01-25 | 2014-08-20 | 思科技术公司 | System and method for abstracting and orchestrating mobile data networks in a network environment |
CN104144183A (en) * | 2013-05-08 | 2014-11-12 | 株式会社日立制作所 | Data center system and management method for data center system |
WO2015051685A1 (en) * | 2013-10-12 | 2015-04-16 | 华为技术有限公司 | Task scheduling method, device and system |
CN105430074A (en) * | 2015-11-13 | 2016-03-23 | 厦门大学 | Data dependency and access traffic based cloud data allocation storage optimization method and system |
CN107025131A (en) * | 2016-02-01 | 2017-08-08 | 腾讯科技(深圳)有限公司 | A kind of method for scheduling task and device |
US20180136979A1 (en) * | 2016-06-06 | 2018-05-17 | Sitting Man, Llc | Offer-based computing enviroments |
CN106980543A (en) * | 2017-04-05 | 2017-07-25 | 福建智恒软件科技有限公司 | The distributed task dispatching method and device triggered based on event |
CN109302308A (en) * | 2018-08-23 | 2019-02-01 | 厦门秦淮科技有限公司 | A kind of data center IDC resource management system and management method |
CN109547239A (en) * | 2018-11-14 | 2019-03-29 | 赵显涛 | Strange land cloud data center management system based on three-layer network framework |
CN109451047A (en) * | 2018-12-13 | 2019-03-08 | 深圳前海微众银行股份有限公司 | Data transferring method, device, equipment and the storage medium of monitoring warning system |
Non-Patent Citations (2)
Title |
---|
V.B. LORTZ: "MDARTS: a multiprocessor database architecture for hard real-time systems", 《IEEE》 * |
仓业亮: "云计算环境下面向数据密集型应用的任务和资源调度研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020259326A1 (en) * | 2019-06-28 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Signal transmission method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2020259326A1 (en) | 2020-12-30 |
CN110290215B (en) | 2021-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11538003B2 (en) | Sharded permissioned distributed ledgers | |
CN106502769B (en) | Distributed transaction processing method, apparatus and system | |
CN110290189A (en) | A kind of container cluster management method, apparatus and system | |
CN106131213B (en) | Service management method and system | |
CN103782574B (en) | Idempotence for database transactions | |
Chihoub et al. | Harmony: Towards automated self-adaptive consistency in cloud storage | |
US6523065B1 (en) | Method and system for maintenance of global network information in a distributed network-based resource allocation system | |
US20030182464A1 (en) | Management of message queues | |
US8756613B2 (en) | Scalable, parallel processing of messages while enforcing custom sequencing criteria | |
CN111752965A (en) | Real-time database data interaction method and system based on micro-service | |
US20100325190A1 (en) | Using distributed queues in an overlay network | |
CN105554142B (en) | The method, apparatus and system of message push | |
WO2015167713A1 (en) | System and method for supporting a bypass-domain model and a proxy model and updating service information for across-domain messaging in a transactional middleware machine environment | |
WO2020248768A1 (en) | Method and apparatus for managing application program service | |
CN103677983B (en) | The dispatching method and device of application | |
Chen et al. | Scalable service-oriented replication with flexible consistency guarantee in the cloud | |
CN110231980A (en) | Processing method, device and the transaction processor of distributed transaction | |
US20040068729A1 (en) | Non-hierarchical collaborative computing platform | |
Joung | The congenial talking philosophers problem in computer networks | |
CN110430180A (en) | A kind of platform of internet of things and implementation method based on hot plug | |
CN110290215A (en) | A kind of method for transmitting signals and device | |
CN103312623B (en) | Task cooperation device and method | |
CN112181599A (en) | Model training method, device and storage medium | |
CN111913784A (en) | Task scheduling method and device, network element and storage medium | |
CN105874435B (en) | Non- block registration in distributed transaction |
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 |