CN111277364A - Information forwarding method based on information identification code - Google Patents

Information forwarding method based on information identification code Download PDF

Info

Publication number
CN111277364A
CN111277364A CN202010018650.4A CN202010018650A CN111277364A CN 111277364 A CN111277364 A CN 111277364A CN 202010018650 A CN202010018650 A CN 202010018650A CN 111277364 A CN111277364 A CN 111277364A
Authority
CN
China
Prior art keywords
information
equipment
communication
identification code
index table
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
Application number
CN202010018650.4A
Other languages
Chinese (zh)
Other versions
CN111277364B (en
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.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
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 CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN202010018650.4A priority Critical patent/CN111277364B/en
Publication of CN111277364A publication Critical patent/CN111277364A/en
Application granted granted Critical
Publication of CN111277364B publication Critical patent/CN111277364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0014Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the source coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an information forwarding method based on an information identification code, and belongs to the technical field of information transmission. Which comprises the following steps: establishing an equipment index table; establishing an index table of the information identification code; reading in contents of an equipment index table, and establishing communication connection with each equipment; reading in the content of the information identification code index table; identifying the received information, and inquiring in an information identification code index table according to the information identification code; and inquiring the equipment index table according to the serial number of the sink equipment, decoding and recoding the information, and then forwarding the information. The invention can separate the specific information of the information, such as the coding protocol, the communication type and the information forwarding, and can complete the work of receiving, analyzing, coding, forwarding and the like of the information only by configuring the equipment index table and the information identification code index table of the system.

Description

Information forwarding method based on information identification code
Technical Field
The invention relates to the technical field of information transmission, in particular to an information forwarding method based on an information identification code.
Background
In the current society, communication is an indispensable technology for people, and various communication devices, communication terminals, and communication modules applied to various systems are increasingly used in life. Some communication modules of the systems need to forward information of subsystems between the systems to each other. For example, the information of the a subsystem is forwarded to the B subsystem, and meanwhile, the information format of the a subsystem is converted into the information format of the B subsystem. In another system, the information of the B subsystem needs to be forwarded to the a subsystem, and the information format of the B subsystem needs to be converted into the information format of the a subsystem.
At present, in the prior art, a method for customizing different communication devices or terminals or corresponding hardware devices need to be replaced to solve the problem of information forwarding. However, the customization method requires a skilled technician to complete, and replacement of hardware equipment increases costs. It can be seen that either method has the disadvantages of high cost and high workload.
Disclosure of Invention
In view of the above, the present invention provides an information forwarding method based on an information identifier, which can implement various communication forwarding requirements by a virtualized information identifier without changing the current communication hardware device.
In order to achieve the purpose, the invention adopts the following technical scheme:
an information forwarding method based on an information identification code, which is used for information forwarding between communication devices in a communication system, wherein the communication devices have unique device numbers and IP addresses in the communication system, and the method comprises the following steps:
(1) establishing an equipment index table; each entry of the device index table corresponds to a communication device, and the entry content comprises: equipment number, equipment IP, equipment communication port and communication protocol type;
(2) establishing an index table of the information identification code; each entry of the index table of information identification codes corresponds to one possible communication in the system, and the contents of the entry comprise: the information identification code is an artificially set unique number, one information marking code corresponds to one or more communication information types of a certain communication device, and the information format of the information source/information sink device comprises information length limitation and information frequency limitation;
(3) reading in the equipment number, the equipment IP, the equipment communication port and the communication protocol type of each equipment in the equipment index table, and establishing communication connection with each equipment;
(4) reading in the information identification code, the information source equipment number, the information format of the information source equipment, the number of the information sink equipment and the information format of the information sink equipment of each entry in the information identification code index table;
(5) receiving information to be forwarded in a communication system, identifying the received information, identifying the number of information source equipment and the type of communication information, obtaining an information marking code according to the number of the information source equipment and the type of the communication information, inquiring an information format of the information source equipment, the number of information sink equipment and an information format of the information sink equipment which are matched with the information according to the information identification code in an information identification code index table;
(6) and inquiring the equipment index table according to the number of the sink equipment to obtain the equipment IP, the equipment communication port and the communication protocol type of the sink equipment, decoding and recoding the information according to the information format of the information source equipment and the information format of the sink equipment, and forwarding the information according to the equipment IP and the equipment communication port of the sink equipment and the specified communication protocol type.
Further, the communication protocol types include TCP, UDP, and UDPGROUP.
The invention has the following beneficial effects:
1. on the basis of not changing the existing communication hardware equipment, the invention marks all possible communication information through the unique information identification code, thereby indicating the information such as the coding protocol, the communication type and the like of the information through the information identification code.
2. When a communication system is changed, particularly when communication equipment or communication information is added, the change and adaptation can be completed in a short time by changing the virtual information identification code, professional technology is not needed, time and labor are saved, and maintenance cost and technical threshold are greatly reduced.
Drawings
FIG. 1 is a flow chart of a method in an embodiment of the invention.
Detailed Description
The invention is further described with reference to the following figures and detailed description.
An information forwarding method based on an information identification code, which is used for information forwarding between communication devices in a communication system, wherein the communication devices have unique device numbers and IP addresses in the communication system, and the method comprises the following steps:
(1) establishing an equipment index table; each entry of the device index table corresponds to a communication device, and the entry content comprises: equipment number, equipment IP, equipment communication port and communication protocol type; the communication protocol type can generally comprise common protocols such as TCP, UDP and UDPGROUP;
(2) establishing an index table of the information identification code; each entry of the index table of information identification codes corresponds to one possible communication in the system, and the contents of the entry comprise: the information identification code is an artificially set unique number, one device may correspond to a plurality of information marking codes, one information marking code corresponds to one or more communication information types of a certain communication device, the information type refers to the communication information type defined in the specification of the communication device, and the information format of the information source/information sink device comprises information length limitation and information frequency limitation;
(3) reading in the equipment number, the equipment IP, the equipment communication port and the communication protocol type of each equipment in the equipment index table, and establishing communication connection with each equipment;
(4) reading in the information identification code, the information source equipment number, the information format of the information source equipment, the number of the information sink equipment and the information format of the information sink equipment of each entry in the information identification code index table;
(5) receiving information to be forwarded in a communication system, identifying the received information, identifying the number of information source equipment and the type of communication information, obtaining an information marking code according to the number of the information source equipment and the type of the communication information, inquiring an information format of the information source equipment, the number of information sink equipment and an information format of the information sink equipment which are matched with the information according to the information identification code in an information identification code index table;
(6) and inquiring the equipment index table according to the number of the sink equipment to obtain the equipment IP, the equipment communication port and the communication protocol type of the sink equipment, decoding and recoding the information according to the information format of the information source equipment and the information format of the sink equipment, and forwarding the information according to the equipment IP and the equipment communication port of the sink equipment and the specified communication protocol type.
The method can be applied to an information forwarding module in a communication system. Specifically, as shown in fig. 1, the whole forwarding process includes the following steps:
step one, establishing a device index table of the system. The device index table is shown in table 1. The contents of the device index table include: source, source communication IP, source communication port and communication type. Wherein, the information source is the unique identification of the equipment in the system. The source communication IP is the communication IP of each device, the source communication port is the communication port of each device, and the communication type is the network communication protocol of each device.
TABLE 1 device index Table
Figure 919674DEST_PATH_IMAGE002
And step two, establishing an information identification code index table. The index table of the information id is shown in table 2. The information identification code index table comprises an information identification code, a source, an input information format, a sink and an output information format. The information identification code is an artificially set unique number, one device may correspond to a plurality of information identification codes, one information identification code corresponds to one or more communication information types of a certain communication device, and the information type refers to the communication information type defined in the specification of the communication device; the information source is the serial number of the information source equipment; the information sink is the number of the information sink equipment; the input information format is a protocol format of information sent by the information source equipment; the output information format is a protocol format required by the information receiving equipment for receiving the information; according to the input information format and the output information format, the information can be subjected to transcoding processing.
TABLE 2 index Table of information identification codes
Figure 774498DEST_PATH_IMAGE004
And step three, the information forwarding module reads the equipment index table and reads the information source, the information source communication IP, the information source communication port and the communication type of each equipment in the equipment index table. And establishing communication connection with each device according to the device index table.
And fourthly, the information forwarding module reads the information identification code index table and reads the information identification code, the information source, the input information format, the information sink and the output information format of each entry in the information identification code index table.
Step five, the information forwarding module starts to work to receive information, firstly identifies the received information, identifies the information source number and the communication type, obtains an information marking code according to the information source number and the communication type, and inquires an input information format, an information destination number and an output information format which are matched with the information in an information identification code index table according to the information identification code;
and step six, inquiring the equipment index table according to the sink number to obtain the IP, the communication port and the communication type of the sink equipment, decoding and recoding the information according to the input information format and the output information format, and forwarding the information according to the IP and the communication port of the sink equipment and the specified communication type.
The invention can separate the specific information of the information, such as the coding protocol, the communication type and the information forwarding, can complete the work of receiving, analyzing, coding, forwarding and the like of the information only by configuring the equipment index table and the information identification code index table of the system, and particularly can complete the change adaptation in a short time only by changing the virtual information identification code when the communication equipment or the communication information is added, thereby greatly reducing the maintenance cost and the technical threshold.
It should be noted that the above-mentioned embodiments are only a few specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and all conceivable modifications within the technical scope of the present invention are to be included in the scope of the present invention.

Claims (2)

1. An information forwarding method based on an information identification code, which is used for information forwarding between communication devices in a communication system, wherein the communication devices have unique device numbers and IP addresses in the communication system, and the method comprises the following steps:
(1) establishing an equipment index table; each entry of the device index table corresponds to a communication device, and the entry content comprises: equipment number, equipment IP, equipment communication port and communication protocol type;
(2) establishing an index table of the information identification code; each entry of the index table of information identification codes corresponds to one possible communication in the system, and the contents of the entry comprise: the information identification code is an artificially set unique number, one information marking code corresponds to one or more communication information types of a certain communication device, and the information format of the information source/information sink device comprises information length limitation and information frequency limitation;
(3) reading in the equipment number, the equipment IP, the equipment communication port and the communication protocol type of each equipment in the equipment index table, and establishing communication connection with each equipment;
(4) reading in the information identification code, the information source equipment number, the information format of the information source equipment, the number of the information sink equipment and the information format of the information sink equipment of each entry in the information identification code index table;
(5) receiving information to be forwarded in a communication system, identifying the received information, identifying the number of information source equipment and the type of communication information, obtaining an information marking code according to the number of the information source equipment and the type of the communication information, inquiring an information format of the information source equipment, the number of information sink equipment and an information format of the information sink equipment which are matched with the information according to the information identification code in an information identification code index table;
(6) and inquiring the equipment index table according to the number of the sink equipment to obtain the equipment IP, the equipment communication port and the communication protocol type of the sink equipment, decoding and recoding the information according to the information format of the information source equipment and the information format of the sink equipment, and forwarding the information according to the equipment IP and the equipment communication port of the sink equipment and the specified communication protocol type.
2. The information forwarding method based on the information identification code of claim 1, wherein the communication protocol types include TCP, UDP and UDPGROUP.
CN202010018650.4A 2020-01-08 2020-01-08 Information forwarding method based on information identification code Active CN111277364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010018650.4A CN111277364B (en) 2020-01-08 2020-01-08 Information forwarding method based on information identification code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010018650.4A CN111277364B (en) 2020-01-08 2020-01-08 Information forwarding method based on information identification code

Publications (2)

Publication Number Publication Date
CN111277364A true CN111277364A (en) 2020-06-12
CN111277364B CN111277364B (en) 2022-03-22

Family

ID=71000097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010018650.4A Active CN111277364B (en) 2020-01-08 2020-01-08 Information forwarding method based on information identification code

Country Status (1)

Country Link
CN (1) CN111277364B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115905400A (en) * 2023-01-09 2023-04-04 东方合智数据科技(广东)有限责任公司 Equipment data display method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394050A (en) * 2001-06-29 2003-01-29 黎明网络有限公司 Terminal application communication system and its communication method
CN1665239A (en) * 2004-03-03 2005-09-07 联想(北京)有限公司 A method for implementing information transmission between equipments of different communication protocols
US20080082678A1 (en) * 2005-01-16 2008-04-03 Zlango Ltd. Communications Network System and Methods for Using Same
US20120140767A1 (en) * 2010-04-22 2012-06-07 Brothers Louis R Situational awareness integrated network and system for tactical information and communications
CN105337981A (en) * 2015-11-18 2016-02-17 上海新储集成电路有限公司 Relay device, update method and method for performing data interaction between devices
CN107204979A (en) * 2017-05-25 2017-09-26 京信通信系统(中国)有限公司 A kind of information processing method and gateway device
US20180076825A1 (en) * 2016-09-12 2018-03-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Data transmission method and apparatus
US20180338018A1 (en) * 2017-05-18 2018-11-22 Hcl Technologies Limited Hybrid middleware device for facilitating communication amongst devices operating on a distinct communication protocols

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394050A (en) * 2001-06-29 2003-01-29 黎明网络有限公司 Terminal application communication system and its communication method
CN1665239A (en) * 2004-03-03 2005-09-07 联想(北京)有限公司 A method for implementing information transmission between equipments of different communication protocols
US20080082678A1 (en) * 2005-01-16 2008-04-03 Zlango Ltd. Communications Network System and Methods for Using Same
US20120140767A1 (en) * 2010-04-22 2012-06-07 Brothers Louis R Situational awareness integrated network and system for tactical information and communications
CN105337981A (en) * 2015-11-18 2016-02-17 上海新储集成电路有限公司 Relay device, update method and method for performing data interaction between devices
US20180076825A1 (en) * 2016-09-12 2018-03-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Data transmission method and apparatus
US20180338018A1 (en) * 2017-05-18 2018-11-22 Hcl Technologies Limited Hybrid middleware device for facilitating communication amongst devices operating on a distinct communication protocols
CN107204979A (en) * 2017-05-25 2017-09-26 京信通信系统(中国)有限公司 A kind of information processing method and gateway device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115905400A (en) * 2023-01-09 2023-04-04 东方合智数据科技(广东)有限责任公司 Equipment data display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111277364B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
US20100118875A1 (en) Interconnecting network processors with heterogeneous fabrics
CN113765857A (en) Message forwarding method, device, equipment and storage medium
CA2094097C (en) Multi-equipment routing method and master station for layered protocol communication network system
CN112202623B (en) Data processing method and device
CN112347020A (en) FAST market analysis system and method based on CGRA
CN102918511A (en) Relay device, relay system, relay method, program, and storage medium capable of reading from computer storing said program
CN113612801B (en) EPA gateway equipment and EPA cross-network communication method
CN111277364B (en) Information forwarding method based on information identification code
CN109861998B (en) Plug-in type dynamic analysis system and method based on Beidou short message protocol
US20050125527A1 (en) Method of identifying and managing an electronic device
CN105245588A (en) Separation processing method of web service port
CN100463426C (en) Sevice quality control/device and method based on virtual network marker
US20080075112A1 (en) Encapsulation of data
EP3691210A1 (en) Flexible ethernet message forwarding method and apparatus
CN112422565B (en) Message processing method and device, storage medium and electronic device
US6891849B1 (en) Fieldbus components, communication system and process for the transmission of data over a high speed transmission medium
US9590921B2 (en) Network grouping system and the network grouping method thereof
CN117544587A (en) Message generation method and device, electronic equipment and storage medium
CN112866208B (en) Table item configuration method, message processing method, device, equipment and storage medium
CN116346959A (en) A DPU scenario elastic network card efficient implementation method and device
CN105024923A (en) XMPP extensible message-based method and device for realizing message classification
CN115378454B (en) Multichannel data link communication system
CN108173699B (en) CPU high-efficiency processing method based on Marvell exchange chip when obtaining message source port
CN112328417B (en) Embedded multi-program communication method and system
CN113377363A (en) Cloud implementation method for automatically generating source codes for various electric control end private protocols

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant