CN104506423A - Communication method and communication device - Google Patents
Communication method and communication device Download PDFInfo
- Publication number
- CN104506423A CN104506423A CN201410844677.3A CN201410844677A CN104506423A CN 104506423 A CN104506423 A CN 104506423A CN 201410844677 A CN201410844677 A CN 201410844677A CN 104506423 A CN104506423 A CN 104506423A
- Authority
- CN
- China
- Prior art keywords
- communication link
- message packet
- communication
- link message
- communications protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
An embodiment of the invention discloses a communication method. The communication method includes receiving information messages of communication links and analyzing communication protocols of the information messages of the communication links; judging whether the communication protocols are available in communication protocol pools or not; extracting processing assemblies from message processing pools according to the communication protocols if the communication protocols are available in the communication protocol pools, and processing the information messages of the communication links by the aid of the processing assemblies. Data of the information messages of the communication links are readable after the information messages of the communication links are processed. The embodiment of the invention further provides a communication device. The communication method and the communication device have the advantages that servers of various application systems can be communicated with one another, and accordingly the application systems can be flexibly developed.
Description
Technical field
The present invention relates to computer realm, particularly relate to a kind of means of communication and device.
Background technology
Due to the development that financial industry is maked rapid progress, no matter the business of bank is more and more be tending towards numerous and diverse from kind or quantity, thus occurs various business application system, which together form the huge and banking system of complexity.In the prior art, each business application system server is owing to adopting different Technical Architectures, cause each system in external communications protocol, there is very large difference in the type of messages of communication modes and transmission etc., these difference define the obstacle of each system in communication process, if by the communications protocol of each system, the type of message etc. of communication modes and transmission is unified, then can time of at substantial and resource, and may not necessarily ensure that system after reunification and new business application system can carry out communication, therefore how in the communications protocol of each system, the type of message etc. of communication modes and transmission carries out communication when there are differences and becomes problem demanding prompt solution.
Summary of the invention
In order to solve in prior art the communication link message packet that therefore cannot read the other side because the communications protocol between each system is different and send, the invention provides a kind of means of communication and device, achieve the communication between each application system server, make the exploitation of application system more flexible.
Embodiments provide a kind of means of communication, described method comprises:
Receive communication link message packet, and analyze the communications protocol of described communication link message packet;
Judge whether described communications protocol is present in communications protocol pond;
If so, then according to described communications protocol extraction process assembly from Message processing pond, described communication link message packet is processed, be read to enable the data of the communication link message packet after process.
Preferably, described communications protocol pond comprises: TCP/IP, X.25, SNA/LU6.2 and/or custom protocol.
Preferably, described Message processing pond comprises: the first treatment pond, for processing described communication link message packet the link connected mode of described communication link message packet.
Preferably, described link connected mode comprises: long link and short chain road.
Preferably, described Message processing pond comprises: the second treatment pond, processes described communication link message packet for the message format according to described communication link message packet.
Preferably, described method also comprises:
Communication link message packet described in parallel processing.
The embodiment of the present invention additionally provides a kind of communication device, and described device comprises: receiving element, judging unit and processing unit;
Described receiving element is connected with described judging unit, and described judging unit is connected with described processing unit;
Described receiving element, for receiving communication link message packet, and analyzes the communications protocol of described communication link message packet;
Described judging unit, for judging whether described communications protocol is present in communications protocol pond, if so, then activates described processing unit;
Described processing unit, for processing described communication link message packet according to described communications protocol extraction process assembly from Message processing pond, is read to enable the data of the communication link message packet after process.
Preferably, described processing unit comprises: the first processing unit, for processing described communication link message packet the link connected mode of described communication link message packet.
Preferably, described processing unit comprises: the second processing unit, processes described communication link message packet for the message format according to described communication link message packet.
Relative to prior art, the invention has the advantages that:
The communication link message packet that the means of communication provided by the invention send by receiving other application system servers, and analyze the communications protocol of described communication link message packet, judge whether described communications protocol is present in the communications protocol pond of this application system server, if, then according to described communications protocol extraction process assembly from Message processing pond, described communication link message packet is processed, be read to enable the data of the communication link message packet after process.Therefore, the communication link message packet that any other party application system server sends to our the application system server having described communications protocol pond, as long as its communications protocol realizes being present in described communications protocol pond, described communication link message packet just can read by our application system server, relative to the communication link message packet that therefore cannot read the other side's transmission in prior art because the communications protocol between each system is different, present invention achieves the communication between each application system server, make the exploitation of application system more flexible.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of means of communication embodiment provided by the invention;
Fig. 2 is the structured flowchart of a kind of communication device embodiment provided by the invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment of the method:
See Fig. 1, this figure is the flow chart of a kind of means of communication embodiment provided by the invention.
The means of communication that the present embodiment provides comprise the steps:
Step S101: receive communication link message packet, and analyze the communications protocol of described communication link message packet.
Described communication link message packet refers to the transmission data units in network, contains complete data message.
Generally, the communication link message packet transmitted in network is through encapsulation, and operate in transport layer, network layer, link layer, the physical layer etc. of encapsulation are successively carried out, the operation that different layers completes is also different.The message formed through these layers is the communication link message packet that have followed certain form, and the form of the communication link message packet that different communications protocol is corresponding is also different.
Described communications protocol (Communication Protocol) refers to that both entities completes communication or serves the mandatory rule of institute and agreement, the information that the form that protocol definition data cell uses, information unit should comprise and the sequential etc. that implication, connected mode, information send and receives, thus guarantee that data are delivered to the place of specifying smoothly.
Step S102: judge whether described communications protocol is present in communications protocol pond, if so, then carry out step S103.
Described communications protocol pond refers to the set be made up of various communications protocol, can comprise existing TCP/IP in prior art, X.25, the communications protocol such as SNA/LU6.2, can comprise custom protocol, the present invention does not do concrete restriction to this yet.
Described TCP/IP has by one group multiple sub-protocols that specialty is same as to combine, and these sub-protocols comprise TCT, IP, UDP, ARP, ICMP etc.TCP/IP relies on cost low, and multi-platform communication security, the advantage such as reliable and routability develops rapidly, and becomes the standard agreement in network.
X.25, described is that a use phone or isdn device carry out the ITU-T procotol of framework wide area network as network hardware equipment.Its physical layer, data link layer and network layer all carry out framework according to OSI system model.
Described SNA/LU6.2 is (also referred to as APPC, i.e. communication between advanced procedures) be a DLL (dynamic link library) mark, it is mainly in presentation layer and session layer work, for providing Distributed Services in heterogeneous computing environment, achieving different computer, between work station and medium-and-large-sized computer server program, telling communication.
Step S103: according to described communications protocol extraction process assembly from Message processing pond, described communication link message packet is processed, be read to enable the data of the communication link message packet after process.
Described Message processing pond refers to the set be made up of various Message processing assembly.Because the form of communication link message packet corresponding to different communications protocol is different, therefore need corresponding processing components and described communication link message packet is processed, be read to enable the data of the communication link message packet after process.
In the present embodiment, described Message processing pond comprises the first treatment pond, and described first treatment pond is used for processing described communication link message packet the link connected mode of described communication link message packet.
Described link connected mode can be long link connected mode, short chain road connected mode etc., and the present invention is not specifically limited.
In the present embodiment, described Message processing pond also comprises: the second treatment pond, processes described communication link message packet for the message format according to described communication link message packet.
Described message format can be XML format, JSON form, ISO8583 form etc., and the present invention is also not specifically limited.
Be understandable that, described first treatment pond that the present embodiment provides and described second treatment pond do not form the restriction to Message processing pond of the present invention, and those skilled in the art can designed, designed according to actual needs.
In order to the communication efficiency between each business system server, in the present embodiment can to step S101 described in multiple described communication link message packet executed in parallel to described step S103.
The communication link message packet that the means of communication provided by the invention send by receiving other application system servers, and analyze the communications protocol of described communication link message packet, judge whether described communications protocol is present in the communications protocol pond of this application system server, if, then according to described communications protocol extraction process assembly from Message processing pond, described communication link message packet is processed, be read to enable the data of the communication link message packet after process.Therefore, the communication link message packet that any other party application system server sends to our the application system server having described communications protocol pond, as long as its communications protocol realizes being present in described communications protocol pond, described communication link message packet just can read by our application system server, relative to the communication link message packet that therefore cannot read the other side's transmission in prior art because the communications protocol between each system is different, present invention achieves the communication between each application system server, make the exploitation of application system more flexible.
Based on a kind of means of communication that above embodiment provides, the embodiment of the present invention additionally provides a kind of communication device, describes its operation principle in detail below in conjunction with accompanying drawing.
Device embodiment
See Fig. 2, this figure is the structured flowchart of a kind of communication device embodiment provided by the invention.
The communication device that the present embodiment provides comprises:
Receiving element 201, judging unit 202 and processing unit 203;
Described receiving element 201 is connected with described judging unit 202, and described judging unit 202 is connected with described processing unit 203.
Described receiving element 201, for receiving communication link message packet, and analyzes the communications protocol of described communication link message packet.
Described communication link message packet refers to the transmission data units in network, contains complete data message.
Described communications protocol (Communication Protocol) refers to that both entities completes communication or serves the mandatory rule of institute and agreement, the information that the form that protocol definition data cell uses, information unit should comprise and the sequential etc. that implication, connected mode, information send and receives, thus guarantee that data are delivered to the place of specifying smoothly.
Described judging unit 202, for judging whether described communications protocol is present in communications protocol pond, if so, then activates described processing unit.
Described communications protocol pond refers to the set be made up of various communications protocol, can comprise existing TCP/IP in prior art, X.25, the communications protocol such as SNA/LU6.2, can comprise custom protocol, the present invention does not do concrete restriction to this yet.
Described processing unit 203, for processing described communication link message packet according to described communications protocol extraction process assembly from Message processing pond, is read to enable the data of the communication link message packet after process.
Described Message processing pond refers to the set be made up of various Message processing assembly.Because the form of communication link message packet corresponding to different communications protocol is different, therefore need corresponding processing components and described communication link message packet is processed, be read to enable the data of the communication link message packet after process.
In the present embodiment, described processing unit 203 comprises: the first processing unit 2031, for processing described communication link message packet the link connected mode of described communication link message packet.
In this enforcement, described processing unit 203 also comprises: the second processing unit 2032, processes described communication link message packet for the message format according to described communication link message packet.
Be understandable that, described first processing unit 2031 that the present embodiment provides and described second processing unit 2032 do not form the restriction to processing unit 203 of the present invention, and those skilled in the art can designed, designed according to actual needs.
The communication link message packet that communication device provided by the invention sends by receiving other application system servers, and analyze the communications protocol of described communication link message packet, judge whether described communications protocol is present in the communications protocol pond of this application system server, if, then according to described communications protocol extraction process assembly from Message processing pond, described communication link message packet is processed, be read to enable the data of the communication link message packet after process.Therefore, the communication link message packet that any other party application system server sends to our the application system server having described communications protocol pond, as long as its communications protocol realizes being present in described communications protocol pond, described communication link message packet just can read by our application system server, relative to the communication link message packet that therefore cannot read the other side's transmission in prior art because the communications protocol between each system is different, the present embodiment achieves the communication between each application system server, makes the exploitation of application system more flexible.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, and the wherein said unit that illustrates as separating component and module can or may not be physically separates.In addition, some or all of unit wherein and module can also be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (9)
1. means of communication, is characterized in that, described method comprises:
Receive communication link message packet, and analyze the communications protocol of described communication link message packet;
Judge whether described communications protocol is present in communications protocol pond;
If so, then according to described communications protocol extraction process assembly from Message processing pond, described communication link message packet is processed, be read to enable the data of the communication link message packet after process.
2. the means of communication according to claim 1, is characterized in that, described communications protocol pond comprises: TCP/IP, X.25, SNA/LU6.2 and/or custom protocol.
3. the means of communication according to claim 1, is characterized in that, described Message processing pond comprises: the first treatment pond, for processing described communication link message packet the link connected mode of described communication link message packet.
4. the means of communication according to claim 3, is characterized in that, described link connected mode comprises: long link and short chain road.
5. the means of communication according to Claims 1-4 any one, is characterized in that, described Message processing pond comprises: the second treatment pond, process described communication link message packet for the message format according to described communication link message packet.
6. the means of communication according to claim 1, is characterized in that, described method also comprises:
Communication link message packet described in parallel processing.
7. a communication device, is characterized in that, described device comprises: receiving element, judging unit and processing unit;
Described receiving element is connected with described judging unit, and described judging unit is connected with described processing unit;
Described receiving element, for receiving communication link message packet, and analyzes the communications protocol of described communication link message packet;
Described judging unit, for judging whether described communications protocol is present in communications protocol pond, if so, then activates described processing unit;
Described processing unit, for processing described communication link message packet according to described communications protocol extraction process assembly from Message processing pond, is read to enable the data of the communication link message packet after process.
8. communication device according to claim 7, is characterized in that, described processing unit comprises: the first processing unit, for processing described communication link message packet the link connected mode of described communication link message packet.
9. the communication device according to claim 7 or 8, is characterized in that, described processing unit comprises: the second processing unit, processes described communication link message packet for the message format according to described communication link message packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410844677.3A CN104506423A (en) | 2014-12-30 | 2014-12-30 | Communication method and communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410844677.3A CN104506423A (en) | 2014-12-30 | 2014-12-30 | Communication method and communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104506423A true CN104506423A (en) | 2015-04-08 |
Family
ID=52948138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410844677.3A Pending CN104506423A (en) | 2014-12-30 | 2014-12-30 | Communication method and communication device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104506423A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954165A (en) * | 2015-04-20 | 2015-09-30 | 华为技术有限公司 | Link analysis method, device and system |
CN106936685A (en) * | 2015-12-30 | 2017-07-07 | 航天信息股份有限公司 | A kind of means of communication and system based on real-time, interactive |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277293A (en) * | 2007-06-25 | 2008-10-01 | 广东中大讯通软件科技有限公司 | Adapter for implementing interconnection and intercommunication of multiple protocols among digital household equipments as well as method thereof |
CN201146538Y (en) * | 2008-01-21 | 2008-11-05 | 上海可鲁系统软件有限公司 | Apparatus for protocol conversion |
EP2075982A2 (en) * | 2007-12-24 | 2009-07-01 | Industrial Technology Research Institute | Multi-protocols/single-medium network data transmitting method and the apparatus of the same |
CN101656737A (en) * | 2009-09-10 | 2010-02-24 | 中兴通讯股份有限公司 | Realizing multi-protocol access method and interface platform |
CN102480462A (en) * | 2010-11-23 | 2012-05-30 | 中国电信股份有限公司 | Universal protocol adapting method and device |
CN102958105A (en) * | 2012-10-23 | 2013-03-06 | 大唐软件技术股份有限公司 | Internet of things terminal access method and device |
-
2014
- 2014-12-30 CN CN201410844677.3A patent/CN104506423A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277293A (en) * | 2007-06-25 | 2008-10-01 | 广东中大讯通软件科技有限公司 | Adapter for implementing interconnection and intercommunication of multiple protocols among digital household equipments as well as method thereof |
EP2075982A2 (en) * | 2007-12-24 | 2009-07-01 | Industrial Technology Research Institute | Multi-protocols/single-medium network data transmitting method and the apparatus of the same |
CN201146538Y (en) * | 2008-01-21 | 2008-11-05 | 上海可鲁系统软件有限公司 | Apparatus for protocol conversion |
CN101656737A (en) * | 2009-09-10 | 2010-02-24 | 中兴通讯股份有限公司 | Realizing multi-protocol access method and interface platform |
CN102480462A (en) * | 2010-11-23 | 2012-05-30 | 中国电信股份有限公司 | Universal protocol adapting method and device |
CN102958105A (en) * | 2012-10-23 | 2013-03-06 | 大唐软件技术股份有限公司 | Internet of things terminal access method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954165A (en) * | 2015-04-20 | 2015-09-30 | 华为技术有限公司 | Link analysis method, device and system |
CN104954165B (en) * | 2015-04-20 | 2018-09-07 | 华为技术有限公司 | A kind of method, equipment and the system of link analysis |
CN106936685A (en) * | 2015-12-30 | 2017-07-07 | 航天信息股份有限公司 | A kind of means of communication and system based on real-time, interactive |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Li et al. | Research based on OSI model | |
CN102377814B (en) | Remote assistance service method aiming at embedded operation system | |
US10334084B2 (en) | Communication method and system based on assembled communication protocol stack | |
CN104461575A (en) | Device and method for JavaScript native interface calling conducted by crossing mobile operating system platform | |
WO2012152132A1 (en) | Method and system for realizing application platform adaptation | |
CN114124929B (en) | Cross-network data processing method and device | |
CN103995751B (en) | A kind of Overpassing Platform by Using system and method | |
CN103931162B (en) | The method and the network equipment of processing business | |
EP2928108B1 (en) | System, method and apparatus for multi-lane auto-negotiation over reduced lane media | |
CN104980898A (en) | Information pushing method, system and equipment | |
CN105392053A (en) | Method for receiving and processing network video streams in real time | |
RU2012136195A (en) | METHOD OF INTER-PROCESS INTERACTION BETWEEN DIFFERENT APPLICATIONS IN THE MOBILE TERMINAL AND THE RELATED DEVICE | |
CN106790221A (en) | A kind of safe ipsec protocol encryption method of internet protocol and the network equipment | |
CN104216761A (en) | Method for using shared device in device capable of operating two operation systems | |
CN104811922A (en) | Adjacent node registration method and the device and cross-node registration method and system | |
CN105528254A (en) | Business processing method and apparatus | |
CN107508828B (en) | A kind of very-long-range data interaction system and method | |
CN102866925A (en) | Communication method and system for middleware and user interface | |
CN107241274A (en) | A kind of integrated service wireless router of Internet of Things and system | |
CN102739619B (en) | A kind of data communications method and device | |
CN104506423A (en) | Communication method and communication device | |
CN105245588A (en) | Separation processing method of web service port | |
US20210306206A1 (en) | System for implementing a data protocol enabled application | |
CN112925297A (en) | Automatic driving algorithm verification method, device, equipment, storage medium and product | |
US9361191B2 (en) | Methods and apparatus for data recovery following a service interruption at a central processing station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150408 |
|
RJ01 | Rejection of invention patent application after publication |