[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106656436A - Communication management method and system based on intelligent optical network unit - Google Patents

Communication management method and system based on intelligent optical network unit Download PDF

Info

Publication number
CN106656436A
CN106656436A CN201610867514.6A CN201610867514A CN106656436A CN 106656436 A CN106656436 A CN 106656436A CN 201610867514 A CN201610867514 A CN 201610867514A CN 106656436 A CN106656436 A CN 106656436A
Authority
CN
China
Prior art keywords
server
ason
client
master server
standby
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
CN201610867514.6A
Other languages
Chinese (zh)
Other versions
CN106656436B (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.)
Anhui Huasuda Electronic Technology Co Ltd
Original Assignee
Anhui Huasuda Electronic Technology Co Ltd
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 Anhui Huasuda Electronic Technology Co Ltd filed Critical Anhui Huasuda Electronic Technology Co Ltd
Priority to CN201610867514.6A priority Critical patent/CN106656436B/en
Publication of CN106656436A publication Critical patent/CN106656436A/en
Application granted granted Critical
Publication of CN106656436B publication Critical patent/CN106656436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a communication management method and system based on intelligent optical network unit. When the system is on, the management function modules of its main server or backup server start to be initialized. The communication configuring modules built in the main server and the backup server also start to be initialized to automatically update the initialization configuring data corresponding to and connected with the client terminal of the intelligent optical network. The client terminal of the intelligent optical network automatically conducts the functional identification and initialization of the CPU control module and the internet-of-things interface module. According to the communication management method and system based on intelligent optical network unit proposed by the invention, a long-time TCP connection and fault-tolerance and correction mechanism between a modularized intelligent optical network and a management platform is maintained. With the management method, the requirement of the TCP on the number of the TCP interfaces can be effectively reduced; the number of the servers and the overheads of the servers can be reduced; the switching between the main server and the backup server is realized, so is the switching between the IP and the domain name. Further, as fault-tolerance processing is introduced, connection can recover automatically when a fault occurs to the intelligent device.

Description

A kind of communication management method and system based on ASON unit
Technical field
The present invention relates to intelligent management system, and in particular to a kind of communication management method based on ASON unit and System.
Background technology
As social informatization process is being developed rapidly, various sensors, digitlization and intelligent equipment occur in us The every aspect of life.Technical method and complexity more and more higher involved by this kind of information system, this requires manager Method also will grow with each passing hour, and need the ability for giving management " thinking ".
Modular ASON unit light harvesting network technology, the informationization technology such as technology of Internet of things and embedded technology , system module is more, in order to ensure systematic function under LAN and wan environment can efficiently and stable operation, Need a set of special management method and system.
All as the server end of TCP, management server connects the modules of traditional mode managed devices as TCP Each module of the client for connecing, management equipment and managed devices sets up TCP connections, due to the port numbers of management server Limited, this mode wastes the port numbers of TCP connections, increased the expense of system.
Traditional mode is addressed by IP address, this mode on a local area network using having no problem, but in wide area Probably due to the IP address of server-assignment is modified and causes mistake in net.
The content of the invention
A kind of communication management method and system based on ASON unit proposed by the present invention, can effectively reduce TCP Requirement of the connection to tcp port number quantity, reduces number of servers and server overhead, realizes that active/standby server switches, IP and The purpose of domain name switching, while increasing fault-tolerant processing, connection is actively recovered when smart machine makes a mistake.
For achieving the above object, present invention employs technical scheme below:
A kind of communication management method based on ASON unit, comprises the steps:
(1) system initialization and client initialization:
After system energization, the management function module of master server or standby server is initialized;Master server or standby clothes The built-in communication configuration module initialization of business device, automatically updates the initial configuration number of connection corresponding with ASON client According to;ASON client carries out CPU control modules and initializes with the identification of function of interface of internet of things module automatically;
(2) ASON client carries out TCP and is connected with master server or standby server:
ASON client and master server or standby server, are multiplexed based on multithreading socket and Select I/O Mechanism carries out TCP connections;
(3) master server and standby server switching:
(31) built-in two socket of ASON client connect thread, set up socket with server and are connected;
(32) initialization acquiescence ASON client is actively set up with master server and is connected, and the connection of standby server is opened Pass is to close;
(33) when the socket connections of master server disconnect, and after timer expired, the socket connections of standby server are opened Dynamic, ASON client starts to set up socket with standby server and is connected, and has attempted to be connected with master server;
(34) if master server connection is re-established, turn off client and be connected with the socket of standby server, together When close standby server socket connection;
(4) master server or standby server addressing:
Master server includes two kinds of addressing systems with standby server:Server is found by IP address and is found by domain name Server;
Can manual configuration addressing system, can also start automatic identification addressing system;
(5) abnormality processing is connected:
The physical state change of ASON clients poll interface of internet of things, when the state of the network port is by Link When Down is transformed into Link Up, CPU control modules re-establish socket connections;Simultaneously;The occupancy of CPU is directly checked, works as inspection Measure CPU usage it is higher after, ASON client sends a warning message.
As the further optimization of such scheme, step (2) ASON client and master server or standby server TCP connections are carried out,
Server end is concretely comprised the following steps:
(21) master server or standby server end create socket sockets;
(22) IP of socket sockets and master server or standby server, port numbers binding is connected;
(23) socket is arranged to listening mode, waits the connection request of master server or standby server bundling port;
(24) selete function checks send connection request to ASON user end to server;
(25) master server or standby server are attached with ASON client;
(26) if if selete functions detect N number of ASON user end to server and send connection request, master enters Journey is blocked in junction wait, creates N-1 new process, sets up new connection;
(27) master server or standby server receive the data of ASON client;
(28) master server or standby server send data to ASON client;
(29) master server or standby server end close socket sockets;
ASON client is concretely comprised the following steps:
(201) ASON client creates socket sockets;
(202) selete function checks send connection request to server to ASON client;
(203) ASON client is attached with master server or standby server;
(204) ASON client is to master server or standby server to transmission data;
(205) ASON client receives master server or standby server data;
(206) ASON client end closes socket sockets;
Used as the further optimization of such scheme, step (3) master server or standby server addressing start automatic identification and seek Location mode, ASON client acquiescence first selects to search server using the mode of IP address, if in timer expired Afterwards, server is not still found, the mode for using domain name can be transferred, search server, if now timer is also overtime, then Using the mode of IP address, iterative cycles.
Used as the further optimization of such scheme, the ASON client includes PON modules, PHY modules, ether Network interface circuit, Switching Module, CPU control modules, at least three road expansion connection modules, interface of internet of things module and for above-mentioned mould The power module that block is powered, the interface of internet of things module include at least No. three interface circuits, the interface circuit be RS485 and DO interface circuits, DO interface circuits or DI interface circuits, the PHY modules are connect with Switching Module by management data input output Mouth corresponding matching is electrically connected with, and the network interface interface corresponding matching of the ethernet interface circuit and Switching Module is electrically connected with, institute The signal for stating PON modules goes out the signal input end points electric connection at end and Switching Module, the Switching Module and CPU control modules It is electrically connected with by corresponding matching, the extension mouth of the CPU control modules is matched somebody with somebody with the extension mouth of at least three road expansion connection modules Close and be electrically connected with, the extension mouth of expansion connection module described in interface circuit described in one and is electrically connected with.
Used as the further optimization of such scheme, the CPU control modules include TIAM3358 chips and its peripheral circuit, Integrated 5 circuit-switched data expansion interface on TIAM3358 chips;The Switching Module includes the Switch control of Marvell88E6095 Chip and its peripheral circuit, the media of the GMII MII_ETH and CPU control modules of Switch control chip independently connect Mouth MII_ETH is electrically connected with.
Used as the further optimization of such scheme, the PHY modules include PHY chip and its peripheral circuit, the PHY cores The MDC_PHY interfaces of piece, are electrically connected with, the PHY after series resistance R1 with the MDC_PHY Interference fits of Switch control chip The MDIO_PHY interfaces of chip, are electrically connected with after series resistance R2 with the MDIO_PHY Interference fits of Switch control chip.
Used as the further optimization of such scheme, the PON modules include BCM6838 control chips and its peripheral circuit, The LAN interface of the BCM6838 control chips is communicated to connect with the Switch control chip LAN interface of Switching Module.
Present invention also offers a kind of communications management system based on ASON unit, including master server, standby clothes Business device, management client and some ASON clients, the management client electrically connects with master server, standby server Connect, some ASON clients are electrically connected with master server, standby server, it is characterised in that:It is described based on intelligent light The communication management method of the communications management system of NE, comprises the steps:
(1) system initialization and client initialization:
After system energization, the management function module of master server or standby server is initialized;Master server or standby clothes The built-in communication configuration module initialization of business device, automatically updates the initial configuration number of connection corresponding with ASON client According to;ASON client carries out CPU control modules and initializes with the identification of function of interface of internet of things module automatically;
(2) ASON client carries out TCP and is connected with master server or standby server:
ASON client and master server or standby server, are multiplexed based on multithreading socket and Select I/O Mechanism carries out TCP connections;
(3) master server and standby server switching:
(31) built-in two socket of ASON client connect thread, set up socket with server and are connected;
(32) initialization acquiescence ASON client is actively set up with master server and is connected, and the connection of standby server is opened Pass is to close;
(33) when the socket connections of master server disconnect, and after timer expired, the socket connections of standby server are opened Dynamic, ASON client starts to set up socket with standby server and is connected, and has attempted to be connected with master server;
(34) if master server connection is re-established, turn off client and be connected with the socket of standby server, together When close standby server socket connection;
(4) master server or standby server addressing:
Master server includes two kinds of addressing systems with standby server:Server is found by IP address and is found by domain name Server;
Can manual configuration addressing system, can also start automatic identification addressing system;
(5) abnormality processing is connected:
The physical state change of ASON clients poll interface of internet of things, when the state of the network port is by Link When Down is transformed into Link Up, CPU control modules re-establish socket connections;Simultaneously;The occupancy of CPU is directly checked, works as inspection Measure CPU usage it is higher after, ASON client sends a warning message.
As the further optimization of such scheme, step (2) ASON client and master server or standby server TCP connections are carried out,
Server end is concretely comprised the following steps:
(21) master server or standby server end create socket sockets;
(22) socket is tied in the IP of master server or standby server, port numbers;
(23) socket is arranged to listening mode, waits the connection request of master server or standby server bundling port;
(24) selete function checks send connection request to ASON user end to server;
(25) master server or standby server are attached with ASON client;
(26) if selete function checks send connection request, host process to N number of ASON user end to server Junction wait is blocked in, N-1 new process is created, new connection is set up;
(27) master server or standby server receive the data of ASON client;
(28) master server or standby server send data to ASON client;
(29) master server or standby server end close socket sockets;
ASON client is concretely comprised the following steps:
(201) ASON client creates socket sockets;
(202) selete function checks send connection request to server to ASON client;
(203) ASON client is attached with master server or standby server;
(204) ASON client is to master server or standby server to transmission data;
(205) ASON client receives master server or standby server data;
(206) ASON client end closes socket sockets;
Used as the further optimization of such scheme, step (3) master server or standby server addressing start automatic identification and seek Location mode, ASON client acquiescence first selects to search server using the mode of IP address, if in timer expired Afterwards, server is not still found, the mode for using domain name can be transferred, search server, if now timer is also overtime, then Using the mode of IP address, iterative cycles.
As shown from the above technical solution, a kind of communication management method and system based on ASON unit of the invention Have the advantages that:
(1) a kind of communication management method based on ASON unit of the invention, keeps modularization intelligent light net list Unit be connected with management platform long-time TCP and fault-tolerant error correction mechanism, a kind of leading to based on ASON unit of the invention Letter management method, can effectively reduce requirement of the TCP connections to tcp port number quantity, reduce number of servers and server overhead, Realize that active/standby server switches, the purpose of IP and domain name switching, while increasing fault-tolerant processing, the master when smart machine makes a mistake It is dynamic to recover connection.
(2) a kind of communications management system based on ASON unit of the invention, can not only meet and set server The purpose for managing modularization ASON unit in LAN in a local network is put, while can meet being arranged on server extensively Domain net in manage LAN in modularization ASON unit ability, reduce user using and Operation Server into This.
Description of the drawings
Fig. 1 is a kind of structured flowchart of communications management system based on ASON unit of the present invention.
Fig. 2 is that the ASON client of the present invention carries out the flow chart that TCP is connected with master server or standby server.
Fig. 3 is the Select treatment mechanism flow charts of the present invention.
Fig. 4 is the circuit structure frame diagram of the ASON unit of the present invention.
Fig. 5 is the connection Organization Chart based on Ethernet input part of the ASON unit of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings the present invention will be further described:
A kind of communication management method based on ASON unit, comprises the steps:
(1) system initialization and client initialization:
After system energization, the management function module of master server or standby server is initialized;Master server or standby clothes The built-in communication configuration module initialization of business device, automatically updates the initial configuration number of connection corresponding with ASON client According to;ASON client carries out CPU control modules and initializes with the identification of function of interface of internet of things module automatically;
(2) ASON client carries out TCP and is connected with master server or standby server:
ASON client and master server or standby server, are multiplexed based on multithreading socket and Select I/O Mechanism carries out TCP connections;
(3) master server and standby server switching:
(31) built-in two socket of ASON client connect thread, set up socket with server and are connected;
(32) initialization acquiescence ASON client is actively set up with master server and is connected, and the connection of standby server is opened Pass is to close;
(33) when the socket connections of master server disconnect, and after timer expired, the socket connections of standby server are opened Dynamic, ASON client starts to set up socket with standby server and is connected, and has attempted to be connected with master server;
(34) if master server connection is re-established, turn off client and be connected with the socket of standby server, together When close standby server socket connection;
(4) master server or standby server addressing:
Master server includes two kinds of addressing systems with standby server:Server is found by IP address and is found by domain name Server;
Can manual configuration addressing system, can also start automatic identification addressing system;
(5) abnormality processing is connected:
The physical state change of ASON clients poll interface of internet of things, when the state of the network port is by Link When Down is transformed into Link Up, CPU control modules re-establish socket connections;Simultaneously;The occupancy of CPU is directly checked, works as inspection Measure CPU usage it is higher after, ASON client sends a warning message.Load balancing is done with prompting to match somebody with somebody Put or other operations.
ASON client and master server or standby server, are multiplexed based on multithreading socket and Select I/O Mechanism carries out TCP connections.
The principle of Select I/O multiplexings is that application program simultaneously multiple I/O ports can be monitored to judge it On operation whether can carry out so that application program can while listening for readable above multiple filec descriptors, it is writeable and Anomalous event etc..Because I/O multiplexings are in itself obstructions, each file description therein generally can only be in order processed Symbol, in order to application program can be parallel, efficient operation needs to introduce multithreading.
Referring to Fig. 2, Fig. 2 is that ASON client carries out the flow chart that TCP is connected with master server or standby server. Step (2) ASON client carries out TCP and is connected with master server or standby server,
Server end is concretely comprised the following steps:
(21) master server or standby server end create socket sockets;
(22) socket is tied in the IP of master server or standby server, port numbers;
(23) socket is arranged to listening mode, waits the connection request of master server or standby server bundling port;
(24) selete function checks send connection request to ASON user end to server;
(25) master server or standby server are attached with ASON client;
(26) if selete function checks send connection request, host process resistance to N ASONs user end to server Plug is waited in junction, creates N-1 new process, sets up new connection;
(27) master server or standby server receive the data of ASON client;
(28) master server or standby server send data to ASON client;
(29) master server or standby server end close socket sockets;
ASON client is concretely comprised the following steps:
(201) ASON client creates socket sockets;
(202) selete function checks send connection request to server to ASON client;
(203) ASON client is attached with master server or standby server;
(204) ASON client is to master server or standby server to transmission data;
(205) ASON client receives master server or standby server data;
(206) ASON client end closes socket sockets.
As shown in figure 3, when the establishment of socket, after the completion of binding, server end is added to prison the socket for listening to In the filec descriptor set listened, generally, the maximum of the theoretical filec descriptor of a process is 1024.Select All Files descriptor is monitored, judges whether server socket is readable, if readable receive new connection, if unreadable, Continuation judges whether client file descriptor is readable, if readable, judgement receives return value, if return value is more than 0, connection Set up, if return value is less than or equal to 0, restart connection procedure.
Step (3) master server or standby server addressing start automatic identification addressing system, and ASON client is write from memory To recognize first select and search server using the mode of IP address, if after timer expired, still not finding server, can turn And the mode of domain name is used, and server is searched, if now timer is also overtime, the mode of IP address is reused, iterative cycles.
Referring to Fig. 4, Fig. 4 be Fig. 4 be the present invention ASON unit circuit structure frame diagram.ASON visitor Family end includes PON modules, PHY modules, ethernet interface circuit, Switching Module, at least CPU control modules, three road expansion interfaces Module, interface of internet of things module and the power module for above-mentioned module for power supply, the interface of internet of things module includes at least three tunnels Interface circuit, the interface circuit be RS485 and DO interface circuits, DO interface circuits or DI interface circuits, the PHY modules with Switching Module is by the corresponding matching electric connection of management data input/output interface, the ethernet interface circuit and Switching Module Network interface interface corresponding matching be electrically connected with, it is electrical with the signal input end points of Switching Module that the signal of the PON modules goes out end Connection, the Switching Module and CPU control modules are electrically connected with by corresponding matching, the extension mouth of the CPU control modules with The extension mouth of at least three road expansion connection modules coordinates electric connection, expansion connection module described in interface circuit described in one and Extension mouth is electrically connected with.
The CPU control modules include TI AM3358 chips and its peripheral circuit, integrated 5 way on TI AM3358 chips According to expansion interface;The Switching Module includes the Switch control chip and its peripheral circuit of Marvell88E6095, switch The GMII MII_ETH of control chip is electrically connected with the GMII MII_ETH of CPU control modules.It is described PHY modules include PHY chip and its peripheral circuit, the MDC_PHY interfaces of the PHY chip, with switch after series resistance R1 The MDC_PHY Interference fits of control chip are electrically connected with, the MDIO_PHY interfaces of the PHY chip, with friendship after series resistance R2 Change planes control chip MDIO_PHY Interference fits be electrically connected with.The PON modules include BCM6838 control chips and its periphery Circuit, the LAN interface of the BCM6838 control chips is communicated to connect with the Switch control chip LAN interface of Switching Module.
Referring to Fig. 1, Fig. 1 is a kind of structured flowchart of communications management system based on ASON unit of the present invention. The present invention gives a kind of communications management system based on ASON unit, including master server, standby server, management Client and some ASON clients, the management client is electrically connected with master server, standby server, Ruo Ganzhi Can optical-fiber network client and master server, standby server electric connection, the telecommunication management system based on ASON unit The communication management method of system, comprises the steps:
(1) system initialization and client initialization:
After system energization, the management function module of master server or standby server is initialized;Master server or standby clothes The built-in communication configuration module initialization of business device, automatically updates the initial configuration number of connection corresponding with ASON client According to;ASON client carries out CPU control modules and initializes with the identification of function of interface of internet of things module automatically;
(2) ASON client carries out TCP and is connected with master server or standby server:
ASON client and master server or standby server, are multiplexed based on multithreading socket and Select I/O Mechanism carries out TCP connections;
(3) master server and standby server switching:
(31) built-in two socket of ASON client connect thread, set up socket with server and are connected;
(32) initialization acquiescence ASON client is actively set up with master server and is connected, and the connection of standby server is opened Pass is to close;
(33) when the socket connections of master server disconnect, and after timer expired, the socket connections of standby server are opened Dynamic, ASON client starts to set up socket with standby server and is connected, and has attempted to be connected with master server;
(34) if master server connection is re-established, turn off client and be connected with the socket of standby server, together When close standby server socket connection;
(4) master server or standby server addressing:
Master server includes two kinds of addressing systems with standby server:Server is found by IP address and is found by domain name Server;
Can manual configuration addressing system, can also start automatic identification addressing system;
(5) abnormality processing is connected:
The physical state change of ASON clients poll interface of internet of things, when the state of the network port is by Link When Down is transformed into Link Up, CPU control modules re-establish socket connections;Simultaneously;The occupancy of CPU is directly checked, works as inspection Measure CPU usage it is higher after, ASON client sends a warning message.
Step (2) ASON client carries out TCP and is connected with master server or standby server,
Server end is concretely comprised the following steps:
(21) master server or standby server end create socket sockets;
(22) by the IP of master server or standby server, port numbers and the binding connection of socket processes;
(23) socket is arranged to listening mode, waits the connection request of master server or standby server bundling port;
(24) selete function checks send connection request to ASON user end to server;
(25) master server or standby server are attached with ASON client;
(26) if if selete functions detect N number of ASON user end to server and send connection request, master enters Journey is blocked in junction wait, creates N-1 new process, sets up new connection;
(27) master server or standby server receive the data of ASON client;
(28) master server or standby server send data to ASON client;
(29) master server or standby server end close socket sockets;
ASON client is concretely comprised the following steps:
(201) ASON client creates socket sockets;
(202) selete function checks send connection request to server to ASON client;
(203) ASON client is attached with master server or standby server;
(204) ASON client is to master server or standby server to transmission data;
(205) ASON client receives master server or standby server data;
(206) ASON client end closes socket sockets;
Step (3) master server or standby server addressing start automatic identification addressing system, and ASON client is write from memory To recognize first select and search server using the mode of IP address, if after timer expired, still not finding server, can turn And the mode of domain name is used, and server is searched, if now timer is also overtime, the mode of IP address is reused, iterative cycles.
The present invention a kind of communication management method based on ASON unit, keep modularization intelligent light net unit with Management platform long-time TCP connects the mechanism with fault-tolerant error correction, a kind of communication tube based on ASON unit of the present invention Reason method, can effectively reduce requirement of the TCP connections to tcp port number quantity, reduce number of servers and server overhead, realize Active/standby server switches, the purpose of IP and domain name switching, while increase fault-tolerant processing, it is actively extensive when smart machine makes a mistake It is multiply-connected to connect.
Embodiment described above is only that the preferred embodiment of the present invention is described, not to the model of the present invention Enclose and be defined, on the premise of without departing from design spirit of the present invention, technical side of the those of ordinary skill in the art to the present invention Various modifications and improvement that case is made, all should fall within the scope of protection of the present invention.

Claims (10)

1. a kind of communication management method based on ASON unit, comprises the steps:
(1) system initialization and client initialization:
After system energization, the management function module of master server or standby server is initialized;Master server or standby server Built-in communication configuration module initialization, automatically updates the initial configuration data of connection corresponding with ASON client; ASON client carries out CPU control modules and initializes with the identification of function of interface of internet of things module automatically;
(2) ASON client carries out TCP and is connected with master server or standby server:
ASON client and master server or standby server, based on multithreading socket and Select I/O mechanism is multiplexed Carry out TCP connections;
(3) master server and standby server switching:
(31) built-in two socket of ASON client connect thread, set up socket with server and are connected;
(32) initialization acquiescence ASON client is actively set up with master server and is connected, and the connecting valve of standby server is Close;
(33) when the socket connections of master server disconnect, and after timer expired, the socket connections of standby server start, intelligence Can optical-fiber network client start to set up socket with standby server and be connected, and have attempted to be connected with master server;
(34) if master server connection is re-established, turn off client and be connected with the socket of standby server, while closing Close the socket connections of standby server;
(4) master server or standby server addressing:
Master server includes two kinds of addressing systems with standby server:Find server and found by domain name by IP address and service Device;
Can manual configuration addressing system, can also start automatic identification addressing system;
(5) abnormality processing is connected:
The physical state change of ASON clients poll interface of internet of things, when the state of the network port is turned by LinkDown When becoming Link Up, CPU control modules re-establish socket connections;Simultaneously;The occupancy of CPU is directly checked, when detecting After CPU usage is higher, ASON client sends a warning message.
2. a kind of communication management method based on ASON unit according to claim 1, it is characterised in that:Step (2) ASON client carries out TCP and is connected with master server or standby server,
Server end is concretely comprised the following steps:
(21) master server or standby server end create socket sockets;
(22) IP of socket sockets and master server or standby server, port numbers binding is connected;
(23) socket is arranged to listening mode, waits the connection request of master server or standby server bundling port;
(24) selete function checks send connection request to ASON user end to server;
(25) master server or standby server are attached with ASON client;
(26) if if selete functions detect N number of ASON user end to server and send connection request, host process resistance Plug is waited in junction, creates N-1 new process, sets up new connection;
(27) master server or standby server receive the data of ASON client;
(28) master server or standby server send data to ASON client;
(29) master server or standby server end close socket sockets;
ASON client is concretely comprised the following steps:
(201) ASON client creates socket sockets;
(202) selete function checks send connection request to server to ASON client;
(203) ASON client is attached with master server or standby server;
(204) ASON client is to master server or standby server to transmission data;
(205) ASON client receives master server or standby server data;
(206) ASON client end closes socket sockets.
3. a kind of communication management method based on ASON unit according to claim 1, it is characterised in that:Step (3) master server or standby server addressing start automatic identification addressing system, and ASON client acquiescence first selects to use The mode of IP address searches server, if after timer expired, still not finding server, can transfer to use domain name Mode, searches server, if now timer is also overtime, reuses the mode of IP address, iterative cycles.
4. a kind of communication management method based on ASON unit according to claim 1, it is characterised in that:It is described ASON client includes PON modules, PHY modules, ethernet interface circuit, Switching Module, CPU control modules, at least Three road expansion connection modules, interface of internet of things module and the power module for above-mentioned module for power supply, the interface of internet of things module Including at least No. three interface circuits, the interface circuit is RS485 and DO interface circuits, DO interface circuits or DI interface circuits, The PHY modules are electrically connected with Switching Module by management data input/output interface corresponding matching, the Ethernet interface The network interface interface corresponding matching of circuit and Switching Module is electrically connected with, and the signal of the PON modules goes out the letter at end and Switching Module Number input endpoint is electrically connected with, and the Switching Module and CPU control modules are electrically connected with by corresponding matching, the CPU controls The extension mouth of module is electrically connected with the extension mouth cooperation of at least three road expansion connection modules, described in interface circuit described in one and The extension mouth of expansion connection module is electrically connected with.
5. a kind of communication management method based on ASON unit according to claim 4, it is characterised in that:It is described CPU control modules include TIAM3358 chips and its peripheral circuit, integrated 5 circuit-switched data expansion interface on TIAM3358 chips;Institute State Switch control chip and its peripheral circuit of the Switching Module including Marvell88E6095, the media of Switch control chip Stand-alone interface MII_ETH is electrically connected with the GMII MII_ETH of CPU control modules.
6. a kind of communication management method based on ASON unit according to claim 4, it is characterised in that:It is described PHY modules include PHY chip and its peripheral circuit, the MDC_PHY interfaces of the PHY chip, with switch after series resistance R1 The MDC_PHY Interference fits of control chip are electrically connected with, the MDIO_PHY interfaces of the PHY chip, with friendship after series resistance R2 Change planes control chip MDIO_PHY Interference fits be electrically connected with.
7. a kind of communication management method based on ASON unit according to claim 4, it is characterised in that:It is described PON modules include BCM6838 control chips and its peripheral circuit, the LAN interface and Switching Module of the BCM6838 control chips Switch control chip LAN interface communication connection.
8. a kind of communications management system based on ASON unit, including master server, standby server, management client and Some ASON clients, the management client is electrically connected with master server, standby server, some ASONs Client is electrically connected with master server, standby server, it is characterised in that:The telecommunication management based on ASON unit The communication management method of system, comprises the steps:
(1) system initialization and client initialization:
After system energization, the management function module of master server or standby server is initialized;Master server or standby server Built-in communication configuration module initialization, automatically updates the initial configuration data of connection corresponding with ASON client; ASON client carries out CPU control modules and initializes with the identification of function of interface of internet of things module automatically;
(2) ASON client carries out TCP and is connected with master server or standby server:
ASON client and master server or standby server, based on multithreading socket and Select I/O mechanism is multiplexed Carry out TCP connections;
(3) master server and standby server switching:
(31) built-in two socket of ASON client connect thread, set up socket with server and are connected;
(32) initialization acquiescence ASON client is actively set up with master server and is connected, and the connecting valve of standby server is Close;
(33) when the socket connections of master server disconnect, and after timer expired, the socket connections of standby server start, intelligence Can optical-fiber network client start to set up socket with standby server and be connected, and have attempted to be connected with master server;
(34) if master server connection is re-established, turn off client and be connected with the socket of standby server, while closing Close the socket connections of standby server;
(4) master server or standby server addressing:
Master server includes two kinds of addressing systems with standby server:Find server and found by domain name by IP address and service Device;
Can manual configuration addressing system, can also start automatic identification addressing system;
(5) abnormality processing is connected:
The physical state change of ASON clients poll interface of internet of things, when the state of the network port is turned by LinkDown When becoming Link Up, CPU control modules re-establish socket connections;Simultaneously;The occupancy of CPU is directly checked, when detecting After CPU usage is higher, ASON client sends a warning message.
9. a kind of communications management system based on ASON unit according to claim 8, it is characterised in that:Step (2) ASON client carries out TCP and is connected with master server or standby server,
Server end is concretely comprised the following steps:
(21) master server or standby server end create socket sockets;
(22) socket is tied in the IP of master server or standby server, port numbers;
(23) socket is arranged to listening mode, waits the connection request of master server or standby server bundling port;
(24) selete function checks send connection request to ASON user end to server;
(25) master server or standby server are attached with ASON client;
(26) if selete function checks send connection request, host process obstruction to N number of ASON user end to server Wait in junction, create N-1 new process, set up new connection;
(27) master server or standby server receive the data of ASON client;
(28) master server or standby server send data to ASON client;
(29) master server or standby server end close socket sockets;
ASON client is concretely comprised the following steps:
(201) ASON client creates socket sockets;
(202) selete function checks send connection request to server to ASON client;
(203) ASON client is attached with master server or standby server;
(204) ASON client is to master server or standby server to transmission data;
(205) ASON client receives master server or standby server data;
(206) ASON client end closes socket sockets.
10. a kind of communications management system based on ASON unit according to claim 8, it is characterised in that:Step Suddenly (3) master server or standby server addressing start automatic identification addressing system, and ASON client acquiescence first selects to make Server is searched with the mode of IP address, if after timer expired, still not finding server, can transfer to use domain name Mode, search server, if now timer is also overtime, reuse the mode of IP address, iterative cycles.
CN201610867514.6A 2016-09-29 2016-09-29 Communication management method and system based on intelligent optical network unit Active CN106656436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610867514.6A CN106656436B (en) 2016-09-29 2016-09-29 Communication management method and system based on intelligent optical network unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610867514.6A CN106656436B (en) 2016-09-29 2016-09-29 Communication management method and system based on intelligent optical network unit

Publications (2)

Publication Number Publication Date
CN106656436A true CN106656436A (en) 2017-05-10
CN106656436B CN106656436B (en) 2020-05-22

Family

ID=58854722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610867514.6A Active CN106656436B (en) 2016-09-29 2016-09-29 Communication management method and system based on intelligent optical network unit

Country Status (1)

Country Link
CN (1) CN106656436B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477533A (en) * 2003-07-01 2004-02-25 江苏省高速公路经营管理中心 Network distributed express highway monitoring system based on network interconnected protocol
US20090233596A1 (en) * 2008-03-14 2009-09-17 Critical Rf, Inc System, method and program for configuring a mobile terminal to function as a two-way radio
CN102546437A (en) * 2012-02-20 2012-07-04 南京邮电大学 Internet of things platform-oriented socket implementation method
CN102801745A (en) * 2011-05-23 2012-11-28 深圳市兴天下科技有限公司 Method and system for accessing local area network WEB site by using wide area network browser
CN102916953A (en) * 2012-10-12 2013-02-06 青岛海信传媒网络技术有限公司 Method and device for realizing concurrent service on basis of TCP (transmission control protocol) connection
CN103327128A (en) * 2013-07-23 2013-09-25 百度在线网络技术(北京)有限公司 Intermediate data transmission method and system for MapReduce
CN103560922A (en) * 2013-11-18 2014-02-05 北京特立信电子技术股份有限公司 Disaster recovery method and system
CN105099559A (en) * 2015-06-19 2015-11-25 合肥华速达电子科技有限公司 Intelligent optical network unit
CN105119926A (en) * 2015-09-07 2015-12-02 中科宇图天下科技有限公司 Multichannel duplex communication method based on Socket connection

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477533A (en) * 2003-07-01 2004-02-25 江苏省高速公路经营管理中心 Network distributed express highway monitoring system based on network interconnected protocol
US20090233596A1 (en) * 2008-03-14 2009-09-17 Critical Rf, Inc System, method and program for configuring a mobile terminal to function as a two-way radio
CN102801745A (en) * 2011-05-23 2012-11-28 深圳市兴天下科技有限公司 Method and system for accessing local area network WEB site by using wide area network browser
CN102546437A (en) * 2012-02-20 2012-07-04 南京邮电大学 Internet of things platform-oriented socket implementation method
CN102916953A (en) * 2012-10-12 2013-02-06 青岛海信传媒网络技术有限公司 Method and device for realizing concurrent service on basis of TCP (transmission control protocol) connection
CN103327128A (en) * 2013-07-23 2013-09-25 百度在线网络技术(北京)有限公司 Intermediate data transmission method and system for MapReduce
CN103560922A (en) * 2013-11-18 2014-02-05 北京特立信电子技术股份有限公司 Disaster recovery method and system
CN105099559A (en) * 2015-06-19 2015-11-25 合肥华速达电子科技有限公司 Intelligent optical network unit
CN105119926A (en) * 2015-09-07 2015-12-02 中科宇图天下科技有限公司 Multichannel duplex communication method based on Socket connection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
谭翀: ""基于Socket的跨平台多服务器通信系统的设计与实现"", 《舰船电子工程》 *
陈涛 等: ""基于多线程的广播发射机远程监控系统"", 《计量与测试技术》 *

Also Published As

Publication number Publication date
CN106656436B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN109451065B (en) Soft load balancing and shunting automation system and operation method thereof
CN103477593B (en) Network system, switch and connection endpoint detection methods
CN101047514B (en) Power-receiving patch panel
US20080130517A1 (en) Intelligent automatic reconfiguration method and apparatus for network system
CN110392001B (en) Rack-level network switch
CN101951345B (en) Message transmitting method and equipment
CN106059791B (en) Link switching method of service in storage system and storage device
CN102917286A (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
CN106850286A (en) The baseboard management controller of baseboard management controller and NE management disk on veneer
CN105721546A (en) Multi-data integration service platform based on industrial Internet of Things (IoT) communication
US9384102B2 (en) Redundant, fault-tolerant management fabric for multipartition servers
CN101582902A (en) Link aggregation method and device
CN110011941B (en) Message forwarding method and device
US7660234B2 (en) Fault-tolerant medium access control (MAC) address assignment in network elements
KR100640463B1 (en) Recovering Method of Setting Value By Managing PON Network Topology Table in Apparatus involving EPON Ports
CN104639358B (en) batch network port switching method and switching system
CN109542841A (en) The method and terminal device of data snapshot are created in cluster
CN104333469A (en) Method and system for managing fiber channel (FC) sessions of storage system
CN110213402B (en) Electronic data distribution control device and method for operating such a control device
CN106656436A (en) Communication management method and system based on intelligent optical network unit
CN1327666C (en) Method and system for routing traffic in a server system
Cisco Message and Recovery Procedures
Cisco Release Notes for Catalyst 4000 Family Software Release 7.x
Cisco Release Notes for the Catalyst 4000 Family Switches, Software Release 6.x
CN109361781B (en) Message forwarding method, device, server, system and storage medium

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