CN109743296A - A kind of method and system of the LA Management Room transmission data incompatible in agreement - Google Patents

A kind of method and system of the LA Management Room transmission data incompatible in agreement Download PDF

Info

Publication number
CN109743296A
CN109743296A CN201811535133.3A CN201811535133A CN109743296A CN 109743296 A CN109743296 A CN 109743296A CN 201811535133 A CN201811535133 A CN 201811535133A CN 109743296 A CN109743296 A CN 109743296A
Authority
CN
China
Prior art keywords
data
network protocol
port
protocol port
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811535133.3A
Other languages
Chinese (zh)
Inventor
王永宝
田心
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino Corp filed Critical Aisino Corp
Priority to CN201811535133.3A priority Critical patent/CN109743296A/en
Publication of CN109743296A publication Critical patent/CN109743296A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of method and system of LA Management Room transmission data incompatible in agreement.Described method and system sends state by detecting the data of each port, determine data sender and data receiver, and conversion unit of protocol is set, it is connected with data sender and data receiver by interface respectively, network protocol rule after the interface data being connected with data sender according to data sender is parsed and is cached, the data after parsing are transmitted to by the interface that conversion unit of protocol is connected with data receiver by data/address bus again, and are sent to data receiver after being packaged data according to the network protocol rule of data receiver.Described method and system solves the problems, such as how the incompatible network equipment of agreement realizes that data are transmitted, and efficiently solve the problems, such as that data/address bus occupies conflict in protocol conversion process, the method can hardware realization, can also software realization, have great practical value.

Description

A kind of method and system of the LA Management Room transmission data incompatible in agreement
Technical field
The present invention relates to Internet data transmission fields, and more particularly, to a kind of network incompatible in agreement The method and system of equipment room transmission data.
Background technique
In the prior art, belonging between each networking component of consolidated network agreement can be with normal communication, for example, traditional Internet of Things can select suitable Internet of Things fidonetFido, including Zigbee protocol, LoRa agreement, NB-IOT agreement etc., to realize In specified region, normal communication between each component of Internet of Things.But being different the network equipment in network protocol environment will be into Row communication, due to the difference of network protocol, is then often difficult to realize, for example, traditional Internet of Things is connected to Internet Network, so connect cloud platform, big data platform, will because of between Internet of Things fidonetFido and Internet protocol cannot mutually it is simultaneous Hold, so that cannot achieve Internet of Things protocol environment and Internet network protocol environment intercommunication, and then is unable to reach " ten thousand The purpose of object interconnection ".
Therefore, it is necessary to a kind of technologies, can mutually transmit data for the LA Management Room with different network protocols and mention For a kind of simple and easy method.
Summary of the invention
The skill of data cannot be mutually transmitted in order to solve the LA Management Room that network protocol environment is incompatible in the prior art Art problem, the method for incompatible in agreement LA Management Room transmission data that the present invention provides a kind of, which comprises
The data of step 1, detection first network protocol port and the second network protocol port send state, determine that data are sent out The side of sending and data receiver, wherein the first network protocol port is the data using the network equipment of first network agreement Transmission port, second network protocol port are the data transmission ports using the network equipment of the second network protocol;
Step 2, when only one end is data sender, determine the data/address bus in conversion unit of protocol uses the time For first time piece;
Step 3 when being less than first time piece using the time, carries out step 4, when the data are total in the data/address bus When being greater than or equal to first time piece using the time of line, go to step 1;
The data of data sender are transmitted to the interface that conversion unit of protocol is connected with data sender by step 4;
Step 5, the interface being connected with data sender according to data sender network protocol rule to the data into Row data are parsed and are cached;
Data after parsing are transmitted to what conversion unit of protocol was connected with data receiver by data/address bus by step 6 Interface;
Step 7, the interface being connected with data receiver beat data according to the network protocol rule of data receiver Packet, and the data of packing are transmitted to data receiver, until all data packet end of transmissions.
Further, when first network protocol port is data sender, first network protocol port is by data with number According to packet A | | the form of Datai is transmitted to its interface being connected with conversion unit of protocol, when the second network protocol port is data hair When the side of sending, the second network protocol port is by data by data packet B | | it is transmitted to it in the form of Textj and is connected with conversion unit of protocol Interface, wherein 1≤i≤M, 1≤j≤N, M, N be natural number.
Further, the interface being connected with data sender is according to the network protocol rule of data sender to described Data carry out data parsing and cache
It is right according to the network protocol rule of first network protocol port when data sender is first network protocol port The data packet A that first network protocol port is sent | | Datai is parsed, and data Datai is obtained, when M data packet of data All after parsing, the data after all parsings are subjected to grade cascade, form data Data=Data1 | | Data2 ... | | Datai ... | | DataM, wherein 1≤i≤M, M are natural number;Or
When data sender is the second network protocol port, the network protocol rule according to the second network protocol port is right The data packet B that second network protocol port is sent | | Textj is parsed, and data Textj is obtained, when N number of data packet of data All after parsing, the data after all parsings are subjected to grade cascade, form data Data=Text1 | | Text2 ... | | Textj ... | | TextN, wherein 1≤j≤N, N are natural number.
Further, the interface being connected with data receiver is according to the network protocol rule of data receiver by data It is packaged, and the data of packing is transmitted to data receiver, until all data packet end of transmissions include:
When data receiver is first network protocol port, by the data of data bus transmission according to first network agreement The network protocol rule of port is split, and data Data=Data1 is formed | | Data2 ... | | Datai ... | | DataM, and press Package according to the network protocol rule of first network protocol port to data Datai, generate data packet A | | after Datai, by this Data packet A | | Datai is transmitted to first network protocol port, until M data packet whole end of transmission, wherein 1≤i≤M, M For natural number;Or
When data receiver is the second network protocol port, by the data of data bus transmission according to the second network protocol The network protocol rule of port is split, and data Data=Text1 is formed | | Text2 ... | | Textj ... | | TextN, and press Package according to the network protocol rule of the second network protocol port to data Textj, generate data packet B | | after Textj, by this Data packet B | | Textj is transmitted to the second network protocol port, until N number of data packet whole end of transmission, wherein 1≤j≤N, N For natural number.
Further, when first network protocol port and the second network protocol port are data sender, by agreement The use time of data/address bus in converting unit is divided into first time piece and the second timeslice, wherein in first time piece Interior, first network protocol port is data sender, data bus transmission first network protocol port data, in the second timeslice Interior, the second network protocol port is data sender, data bus transmission the second network protocol port data.
According to another aspect of the present invention, the present invention provides a kind of incompatible in agreement LA Management Room transmission data System, the system comprises:
State detection unit, the data for being used to detect first network protocol port and the second network protocol port send shape State determines data sender and data receiver, wherein the first network protocol port is the net using first network agreement The data transmission port of network equipment, second network protocol port are passed using the data of the network equipment of the second network protocol Defeated port;
Time calculating unit is used to transmit data between first network protocol port and the second network protocol port When, determine the data/address bus in conversion unit of protocol uses the time;
Transmission control unit is used to control the data/address bus when the data/address bus that time calculating unit determines uses The data of interior transmission data sender;
Conversion unit of protocol, is used to the data sent with the network protocol rule of data sender being converted to data and connects The identifiable data of network protocol rule of debit, and the data are transmitted to data receiver, in which:
First interface is connected with first network protocol port, when first network protocol port is data sender, For receive first network protocol port transmission data, and according to first network protocol port network protocol rule to institute Data are stated to carry out data parsing and cache;When first network protocol port is data receiver, bus for receiving data The data of transmission, and is transmitted to after being packaged according to the network protocol rule of first network protocol port to the data One network protocol port;
Data/address bus, the data after being used to parse the interface being connected with data sender are transmitted to and data receiver Connected interface;
Second interface is connected with the second network protocol port, when the second network protocol port is data sender, For receiving the data of the second network protocol port transmission, and according to the second network protocol port network protocol rule to institute Data are stated to carry out data parsing and cache;When the second network protocol port is data receiver, bus for receiving data The data of transmission, and is transmitted to after being packaged according to the network protocol rule of the second network protocol port to the data Two network protocol ports.
Further, the first network protocol port is by data by data packet A | | it is transmitted to first in the form of Datai and connects Mouthful, second network protocol port is by data by data packet B | | second interface is transmitted in the form of Textj, wherein 1≤i≤ M, 1≤j≤N, M, N are natural number.
Further, the first interface includes:
First protocol analysis unit is used to assist first network according to the network protocol rule of first network protocol port Discuss the data packet A that port is sent | | Datai is parsed, and data Datai is obtained, when M data packet of data has all parsed Data after all parsings are carried out grade cascade, form data Data=Data1 by Bi Hou | | Data2 ... | | Datai ... | | DataM, wherein 1≤i≤M, M are natural number;
First protocol groups packet unit, is used for the network by the data of data bus transmission according to first network protocol port Protocol rule is split, and data Data=Data1 is formed | | Data2 ... | | Datai ... | | DataM, and according to first network The network protocol rule of protocol port packages to data Datai, generates data packet A | | after Datai, by this data packet A | | Datai is transmitted to first network protocol port, until M data packet whole end of transmission, wherein 1≤i≤M, M are natural number.
Further, the second interface includes:
Second protocol resolution unit is used to assist the second network according to the network protocol rule of the second network protocol port Discuss the data packet B that port is sent | | Textj is parsed, and data Textj is obtained, when N number of data packet of data has all parsed Data after all parsings are carried out grade cascade, form data Data=Text1 by Bi Hou | | Text2 ... | | Textj ... | | TextN, wherein 1≤j≤N, N are natural number;
Second protocol group packet unit is used for the network by the data of data bus transmission according to the second network protocol port Protocol rule is split, and data Data=Text1 is formed | | Text2 ... | | Textj ... | | TextN, and according to the second network The network protocol rule of protocol port packages to data Textj, generates data packet B | | after Textj, by this data packet B | | Textj is transmitted to the second network protocol port, until N number of data packet whole end of transmission, wherein 1≤j≤N, N are natural number.
Further, when first network protocol port and the second network protocol port are data sender, when described Between computing unit data/address bus is divided into first time piece and the second timeslice using the time, wherein in first time piece Interior, first network protocol port is data sender, data bus transmission first network protocol port data, in the second timeslice Interior, the second network protocol port is data sender, data bus transmission the second network protocol port data.
The method and system for the LA Management Room transmission data incompatible in agreement that technical solution of the present invention provides passes through The data for detecting each port send state, determine data sender and data receiver, and conversion unit of protocol is arranged, point It is not connected with data sender and data receiver by interface, according to number after the interface data being connected with data sender It parses and caches according to the network protocol rule of sender, then the data after parsing are transmitted to by agreement by data/address bus and are turned The interface that unit is connected with data receiver is changed, and is sent to after being packaged data according to the network protocol rule of data receiver Data receiver.Described method and system is it is further proposed that when the agreement incompatible network equipment needs simultaneous transmission data When, data transmission conflict is solved by setting different time sections.The LA Management Room incompatible in agreement of the present invention The method and system of data is transmitted by the way that conversion unit of protocol is arranged in two different network protocol environment, according to incompatible Protocol rule carries out corresponding protocol analysis and group packet conversion to data packet respectively, efficiently solves the incompatible network of agreement and sets Standby the problem of how realizing data transmission, and efficiently solve data/address bus in protocol conversion process and occupy asking for conflict Topic, the method is easy to implement, can hardware realization, can also software realization, have great practical value.
Detailed description of the invention
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by:
Fig. 1 is the method for transmitting data according to the LA Management Room incompatible in agreement of the preferred embodiment for the present invention Flow chart;
Fig. 2 is data packet when transmitting data according to the incompatible LA Management Room of the agreement of the preferred embodiment for the present invention Transition diagram;
Fig. 3 is the side according to the LA Management Room simultaneous transmission data incompatible in agreement of the preferred embodiment for the present invention The flow chart of method;
Fig. 4 is the system for transmitting data according to the LA Management Room incompatible in agreement of the preferred embodiment for the present invention Structural schematic diagram.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to the drawings, however, the present invention can use many different shapes Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be at large and fully disclose The present invention, and the scope of the present invention is sufficiently conveyed to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached Icon note.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has person of ordinary skill in the field It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and its The context of related fields has consistent meaning, and is not construed as Utopian or too formal meaning.
Fig. 1 is the method for transmitting data according to the LA Management Room incompatible in agreement of the preferred embodiment for the present invention Flow chart.As shown in Figure 1, described in this preferred embodiment the method 100 of incompatible LA Management Room transmission data from Step 101 starts.
In step 101, the data for detecting first network protocol port and the second network protocol port send state, determine number According to sender and data receiver, wherein the first network protocol port is the network equipment using first network agreement Data transmission port, second network protocol port are the data transmission ports using the network equipment of the second network protocol.
In the preferred embodiment, the first network protocol port is data sender, second network protocol Port is data receiver.
The use of the data/address bus in conversion unit of protocol is determined when only one end is data sender in step 102 Time is first time piece.
In the preferred embodiment, be data sender due to there was only first network protocol port, thus only it needs to be determined that The data of data bus transmission first network protocol port in conversion unit of protocol to the second network protocol port time.
In step 103, when being less than first time piece using the time, step 104 is carried out, when described in the data/address bus When being greater than or equal to first time piece using the time of data/address bus, go to step 101.
In step 104, the data of data sender are transmitted to the interface that conversion unit of protocol is connected with data sender. In the preferred embodiment, it is connecing that the data of first network protocol port are transmitted to it is connected with conversion unit of protocol Mouthful.
In step 105, the interface being connected with data sender is according to the network protocol rule of data sender to the number According to progress data parsing and cache.It in the preferred embodiment, is that conversion unit of protocol is connected with first network protocol port Interface data data parsing and cache according to first network protocol rule.
In step 106, the data after parsing are transmitted to by conversion unit of protocol and data receiver's phase by data/address bus Interface even.In the preferred embodiment, the interface being connected with first network protocol port when conversion unit of protocol is according to After one network protocol rule carries out data parsing and cache to data, after being parsed by the data/address bus of conversion unit of protocol Data be transmitted to the interface that conversion unit of protocol is connected with the second network protocol port.
In step 107, the interface being connected with data receiver according to data receiver network protocol rule by data into Row is packaged, and the data of packing are transmitted to data receiver, until all data packet end of transmissions.In this preferred implementation side It is that the interface that the second network protocol port is connected with conversion unit of protocol passes through the second network protocol rule to data/address bus in formula After the data of transmission are packaged, it is transmitted to the second network protocol port.
Preferably, when first network protocol port is data sender, first network protocol port is by data Data= Data1 | | Data2 ... | | Datai ... | | DataM is by data packet A | | itself and conversion unit of protocol phase are transmitted in the form of Datai Interface even, when the second network protocol port is data sender, the second network protocol port is by data Data=Text1 | | Text2 ... | | Textj ... | | TextN is by data packet B | | be transmitted to that it is connected with conversion unit of protocol in the form of Textj connects Mouthful, wherein 1≤i≤M, 1≤j≤N, M, N are natural number.
Preferably, the interface being connected with data sender is according to the network protocol rule of data sender to the number Include: according to progress data parsing and caching
It is right according to the network protocol rule of first network protocol port when data sender is first network protocol port The data packet A that first network protocol port is sent | | Datai is parsed, and data Datai is obtained, when M data packet of data All after parsing, the data after all parsings are subjected to grade cascade, form data Data=Data1 | | Data2 ... | | Datai ... | | DataM, wherein 1≤i≤M, M are natural number;Or
When data sender is the second network protocol port, the network protocol rule according to the second network protocol port is right The data packet B that second network protocol port is sent | | Textj is parsed, and data Textj is obtained, when N number of data packet of data All after parsing, the data after all parsings are subjected to grade cascade, form data Data=Text1 | | Text2 ... | | Textj ... | | TextN, wherein 1≤j≤N, N are natural number.
Preferably, the interface being connected with data receiver according to data receiver network protocol rule by data into Row is packaged, and the data of packing are transmitted to data receiver, until all data packet end of transmissions include:
When data receiver is first network protocol port, by the data of data bus transmission according to first network agreement The network protocol rule of port is split, and data Data=Data1 is formed | | Data2 ... | | Datai ... | | DataM, and press Package according to the network protocol rule of first network protocol port to data Datai, generate data packet A | | after Datai, by this Data packet A | | Datai is transmitted to first network protocol port, until M data packet whole end of transmission, wherein 1≤i≤M, M For natural number;Or
When data receiver is the second network protocol port, by the data of data bus transmission according to the second network protocol The network protocol rule of port is split, and data Data=Text1 is formed | | Text2 ... | | Textj ... | | TextN, and press Package according to the network protocol rule of the second network protocol port to data Textj, generate data packet B | | after Textj, by this Data packet B | | Textj is transmitted to the second network protocol port, until N number of data packet whole end of transmission, wherein 1≤j≤N, N For natural number.
Fig. 2 is data packet when transmitting data according to the incompatible LA Management Room of the agreement of the preferred embodiment for the present invention Transition diagram.As shown in Fig. 2, in the preferred embodiment, the data Data=Data1 that first network protocol port is sent | | Data2 ... | | Datai ... | | DataM is by data packet A | | the interface being connected with conversion unit of protocol is transmitted in the form of Datai Afterwards, according to the network protocol rule of first network protocol port to data packet A | | Datai is parsed, and obtains data Datai, After M data packet of data all parses, the data after all parsings are subjected to grade cascade, form data Data= Data1||Data2…||Datai…||DataM.When data/address bus is by data Data=Data1 | | Data2 ... | | Datai ... | | after DataM is transmitted to the interface that conversion unit of protocol is connected with the second network protocol port, the interface is assisted according to the second network The network protocol rule of view port is split, and data Data=Text1 is formed | | Text2 ... | | Textj ... | | TextN, and Package according to the network protocol rule of the second network protocol port to data Textj, generate data packet B | | it, will after Textj This data packet B | | Textj is transmitted to the second network protocol port, until N number of data packet whole end of transmission.
Preferably, when first network protocol port and the second network protocol port are data sender, agreement is turned The data/address bus changed in unit is divided into first time piece and the second timeslice using the time, wherein in first time piece, First network protocol port be data sender, data bus transmission first network protocol port data, in the second timeslice, Second network protocol port is data sender, data bus transmission the second network protocol port data.
Fig. 3 is according to the incompatible LA Management Room simultaneous transmission data of two agreements of the preferred embodiment for the present invention The flow chart of method.As shown in figure 3, in the preferred embodiment, when first network protocol port and the second network protocol end When mouth is data sender, the data/address bus in conversion unit of protocol is divided into first time piece and second using the time Timeslice, wherein in first time piece, first network protocol port is data sender, data bus transmission first network Protocol port data, in the second timeslice, the second network protocol port is data sender, the second network of data bus transmission Protocol port data.After the data of two ports are all sent, then restart the data transmission shape of two ports of detection State, and the use time that state recalculates data/address bus is sent according to the data of two ports.
Fig. 4 is the system for transmitting data according to the LA Management Room incompatible in agreement of the preferred embodiment for the present invention Structural schematic diagram.As shown in figure 4, the agreement it is incompatible LA Management Room transmission data system 400 include:
State detection unit 401 is used to detect the data hair of first network protocol port and the second network protocol port State is sent, determines data sender and data receiver, wherein the first network protocol port is using first network agreement The network equipment data transmission port, second network protocol port be using the second network protocol the network equipment number According to transmission port.
Time calculating unit 402 is used to transmit number between first network protocol port and the second network protocol port According to when, determine the data/address bus in conversion unit of protocol use the time.
Transmission control unit 403, be used to control the data/address bus makes in the data/address bus that time calculating unit determines With the data for transmitting data sender in the time.
Conversion unit of protocol 404 is used to the data sent with the network protocol rule of data sender being converted to number According to the identifiable data of network protocol rule of recipient, and the data are transmitted to data receiver, in which:
First interface 441 is connected with first network protocol port, when first network protocol port is data sender When, it is used to receive the data of first network protocol port transmission, and advise according to the network protocol of first network protocol port Data parsing then is carried out to the data and is cached;When first network protocol port is data receiver, it is used to receive number It is passed according to the data of bus transfer, and after being packaged according to the network protocol rule of first network protocol port to the data Transport to first network protocol port;
Data/address bus 442, the data after being used to parse the interface being connected with data sender are transmitted to be connect with data The interface that debit is connected;
Second interface 443 is connected with the second network protocol port, when the second network protocol port is data sender When, it is used to receive the data of the second network protocol port transmission, and advise according to the network protocol of the second network protocol port Data parsing then is carried out to the data and is cached;When the second network protocol port is data receiver, it is used to receive number It is passed according to the data of bus transfer, and after being packaged according to the network protocol rule of the second network protocol port to the data Transport to the second network protocol port.
Preferably, the first network protocol port is by data by data packet A | | it is transmitted to first in the form of Datai and connects Mouthful, second network protocol port is by data by data packet B | | second interface is transmitted in the form of Textj, wherein 1≤i≤ M, 1≤j≤N, M, N are natural number.
Preferably, the first interface 441 includes:
First protocol analysis unit 4411 is used for the network protocol rule according to first network protocol port to the first net The data packet A that network protocol port is sent | | Datai is parsed, and data Datai is obtained, when M data packet all solutions of data After analysis, the data after all parsings are subjected to grade cascade, form data Data=Data1 | | Data2 ... | | Datai ... | | DataM, wherein 1≤i≤M, M are natural number;
First protocol groups packet unit 4412, is used for the data of data bus transmission according to first network protocol port Network protocol rule is split, and data Data=Data1 is formed | | Data2 ... | | Datai ... | | DataM, and according to first The network protocol rule of network protocol port packages to data Datai, generates data packet A | | after Datai, by this data packet A | | Datai is transmitted to first network protocol port, until M data packet whole end of transmission, wherein 1≤i≤M, M are nature Number.
Preferably, the second interface 443 includes:
Second protocol resolution unit 4431 is used for the network protocol rule according to the second network protocol port to the second net The data packet B that network protocol port is sent | | Textj is parsed, and data Textj is obtained, when N number of data packet all solutions of data After analysis, the data after all parsings are subjected to grade cascade, form data Data=Text1 | | Text2 ... | | Textj ... | | TextN, wherein 1≤j≤N, N are natural number;
Second protocol group packet unit 4432, is used for the data of data bus transmission according to the second network protocol port Network protocol rule is split, and data Data=Text1 is formed | | Text2 ... | | Textj ... | | TextN, and according to second The network protocol rule of network protocol port packages to data Textj, generates data packet B | | after Textj, by this data packet B | | Textj is transmitted to the second network protocol port, until N number of data packet whole end of transmission, wherein 1≤j≤N, N are nature Number.
Preferably, when first network protocol port and the second network protocol port are data sender, the time Computing unit is divided into first time piece and the second timeslice using the time for data/address bus, wherein in first time piece, First network protocol port be data sender, data bus transmission first network protocol port data, in the second timeslice, Second network protocol port is data sender, data bus transmission the second network protocol port data.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, as Defined by subsidiary Patent right requirement, in addition to the present invention other embodiments disclosed above equally fall in it is of the invention In range.
Normally, all terms used in the claims are all solved according to them in the common meaning of technical field It releases, unless in addition clearly being defined wherein.All references " one/described/be somebody's turn to do [device, component etc.] " are all opened ground At least one example being construed in described device, component etc., unless otherwise expressly specified.Any method disclosed herein Step need not all be run with disclosed accurate sequence, unless explicitly stated otherwise.

Claims (10)

1. a kind of method of the LA Management Room transmission data incompatible in agreement, which is characterized in that the described method includes:
The data of step 1, detection first network protocol port and the second network protocol port send state, determine data sender And data receiver, wherein the first network protocol port is the data transmission using the network equipment of first network agreement Port, second network protocol port are the data transmission ports using the network equipment of the second network protocol;
Step 2, when only one end is data sender, determine the data/address bus in conversion unit of protocol is the using the time One timeslice;
Step 3 when being less than first time piece using the time, carries out step 4, when the data/address bus in the data/address bus When being greater than or equal to first time piece using the time, step 1 is gone to;
The data of data sender are transmitted to the interface that conversion unit of protocol is connected with data sender by step 4;
Step 5, the interface being connected with data sender count the data according to the network protocol rule of data sender According to parsing and cache;
Data after parsing are transmitted to the interface that conversion unit of protocol is connected with data receiver by data/address bus by step 6;
Data are packaged by step 7, the interface being connected with data receiver according to the network protocol rule of data receiver, and The data of packing are transmitted to data receiver, until all data packet end of transmissions.
2. the method according to claim 1, wherein when first network protocol port is data sender, One network protocol port is by data by data packet A | | its interface being connected with conversion unit of protocol is transmitted in the form of Datai, when When second network protocol port is data sender, the second network protocol port is by data by data packet B | | it is passed in the form of Textj Transport to its interface being connected with conversion unit of protocol, wherein 1≤i≤M, 1≤j≤N, M, N are natural number.
3. according to the method described in claim 2, it is characterized in that, the interface being connected with data sender is sent out according to data The network protocol rule for the side of sending carries out data parsing and caches to the data
When data sender is first network protocol port, according to the network protocol rule of first network protocol port to first The data packet A that network protocol port is sent | | Datai is parsed, and data Datai is obtained, when M data packet of data is whole After parsings, the data after all parsings are subjected to grade cascade, form data Data=Data1 | | Data2 ... | | Datai ... | | DataM, wherein 1≤i≤M, M are natural number;Or
When data sender is the second network protocol port, according to the network protocol rule of the second network protocol port to second The data packet B that network protocol port is sent | | Textj is parsed, and data Textj is obtained, when N number of data packet of data is whole After parsings, the data after all parsings are subjected to grade cascade, form data Data=Text1 | | Text2 ... | | Textj ... | | TextN, wherein 1≤j≤N, N are natural number.
4. according to the method described in claim 2, it is characterized in that, the interface being connected with data receiver connects according to data Data are packaged by the network protocol rule of debit, and the data of packing are transmitted to data receiver, until all numbers Include: according to packet end of transmission
When data receiver is first network protocol port, by the data of data bus transmission according to first network protocol port Network protocol rule split, form data Data=Data1 | | Data2 ... | | Datai ... | | DataM, and according to the The network protocol rule of one network protocol port packages to data Datai, generates data packet A | | after Datai, by this data Wrap A | | Datai is transmitted to first network protocol port, until M data packet whole end of transmission, wherein 1≤i≤M, M are certainly So number;Or
When data receiver is the second network protocol port, by the data of data bus transmission according to the second network protocol port Network protocol rule split, form data Data=Text1 | | Text2 ... | | Textj ... | | TextN, and according to the The network protocol rule of two network protocol ports packages to data Textj, generates data packet B | | after Textj, by this data Wrap B | | Textj is transmitted to the second network protocol port, until N number of data packet whole end of transmission, wherein 1≤j≤N, N are certainly So number.
5. the method according to claim 1, wherein working as first network protocol port and the second network protocol port When being data sender, by the data/address bus in conversion unit of protocol when being divided into first time piece and second using the time Between piece, wherein in first time piece, first network protocol port be data sender, data bus transmission first network association Port data is discussed, in the second timeslice, the second network protocol port is data sender, the second network of data bus transmission association Discuss port data.
6. a kind of system of the LA Management Room transmission data incompatible in agreement, which is characterized in that the system comprises:
State detection unit, the data for being used to detect first network protocol port and the second network protocol port send state, Determine data sender and data receiver, wherein the first network protocol port is the network using first network agreement The data transmission port of equipment, second network protocol port are the data transmission using the network equipment of the second network protocol Port;
Time calculating unit, when being used to transmit data between first network protocol port and the second network protocol port, really That determines the data/address bus in conversion unit of protocol uses the time;
Transmission control unit is used to control the data/address bus and uses in the time in the data/address bus that time calculating unit determines Transmit the data of data sender;
Conversion unit of protocol is used to the data sent with the network protocol rule of data sender being converted to data receiver The identifiable data of network protocol rule, and the data are transmitted to data receiver, in which:
First interface is connected with first network protocol port, when first network protocol port is data sender, is used for Receive first network protocol port transmission data, and according to first network protocol port network protocol rule to the number According to progress data parsing and cache;When first network protocol port is data receiver, bus transfer for receiving data Data, and be transmitted to the first net after being packaged according to the network protocol rule of first network protocol port to the data Network protocol port;
Data/address bus, the data after being used to parse the interface being connected with data sender are transmitted to be connected with data receiver Interface;
Second interface is connected with the second network protocol port, when the second network protocol port is data sender, is used for Receive the data of the second network protocol port transmission, and according to the second network protocol port network protocol rule to the number According to progress data parsing and cache;When the second network protocol port is data receiver, bus transfer for receiving data Data, and be transmitted to the second net after being packaged according to the network protocol rule of the second network protocol port to the data Network protocol port.
7. system according to claim 6, which is characterized in that the first network protocol port is by data with data packet A | | the form of Datai is transmitted to first interface, and second network protocol port is by data by data packet B | | it is passed in the form of Textj Transport to second interface, wherein 1≤i≤M, 1≤j≤N, M, N are natural number.
8. system according to claim 7, which is characterized in that the first interface includes:
First protocol analysis unit is used for the network protocol rule according to first network protocol port to first network agreement end The data packet A that mouth is sent | | Datai is parsed, and data Datai is obtained, after M data packet of data all parses, Data after all parsings are subjected to grade cascade, form data Data=Data1 | | Data2 ... | | Datai ... | | DataM, In, 1≤i≤M, M are natural number;
First protocol groups packet unit, is used for the network protocol by the data of data bus transmission according to first network protocol port Rule is split, and data Data=Data1 is formed | | Data2 ... | | Datai ... | | DataM, and according to first network agreement The network protocol rule of port packages to data Datai, generates data packet A | | after Datai, by this data packet A | | Datai It is transmitted to first network protocol port, until M data packet whole end of transmission, wherein 1≤i≤M, M are natural number.
9. system according to claim 7, which is characterized in that the second interface includes:
Second protocol resolution unit is used for the network protocol rule according to the second network protocol port to the second network protocol end The data packet B that mouth is sent | | Textj is parsed, and data Textj is obtained, after N number of data packet of data all parses, Data after all parsings are subjected to grade cascade, form data Data=Text1 | | Text2 ... | | Textj ... | | TextN, In, 1≤j≤N, N are natural number;
Second protocol group packet unit is used for the network protocol by the data of data bus transmission according to the second network protocol port Rule is split, and data Data=Text1 is formed | | Text2 ... | | Textj ... | | TextN, and according to the second network protocol The network protocol rule of port packages to data Textj, generates data packet B | | after Textj, by this data packet B | | Textj It is transmitted to the second network protocol port, until N number of data packet whole end of transmission, wherein 1≤j≤N, N are natural number.
10. system according to claim 6, which is characterized in that when first network protocol port and the second network protocol end When mouth is data sender, the time calculating unit is divided into first time piece and second using the time for data/address bus Timeslice, wherein in first time piece, first network protocol port is data sender, data bus transmission first network Protocol port data, in the second timeslice, the second network protocol port is data sender, the second network of data bus transmission Protocol port data.
CN201811535133.3A 2018-12-14 2018-12-14 A kind of method and system of the LA Management Room transmission data incompatible in agreement Pending CN109743296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811535133.3A CN109743296A (en) 2018-12-14 2018-12-14 A kind of method and system of the LA Management Room transmission data incompatible in agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811535133.3A CN109743296A (en) 2018-12-14 2018-12-14 A kind of method and system of the LA Management Room transmission data incompatible in agreement

Publications (1)

Publication Number Publication Date
CN109743296A true CN109743296A (en) 2019-05-10

Family

ID=66360289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811535133.3A Pending CN109743296A (en) 2018-12-14 2018-12-14 A kind of method and system of the LA Management Room transmission data incompatible in agreement

Country Status (1)

Country Link
CN (1) CN109743296A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833025A (en) * 2012-04-12 2012-12-19 北京国智恒电力管理科技集团有限公司 Method, module and converter for precise delay calculation of E1/Ethernet protocol conversion
CN104135476A (en) * 2014-07-18 2014-11-05 清华大学 Method, device and system of converting communication protocol
US20140371878A1 (en) * 2013-06-13 2014-12-18 Samsung Electronics Co., Ltd. Communication apparatus and method of controlling the same
CN108521378A (en) * 2018-04-23 2018-09-11 天津芯海创科技有限公司 Retransmission method, device and the network switching equipment of heterogeneous protocol message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833025A (en) * 2012-04-12 2012-12-19 北京国智恒电力管理科技集团有限公司 Method, module and converter for precise delay calculation of E1/Ethernet protocol conversion
US20140371878A1 (en) * 2013-06-13 2014-12-18 Samsung Electronics Co., Ltd. Communication apparatus and method of controlling the same
CN104135476A (en) * 2014-07-18 2014-11-05 清华大学 Method, device and system of converting communication protocol
CN108521378A (en) * 2018-04-23 2018-09-11 天津芯海创科技有限公司 Retransmission method, device and the network switching equipment of heterogeneous protocol message

Similar Documents

Publication Publication Date Title
CN109451097B (en) IPv4/IPv6 address conversion system
CN106936709B (en) Remote service access path control method and relevant device
CN102098301B (en) The adaptive data transmission method of multilink and system
CN102035692B (en) Method and device for detecting quality of link
CN101217429B (en) A determination method of the initiation relationship within TCP messages based on TCP timestamp options
CN102857354B (en) Alarm information reporting method, apparatus and system
CN102317801A (en) Efficient and loss tolerant method and mechanism for measuring available bandwidth
CN107835040A (en) A kind of method, equipment and the storage medium of the data communication based on bluetooth
CN105634865A (en) Method and system for obtaining bandwidth
CN106302230B (en) A kind of data transmission method and device
CN103618667A (en) Information transfer method, access gateway and system
CN104394234A (en) Multi-window UDP (user datagram protocol) wireless transmission method applied to environment monitoring
CN102597793A (en) Techniques for improved clock offset measuring
CN106658644A (en) Communication network routing method and device
CN108965283A (en) A kind of means of communication, device, application server and communication system
CN104348759A (en) GRE packet encapsulation method and decapsulation method, and corresponding devices
CN107508828A (en) A kind of very-long-range data interaction system and method
CN106789437A (en) The processing method of message, retransmission method, relevant apparatus and packet loss rate measurement method
CN109743296A (en) A kind of method and system of the LA Management Room transmission data incompatible in agreement
CN106790717A (en) A kind of webpage means of communication and device
CN105515947B (en) A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP
CN109962987A (en) A kind of method for building up of communication connection, apparatus and system
CN102025571B (en) The method and apparatus that multipoint link packet loss is measured
CN109729016A (en) A kind of file transmitting method, equipment and computer readable storage medium
CN101447926A (en) Point to point data transmission system and method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510

RJ01 Rejection of invention patent application after publication