CN101257524A - Terminal, communication apparatus and method for recognizing terminal operating status - Google Patents

Terminal, communication apparatus and method for recognizing terminal operating status Download PDF

Info

Publication number
CN101257524A
CN101257524A CNA200810102781XA CN200810102781A CN101257524A CN 101257524 A CN101257524 A CN 101257524A CN A200810102781X A CNA200810102781X A CN A200810102781XA CN 200810102781 A CN200810102781 A CN 200810102781A CN 101257524 A CN101257524 A CN 101257524A
Authority
CN
China
Prior art keywords
terminal
operating state
interface
identification information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA200810102781XA
Other languages
Chinese (zh)
Inventor
任东华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CNA200810102781XA priority Critical patent/CN101257524A/en
Publication of CN101257524A publication Critical patent/CN101257524A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an identification method for a terminal, a communication apparatus and the terminal operating status. The terminal operating status identification method includes: receiving operating status identification information for identifying whether the terminal is closed or not from the terminal through detecting lines; and identifying the operating status of the terminal based on the operating status identification information. A terminal server or a router in the technical proposal of this invention identifies terminal operating status based on the operating status identification information which are sent by the terminal through detecting lines, if the identification shows that the terminal is closed, the terminal TCP connection with the host is disconnected and the host releases the resources occupied by the terminal, thus realizing the purpose of proper resources distribution performed by the host and enhanced resources utilization efficiency, as well as efficiently ensuring information security of the legal subscriber in the terminal, and improving the safety of terminal services.

Description

The recognition methods of terminal, communication equipment and terminal operating status
Technical field
The present invention relates to network communication field, the recognition methods of particularly a kind of terminal, communication equipment and terminal operating status.
Background technology
In existing network service, data terminal equipment (Data Terminal Equipment, hereinafter to be referred as: DTE) (Data Circuit-terminal Equipment, using more hereinafter to be referred as: transfer of data DCE) is the RS-232 interface standard with data circuit terminating equipment.Fig. 1 is the structural representation of the communication system be made up of DTE and DCE in the prior art; as shown in Figure 1; in each interface pin according to the RS-232 interface standard definition; 10 higher interface pin of frequency of utilization are respectively protection ground (Protective Ground; hereinafter to be referred as: PG) interface; send data (Transmit Data; hereinafter to be referred as: TxD) interface; receive data (Received Data; hereinafter to be referred as RxD) interface; request sends (Request To Send; hereinafter to be referred as: RTS) interface; allow to send (Clear ToSend; hereinafter to be referred as: CTS) interface; data set ready (Data Set Ready; hereinafter to be referred as: DSR) interface; signal ground (Signal Ground; hereinafter to be referred as: SG) interface; carrier wave detects (DataCarrier Detect; hereinafter to be referred as: DCD) interface; data terminal ready (Data Terminal Ready; hereinafter to be referred as: DTR) interface and ring indication (Ring Indicator, hereinafter to be referred as: RI) interface.What RS-232 interface adopted is the asynchronous serial communication mode.In asynchronous serial communication, asynchronous terminal comprises mainboard, display and keyboard as DTE, and mainboard is provided with asynchronous communication interface, and asynchronous terminal connects by this asynchronous communication interface and main frame, to finish the transmission of data.Wherein, asynchronous communication interface on the asynchronous terminal can be directly and the asynchronous communication interface on the main frame communicate, also can be connected to remote MODEM by asynchronous modem controller (MODEM), carry out telecommunication by the asynchronous communication interface on remote MODEM and the main frame again, these two kinds is traditional connected mode with the main frame ways of connecting; Development along with wan technology, asynchronous communication interface on the asynchronous terminal can be connected to the terminal server that is provided with asynchronous communication interface, this terminal server is connected with router by Ethernet interface, this router is connected with main frame by remote router and carries out telecommunication, perhaps the asynchronous communication interface on the asynchronous terminal can also be connected to the router that is provided with asynchronous communication interface, this router is connected with main frame by remote router and carries out telecommunication, under two of terminal and main frame kinds of connected modes, terminal server or router can provide Terminal Service in the wide area network.
Main frame needed Resources allocation and the user of terminal is authenticated before providing business to terminal.In safe business, need the start of terminal server or router identification terminal, and when receiving the character of the some that terminal sends, initiate transmission control protocol (TransmissionControl Protocol to main frame, hereinafter to be referred as: TCP) connection request, main frame receives that setting up TCP behind the TCP connection request connects, to the terminal distribution resource and require authentification of user; During terminal closedown, after being identified terminal and shut down by terminal server or router, disconnect and being connected with the TCP of main frame, main frame detects the resource that is released to this terminal distribution after terminal server or the router disconnection TCP connection.
At present, terminal server or router adopt software flow control mode and asynchronous terminal to communicate usually.Under the software flow control mode, carry out transfer of data by TxD interface, RxD interface and the SG interface of asynchronous terminal and the asynchronous communication interface of terminal server or router, just can realize and main frame between data communication, therefore, do not use other interface of RS-232 interface standard definition.Because advantages such as the holding wire that adopts the software flow control mode to communicate by letter to have use is few, easy-to-connect, the software compatibility are strong have become the communication mode that generally adopts at present.Because when utilizing TxD interface, RxD interface and SG interface to carry out transfer of data, stop transceive data and the terminal closedown both of these case can't be distinguished, therefore, under the software flow control mode, the data that terminal server or router send by TxD interface, RxD interface and SG interface on the terminal, whether can't identify asynchronous terminal shuts down, therefore, when asynchronous terminal shuts down, also can't discharge resource by requesting host, this just makes asynchronous terminal also hold over Limited resources after shutdown, has caused the waste of resource; In addition, because asynchronous terminal shutdown aft engine does not discharge the resource of distributing to this asynchronous terminal, after illegal user re-powers asynchronous terminal, carry out under the situation of authentification of user not needing, just can continue to use asynchronous terminal to manage business, can't effectively ensure the information security of asynchronous terminal validated user, exist bigger potential safety hazard.
In addition, under the software flow control mode, asynchronous terminal can send the specific character string that sets in advance to terminal server or router and show that asynchronous terminal will shut down, but, along with enriching gradually of software, use this specific character string to conflict, whether the effective identification terminal of main frame is shut down with the character string of business procedure on the main frame.
Summary of the invention
Technical problem to be solved by this invention is: the operating state of effective identification terminal, that is: whether this terminal shuts down, and makes main frame reasonable distribution resource, improves effective utilization rate of resource, and effectively ensures the information security of terminal validated user.
For solving the problems of the technologies described above, the invention provides a kind of recognition methods of terminal operating status, comprising:
Be used to identify the operating state identification information whether this terminal shuts down by what the detection line receiving terminal sent;
According to described operating state identification information, discern the operating state of described terminal.
The present invention also provides a kind of terminal, comprising:
Whether detection module is used for sense terminals and powers on;
The status indicator information sending module is used for the testing result according to described detection module, generates and send by detection line to be used to identify the operating state identification information whether this terminal shuts down.
The present invention provides a kind of communication equipment again, comprising:
Receiver module is used for being used to identify the operating state identification information whether this terminal shuts down by what the detection line receiving terminal sent;
Identification module is used for discerning the operating state of described terminal according to described operating state identification information.
The operating state identification information that terminal server or router send by detection line according to terminal in the technical solution of the present invention identifies the state of terminal, if terminal server or router identify terminal closedown, then disconnect and being connected with the TCP of main frame, make main frame discharge the resource that this terminal takies, reached and made main frame reasonable distribution resource, improve the purpose of effective utilization rate of resource, be connected owing in time having disconnected simultaneously with the TCP of main frame, make illegal operation person not re-power operation to terminal, thereby effectively ensure the information security of terminal validated user, improved the fail safe of Terminal Service.
Description of drawings
Fig. 1 is the structural representation of the communication system be made up of DTE and DCE in the prior art;
Fig. 2 is the system schematic that the recognition methods embodiment of terminal operating status of the present invention is adopted;
Fig. 3 is the schematic diagram that terminal and router-A are connected by asynchronous communication interface in the embodiment of the invention;
Fig. 4 is the flow chart of the recognition methods embodiment one of terminal operating status of the present invention;
Fig. 5 is the flow chart of the recognition methods embodiment two of terminal operating status of the present invention;
Fig. 6 is the structural representation of terminal of the present invention;
Fig. 7 is the structural representation of communication equipment embodiment one of the present invention;
Fig. 8 is the structural representation of communication equipment embodiment two of the present invention.
Embodiment
The identification of terminal operating status can realize by terminal server or the router that possesses the Terminal Service function in the technical solution of the present invention, Fig. 2 is the system schematic that the recognition methods embodiment of terminal operating status of the present invention is adopted, as shown in Figure 2, this system comprises terminal, the router-A of band Asynchronism Card, router B and main frame, this Asynchronism Card possesses asynchronous communication interface, wherein, terminal is asynchronous terminal and can be a plurality of, only illustrate two among the figure, terminal communication interface and router rs async cartoon letters interface all use software flow control, router-A is connected by wide area network with router B, the service of router-A support terminal, and router B does not need the support terminal service, only responsible Internet protocol (Internet Protocol, be called for short: IP) message is transmitted, and can open a TCP listening port during host-initiated business procedure.Router-A among Fig. 2 can also be terminal server.
Wherein, terminal is connected by asynchronous communication interface with router-A, Fig. 3 is the schematic diagram that terminal and router-A are connected by asynchronous communication interface in the embodiment of the invention, as shown in Figure 3, the RxD of terminal communication interface is connected with the TxD of router-A Asynchronism Card communication interface, is used for the data that receiving router A sends; The TxD of terminal communication interface is connected with the RxD of router-A Asynchronism Card communication interface, is used to send data to router-A; The SG of terminal communication interface is connected with the SG of router-A Asynchronism Card communication interface, is used to set up a common return; The RTS of terminal communication interface is connected as detection line with the CTS of router-A Asynchronism Card communication interface, and this detection line can also be interconnected to constitute for other interface that can be used as output in terminal communication interface and the router-A Asynchronism Card communication interface.
Fig. 4 is the flow chart of the recognition methods embodiment one of terminal operating status of the present invention, as shown in Figure 4, is specially:
Step 101, router or terminal server are used to identify the operating state identification information whether this terminal shuts down by what the detection line receiving terminal sent;
Step 102, router or terminal server are discerned the operating state of described terminal according to described operating state identification information.
If router or terminal server, identify the operating state of terminal according to the operating state identification information for after shutting down, disconnection is connected with the TCP of main frame, and makes main frame be released to the resource of this terminal distribution.
The operating state identification information that router or terminal server send by detection line by sense terminals in the present embodiment identifies the operating state of this terminal, this method can effectively identify the state of terminal, make main frame reasonable distribution resource, improve effective utilization rate of resource, can effectively ensure simultaneously the information security of terminal validated user, the fail safe that has improved Terminal Service.
Fig. 5 adopts the system among Fig. 2 and Fig. 3 for the flow chart of the recognition methods embodiment two of terminal operating status of the present invention, present embodiment, and terminal realizes and the communicating by letter of main frame by router or terminal server, as shown in Figure 5, is specially:
Step 201, router-A know that terminal powers on;
After terminal powers on, send the operating state identification information by detection line to router-A, this operating state identification information is the level of detection line, and router-A knows that terminal powers on after receiving this operating state identification information, and the level of record current detection line is the UP state.
After the terminal energized, after promptly terminal powered on, terminal sent the operating state identification information by detection line;
Perhaps power on, and behind the input any character, router-A can know that terminal powers on by any character that the keyboard that asynchronous communication interface receives is imported in terminal.
Step 202, terminal are set up TCP with main frame and are connected, and judge whether successful connection, are execution in step 203 then, otherwise return step 201;
Wherein terminal and main frame are set up TCP and be connected and be specially: router-A is set up TCP with main frame and is connected, and main frame is entered password by the Terminal Service functional requirement terminal of router-A, the authentication by main frame behind the correct password of terminal input, thus connect with main frame.
Step 203, router-A promptly detect the level of this detection line by the operating state identification information that the detection line receiving terminal sends;
Step 204, router-A are judged the operating state identification information that receives, and promptly whether the level of detection line is the DOWN state, are execution in step 205 then, otherwise execution in step 215;
It is off-mode that step 205, router-A identify terminal according to the level of detection line, and disconnection is connected with the TCP of main frame;
Step 206, main frame identify TCP and connect disconnection, discharge the resource that this terminal takies, and this flow process finishes.
It is operating state that step 215, router-A identify terminal according to the level of detection line.
In the present embodiment, router-A can be in predetermined period the operating state identification information that sends by detection line of continuous several times sense terminals, promptly detect the level of this detection line, for example can be four times, and judge whether four detected level all are the DOWN state, if then identify terminal is off-mode, and signal shake takes place and produces erroneous judgement when using the method can prevent to detect the level of detection line, thereby more effectively identifies the state of terminal.
The operating state identification information that router sends by sense terminals in the present embodiment identifies the state of terminal, if router identifies terminal closedown, then disconnect and being connected with the TCP of main frame, make main frame discharge the resource that this terminal takies, reached and made main frame reasonable distribution resource, improved the purpose of effective utilization rate of resource, simultaneously owing in time disconnected and being connected with the TCP of main frame, thereby effectively ensure the information security of terminal validated user, improved the fail safe of Terminal Service.
In the embodiment of the recognition methods of terminal operating status of the present invention, can also set in advance a rule change, for example this rule change can be for identifying terminal closedown when the level of detection line during to the UP state by the UP state transition to the DOWN state or by the DOWN state transition, therefore router or terminal server can also identify the operating state of terminal according to this rule change and operating state identification information (being the level of detection line).
Fig. 6 is the structural representation of terminal of the present invention, and as shown in Figure 6, this terminal comprises: whether detection module is used for sense terminals to power on; The status indicator information sending module is used for the testing result according to described detection module, generates and send by detection line to be used to identify the operating state identification information whether this terminal shuts down.Wherein, other except that sending data-interface, reception data-interface and signal ground interface can be used as arbitrary interface of output in the asynchronous communication interface of described detection line connecting terminal; Described operating state identification information is the level state of described detection line.
Further, this terminal also comprises power module, and whether described detection module powers on according to the state-detection terminal of this power module.
In addition, whether detection module can also power on by the state-detection terminal of other modules in the sense terminals, for example whether detection module can power on by the state-detection terminal of input module, when input module input any character, detection module can detect terminal according to this any character and power on.
Fig. 7 is the structural representation of communication equipment embodiment one of the present invention, and as shown in Figure 7, this communication equipment comprises: receiver module is used to receive by what detection line sent and is used to identify the operating state identification information whether this terminal shuts down; Identification module is used for discerning according to described operating state identification information the operating state of described terminal.
Wherein, other except that sending data-interface, reception data-interface and signal ground interface can be used as arbitrary interface of output in the asynchronous communication interface of described detection line connecting terminal; Described operating state identification information is the level state of described detection line.
Present embodiment can effectively identify the state of terminal by this communication equipment, makes main frame reasonable distribution resource, improves effective utilization rate of resource, can effectively ensure the information security of terminal validated user simultaneously.
Fig. 8 is the structural representation of communication equipment embodiment two of the present invention, as shown in Figure 8, present embodiment is on the basis of embodiment one, further, this communication equipment can also comprise: request module, be used for recognition result, when the operating state of described terminal is shutdown, send disconnection TCP connection request according to described identification module; Memory module is used for the storage change rule; Wherein, described identification module is discerned the operating state of described terminal according to described rule change and described operating state identification information.
The system that is made up of the communication equipment among the terminal among Fig. 6 and Fig. 7 or Fig. 8 can be used for realizing the recognition methods of terminal operating status, wherein this communication equipment can be router or terminal server, the operating state identification information that this communication equipment sends by detection line by sense terminals identifies the state of terminal, if identify terminal closedown then disconnect with the TCP of main frame and being connected, make main frame discharge the resource that this terminal takies, reach and make main frame reasonable distribution resource, improve the purpose of utilization of resources rate, be connected owing in time having disconnected simultaneously with the TCP of main frame, make illegal operation person not re-power operation to terminal, thereby effectively ensure the information security of terminal validated user, improved the fail safe of Terminal Service.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1, a kind of recognition methods of terminal operating status is characterized in that, comprising:
Be used to identify the operating state identification information whether this terminal shuts down by what the detection line receiving terminal sent;
According to described operating state identification information, discern the operating state of described terminal.
2, the recognition methods of terminal operating status according to claim 1, it is characterized in that other in the asynchronous communication interface of described detection line connecting terminal except that sending data-interface, reception data-interface and signal ground interface can be used as arbitrary interface of output.
3, the recognition methods of terminal operating status according to claim 1 is characterized in that, also comprises before the operating state of the described terminal of described identification: know that terminal powers on; Setting up TCP with main frame is connected; Also comprise after the operating state of the described terminal of described identification: disconnection is connected with the transmission control protocol of main frame; Main frame identifies transmission control protocol and connects disconnection, discharges the resource that described terminal takies.
4, the recognition methods of terminal operating status according to claim 3 is characterized in that, describedly knows that terminal powers on and is specially: know that according to the operating state identification information terminal powers on.
5, the recognition methods of terminal operating status according to claim 1 is characterized in that, the operating state of the described terminal of described identification is specially for shutdown:
In predetermined period, the operating state identification information of continuous several times sense terminals;
Judging whether the detected operating state identification information of continuous several times all identifies this terminal closedown, is that the operating state of then discerning this terminal is shutdown.
6, a kind of terminal is characterized in that, comprising:
Whether detection module is used for sense terminals and powers on;
The status indicator information sending module is used for the testing result according to described detection module, generates and send by detection line to be used to identify the operating state identification information whether this terminal shuts down.
7, terminal according to claim 6 is characterized in that, also comprises:
Power module, whether described detection module powers on according to the state-detection terminal of this power module.
8, terminal according to claim 6 is characterized in that, other in the asynchronous communication interface of described detection line connecting terminal except that sending data-interface, reception data-interface and signal ground interface can be used as arbitrary interface of output.
9, terminal according to claim 6 is characterized in that, described operating state identification information is the level state of described detection line.
10, a kind of communication equipment is characterized in that, comprising:
Receiver module is used for being used to identify the operating state identification information whether this terminal shuts down by what the detection line receiving terminal sent;
Identification module is used for discerning the operating state of described terminal according to described operating state identification information.
11, communication equipment according to claim 10 is characterized in that, other in the asynchronous communication interface of described detection line connecting terminal except that sending data-interface, reception data-interface and signal ground interface can be used as arbitrary interface of output.
12, communication equipment according to claim 10 is characterized in that, also comprises:
Request module is used for the recognition result according to described identification module, when the operating state of described terminal is shutdown, sends disconnection transmission control protocol connection request; And/or
Memory module is used for the storage change rule;
Described identification module is discerned the operating state of described terminal according to described rule change and described operating state identification information.
CNA200810102781XA 2008-03-26 2008-03-26 Terminal, communication apparatus and method for recognizing terminal operating status Pending CN101257524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200810102781XA CN101257524A (en) 2008-03-26 2008-03-26 Terminal, communication apparatus and method for recognizing terminal operating status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200810102781XA CN101257524A (en) 2008-03-26 2008-03-26 Terminal, communication apparatus and method for recognizing terminal operating status

Publications (1)

Publication Number Publication Date
CN101257524A true CN101257524A (en) 2008-09-03

Family

ID=39891988

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200810102781XA Pending CN101257524A (en) 2008-03-26 2008-03-26 Terminal, communication apparatus and method for recognizing terminal operating status

Country Status (1)

Country Link
CN (1) CN101257524A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447595A (en) * 2011-12-05 2012-05-09 上海顶竹通讯技术有限公司 Detection method for multiprocessing unit network source access
CN102880488A (en) * 2012-09-12 2013-01-16 北京奇虎科技有限公司 Method, equipment and system for restoring drive program
CN104734958A (en) * 2013-12-18 2015-06-24 深圳市中兴微电子技术有限公司 Aging method and device for routing information

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447595A (en) * 2011-12-05 2012-05-09 上海顶竹通讯技术有限公司 Detection method for multiprocessing unit network source access
CN102447595B (en) * 2011-12-05 2014-07-23 上海顶竹通讯技术有限公司 Detection method for multiprocessing unit network source access
CN102880488A (en) * 2012-09-12 2013-01-16 北京奇虎科技有限公司 Method, equipment and system for restoring drive program
CN104734958A (en) * 2013-12-18 2015-06-24 深圳市中兴微电子技术有限公司 Aging method and device for routing information
WO2015090081A1 (en) * 2013-12-18 2015-06-25 深圳市中兴微电子技术有限公司 Routing information aging method and device, and computer storage medium

Similar Documents

Publication Publication Date Title
CN105933888B (en) A kind of eSIM card method for burn-recording and device based on NFC
US8375201B2 (en) Ethernet PHY level security
CN104781750A (en) Balloon-based positioning system and method
CN101668288B (en) Identity authenticating method, identity authenticating system and terminal
CN105516080A (en) Processing method, apparatus, and system for TCP connection
CN101641683A (en) Enhanced wireless USB protocol and hub
CN109992565A (en) A kind of file storage system based on cloud terminal data transmission
CN100574352C (en) Remote opening control system and method
CN110167192B (en) Bluetooth connection management method and device, electronic equipment and non-transient storage medium
US8751805B2 (en) Service providing client, wireless terminal and method for implementing binding
CN103249040A (en) Method and device for wireless access authentication
CN104202343A (en) Data transmission method, data transmission device and data transmission system
CN101179455A (en) Method and system for implementing VLAN based port loop detection
CN108322366A (en) Access the methods, devices and systems of network
CN101257524A (en) Terminal, communication apparatus and method for recognizing terminal operating status
EP2480042A1 (en) Mainboard, and method and mobile terminal for realizing network locking/card locking function
CN103824014A (en) Isolation certificating and monitoring method of USB (universal serial bus) port within local area network
US20110305246A1 (en) System and Method for Enhanced Physical Layer Device Interface Capability for Backward Support of Fast Retrain
CN103136881B (en) Method of payment and payment system
CN101800677A (en) Processing device and method of bidirectional forwarding detection (BFD) messages
CN109151790B (en) Bluetooth device connection method and system based on network security
CN103108316A (en) Authentication method, device and system for aerial card writing
CN110430572A (en) The communication means and its communication system of a kind of eUICC card, eUICC card and management platform
CN101170587B (en) A personal computer system and method for dynamically switching communication port
CN102244663B (en) User identification method and system based on transmission control protocol (TCP) data packet construction technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20080903