CN116737638A - Server information display method and device, server and storage medium - Google Patents

Server information display method and device, server and storage medium Download PDF

Info

Publication number
CN116737638A
CN116737638A CN202310705690.XA CN202310705690A CN116737638A CN 116737638 A CN116737638 A CN 116737638A CN 202310705690 A CN202310705690 A CN 202310705690A CN 116737638 A CN116737638 A CN 116737638A
Authority
CN
China
Prior art keywords
display
electronic paper
information
server information
electrowetting electronic
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
CN202310705690.XA
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310705690.XA priority Critical patent/CN116737638A/en
Publication of CN116737638A publication Critical patent/CN116737638A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention relates to the field of computers, and discloses a server information display method, a device, a server and a storage medium, wherein the method comprises the following steps: sending a display request message to the electrowetting electronic paper based on the target server information; the target server information comprises initialization information of a basic input/output system in a starting stage and serial port display information under an operating system; receiving feedback information reported by the electrowetting electronic paper based on a display request message; the feedback information is generated after the self-test of the electrowetting electronic paper, and comprises the display state and the effective display area of the electrowetting electronic paper; determining a target display area for displaying target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to display the target server information in the target display area; the invention can improve the real-time performance and reliability of the information display of the server.

Description

Server information display method and device, server and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for displaying server information, a server, and a storage medium.
Background
In the existing server application scenario, when there is a display requirement, if a user wants to acquire related information of a start stage for display or display serial port information under an OS (operating system), an external display is required for completion; however, some display interfaces for external display are only welded in the debugging stage, and when the video graphic array interface is actually put into use, the video graphic array interface on the server is removed, and the external display is not allowed due to the requirement of the working environment of the server. At this time, if the user needs to acquire the information of the basic input/output system in the startup initialization stage or the information of the display serial port under the OS, the server needs to be separated from the current working environment, and the external display screen is connected after the video graphic array interface is welded, so that the service continuity of the user and the instantaneity of information acquisition can be affected.
Disclosure of Invention
In view of this, the invention provides a method, a device, a server and a storage medium for displaying server information, so as to solve the problem that in the existing server application scenario, if a user wants to acquire related information in a starting stage to display or display serial port information under an OS, the user needs to detach the server from the current working environment, and weld a video graphic array interface and then connect with a display screen to realize, thereby affecting the service continuity of the user and the instantaneity of information acquisition.
In a first aspect, the present invention provides a method for displaying server information, applied to a motherboard of a server, where the motherboard is connected with electrowetting electronic paper through a serial port, the method includes: acquiring target server information, and sending a display request message to the electrowetting electronic paper based on the target server information; the target server information comprises initialization information of a basic input/output system in a starting stage and serial port display information under an operating system; receiving feedback information reported by the electrowetting electronic paper based on a display request message; the feedback information is generated after the self-test of the electrowetting electronic paper, and comprises the display state and the effective display area of the electrowetting electronic paper; and determining a target display area for displaying the target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to display the target server information in the target display area. Through the process, the situation that in the existing server application scene, if a user wants to acquire related information in a starting stage for displaying or display serial port information under an OS, the server is required to be separated from the current working environment, and an external display screen is connected after a video graphic array interface is welded is avoided, so that the service continuity of the user and the real-time condition of information acquisition can be influenced.
In an alternative embodiment, obtaining the target server information includes:
acquiring the information type of the target server information, and determining a corresponding target server information storage address based on the information type;
generating a corresponding script program according to the target server information storage address and the server information type;
and obtaining the target server information through the script program.
In an alternative embodiment, sending a display request message to an electrowetting electronic paper includes:
performing display test on the electrowetting electronic paper;
and after the electrowetting electronic paper passes the display test, sending a display request message to the electrowetting electronic paper.
In an alternative embodiment, determining a target display area for displaying target server information on an electrowetting electronic paper based on the effective display area includes:
determining a target display area of target server information on the electrowetting electronic paper according to the pixels of the effective display area and the type of the server information;
or determining the target display area of the target server information on the electrowetting electronic paper according to the pixels of the effective display area and the pixels of each character in the target server information.
In an alternative embodiment, displaying the target server information in the target display area includes:
And when the target server information is larger than the information which can be displayed in the target display area, scrolling and displaying the target server information.
In an alternative embodiment, the method further comprises:
receiving display information fed back by the electrowetting electronic paper based on the target server information;
and determining the accuracy of the electrowetting electronic paper to display the information of the target server based on the display information.
In an alternative embodiment, the self-checking of the display state of the electrowetting electronic paper comprises:
whether the display screen of the electrowetting electronic paper is in a screen cleaning state;
and/or whether a display task which is repeated with the display request message exists in the display task table of the electrowetting electronic paper or not, and the trigger condition is met;
the triggering condition comprises that the electrowetting electronic paper is in a task display environment and can display target server information.
In a second aspect, the present invention provides a server information display device, which is applied to a motherboard of a server, and the motherboard is connected with electrowetting electronic paper through a serial port, and the device mainly includes: the system comprises an information acquisition module, an information receiving module and an information display module; the information acquisition module is used for acquiring target server information and sending a display request message to the electrowetting electronic paper based on the target server information; the target server information comprises initialization information of a basic input/output system in a starting stage and serial port display information under an operating system; the information receiving module is used for receiving feedback information reported by the electrowetting electronic paper based on the display request message; the feedback information is generated after the self-test of the electrowetting electronic paper, and comprises the display state and the effective display area of the electrowetting electronic paper; the information display module is used for determining a target display area for displaying target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to enable the target server information to be displayed in the target display area, so that the situation that in the existing server application scene, if a user wants to acquire related information in a starting stage to display or display serial information under an OS, the user needs to detach the server from the current working environment, and the user needs to weld a video graphic array interface and then externally connect a display screen to realize, so that the service continuity of the user and the real-time condition of information acquisition can be affected.
In a third aspect, the present invention provides a server comprising: the server information display device comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, so that the server information display method of the first aspect or any corresponding embodiment of the first aspect is executed.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon computer instructions for causing a computer to execute the server information display method of the first aspect or any one of the embodiments corresponding thereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of an application environment of an embodiment of the present invention;
FIG. 2 is a flowchart of a server information display method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the structure of an electrowetting electronic paper in an embodiment of the present invention;
FIG. 4 is a flowchart of another server information display method according to an embodiment of the present invention;
FIG. 5 is a flowchart of a server information display method according to an embodiment of the present invention;
FIG. 6 is a flowchart of a method for displaying server information according to an embodiment of the present invention;
fig. 7 is a block diagram showing the structure of a server information display apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment according to an embodiment of the present invention, where the schematic diagram includes a server 100 that may include a display 101, a processor 102, and a memory 103. The server 100 may be communicatively coupled to a central server 200 via a network 300, the central server 200 may be configured to provide services (e.g., application services, etc.) to servers or clients installed on the servers, and a database 201 may be provided on the central server 200 or independent of the central server 200 for providing data storage services to the central server 200. In addition, a processing engine 202 may be run in the central server 200, which processing engine 202 may be used to perform the steps performed by the central server 200.
Alternatively, the server 100 may be, but is not limited to, a terminal capable of calculating data, such as a mobile terminal (e.g., a mobile phone, a tablet computer), a notebook computer, a PC (Personal Computer, a personal computer) or the like, and the network may include, but is not limited to, a wireless network or a wired network. Wherein the wireless network comprises: bluetooth, WIFI (Wireless Fidelity ) and other networks that enable wireless communications. The wired network may include, but is not limited to: wide area network, metropolitan area network, server cluster. The central server 200 may include, but is not limited to, any hardware device that may perform calculations.
In addition, in this embodiment, the method for displaying server information may be applied to, but not limited to, an independent processing device with a relatively high processing capability, without data interaction. For example, the processing device may be, but not limited to, a terminal device with a relatively high processing power, i.e., each operation in the server information display method described above may be integrated into a single processing device. The above is merely an example, and is not limited in any way in the present embodiment.
Alternatively, in the present embodiment, the above-described server information display method may be performed by the center server 200, may be performed by the server 100, or may be performed by both the center server 200 and the server 100. In this case, the server 100 may execute the server information display method according to the embodiment of the present invention by a client installed thereon.
According to an embodiment of the present invention, there is provided an embodiment of a server information display method, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that herein.
In this embodiment, a method for displaying server information is provided, which may be used for the above-mentioned motherboard of a server, where the motherboard is connected to electrowetting electronic paper through a serial port, and fig. 2 is a flowchart of a method for displaying server information according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S201, obtain the target server information, and send a display request message to the electrowetting electronic paper based on the target server information.
In this embodiment, the target server information is obtained, and the display request message is sent to the electrowetting electronic paper based on the target server information, so as to inform the electrowetting electronic paper of the server information to be displayed at this time.
In an alternative implementation, the server obtains the target server information through the script program, then runs the search script to search the universal serial bus of the serial port (which can be a universal serial bus in other embodiments) in communication with the electrowetting electronic paper, and sends a display request message to the electrowetting electronic paper according to the available serial port (which can be a universal serial bus in other embodiments) so as to inform the electrowetting electronic paper of the server information to be displayed. The server information type may include initialization information of a basic input/output system in a starting stage and serial port display information under an operating system, and a display form of each information may be a character or a picture, which is not limited herein. The initialization information for the bios startup phase may include cpu information of the server, bios vendor, bios state, and MAC address.
In an alternative implementation manner, the server firstly acquires the information type of the target server information, determines a corresponding target server information storage address based on the information type, generates a corresponding script program according to the target server information storage address and the server information type, acquires the target server information through the script program, and then sends a display request message to the electrowetting electronic paper. It can be understood that after the target server information is obtained through the script program, the display request message is sent to the electrowetting electronic paper, so that the situation that the electrowetting electronic paper fails to receive the server information because the display request message is sent and effective target server information cannot be obtained after the response is obtained is avoided.
Step S202, feedback information reported by the electrowetting electronic paper based on the display request message is received.
In the embodiment, the feedback information is reported by the electrowetting electronic paper based on the display request message, so that the situation that the display system of the electrowetting electronic display collapses or the service life of the electrowetting electronic paper is shortened due to the fact that the target service information is forcedly displayed when the electrowetting electronic paper is not in a display state can be avoided to a certain extent; and simultaneously, the situation that the display task is repeatedly built is avoided.
In an alternative embodiment, the feedback information is generated after the electrowetting electronic paper performs self-checking determination based on the display request message and can be displayed, and the feedback information includes the display state and the effective display area of the electrowetting electronic paper.
Referring to fig. 3, in an alternative embodiment, the server obtains the target server information through the script program, and then sends a display request message to the electrowetting electronic paper through an available serial port (in other embodiments, a universal serial bus) based on the target server information, so as to inform the electrowetting electronic paper of the server information to be displayed, and after the electrowetting electronic paper receives the display request message sent by the server, the electrowetting electronic paper can perform self-checking before refreshing through the controller, so as to determine whether the display can be performed. If the performance of the electrowetting electronic paper meets the requirement of displaying a request message; or the electrowetting electronic paper is in a screen cleaning state, and no display content exists; or the display task which is repeated with the request message does not exist in the display task list of the electrowetting electronic paper, and the trigger condition is met, wherein the trigger condition comprises that the electrowetting electronic paper is in a task display environment and can display the information of the target server. The electrowetting electronic paper can be combined under the condition that the controller performs self-checking judgment before refreshing; if the display screen of the electrowetting electronic paper belongs to a screen cleaning state, and meanwhile, a display task which is repeated with the display request message does not exist in the display task list of the electrowetting electronic paper, and the electrowetting electronic paper can display after confirming itself when the trigger condition is met.
Further, when the electrowetting electronic paper confirms that the electrowetting electronic paper can be displayed, feedback information of the electrowetting electronic paper is reported to a server through an available serial port (in other embodiments, the electrowetting electronic paper can also be used through a universal serial bus). Before the electrowetting electronic display reports the feedback information of the electrowetting electronic paper, the electrowetting electronic display needs to carry out self-checking according to a display request message sent by a server, and only when the electrowetting electronic display can display the feedback information, the feedback information is reported through an available serial port (in other embodiments, the feedback information can also be reported through a universal serial bus), the feedback information is changed from passive to active, and service information which is not suitable for the current electrowetting electronic paper is displayed on the electrowetting electronic paper to a certain extent, so that the display system of the electrowetting electronic display is collapsed, or the service life of the electrowetting electronic paper is shortened; and simultaneously, repeated creation of the display task can be avoided.
Step S203, a target display area for displaying the target server information on the electrowetting electronic paper is determined based on the effective display area, and the target server information and the target display area are transmitted to the electrowetting electronic paper according to the display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area.
In this embodiment, if the electrowetting electronic paper confirms that the electrowetting electronic paper can be displayed, its feedback information is reported to the server through an available serial port (or through a universal serial bus in other embodiments). After receiving feedback information reported by the electrowetting electronic paper, the server determines a target display area for displaying target server information on the electrowetting electronic paper through an effective display area in the feedback information, and transmits the target server information and the target display area to the electrowetting electronic paper so as to display the target server information on the target display area, thereby solving the possibility of complicated operation and service interruption possibly caused by externally connecting a display under the traditional condition, ensuring the real-time display of key information, improving the working efficiency and reducing the display power consumption.
In an alternative implementation, when the electrowetting electronic paper confirms that the electrowetting electronic paper can be displayed, feedback information of the electrowetting electronic paper is reported to the server through an available serial port (in other embodiments, the electrowetting electronic paper can also be used for a universal serial bus). After receiving feedback information reported by the electrowetting electronic paper, the server determines a target display area of target server information on the electrowetting electronic paper according to pixels of an effective display area and the type of server information; or determining a target display area of the target server information on the electrowetting electronic paper according to the pixels of the effective display area and the pixels of each character in the target server information, and then transmitting the target server information and the target display area to the electrowetting electronic paper so as to display the target server information in the target display area of the electrowetting electronic paper.
In an alternative implementation manner, after the electrowetting electronic paper receives the target server information and the target display area, the driving voltage corresponding to the gray level of the current frame and the gray level of the next frame of the target display area are calculated. If the driving voltage of the current frame and the driving voltage of the next frame are in the same interval, driving the pixel gray level of the current frame to the limit gray level, adjusting the driving voltage to the gray level of the next frame, and displaying the information of the target server; if the driving voltage of the current frame and the driving voltage of the next frame are not in the same interval, the driving voltage is directly adjusted to the gray level of the next frame, and the information of the target server is displayed, so that the stability of the gray level change of the electrowetting electronic paper is improved.
According to the server information display method provided by the embodiment, firstly, target server information is obtained, and a display request message is sent to the electrowetting electronic paper based on the target server information so as to inform the electrowetting electronic paper of the server information to be displayed; then receiving feedback information reported by the electrowetting electronic paper based on the display request message, wherein the feedback information is generated after the electrowetting electronic paper is subjected to self-inspection, and the feedback information comprises a display state and an effective display area of the electrowetting electronic paper, so that the situation that service information which is not suitable for the current electrowetting electronic paper is displayed on the electrowetting electronic paper by a strong line can be avoided to a certain extent, thereby causing the breakdown of a display system of an electrowetting electronic display or the reduction of the service life of the electrowetting electronic paper, and simultaneously avoiding the situation that a display task is repeatedly established; the method comprises the steps of determining a target display area for displaying target server information on the electrowetting electronic paper based on the effective display area, transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area, the possibility of complicated operation and service interruption possibly caused by an external display in the traditional case is solved, real-time display of key information is ensured, the working efficiency is improved, and the display power consumption is reduced.
In this embodiment, a method for displaying server information is provided, which may be used for the above-mentioned motherboard of a server, where the motherboard is connected to electrowetting electronic paper through a serial port, and fig. 4 is a flowchart of a method for displaying server information according to an embodiment of the present invention, as shown in fig. 4, where the flowchart includes the following steps:
step S401, obtain the target server information, and send a display request message to the electrowetting electronic paper based on the target server information.
In this embodiment, the target server information is obtained, and the display request message is sent to the electrowetting electronic paper based on the target server information, so as to inform the electrowetting electronic paper of the server information to be displayed at this time.
Please refer to step S201 in the embodiment shown in fig. 2 in detail, which is not described herein.
Step S402, feedback information reported by the electrowetting electronic paper based on the display request message is received.
In the embodiment, the feedback information is reported by the electrowetting electronic paper based on the display request message, so that the situation that the display system of the electrowetting electronic display collapses or the service life of the electrowetting electronic paper is shortened due to the fact that the target service information is forcedly displayed when the electrowetting electronic paper is not in a display state can be avoided to a certain extent; and simultaneously, the situation that the display task is repeatedly built is avoided.
In an alternative embodiment, the feedback information is generated after the electrowetting electronic paper is capable of being displayed based on the self-checking determination before the display of the server information type, and the feedback information comprises the state of the electrowetting electronic paper and an effective display area.
In an alternative implementation manner, the server obtains the target server information through the script program, then sends a display request message to the electrowetting electronic paper through an available serial port (in other embodiments, the display request message may also be through a universal serial bus) based on the target server information, so as to inform the electrowetting electronic paper of the type of the server information to be displayed, after receiving the display request message sent by the server, the electrowetting electronic paper may perform self-checking before refreshing through the controller, so as to determine whether display is possible, if the performance of the electrowetting electronic paper meets the requirement of the display request message, then when confirming that the electrowetting electronic paper can display itself, report the feedback information of the electrowetting electronic paper itself to the server through the available serial port (in other embodiments, the display request message may also be through the universal serial bus). The electrowetting display performance meets the requirement of the current display request message, such as text and picture display, and the resolution can reach the target display pixel in dark or high-brightness environment.
In an alternative implementation manner, the server sends a display request message to the electrowetting electronic paper through an available serial port (in other embodiments, the display request message may also be through a universal serial bus), so as to inform the electrowetting electronic paper of server information to be displayed, after the electrowetting electronic paper receives the display request message sent by the server, the electrowetting electronic paper may determine that the electrowetting electronic paper is in a screen clearing state after self-checking before refreshing by the controller, and if no display content exists, the server may report its feedback information through the available serial port (in other embodiments, the display request message may also be through the universal serial bus).
In an alternative implementation manner, the server sends a display request message to the electrowetting electronic paper through an available serial port (in other embodiments, the display request message may also be sent through a universal serial bus) so as to inform the electrowetting electronic paper of the type of server information to be displayed, the electrowetting electronic paper can perform self-checking before refreshing after receiving the display request message sent by the server through the controller, a display task repeated with the request message does not exist in a display task table of the electrowetting electronic paper, and a triggering condition is met, where the triggering condition includes that the electrowetting electronic paper is in a task display environment (such as not in an electrowetting electronic paper debugging environment), and display of target server information can be performed.
It can be understood that before the electrowetting electronic display reports its own feedback information, the electrowetting electronic display needs to perform self-checking according to the display request message sent by the server, and only when the electrowetting electronic display can display itself, the feedback information reporting is performed through an available serial port (in other embodiments, the feedback information can also be performed through a universal serial bus), the feedback information is changed from passive to active, and service information which is not suitable for the current electrowetting electronic paper is forcedly displayed on the electrowetting electronic paper to a certain extent, thereby causing the display system of the electrowetting electronic display to collapse or reducing the service life of the electrowetting electronic paper; and simultaneously, repeated creation of the display task can be avoided.
Step S403, determining a target display area for displaying the target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to display the target server information in the target display area.
In this embodiment, if the electrowetting electronic paper confirms that the electrowetting electronic paper can be displayed, its feedback information is reported to the server through an available serial port (or through a universal serial bus in other embodiments). After receiving feedback information reported by the electrowetting electronic paper, the server determines a target display area for displaying target server information on the electrowetting electronic paper through an effective display area in the feedback information, and transmits the target server information and the target display area to the electrowetting electronic paper so as to display the target server information on the target display area, thereby solving the possibility of complicated operation and service interruption possibly caused by externally connecting a display under the traditional condition, ensuring the real-time display of key information, improving the working efficiency and reducing the display power consumption.
Specifically, the step S403 described above in determining the target display area based on the effective display area in the feedback message includes:
step S4031; and determining a target display area of the target server information on the electrowetting electronic paper according to the pixels of the effective display area and the type of the server information or according to the pixels of the effective display area and the pixels of each character in the target server information.
In this embodiment, the target display area of the target server information on the electrowetting electronic paper is determined according to the pixel of the effective display area and the type of the server information, or according to the pixel of the effective display area and the pixel of each character in the target server information, so as to facilitate the display of the target server information in the target display area.
In an optional implementation manner, when the pixel of the effective display area is a pixel of a display screen of the electrowetting electronic paper and the server information is serial information display information, determining that the target display area of the serial information on the electrowetting electronic paper is a middle position of the effective display area according to the pixel of the effective display area and the type of the server information.
In an optional implementation manner, the pixels of the effective display area are pixels of a display screen of the electrowetting electronic paper, the server information is initialization information of a starting stage of the basic input/output system, and according to the pixels of the effective display area and the pixels of each character in the target server information, it is determined that the target display area of the target server information on the electrowetting electronic paper is all areas within half of the characters from the boundary of the effective display area.
Step S4033; and when the target server information is larger than the information which can be displayed in the target display area, scrolling and displaying the target server information.
In this embodiment, when the target server information is larger than the information that can be displayed in the target display area, the target server information is scrolled and displayed, so that the display efficiency of the target server information on the electrowetting electronic paper is improved.
For example, when the pixels of the target display area are 400×400, if one character is 8×16 pixels, only 50 lines can be displayed in total, and 25 characters are displayed in each line. If more than 25 lines, the overlay front display will be scrolled.
According to the server information display method provided by the embodiment, firstly, target server information is obtained, and a display request message is sent to the electrowetting electronic paper based on the target server information so as to inform the electrowetting electronic paper of the server information to be displayed; then receiving feedback information reported by the electrowetting electronic paper based on the display request message, wherein the feedback information is generated after the electrowetting electronic paper is subjected to self-inspection, and the feedback information comprises a display state and an effective display area of the electrowetting electronic paper, so that the situation that service information which is not suitable for the current electrowetting electronic paper is displayed on the electrowetting electronic paper by a strong line can be avoided to a certain extent, thereby causing the breakdown of a display system of an electrowetting electronic display or the reduction of the service life of the electrowetting electronic paper, and simultaneously avoiding the situation that a display task is repeatedly established; the method comprises the steps of determining a target display area for displaying target server information on the electrowetting electronic paper based on the effective display area, transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area, the possibility of complicated operation and service interruption possibly caused by an external display in the traditional case is solved, real-time display of key information is ensured, the working efficiency is improved, and the display power consumption is reduced.
In an optional implementation manner, when the target server information is transmitted to the electrowetting electronic paper, the target server information can be converted into waveform data and then transmitted to the electrowetting electronic paper, so that the lattice driving electrowetting electronic paper can display the target server information.
In this embodiment, a method for displaying server information is provided, which may be used for the above-mentioned motherboard of a server, where the motherboard is connected to electrowetting electronic paper through a serial port, and fig. 5 is a flowchart of a method for displaying server information according to an embodiment of the present invention, as shown in fig. 5, where the flowchart includes the following steps:
step S501, performing a display test on the electrowetting electronic paper.
In this embodiment, the pre-display test is performed on the electrowetting electronic paper to determine whether the electrowetting electronic paper can be displayed normally or meets the current display requirement.
In an alternative embodiment, the display test is performed on the electrowetting electronic paper first, and after the electrowetting electronic paper passes the display test, a display request message is sent to the electrowetting electronic paper. For example, display test data may be first sent to the electrowetting electronic paper, and then data information fed back by the electrowetting electronic paper based on the display test data may be received, so as to determine whether the electrowetting electronic paper passes the display test. The display test data may be data equivalent to the type of server information to be displayed or the target server information.
Step S502, after the electrowetting electronic paper passes the display test, a display request message is sent to the electrowetting electronic paper.
In this embodiment, after the electrowetting electronic paper passes the display test, a display request message is sent to the electrowetting electronic paper, so as to inform the electrowetting electronic paper of the type of server information to be displayed.
Please refer to step S201 in the embodiment shown in fig. 2 in detail, which is not described herein.
Step S503, receiving feedback information reported by the electrowetting electronic paper based on the display request message.
In the embodiment, the feedback information is reported by the electrowetting electronic paper based on the display request message, so that the situation that the display system of the electrowetting electronic display collapses or the service life of the electrowetting electronic paper is shortened due to the fact that the target service information is forcedly displayed when the electrowetting electronic paper is not in a display state can be avoided to a certain extent; and simultaneously, the situation that the display task is repeatedly built is avoided.
Please refer to step S202 in the embodiment shown in fig. 2, which is not described herein.
Step S504, a target display area for displaying the target server information on the electrowetting electronic paper is determined based on the effective display area, and the target server information and the target display area are transmitted to the electrowetting electronic paper according to the display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area.
In this embodiment, if the electrowetting electronic paper confirms that the electrowetting electronic paper can be displayed, its feedback information is reported to the server through an available serial port (or through a universal serial bus in other embodiments). After receiving feedback information reported by the electrowetting electronic paper, the server determines a target display area for displaying target server information on the electrowetting electronic paper through an effective display area in the feedback information, and transmits the target server information and the target display area to the electrowetting electronic paper so as to display the target server information on the target display area, thereby solving the possibility of complicated operation and service interruption possibly caused by externally connecting a display under the traditional condition, ensuring the real-time display of key information, improving the working efficiency and reducing the display power consumption.
Please refer to step S403 in the embodiment shown in fig. 4 in detail, which is not described herein.
According to the server information display method provided by the embodiment, firstly, display test is conducted on the electrowetting electronic paper to judge whether the electrowetting electronic paper can be displayed normally or not, or the current display requirement is met; acquiring target server information after the electrowetting electronic paper passes the display test, and sending a display request message to the electrowetting electronic paper based on the target server information so as to inform the electrowetting electronic paper of the server information to be displayed; then receiving feedback information reported by the electrowetting electronic paper based on the display request message, wherein the feedback information is generated after the electrowetting electronic paper is subjected to self-inspection, and the feedback information comprises a display state and an effective display area of the electrowetting electronic paper, so that the situation that service information which is not suitable for the current electrowetting electronic paper is displayed on the electrowetting electronic paper by a strong line can be avoided to a certain extent, thereby causing the breakdown of a display system of an electrowetting electronic display or the reduction of the service life of the electrowetting electronic paper, and simultaneously avoiding the situation that a display task is repeatedly established; the method comprises the steps of determining a target display area for displaying target server information on the electrowetting electronic paper based on the effective display area, transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area, the possibility of complicated operation and service interruption possibly caused by an external display in the traditional case is solved, real-time display of key information is ensured, the working efficiency is improved, and the display power consumption is reduced.
In this embodiment, a method for displaying server information is provided, which may be used for the above-mentioned motherboard of a server, where the motherboard is connected to electrowetting electronic paper through a serial port, and fig. 6 is a flowchart of a method for displaying server information according to an embodiment of the present invention, as shown in fig. 6, where the flowchart includes the following steps:
step S601, obtaining target server information, and sending a display request message to the electrowetting electronic paper based on the target server information.
In this embodiment, please refer to step S201 in the embodiment shown in fig. 2 and step S401 in the embodiment shown in fig. 4 in detail, which are not described herein.
Step S602, feedback information reported by the electrowetting electronic paper based on the display request message is received.
Please refer to step S202 in the embodiment shown in fig. 2, which is not described herein.
Step S603, determining a target display area for displaying the target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area.
Please refer to step S403 in the embodiment shown in fig. 4 in detail, which is not described herein.
In step S604, display information fed back by the electrowetting electronic paper based on the target server information is received.
In the embodiment, the display information fed back by the electrowetting electronic paper based on the target server information is received, so that the accuracy and the instantaneity of the electrowetting electronic paper on the target server information display can be determined in time, and the condition of messy codes or display errors is avoided.
Step S605 determines the accuracy of the electrowetting electronic paper to display the target server information based on the display information.
In the embodiment, the reliability of the electrowetting electronic paper on the target server information display is ensured by determining the accuracy of the electrowetting electronic paper on the target server information display based on the display information.
According to the server information display method provided by the embodiment, firstly, target server information is obtained, and a display request message is sent to the electrowetting electronic paper based on the target server information so as to inform the electrowetting electronic paper of the server information to be displayed; then receiving feedback information reported by the electrowetting electronic paper based on the display request message, wherein the feedback information is generated after the electrowetting electronic paper is subjected to self-inspection, and the feedback information comprises a display state and an effective display area of the electrowetting electronic paper, so that the situation that service information which is not suitable for the current electrowetting electronic paper is displayed on the electrowetting electronic paper by a strong line can be avoided to a certain extent, thereby causing the breakdown of a display system of an electrowetting electronic display or the reduction of the service life of the electrowetting electronic paper, and simultaneously avoiding the situation that a display task is repeatedly established; determining a target display area for displaying target server information on the electrowetting electronic paper based on the effective display area, transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to display the target server information on the target display area, solving the possibility of complicated operation and service interruption possibly caused by externally connecting a display under the traditional condition, ensuring the real-time display of key information, improving the working efficiency and reducing the display power consumption; and receiving display information fed back by the electrowetting electronic paper based on the target server information, so as to determine the accuracy of the electrowetting electronic paper to display the target server information based on the display information.
The embodiment also provides a server information display device, which is used for implementing the above embodiment and the preferred implementation, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The embodiment provides a server information display device, which is applied to a main board of a server, and the main board is connected with electrowetting electronic paper through a serial port, as shown in fig. 7, and includes:
the information acquisition module 601 is configured to acquire target server information, and send a display request message to the electrowetting electronic paper based on the target server information.
The target server information comprises initialization information of a basic input/output system in a starting stage and serial port display information under an operating system.
In some alternative embodiments, the information acquisition module 601 includes:
the information acquisition unit is used for acquiring the information type of the target server information, determining a corresponding target server information storage address based on the information type, generating a corresponding script program according to the target server information storage address and the server information type, and acquiring the target server information through the script program.
And the display test unit is used for performing display test on the electrowetting electronic paper.
And the display request unit is used for sending a display request message to the electrowetting electronic paper after the electrowetting electronic paper passes the display test.
The information receiving module 602 is configured to receive feedback information reported by the electrowetting electronic paper based on the display request message.
The feedback information is generated after the electrowetting electronic paper is subjected to self-test, and comprises the display state and the effective display area of the electrowetting electronic paper.
Optionally, the self-checking of the display state of the electrowetting electronic paper includes: whether the display screen of the electrowetting electronic paper is in a screen cleaning state; and/or whether a display task which is repeated with the display request message exists in the display task table of the electrowetting electronic paper or not, and the trigger condition is met; the triggering condition comprises that the electrowetting electronic paper is in a task display environment and can display target server information.
The information display module 603 is configured to determine a target display area for displaying the target server information on the electrowetting electronic paper based on the effective display area, and transmit the target server information and the target display area to the electrowetting electronic paper according to a display state of the electrowetting electronic paper, so that the target server information is displayed in the target display area.
In some alternative embodiments, the information display module 603 includes:
and the display area determining unit is used for determining a target display area of the target server information on the electrowetting electronic paper according to the pixels of the effective display area and the type of the server information or according to the pixels of the effective display area and the pixels of each character in the target server information.
And the scrolling display unit is used for scrolling and displaying the target server information when the target server information is larger than the information which can be displayed in the target display area.
In some alternative embodiments, the apparatus further comprises:
and the storage address determining module is used for determining the storage address based on the type of the server information carried in the display instruction before sending the display request message to the electrowetting electronic paper.
And the information acquisition module is used for acquiring the information of the target server based on the storage address.
In some alternative embodiments, the apparatus further comprises:
and the feedback information receiving module is used for receiving the display information fed back by the electrowetting electronic paper based on the target server information.
And the accuracy judging module is used for determining the accuracy of the electrowetting electronic paper on the information display of the target server based on the display information.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The server information display apparatus in this embodiment is presented in the form of functional units, where the units refer to ASIC (application specific integrated circuit) circuits, processors and memories that execute one or more software or firmware programs, and/or other devices that can provide the above-described functions.
The embodiment of the invention also provides a server, which is provided with the server information display device shown in the figure 7.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a server according to an alternative embodiment of the present invention, as shown in fig. 8, the server includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the server, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display apparatus coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple servers may be connected, with each device providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 8.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created from the use of a server of the presentation of an applet landing page, and the like. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the server via a network. Examples of such networks include, but are not limited to, the internet, intranets, server clusters, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The server also includes a communication interface 30 for the server to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. The server information display method is characterized by being applied to a main board of a server, wherein the main board is connected with electrowetting electronic paper through a serial port, and the method comprises the following steps:
acquiring target server information, and sending a display request message to the electrowetting electronic paper based on the target server information; the target server information comprises initialization information of a basic input/output system in a starting stage and serial port display information under an operating system;
receiving feedback information reported by the electrowetting electronic paper based on the display request message; the feedback information is generated after the self-inspection of the electrowetting electronic paper, and comprises the display state and the effective display area of the electrowetting electronic paper;
and determining a target display area for displaying the target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to display the target server information on the target display area.
2. The method of claim 1, wherein the obtaining the target server information comprises:
acquiring an information type of target server information, and determining a corresponding target server information storage address based on the information type;
generating a corresponding script program according to the target server information storage address and the server information type;
and acquiring the target server information through the script program.
3. The method of claim 2, wherein sending a display request message to the electrowetting electronic paper comprises:
performing a display test on the electrowetting electronic paper;
and after the electrowetting electronic paper passes the display test, sending a display request message to the electrowetting electronic paper.
4. A method according to claim 3, wherein determining a target display area for displaying target server information on an electrowetting electronic paper based on the effective display area, comprises:
determining a target display area of the target server information on the electrowetting electronic paper according to the pixel of the effective display area and the type of the server information;
or determining a target display area of the target server information on the electrowetting electronic paper according to the pixels of the effective display area and the pixels of each character in the target server information.
5. The method of claim 4, wherein displaying the target server information in the target display area comprises:
and when the target server information is larger than the information which can be displayed in the target display area, scrolling and displaying the target server information.
6. The method of claim 5, wherein the method further comprises:
receiving display information fed back by the electrowetting electronic paper based on the target server information;
and determining the accuracy of the electrowetting electronic paper to display the information of the target server based on the display information.
7. The method according to any one of claims 1 to 6, wherein the self-checking of the display status of the electrowetting electronic paper comprises:
whether the display screen of the electrowetting electronic paper is in a screen cleaning state or not;
and/or whether a display task which is repeated with the display request message exists in the display task list of the electrowetting electronic paper or not, and the trigger condition is met;
the triggering condition comprises that the electrowetting electronic paper is in a task display environment and can display target server information.
8. A server information display device, characterized in that it is applied to the mainboard of server, the mainboard is connected with electrowetting electronic paper through serial ports, and the device includes:
The information acquisition module is used for acquiring target server information and sending a display request message to the electrowetting electronic paper based on the target server information; the target server information comprises initialization information of a basic input/output system in a starting stage and serial port display information under an operating system;
the information receiving module is used for receiving feedback information reported by the electrowetting electronic paper based on the display request message; the feedback information is generated after the self-inspection of the electrowetting electronic paper, and comprises the display state and the effective display area of the electrowetting electronic paper;
and the information display module is used for determining a target display area for displaying the target server information on the electrowetting electronic paper based on the effective display area, and transmitting the target server information and the target display area to the electrowetting electronic paper according to the display state of the electrowetting electronic paper so as to display the target server information on the target display area.
9. A server, comprising:
a memory and a processor in communication with each other, the memory having stored therein computer instructions which, upon execution, cause the processor to perform the method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN202310705690.XA 2023-06-14 2023-06-14 Server information display method and device, server and storage medium Pending CN116737638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310705690.XA CN116737638A (en) 2023-06-14 2023-06-14 Server information display method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310705690.XA CN116737638A (en) 2023-06-14 2023-06-14 Server information display method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN116737638A true CN116737638A (en) 2023-09-12

Family

ID=87904079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310705690.XA Pending CN116737638A (en) 2023-06-14 2023-06-14 Server information display method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN116737638A (en)

Similar Documents

Publication Publication Date Title
US11677838B2 (en) Acquisition method, apparatus, device and storage medium for applet data
US20150067031A1 (en) Business transaction correlation with client request monitoring data
EP4220377A1 (en) Cloud desktop display method and system
EP3813326A1 (en) Method and apparatus for processing webpage, device, and storage medium
CN112527397A (en) Method and device for modifying basic input output system options and computer equipment
CN113900834A (en) Data processing method, device, equipment and storage medium based on Internet of things technology
KR20210108341A (en) Display verification method for web browser, device, computer equipment and storage medium
CN113127361A (en) Application program development method and device, electronic equipment and storage medium
CN111078530A (en) Application program debugging method and system, electronic equipment and computer readable storage medium
CN112804330B (en) Application communication method and device
CN111274520B (en) Webpage resource auditing method, device, equipment and medium
CN116737638A (en) Server information display method and device, server and storage medium
CN114780266B (en) Resource access method, system and computing equipment
CN109067570B (en) Server information display method and device and server
CN111475356A (en) System startup test information display method and related device
CN103823821A (en) Method and equipment for processing web data
JP2004280636A (en) Information processing system including communication connection type information processing apparatus excluding user interface and its control method
CN113849839A (en) Picture display method and device, server, electronic equipment and storage medium
US20050235049A1 (en) System and method for monitoring startup processes of remote computers by a local server
CN113127260B (en) Display exception handling method, device, equipment and medium
CN113779463A (en) Construction method, device and equipment of android terminal page and readable storage medium
US11874890B2 (en) Multi-entry point navigation for user interfaces
CN115840604B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN114826886B (en) Disaster recovery method and device for application software and electronic equipment
CN111782420B (en) Information processing method, device, equipment and medium based on Java Web framework

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