CN106874148A - A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information - Google Patents

A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information Download PDF

Info

Publication number
CN106874148A
CN106874148A CN201710116493.9A CN201710116493A CN106874148A CN 106874148 A CN106874148 A CN 106874148A CN 201710116493 A CN201710116493 A CN 201710116493A CN 106874148 A CN106874148 A CN 106874148A
Authority
CN
China
Prior art keywords
serial ports
server
ports output
output information
windows platform
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
CN201710116493.9A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710116493.9A priority Critical patent/CN106874148A/en
Publication of CN106874148A publication Critical patent/CN106874148A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to computer software development field, and in particular to a kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information.The purpose is to provide a kind of number of times that can be restarted by graphical interfaces input in WINDOWS platform, control server is repeatedly restarted, and the method for the initialization Serial Port Information exported in real time inspection restarting process, the method implements simple to operation, user can conveniently and efficiently check serial ports output information, and available roller control is stirred and checked, efficiently solves the problem wasted time and energy when browsing serial ports output information under the server text pattern based on WINDOWS platform.

Description

One kind display serial ports output based on WINDOWS platform control Server Restart and in real time The method of information
Technical field
The present invention relates to computer software development field, and in particular to one kind is thought highly of based on WINDOWS platform control service The method for opening and showing serial ports output information in real time.Can pass through graphical interfaces in WINDOWS platform the purpose is to provide one kind The number of times that input is restarted, control server is repeatedly restarted, and the initialization Serial Port Information exported in real time inspection restarting process Method, the method implements simple to operation, and user can conveniently and efficiently check serial ports output information, and available roller control System is stirred and checked, is efficiently solved when browsing serial ports output information under the server text pattern based on WINDOWS platform The problem for wasting time and energy.
Background technology
With continuing to develop for IT technical fields, the demand of hardware device is runed internet in the proposition of internet+concept Increasing, incorporated business is also increasing to the demand of server.
Common blade server has multiple application nodes, and each node has the BMC (Baseboard of oneself Management Controller Baseboard Management Controllers) interface, if it is desired to search problem restarting server, it is necessary to service Each application node of device is operated.Server node carry out it is thousands of time restart test process, original WINDOWS puts down Platform cannot conveniently control server the output information amount for restarting serial ports under number of times, and Text Mode it is big when leaf through difficulty, When causing to go wrong, lookup reason is very inconvenient, and the solve problem time is long, and operating efficiency is low.If one kind can be had Method flower less time conveniently control server different application node can just restart and serial ports output letter when to restarting Breath is conveniently browsed, it is possible to search go wrong in time, safeguarded as early as possible, this will greatly improve operating efficiency.
A kind of based on WINDOWS platform control Server Restart and in real time display serial ports output information of the present application Method, the letter of serial ports output when can be easily controlled the restarting number of times of server by the method and browse restarting Breath, reduces cumbersome operating procedure, and simple and fast improves efficiency, and the time of waste is checked in reduction.
The content of the invention
Traditional server is carried out in thousands of restarting process on its each application node, in the WINDOWS of server Server cannot be conveniently controlled on platform restarts number of times and when real time inspection when containing much information of serial ports output is leafed through Difficulty, operating efficiency is low.Regarding to the issue above, the present application is a kind of controls Server Restart based on WINDOWS platform With the method for display serial ports output information in real time.
Implement process as follows:
A kind of side based on WINDOWS platform control Server Restart and real-time display serial ports output information of the present application Method, it is characterised in that the method specifically includes following steps:
Step one, the graphical interfaces for showing |input paramete on the server;
Step 2, the parameter for reading input, the parameter of the input are the number of times of Server Restart, BMCIP values and should answer With the user name and input password of node;
The Server Restart of step 3, control input BMCIP corresponding nodes;
Step 4, show restarting process in display window in server initialization Serial Port Information;
Step 5, the number of times of Server Restart subtract one;
Whether step 6, the number of times for judging Server Restart are 0, if 0 end;If not being 0, repeat step Three to six until the number of times restarted is 0.
Method based on WINDOWS platform control Server Restart and real-time display serial ports output information as described above, It is further characterized in that, the graphical interfaces that |input paramete is shown on the server is the figure for using JAVA language to work out |input paramete Interface.
Method based on WINDOWS platform control Server Restart and real-time display serial ports output information as described above, It is further characterized in that, according to the parameter of input, checks whether the username and password of corresponding BMCIP is correct, if incorrect, Then prompting user input information is incorrect, exits or point out user to re-enter parameter.
Method based on WINDOWS platform control Server Restart and real-time display serial ports output information as described above, It is further characterized in that, specifically includes the step of the Server Restart of the control input parameter BMCIP corresponding nodes:First user is believed Breath is converted into IPMI orders and is sent to BMC;Server Restart is controlled by BMC.
Method based on WINDOWS platform control Server Restart and real-time display serial ports output information as described above, It is further characterized in that, also included the step of the initialization Serial Port Information of server during restarting process should be shown in display window: BMC controls obtain the information of initialization serial ports output in real time.
Method based on WINDOWS platform control Server Restart and real-time display serial ports output information as described above, It is further characterized in that, after display window display initialization serial ports output information, shows this number information restarted.
Method based on WINDOWS platform control Server Restart and real-time display serial ports output information as described above, It is further characterized in that, when display window display initialization serial ports output information, if information crosses at most startup roller work( Energy.
Brief description of the drawings
Fig. 1, the workflow diagram that Server Restart and real-time display serial ports output information are controlled in WINDOWS platform
Fig. 2, the actual motion design sketch using herein described method
Specific embodiment
Main use JAVA language of the invention realization is interacted with the graphical interfaces GUI's of user;In the reading to server B MC Take and then use IPMI (Intelligent Platform Management Interface IPMIs) language reality It is existing.
More detailed elaboration is carried out to present disclosure below:
First a graphical interface window that can be interacted with user, the graphical interface window are generated in server GUI can be programmed using JAVA language, it is also possible to be programmed using other language.
Necessary parameter is input into input window on the graphical interfaces, parameter includes restarting the number of times of server, clothes The IP address BMCIP of business device BMC, and the corresponding username and password of the application node etc..The parameter information being first input into turns The IPMI language that changing BMC into can recognize is sent to BMC, then check the BMCIP values of the correspondence BMCIP nodes, user name and Whether password is correct, if incorrect, points out the information of user input incorrect in interactive window, is weight by user's selection New |input paramete, or directly quit a program.
If the BMCIP values of the server corresponding node of user input, username and password are all correct, by BMC Repeatedly restart test, the initialization Serial Port Information of server in restarting process is obtained in real time, it is shown on display window, often Completion is once restarted can export prompt message on display window " restart for the * times ", so as to Serial Port Information and the weight of output Number of times correspondence is opened, if the situation when machine occurs in restarting process in server, the output letter of display window can be directly viewable Cease and analyzed, the old information of output can upwards be stirred using roller checks, clicking on clear buttons can check GUI The information state being input on interface, is tested to be input into information again.Result after execution is as shown in Figure 2.
By method of the present invention, can realize restarting and showing in real time for many times by the GUI on WINDOWS platform Show Serial Port Information, reduce tester to information sifting and the workload of analysis, improve operating efficiency, reduce the working time, It also avoid certain generation problem in multiple restarting process simultaneously is the phenomenon where cannot finding problem, improves information Analysis efficiency, reduce and restart the testing time.

Claims (7)

1. a kind of to control Server Restart and the in real time method of display serial ports output information based on WINDOWS platform, its feature exists In the method specifically includes following steps:
Step one, the graphical interfaces for showing |input paramete on the server;
Step 2, the parameter for reading input, the parameter of the input is the number of times of Server Restart, BMCIP values and the application section The user name and input password of point;
The Server Restart of step 3, control input BMCIP corresponding nodes;
Step 4, show restarting process in display window in server initialization Serial Port Information;
Step 5, the number of times of Server Restart subtract one;
Whether step 6, the number of times for judging Server Restart are 0, if 0 end;If be 0, repeat step three to Six until the number of times restarted is 0.
2. it is as claimed in claim 1 that Server Restart is controlled with display serial ports output information in real time based on WINDOWS platform Method, is further characterized in that, the graphical interfaces that |input paramete is shown on the server is to use JAVA language to work out |input paramete Graphical interfaces.
3. it is as claimed in claim 2 that Server Restart is controlled with display serial ports output information in real time based on WINDOWS platform Method, is further characterized in that, according to the parameter of input, checks whether the username and password of corresponding BMCIP is correct, if not Correctly, then prompting user input information is incorrect, exits or point out user to re-enter parameter.
4. it is as claimed in claim 3 that Server Restart is controlled with display serial ports output information in real time based on WINDOWS platform Method, is further characterized in that, specifically includes the step of the Server Restart of the control input parameter BMCIP corresponding nodes:
User profile is first converted into IPMI orders and is sent to BMC;
Server Restart is controlled by BMC.
5. it is as claimed in claim 4 that Server Restart is controlled with display serial ports output information in real time based on WINDOWS platform Method, is further characterized in that, in should showing restarting process in display window the step of the initialization Serial Port Information of server also Including:
BMC controls obtain the information of initialization serial ports output in real time.
6. it is as claimed in claim 1 that Server Restart is controlled with display serial ports output information in real time based on WINDOWS platform Method, is further characterized in that, after display window display initialization serial ports output information, shows this number of times letter restarted Breath.
7. it is as claimed in claim 6 that Server Restart is controlled with display serial ports output information in real time based on WINDOWS platform Method, is further characterized in that, when display window display initialization serial ports output information, if information is crossed at most starts rolling Wheel function.
CN201710116493.9A 2017-02-28 2017-02-28 A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information Pending CN106874148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710116493.9A CN106874148A (en) 2017-02-28 2017-02-28 A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710116493.9A CN106874148A (en) 2017-02-28 2017-02-28 A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information

Publications (1)

Publication Number Publication Date
CN106874148A true CN106874148A (en) 2017-06-20

Family

ID=59168916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710116493.9A Pending CN106874148A (en) 2017-02-28 2017-02-28 A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information

Country Status (1)

Country Link
CN (1) CN106874148A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748710A (en) * 2017-08-31 2018-03-02 郑州云海信息技术有限公司 A kind of server for supporting that much information is shown

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093575A1 (en) * 2009-10-19 2011-04-21 Dell Products L.P. Local externally accessible managed virtual network interface controller
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method
CN104317712A (en) * 2014-10-23 2015-01-28 浪潮电子信息产业股份有限公司 Linux-based storage server fatigue testing method
CN104965727A (en) * 2015-04-29 2015-10-07 无锡天脉聚源传媒科技有限公司 Method and device for restarting server
US20160248620A1 (en) * 2015-02-22 2016-08-25 Mellanox Technologies Ltd. Differentiating among multiple management control instances using addresses
CN106227540A (en) * 2016-07-27 2016-12-14 北京百度网讯科技有限公司 Obtain the methods, devices and systems of displaying information on screen

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093575A1 (en) * 2009-10-19 2011-04-21 Dell Products L.P. Local externally accessible managed virtual network interface controller
CN103905566A (en) * 2014-04-22 2014-07-02 浪潮电子信息产业股份有限公司 Server starting information remote checking and leading-out method
CN104317712A (en) * 2014-10-23 2015-01-28 浪潮电子信息产业股份有限公司 Linux-based storage server fatigue testing method
US20160248620A1 (en) * 2015-02-22 2016-08-25 Mellanox Technologies Ltd. Differentiating among multiple management control instances using addresses
CN104965727A (en) * 2015-04-29 2015-10-07 无锡天脉聚源传媒科技有限公司 Method and device for restarting server
CN106227540A (en) * 2016-07-27 2016-12-14 北京百度网讯科技有限公司 Obtain the methods, devices and systems of displaying information on screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王春海: "《Windows组网与故障排除实用宝典 十年经验版》", 30 June 2015 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107748710A (en) * 2017-08-31 2018-03-02 郑州云海信息技术有限公司 A kind of server for supporting that much information is shown

Similar Documents

Publication Publication Date Title
Grilo et al. Reverse engineering of GUI models for testing
US8875102B1 (en) Multiple browser architecture and method
CN107291438A (en) Generation method, device and the electronic equipment of automatized script
JP2006505051A5 (en)
CN104572072B (en) A kind of language transfer method and equipment to the program based on MVC pattern
CN110032519A (en) Cloud function adjustment method, device, computer equipment and storage medium
CN107239271A (en) Develop document structure tree method and device
CN105992066B (en) A kind of characters input method and character entry apparatus applied to smart machine
CN105204991A (en) Internet of things test method and device
CN109426611A (en) A kind of method for testing software and device
WO2024022355A1 (en) Security vulnerability scanning task processing method based on rpa and ai, and related device
CN110188043A (en) A kind of method and control equipment of the test of control multiple devices
CN108268365A (en) Abnormal task method for implanting, device and system
Weyers et al. Formal modeling and reconfiguration of user interfaces for reduction of errors in failure handling of complex systems
US8516370B2 (en) Session classes for process automation
US9723489B1 (en) Automated vulnerability discovery in mobile device applications
CN102902526A (en) Automatic setting method for realizing BMC (Baseboard Management Controller) and IP (Internet Protocol) information through time delay
CN106874148A (en) A kind of method based on WINDOWS platform control Server Restart and real-time display serial ports output information
CN104063227B (en) A kind of instruction learning method based on Internet of Things
Givens et al. Exploring the internal state of user interfaces by combining computer vision techniques with grammatical inference
CN111880977A (en) Fault self-healing method and device, equipment and storage medium
CN111130864A (en) Method for collecting formatted network element data using template
CN106909277A (en) A kind of method based on LINUX platform courses Server Restart and real-time display serial ports output information
CN113282476B (en) Interface performance testing method and device and electronic equipment
CN113204495A (en) Automatic testing method and device based on B/S architecture, storage medium and equipment

Legal Events

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

Application publication date: 20170620

RJ01 Rejection of invention patent application after publication