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

CN108540516A - A kind of running state information acquisition methods, control terminal, the network equipment and system - Google Patents

A kind of running state information acquisition methods, control terminal, the network equipment and system Download PDF

Info

Publication number
CN108540516A
CN108540516A CN201710128367.5A CN201710128367A CN108540516A CN 108540516 A CN108540516 A CN 108540516A CN 201710128367 A CN201710128367 A CN 201710128367A CN 108540516 A CN108540516 A CN 108540516A
Authority
CN
China
Prior art keywords
network equipment
control terminal
communication interface
interface
running state
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
CN201710128367.5A
Other languages
Chinese (zh)
Other versions
CN108540516B (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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710128367.5A priority Critical patent/CN108540516B/en
Publication of CN108540516A publication Critical patent/CN108540516A/en
Application granted granted Critical
Publication of CN108540516B publication Critical patent/CN108540516B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of running state information acquisition methods of offer of the embodiment of the present invention, control terminal, the network equipment and system, the communication interface of control terminal are established with the communication interface of network equipment same type and are communicated to connect;Control terminal issues the querying command of preset data protocol format to the network equipment by communication interface;The network equipment inquires the operating status of itself according to querying command, and will issue control terminal outside obtained running state information;Control terminal receives running state information, and it shows, using the preset data protocol of above-mentioned offer, come realize the network equipment based on any communication interface running state information acquisition methods, so that developer could be aware that the operating status of the network equipment, and then fault diagnosis is carried out to the network equipment.

Description

A kind of running state information acquisition methods, control terminal, the network equipment and system
Technical field
The present invention relates to the communications field more particularly to a kind of running state information acquisition methods, control terminal, the network equipments And system.
Background technology
With the development of society, the progress of science and technology, various Embedded Network Device products emerge one after another, the maintenance to product Work proposes prodigious challenge.Currently, the control terminal of Embedded Network Device is generally based on the serial line interface of RS232, But this kind of serial line interface when product is delivered, does not provide externally only in product development stage for debugging use.In addition, due to Network security problem is required to close similar to network side access function as telnet.Therefore, if at the scene in use, The network equipment breaks down, and plant maintenance personnel will be unable to the control terminal of logging in online equipment, obtain the operation of the network equipment State and some diagnostic messages bring prodigious difficulty for the fault diagnosis of developer.
Invention content
The embodiment of the present invention mainly solving the technical problems that, provide a kind of running state information acquisition methods, control eventually End, the network equipment and system, solve the problem of the operating status that can not obtain the network equipment in the prior art.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of running state information acquisition methods, including:
It is established and is communicated to connect with the network equipment by the communication interface of the network equipment;
The querying command of preset data protocol format is issued to the network equipment by communication interface;
Receive the network equipment according to querying command return come the network equipment running state information, and show.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of running state information acquisition methods, including:
It is established and is communicated to connect with control terminal by the communication interface of control terminal;
The querying command for the preset data protocol format sent from control terminal is received by communication interface;
The operating status of the network equipment is inquired according to querying command, and will be issued outside obtained running state information Control terminal.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of running state information acquisition methods, including:
The communication interface of control terminal is established with the communication interface of network equipment same type and is communicated to connect;
Control terminal issues the querying command of preset data protocol format to the network equipment by communication interface;
The network equipment inquires the operating status of itself according to querying command, and will be outside obtained running state information Issue control terminal;
Control terminal receives running state information, and shows.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of control terminal, including:
Module is established in first communication connection, and communication link is established with the network equipment for the communication interface by the network equipment It connects;
Order issues module, and the querying command for issuing preset data protocol format by communication interface is set to network It is standby;
First receiving module, for receive the network equipment according to querying command return come the network equipment operating status believe Breath;
Display module, for showing running state information.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of network equipment, including:
Module is established in second communication connection, and communication link is established with control terminal for the communication interface by control terminal It connects;
Second receiving module, for receiving looking into for the preset data protocol format sent from control terminal by communication interface Ask order;
Enquiry module, for being inquired the operating status of the network equipment according to querying command;
Sending module, for control terminal will to be issued outside obtained running state information.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of system, including:
Control terminal is established with the network equipment for the communication interface by the network equipment and is communicated to connect, connect by communication Mouth issues the querying command of preset data protocol format to the network equipment;Receive the operation that the network equipment returns to the network equipment come Status information, and show;
The network equipment, the operating status for the operating status of itself to be inquired, and will be obtained according to querying command Control terminal is issued outside information.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of computer storage media, computer storage is situated between Computer executable instructions are stored in matter, computer executable instructions are for executing running state information acquisition side above-mentioned Method.
The beneficial effects of the invention are as follows:
A kind of running state information acquisition methods for there is provided according to embodiments of the present invention, control terminal, the network equipment and it is System, the communication interface of control terminal are established with the communication interface of network equipment same type and are communicated to connect;Control terminal passes through logical Letter interface issues the querying command of preset data protocol format to the network equipment;The network equipment is according to querying command to the fortune of itself Row state is inquired, and will issue control terminal outside obtained running state information;Control terminal receives running state information, And show, using the preset data protocol of above-mentioned offer, to realize the operation shape of the network equipment based on any communication interface The acquisition methods of state information so that developer could be aware that the operating status of the network equipment, and then carry out event to the network equipment Barrier diagnosis.
Description of the drawings
Fig. 1 is a kind of flow for running state information acquisition methods in control terminal side that the embodiment of the present invention one provides Figure;
Fig. 2 is a kind of flow of running state information acquisition methods in network equipment side provided by Embodiment 2 of the present invention Figure;
Fig. 3 is a kind of flow chart of the running state information acquisition methods for system that the embodiment of the present invention three provides;
Fig. 4 is the flow chart of the running state information acquisition methods for another system that the embodiment of the present invention three provides;
Fig. 5 is a kind of schematic diagram for control terminal that the embodiment of the present invention four provides;
Fig. 6 is a kind of schematic diagram for network equipment that the embodiment of the present invention five provides;
Fig. 7 is a kind of schematic diagram for system that the embodiment of the present invention six provides.
Specific implementation mode
The embodiment of the present invention is described in further detail below by specific implementation mode combination attached drawing.
Embodiment one
The present embodiment provides a kind of running state information acquisition methods in control terminal side, refer to Fig. 1, and Fig. 1 is this A kind of flow chart for running state information acquisition methods in control terminal side that embodiment provides, this method includes following step Suddenly:
S101:It is established and is communicated to connect with the network equipment by the communication interface of the network equipment;
Control terminal is established with the network equipment by the communication interface of the network equipment and is communicated to connect;
The network equipment includes Embedded Network Device etc..Control terminal can execute network and set for controlling the network equipment The standby order supported, such as control terminal can obtain the running state information of the network equipment with accessing network equipment.Wherein, it controls Terminal processed includes PC (personal computer, personal computer) or other handheld devices etc.;Running state information includes Operating status, diagnostic message, facility information, running log of the network equipment etc..
The communication interface of the network equipment includes Ethernet interface, wireless interface, (Universal Serial Bus lead to USB With universal serial bus) interface or other communication interfaces etc.;
Establishing communication connection with the network equipment by the communication interface of the network equipment includes:
It is connected by cable, wireless or USB data line communication interface corresponding with the network equipment;
When selecting the Ethernet interface connection network equipment and control terminal, the Ethernet of the network equipment is connect by cable Mouth is connected with the Ethernet interface of control terminal;
When selecting the wireless interface connection network equipment and when control terminal, by wirelessly by the wireless interface of the network equipment and The wireless interface of control terminal is connected;
When selecting the USB interface connection network equipment and control terminal, the USB of the network equipment is connect by USB data line Mouth is connected with the USB interface of control terminal;
The handshake message of preset data protocol format is issued to the network equipment by the communication interface of the network equipment;
The handshake message that control terminal issues preset data protocol format by the communication interface of the network equipment is set to network It is standby;
Preset data agreement between control terminal and the network equipment for being communicated;
The structure of preset data protocol format in the present embodiment is as follows:
After network equipment response handshake message, the authentication information for issuing preset data protocol format is set to network It is standby;
After network equipment response handshake message, control terminal issues the authentication information of preset data protocol format To the network equipment;
The network equipment recognizes authentication information after receiving the authentication information that control terminal is sent Card is sent to control eventually if certification success, packaged according to preset data protocol format by the successful information of authentication End;Control terminal receives the successful information of authentication that the network equipment is sent.
It is if authentification failure, the message of authentification failure is packaged according to preset data protocol format, it is sent to control eventually End.
In such a way that the network equipment carries out authentication to control terminal, it ensure that the legitimacy of control terminal, avoid The unauthorized access of certain illegal terminal-pair network equipments.
S102:The querying command of preset data protocol format is issued to the network equipment by communication interface;
The querying command that control terminal issues preset data protocol format by the communication interface of the network equipment is set to network It is standby;Querying command is for inquiring operating status, diagnostic message of the network equipment etc..
S103:Receive the network equipment according to querying command return come the network equipment running state information, and show.
The network equipment is after receiving querying command, operation that the operating status of itself is inquired, and will be obtained Control terminal is issued outside status information;
Control terminal receive the network equipment return come the network equipment running state information, and by running state information into Row display.
According to running state information acquisition methods provided in this embodiment, communication interface and the network equipment phase of control terminal The communication interface of same type establishes communication connection;The inquiry that control terminal issues preset data protocol format by communication interface is ordered It enables to the network equipment;The operating status that the network equipment is inquired to the operating status of itself according to querying command, and will be obtained Control terminal is issued outside information;Control terminal receives running state information, and shows, is assisted using the preset data of above-mentioned offer View, come realize the network equipment based on any communication interface running state information acquisition methods so that developer can be with The operating status of aware networks equipment, and then fault diagnosis is carried out to the network equipment.
Further, since many communication interfaces of Embedded Network Device all externally provide, such as Ethernet interface, nothing Line interface, USB interface etc. are easier by these interfaces to connect the network equipment, so developer is communicated by these Interface carrys out accessing network equipment can be relatively convenient.
Embodiment two
The present embodiment provides a kind of running state information acquisition methods in network equipment side, refer to Fig. 2, and Fig. 2 is this A kind of flow chart for running state information acquisition methods that embodiment provides, this approach includes the following steps:
S201:It is established and is communicated to connect with control terminal by the communication interface of control terminal;
The network equipment is established with control terminal by the communication interface of control terminal and is communicated to connect;
The network equipment includes Embedded Network Device etc..Control terminal can execute network and set for controlling the network equipment The standby order supported, such as control terminal can obtain the running state information of the network equipment with accessing network equipment.Wherein, it controls Terminal processed includes PC or other handheld devices etc.;Running state information includes the operating status of the network equipment, diagnostic message, sets Standby information, running log etc..
The communication interface of control terminal includes Ethernet interface, wireless interface, USB interface or other communication interfaces etc.;
Establishing communication connection with control terminal by the communication interface of control terminal includes:
It is connected by cable, wireless or USB data line communication interface corresponding with control terminal;
When selecting the Ethernet interface connection network equipment and control terminal, the Ethernet of the network equipment is connect by cable Mouth is connected with the Ethernet interface of control terminal;
When selecting the wireless interface connection network equipment and when control terminal, by wirelessly by the wireless interface of the network equipment and The wireless interface of control terminal is connected;
When selecting the USB interface connection network equipment and control terminal, the USB of the network equipment is connect by USB data line Mouth is connected with the USB interface of control terminal;
After the handshake message for receiving the preset data protocol format that control terminal is sent, response handshake message is given Control terminal;
Preset data agreement between control terminal and the network equipment for being communicated;
The structure of preset data protocol format in the present embodiment is as follows:
After the authentication information for receiving the preset data protocol format that control terminal is sent, to authentication Information is authenticated, if certification success, packaged according to preset data protocol format by the successful information of authentication, is sent To control terminal.
It is if authentification failure, the message of authentification failure is packaged according to preset data protocol format, it is sent to control eventually End.
In such a way that the network equipment carries out authentication to control terminal, it ensure that the legitimacy of control terminal, avoid The unauthorized access of certain illegal terminal-pair network equipments.
S202:The querying command for the preset data protocol format sent from control terminal is received by communication interface;
The network equipment receives the preset data protocol format sent from control terminal by the communication interface of control terminal Querying command;Querying command is for inquiring operating status, diagnostic message of the network equipment etc..
S203:The running state information that the operating status of the network equipment is inquired, and will obtained according to querying command Issue control terminal outside;
The network equipment is after receiving querying command, operation that the operating status of itself is inquired, and will be obtained Control terminal is issued outside status information.
According to running state information acquisition methods provided in this embodiment, communication interface and the network equipment phase of control terminal The communication interface of same type establishes communication connection;The inquiry that control terminal issues preset data protocol format by communication interface is ordered It enables to the network equipment;The operating status that the network equipment is inquired to the operating status of itself according to querying command, and will be obtained Control terminal is issued outside information;Control terminal receives running state information, and shows, is assisted using the preset data of above-mentioned offer View, come realize the network equipment based on any communication interface running state information acquisition methods so that developer can be with The operating status of aware networks equipment, and then fault diagnosis is carried out to the network equipment.
Further, since many communication interfaces of Embedded Network Device all externally provide, such as Ethernet interface, nothing Line interface, USB interface etc. are easier by these interfaces to connect the network equipment, so developer is communicated by these Interface carrys out accessing network equipment can be relatively convenient.
Embodiment three
The present embodiment provides a kind of running state information acquisition methods of system, refer to Fig. 3, and Fig. 3 carries for the present embodiment A kind of flow chart of the running state information acquisition methods supplied, this approach includes the following steps:
S301:The communication interface of control terminal is established with the communication interface of network equipment same type and is communicated to connect;
System includes control terminal and the network equipment.The network equipment includes Embedded Network Device etc..Control terminal is used for The network equipment is controlled, the order of network equipment support can be executed, such as control terminal can obtain network with accessing network equipment The running state information of equipment.Wherein, control terminal includes PC or other handheld devices etc.;Running state information includes network Operating status, diagnostic message, facility information, running log of equipment etc..
The communication interface of the network equipment includes Ethernet interface, wireless interface, USB interface or other communication interfaces etc.;
The communication interface of control terminal includes Ethernet interface, wireless interface, USB interface or other communication interfaces etc.;
When control terminal and the network equipment establish communication connection, the communication interface and the network equipment of the control terminal of selection Communication interface type it is identical;Such as when the communication interface of the control terminal selected for Ethernet interface when, the network equipment Communication interface also needs as Ethernet interface;When the communication interface of the control terminal selected for wireless interface when, the network equipment it is logical Letter interface also needs as wireless interface.
The communication interface of the communication interface of control terminal and network equipment same type establishes communication connection and includes:
The communication interface of control terminal passes through cable, wireless or USB data line communication interface phase corresponding with the network equipment Even;
When selecting the Ethernet interface connection network equipment and control terminal, the Ethernet of the network equipment is connect by cable Mouth is connected with the Ethernet interface of control terminal;
When selecting the wireless interface connection network equipment and when control terminal, by wirelessly by the wireless interface of the network equipment and The wireless interface of control terminal is connected;
When selecting the USB interface connection network equipment and control terminal, the USB of the network equipment is connect by USB data line Mouth is connected with the USB interface of control terminal;
The handshake message that control terminal issues preset data protocol format by the communication interface of the network equipment is set to network It is standby;
Preset data agreement between control terminal and the network equipment for being communicated;
The structure of preset data protocol format in the present embodiment is as follows:
After network equipment response handshake message, control terminal issues the authentication information of preset data protocol format To the network equipment;
The network equipment recognizes authentication information after receiving the authentication information that control terminal is sent Card is sent to control eventually if certification success, packaged according to preset data protocol format by the successful information of authentication End;Control terminal receives the successful information of authentication that the network equipment is sent.
It is if authentification failure, the message of authentification failure is packaged according to preset data protocol format, it is sent to control eventually End.
In such a way that the network equipment carries out authentication to control terminal, it ensure that the legitimacy of control terminal, avoid The unauthorized access of certain illegal terminal-pair network equipments.
S302:Control terminal issues the querying command of preset data protocol format to the network equipment by communication interface;
Querying command is for inquiring operating status, diagnostic message of the network equipment etc..
S303:The operating status that the network equipment is inquired to the operating status of itself according to querying command, and will be obtained Control terminal is issued outside information;
S304:Control terminal receives running state information, and shows.
Example is for a specific example further described this programme below.
As shown in figure 4, Fig. 4 is a kind of flow chart for running state information acquisition methods that this example provides,
S401:Preset data agreement is defined, preset data agreement between control terminal and the network equipment for being communicated;
S402:Control terminal, network equipment electrifying startup, and installation logs in tool in control terminal;
S403:The wireless interface of control terminal is connected with the wireless interface of the network equipment, and is correctly arranged, really Protecting the two can normal communication;
S404:Tool is logged in operation control terminal, the options of wireless interface is selected on logging in tool, is then stepped on Land tool is sent to the network equipment according to the packaged handshake message of format of preset data agreement;
S405:Network equipment response handshake message;
S406:The tool demands user that logs in control terminal inputs account and password, and by account input by user and Password is sent to the network equipment according to the format of preset data agreement;
S407:The network equipment is authenticated account and password, if authentification failure, by the information of authentification failure according to The format of preset data agreement is packaged, is sent to control terminal, and flow terminates;If certification success, according to scheduled calculation Method obtains session id, and session id is packaged according to the format of preset data agreement, is sent to control terminal;
S408:After session id is sent to control terminal by the network equipment, the network equipment is according to preset data agreement Format is packaged the starting log data of own system, and the head of preset data agreement is added in the data header for needing to forward Then portion is sent to control terminal by wireless interface;
S409:The tool that logs in control terminal receives the data, and according to preset data agreement to the data that receive It is parsed, after the head of preset data agreement is divested, takes out actually active data, it is then that real data is corresponding interior Appearance is shown on the tool of logging in, and developer can see the daily record of system operation on logging in tool;
S410:In the order that logging on tool for control terminal, the input network equipment are supported, the tool of logging in will be according to default Data protocol is packaged data, adds the head of preset data agreement in the data header for needing to forward, then passes through nothing Line interface is sent to the network equipment;
S411:The network equipment parses the network data received, and real data is then transmitted to the network equipment System wait for the process of standard input, handled by it, obtain that treated as a result, and according to customized data protocol To treated, result data is packaged, and is then sent to control terminal by wireless interface;
System wait for standard input process can in acquisition system each User space process standard output and kernel The log information of state output;
S412:The tool that logs in of control terminal receives the network data, and is parsed, and is then logging in real data It is shown on tool, developer can see the implementing result of order on logging in tool;
S413:Terminate session, log in means disconnects.
According to running state information acquisition methods provided in this embodiment, communication interface and the network equipment phase of control terminal The communication interface of same type establishes communication connection;The inquiry that control terminal issues preset data protocol format by communication interface is ordered It enables to the network equipment;The operating status that the network equipment is inquired to the operating status of itself according to querying command, and will be obtained Control terminal is issued outside information;Control terminal receives running state information, and shows, is assisted using the preset data of above-mentioned offer View, come realize the network equipment based on any communication interface running state information acquisition methods so that developer can be with The operating status of aware networks equipment, and then fault diagnosis is carried out to the network equipment.
Further, since many communication interfaces of Embedded Network Device all externally provide, such as Ethernet interface, nothing Line interface, USB interface etc. are easier by these interfaces to connect the network equipment, so developer is communicated by these Interface carrys out accessing network equipment can be relatively convenient.
Example IV
The present embodiment provides a kind of control terminals, refer to Fig. 5, and Fig. 5 is a kind of control terminal provided in this embodiment Schematic diagram, the control terminal include:
Module 501 is established in first communication connection, is communicated with network equipment foundation for the communication interface by the network equipment Connection;
The network equipment includes Embedded Network Device etc..Control terminal can execute network and set for controlling the network equipment The standby order supported, such as control terminal can obtain the running state information of the network equipment with accessing network equipment.Wherein, it controls Terminal processed includes PC or other handheld devices etc.;Running state information includes the operating status of the network equipment, diagnostic message, sets Standby information, running log etc..
The communication interface of the network equipment includes Ethernet interface, wireless interface, USB interface or other communication interfaces etc.;
Communication connection establishes module 501 and includes:
First connection submodule 5011 connects for passing through the communication corresponding with the network equipment of cable, wireless or USB data line Mouth is connected;
When selecting the Ethernet interface connection network equipment and control terminal, the Ethernet of the network equipment is connect by cable Mouth is connected with the Ethernet interface of control terminal;
When selecting the wireless interface connection network equipment and when control terminal, by wirelessly by the wireless interface of the network equipment and The wireless interface of control terminal is connected;
When selecting the USB interface connection network equipment and control terminal, the USB of the network equipment is connect by USB data line Mouth is connected with the USB interface of control terminal;
Handshake message issues submodule 5012, the handshake message for issuing preset data protocol format by communication interface To the network equipment;
Preset data agreement between control terminal and the network equipment for being communicated;
The structure of preset data protocol format in the present embodiment is as follows:
Authentication information issues submodule 5013, for after network equipment response handshake message, issuing present count According to the authentication information of protocol format to the network equipment;
The network equipment recognizes authentication information after receiving the authentication information that control terminal is sent Card is sent to control eventually if certification success, packaged according to preset data protocol format by the successful information of authentication End;
Receiving submodule 5014, for receiving the successful information of authentication that the network equipment is sent;
It is if authentification failure, the message of authentification failure is packaged according to preset data protocol format, it is sent to control eventually End.
In such a way that the network equipment carries out authentication to control terminal, it ensure that the legitimacy of control terminal, avoid The unauthorized access of certain illegal terminal-pair network equipments.
Order issues module 502, for issuing the querying command of preset data protocol format by communication interface to network Equipment;
Querying command is for inquiring operating status, diagnostic message of the network equipment etc..
First receiving module 503, for receive the network equipment according to querying command return come the network equipment operation shape State information;
The network equipment is after receiving querying command, operation that the operating status of itself is inquired, and will be obtained Control terminal is issued outside status information;
Display module 504, for showing running state information.
According to control terminal provided in this embodiment, the communication of the communication interface and network equipment same type of control terminal Interface establishes communication connection;The querying command that control terminal issues preset data protocol format by communication interface is set to network It is standby;The network equipment inquires the operating status of itself according to querying command, and will be issued outside obtained running state information Control terminal;Control terminal receives running state information, and shows, using the preset data protocol of above-mentioned offer, to realize The acquisition methods of the running state information of the network equipment based on any communication interface so that developer could be aware that network is set Standby operating status, and then fault diagnosis is carried out to the network equipment.
Further, since many communication interfaces of Embedded Network Device all externally provide, such as Ethernet interface, nothing Line interface, USB interface etc. are easier by these interfaces to connect the network equipment, so developer is communicated by these Interface carrys out accessing network equipment can be relatively convenient.
Embodiment five
The present embodiment provides a kind of network equipments, refer to Fig. 6, and Fig. 6 is a kind of network equipment provided in this embodiment Schematic diagram, the network equipment include:
Module 601 is established in second communication connection, is communicated with control terminal foundation for the communication interface by control terminal Connection;
The network equipment includes Embedded Network Device etc..Control terminal can execute network and set for controlling the network equipment The standby order supported, such as control terminal can obtain the running state information of the network equipment with accessing network equipment.Wherein, it controls Terminal processed includes PC or other handheld devices etc.;Running state information includes the operating status of the network equipment, diagnostic message, sets Standby information, running log etc..
The communication interface of control terminal includes Ethernet interface, wireless interface, USB interface or other communication interfaces etc.;
Second communication connection establishes module 601 and includes:
Second connection submodule 6011 connects for passing through the communication corresponding with control terminal of cable, wireless or USB data line Mouth is connected;
When selecting the Ethernet interface connection network equipment and control terminal, the Ethernet of the network equipment is connect by cable Mouth is connected with the Ethernet interface of control terminal;
When selecting the wireless interface connection network equipment and when control terminal, by wirelessly by the wireless interface of the network equipment and The wireless interface of control terminal is connected;
When selecting the USB interface connection network equipment and control terminal, the USB of the network equipment is connect by USB data line Mouth is connected with the USB interface of control terminal;
Response submodule 6012, in the handshake message for receiving the preset data protocol format that control terminal is sent Later, response handshake message is to control terminal;
Preset data agreement between control terminal and the network equipment for being communicated;
The structure of preset data protocol format in the present embodiment is as follows:
Authentication sub module 6013, in the authentication for receiving the preset data protocol format that control terminal is sent After information, authentication information is authenticated;
If the successful information of authentication is sent to control terminal by sending submodule 6014 for certification success.
It is if authentification failure, the message of authentification failure is packaged according to preset data protocol format, it is sent to control eventually End.
In such a way that the network equipment carries out authentication to control terminal, it ensure that the legitimacy of control terminal, avoid The unauthorized access of certain illegal terminal-pair network equipments.
Second receiving module 602, for receiving the preset data protocol format sent from control terminal by communication interface Querying command;
Querying command is for inquiring operating status, diagnostic message of the network equipment etc..
Enquiry module 603, for being inquired the operating status of the network equipment according to querying command;
Sending module 604, for control terminal will to be issued outside obtained running state information.
According to the network equipment provided in this embodiment, the communication of the communication interface and network equipment same type of control terminal Interface establishes communication connection;The querying command that control terminal issues preset data protocol format by communication interface is set to network It is standby;The network equipment inquires the operating status of itself according to querying command, and will be issued outside obtained running state information Control terminal;Control terminal receives running state information, and shows, using the preset data protocol of above-mentioned offer, to realize The acquisition methods of the running state information of the network equipment based on any communication interface so that developer could be aware that network is set Standby operating status, and then fault diagnosis is carried out to the network equipment.
Further, since many communication interfaces of Embedded Network Device all externally provide, such as Ethernet interface, nothing Line interface, USB interface etc. are easier by these interfaces to connect the network equipment, so developer is communicated by these Interface carrys out accessing network equipment can be relatively convenient.
Embodiment six
The present embodiment provides a kind of systems, refer to Fig. 7, and Fig. 7 is a kind of schematic diagram of system provided in this embodiment, should System includes control terminal 701 and the network equipment 702;
Control terminal 701 is established with the network equipment 702 for the communication interface by the network equipment 702 and is communicated to connect, leads to It crosses communication interface and issues the querying command of preset data protocol format to the network equipment 702;Receive what the return of the network equipment 702 came The running state information of the network equipment 702, and show;
Wherein, querying command is for inquiring operating status, diagnostic message of the network equipment 702 etc..
The network equipment 702, the operation shape for inquiring the operating status of itself according to querying command, and obtaining Control terminal 701 is issued outside state information.
The network equipment 702 is including Embedded Network Device etc..Control terminal 701 can be held for controlling the network equipment 702 The order that the row network equipment 702 is supported, such as control terminal 701 can obtain the network equipment 702 with accessing network equipment 702 Running state information.Wherein, control terminal 701 includes PC or other handheld devices etc.;Running state information includes that network is set Standby 702 operating status, diagnostic message, facility information, running log etc..
The communication interface of the network equipment 702 includes Ethernet interface, wireless interface, USB interface or other communication interfaces Deng;
The communication interface of control terminal 701 includes Ethernet interface, wireless interface, USB interface or other communication interfaces Deng;
When control terminal 701 and the network equipment 702 establish communication connection, the communication interface of the control terminal 701 of selection It is identical as the type of the communication interface of the network equipment 702;Such as when the communication interface of the control terminal 701 selected connects for Ethernet When mouth, the communication interface of the network equipment 702 also needs as Ethernet interface;When the communication interface of the control terminal 701 selected is nothing When line interface, the communication interface of the network equipment 702 also needs as wireless interface.
Control terminal 701 establishes communication connection by the communication interface of the network equipment 702 with the network equipment 702:
The communication interface of control terminal 701 passes through cable, wireless or USB data line communication corresponding with the network equipment 702 Interface is connected;
When selecting the Ethernet interface connection network equipment 702 and when control terminal 701, by cable by the network equipment 702 Ethernet interface be connected with the Ethernet interface of control terminal 701;
When selecting the wireless interface connection network equipment 702 and control terminal 701, by wirelessly by the network equipment 702 Wireless interface is connected with the wireless interface of control terminal 701;
When selecting the USB interface connection network equipment 702 and when control terminal 701, by USB data line by the network equipment 702 USB interface is connected with the USB interface of control terminal 701;
Control terminal 701 by the communication interface of the network equipment 702 issue the handshake message of preset data protocol format to The network equipment 702;
Preset data agreement between control terminal 701 and the network equipment 702 for being communicated;
The structure of preset data protocol format in the present embodiment is as follows:
After 702 response handshake message of the network equipment, the identity that control terminal 701 issues preset data protocol format is recognized Information is demonstrate,proved to the network equipment 702;
The network equipment 702 after receiving the authentication information that control terminal 701 is sent, to authentication information into Row certification is sent to control if certification success, packaged according to preset data protocol format by the successful information of authentication Terminal 701;Control terminal 701 receives the successful information of authentication that the network equipment 702 is sent.
It is if authentification failure, the message of authentification failure is packaged according to preset data protocol format, it is sent to control eventually End 701.
In such a way that the network equipment 702 carries out authentication to control terminal 701, the conjunction of control terminal 701 ensure that Method avoids the unauthorized access of certain illegal terminal-pair network equipments 702.
According to system provided in this embodiment, the communication interface of control terminal 701 and leading to for 702 same type of the network equipment Believe that interface establishes communication connection;Control terminal 701 issues the querying command of preset data protocol format to net by communication interface Network equipment 702;The operating status that the network equipment 702 is inquired to the operating status of itself according to querying command, and will be obtained Control terminal 701 is issued outside information;Control terminal 701 receives running state information, and shows, using the preset of above-mentioned offer Data protocol, come realize the network equipment 702 based on any communication interface running state information acquisition methods so that exploitation Personnel could be aware that the operating status of the network equipment 702, and then carry out fault diagnosis to the network equipment 702.
Further, since many communication interfaces of Embedded Network Device all externally provide, such as Ethernet interface, nothing Line interface, USB interface etc. are easier by these interfaces to connect the network equipment 702, so developer is logical by these Letter interface carrys out accessing network equipment 702 can be relatively convenient.
Obviously, those skilled in the art should be understood that each module of the embodiments of the present invention or each step can be used General computing device realizes that they can be concentrated on a single computing device, or be distributed in multiple computing device institutes On the network of composition, optionally, they can be realized with the program code that computing device can perform, it is thus possible to by them It is stored in storage medium (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, it can be with not The sequence being same as herein executes shown or described step, or they are fabricated to each integrated circuit modules, or Person by them multiple modules or step be fabricated to single integrated circuit module and realize.So the present invention is not limited to appoint What specific hardware and software combines.
It cannot recognize being further described made by the embodiment of the present invention the above content is specific embodiment is combined The specific implementation of the fixed present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, Without departing from the inventive concept of the premise, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the present invention Protection domain.

Claims (10)

1. a kind of running state information acquisition methods, including:
It is established and is communicated to connect with the network equipment by the communication interface of the network equipment;
The querying command of preset data protocol format is issued to the network equipment by the communication interface;
Receive the network equipment according to the querying command return come the network equipment running state information, and show Show.
2. running state information acquisition methods as described in claim 1, which is characterized in that
The communication interface includes Ethernet interface, wireless interface or Universal Serial Bus Interface;
The communication interface by the network equipment establishes communication connection with the network equipment:
It is connected by cable, wireless or data line of universal serial bus communication interface corresponding with the network equipment;
The handshake message of the preset data protocol format is issued to the network equipment by the communication interface;
After the network equipment response handshake message, the authentication information of the preset data protocol format is issued to institute State the network equipment;
Receive the successful information of authentication that the network equipment is sent.
3. a kind of running state information acquisition methods, including:
It is established and is communicated to connect with the control terminal by the communication interface of control terminal;
The querying command for the preset data protocol format sent from the control terminal is received by the communication interface;
The operating status of the network equipment is inquired according to the querying command, and will be issued outside obtained running state information The control terminal.
4. running state information acquisition methods as claimed in claim 3, which is characterized in that
The communication interface includes Ethernet interface, wireless interface or Universal Serial Bus Interface;
The communication interface by control terminal establishes communication connection with the control terminal:
It is connected by cable, wireless or data line of universal serial bus communication interface corresponding with the control terminal;
After the handshake message for receiving the preset data protocol format that the control terminal is sent, response is shaken hands report Text gives the control terminal;
After the authentication information for receiving the preset data protocol format that the control terminal is sent, to described Authentication information is authenticated, if certification success, the control terminal is sent to by the successful information of authentication.
5. a kind of running state information acquisition methods, including:
The communication interface of control terminal is established with the communication interface of network equipment same type and is communicated to connect;
The control terminal issues the querying command of preset data protocol format to the network equipment by the communication interface;
The network equipment inquires the operating status of itself according to the querying command, and obtained operating status is believed Breath is outer to issue the control terminal;
The control terminal receives the running state information, and shows.
6. a kind of control terminal, including:
Module is established in first communication connection, and communication link is established with the network equipment for the communication interface by the network equipment It connects;
Order issues module, for issuing the querying command of preset data protocol format by the communication interface to the network Equipment;
First receiving module, for receive the network equipment according to the querying command return come the network equipment fortune Row status information;
Display module, for showing the running state information.
7. control terminal as claimed in claim 6, which is characterized in that
The communication interface includes Ethernet interface, wireless interface or Universal Serial Bus Interface;
The communication connection establishes module and includes:
First connection submodule, for corresponding with the network equipment by cable, wireless or data line of universal serial bus Communication interface is connected;
Handshake message issues submodule, the handshake message for issuing the preset data protocol format by the communication interface To the network equipment;
Authentication information issues submodule, for after the network equipment response handshake message, issuing the present count The network equipment is given according to the authentication information of protocol format;
Receiving submodule, for receiving the successful information of authentication that the network equipment is sent.
8. a kind of network equipment, including:
Module is established in second communication connection, and communication link is established with the control terminal for the communication interface by control terminal It connects;
Second receiving module, for receiving the preset data protocol format sent from the control terminal by the communication interface Querying command;
Enquiry module, for being inquired the operating status of the network equipment according to the querying command;
Sending module, for the control terminal will to be issued outside obtained running state information.
9. the network equipment as claimed in claim 8, which is characterized in that
The communication interface includes Ethernet interface, wireless interface or Universal Serial Bus Interface;
Second communication connection establishes module and includes:
Second connection submodule, for corresponding with the control terminal by cable, wireless or data line of universal serial bus Communication interface is connected;
Response submodule, in the handshake message for receiving the preset data protocol format that the control terminal is sent Later, response handshake message gives the control terminal;
Authentication sub module, in the authentication for receiving the preset data protocol format that the control terminal is sent After information, the authentication information is authenticated;
If the successful information of authentication is sent to the control terminal by sending submodule for certification success.
10. a kind of system, including:
Control terminal is established with the network equipment for the communication interface by the network equipment and is communicated to connect, by described logical Letter interface issues the querying command of preset data protocol format to the network equipment;It receives the network equipment and returns to the institute of coming The running state information of the network equipment is stated, and is shown;
The network equipment, the operating status for the operating status of itself to be inquired, and will be obtained according to the querying command The control terminal is issued outside information.
CN201710128367.5A 2017-03-06 2017-03-06 Running state information acquisition method, control terminal, network equipment and system Active CN108540516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710128367.5A CN108540516B (en) 2017-03-06 2017-03-06 Running state information acquisition method, control terminal, network equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710128367.5A CN108540516B (en) 2017-03-06 2017-03-06 Running state information acquisition method, control terminal, network equipment and system

Publications (2)

Publication Number Publication Date
CN108540516A true CN108540516A (en) 2018-09-14
CN108540516B CN108540516B (en) 2023-07-04

Family

ID=63489586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710128367.5A Active CN108540516B (en) 2017-03-06 2017-03-06 Running state information acquisition method, control terminal, network equipment and system

Country Status (1)

Country Link
CN (1) CN108540516B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958333A (en) * 2020-02-25 2020-04-03 湖南中车时代通信信号有限公司 File acquisition method and device
CN112087344A (en) * 2019-06-13 2020-12-15 烽火通信科技股份有限公司 State data acquisition method and system
CN115333977A (en) * 2022-08-11 2022-11-11 南京国电南自电网自动化有限公司 System diagnosis channel realization method and device based on network interface

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320136A1 (en) * 2004-06-29 2008-12-25 Avocent Fremont Corp. System and method for consolidating, securing and automating out-of-band access to nodes in a data network
CN101741636A (en) * 2009-12-22 2010-06-16 中国科学院长春光学精密机械与物理研究所 Computer network monitoring system using chip TMS320F2812
CN102170370A (en) * 2011-04-29 2011-08-31 中山大学 Home-gateway-based network management realization method
CN102478797A (en) * 2010-11-22 2012-05-30 中国科学院空间科学与应用研究中心 Monitoring system capable of configuring communication protocol
CN102638366A (en) * 2012-03-12 2012-08-15 中兴通讯股份有限公司 Network equipment management system and method
CN102722468A (en) * 2012-05-28 2012-10-10 成都睿联智居电子科技有限公司 Method for acquiring and updating configuration for network equipment
CN102932193A (en) * 2012-11-28 2013-02-13 迈普通信技术股份有限公司 Network device, management terminal and configuration management system
CN103123485A (en) * 2012-12-26 2013-05-29 上海迪爱斯通信设备有限公司 Intelligent data acquisition and control terminal and Internet of Things system with same
CN103179027A (en) * 2011-12-22 2013-06-26 中兴通讯股份有限公司 Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway
CN103442250A (en) * 2013-07-30 2013-12-11 Tcl光电科技(惠州)有限公司 System and method for debugging television
CN103684869A (en) * 2013-12-21 2014-03-26 中电科航空电子有限公司 Method and device for reporting status information of multi-interface airborne equipment
CN105227531A (en) * 2014-06-27 2016-01-06 中兴通讯股份有限公司 A kind of acquisition methods of vital sign data, Apparatus and system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080320136A1 (en) * 2004-06-29 2008-12-25 Avocent Fremont Corp. System and method for consolidating, securing and automating out-of-band access to nodes in a data network
CN101741636A (en) * 2009-12-22 2010-06-16 中国科学院长春光学精密机械与物理研究所 Computer network monitoring system using chip TMS320F2812
CN102478797A (en) * 2010-11-22 2012-05-30 中国科学院空间科学与应用研究中心 Monitoring system capable of configuring communication protocol
CN102170370A (en) * 2011-04-29 2011-08-31 中山大学 Home-gateway-based network management realization method
CN103179027A (en) * 2011-12-22 2013-06-26 中兴通讯股份有限公司 Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway
CN102638366A (en) * 2012-03-12 2012-08-15 中兴通讯股份有限公司 Network equipment management system and method
CN102722468A (en) * 2012-05-28 2012-10-10 成都睿联智居电子科技有限公司 Method for acquiring and updating configuration for network equipment
CN102932193A (en) * 2012-11-28 2013-02-13 迈普通信技术股份有限公司 Network device, management terminal and configuration management system
CN103123485A (en) * 2012-12-26 2013-05-29 上海迪爱斯通信设备有限公司 Intelligent data acquisition and control terminal and Internet of Things system with same
CN103442250A (en) * 2013-07-30 2013-12-11 Tcl光电科技(惠州)有限公司 System and method for debugging television
CN103684869A (en) * 2013-12-21 2014-03-26 中电科航空电子有限公司 Method and device for reporting status information of multi-interface airborne equipment
CN105227531A (en) * 2014-06-27 2016-01-06 中兴通讯股份有限公司 A kind of acquisition methods of vital sign data, Apparatus and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087344A (en) * 2019-06-13 2020-12-15 烽火通信科技股份有限公司 State data acquisition method and system
CN112087344B (en) * 2019-06-13 2022-04-29 烽火通信科技股份有限公司 State data acquisition method and system
CN110958333A (en) * 2020-02-25 2020-04-03 湖南中车时代通信信号有限公司 File acquisition method and device
CN115333977A (en) * 2022-08-11 2022-11-11 南京国电南自电网自动化有限公司 System diagnosis channel realization method and device based on network interface
CN115333977B (en) * 2022-08-11 2023-08-15 南京国电南自电网自动化有限公司 Method and device for realizing system diagnosis channel based on network interface

Also Published As

Publication number Publication date
CN108540516B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
DE60220665T2 (en) METHOD AND SYSTEM FOR CONNECTING A CONNECTION BETWEEN A PERSONNEL SECURITY DEVICE AND A REMOTE COMPUTER SYSTEM
CN103916412B (en) A kind of method and system of information technoloy equipment novel maintenance
CN102298536B (en) Remote control method, device and system
CN108540516A (en) A kind of running state information acquisition methods, control terminal, the network equipment and system
CN107358506A (en) Product customization method, apparatus and equipment for customizing
CN103428211A (en) Network authentication system on basis of switchboards and authentication method for network authentication system
CN107493189A (en) A kind of remote failure processing method and system
CN103795681B (en) Video equipment collocation method and system, video equipment, video information server
CN102859968A (en) Method for operating, monitoring and/or configuring an automation system of a technical plant
CN102170366B (en) Method, device and system for communicating with single board
CN109120405A (en) A kind of terminal security cut-in method, apparatus and system
CN101719991B (en) Video matrix protocol converter
CN102377731A (en) Virtual private network system and network device thereof
CN103152199A (en) Method and system for remote batch configuration of network devices
CN103384246A (en) Safety supervision system login assistant method
CN212302479U (en) Encryption device
CN104022901B (en) Method of configuring and managing ONU (Optical Network Unit) module of state grid concentrator by utilizing PLC (Programmable Logic Controller)
CN202918498U (en) SIM card adapter, mobile terminal and digital signature authentication system
CN108924112A (en) A kind of method for connecting network and device
Cisco Configuring Terminal Lines and Modem Support
CN103561355B (en) A kind of system method to set up and electronic equipment
CN114328353A (en) WEB interactive serial port communication framework
CN107454111A (en) Safety certificate equipment and its method of work
CN115225681A (en) Multi-robot cooperation method, electronic device, cloud server and storage medium
CN101883216A (en) Network camera control system and network camera control method

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