CN115543140A - Control method for displaying BIOS setting interface cursor on SOL page - Google Patents

Control method for displaying BIOS setting interface cursor on SOL page Download PDF

Info

Publication number
CN115543140A
CN115543140A CN202211175765.XA CN202211175765A CN115543140A CN 115543140 A CN115543140 A CN 115543140A CN 202211175765 A CN202211175765 A CN 202211175765A CN 115543140 A CN115543140 A CN 115543140A
Authority
CN
China
Prior art keywords
cursor
data
sol
bios
canvas
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
CN202211175765.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.)
Shenzhen Guoxin Hengyun Information Security Co ltd
Original Assignee
Shenzhen Guoxin Hengyun Information Security 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 Shenzhen Guoxin Hengyun Information Security Co ltd filed Critical Shenzhen Guoxin Hengyun Information Security Co ltd
Priority to CN202211175765.XA priority Critical patent/CN115543140A/en
Publication of CN115543140A publication Critical patent/CN115543140A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Abstract

The invention provides a control method and a system for displaying a BIOS setting interface cursor on an SOL page, which comprises the following steps: step S1, establishing full-duplex long connection between a BMC front-end webpage and a back-end SOL service, and establishing serial connection between the back-end SOL service and a BIOS; s2, after the BMC front-end webpage receives the forwarded data, analyzing the received VT100 control code data; s3, judging whether the analyzed data is image data or not, and if so, skipping to the S4; if not, jumping to the step S5; s4, drawing an image on the hidden cache canvas, and copying complete image data to the visible canvas; s5, calculating the final position of the cursor according to the cursor data; and S6, performing synthetic drawing and displaying on the visible canvas. The invention avoids the problems of generating black non-pixel squares, image damage and the like for cursor movement, and improves the user experience.

Description

Control method for displaying BIOS setting interface cursor on SOL page
Technical Field
The invention relates to a cursor control method, in particular to a control method for displaying a BIOS setting interface cursor on an SOL page.
Background
BMC management software on the server motherboard provides SOL functionality for remotely modifying BIOS configurations. After the BIOS opens the serial port redirection function, the user can remotely configure the BIOS on the front-end webpage of the BMC by using the SOL function. The BIOS transmits the full image data and cursor data of the setting interface to the BMC only when the SOL connection is established for the first time. In other cases, only a small amount of VT100+ control code data with a changed portion is transmitted to the BMC as required based on the last data. The BMC needs to store image data and cursor position coordinates for use when the front end draws an image. When a user controls the cursor to move on the same page of the BIOS setting interface through the SOL function, only the position coordinates of the cursor and a small amount of partial image data are changed, so that the BIOS only transmits the changed part of the image data and the position data of the cursor to the BMC. At the moment, when the BIOS setting interface image is drawn on the front-end page of the BMC by using the single canvas, the pixel at the position of the cursor in the original image data stored by the BMC is damaged because the cursor image is attached to the original image. This results in a plurality of black non-pixel squares of the same size as the cursor appearing in the image ultimately presented to the customer, which can affect the judgment and experience of the user.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a control method for displaying a BIOS setting interface cursor on an SOL page, which can avoid black non-pixel blocks generated by cursor movement and original image data from being damaged, and aims to improve the accuracy and smoothness of displaying the BIOS setting interface cursor on the SOL page and improve user experience.
In contrast, the invention provides a control method for displaying a BIOS setting interface cursor on an SOL page, which comprises the following steps:
step S1, establishing WebSocket full duplex long connection between a BMC front-end webpage and a back-end SOL service through a network, and then establishing serial connection between the back-end SOL service and a BIOS;
step S2, after receiving data forwarded by a back-end SOL service through WebSocket full duplex long connection, a BMC front-end webpage analyzes received VT100 control code data, wherein the forwarded data is VT100 control code data from a BIOS;
s3, judging whether the analyzed data is image data or not, and if so, skipping to the S4; if not, jumping to the step S5;
s4, drawing an image on the hidden cache canvas, copying complete image data to a visible canvas for displaying, and jumping to the S6 after the completion;
s5, calculating the final position of the cursor according to the cursor data, and jumping to the S6 after the cursor is finished;
s6, performing synthetic drawing and displaying on the visible canvas;
step S7, judging whether to quit the back-end SOL service, if so, ending; if not, jumping to the step S8;
and S8, converting the WebSocket network data into serial port data by the back-end SOL service, forwarding the serial port data to the BIOS through serial port connection, and returning to the step S2.
In step S2, after the connection is established in step S1, the BIOS continuously transmits image data and cursor data to the backend SOL service through a serial port, and then the backend SOL service encodes the image data and the cursor data according to RFC6455 specification and forwards the encoded image data and cursor data to the BMC front-end web page through a WebSocket full duplex long connection; meanwhile, the received keyboard operation instruction is also sent to the back-end SOL service by the BMC front-end webpage through WebSocket full duplex long connection, and is decoded according to RFC6455 specification and then forwarded to the BIOS through serial port connection.
In a further improvement of the present invention, in step S2, the process of parsing the received VT100 control code data is as follows: and acquiring a specific control instruction from VT100 control code data by using a regular expression, and then performing corresponding operation on a BMC front-end webpage according to the control instruction.
In a further improvement of the present invention, in step S3, when the analyzed data includes any one of control commands of displaying characters, setting character colors, setting character background colors, and displaying blank areas, the data is determined to be image data; and when the analyzed data is any one control command of setting a cursor position, moving the cursor position, saving the cursor position and restoring the cursor position, judging that the data is not the image data.
The further improvement of the invention is that in the step S4, the BMC front-end webpage draws characters, character background colors and blank area images of corresponding colors on the hidden buffer canvas to the buffer canvas to obtain original image data for display; the complete original image data in the hidden cache canvas is then copied onto the visible canvas for presentation.
The further improvement of the present invention is that, in step S5, the BMC front-end webpage calculates the final position of the cursor by adding the cursor movement offset to the current coordinate of the cursor according to the cursor movement offset and by combining the current coordinate of the cursor, and draws the cursor image on the corresponding position on the visible canvas by using the final position of the cursor.
A further improvement of the present invention is that, in step S6, the complete original image data obtained in step S4 and the cursor image obtained in step S5 are synthesized and drawn, and then the display is realized after the completion.
A further refinement of the invention is that step S8 comprises the following substeps:
step S801, controlling a BIOS setting interface through an SOL page;
step S802, the BMC front-end webpage sends VT100 control code data corresponding to the control operation through WebSocket;
step S803, the back-end SOL service decodes the control data according to the RFC6455 specification;
step S804, the back-end SOL service sends the decoded control data through the serial port;
in step S805, the BIOS responds to the control data and then returns the VT100 control code of the changed portion.
The invention has the further improvement that the operation instruction of the user is detected in real time, and when the VT100 control code generated by the operation of the BIOS setting interface by the user is detected, the hidden cache canvas is refreshed and is copied to the visible canvas after the drawing is finished.
The invention also provides a control system for displaying the BIOS setting interface cursor on the SOL page, which adopts the control method for displaying the BIOS setting interface cursor on the SOL page and comprises the following steps:
establishing a connection module, establishing a WebSocket full duplex long connection between a BMC front-end webpage and a back-end SOL service through a network, and then establishing a serial connection between the back-end SOL service and a BIOS;
the BMC front-end webpage analyzes received VT100 control code data after receiving data forwarded by a back-end SOL service through WebSocket full-duplex long connection, wherein the forwarded data is VT100 control code data from a BIOS;
the first judgment module is used for judging whether the analyzed data is image data or not, and if so, skipping to the graph drawing module; if not, jumping to a cursor position determining module;
the image drawing module is used for drawing an image on the hidden cache canvas, copying complete image data to a visible canvas for displaying, and skipping to the synthesis drawing module after the image data is completely copied;
the cursor position determining module is used for calculating the final position of the cursor according to the cursor data and jumping to the synthetic drawing module after the final position of the cursor is calculated;
the synthetic drawing module is used for performing synthetic drawing and displaying on the visible canvas;
the judging module judges whether the back-end SOL service is exited or not, if yes, the judging module is ended; if not, jumping to an SOL response control module;
and the back-end SOL service converts the WebSocket network data into serial port data, forwards the serial port data to the BIOS through serial port connection and returns the serial port data to the analysis data module.
Compared with the prior art, the invention has the beneficial effects that: the method has the advantages that the whole control process is optimized, the hidden cache canvas is adopted to update and backup the original image data, the integrity of the original image data is guaranteed, the integral image data is copied to the visible canvas for displaying, the final position of the cursor data is determined, and then synthetic drawing and displaying are carried out, so that the integral image finally displayed to a user is realized, the problem of image damage caused by drawing of a single canvas is thoroughly solved, the defects that black non-pixel squares and the like are generated due to cursor movement can be effectively avoided, the accuracy and the smoothness of displaying the BIOS setting interface cursor on the SOL page can be well improved, and the user experience is greatly improved.
Drawings
FIG. 1 is a schematic workflow diagram of one embodiment of the present invention;
fig. 2 is a detailed work flow diagram of an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
During the period of using the SOL function, the key command of the user is forwarded to the BIOS by the BMC, and the BIOS also uses the VT100+ control code to continuously transmit the image data of the setting interface and the current cursor data to the BMC as required. The VT100 control code data transmitted by the BIOS to the BMC does not contain cursor image data, and only the position of a cursor on a BIOS interface or the control action of the cursor. The cursor position represents the current focus item of the BIOS setting interface, the BMC front end needs to combine the image data obtained from the BIOS with the cursor data, and finally the user-friendly BIOS setting interface actual image with the cursor is displayed on the webpage.
In the english abbreviation used in the present application, BMC denotes a substrate Management Controller, i.e., a Baseboard Management Controller, which is generally built in a motherboard and supports the IPMI specification of the industry standard; the functions provided by the BMC include: local and remote diagnostics, console support, configuration management, hardware management, and troubleshooting. The BIOS refers to a Basic Input Output System, that is, a Basic Input Output System, and is mainly used for initialization and detection of various hardware devices in a computer boot process. WebSocket refers to a protocol for full duplex communication over a single TCP connection. The VT100+ control code refers to a code for extending a display at a terminal. The RFC6455 specification refers to the WebSocket protocol specification. SOL represents the use of IPMI data packets to transmit Serial data Over the network, i.e., serial Over LAN, which is mainly used to redirect the Serial data to the front-end web page.
The method and the device aim at solving the problem that a plurality of black pixel-free squares can appear on the interface along with the movement of a user control cursor when the BMC front end shows the BIOS to set the interface image through SOL, and on the basis, the method and the device also aim at solving the problem of image damage caused by drawing of a single canvas. According to the method and the device, the hidden cache canvas is used, the original image data stored by the BMC and the final data used for displaying are drawn and processed separately, and the problem that the original image data is damaged due to drawing of a single canvas is avoided; after the optimized control process is carried out, in the image finally displayed to the user, no black non-pixel block is generated due to the movement of the cursor, so that the user experience of displaying the BIOS setting interface on the SOL page is greatly improved.
As shown in fig. 1 and fig. 2, the present embodiment provides a control method for displaying a BIOS setting interface cursor on an SOL page, including the following steps:
step S1, establishing WebSocket full duplex long connection between a BMC front-end webpage and a back-end SOL service through a network, and then establishing serial connection between the back-end SOL service and a BIOS;
step S2, after receiving data forwarded by a back-end SOL service through WebSocket full duplex long connection, a BMC front-end webpage analyzes received VT100 control code data, wherein the forwarded data is VT100 control code data from a BIOS;
s3, judging whether the analyzed data is image data or not, and if so, jumping to the step S4; if not, jumping to the step S5;
s4, drawing an image on the hidden cache canvas, copying complete image data to a visible canvas for display, and jumping to the S6 after the completion;
s5, calculating the final position of the cursor according to the cursor data, and jumping to the S6 after the final position of the cursor is calculated;
s6, performing synthesis drawing and display on the visible canvas;
step S7, judging whether to quit the back-end SOL service, if so, ending; if not, jumping to the step S8;
and S8, converting the WebSocket network data into serial port data by the back-end SOL service, forwarding the serial port data to the BIOS through serial port connection, and returning to the step S2.
In step S1, after the BMC front end starts the SOL function, the BMC front end web page and the back end SOL service establish a WebSocket full-duplex long connection through the network. Then the back-end SOL service of the BMC establishes serial port connection with the BIOS, the BIOS continuously transmits image data and cursor data to the back-end SOL service of the BMC according to needs through the serial port, then the back-end SOL service of the BMC encodes according to RFC6455 specifications, and the encoded data is transmitted to a front-end webpage (front-end webpage for short) of the BMC through WebSocket connection. Meanwhile, the keyboard operation instruction of the user is also sent to the back-end SOL service of the BMC by the BMC front-end webpage through WebSocket connection, and is decoded according to RFC6455 specification and then forwarded to the BIOS through serial port connection. The back-end SOL service of the BMC is used as a transfer station and provides conversion and forwarding functions for data transmission between a BMC front-end webpage and a BIOS.
In step S2 of this embodiment, after receiving data forwarded by the back-end SOL service through the WebSocket full duplex long connection, the BMC front-end web page may analyze the received VT100 control code data according to the VT100 control code specification, where the forwarded data is the VT100 control code data from the BIOS.
In step S2 of this embodiment, after the connection is established in step S1, the BIOS continuously transmits the image data and the cursor data to the backend SOL service through the serial port, and then the backend SOL service encodes the image data and the cursor data according to RFC6455 specification and forwards the image data and the cursor data to the BMC front-end web page through the WebSocket full-duplex long connection; meanwhile, the received keyboard operation instruction is also sent to the back-end SOL service by the BMC front-end webpage through WebSocket full duplex long connection, and is decoded according to RFC6455 specification and then forwarded to the BIOS through serial port connection.
In this embodiment, in step S2, the process of analyzing the received VT100 control code data is as follows: and acquiring a specific control instruction from the VT100 control code data by using a regular expression, and then performing corresponding operation on the BMC front-end webpage according to the control instruction.
As shown in fig. 2, in step S3 of this embodiment, when the analyzed data includes any one of control instructions of displaying characters, setting character colors, setting character background colors, and displaying blank areas, it is determined that the data is image data, and step S4 is skipped; and when the analyzed data is any one control instruction of the set cursor position, the mobile cursor position, the stored cursor position and the recovered cursor position, judging that the data is not the image data, and skipping to the step S5.
In step S4, in this embodiment, the BMC front-end webpage draws characters, character background colors, and blank area images of corresponding colors on a hidden cache canvas, and obtains original image data for display by combining with the VT100 control code specification; the complete original image data in the hidden cache canvas is then copied onto the visible canvas for presentation. By the aid of the design, the cache canvas can be well utilized to avoid damage of images, and further, the situations of black points, black non-pixel squares and the like in the prior art are avoided.
In this embodiment, in step S5, the BMC front-end webpage calculates a final position of the cursor by adding the cursor movement offset to the current coordinate of the cursor according to the cursor movement offset and by combining the current coordinate of the cursor, and draws a cursor image at a corresponding position on the visible canvas by using the final position of the cursor.
After the step S4 and the step S5 are completed, in the embodiment, in the step S6, the complete original image data obtained in the step S4 and the cursor image obtained in the step S5 are synthesized and drawn, and after completion, a complete BIOS setting interface image can be displayed on a front-end page for a user to check, so that display is realized.
As shown in fig. 2, the step S8 in this embodiment includes the following sub-steps:
step S801, controlling a BIOS setting interface through an SOL page;
step S802, the BMC front-end webpage sends VT100 control code data corresponding to the control operation through WebSocket;
step S803, the back-end SOL service decodes the control data according to the RFC6455 specification;
step S804, the back-end SOL service sends the decoded control data through the serial port;
in step S805, the BIOS responds to the control data and then returns the VT100 control code of the changed portion.
That is to say, in this embodiment, when the user controls the cursor (i.e., the focus) of the BIOS setting interface to move through the SOL function, the VT100 control code generated by the change of the image data portion is parsed by the BMC front-end page, and then the corresponding image is directly drawn onto the hidden cache canvas to cover the outdated image at the corresponding position, and then the complete original image data is copied onto the visible canvas; the VT100 control code generated by the change of the cursor data part can be analyzed to generate the final position of the cursor, and the final position is drawn on the visible canvas. Since the hidden cache canvas is refreshed by the VT100 control code generated by the BIOS setting interface operated by the user each time, and the VT100 control code is copied to the visible canvas after the BIOS setting interface is drawn, the original image data on the visible canvas is always complete. And the cursor image is drawn at the final position of the cursor on the visible canvas after the cursor image is drawn at the final position of the cursor, pixels of other areas except the final position of the cursor are not influenced, and therefore the final image displayed to the user is complete and accurate.
Preferably, the present embodiment detects an operation instruction of a user in real time, and when detecting that the user operates the VT100 control code generated by the BIOS setting interface, refreshes the hidden cache canvas, and copies the hidden cache canvas onto the visible canvas after the completion of the drawing. That is to say, only after the operation instruction of the user is detected, the hidden cache canvas is refreshed for drawing, and when the operation instruction is not needed, the cache canvas is not called, so that the fluency of the cache canvas can be well ensured, and the occupation of excessive resources is avoided.
The embodiment further provides a control system for displaying a BIOS setting interface cursor on an SOL page, which adopts the above control method for displaying a BIOS setting interface cursor on an SOL page, and includes:
establishing a connection module, establishing a WebSocket full duplex long connection between a BMC front-end webpage and a back-end SOL service through a network, and then establishing a serial connection between the back-end SOL service and a BIOS;
the BMC front-end webpage analyzes received VT100 control code data after receiving data forwarded by a back-end SOL service through WebSocket full-duplex long connection, wherein the forwarded data is VT100 control code data from a BIOS;
the first judgment module is used for judging whether the analyzed data is image data or not, and if so, skipping to the graph drawing module; if not, jumping to a cursor position determining module;
the image drawing module is used for drawing an image on the hidden cache canvas, copying complete image data to a visible canvas for displaying, and skipping to the synthesis drawing module after the image data is completely copied;
the cursor position determining module is used for calculating the final position of the cursor according to the cursor data and jumping to the synthetic drawing module after the final position of the cursor is calculated;
the synthetic drawing module is used for performing synthetic drawing and displaying on the visible canvas;
the second judging module judges whether the back-end SOL service exits or not, and if so, the process is ended; if not, jumping to an SOL response control module;
and the back-end SOL service converts the WebSocket network data into serial port data, forwards the serial port data to the BIOS through serial port connection and returns the serial port data to the data analysis module.
In conclusion, the embodiment optimizes the whole control process, adopts the hidden cache canvas to update and backup the original image data, ensures the integrity of the original image data, then copies the complete image data onto the visible canvas for display, determines the final position of the cursor data to calculate the cursor, and then performs synthetic drawing and display, so that the complete image finally displayed to the user is obtained, the problem of image damage caused by drawing of a single canvas is thoroughly avoided, the defects of black non-pixel square blocks and the like caused by cursor movement can be effectively avoided, the accuracy and the smoothness of displaying the BIOS setting interface cursor on the SOL page can be well improved, and the user experience is greatly improved.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A control method for displaying a BIOS setting interface cursor on an SOL page is characterized by comprising the following steps:
step S1, establishing a WebSocket full duplex long connection between a BMC front-end webpage and a back-end SOL service through a network, and then establishing a serial connection between the back-end SOL service and a BIOS;
step S2, after receiving data forwarded by a back-end SOL service through WebSocket full duplex long connection, a BMC front-end webpage analyzes received VT100 control code data, wherein the forwarded data is VT100 control code data from a BIOS;
s3, judging whether the analyzed data is image data or not, and if so, skipping to the S4; if not, jumping to the step S5;
s4, drawing an image on the hidden cache canvas, copying complete image data to a visible canvas for displaying, and jumping to the S6 after the completion;
s5, calculating the final position of the cursor according to the cursor data, and jumping to the S6 after the cursor is finished;
s6, performing synthesis drawing and display on the visible canvas;
step S7, judging whether to quit the back-end SOL service, if so, ending; if not, jumping to the step S8;
and S8, converting the WebSocket network data into serial port data by the back-end SOL service, forwarding the serial port data to the BIOS through serial port connection, and returning to the step S2.
2. The method for controlling the presentation of the BIOS setting interface cursor on the SOL page as claimed in claim 1, wherein in step S2, after the connection is established in step S1, the BIOS continuously transmits image data and cursor data to the backend SOL service through a serial port, and then the backend SOL service encodes the image data and the cursor data according to RFC6455 specification and forwards the encoded image data and cursor data to the BMC front-end web page through a WebSocket full-duplex long connection; meanwhile, the received keyboard operation instruction is also sent to the back-end SOL service by the BMC front-end webpage through WebSocket full duplex long connection, and is decoded according to RFC6455 specification and then forwarded to the BIOS through serial port connection.
3. The method for controlling the cursor of the setting interface of the BIOS when displaying the SOL page as claimed in claim 1, wherein in step S2, the process of parsing the received VT100 control code data is as follows: and acquiring a specific control instruction from the VT100 control code data by using a regular expression, and then performing corresponding operation on the BMC front-end webpage according to the control instruction.
4. The method for controlling the display of the BIOS setting interface cursor on the SOL page according to any one of claims 1 to 3, wherein in the step S3, when the parsed data includes any one of the control commands of displaying characters, setting character colors, setting character background colors and displaying blank areas, it is determined as image data; and when the analyzed data is any one control command of setting a cursor position, moving the cursor position, saving the cursor position and restoring the cursor position, judging that the data is not the image data.
5. The method for controlling the BIOS setting interface cursor displaying on the SOL page according to any one of claims 1 to 3, wherein in the step S4, the BMC front end webpage draws the characters, the character background colors and the blank area images with corresponding colors on the hidden cache canvas to the cache canvas to obtain the original image data for displaying; the complete original image data in the hidden cache canvas is then copied onto the visible canvas for presentation.
6. The method according to claim 5, wherein in step S5, the BMC front end webpage calculates a final position of the cursor by adding the cursor movement offset to the current coordinate of the cursor according to the cursor movement offset and by combining the current coordinate of the cursor, and draws a cursor image at a corresponding position on the visible canvas by using the final position of the cursor.
7. The method for controlling the display of the cursor on the BIOS setting interface of the SOL page of claim 6, wherein in the step S6, the complete original image data obtained in the step S4 and the cursor image obtained in the step S5 are synthesized and drawn, and the display is realized after the completion.
8. The method for controlling the presentation of the BIOS setting interface cursor on the SOL page according to any one of claims 1 to 3, wherein the step S8 comprises the following sub-steps:
step S801, controlling a BIOS setting interface through an SOL page;
step S802, the BMC front end webpage sends VT100 control code data corresponding to the control operation through WebSocket;
step S803, the back-end SOL service decodes the control data according to the RFC6455 specification;
step S804, the back-end SOL service sends the decoded control data through the serial port;
in step S805, the BIOS responds to the control data and then returns the VT100 control code of the changed portion.
9. The method for controlling the presentation of the BIOS setting interface cursor on the SOL page according to any one of claims 1 to 3, characterized in that the operation instruction of the user is detected in real time, when the VT100 control code generated by the operation of the BIOS setting interface by the user is detected, the hidden cache canvas is refreshed, and the control code is copied to the visible canvas after the drawing is completed.
10. A control system for displaying a BIOS setting interface cursor on an SOL page, which employs the control method for displaying a BIOS setting interface cursor on an SOL page according to any one of claims 1 to 9, and comprises:
establishing a connection module, establishing a WebSocket full duplex long connection between a BMC front-end webpage and a back-end SOL service through a network, and then establishing a serial connection between the back-end SOL service and a BIOS;
the BMC front-end webpage analyzes received VT100 control code data after receiving data forwarded by a back-end SOL service through WebSocket full-duplex long connection, wherein the forwarded data is VT100 control code data from a BIOS;
the first judgment module is used for judging whether the analyzed data is image data or not, and if so, skipping to the graph drawing module; if not, jumping to a cursor position determining module;
the image drawing module is used for drawing an image on the hidden cache canvas, copying complete image data to a visible canvas for display, and jumping to the synthetic drawing module after the completion;
the cursor position determining module is used for calculating the final position of the cursor according to the cursor data and jumping to the synthetic drawing module after the final position of the cursor is calculated;
the synthetic drawing module is used for performing synthetic drawing and displaying on the visible canvas;
the second judging module judges whether the back-end SOL service exits or not, and if so, the process is ended; if not, jumping to an SOL response control module;
and the back-end SOL service converts the WebSocket network data into serial port data, forwards the serial port data to the BIOS through serial port connection and returns the serial port data to the data analysis module.
CN202211175765.XA 2022-09-26 2022-09-26 Control method for displaying BIOS setting interface cursor on SOL page Pending CN115543140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211175765.XA CN115543140A (en) 2022-09-26 2022-09-26 Control method for displaying BIOS setting interface cursor on SOL page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211175765.XA CN115543140A (en) 2022-09-26 2022-09-26 Control method for displaying BIOS setting interface cursor on SOL page

Publications (1)

Publication Number Publication Date
CN115543140A true CN115543140A (en) 2022-12-30

Family

ID=84728654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211175765.XA Pending CN115543140A (en) 2022-09-26 2022-09-26 Control method for displaying BIOS setting interface cursor on SOL page

Country Status (1)

Country Link
CN (1) CN115543140A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226377A1 (en) * 2006-02-09 2007-09-27 Dell Products L.P. Detecting parameters of a system UART and matching those parameters in a serial-over-LAN (SOL) UART
US20110307639A1 (en) * 2010-06-10 2011-12-15 Hon Hai Precision Industry Co., Ltd. Virtual serial port management system and method
US20140281894A1 (en) * 2013-03-15 2014-09-18 American Megatrends, Inc. System and method of web-based keyboard, video and mouse (kvm) redirection and application of the same
CN104412601A (en) * 2012-06-29 2015-03-11 阿沃森特亨茨维尔公司 System and method for single KVM client accommodating multiple different video compression technologies
CN105051713A (en) * 2013-03-15 2015-11-11 安迈科技股份有限公司 System and method of web-based keyboard, video and mouse (kvm) redirection and application of the same
CN106445194A (en) * 2010-04-12 2017-02-22 谷歌公司 Collaborative cursors in a hosted word processor
CN108255454A (en) * 2018-02-01 2018-07-06 上海大视信息科技有限公司 A kind of virtual interactive interface method of splicing device and splicing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070226377A1 (en) * 2006-02-09 2007-09-27 Dell Products L.P. Detecting parameters of a system UART and matching those parameters in a serial-over-LAN (SOL) UART
CN106445194A (en) * 2010-04-12 2017-02-22 谷歌公司 Collaborative cursors in a hosted word processor
US20110307639A1 (en) * 2010-06-10 2011-12-15 Hon Hai Precision Industry Co., Ltd. Virtual serial port management system and method
CN104412601A (en) * 2012-06-29 2015-03-11 阿沃森特亨茨维尔公司 System and method for single KVM client accommodating multiple different video compression technologies
US20140281894A1 (en) * 2013-03-15 2014-09-18 American Megatrends, Inc. System and method of web-based keyboard, video and mouse (kvm) redirection and application of the same
CN105051713A (en) * 2013-03-15 2015-11-11 安迈科技股份有限公司 System and method of web-based keyboard, video and mouse (kvm) redirection and application of the same
CN108255454A (en) * 2018-02-01 2018-07-06 上海大视信息科技有限公司 A kind of virtual interactive interface method of splicing device and splicing device

Similar Documents

Publication Publication Date Title
CN108804302B (en) Remote testing method, system and related equipment
US7187372B2 (en) Image data transmission apparatus and method for image display system
CN101754046B (en) Measuring client interactive performance using a display channel
RU2445705C2 (en) Method of preparing data display in servers (versions) and machine-readable medium
CN104583984B (en) The control method of apparatus control system and apparatus control system
NZ584933A (en) System for controlling multiple computers from one user terminal including detecting data being added to a memory buffer of one of the computers and copying this data to a memory of another of the computers
WO2007007949A1 (en) A method and system of computer remote control that optimized for low bandwidth network and low level personal communication terminal device
EP3343337A1 (en) Method and device for controlling screen between terminals, and storage medium
CN108039173B (en) Voice information input method, mobile terminal, system and readable storage medium
US20100274936A1 (en) Osd image generating method in kvm switches
CN109976689B (en) Method and device for rapidly configuring distributed splicing processor by using smart phone
CN112653898B (en) User image generation method, related device and computer program product
CN103312814A (en) Method for establishing VNC (virtual network computing) covert channel between cloud management platform and virtual machine terminal user
CN103858095A (en) Image display method and device
CN109885270B (en) Display device control method, display device, and storage medium
CN108769815A (en) Method for processing video frequency and its device
JP2009187094A (en) Conference system and program
CN110928509A (en) Display control method, display control device, storage medium, and communication terminal
CN115543140A (en) Control method for displaying BIOS setting interface cursor on SOL page
US20210409809A1 (en) Data processing method and device, storage medium, electronic device
CN115357340A (en) Device and method for improving performance of virtual equipment
JP2009020723A (en) Server device and program
JP2009086082A (en) Image display apparatus and image display system
CN113127260B (en) Display exception handling method, device, equipment and medium
CN113613043A (en) Screen display and image processing method, embedded device and cloud server

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