CN113806167A - Running monitoring method of Feiteng platform server operating system - Google Patents

Running monitoring method of Feiteng platform server operating system Download PDF

Info

Publication number
CN113806167A
CN113806167A CN202111019358.5A CN202111019358A CN113806167A CN 113806167 A CN113806167 A CN 113806167A CN 202111019358 A CN202111019358 A CN 202111019358A CN 113806167 A CN113806167 A CN 113806167A
Authority
CN
China
Prior art keywords
operating system
cpld
operating
lamp
signal
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
CN202111019358.5A
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.)
Chaoyue Technology Co Ltd
Original Assignee
Chaoyue 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 Chaoyue Technology Co Ltd filed Critical Chaoyue Technology Co Ltd
Priority to CN202111019358.5A priority Critical patent/CN113806167A/en
Publication of CN113806167A publication Critical patent/CN113806167A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an operation monitoring method of a Feiteng platform server operating system, which relates to the technical field of computers, and is characterized in that an operating system operating lamp is set, the on and off of the operating system operating lamp is controlled by a cpld, and the operating condition of the operating system is determined through the communication between the operating system and the cpld; a communication part comprising an operating system and a cpld and a part for controlling the running lamp by the cpld; after the server is powered on and started, cpld carries out polling receiving on a special communication serial port of an operating system, wherein the serial port is directly output by a Feiteng processor; receiving a received signal by cpld polling, and lighting an operation lamp for entering an operating system; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the running light which indicates that the system runs abnormally is lightened. The method is convenient and efficient, is used for controlling the operating system operating lamp of the Feiteng platform server, and can be used for quickly judging whether the server enters the operating system or not by a user.

Description

Running monitoring method of Feiteng platform server operating system
Technical Field
The invention relates to the technical field of computers, in particular to an operation monitoring method of a Feiteng platform server operating system.
Background
With the development of computer technology, various industries begin to use computers widely to complete various works efficiently, and with the wide application of computers in various industries, the functional requirements on computers are gradually increased, the customized functions are more and more, more and more specially customized servers begin to appear, and the functional customization is a great test for computer manufacturers.
The operating system is a core part of the computer used by the user and is also a part of the computer directly used by the user, so that the operating system is the most important part for the user, and the normal access to the operating system is the primary condition for the computer to work normally. In a scene that a special customized server or a plurality of servers are started and operated at the same time, it is difficult for a user to check the operation condition of each server operation system, and the operation condition of each server operation system cannot be checked efficiently.
Disclosure of Invention
The technical task of the invention is to provide the running monitoring method of the operating system of the Feiteng platform server, which is convenient and efficient, and can be used for quickly judging whether the server enters the operating system by a user.
The technical scheme adopted by the invention for solving the technical problems is as follows:
an operation monitoring method of a Feiteng platform server operating system is provided, an operating system operating lamp is set, a cpld controls the on and off of the operating system operating lamp, and the operating condition of the operating system is determined through the communication between the operating system and the cpld; a communication part comprising an operating system and a cpld and a part for controlling the running lamp by the cpld;
after the server is powered on and started, cpld carries out polling receiving on a special communication serial port of an operating system, wherein the serial port is directly output by a Feiteng processor;
receiving a received signal by cpld polling, and lighting an operation lamp for entering an operating system; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the running light which indicates that the system runs abnormally is lightened.
The development of domestic processors in these years is rapid, and the Feiteng processor is the outstanding one among the domestic processors, has the characteristics of complete pedigree, high performance, perfect ecology, high autonomy and the like, and is gradually substituted for foreign processors such as intel and the like at present and is gradually applied to various fields of various domestic industries. The method is applied to the control method of the operating lamp of the LED operating system of the Feiteng platform server, and can realize the function of judging whether the operating system normally enters or not by checking the operating lamp.
The method for controlling the operating lamp of the operating system of the Feiteng platform server is provided, the operating condition of the operating system is determined through communication between the operating system and the cpld, and the cpld is used for controlling the on and off of the operating lamp, so that the problem that a user is inconvenient to check the operating condition of each server operating system when a plurality of servers are started to work at the same time is solved.
Preferably, the operating system and the cpld communicate through a serial port, after the server normally enters the operating system, the operating system sends a signal to the cpld through the serial port, and after the cpld receives the signal, the green operating lamp is turned on to indicate that the operation is normal; otherwise, a red running light is lightened to indicate that the operating system runs abnormally.
Preferably, the cpld controls a portion of the operating lamp, and the cpld controls on and off of the operating lamp by respectively controlling high and low levels of the two gpio pins.
Preferably, the running light is a led running light.
Furthermore, GpioPortb6 and GpioPortb7 are used for representing two gpio pins, after the server is powered on and started, the levels of the two gpio pins GpioPortb6 and GpioPortb7 are both pulled low, and the cpld starts to poll and receive the special communication serial port of the operating system;
writing a program under an operating system, setting starting up execution, sending a fixed section of character string to a serial port communicated with the cpld at intervals as a signal communicated with the cpld by the program, and ensuring that the content of the character string is unified with the cpld;
when the server enters an operating system, the operating system executes a program and sends a signal to a serial port, the cpld polls to receive the signal, the GpioPortb6 level is pulled high, a green operating lamp is lightened, the operating system is indicated to smoothly enter, and a serial port channel is emptied;
when the signal is not received by cpld which is more than twice the average entering time of the operating system, the level of GpioPortb7 is pulled high, and a red operating lamp is lightened, thereby indicating that the operating system cannot be smoothly entered.
Further, a program is written under an operating system to open a thread, the program is suspended in a background to run the program in the background continuously, and a signal is sent to the serial port every 2 ms; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the level of GpioPortb6 is pulled down, the level of GpioPortb7 is pulled up, the red operating lamp is lightened, the green operating lamp is extinguished, and the operating system is indicated to be abnormally operated.
Preferably, the average entry time is obtained for a plurality of test records.
Further, the method is realized as follows:
s1), starting up and powering on;
s2), cpld starts timing polling;
s3), judging whether a signal is received or not until the set time;
s4), receiving the signal, lighting the green running light, and continuing to perform cpld timing polling; otherwise, the red running light is lightened;
s5), the red running light is lighted, and the power-off shutdown is automatically carried out.
The invention also claims an operation monitoring device of the Feiteng platform server operating system, which is configured according to the operation monitoring method of the Feiteng platform server operating system and comprises the following steps: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is used for calling the machine readable program and executing the running monitoring method of the Feiteng platform server operating system.
The present invention also claims a computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of operation monitoring of a FT platform server operating system as described above.
Compared with the prior art, the operation monitoring method of the Feiteng platform server operating system has the following beneficial effects:
the method is applied to the control method of the operating lamp of the LED operating system of the Feiteng platform server, and can realize the function of judging whether the operating system normally enters or not by checking the operating lamp. By providing the method for controlling the operating lamp of the operating system of the Feiteng platform server, the operating condition of the operating system is determined through the communication between the operating system and the cpld, and the cpld controls the on and off of the operating lamp, so that the problem that a user is inconvenient to check the operating condition of each server operating system under the condition that a plurality of servers are started to work at the same time is solved.
Drawings
FIG. 1 is a flow chart of an implementation of a method for monitoring the operation of a Feiteng platform server operating system in accordance with the present invention;
fig. 2 is a schematic diagram of the overall running light control provided by an embodiment of the present invention.
Detailed Description
The invention is further described with reference to the following figures and specific examples.
A general user can check whether to enter the operating system by directly checking the display, but when a large number of servers are required to work simultaneously in some industries, it is impossible for each server to check the operating condition of the operating system by the display, so that a method for conveniently and quickly checking the operating condition of the operating system is required.
The embodiment of the invention provides an operation monitoring method of an operating system of a Feiteng platform server, which comprises the steps of setting an operating system operating lamp, controlling the on and off of the operating system operating lamp by a cpld, and determining the operating condition of the operating system through the communication between the operating system and the cpld; a communication part comprising an operating system and a cpld and a part for controlling the running lamp by the cpld;
after the server is powered on and started, cpld carries out polling receiving on a special communication serial port of an operating system, wherein the serial port is directly output by a Feiteng processor;
receiving a received signal by cpld polling, and lighting an operation lamp for entering an operating system; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the running light which indicates that the system runs abnormally is lightened. In the embodiment of the invention, the running lamp is an led running lamp. As shown in fig. 2, a schematic of lamp control is run for the entire led.
The communication part of the operating system and the cpld is characterized in that the operating system and the cpld are communicated through a serial port, the operating system sends a signal to the cpld through the serial port after a server normally enters the operating system, and a green operating lamp is turned on after the cpld receives the signal to indicate that the operation is normal; otherwise, a red running lamp is lightened to indicate that the operating system runs abnormally;
the cpld controls the part of the operation lamp, and the cpld controls the on and off of the operation lamp by respectively controlling the high and low levels of the two gpio pins.
The embodiment of the invention provides an operation monitoring method of an operating system of a Feiteng platform server, which comprises the steps of representing two gpio pins by using GpioPorttb 6 and GpioPorttb 7, after the server is powered on and started, pulling down the levels of the two gpio pins GpioPorttb 6 and GpioPorttb 7, enabling cpld to start polling and receiving a special communication serial port of the operating system, and enabling the serial port to be a Feiteng processor to be directly out;
writing a program under an operating system, setting starting up execution, sending a fixed section of character string to a serial port communicated with the cpld at intervals as a signal communicated with the cpld by the program, and ensuring that the content of the character string is unified with the cpld;
when the server enters an operating system, the operating system executes a program and sends a signal to a serial port, the cpld polls to receive the signal, the GpioPortb6 level is pulled high, a green operating lamp is lightened, the operating system is indicated to smoothly enter, and a serial port channel is emptied;
when the signal is not received by cpld which is more than twice the average entering time of the operating system, the level of GpioPortb7 is pulled high, and a red operating lamp is lightened, thereby indicating that the operating system cannot be smoothly entered. The average entry time is obtained for a number of test recordings.
According to the running monitoring method of the operating system of the Feiteng platform server, provided by the embodiment of the invention, a program is written under the operating system to open a thread, the program is suspended in a background to run the program continuously in the background, and a signal is sent to a serial port every 2 ms; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the level of GpioPortb6 is pulled down, the level of GpioPortb7 is pulled up, the red operating lamp is lightened, the green operating lamp is extinguished, and the operating system is indicated to be abnormally operated.
As shown in fig. 1, the whole implementation process of the method is as follows:
s1), starting up and powering on;
s2), cpld starts timing polling;
s3), judging whether a signal is received or not until the set time;
s4), receiving the signal, lighting the green running light, and continuing to perform cpld timing polling; otherwise, the red running light is lightened;
s5), the red running light is lighted, and the power-off shutdown is automatically carried out.
The development of domestic processors in these years is rapid, and the Feiteng processor is the outstanding one among the domestic processors, has the characteristics of complete pedigree, high performance, perfect ecology, high autonomy and the like, and is gradually substituted for foreign processors such as intel and the like at present and is gradually applied to various fields of various domestic industries. The method is applied to the control method of the operating lamp of the LED operating system of the Feiteng platform server, and can realize the function of judging whether the operating system normally enters or not by checking the operating lamp.
The method for controlling the operating lamp of the operating system of the Feiteng platform server is provided, the operating condition of the operating system is determined through communication between the operating system and the cpld, and the cpld is used for controlling the on and off of the operating lamp, so that the problem that a user is inconvenient to check the operating condition of each server operating system when a plurality of servers are started to work at the same time is solved.
An embodiment of the present invention further provides an operation monitoring apparatus for an operating system of a platform server according to the above-described operation monitoring method for an operating system of a platform server, and the apparatus includes: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to execute the operation monitoring method of the FT platform server operating system in the above embodiment.
An embodiment of the present invention further provides a computer-readable medium, where a computer instruction is stored on the computer-readable medium, and when the computer instruction is executed by a processor, the processor is enabled to execute the operation monitoring method for the operating system of the platform server according to the above embodiment of the present invention. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. The operation monitoring method of the Feiteng platform server operating system is characterized in that an operating system operating lamp is arranged, the on and off of the operating system operating lamp is controlled by a cpld, and the operating condition of the operating system is determined through the communication between the operating system and the cpld; a communication part comprising an operating system and a cpld and a part for controlling the running lamp by the cpld;
after the server is powered on and started, cpld carries out polling receiving on a special communication serial port of an operating system, wherein the serial port is directly output by a Feiteng processor;
receiving a received signal by cpld polling, and lighting an operation lamp for entering an operating system; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the running light which indicates that the system runs abnormally is lightened.
2. The method for monitoring the operation of the operating system of the FT platform server according to claim 1, wherein the operating system communicates with the cpld through a serial port, the operating system sends a signal to the cpld through the serial port after the server normally enters the operating system, and the cpld receives the signal and lights a green operating lamp to indicate that the operation is normal; otherwise, a red running light is lightened to indicate that the operating system runs abnormally.
3. The operation monitoring method of the FT platform server operating system according to claim 1 or 2, wherein the cpld controls a part of the operation lamp, and the cpld controls on and off of the operation lamp by respectively controlling high and low levels of two gpio pins.
4. The method of claim 3, wherein the operating light is an led operating light.
5. The method for monitoring the operation of the operating system of the Feiteng platform server according to claim 3, wherein GpioPortb6 and GpioPortb7 are used to represent two gpio pins, and after the server is powered on and started, the levels of the two gpio pins GpioPortb6 and GpioPortb7 are both pulled down, and cpld starts to poll and receive the dedicated communication serial port of the operating system;
writing a program under an operating system, setting starting up execution, sending a fixed section of character string to a serial port communicated with the cpld at intervals as a signal communicated with the cpld by the program, and ensuring that the content of the character string is unified with the cpld;
when the server enters an operating system, the operating system executes a program and sends a signal to a serial port, the cpld polls to receive the signal, the GpioPortb6 level is pulled high, a green operating lamp is lightened, the operating system is indicated to smoothly enter, and a serial port channel is emptied;
when the signal is not received by cpld which is more than twice the average entering time of the operating system, the level of GpioPortb7 is pulled high, and a red operating lamp is lightened, thereby indicating that the operating system cannot be smoothly entered.
6. The running monitoring method of the FT platform server operating system according to claim 3, characterized in that a program is written under the operating system to open a thread, the program is suspended in the background to run the program continuously in the background, and a signal is sent to the serial port every 2 ms; when the signal is not received by cpld which is more than twice the average entering time of the operating system, the level of GpioPortb6 is pulled down, the level of GpioPortb7 is pulled up, the red operating lamp is lightened, the green operating lamp is extinguished, and the operating system is indicated to be abnormally operated.
7. The method of claim 1, wherein the average entry time is obtained for a plurality of test records.
8. The method for monitoring the operation of the operating system of the FT platform server according to claim 1, wherein the method is implemented as follows:
s1), starting up and powering on;
s2), cpld starts timing polling;
s3), judging whether a signal is received or not until the set time;
s4), receiving the signal, lighting the green running light, and continuing to perform cpld timing polling; otherwise, the red running light is lightened;
s5), the red running light is lighted, and the power-off shutdown is automatically carried out.
9. An operation monitoring apparatus for a FT platform server operating system, the apparatus being configured according to the method of any one of claims 1 to 8 and comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to perform the method of any of claims 1 to 8.
10. Computer readable medium, characterized in that it has stored thereon computer instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 8.
CN202111019358.5A 2021-09-01 2021-09-01 Running monitoring method of Feiteng platform server operating system Pending CN113806167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111019358.5A CN113806167A (en) 2021-09-01 2021-09-01 Running monitoring method of Feiteng platform server operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111019358.5A CN113806167A (en) 2021-09-01 2021-09-01 Running monitoring method of Feiteng platform server operating system

Publications (1)

Publication Number Publication Date
CN113806167A true CN113806167A (en) 2021-12-17

Family

ID=78894556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111019358.5A Pending CN113806167A (en) 2021-09-01 2021-09-01 Running monitoring method of Feiteng platform server operating system

Country Status (1)

Country Link
CN (1) CN113806167A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6021437A (en) * 1996-07-17 2000-02-01 Bull S.A. Process and system for real-time monitoring of a data processing system for its administration and maintenance support in the operating phase
CN201540533U (en) * 2009-11-16 2010-08-04 英业达股份有限公司 Computer system
CN107402834A (en) * 2017-06-20 2017-11-28 公牛集团有限公司 A kind of embedded system electrifying startup self checking method and device
CN107957924A (en) * 2016-10-17 2018-04-24 北京计算机技术及应用研究所 Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC
CN109032888A (en) * 2018-06-28 2018-12-18 郑州云海信息技术有限公司 A kind of server start-up course fault detection method, device and controlled terminal
CN111274099A (en) * 2020-01-12 2020-06-12 苏州浪潮智能科技有限公司 Indicator lamp control method, system, equipment and medium of switch system
CN112306821A (en) * 2020-10-27 2021-02-02 苏州浪潮智能科技有限公司 State indication method, device, equipment and storage medium of server system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6021437A (en) * 1996-07-17 2000-02-01 Bull S.A. Process and system for real-time monitoring of a data processing system for its administration and maintenance support in the operating phase
CN201540533U (en) * 2009-11-16 2010-08-04 英业达股份有限公司 Computer system
CN107957924A (en) * 2016-10-17 2018-04-24 北京计算机技术及应用研究所 Autonomous controllable startup of server process monitoring diagnostic method based on CPLD and BMC
CN107402834A (en) * 2017-06-20 2017-11-28 公牛集团有限公司 A kind of embedded system electrifying startup self checking method and device
CN109032888A (en) * 2018-06-28 2018-12-18 郑州云海信息技术有限公司 A kind of server start-up course fault detection method, device and controlled terminal
CN111274099A (en) * 2020-01-12 2020-06-12 苏州浪潮智能科技有限公司 Indicator lamp control method, system, equipment and medium of switch system
CN112306821A (en) * 2020-10-27 2021-02-02 苏州浪潮智能科技有限公司 State indication method, device, equipment and storage medium of server system

Similar Documents

Publication Publication Date Title
CN105573743B (en) Chip burning system and method and electronic equipment
US9715381B2 (en) Information processing apparatus, information processing system, information processing method, and non-transitory computer-readable storage medium having stored therein an information processing program
CN104503875A (en) Test method and test system of Android device
CN106227630B (en) Detection system for embedded wireless module
CN114138527A (en) Method, device and medium for improving performance of server
CN112134765A (en) WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium
CN113806167A (en) Running monitoring method of Feiteng platform server operating system
CN112114901B (en) Standby control circuit, method, device and storage medium
CN113821265B (en) Operating system control method and device, computer mainboard and readable storage medium
CN116010141A (en) Method, device and medium for positioning starting abnormality of multipath server
CN108919090A (en) Circuit board and booting adjustment method for the debugging that is switched on
CN115033298A (en) Industrial Internet equipment interface resource multi-scene adaptation method and system
CN107506271A (en) A kind of method of testing and device
JP2014153798A (en) Information processing device, control method of information processing device, and control program
CN109245920B (en) Automatic switch configuration method and device, switch and storage medium
CN112860501A (en) Detection method, detection device, storage medium and mobile terminal
CN112269733A (en) Automatic aging test method for server and storage medium
JP2003256244A (en) Electronic equipment and condition display method
CN115114101B (en) Link testing method, device, system and storage medium
CN116149889A (en) Fault positioning method, device and system and computer readable storage medium
CN117311890B (en) Picture display method and device in starting process of server
CN108829407A (en) System boot method, electronic equipment and the storage medium of electronic equipment
CN113759869B (en) Intelligent household appliance testing method and device
CN103093794A (en) Energy-saving rigid disc rear plate and energy-saving method thereof
CN113778812A (en) Server fault offline diagnosis device and 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