CN114125075A - System and method for dynamically switching multiple communication protocols in private network - Google Patents
System and method for dynamically switching multiple communication protocols in private network Download PDFInfo
- Publication number
- CN114125075A CN114125075A CN202111425567.XA CN202111425567A CN114125075A CN 114125075 A CN114125075 A CN 114125075A CN 202111425567 A CN202111425567 A CN 202111425567A CN 114125075 A CN114125075 A CN 114125075A
- Authority
- CN
- China
- Prior art keywords
- network
- protocol type
- data
- control message
- current
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
Abstract
The invention relates to a multi-communication protocol dynamic switching system and a method in a special network, wherein the system comprises a preposed device, a controller and a network device; the front-end equipment comprises a decoding module, an encoding module and a storage module. The invention can realize the dynamic switching of the network protocol used by the private network, and when the private network needs strict security, the private protocol is switched; when the private network needs to temporarily access the equipment which does not support the private protocol, the private network is switched to the standard protocol, so that the configuration flexibility of the private network is improved; meanwhile, the method for switching the private network protocol is realized based on the control message packaged by the credible private protocol used by the private network, thereby ensuring the safety of the protocol switching operation.
Description
Technical Field
The invention belongs to the field of communication, relates to a method for interconnecting a private protocol network and a standard protocol network, and particularly relates to a system and a method for dynamically switching multiple communication protocols in a private network.
Background
In private networks, network devices based on proprietary network protocols may communicate with each other. However, the private network protocol and the standard network protocol have different transmission formats of the message, and therefore cannot communicate with each other.
The message format in the network of the proprietary private network protocol is encapsulated according to the proprietary protocol, so that the network equipment adopting the proprietary private network protocol cannot join the network and cannot analyze the specific content in the message, thereby ensuring the security of the access equipment in the proprietary network. However, for special reasons, some devices in proprietary private network protocols and devices of the public network have a need for information exchange.
Under the circumstances, a method for interconnecting and interworking a private network protocol network and a standard protocol network is urgently needed.
Disclosure of Invention
In order to solve the technical problems, the invention provides a system and a method for dynamically switching multiple communication protocols in a private network.
The technical scheme of the invention is as follows:
a multi-communication protocol dynamic switching system in a private network comprises a preposed device, a controller and a network device; the front-end equipment comprises a decoding module, an encoding module and a storage module, wherein:
the decoding module reads the current protocol type recorded in the storage module and analyzes the message content transmitted by the network according to the current protocol type;
the coding module: reading the current protocol type recorded in the storage module, and carrying out message coding on the data to be transmitted according to the current protocol type;
a storage module: storing the protocol type used by the current network;
the controller provides an API for the outside, and a user switches a network protocol used by the current network through the API.
Further, after the network device accesses the network, the controller identifies a new network device and sends a control message to the network device, wherein the message comprises the currently used protocol type; after the network equipment receives the control message, the front-end equipment decodes the control message, identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type.
Further, the controller sends the control message in a broadcast mode, the network equipment receives the broadcast control message, the front-end equipment decodes the control message, identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type.
Further, when the network device needs to transmit the network data, the encoding module of the front device first reads the current network protocol type recorded in the storage module, and encodes and transmits the data according to the read network protocol type.
Further, when the network device receives data transmitted by the network, the decoding module of the front device first reads the current network protocol type recorded in the storage module, decodes the data according to the read network protocol type, and acquires the data.
The invention also relates to a multi-communication protocol dynamic switching method in the special network, which comprises the following steps:
reading the current protocol type recorded in the storage module, and analyzing the message content transmitted by the network according to the current protocol type;
reading the current protocol type recorded in the storage module, and carrying out message coding on the data to be transmitted according to the current protocol type;
the type of protocol currently used by the network is stored.
Further, after the network device accesses the network, identifying a new network device, and sending a control message to the network device, wherein the message comprises the currently used protocol type; after the network equipment receives the control message, the front-end equipment decodes the control message, identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type;
the controller sends the control message in a broadcasting mode, decodes the control message, identifies whether the control message data is the network protocol type data, and stores the network protocol type if the control message data is the network protocol type data.
Furthermore, when network data are transmitted, the current network protocol type recorded in the storage module is read first, and the data are encoded according to the read network protocol type and then transmitted;
when receiving the data transmitted by the network, reading the current network protocol type recorded in the storage module, decoding the data according to the read network protocol type, and acquiring the data.
Compared with the prior art, the invention has the following beneficial effects:
based on the system and the method of the invention, the dynamic switching of the network protocol used by the private network can be realized, and when the private network needs strict security, the private protocol is switched; when the private network needs to temporarily access the equipment which does not support the private protocol, the private network is switched to the standard protocol, so that the configuration flexibility of the private network is improved; meanwhile, the method for switching the private network protocol is realized based on the control message packaged by the credible private protocol used by the private network, thereby ensuring the safety of the protocol switching operation.
Drawings
FIG. 1 is a system block diagram of the present invention;
fig. 2 is a flow chart of the method of the present invention.
Detailed Description
The technical solutions in the embodiments will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples without making any creative effort, shall fall within the protection scope of the present application.
Unless otherwise defined, technical or scientific terms used in the embodiments of the present application should have the ordinary meaning as understood by those having ordinary skill in the art. The use of "first," "second," and similar terms in the present embodiments does not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. "mounted," "connected," and "coupled" are to be construed broadly and may, for example, be fixedly coupled, detachably coupled, or integrally coupled; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. "Upper," "lower," "left," "right," "lateral," "vertical," and the like are used solely in relation to the orientation of the components in the figures, and these directional terms are relative terms that are used for descriptive and clarity purposes and that can vary accordingly depending on the orientation in which the components in the figures are placed.
The technical scheme adopted by the invention is as follows:
the authentication method needs to install a front-end device in a network controller and network equipment (such as a switch, a gateway, terminal equipment and the like) in a private network to provide corresponding protocol conversion services.
As shown in fig. 1, the system for dynamically switching multiple communication protocols in a private network of this embodiment includes a front-end device, a controller, and a network device; the front-end equipment comprises a decoding module, an encoding module and a storage module, wherein:
and the decoding module is used for reading the current protocol type recorded in the storage module and analyzing the message content transmitted by the network according to the current protocol type.
The coding module: and reading the current protocol type recorded in the storage module, and carrying out message coding on the data to be transmitted according to the current protocol type.
A storage module: the type of protocol currently used by the network is stored.
The controller provides an API for the outside, and a user switches a network protocol used by the current network through the API.
The method for dynamically switching multiple communication protocols in the private network comprises the following steps:
step 1, after a network device accesses the network and a controller finds a new network device, the controller sends a control message to the network device, wherein the message comprises the currently used protocol type; after the network equipment receives the control message, the front-end equipment decodes the control message, identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type.
And 2, if the user operates the network controller through the API, when switching the network protocol used by the current network, the controller sends a control message in a broadcast mode, the network equipment in the network receives the broadcast control message, the front-end equipment decodes the control message and identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type.
And 3, when the network equipment needs to transmit the network data, the coding module firstly reads the current network protocol type recorded in the storage module, and codes and transmits the data according to the read network protocol type.
And 4, when the network equipment receives the data transmitted by the network, the decoding module firstly reads the current network protocol type recorded in the storage module, decodes the data according to the read network protocol type, and acquires the data, wherein the whole process is shown in fig. 2.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware.
The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when some of the above modules are implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can invoke the program code. For another example, the modules may be integrated together and implemented in the form of a System-on-a-Chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a readable storage medium or transmitted from one readable storage medium to another readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for descriptive convenience and are not intended to limit the scope of the embodiments of the present application.
It should be understood that, in the embodiment of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
Claims (8)
1. A multi-communication protocol dynamic switching system in a private network is characterized in that: the system comprises a front-end device, a controller and a network device; the front-end equipment comprises a decoding module, an encoding module and a storage module, wherein:
the decoding module reads the current protocol type recorded in the storage module and analyzes the message content transmitted by the network according to the current protocol type;
the coding module: reading the current protocol type recorded in the storage module, and carrying out message coding on the data to be transmitted according to the current protocol type;
a storage module: storing the protocol type used by the current network;
the controller provides an API for the outside, and a user switches a network protocol used by the current network through the API.
2. The system for dynamic switching of multiple communication protocols in a private network according to claim 1, wherein: after the network equipment accesses the network, the controller identifies new network equipment and sends a control message to the network equipment, wherein the message comprises the currently used protocol type; after the network equipment receives the control message, the front-end equipment decodes the control message, identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type.
3. The system for dynamic switching of multiple communication protocols in a private network according to claim 1, wherein: the controller sends a control message in a broadcast mode, the network equipment receives the broadcast control message, the front-end equipment decodes the control message, and identifies whether the control message data is the network protocol type data, if so, the front-end equipment stores the network protocol type.
4. The system for dynamic switching of multiple communication protocols in a private network according to claim 1, wherein: when the network device needs to transmit network data, the coding module of the front-end device reads the current network protocol type recorded in the storage module, and codes and transmits the data according to the read network protocol type.
5. The system for dynamic switching of multiple communication protocols in a private network according to claim 1, wherein: when the network equipment receives data transmitted by a network, a decoding module of the front-end equipment firstly reads the current network protocol type recorded in the storage module, decodes the data according to the read network protocol type and acquires the data.
6. A multi-communication protocol dynamic switching method in a special network is characterized in that: the method comprises the following steps:
reading the current protocol type recorded in the storage module, and analyzing the message content transmitted by the network according to the current protocol type;
reading the current protocol type recorded in the storage module, and carrying out message coding on the data to be transmitted according to the current protocol type;
the type of protocol currently used by the network is stored.
7. The method of claim 6, wherein the method comprises: after the network equipment accesses the network, identifying new network equipment, and sending a control message to the network equipment, wherein the message comprises the currently used protocol type; after the network equipment receives the control message, the front-end equipment decodes the control message, identifies whether the control message data is the network protocol type data, and if so, the front-end equipment stores the network protocol type;
the controller sends the control message in a broadcasting mode, decodes the control message, identifies whether the control message data is the network protocol type data, and stores the network protocol type if the control message data is the network protocol type data.
8. The method of claim 6, wherein the method comprises:
when network data are transmitted, reading the current network protocol type recorded in the storage module, and encoding and transmitting the data according to the read network protocol type;
when receiving the data transmitted by the network, reading the current network protocol type recorded in the storage module, decoding the data according to the read network protocol type, and acquiring the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111425567.XA CN114125075A (en) | 2021-11-27 | 2021-11-27 | System and method for dynamically switching multiple communication protocols in private network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111425567.XA CN114125075A (en) | 2021-11-27 | 2021-11-27 | System and method for dynamically switching multiple communication protocols in private network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114125075A true CN114125075A (en) | 2022-03-01 |
Family
ID=80370524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111425567.XA Pending CN114125075A (en) | 2021-11-27 | 2021-11-27 | System and method for dynamically switching multiple communication protocols in private network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114125075A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102905165A (en) * | 2012-10-24 | 2013-01-30 | 安徽博微广成信息科技有限公司 | Video networking service front-end computer |
CN103036732A (en) * | 2011-09-30 | 2013-04-10 | 方正宽带网络服务股份有限公司 | Method, system and device for network monitoring process |
CN104661205A (en) * | 2013-11-22 | 2015-05-27 | 中兴通讯股份有限公司 | Gateway updating information notifying method and controller |
CN105391690A (en) * | 2015-10-19 | 2016-03-09 | 中国科学院信息工程研究所 | POF-based network eavesdropping defending method and system |
WO2018018607A1 (en) * | 2016-07-29 | 2018-02-01 | 深圳市赛亿科技开发有限公司 | Method and device for fixed conversion of transmission protocol based on message protocol identification |
CN109040144A (en) * | 2018-10-19 | 2018-12-18 | 京信通信系统(中国)有限公司 | Things-internet gateway data processing method, device, storage medium and gateway |
CN109587160A (en) * | 2018-12-19 | 2019-04-05 | 广州联达信息科技有限公司 | A kind of data transfer device, device, readable storage medium storing program for executing and industrial equipment |
US20200028776A1 (en) * | 2018-07-20 | 2020-01-23 | Netsia, Inc. | SYSTEM AND METHOD FOR A TRANSLATOR SUPPORTING MULTIPLE SOFTWARE DEFINED NETWORK (SDN) APPLICATION PROGRAMMING INTERFACES (APIs) |
CN111163147A (en) * | 2019-12-24 | 2020-05-15 | 深圳供电局有限公司 | Gateway device, multi-protocol data transmission method and computer device |
CN111338991A (en) * | 2020-02-20 | 2020-06-26 | 中国科学院自动化研究所 | Multi-mode storage system based on eMMC array |
-
2021
- 2021-11-27 CN CN202111425567.XA patent/CN114125075A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036732A (en) * | 2011-09-30 | 2013-04-10 | 方正宽带网络服务股份有限公司 | Method, system and device for network monitoring process |
CN102905165A (en) * | 2012-10-24 | 2013-01-30 | 安徽博微广成信息科技有限公司 | Video networking service front-end computer |
CN104661205A (en) * | 2013-11-22 | 2015-05-27 | 中兴通讯股份有限公司 | Gateway updating information notifying method and controller |
CN105391690A (en) * | 2015-10-19 | 2016-03-09 | 中国科学院信息工程研究所 | POF-based network eavesdropping defending method and system |
WO2018018607A1 (en) * | 2016-07-29 | 2018-02-01 | 深圳市赛亿科技开发有限公司 | Method and device for fixed conversion of transmission protocol based on message protocol identification |
US20200028776A1 (en) * | 2018-07-20 | 2020-01-23 | Netsia, Inc. | SYSTEM AND METHOD FOR A TRANSLATOR SUPPORTING MULTIPLE SOFTWARE DEFINED NETWORK (SDN) APPLICATION PROGRAMMING INTERFACES (APIs) |
CN109040144A (en) * | 2018-10-19 | 2018-12-18 | 京信通信系统(中国)有限公司 | Things-internet gateway data processing method, device, storage medium and gateway |
CN109587160A (en) * | 2018-12-19 | 2019-04-05 | 广州联达信息科技有限公司 | A kind of data transfer device, device, readable storage medium storing program for executing and industrial equipment |
CN111163147A (en) * | 2019-12-24 | 2020-05-15 | 深圳供电局有限公司 | Gateway device, multi-protocol data transmission method and computer device |
CN111338991A (en) * | 2020-02-20 | 2020-06-26 | 中国科学院自动化研究所 | Multi-mode storage system based on eMMC array |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9286249B2 (en) | USB device communication method, device and system wherein a human interface device (HID) descriptor and report are added to a driver of USB device | |
CA2765904C (en) | System and method of restricting endpoint identifiers in a communication system | |
WO2019149006A1 (en) | Method and device for obtaining and providing access information of wireless access point, and medium | |
CN110167192B (en) | Bluetooth connection management method and device, electronic equipment and non-transient storage medium | |
WO2007111471A1 (en) | Digital device and method for providing additional service by using the same | |
CN111225414A (en) | Multimode communication device, communication method thereof and multimode communication system | |
CN112040566A (en) | Narrow-band and wide-band single-call communication system | |
CN112835632B (en) | Method and equipment for calling end capability and computer storage medium | |
CN101945322A (en) | Method and system for communicating with wireless network by using data card and data card | |
KR19980063450A (en) | Data communication device | |
CN114268957A (en) | Abnormal business data processing method, device, server and storage medium | |
CN111131846A (en) | Video playing method, multimedia playing equipment, edge server and core network | |
CN102884834A (en) | System and method of encoding and decoding control information in a medium access control protocol data unit | |
CN114125075A (en) | System and method for dynamically switching multiple communication protocols in private network | |
CN103152464B (en) | Equipment, method and system of obtaining fixed phone calling information through wireless way | |
CN111901813A (en) | Network configuration method and equipment for customer premises equipment | |
CN113329404B (en) | Network access method and device | |
CN101925036A (en) | Transmitting method, system and device of terminal high-level signaling | |
CN111201806B (en) | Method and device for reporting information by terminal and computer storage medium | |
CN113065077A (en) | Horizontal extension middle station service processing system | |
KR100541756B1 (en) | Method for transferring data in wireless communication system | |
MXPA04002922A (en) | Smartcard uart for minimizing processor demands in a conditional access system. | |
US20220365895A1 (en) | Pcie-based data transmission method and apparatus | |
JPH11110359A (en) | Distributed network computer system, information exchanging device used in system, information exchanging method and storage medium | |
CN107484145B (en) | CISC (common information center) equipment and communication 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: 20220301 |
|
RJ01 | Rejection of invention patent application after publication |