CN101075969A - Method, apparatus and system for controlling data transmission - Google Patents
Method, apparatus and system for controlling data transmission Download PDFInfo
- Publication number
- CN101075969A CN101075969A CNA200710130103XA CN200710130103A CN101075969A CN 101075969 A CN101075969 A CN 101075969A CN A200710130103X A CNA200710130103X A CN A200710130103XA CN 200710130103 A CN200710130103 A CN 200710130103A CN 101075969 A CN101075969 A CN 101075969A
- Authority
- CN
- China
- Prior art keywords
- message
- middleware
- communication
- transaction
- control information
- 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
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The method comprises: the source node sends the message to the middleware; the middleware receives the message; according to the transmission control information of the said message, calling the preset destination communication module; said transmission control information comprises the destination address information of the message; according to the destination address of said message, the destination communication module sends the message to its corresponding destination node. The invention is used for solving the problem of raising the update and maintenance cost due to setting a communication module in source node.
Description
Technical field
The present invention relates to field of data transmission, especially relate to a kind of method, device and a kind of data transmission system of control data transmission.
Background technology
At present, along with deepening continuously of IT application in enterprise, be to satisfy different business demands to have set up different information systems gradually in enterprises.But these information systems are at when exploitation stand-alone development often, communication modes such as its technology platform that adopts, data standard also vary, therefore cause the message between the different system to be difficult to transmit, formed information island between system and the system, caused great waste to ERM.
For addressing the above problem, the way that prior art is general is according to the technical specification of purpose information system in source information system (to call source node in the following text), rule such as communication modes and safety requirements is set up communication module, when both sides' communication, source node is set up with purpose information system (to call destination node in the following text) by this communication module and is connected in real time, and message is sent to this purpose information system.For example, when breaking down, a bank self-aid apparatus failure message need be sent to keeper's SMS and mailbox respectively, so just need in this Possum, develop SMS communication module and mail communication module respectively, failure message be mail to SMS system and enterprise's mailbox system respectively by above-mentioned two communication modules according to the demand of technical standard of systems such as SMS system, enterprise network mailbox.
Though such scheme has been realized the message transmission between the different information systems, but at an information system, a kind of transmission of messages approach of every increase will a communication module newly developed, if in a single day the communication need of this communication module changes, just need upgrade and optimize this communication module, cost enterprise great amount of manpower and material resources resource, particularly along with the communication module that adds in the system is many more, the influence that this upgrading and optimization bring to system is also big more, the serious instability that also might cause system's operation.
Summary of the invention
The object of the present invention is to provide a kind of method, device and a kind of data transmission system of control data transmission, set up the high problem of exploitation, maintenance cost that communication module realizes that transmission of messages is brought respectively to solve prior art technical specification and communication need according to the various objectives node in source node.
For addressing the above problem, the invention discloses a kind of method of control data transmission, comprise the steps:
Source node is sent to middleware with message;
Middleware receives message; Control information transmission according to described message calls the purpose communication module that sets in advance, and described control information transmission comprises the destination address of this message;
Described purpose communication module is sent to the corresponding target node according to the destination address of described message with this message.
Preferably, described source node also comprises before message is sent to middleware:
Source node is woven to transaction message by presetting rule with described message groups, and this transaction message comprises described control information transmission; It is that the transaction message that will comprise described message is sent to middleware that described source node is sent to middleware with message;
Described middleware receives message and comprises:
Receive described transaction message;
Resolve this message by presetting rule, obtain described message.
Preferably, by presetting rule message groups to be woven to transaction message be to organize transaction message according to the communication need of middleware to described source node.
Preferably, by presetting rule message groups to be woven to transaction message be to organize according to the communication need of source node to described source node;
Described middleware is provided with the communication receiver module by the communication need of source node, and this communication receiver module receives described transaction message, and resolves this message.
Preferably, described transaction message also comprises after resolved:
To resolve the back and obtain message stores in database;
Message to storage scans, and determines message to be sent; According to this message call destination node communication module to be sent this message is sent to the corresponding target node.
Preferably, described transaction message resolved the back, also comprised before being stored in database:
The control information transmission that comprises according to this transaction message carries out the legitimacy verification to described message, if the verification failure is returned error result, otherwise stored this message.
For addressing the above problem, the invention also discloses a kind of device of control data transmission, comprising:
The communication receiving element is used to receive message;
The communication transmitting element comprises one or more purpose communication modules, and this purpose communication module is used for sending the message that described communication receiving element receives according to the destination address of message;
Transmission control unit is used for selecting the corresponding target communication module to send this message according to the control information transmission of message from the communication transmitting element.
Preferably, described communication receiving element also comprises:
The message receiving element is used to receive transaction message, and this transaction message comprises the control information transmission of message and message;
Resolution unit is used for the transaction message that the message receiving element is received is resolved.
Preferably, described device also comprises:
Memory cell is used to store the message that obtains after resolution unit is resolved;
Scanning element is used for scanning the message that memory cell is stored, and selects message to be sent;
Described transmission control unit selects the corresponding target communication module to send this message from the communication transmitting element according to the control information transmission of the selected message of scanning element.
Preferably, described device also comprises:
Verification unit is used for message that the communication receiving element is received, carries out the legitimacy verification according to the control information transmission of this message, if the verification failure is returned failure result by the communication transmitting element.
For addressing the above problem, the invention also discloses a kind of data transmission system, comprise source node and destination node, also comprise middleware, wherein,
Described source node comprises:
Message sending unit is used for message is sent to middleware;
Described middleware comprises:
The middleware communication receiving element is used to receive message;
The middleware communication transmitting element comprises one or more purpose communication modules, and this purpose communication module is used for sending the message that described communication receiving element receives according to the destination address of message;
The middleware transmission control unit is used for selecting the corresponding target communication module to send this message according to the control information transmission of message from the communication transmitting element;
Described destination node comprises:
The message sink unit is used to receive message.
Preferably, described middleware communication receiving element also comprises:
Middleware message receiving element is used to receive transaction message, and this transaction message comprises the control information transmission of message and message;
The middleware resolution unit is used for the transaction message that middleware message receiving element is received is resolved.
Preferably, described middleware also comprises:
The middleware memory cell is used to store the message that obtains after the middleware resolution unit is resolved;
The middleware scanning element is used for scanning the message that the middleware memory cell is stored, and selects message to be sent;
Described middleware transmission control unit selects the corresponding target communication module to send this message from the middleware communication transmitting element according to the control information transmission of the selected message of middleware scanning element.
Preferably, described middleware also comprises: the middleware verification unit, be used for message that the middleware communication receiving element is received, and carry out the legitimacy verification according to the control information transmission of this message, if the verification failure is returned failure result by the middleware communication transmitting element.
Compared with prior art, the present invention has following effect:
Prior art is set up communication module by specification requirement and the standard according to destination node in source node, utilizes this module to send message to destination node.Adopt this mode, a kind of transmission of messages approach of every increase will be in source node a communication module newly developed, and, just need upgrade and optimize this communication module in case the communication need of existing communication module changes.Particularly when the quantity of source node more for a long time, as be distributed in the bank self-aid apparatus of various places, above-mentioned upgrading and optimize and will consume the great amount of manpower and material resources resource.And along with the communication module that adds in the system is many more, the influence that this upgrading and optimization bring for system itself is also big more, the serious instability that also might cause system's operation.The present invention is by being provided with unified middleware, in this middleware, set up and the corresponding communication module of destination node, when source node need send message to certain destination node, only need message is sent to this middleware, call corresponding communication module with the destination node of transmission of messages to correspondence by middleware.So, even the communication need of certain node changes, only need upgrade to corresponding communication module in the middleware gets final product, and has therefore greatly saved maintenance cost.To realize interconnected with other nodes to any one node, only need to be provided with according to the communication need of middleware, as adopt unified message format, communications protocol etc., and do not need to consider to adapt to the complex situations of multiple kinds, multiple cipher mode, multiple message requirement.Therefore the technology of accelerated system development speed, having simplified system interconnect realizes difficulty and workload, has further saved cost.
Description of drawings
Fig. 1 is the flow chart of steps of the embodiment 1 of control data transmission method of the present invention;
Fig. 2 is the flow chart of steps of the embodiment 2 of control data transmission method of the present invention;
Fig. 3 is the structured flowchart of an embodiment of control data transmission device of the present invention;
Fig. 4 is the structured flowchart of an embodiment of data transmission system of the present invention.
Embodiment
Prior art is by developing, set up the transmission of messages between the different communication module realization systems in each system, but this mode not only development cost is higher, the upgrading of these communication modules, maintenance need to spend the great amount of manpower and material resources resource especially, and more likely cause the instability of system's operation.The present invention is by being provided with unified middleware, in this middleware, set up and the corresponding communication module of each system, when needs between two or more systems during message transfer, transmitting terminal only needs message is sent to this middleware, call corresponding communication module with the destination of transmission of messages by middleware, therefore well solved the problems referred to above to correspondence.
Each system in the network can regard a network node with unique address as, and message transmission course in network uses nodes to come the replacement system more in the following description for convenience of explanation.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Among the embodiment 1 of data transfer control method of the present invention, the message that source node will transmit is sent to middleware, this middleware calls the corresponding target communication module according to the control information transmission of message, by this purpose communication module message is sent to the corresponding target node.
The flow process of data transfer control method is as shown in Figure 2 among the embodiment 1:
Step 101: source node is gathered message, organizes transaction message by the communication need of middleware.
The message that the source node collection need send.Message of the present invention is meant the various electronic information that can transmit between node, the content of this message depends on the purpose of this transmission of messages of source node, for example can be fault information, announcement information etc.The data format of described message can be string data, binary data, XML data etc., and the present invention does not limit this.
The message that collects is organized as transaction message by presetting rule.In this example, described presetting rule is the defined message composition rule of the communication modes of source node and described middleware, and for example message comprises those information, each information position relation in message etc.
Preferably, middleware externally provides a kind of communication modes, each with it the source node of communication all by with a kind of regular weaves transaction message, so, the complexity that can the reduction technology realizes.Certainly, middleware also can provide multiple communication modes, source node can therefrom be selected a kind of communication modes as message transfer, accordingly, transaction message also generates according to the rule of this communication modes definition, but no matter select the sort of rule to generate transaction message, this transaction message includes heading and message bag, and this message bag is the particular content of described message.Wherein, comprise the control information transmission of this message in the heading, then comprised the destination address of message in this control information transmission at least.
Step 102: transaction message is sent to middleware.
The communication modes that provides according to middleware in source node is provided with corresponding communication module, and this communication module has defined the communications protocol that the transmission transaction message will be used, interface message etc.
Because source node only needs transaction message is sent to middleware, therefore, even there is dissimilar source nodes, unified communication module by a kind of communication modes setting that provides of middleware also only is provided, for example, if source node is bank self-aid apparatus and POS terminal,, on two kinds of equipment same communication module is set though function is different with purposes.So, any one source node that need send message only need by unified standard setting and middleware communication module, organize transaction message to get final product, not only reduced technical difficulty, also reduced the cost of exploitation, maintenance.
Step 103: middleware receives, resolves transaction message.
Middleware is resolved the transaction message of receiving, obtains heading and message bag.
Step 104: according to the legitimacy of this transaction message of control information transmission verification in the message, if error message is returned in the verification failure, otherwise execution in step 105.
This step is an optional step.At first from heading, obtain control information transmission, according to this control information transmission message is carried out the legitimacy verification then.For example, comprised effective time of advent of this transaction message in the control information transmission, if exceed the term of validity, then this message cancels.
Certainly, those skilled in the art can be provided with the content of legitimacy verification as required when enforcement is of the present invention, the present invention to how carrying out the legitimacy verification does not limit, for example, if message is through encrypting, then can be decrypted, safety check such as signature authentication this message.
Step 105: the control information transmission according to message is selected the corresponding target communication module.
The present invention carries out communication as required in middleware destination node is provided with the purpose communication module respectively, for example, if destination node is SMS system and corporate mail system, then in the middleware respectively the communication need according to these two kinds of systems SMS communication module and mail communication module are set.
Destination address according to message calls the corresponding target communication module.Comprise destination address and other control information transmissions of message in the heading of transaction message, select corresponding communication module by this destination address.Preferably, mapping relations between storage purpose node address and the purpose communication module in advance, as shown in the table:
The destination node address | The communication module numbering | Explanation |
202.11.3.2 | B1 | If message is sent to the destination node that the address is 202.11.3.2, then use the purpose communication module that is numbered B1 |
Before calling the purpose communication module, whether exist and described destination address corresponding target communication module in the check middleware, if do not exist, return error message.
Need to prove, above-mentionedly determine that according to the message destination address method of purpose communication module just is a preferable methods of the present invention, those skilled in the art need not be confined to this certainly, and for example, the data type that the message bag can be set in control information transmission is selected the destination node communication module.
Step 106: the purpose communication module is sent to the corresponding target node with the message bag that obtains.
The purpose communication module sends message according to the communication need of destination node.Certainly, if destination node requires to receive message according to certain message rule, this purpose communication module reorganizes described message according to this rule and is sent to this destination node for new transaction message so.
Among the embodiment 2 of data transfer control method of the present invention, middleware is after receiving the transaction message that source node sends, the message in this message can be sent to destination node, but, be stored in by certain format in the database of middleware behind this packet parsing.Referring to Fig. 2, the steps flow chart of embodiment 2 is carried out message semantic definition:
Step 201: source node is gathered message, organizes transaction message by the communication need of middleware.
Step 202: transaction message is sent to middleware.
Step 203: middleware receives, resolves transaction message.
Step 204: the storage that will resolve the back acquisition is at the information database.
After transaction message is resolved, obtain the control information transmission in message bag and the heading, then with this information stores at the information database.Illustrate the content of information database below:
Field | Explanation |
Message numbering | The serial number of message, message of unique identification |
Source node address | The address be can the unique identification node location information, for example can be the network IP of node, also can be node serial number etc. |
The destination node address | It can be the address of a destination node; Can be the address of a plurality of destination nodes also, be used for message is sent to a plurality of destination nodes |
Message effective time | The effective time of message is if exceed then message calcellation |
Message sends successfully sign | 0: message does not send 1: message has sent 2: message is overtime |
The message packet data type | The types of organization of describing message bag is as FML data, char, fixedly separator character string, binary data, XML data, marking type data etc.This field is used for explanation and how the message bag is resolved. |
The message bag | The content of message |
In addition, also can adopt other mode storing message information, for example XML file, text etc., the present invention is to how storing message information does not limit.
Step 205: scanning information database, obtain message to be sent.
The periodic scanning database obtains and sends the message be masked as " sending ", the message that gets access to may for one also may be for a plurality of.
Step 206: from a plurality of message that get access to, select one by one, call the corresponding target communication module according to the destination address of this message.
If the destination address of this message is a plurality of, then calls a plurality of communication modules and send this message.
Step 207: the purpose communication module is sent to message and described destination address corresponding target node.
Step 208: after message sends, the state of Message Record corresponding in the information database is updated to " sending ".
Step 209: repeated execution of steps 206, up to sending all message to be sent.
In the prior art, it is to utilize the purpose communication module of setting up in the source node to set up with destination node to be connected in real time that source node sends message to destination node, though this in real time interconnected real-time that can guarantee that message is transmitted, but when destination node occurs when unusual, during as situations such as application software run-time error, clogged with messages, mechanical disorder, network interruptions, source node then can't send to destination node with message, therefore this message can only be abandoned the unreliability that causes information to transmit.Among the embodiment 2, owing to after message sends from source node, be stored in the database of middleware, therefore, even destination node breaks down, message is still kept, but in the destination node time spent, again message is mail to destination node, thereby guaranteed the stability and the reliability of transmission of messages.
Based on embodiment 2, can monitor the communications status of the node in the network: by the message that does not send in the scanning information database, if message exceeds effective time and does not successfully send yet, then the explanation destination node communication corresponding with this message exists unusually, and this provides effective assurance for the fault that administrative staff pinpointed the problems, got rid of destination node as early as possible.The other guide of embodiment 2 sees also embodiment 1, repeats no more here.
Among the embodiment 3 of data transfer control method of the present invention, in the source node no longer the communication modes according to middleware communication module is set, organizes transaction message, but the communication need according to source node is provided with the communication receiver module respectively in middleware, and these communication receiver modules receive transaction message, resolve this message according to the existing communications protocol of source node.Compare with embodiment 2 with embodiment 1, owing to need not source node is done any change, therefore the influence of source node is also reduced to minimum, avoided in source node, setting up the uncertainty of bringing with the communication module of middleware, and, owing to only need middleware is safeguarded, also further saved cost.
Below introduced data transfer control method of the present invention in conjunction with the embodiments, the applied environment below in conjunction with concrete describes in further detail the method for the invention.
In this Application Example below: source node A is a bank self-aid apparatus, and wherein A is the numbering of this Possum in network, can uniquely determine the address of this equipment in network by this numbering; Destination node B1 is the SMS server, and B2 is a mail server.If the cash of current Possum A uses up, need in time notify administrative staff by SMS and mail with this situation, detailed process is described below:
Step 301: Possum produces message, organizes transaction message by the communication need of middleware.
Preferably, middleware adopt the socket communication the communication modes of fixed length message.In addition, can also adopt the communication modes of the FML of TUXEDO.TUXEDO is a kind of multilingual, the transaction platform that can stretch arbitrarily that BEA company provides, and can further improve the reliabilty and availability of message communication by it.
Possum is according to the regular weaves warning message transaction message of socket communication, and this transaction message comprises heading and message bag, wherein,
Theing contents are as follows of heading:
Explanation of field | Value | Note |
Send the source node numbering of message | A | Possum numbering A |
Receive the destination node numbering of message | B1,B2 | Short message server B1, mail server B2 |
Message numbering | AB1345678 | The unique identification of message |
Message header or brief description | ATM lacks paper money and reports to the police | |
Message effective time | 4 | Unit is hour that this message is cancelled to exceed 4 hours |
Message bag type | 5 | Type code, the composition rule of expression message bag, for example 5: CSV character string message |
The message packet length | 89 |
The particular content of message bag: " A, 370616666,370990001,20060501,165501 ", its implication is respectively: the ATM numbering, and ATM service management mechanism, atm technology maintenance mechanism, ATM lack paper money reports to the police the date, and ATM lacks the paper money time of fire alarming.
Step 302: Possum adopts the socket communication modes that transaction message is sent to middleware.
Step 303: middleware is pressed the socket communication modes and is received transaction message.
Step 304: the transaction message of receiving is resolved by the socket mode.
In above-mentioned steps 302, if Possum adopts other communication modes to send transaction message, middleware then adopts corresponding communication modes to receive, resolve this message so.
Step 305: according to the legitimacy of the content checking prediction message of heading.
Whether each field of the heading that must fill as verification has value; Whether the destination node numbering that message was numbered, received to the source node that sends message exists in middleware; Whether this message exceeds message etc.If error message is returned in the verification failure.
Step 306: the storage that parsing is obtained is in the information database.
Database table thes contents are as follows:
Field | Type and length | Value |
Message numbering | char 32 | AB1345678 |
The source node numbering | char 9 | A |
The destination node numbering | char 9 | B1,B2 |
Message header | char(80) | ATM lacks paper money and reports to the police |
Message effective time | integer | 4 |
The message sink time | datetime year to fraction(3) | 2006-05-01 16:50:28.000 |
The message transmitting time | datetime year to fraction(3) | |
Message sends successfully sign | Char 1 | 0 |
Message bag type | Integer | 5 |
The message packet length | Integer | 89 |
The message bag | Byte | A0001,370616666 ,370990001,20060 501,165501 |
Step 307: scanning information database, obtain message to be sent, call corresponding target node communication module.
Scanning information database table, searching " message sends successfully sign " is the record of " 0 " (message does not send), handles one by one.If message is overtime, then " message send successfully sign " with this message in the database changes " 2 " into, if not overtime then call corresponding target node communication module according to message destination node numbering and handle.Therefore in this example, this message need be sent to short message server B1 and mail server B2 respectively, calls " short message communication module " respectively and " mail communication module " handled.
Step 308: the destination node communication module is sent to the corresponding target node with message.
" short message communication module " with the message bag that reads and related data according to the communication regular weaves transaction message of short message server B1, the communication modes that uses short message server to require is sent to short message server B1 with this message.Similarly, " mail communication module " organizes message to be sent to mail server by the requirement of mail server message.
Below having described a kind of data transfer control method of the present invention in conjunction with specific embodiments, with reference to above relevant introduction of the present invention, as shown in Figure 3, is the device 300 of a kind of control data transmission of the present invention, and described device comprises:
Communication receiving element 310 is used to receive message;
Communication transmitting element 360 comprises one or more purpose communication modules, and this purpose communication module is used for sending the message that described communication receiving element receives according to the destination address of message;
Transmission control unit 350 is used for selecting the corresponding target communication module to send this message according to the control information transmission of message from the communication transmitting element.
Described communication receiving element also comprises: message receiving element 311, be used to receive transaction message, and this transaction message comprises the control information transmission of message and message; Resolution unit 312 is used for the transaction message that the message receiving element is received is resolved.
Described device also comprises: memory cell 330 is used to store the message that obtains after resolution unit is resolved; Scanning element 340 is used for scanning the message that memory cell is stored, and selects message to be sent; Described transmission control unit selects the corresponding target communication module to send this message from the communication transmitting element according to the control information transmission of the selected message of scanning element.
Described device also comprises: verification unit 320, be used for message that the communication receiving element is received, and carry out the legitimacy verification according to the control information transmission of this message, if the verification failure is returned failure result by the communication transmitting element.
After the message receiving element was received transaction message, resolution unit was resolved this message, obtained the control information transmission of message in this transaction message and this message; Then, verification unit is carried out the legitimacy verification according to the control information transmission that resolution unit obtains to message, if the verification failure is returned the failure result resolution unit by the communication transmitting element, otherwise, message and the control information that obtains is stored in the memory cell; The message of storing in the scanning element periodic scanning memory cell is selected message to be sent; Transmission control unit selects the corresponding target communication module that this message is sent to and this message destination address corresponding target node to the message that scanning element obtained from the communication transmitting element according to the control information transmission of this message.
More than introduced the embodiment of control data transmission device of the present invention, the not detailed part of this embodiment sees also the description of said method embodiment.
As shown in Figure 4, be the structured flowchart of data transmission system of the present invention, described system comprises: source node 410, middleware 420 and destination node 430,
Wherein,
Described source node comprises:
Message sending unit 411 is used for message is sent to middleware;
Described middleware comprises:
Middleware communication receiving element 421 is used to receive message;
Middleware communication transmitting element 422 comprises one or more purpose communication modules, and this purpose communication module is used for sending the message that described communication receiving element receives according to the destination address of message;
Middleware transmission control unit 423 is used for selecting the corresponding target communication module to send this message according to the control information transmission of message from the communication transmitting element;
Described destination node comprises:
Message sink unit 431 is used to receive message.
Described middleware communication receiving element also comprises:
Middleware message receiving element 424 is used to receive transaction message, and this transaction message comprises the control information transmission of message and message;
Wherein, described middleware also comprises: middleware memory cell 426 is used to store the message that obtains after the middleware resolution unit is resolved; Middleware scanning element 427 is used for scanning the message that the middleware memory cell is stored, and selects message to be sent; Described middleware transmission control unit selects the corresponding target communication module to send this message from the middleware communication transmitting element according to the control information transmission of the selected message of middleware scanning element.
Wherein, described middleware also comprises: middleware verification unit 428, be used for message that the middleware communication receiving element is received, and carry out the legitimacy verification according to the control information transmission of this message, if the verification failure is returned failure result by the middleware communication transmitting element.
More than to method, device and a kind of data transmission system of a kind of control data transmission provided by the present invention, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (14)
1, a kind of method of control data transmission is characterized in that, comprises the steps:
Source node is sent to middleware with message;
Middleware receives message; Control information transmission according to described message calls the purpose communication module that sets in advance, and described control information transmission comprises the destination address of this message;
Described purpose communication module is sent to the corresponding target node according to the destination address of described message with this message.
2, method according to claim 1 is characterized in that, described source node also comprises before message is sent to middleware:
Source node is woven to transaction message by presetting rule with described message groups, and this transaction message comprises described control information transmission; It is that the transaction message that will comprise described message is sent to middleware that described source node is sent to middleware with message;
Described middleware receives message and comprises:
Receive described transaction message;
Resolve this message by presetting rule, obtain described message.
3, method according to claim 2 is characterized in that, it is to organize transaction message according to the communication need of middleware that described source node is woven to transaction message by presetting rule with message groups.
4, method according to claim 2 is characterized in that, it is to organize according to the communication need of source node that described source node is woven to transaction message by presetting rule with message groups;
Described middleware is provided with the communication receiver module by the communication need of source node, and this communication receiver module receives described transaction message, and resolves this message.
5, according to claim 3 or 4 described methods, it is characterized in that, also comprise after described transaction message is resolved:
To resolve the back and obtain message stores in database;
Message to storage scans, and determines message to be sent; According to this message call destination node communication module to be sent this message is sent to the corresponding target node.
6, method according to claim 5 is characterized in that, described transaction message is resolved the back, also comprised before being stored in database:
The control information transmission that comprises according to this transaction message carries out the legitimacy verification to described message, if the verification failure is returned error result, otherwise stored this message.
7, a kind of device of control data transmission is characterized in that, comprising:
The communication receiving element is used to receive message;
The communication transmitting element comprises one or more purpose communication modules, and this purpose communication module is used for sending the message that described communication receiving element receives according to the destination address of message;
Transmission control unit is used for selecting the corresponding target communication module to send this message according to the control information transmission of message from the communication transmitting element.
8, device according to claim 7 is characterized in that, described communication receiving element also comprises:
The message receiving element is used to receive transaction message, and this transaction message comprises the control information transmission of message and message;
Resolution unit is used for the transaction message that the message receiving element is received is resolved.
9, device according to claim 8 is characterized in that, described device also comprises:
Memory cell is used to store the message that obtains after resolution unit is resolved;
Scanning element is used for scanning the message that memory cell is stored, and selects message to be sent;
Described transmission control unit selects the corresponding target communication module to send this message from the communication transmitting element according to the control information transmission of the selected message of scanning element.
10, according to Claim 8 or 9 described devices, it is characterized in that described device also comprises:
Verification unit is used for message that the communication receiving element is received, carries out the legitimacy verification according to the control information transmission of this message, if the verification failure is returned failure result by the communication transmitting element.
11, a kind of data transmission system comprises source node and destination node, it is characterized in that, also comprises middleware, wherein,
Described source node comprises:
Message sending unit is used for message is sent to middleware;
Described middleware comprises:
The middleware communication receiving element is used to receive message;
The middleware communication transmitting element comprises one or more purpose communication modules, and this purpose communication module is used for sending the message that described communication receiving element receives according to the destination address of message;
The middleware transmission control unit is used for selecting the corresponding target communication module to send this message according to the control information transmission of message from the communication transmitting element;
Described destination node comprises:
The message sink unit is used to receive message.
12, system according to claim 11 is characterized in that, described middleware communication receiving element also comprises:
Middleware message receiving element is used to receive transaction message, and this transaction message comprises the control information transmission of message and message;
The middleware resolution unit is used for the transaction message that middleware message receiving element is received is resolved.
13, system according to claim 12 is characterized in that, described middleware also comprises:
The middleware memory cell is used to store the message that obtains after the middleware resolution unit is resolved;
The middleware scanning element is used for scanning the message that the middleware memory cell is stored, and selects message to be sent;
Described middleware transmission control unit selects the corresponding target communication module to send this message from the middleware communication transmitting element according to the control information transmission of the selected message of middleware scanning element.
14, according to claim 12 or 13 described systems, it is characterized in that described middleware also comprises:
The middleware verification unit is used for message that the middleware communication receiving element is received, carries out the legitimacy verification according to the control information transmission of this message, if the verification failure is returned failure result by the middleware communication transmitting element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710130103XA CN101075969B (en) | 2007-07-20 | 2007-07-20 | Method, apparatus and system for controlling data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710130103XA CN101075969B (en) | 2007-07-20 | 2007-07-20 | Method, apparatus and system for controlling data transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101075969A true CN101075969A (en) | 2007-11-21 |
CN101075969B CN101075969B (en) | 2010-09-15 |
Family
ID=38976795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710130103XA Active CN101075969B (en) | 2007-07-20 | 2007-07-20 | Method, apparatus and system for controlling data transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101075969B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104553A (en) * | 2009-12-16 | 2011-06-22 | 浙江省公众信息产业有限公司 | Instant message response system and method based on ActiveX control |
CN103209115A (en) * | 2013-04-07 | 2013-07-17 | 北京京东世纪贸易有限公司 | Message sending system |
CN103810195A (en) * | 2012-11-09 | 2014-05-21 | 中国电信股份有限公司 | Index generating method and system |
CN104468483A (en) * | 2013-09-22 | 2015-03-25 | 腾讯科技(深圳)有限公司 | Data transmission method and system, control device and node device |
CN106445771A (en) * | 2015-08-12 | 2017-02-22 | 北京国双科技有限公司 | Monitoring data processing method and device, and monitoring server |
CN107231337A (en) * | 2016-03-25 | 2017-10-03 | 阿里巴巴集团控股有限公司 | Method of calibration and device applied to financial message |
CN108475453A (en) * | 2016-07-29 | 2018-08-31 | 日立欧姆龙金融系统有限公司 | Automatic trading apparatus, automated trading system and non-transitory recording medium |
CN112968825A (en) * | 2021-01-29 | 2021-06-15 | 北京字节跳动网络技术有限公司 | Message sending method, device, equipment and storage medium |
-
2007
- 2007-07-20 CN CN200710130103XA patent/CN101075969B/en active Active
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102104553A (en) * | 2009-12-16 | 2011-06-22 | 浙江省公众信息产业有限公司 | Instant message response system and method based on ActiveX control |
CN103810195A (en) * | 2012-11-09 | 2014-05-21 | 中国电信股份有限公司 | Index generating method and system |
CN103810195B (en) * | 2012-11-09 | 2017-12-12 | 中国电信股份有限公司 | index generation method and system |
CN103209115A (en) * | 2013-04-07 | 2013-07-17 | 北京京东世纪贸易有限公司 | Message sending system |
CN104468483B (en) * | 2013-09-22 | 2019-01-22 | 腾讯科技(深圳)有限公司 | Data transmission method and system, control device and node apparatus |
CN104468483A (en) * | 2013-09-22 | 2015-03-25 | 腾讯科技(深圳)有限公司 | Data transmission method and system, control device and node device |
WO2015039620A1 (en) * | 2013-09-22 | 2015-03-26 | Tencent Technology (Shenzhen) Company Limited | Method, system, control device and node device for data transmission |
US9838313B2 (en) | 2013-09-22 | 2017-12-05 | Tencent Technology (Shenzhen) Company Limited | Method, system, control device and node device for data transmission |
CN106445771A (en) * | 2015-08-12 | 2017-02-22 | 北京国双科技有限公司 | Monitoring data processing method and device, and monitoring server |
CN107231337A (en) * | 2016-03-25 | 2017-10-03 | 阿里巴巴集团控股有限公司 | Method of calibration and device applied to financial message |
CN107231337B (en) * | 2016-03-25 | 2020-05-22 | 阿里巴巴集团控股有限公司 | Verification method and device applied to financial messages |
CN108475453A (en) * | 2016-07-29 | 2018-08-31 | 日立欧姆龙金融系统有限公司 | Automatic trading apparatus, automated trading system and non-transitory recording medium |
CN112968825A (en) * | 2021-01-29 | 2021-06-15 | 北京字节跳动网络技术有限公司 | Message sending method, device, equipment and storage medium |
CN112968825B (en) * | 2021-01-29 | 2023-05-26 | 北京字节跳动网络技术有限公司 | Message sending method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101075969B (en) | 2010-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101075969A (en) | Method, apparatus and system for controlling data transmission | |
CN1806242A (en) | Method and system for alert delivery architecture | |
CN1306413C (en) | System and method for full wireless synchronization of a data processing apparatus with a data service | |
CN102035684B (en) | A kind of failure notification method and system | |
CN101809986B (en) | User interfaces and methods to provision electronic facsimiles | |
CN1300995C (en) | Method and system for multiple-party, electronic mail receipts | |
CN1913661A (en) | Message transmitting equipment and method | |
CN1852101A (en) | Parallel downloading method and terminal | |
US20110016190A1 (en) | Method and apparatus for realizing message service | |
CN101068164A (en) | Alarm information noticing method, device and system | |
CN1292531A (en) | Information management system and method | |
CN101075987A (en) | Apparatus and method for transmitting message | |
CN1859629A (en) | Business information processing system and method | |
CN101059799A (en) | Method for introducing regular file into data base | |
CN1845616A (en) | Short message service interface and channel adapting method for the same | |
US20190370730A1 (en) | Method for obtaining logistics document information, and related device | |
CN1381969A (en) | System and method for submitting service and receiving service to home network device | |
CN1647482A (en) | Retry technique for multi-tier network communication systems | |
CN102656577A (en) | Electronic mail server and method for automatically generating address lists | |
CN1722663A (en) | A proxy server system and method for realizing proxy communication thereof | |
CN1679276A (en) | Windows management instrument synchronized repository provider | |
CN1852175A (en) | Data-logging method and system therefor | |
CN1957577A (en) | Method for handling communications over non-permanent communications links | |
CN101080015A (en) | System and method for uploading third party video and audio content in IPTV system | |
CN1467667A (en) | Delivery information management method and delivery information management program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |