CN1389796A - Method of using real-time operation system commands in basic data network equipment - Google Patents

Method of using real-time operation system commands in basic data network equipment Download PDF

Info

Publication number
CN1389796A
CN1389796A CN 02125382 CN02125382A CN1389796A CN 1389796 A CN1389796 A CN 1389796A CN 02125382 CN02125382 CN 02125382 CN 02125382 A CN02125382 A CN 02125382A CN 1389796 A CN1389796 A CN 1389796A
Authority
CN
China
Prior art keywords
module
operating system
input
data network
basic data
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
CN 02125382
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.)
BEIJIANG GANGWAN NETWORK Co Ltd
Original Assignee
BEIJIANG GANGWAN NETWORK 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 BEIJIANG GANGWAN NETWORK Co Ltd filed Critical BEIJIANG GANGWAN NETWORK Co Ltd
Priority to CN 02125382 priority Critical patent/CN1389796A/en
Publication of CN1389796A publication Critical patent/CN1389796A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

In the invention the module of intercepting is added to the part of processing the input instructions on the device of the data network infrastructure. When the character string inputted being accorded with the preset activating instruction, the command line of the real time operating system is activated, so that the module of intercepting the input sends all the user's input to the processing command part of the operating system. The invented method can provide the instructions on the command line in the real time commercial operation system for users on the device of the data network infrastructure directly to realize the managing, maintaining, monitoring and testing functions for the device of the data network infrastructure.

Description

A kind of basic data network equipment uses the method for real time operating system order
Affiliated field:
The present invention relates to basic data network operation of equipment technology, the interface of specifically a kind of basic data network equipment and real time operating system.
Background technology:
At present, basic data network equipment generally provides order line to manage as system configuration, safeguards, detects the user interface of monitoring.The basic data network device software generally runs on the commercial real time operating system.Commercial real time operating system is embedded system basically, and itself is exactly an indivisible ingredient of data networking equipment software systems.Commercial real time operating system generally can provide the configuration management of the order line shell of self as own resource, safeguards, detects the user interface of monitoring.
For user's service data network infrastructure device, the order line that can directly utilize operating system to provide, but the order line of operating system does not satisfy the demand of basic data network equipment to order line.So basic data network equipment need be developed the command line system of oneself.And if have the different order line module of two covers very inconvenient for the user, so they are integrated together necessity has just been arranged.
And the following mode of existing basic data network device systems general using realizes the monitoring to commercial real time operating system resource: at first, create several orders; When order is performed, utilize the order line software module analysis order of self, the API that calling commercial real time operating system provides obtains system information, tissue output.This method is not utilized the order line shell of commercial real time operating system.
U.S. Pat 5652914 announced and a kind ofly carried out method with the input and output relative program by the I/O subsystem, and this and thought of the present invention are similar.But I/O buffer memory that the present invention taked and input intercepting technology are applied to the method for basic data network equipment, are that United States Patent (USP) institute announcement technology does not cover.
Goal of the invention:
The objective of the invention is directly provides order to activate the shell of commercial operation system to the basic data network equipment user, and provide the complete order of the order line shell of commercial real time operating system to the user, be used for realizing higher management, maintenance, monitoring and the measuring ability of basic data network equipment, do not influence the original order line module of basic data network equipment simultaneously.The technical scheme of invention:
A kind of basic data network equipment of the present invention uses the method for real time operating system order, its technical scheme is: the module that increases an intercepting input in the processing section of basic data network device command input, this module analysis user input, when the character string of finding input meets predetermined activation command, the state variable that an operating system command has been activated is set just; After operating system command is activated, the order line of basic data network device activation real time operating system, the intercepting load module can be imported all users all input operation system command processing sections; When the intercepting load module found that the character string of input meets predetermined deactivation order, just the state variable of setting operation system command activation was not for being activated simultaneously.
The method of the commercial real time operating system order line of activation of the present invention shell, its step comprises:
(1) two internal memory A of application and B are used as capable input-buffer of commercial operation system command and output buffers in system.
(2) the order line shell software module of the commercial real time operating system of initialization in system initialization, and among the input-buffer A and output buffers B that its input and output redirection are set up to step 1.
(3) increase the module that an intercepting is imported in the Interrupt Process function of order input serial ports, this module analysis serial ports input when the character string of finding input meets predetermined activation command, just is provided with the state variable that a shell has been activated.After shell was activated, the intercepting load module can all be put into all serial ports inputs input-buffer A and import shell; Simultaneously, from output buffers B, obtain the output of shell and these outputs are exported from serial ports.
(4) when the intercepting load module finds that the character string of input meets predetermined deactivation order, the state variable of shell deactivation is set just.
The software module that realizes this method comprises:
(1) initialization module of operating system command processing module
(2) as the memory management module of importing, exporting;
(3) system's serial ports interrupts character intercepting and analysis module;
(4) the input pretreatment module of operating system command processing module;
(5) output processing module of operating system command processing module;
(6) serial ports output module.Beneficial effect:
The invention provides the order line shell of a kind of method, finish senior maintenance, monitoring, test operation the data network equipment with the employed operating system of the activation data network equipment.The function that the data networking equipment system that adopts technical scheme of the present invention to make more effectively utilizes the commercial operation system to provide, increase the means of user management and service data network equipment system, ensure the stable operation of data networking equipment better, shorten the time of locator data network device problem.
Description of drawings:
Fig. 1 system schematic block diagram
Fig. 2 operating system command (going) activation process schematic block diagram
Fig. 3 operating system command is carried out schematic process flow diagram
Embodiment:
Specify embodiments of the present invention below in conjunction with embodiment.
Referring to Fig. 1 system schematic block diagram, realize that the system of this method comprises as the lower part:
(1) user terminal
(2) serial ports interrupts the character interception module
(3) serial ports output module
(4) Shell input pretreatment module
(5) Shell input-buffer
(6) Shell output buffers
(7) Shell output processing module
(8)Shell
(9) serial ports
(10) network equipment
The implementation step of this method is described referring to Fig. 2 and Fig. 3:
For example designated character string " ^D^E^F^G^H " is for activating the order of shell." ^H^G^F^E^D " is deactivation shell-command (wherein " ^ " representative is simultaneously by " ctrl " key).
Then at os starting and after pointing out user's initialization procedure to finish, the user can import " ^D^E^F^G^H ", the activation manipulation system command of indicating.This action back serial ports interrupts the character interception module will find that the user has imported the order that activates shell, just is provided with the shell activation marker; Subsequently, just the user can import the order of commercial real time operating system, as " i " order of vxWorks operating system.After this, interception module puts it in the shell input-buffer after being truncated to order, and shell input pretreatment module is carried out necessary pre-service to input, will order input shell then.Shell carries out the order of input, and execution result is outputed in the output buffers.Last shell output processing module is handled it to the output of serial ports, and the output string after the serial ports output module is handled the shell output processing module outputs to serial ports, and shows by terminal screen.Finished command interaction one time.
After the user finishes using, input " ^H^G^F^E^D ", serial ports interrupts the character interception module finds that the user has imported shell deactivation order, and shell deactivation sign just is set.Subsequently, the serial ports input will no longer be transmitted to shell, and the output of shell can not re-send on the user terminal yet.

Claims (4)

1. a basic data network equipment uses the method for real time operating system order, it is characterized in that: the module that increases an intercepting input in the processing section of basic data network device command input, this module analysis user input, when the character string of finding input meets predetermined activation command, the state variable that an operating system command has been activated is set just; After operating system command is activated, the order line of basic data network device activation real time operating system, the intercepting load module can be imported all users all input operation system command processing sections; When the intercepting load module found that the character string of input meets predetermined deactivation order, just the state variable of setting operation system command activation was not for being activated simultaneously.
2. basic data network equipment according to claim 1 uses the method for real time operating system order, it is characterized in that: two internal memory A of application and B are used as capable input-buffer of commercial operation system command and output buffers in system; The order line software module of the commercial real time operating system of initialization in system initialization, and with its input and output redirection in input-buffer A that sets up above and output buffers B.
3. basic data network equipment according to claim 2 uses the method for real time operating system order, it is characterized in that: after operating system command was activated, the intercepting load module can all be put into input-buffer A and input operation system command processing module with all serial ports inputs; Simultaneously, from output buffers B, obtain the output of operating system command processing module and these outputs are exported from serial ports.
4. use the method for real time operating system order according to the described basic data network equipment of one of arbitrary claim of claim 1-3, it is characterized in that: the software module that realizes this method comprises
(1) initialization module of operating system command processing module
(2) as the memory management module of importing, exporting;
(3) system's serial ports interrupts character intercepting and analysis module;
(4) the input pretreatment module of operating system command processing module;
(5) output processing module of operating system command processing module;
(6) serial ports output module.
CN 02125382 2002-07-30 2002-07-30 Method of using real-time operation system commands in basic data network equipment Pending CN1389796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02125382 CN1389796A (en) 2002-07-30 2002-07-30 Method of using real-time operation system commands in basic data network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02125382 CN1389796A (en) 2002-07-30 2002-07-30 Method of using real-time operation system commands in basic data network equipment

Publications (1)

Publication Number Publication Date
CN1389796A true CN1389796A (en) 2003-01-08

Family

ID=4745542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02125382 Pending CN1389796A (en) 2002-07-30 2002-07-30 Method of using real-time operation system commands in basic data network equipment

Country Status (1)

Country Link
CN (1) CN1389796A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101073057B (en) * 2003-10-24 2012-06-13 微软公司 Mechanism for providing environment to command line instructions
CN102880471A (en) * 2012-09-24 2013-01-16 中兴通讯股份有限公司 Command execution method based on command line and command line operating system
CN107625817A (en) * 2017-09-29 2018-01-26 武汉华士特工业生物技术开发有限公司 A kind of loquat composition and its preparation method and application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101073057B (en) * 2003-10-24 2012-06-13 微软公司 Mechanism for providing environment to command line instructions
CN102880471A (en) * 2012-09-24 2013-01-16 中兴通讯股份有限公司 Command execution method based on command line and command line operating system
CN107625817A (en) * 2017-09-29 2018-01-26 武汉华士特工业生物技术开发有限公司 A kind of loquat composition and its preparation method and application

Similar Documents

Publication Publication Date Title
CN1271516C (en) Method and device for creating and executing integrated executable program in different sorts of systems structure
US7200695B2 (en) Method, system, and program for processing packets utilizing descriptors
EP1475710A1 (en) Method and system for controlling multi-level computing resource scheduling in operation system partitions
CN102650950A (en) Platform architecture supporting multi-GPU (Graphics Processing Unit) virtualization and work method of platform architecture
AU3441201A (en) Storage management system having common volume manager
CN1869959A (en) System for multi-user sharing internal and external storage of computer
CN1860444A (en) Inter-processor interrupts
WO2011123991A1 (en) Memory access method for parallel computing
CN1514354A (en) Progress pole/linear procedure pole management method of construction member oriented backbone system internal core
CN1430350A (en) Processing method for case with gradation structure in communication equipment
US20070061521A1 (en) Processor assignment in multi-processor systems
CN1757021A (en) Device management method and device management system
CN113393367A (en) Image processing method, apparatus, device and medium
CN104133671B (en) The hardware interface screening arrangement and method of a kind of digital processing device
CN1389796A (en) Method of using real-time operation system commands in basic data network equipment
CN1949177A (en) Virtual machine system and method of dynamically distributing UPNP equipment
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium
KR20110018618A (en) Apparatus and method for input/output processing of multi thread
CN103164265A (en) Input event processing method and system based on Linux system
CN108241519B (en) APP display method and terminal equipment
CN1656450A (en) System and method for managing operating system option values
CN110420458A (en) Game request processing method and processing device
CN115794353B (en) Cloud network service quality optimization processing method, device, equipment and storage medium
CN1275167C (en) Controller for virtual keyboard and mouse
CN112015551B (en) Management method and device of coroutine pool

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication