Method and system for cloud desktop to adapt to display

By implementing the matching method of terminal log packaging and server data cleaning in the cloud desktop system, the black screen problem caused by errors in the monitor or graphics driver parameters during the initialization process of cloud desktop is solved, simplified the after-sales processing process, and improved efficiency and project delivery. reliability.

CN119322653APending Publication Date: 2025-01-17XIAN LEIFENG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411342140.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

During the initialization process, existing cloud desktops may cause the monitor to black screen due to incorrect parameters related to the display or graphics driver, resulting in initialization failure and delayed project delivery.

Method used

When the terminal appears black during initialization, it packs the log and sends it to the server. The server cleanses the data and matches the error message to form a prompt message. The administrator modifies the relevant parameters through pop-up windows, such as adding nomodeset, modifying edp-1 or xorg. Driver parameters in the conf file, remake the terminal template to solve the problem.

Benefits of technology

The work of after-sales engineers is simplified, efficiency is improved, terminal black screen problems caused by display non-recognition is avoided, the workload of operation and maintenance personnel is reduced, and the timely delivery of projects is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119322653A_ABST
    Figure CN119322653A_ABST
Patent Text Reader

Abstract

The invention relates to a method and system for a cloud desktop to adapt to a display, and the method and system do not need to worry about the display problem caused by incorrect parameters related to a display or a graph driver when a project starts. Even if the display is not available and the blank screen is displayed, the after-sales engineer can re-make the template on the server according to the prompt information fed back by the server, and then wait; therefore, the work of after-sales engineers is simplified, the efficiency is improved, the black screen of the terminal caused by non-recognition of the display is avoided, the condition of delayed project delivery is avoided, and the workload of operation and maintenance personnel is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of cloud desktops, and in particular to a method and system for a cloud desktop adaptive display. Background Art

[0002] The cloud desktop used in the prior art, when making a terminal template, first needs to initialize the terminal of the cloud desktop. The initialization process is the process of installing a new system. The terminal template is downloaded and burned into a USB flash drive using a disc burning tool. Then the terminal selects the USB flash drive to start and install the new system. After the installation is completed, it is registered on the platform. The above process has serious disadvantages when facing a black screen on the display. For example, in any startup process based on the Linux operating system, some parameters related to the display or graphics driver may be encountered, such as nomodeset, edp-1, and xorg.conf files. The graphics settings of the terminal are all default, or the automatic detection mechanism cannot correctly configure the current hardware. At this time, it is necessary to create or edit the xorg.conf file, or modify the startup parameters, and add nomodeset or edp-1 parameters. Nomodeset, edp-1 and xorg.conf play different roles in the startup process and graphics configuration of Ubuntu. They are used to solve display problems at startup, identify and configure specific display devices, and manually manage graphics settings. No matter which parameter is wrong, the display will not display. Summary of the invention

[0003] In order to overcome at least one deficiency in the prior art, the present application provides a method and system for cloud desktop adaptive display.

[0004] In a first aspect, a method for a cloud desktop adaptive display is provided, comprising:

[0005] The terminal displays a black screen during the initialization process, and the terminal packages the logs and sends them to the server;

[0006] After receiving the log, the server cleans the log to obtain cleaned data;

[0007] Match the cleaned data with the error information stored in the server, and generate prompt information based on the successfully matched error information. The prompt information is sent to the administrator page in the form of a pop-up window. The prompt information is used to prompt the administrator to modify the relevant parameters.

[0008] Recreate the terminal template. The recreated terminal template is used to initialize the terminal again.

[0009] In one embodiment, modifying the relevant parameters includes: adding a nomodeset parameter, modifying an edp-1 parameter, or modifying a driver parameter in the xorg.conf file.

[0010] In one embodiment, the cleaned data includes error information and display related information in the log.

[0011] In a second aspect, a system for a cloud desktop adaptive display is provided, comprising: a terminal and a server;

[0012] The terminal is used to package and send logs to the server when a black screen appears during the initialization process;

[0013] After receiving the log, the server is used to clean the log data to obtain the cleaned data; match the cleaned data with the error information stored in the server, form a prompt message based on the successfully matched error information, and send the prompt message to the administrator page in the form of a pop-up window; the prompt message is used to prompt the administrator to modify the relevant parameters; re-make the terminal template, and the re-made terminal template is used to initialize the terminal again.

[0014] In one embodiment, modifying the relevant parameters includes: adding a nomodeset parameter, modifying an edp-1 parameter, or modifying a driver parameter in the xorg.conf file.

[0015] In one embodiment, the cleaned data includes error information and display related information in the log.

[0016] Compared with the prior art, the present application has the following beneficial effects: with the method and system for adaptive display of cloud desktop of the present application, at the beginning of the project, there is no need to worry about display problems caused by incorrect display or graphics driver-related parameters when initializing the terminal; even if the display is unavailable and a black screen is displayed, after-sales engineers can also re-make the template on the server side according to the prompt information fed back by the server, and then just wait; it not only simplifies the work of after-sales engineers, but also improves efficiency, avoids terminal black screen due to display non-recognition, avoids delayed project delivery, and also greatly reduces the workload of operation and maintenance personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present application may be better understood by referring to the following description given in conjunction with the accompanying drawings, which together with the following detailed description are included in this specification and form a part of this specification. In the drawings:

[0018] Figure 1 A flowchart of a method for cloud desktop adaptive display according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0019] The exemplary embodiments of the present application will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of the actual embodiments are described in the specification. However, it should be understood that many implementation-specific decisions can be made in the process of developing any such actual embodiments in order to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.

[0020] It is also necessary to explain here that, in order to avoid obscuring the present application due to unnecessary details, only the device structure closely related to the scheme according to the present application is shown in the drawings, while other details that are not closely related to the present application are omitted.

[0021] It should be understood that the present application is not limited to the described implementation forms due to the following description with reference to the accompanying drawings. In this article, where feasible, the embodiments can be combined with each other, features between different embodiments can be replaced or borrowed, and one or more features can be omitted in one embodiment.

[0022] The present application provides a method and system for a cloud desktop adaptive display. The implementation process of the project is consistent with the prior art. During the initialization of the terminal, if the display is black and does not display any information, the script will package all the log information and upload it to the server. After data cleaning, the server will prompt the administrator with the parameters that need to be modified in the form of a pop-up window. The administrator only needs to follow the prompt information to re-make the template and re-initialize the terminal after completion. The present application allows the administrator to click to make a template on the server side according to the prompt, which reduces the time for troubleshooting black screens and the time for testing and verification, reduces the time risk of project delivery, and achieves the shortest and most convenient repair.

[0023] Figure 1 A flowchart of a method for cloud desktop adaptive display according to an embodiment of the present application is shown, see Figure 1 , methods include:

[0024] Step S1: A black screen appears on the terminal during the initialization process, and the terminal packages the logs and sends them to the server.

[0025] Here, when the terminal screen stays on the current page for more than 30 seconds, it is considered that no one is operating or the black screen does not display information. At this time, the business module of the terminal packages the logs and sends them to the server through the message module.

[0026] Step S2: After receiving the log, the server cleans the log to obtain cleaned data.

[0027] Specifically, the business module on the server side will split the logs for data cleaning and search the logs. First, it will search for error information, obtain all error information, write it to an error file, and then search for all display-related information and also write it to the above error file.

[0028] Step S3, matching the cleaned data with the error information stored in the server, forming a prompt message based on the successfully matched error information, and sending the prompt message to the administrator page in the form of a pop-up window; the prompt message is used to prompt the administrator to modify the relevant parameters.

[0029] Here, the server stores the common black screen error information in a json. When matching, the business module on the server side calls the function to traverse and match the error information of the json under the error file. If a certain error message is matched, it means that the cause of the black screen is caused by the parameter corresponding to the error message. Then, according to the key value of this json string, a pop-up window will be issued on the administrator page, prompting that the parameter needs to be modified. JSON (JavaScript Object Notation) is a lightweight data exchange format. Due to its simplicity and easy parsing characteristics, it is widely used in network communications, especially in Web applications, for data exchange between the front-end and the back-end. Many modern programming languages ​​provide libraries or built-in support for processing JSON. The simplicity and clear hierarchy make JSON an ideal data exchange language.

[0030] Specifically, modifying the relevant parameters includes: adding a nomodeset parameter, modifying an edp-1 parameter, or modifying a driver parameter in the xorg.conf file.

[0031] Black screen or display problems caused by graphics driver problems. With the nomodeset parameter, the kernel will use the default VGA mode provided by BIOS or UEFI to initialize the display device, which helps to bypass some graphics driver compatibility issues. In the boot loader used by Linux distributions, add the nomodeset parameter by editing the startup item. This is usually used as a temporary solution when the system cannot be started in a normal way. Nomodeset is a boot parameter under Linux that tells the Linux kernel not to load any specific mode of video drivers at startup.

[0032] If the system has a monitor connected via the EDP interface, it may be identified as EDP-1, but the monitor will not be recognized if it is changed to another port, so this parameter needs to be modified. EDP-1: Usually refers to the first connection of the Embedded DisplayPort (Embedded DisplayPort, eDP). EDP is an interface standard for connecting laptop screens and other internal displays.

[0033] The xorg.conf file contains a variety of settings, including screen resolution, refresh rate, color depth, configuration of input devices (such as keyboard and mouse), and multi-monitor settings. You can modify the driver of the display device by modifying the driver parameter of the xorg.conf file. If you do not install a dedicated driver for the graphics card, or want to use a basic, limited-function driver, the parameter can be changed to vesa. xorg.conf is the configuration file of the Xorg graphics server, which is used to define and manage graphics hardware and display settings. Xorg is a widely used graphics server on Linux, which is responsible for rendering graphics and windows on the screen.

[0034] Step S4, re-making the terminal template, and the re-made terminal template is used to initialize the terminal again.

[0035] Download the remade terminal template from the server, burn it to a USB flash drive, and insert the USB flash drive into the terminal; start the USB flash drive to initialize the terminal.

[0036] Based on the same inventive concept as the method for cloud desktop adaptive display, this embodiment also provides a corresponding system for cloud desktop adaptive display, including: a terminal and a server.

[0037] The terminal is used to package and send logs to the server when a black screen appears during the initialization process;

[0038] After receiving the log, the server is used to clean the log data to obtain the cleaned data; match the cleaned data with the error information stored in the server, form a prompt message based on the successfully matched error information, and send the prompt message to the administrator page in the form of a pop-up window; the prompt message is used to prompt the administrator to modify the relevant parameters; re-make the terminal template, and the re-made terminal template is used to initialize the terminal again.

[0039] The system of cloud desktop adaptive display of this embodiment has the same inventive concept as the method of cloud desktop adaptive display mentioned above, so the specific implementation method of the system can be seen in the implementation example part of the method of cloud desktop adaptive display in the above text, and its technical effect corresponds to the technical effect of the above method, which will not be repeated here.

[0040] In summary, the method and system for adaptive display of cloud desktop in this application does not need to worry about display problems caused by incorrect display or graphics driver-related parameters when initializing the terminal at the beginning of the project; even if the display is unavailable and a black screen is displayed, the after-sales engineer can re-make the template on the server side according to the prompt information fed back by the server, and then just wait; it not only simplifies the work of after-sales engineers, but also improves efficiency, avoids the black screen of the terminal due to the display not being recognized, and avoids the delay of project delivery. At the same time, it also greatly reduces the workload of operation and maintenance personnel.

[0041] The above are only various implementations of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for cloud desktop adaptive display, characterized in that: include: A black screen appears on the terminal during the initialization process, and the terminal packages the logs and sends them to the server; After receiving the log, the server cleans the log to obtain cleaned data; Matching the cleaned data with the error information stored in the server, forming prompt information according to the successfully matched error information, and sending the prompt information to the administrator page in the form of a pop-up window; the prompt information is used to prompt the administrator to modify the relevant parameters; The terminal template is remade, and the remade terminal template is used to initialize the terminal again.

2. The method according to claim 1, characterized in that The modification of the related parameters includes: adding a nomodeset parameter, modifying an edp-1 parameter, or modifying a driver parameter in the xorg.conf file.

3. The method according to claim 1, characterized in that The cleaned data includes error information and display related information in the log.

4. A cloud desktop adaptive display system, characterized in that: include: Terminals and servers; The terminal is used to package the logs and send them to the server when a black screen appears during the initialization process; The server is used for performing data cleaning on the log after receiving the log to obtain cleaned data; The cleaned data is matched with the error information stored in the server, and a prompt message is formed according to the successfully matched error information, and the prompt message is sent to the administrator page in the form of a pop-up window; the prompt message is used to prompt the administrator to modify relevant parameters; the terminal template is remade, and the remade terminal template is used to initialize the terminal again.

5. The system according to claim 4, characterized in that The modification of the related parameters includes: adding a nomodeset parameter, modifying an edp-1 parameter, or modifying a driver parameter in the xorg.conf file.

6. The system according to claim 4, characterized in that The cleaned data includes error information and display related information in the log.