Visual mode configuration method and device of operating system, equipment and medium

By obtaining and matching visual mode configuration instructions, the registry attribute values ​​of the virtual machine system are automatically updated, which solves the problem of the inability to batch modify the visual mode and the inability to take effect in real time after modifying the registry, and realizes the flexible, efficient and easy-to-use real-time settings of virtual computer visual effects, and improves the operating experience of the virtual system.

CN119806662APending Publication Date: 2025-04-11CHINA TELECOM CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411746797.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing technology cannot batch and flexibly modify the visual mode of the virtual machine system, and it cannot take effect in real time after modifying the registry, resulting in the virtual machine rendering video images occupying a large amount of CPU resources, affecting the display effect and response speed.

Method used

By obtaining the visual mode configuration instructions, matching the string corresponding to the visual mode to be configured, extracting and updating the target field attribute value in the registry to generate and apply a new visual mode. This method allows automated, real-time updates and persistent storage visual mode configurations.

Benefits of technology

It realizes the flexible, efficient and easy-to-use background real-time settings of virtual computer visual effects, solves the problem of the inability to silently set visual effects and the inability to take effect in real time after modifying the registry in the existing technology, reduces resource overhead and improves the operating experience of the virtual system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806662A_ABST
    Figure CN119806662A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a visual mode configuration method and device for an operating system, equipment and a medium, the method comprises the following steps: obtaining a visual mode configuration instruction, the instruction comprising identification information corresponding to a visual mode to be configured; and matching a character string corresponding to the visual mode to be configured according to the identification information. And extracting an attribute value corresponding to the target field from the registry corresponding to each visual effect influence factor, changing the attribute value corresponding to the target field based on the field attribute value in the character string, and updating the changed attribute value of the target field to the registry to which the target field belongs. The virtual computer vision special effect background real-time setting method is flexible, efficient and easy to use, and the problems that an existing operating system cannot silently set the vision special effect and the modified registry cannot take effect in real time are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and medium for configuring a visual mode of an operating system. Background Art

[0002] During the actual use of virtual computers (such as cloud computers), since the default Windows system visual effects are set to the best appearance, the system animation effects in the virtual machine occupy a large amount of CPU resources for animation rendering, seriously affecting the computer virtualization display effect, and even causing freezes and inability to quickly respond to peripheral instructions.

[0003] The conventional method to solve this problem is to modify the template image to change the visual effects to the best performance mode, turn off the animation effect or directly modify the registry. However, this method has the following three problems:

[0004] The first is that it is not possible to modify existing virtual machine systems in batches;

[0005] Second, it is not possible to modify to a specific visual effect with one click. You need to manually click Computer Properties - Advanced - Performance - Settings in the front end, and then check and uncheck the specified visual effects in the Performance Options dialog box. The operation is complicated and cumbersome and cannot be set silently.

[0006] The third is that directly modifying the registry will take effect after restarting, and real-time configuration cannot be achieved, and some visual effects cannot be modified directly by modifying the registry. Summary of the invention

[0007] In view of this, the present invention provides a method, device, equipment and medium for configuring the visual mode of an operating system to solve the problem that the operating system cannot be modified in batches and flexibly, and cannot take effect immediately after configuration.

[0008] In a first aspect, the present invention provides a method for configuring a visual mode of an operating system, the method comprising:

[0009] Get visual mode configuration instructions;

[0010] When the visual mode configuration instruction includes identification information corresponding to the visual mode to be configured, matching the character string corresponding to the visual mode to be configured according to the identification information, wherein the visual mode is generated by a plurality of visual effect influencing factors;

[0011] Extracting an attribute value corresponding to a target field from a registration table corresponding to each visual effect influencing factor, wherein the target field is a field in the registration table indicating a state of each visual effect influencing factor;

[0012] Based on the field attribute value in the string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registry to which the target field belongs, so as to generate the visual mode to be configured according to the updated attribute value of the target field in the registry.

[0013] The present invention provides a method for configuring the visual mode of an operating system, which has the following advantages: the method obtains a mode configuration instruction, matches a character string corresponding to the visual mode to be configured, and then changes the attribute value corresponding to the target field based on the field attribute value in the above character string, and updates the changed attribute value of the target field to the registry to which the target field belongs for persistent storage. Subsequently, the visual mode to be configured is generated according to the updated attribute value of the target field in the registry. Among them, the attribute value corresponding to the target field is extracted from the registry corresponding to each visual effect influencing factor. The method proposes a flexible, efficient and easy-to-use virtual computer visual special effect background real-time setting method, which solves the problem that the existing operating system cannot silently set visual special effects and cannot take effect in real time after modifying the registry. By disabling complex and minor visual effect influencing factors and only enabling practical and necessary visual effect influencing factors, the resource overhead caused by virtual machine rendering video images due to visual special effects is effectively reduced, the problem of desktop operation jamming caused by image rendering is solved, and the overall virtual system operation experience is improved.

[0014] In an optional implementation, when the visual mode configuration instruction includes a character string corresponding to the visual mode to be configured, the method includes:

[0015] Extracting the attribute value corresponding to the target field from the registry corresponding to each visual effect influencing factor;

[0016] Based on the field attribute value in the string, change the attribute value corresponding to the target field;

[0017] The changed attribute value of the target field is updated to the registry to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registry.

[0018] Specifically, after extracting the attribute value corresponding to the target field from the registry corresponding to each visual effect influencing factor, the attribute value corresponding to the target field is changed based on the field attribute value in the string. Since the processor is pre-configured with the specific path of the target field in the registry corresponding to each visual effect influencing factor, the processor can automatically extract and update the attribute value of the target field from the registry, reducing manual intervention and improving processing efficiency. Since the configuration instructions are given in the form of a string, each field of the string corresponds one-to-one to the visual effect influencing factor, so the addition, deletion, modification and query operations of the visual effect influencing factor can be implemented to adapt to different operating systems, enhancing the flexibility and scalability of the program. In addition, the configuration instructions of the string are more friendly and safer for non-technical users than directly editing the registry, which lowers the threshold for use.

[0019] In an optional implementation, when the visual mode configuration instruction includes a character string corresponding to the visual mode to be configured, the attribute value corresponding to each field in the character string is a custom attribute value.

[0020] Specifically, the character string corresponding to the visual mode to be configured in the visual mode configuration instruction is not only matched according to the identification information, but can also be customized, allowing the user to customize the visual mode according to personal preferences or specific needs, thereby enhancing the fluency and satisfaction of using the operating system.

[0021] In an optional implementation, when the field in the registration table is a field in the first representation form, extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor includes:

[0022] Extract the field at the preset position from the registry as the target field;

[0023] Read the attribute value of the target field;

[0024] Alternatively, when the field in the registration table is a field of the second representation form, extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor includes:

[0025] Convert the fields of the second representation in the registry to the fields of the first representation;

[0026] A first field corresponding to the target field is extracted from the fields of the first representation, and a field value of the first field is read.

[0027] Specifically, there are multiple representation forms of fields in the registry, and different representation forms have different ways of reading the field value of the target field. When the representation form in the registry is the first representation form, the processor extracts the field at a preset position from the registry as the target field, and then reads the attribute value of the target field. When the field in the registry is a field in the second representation form, the field in the second representation form in the registry is converted into a field in the first representation form, a first field corresponding to the target field is extracted from the field in the first representation form, and the field value of the first field is read.

[0028] The processor can handle fields of different representation forms, improve compatibility and flexibility with different data formats, and automated conversion and extraction reduce the need to manually process registration tables of different representation forms, thereby improving the efficiency of data processing.

[0029] In an optional implementation, each bit field in the string corresponds to a target field in a registry, and the registry includes a plurality of;

[0030] Based on the field attribute value in the string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registry to which the target field belongs, so as to generate the visual mode to be configured according to the updated attribute value of the target field in the registry, including:

[0031] Traverse the attribute value of the first field in the string, where the first field is any field in the string;

[0032] Matching a target registry corresponding to the first field from among the multiple registries;

[0033] When the field representation form in the target registry is the first representation form, the attribute value of the field matching the first field in the target registry is directly changed to the attribute value of the first field;

[0034] Alternatively, when the field representation form in the target registry is the second representation form, selecting a field corresponding to the first field from the fields of the first representation form corresponding to the field in the target registry;

[0035] Update the attribute value of the field corresponding to the first bit field with the attribute value of the first bit field.

[0036] Specifically, the attribute value of each field in the string is traversed and the corresponding registry target field is accurately matched. The attribute value of the registry target field is changed based on the attribute value of the field in the string. For different forms of expression, there are corresponding processing procedures and methods to implement the change of the attribute value of the registry target field. Traversing the string ensures that the attribute value of each target field is consistent with the field attribute value in the string, thereby improving the stability of the system. The processor sets the corresponding processing method according to the registry fields of different forms of expression to implement the change of the target field attribute value, thereby enhancing the system's compatibility with multiple forms of expression of the target field in the registry.

[0037] In an optional embodiment,

[0038] Get visual mode switching instructions;

[0039] According to the visual mode switching instruction, the field value of the target field is read from the registry described above;

[0040] Based on the field value of the target field, generate a string corresponding to the visual mode switching instruction;

[0041] According to the character string, control operations on multiple visual effect influencing factors are completed to generate a visual mode corresponding to the visual mode switching instruction, wherein the visual mode is generated by multiple visual effect influencing factors, and the control operations include starting the visual effect influencing factors or disabling the visual effect influencing factors.

[0042] Specifically, the system can quickly read the field value of the target field according to the visual mode switching instruction and generate a corresponding string, thereby quickly responding to the user's visual mode switching needs. The field value of the target field is read from the registry, and each field value of the target field corresponds to the field value of a field in the string. The one-to-one correspondence ensures that the system can accurately control the factors affecting the visual effect and ensure the accurate generation of the visual mode.

[0043] This method is very user-friendly. The user only needs to issue a visual mode switching instruction, and the system can automatically complete complex background operations, which improves the user experience. In addition, the string is generated based on the field value of the target field in the registry, which makes the system easy to expand and adapt to new visual mode requirements.

[0044] In an optional implementation, generating a character string corresponding to the visual mode switching instruction based on the field value of the target field specifically includes:

[0045] Identify the representation of the target field;

[0046] When the representation form of the target field is the first representation form, the attribute value of the field corresponding to the target field in the character string is changed to the attribute value of the target field;

[0047] Alternatively, when the target field is in the second representation form, after converting the target field to the first representation form, a first field corresponding to the target field is selected from the fields in the first representation form;

[0048] Changes the field value of the second field that matches the first field in the string to the field value of the first field.

[0049] Specifically, in the visual mode switching method, a string is generated based on the field value of the target field in the registry. However, the target fields in different registries have different representations, and a string corresponding to the visual mode switching instruction is generated based on the field values ​​of the target fields in different representations. The processor has corresponding acquisition methods according to the different representations of the target fields in the registry. The user does not need to understand the specific representation of the target field in the registry to obtain the correct visual mode, which greatly improves the user experience.

[0050] In a second aspect, the present invention provides a device for configuring a visual mode of an operating system, the device comprising:

[0051] Get module, get visual mode configuration instructions;

[0052] a matching module, when the visual mode configuration instruction includes identification information corresponding to the visual mode to be configured, matching the character string corresponding to the visual mode to be configured according to the identification information, wherein the visual mode is generated by a plurality of visual effect influencing factors;

[0053] A processing module extracts the attribute value corresponding to the target field from the registry corresponding to each visual effect influencing factor, wherein the target field is a field in the registry indicating the status of each visual effect influencing factor; based on the field attribute value in the string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registry to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registry.

[0054] The device for configuring the visual mode of an operating system provided by the present invention has the following advantages:

[0055] The modules cooperate with each other, obtain the mode configuration instructions, match the string corresponding to the visual mode to be configured, and then change the attribute value corresponding to the target field based on the field attribute value in the above string, and update the changed attribute value of the target field to the registry to which the target field belongs for persistent storage. Subsequently, the visual mode to be configured is generated according to the updated attribute value of the target field in the registry. The device can adapt to different registry structures for different visual effect influencing factors, which is convenient for expansion when adding or modifying visual effects in the future. Users do not need to have an in-depth understanding of the registry structure and the specific implementation of the visual mode. They only need to provide configuration instructions, and the device can automatically complete the configuration, which is extremely user-friendly. In addition, the device can update the target field attribute value in the registry in real time, persistently store each visual effect influencing factor, and ensure that the visual mode takes effect immediately.

[0056] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for configuring the visual mode of an operating system of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0057] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for configuring an operating system visual mode of the first aspect or any corresponding embodiment thereof.

[0058] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method for configuring an operating system visual mode according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0060] Figure 1 It is a flowchart of a method for configuring a visual mode of an operating system provided by an embodiment of the present invention;

[0061] Figure 2 It is a flowchart of another method for switching the visual mode of an operating system provided by an embodiment of the present invention;

[0062] Figure 3It is a flowchart of another method for configuring a visual mode of an operating system provided by an embodiment of the present invention;

[0063] Figure 4 It is a flowchart of another method for configuring a visual mode of an operating system provided by an embodiment of the present invention;

[0064] Figure 5 It is a flowchart of another method for configuring a visual mode of an operating system provided by an embodiment of the present invention;

[0065] Figure 6 It is a flowchart of another integrated method for configuring and switching a visual mode of an operating system provided by an embodiment of the present invention;

[0066] Figure 7 It is a structural block diagram of a device for configuring a visual mode of an operating system provided by an embodiment of the present invention;

[0067] Figure 8 It is a schematic diagram of the hardware structure of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0069] During the actual use of virtual computers (such as cloud computers), since the default Windows system visual effects are set to the best appearance, the system animation effects in the virtual machine occupy a large amount of CPU resources for animation rendering, seriously affecting the computer virtualization display effect, and even causing freezes and inability to quickly respond to peripheral instructions.

[0070] To solve the above problems, an embodiment of the present invention provides an embodiment of an operating system visual mode configuration. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system (computer device) including a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0071] In this embodiment, a method for configuring a visual mode of an operating system is provided, which can be used in the above-mentioned terminal devices, such as mobile phones, tablet computers, etc. Figure 1 FIG. 1 is a flow chart of a method for configuring a visual mode of an operating system provided by an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0072] Step S101, obtaining a visual mode configuration instruction.

[0073] Specifically, the visual mode configuration instructions can be obtained through a configuration file containing visual mode configuration instructions, or through a graphical user interface uploading visual mode configuration parameter information. Among them, in the second method, the visual mode configuration parameter information uploaded by the graphical user interface includes two parameters: the visual mode identification information to be configured or the attribute value of the corresponding field of each visual effect influencing factor.

[0074] The visual mode configuration instruction is used to extract the corresponding attribute value of the field that determines the state of the visual effect influencing factor from the registration table corresponding to each visual effect influencing factor, change the attribute value of the field in the string uploaded by the above-mentioned graphical user interface, and update the changed attribute value of the field that determines the state of the visual effect influencing factor to the registration table.

[0075] The visual mode configuration instruction includes identification information corresponding to the visual mode to be configured.

[0076] Step S102: matching a character string corresponding to the visual mode to be configured according to the identification information.

[0077] Among them, the visual pattern is generated by multiple visual effect influencing factors.

[0078] Specifically, by presetting the character string corresponding to the visual mode identification information to be configured, different visual mode identification information to be configured corresponds to different character strings. For example, in the visual modes to be configured, some visual mode identification information matches a fixed character string, and some visual effect mode identification information requires a custom character string.

[0079] The processor may match a character string corresponding to the visual mode to be configured according to the identification information corresponding to the visual mode to be configured.

[0080] Step S103: extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor.

[0081] Specifically, the attribute value corresponding to the target field is the attribute value of the field in the registry corresponding to the visual effect influencing factor that determines whether the visual effect state is enabled or disabled. There are multiple representations of the attribute value corresponding to the target field in the registry corresponding to each visual effect influencing factor, and different extraction rules need to be formulated according to different representations to extract the attribute value corresponding to the target field.

[0082] Step S104, based on the field attribute value in the character string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registration table to which the target field belongs.

[0083] Specifically, after matching the corresponding visual pattern string to be configured according to the visual pattern identification information, based on the field attribute values ​​in the above string, the attribute value corresponding to the target field extracted from the registry corresponding to each visual effect influencing factor is changed, so that the attribute value of the target field is consistent with the field attribute value in the string, and the changed attribute value of the target field is updated to the registry to which the target field belongs.

[0084] The method for configuring the visual mode of the operating system provided in this embodiment obtains the mode configuration instruction, matches the string corresponding to the visual mode to be configured, and then changes the attribute value corresponding to the target field based on the field attribute value in the above string, and updates the changed attribute value of the target field to the registry to which the target field belongs for persistent storage. Subsequently, the visual mode to be configured is generated according to the updated attribute value of the target field in the registry. Among them, the attribute value corresponding to the target field is extracted from the registry corresponding to each visual effect influencing factor. The method proposes a flexible, efficient and easy-to-use virtual computer visual special effect background real-time setting method, which solves the problem that the existing operating system cannot silently set visual special effects and the modification of the registry cannot take effect in real time. By disabling complex and minor visual effect influencing factors and only enabling practical and necessary visual effect influencing factors, the resource overhead caused by the virtual machine rendering video images due to visual special effects is effectively reduced, the problem of desktop operation jamming caused by image rendering is solved, and the overall virtual system operation experience is improved.

[0085] In this embodiment, a method for configuring a visual mode of an operating system is provided, which can be used in the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. Figure 2 is a flow chart of a method for configuring a visual mode of an operating system provided by an embodiment of the present invention. On the basis of the above-mentioned embodiment, when the visual mode configuration instruction includes a string corresponding to the visual mode to be configured, it is necessary to change the attribute value corresponding to the target field based on the field attribute value in the above string, and update the changed attribute value of the target field to the corresponding registration table, such as Figure 2 As shown, the method includes the following steps:

[0086] Step S201: extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor.

[0087] Specifically, before changing the attribute value corresponding to the target field, it is necessary to first extract the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor to determine which visual effect influencing factor's corresponding target field attribute value needs to be changed.

[0088] Step S202: based on the field attribute value in the character string, modify the attribute value corresponding to the target field.

[0089] Specifically, after extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor, the attribute value is compared with the field attribute value in the string one by one, and the attribute value corresponding to the target field with inconsistent attribute value is changed.

[0090] Step S203: Update the changed attribute value of the target field into the registration table to which the target field belongs.

[0091] Specifically, the operating system needs to identify and apply configuration changes through the registry. Therefore, only after the changed target field attribute value is updated to the registry to which the target field belongs for persistent storage, can the operating system recognize the changed target field attribute value and generate the visual mode to be configured.

[0092] Specifically, after extracting the attribute value corresponding to the target field from the registry corresponding to each visual effect influencing factor, the attribute value corresponding to the target field is changed based on the field attribute value in the string. Since the processor is pre-configured with the specific path of the target field in the registry corresponding to each visual effect influencing factor, the processor can automatically extract and update the attribute value of the target field from the registry, reduce manual intervention, and improve processing efficiency. Since the configuration instructions are given in the form of a string, each field of the string corresponds one-to-one to the visual effect influencing factor, so the addition, deletion, modification and query operations of the visual effect influencing factor can be implemented to adapt to different operating systems, thereby enhancing the flexibility and scalability of the program. In addition, the configuration instructions of the string are more friendly and safer for non-technical users than directly editing the registry, which lowers the threshold for use.

[0093] In the method of the aforementioned embodiment, when the visual mode configuration instruction includes a character string corresponding to the visual mode to be configured, the attribute value corresponding to each field in the character string is a custom attribute value.

[0094] Specifically, based on the above embodiments, in addition to the default, the string can also be customized. For example, the best appearance visual mode matches the string with all visual effects as the enabled state attribute value. The best performance visual mode matches the string with all visual effects as the disabled state attribute value. It also includes the system default visual mode, which matches the string with all visual effects as the default state attribute value. When the visual mode to be configured is a customized visual mode, the attribute value corresponding to each field in the string can be customized.

[0095] The client can also upload the attribute value corresponding to each field in the customized string to the processor directly without selecting the visual mode in advance, based on his own preferences and actual needs.

[0096] In this embodiment, a method for configuring the visual mode of an operating system is provided, which can be used in the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. The registration table corresponding to each visual effect influencing factor is divided into two forms of expression. Based on any of the above-mentioned embodiments, in an optional embodiment, extracting the attribute value corresponding to the target field from different forms of expression includes the following two methods. When the field in the registration table is a field of the first form of expression, extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor, the process includes the following steps:

[0097] Step a1, extracting a field at a preset position from a registration table as a target field.

[0098] Specifically, each visual effect influencing factor has a field attribute value at an exact position in the corresponding registration table to indicate the state of the visual effect influencing factor, and the field indicating the state of the visual effect influencing factor is the target field. Different attribute values ​​represent different states. For example, when the target field attribute value is '1', it indicates that the visual effect influencing factor is enabled, and when the target field attribute value is '0', it indicates that the visual effect influencing factor is disabled.

[0099] Step a2: read the attribute value of the target field.

[0100] Specifically, the processor will preconfigure the path of the target field, and after finding the target field corresponding to the visual effect influencing factor according to the path, read the attribute value of the target field.

[0101] When the field in the registration table is a field of the second representation form, a method of extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor includes the following steps:

[0102] Step b1: convert the fields in the second representation form in the registration table into fields in the first representation form.

[0103] Specifically, because the step of reading the target field attribute value reads the value of the field that affects the visual effect state in the first form, when the field in the registry is a field in the second form, it is necessary to first convert the field in the second form into a field in the first form.

[0104] Step b2: extracting a first field corresponding to the target field from the fields in the first representation form, and reading the field value of the first field.

[0105] Specifically, after converting the value of the second expression form in the registration table to the first expression form, it is necessary to first determine that the field corresponding to the state of the visual effect influencing factor under the first expression form is the first field, and then extract the field value of the first field.

[0106] Specifically, there are multiple representation forms of fields in the registry, and different representation forms have different ways of reading the field value of the target field. When the representation form in the registry is the first representation form, the processor extracts the field at a preset position from the registry as the target field, and then reads the attribute value of the target field. When the field in the registry is a field of the second representation form, the field of the second representation form in the registry is converted into a field of the first representation form, the first field corresponding to the target field is extracted from the field of the first representation form, and the field value of the first field is read.

[0107] The processor can handle fields of different representation forms, improve compatibility and flexibility with different data formats, and automated conversion and extraction reduce the need to manually process registration tables of different representation forms, thereby improving the efficiency of data processing.

[0108] Based on the above embodiments, it can be known that each field in the string corresponds to a target field in a registry, and the registry includes multiple fields, and the field expressions in the multiple registries are divided into two forms. Only by updating the field attribute value in the string to the registry can the operating system generate a visual pattern consistent with the string.

[0109] In an optional embodiment, in both forms of expression, based on the field attribute value in the string, the attribute value corresponding to the target field in the registry is changed, and the changed attribute value of the target field is updated to the registry to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registry. The specific implementation steps are as follows:

[0110] Among them, when the field representation form in the target registration table is the first representation form.

[0111] Step c1, traverse the attribute value of the first field in the string.

[0112] The first bit field is any bit field in the string.

[0113] Specifically, the visual mode configuration instruction may include identification information corresponding to the visual mode to be configured, and the string corresponding to the visual mode may be matched according to the identification information, or a set of strings may be uploaded by the client. The attribute value of each field in the string is traversed to compare with the attribute value corresponding to the target field in the target registry to determine whether they are consistent.

[0114] Step c2, matching a target registry corresponding to the first field from multiple registry tables.

[0115] Specifically, for the first field in the above string, before comparing with the target field, it is necessary to first match the target registry corresponding to the first field in the string in multiple registries according to a preset path.

[0116] Step c3, directly changing the attribute value of the field matching the first field in the target registration table to the attribute value of the first field.

[0117] Specifically, the attribute value of the first field in the traversal string is compared with the attribute value of the field matching the first field in the target registry. If they are inconsistent, the attribute value of the field matching the first field in the target registry is directly changed to the attribute value of the first field.

[0118] When the field representation form in the target registry is the second representation form, the attribute value of the first field in the string is traversed, and the target registry corresponding to the first field is matched from multiple registries.

[0119] Step d1, selecting a field corresponding to the first field from the fields of the first representation form corresponding to the fields in the target registration table.

[0120] Specifically, after converting the target registration table in the second representation form into the first representation form, a field corresponding to the first field is selected from the converted target registration table in the first representation form.

[0121] Step d2: Update the attribute value of the field corresponding to the first field to the attribute value of the first field.

[0122] Specifically, when the field attribute value corresponding to the first field in the converted target registry of the first representation is inconsistent with the attribute value of the first field, the attribute value of the field corresponding to the first field in the target registry is updated to the attribute value of the first field.

[0123] Specifically, the attribute value of each field in the string is traversed and the corresponding registry target field is accurately matched. The attribute value of the registry target field is changed based on the attribute value of the field in the string. For different forms of expression, there are corresponding processing procedures and methods to implement the change of the attribute value of the registry target field. Traversing the string ensures that the attribute value of each target field is consistent with the field attribute value in the string, thereby improving the stability of the system. The processor sets the corresponding processing method according to the registry fields of different forms of expression to implement the change of the target field attribute value, thereby enhancing the system's compatibility with multiple forms of expression of the target field in the registry.

[0124] In an optional embodiment, based on the above embodiment, when the configured visual mode is switched, the method includes the following method steps, see Figure 3 As shown:

[0125] Step S301, obtaining a visual mode switching instruction.

[0126] Step S302, according to the visual mode switching instruction, read the field value of the target field from the registration table described above.

[0127] Specifically, the client sends a visual mode switching instruction, and after the processor obtains the visual mode switching instruction, it first reads the field value of each visual effect influencing factor in the corresponding target field in the registration table.

[0128] Step S303: Generate a character string corresponding to the visual mode switching instruction based on the field value of the target field.

[0129] Specifically, a character string corresponding to the visual mode switching instruction is generated according to the field value of the target field read above. For example, when the field value of the target field is '1', the field value of the field in the character string corresponding to the target field is also '1'.

[0130] Step S304, completing control operations on multiple visual effect influencing factors according to the character string to generate a visual mode corresponding to the visual mode switching instruction.

[0131] The visual mode is generated by a plurality of visual effect influencing factors, and the control operation includes starting the visual effect influencing factors or disabling the visual effect influencing factors.

[0132] Specifically, the above string is traversed, and when the field value in the string is the field value corresponding to the factor for starting the visual effect influencing factor, the visual effect influencing factor is started; when the field value in the string is the field value corresponding to the factor for disabling the visual effect influencing factor, the visual effect influencing factor is turned off.

[0133] Specifically, the system can quickly read the field value of the target field according to the visual mode switching instruction and generate a corresponding string, thereby quickly responding to the user's visual mode switching needs. The field value of the target field is read from the registry, and each field value of the target field corresponds to the field value of a field in the string. The one-to-one correspondence ensures that the system can accurately control the factors affecting the visual effect and ensure the accurate generation of the visual mode.

[0134] In an optional embodiment, based on the above embodiment, for different representation forms in the registry, the field value of the target field is obtained, and the method of generating a string corresponding to the visual mode switching instruction is also different. The specific generation method includes:

[0135] Step e1, identifying the registry to which the target field belongs and the representation form of the target field.

[0136] When the target field is represented as the first representation,

[0137] Step e2, changing the attribute value of the field corresponding to the target field in the character string to the attribute value of the target field.

[0138] Specifically, when the representation form of the target field is the first representation form, the attribute value of the target field is directly obtained, and the attribute value of the field corresponding to the target field in the string is changed to the attribute value of the target field. For example, when the first representation form is a binary representation form, and the attribute value of the target field is '1', the attribute value of the field corresponding to the target field in the string is changed to the attribute value '1' of the target field.

[0139] Or, when the target field's representation is the second representation,

[0140] Step e3, after converting the target field into the first representation form, selecting a first field corresponding to the target field from the fields of the first representation form;

[0141] Specifically, when the target field is in the second representation form, the target field no longer corresponds to the attribute value, but the field value of one of the fields after the second representation form is converted to the first representation form. The first field is the field corresponding to the target field after the second representation form is converted to the first representation form.

[0142] Step e4, changing the field value of the second field in the character string that matches the first field to the field value of the first field.

[0143] Specifically, when the second representation is a hexadecimal representation, it is necessary to convert the hexadecimal to binary, and then obtain the field value corresponding to the target field from the binary representation. For example, when the representation in the registry is 0x96, it is necessary to first convert it to 10010110. Among them, the '1' in the 4th bit is the first field, indicating that the visual effect influencing factor of the smooth scrolling list box is enabled. Finally, the field value of the second field matching the first field in the string is changed to '1'.

[0144] Specifically, in the visual mode switching method, a string is generated based on the field value of the target field in the registry. However, the target fields in different registries have different representations, and a string corresponding to the visual mode switching instruction is generated based on the field values ​​of the target fields in different representations. The processor has corresponding acquisition methods according to the different representations of the target fields in the registry. The user does not need to understand the specific representation of the target field in the registry to obtain the correct visual mode, which greatly improves the user experience.

[0145] In an optional embodiment, based on any of the foregoing embodiments, the implementation program of the method for configuring visual modes and switching visual modes is made into a patch, and the generated patch file is sent to various systems on the same server, so that batch real-time modification of visual modes of multiple systems on the same server can be realized.

[0146] The specific implementation steps include:

[0147] Step f1, uploading the implementation program of the method for configuring the visual mode and switching the visual mode to the patch making tool.

[0148] Specifically, patch making tools include PatchFactory, AT4RE Patcher, and DUP (diablo2oo2's Universal Patcher, referred to as DUP).

[0149] Step f2, generate a patch file.

[0150] Step f3, testing and verification are performed to ensure the correctness and stability of the patch.

[0151] Step f4: Send the generated patch file to each system on the same server.

[0152] Specifically, by making the program for configuring the visual mode and switching the visual mode into a patch file, and sending the generated patch file to various systems on the same server, the visual mode of multiple systems on the same server can be modified in batches in real time.

[0153] The overall operation flow of the above method of the present application will be described below in the form of a specific example. The overall flow of the visual mode configuration method is as follows: Figure 4 As shown:

[0154] In Windows system, there are seventeen factors affecting visual effects, as shown in Table 1, namely, saving taskbar thumbnail preview, animated controls and elements in windows, fading or sliding menus into view, sliding open combo boxes, smooth scrolling list boxes, smoothing screen font edges, enabling quick glances, animations in taskbars, displaying thumbnails instead of icons, displaying translucent selection rectangles, displaying shadows under windows, fading menus after clicking, fading or sliding tooltips in view, displaying shadows under mouse pointers, using shadows for icon labels on the desktop, and displaying window animations when maximizing and minimizing.

[0155] 1 Save taskbar thumbnail preview 10 Show thumbnails instead of icons 2 Animating controls and elements within a window 11 Display a semi-transparent selection rectangle 3 Fade or slide menus into view 12 Show shadow under window 4 Slide open combo box 13 Fade out the menu after clicking 5 Smooth scrolling list box 14 Fade or slide a tooltip into view 6 Smooth the edges of screen fonts 15 Show shadow under mouse pointer 7 Enable Peek 16 Use shadows for icon labels on the desktop 8 Animation in the taskbar 17 Show window animation when maximizing and minimizing 9 Show window contents while dragging

[0156] Table 1 Seventeen factors affecting the visual effects of Windows system

[0157] Among them, the registries corresponding to the 1st, 6th, 7th, 8th, 9th, 10th, 11th, 16th, and 17th visual effect influencing factors are REG_SZ type registries, and are configured with separate registries. The 2nd, 3rd, 4th, 5th, 12th, 13th, 14th, and 15th visual effect influencing factors share a REG_BINARY type registry, and do not have separate registries like other configuration items. The above REG_SZ type registry is defined as a registry of the first form, and the REG_BINARY type registry is defined as a registry of the second form.

[0158] First, obtain the visual mode configuration instruction. The mode configuration instruction includes the identification information of the pre-configured visual mode, that is, configuration parameter 1, and match the corresponding string based on configuration parameter 1. When the identification information is for best appearance, match the string whose field values ​​are all 1. When the identification information is for best performance, match the string whose field values ​​are all 0. When the identification information is not set, directly upload the 17-bit custom string, that is, configuration parameter 2, and then find the system registry according to the path of the system registry stored in the system, and then extract the value of the target field corresponding to the string from the system registry. Based on the above string, change the value of the target field in the system registry. A specific example of extracting the value of the target field corresponding to the string is as follows: Figure 5 As shown:

[0159] For the registry corresponding to the above-mentioned 1st, 6th, 7th, 8th, 9th, 10th, 11th, 16th and 17th visual effect influencing factors, which is a registry of the first form of REG_SZ type, and the registry is stored in the form of 0x00000001 or 0x00000000, it is only necessary to obtain the binary character 0 or 1 corresponding to the target field from the registry corresponding to each of the visual effect influencing factors, and add the character value to the corresponding bit position of the string corresponding to the number of items.

[0160] Among them, the 2nd, 3rd, 4th, 5th, 12th, 13th, 14th and 15th visual effect influencing factors share a registry of the second representation form of a REG_BINARY type registry, as shown in Table 2. The registry is stored in the hexadecimal representation form of 96 12 03 80 10 00 00 00.

[0161] For the second registration form, as shown in Table 2, it is necessary to convert the above hexadecimal into binary first, and then extract the field value of the first field corresponding to the binary field, that is, extract the value of the field that controls the status of the 2nd, 3rd, 4th, 5th, 12th, 13th, 14th, and 15th visual effect influencing factors.

[0162]

[0163] Table 2 Hexadecimal is converted to binary first

[0164] That is, after converting 96 12 03 80 10 00 00 00 to 10010110000100100000001101010000101000000000000000000000000000000000, extract the binary character value of the 38th bit corresponding to the animation controls and elements in the second window. If it is 1, it means that the visual effect factor is enabled, and if it is 0, it means that the visual effect factor is disabled. Extract the binary character value of the 6th bit corresponding to the 3rd item of fading in and out or sliding the menu to the view, and extract the 5th bit. Extract the field value of the 4th item corresponding to the bit to slide open the combo box, extract the binary character value of the 5th item corresponding to the 4th bit to smoothly scroll the list box, extract the binary character value of the 12th item corresponding to the 21st bit to display the shadow under the window, extract the binary character value of the 13th item corresponding to the 13th bit to fade out the menu after clicking; extract the binary character value of the 14th item corresponding to the 12th bit to fade in and out or slide the tooltip in the view; extract the binary character value of the 15th item corresponding to the 10th bit to display the shadow under the mouse pointer. After extracting the above binary character values, add the binary character value to the bit corresponding to the string corresponding to the number of items.

[0165] The extracted attribute value or field value is modified based on the aforementioned matching or customized string, and after the modification, it is updated to the registry according to the original path and original location of the above registry for persistent storage. According to the updated attribute value of the target field in the registry, the visual mode to be configured is generated.

[0166] After configuring the visual mode, the integrated block diagram for switching the visual mode is as follows: Figure 6 shown.

[0167] Upload the visual mode configuration instruction. The system changes the field value of the target field in the registry through the system interface according to the visual mode configuration instruction and stores it persistently. After receiving the visual mode switching instruction, it traverses the visual effect influencing factors in the system registry and switches according to the visual effect influencing factors stored in the system registry.

[0168] In this embodiment, a device for configuring the visual mode of an operating system is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0169] This embodiment provides a device for configuring a visual mode of an operating system, such as Figure 7 As shown, it includes: an acquisition module 701, a matching module 702, and a processing module 703.

[0170] An acquisition module 701 is used to acquire a visual mode configuration instruction;

[0171] A matching module 702, configured to match a character string corresponding to the visual mode to be configured according to the identification information when the visual mode configuration instruction includes identification information corresponding to the visual mode to be configured, wherein the visual mode is generated by a plurality of visual effect influencing factors;

[0172] Processing module 703 is used to extract the attribute value corresponding to the target field from the registry corresponding to each visual effect influencing factor, wherein the target field is a field in the registry indicating the status of each visual effect influencing factor; based on the field attribute value in the string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registry to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registry.

[0173] In an optional embodiment, the processing module 703 is specifically configured to, when the visual mode configuration instruction includes a character string corresponding to the visual mode to be configured, the method includes:

[0174] Extracting the attribute value corresponding to the target field from the registry corresponding to each visual effect influencing factor;

[0175] Based on the field attribute value in the string, change the attribute value corresponding to the target field;

[0176] The changed attribute value of the target field is updated to the registry to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registry.

[0177] In an optional embodiment, the processing module 703 is specifically configured to extract the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor when the field in the registration table is a field in the first representation form, including:

[0178] Extract the field at the preset position from the registry as the target field;

[0179] Read the attribute value of the target field;

[0180] Alternatively, when the field in the registration table is a field of the second representation form, extracting the attribute value corresponding to the target field from the registration table corresponding to each visual effect influencing factor includes:

[0181] Convert the fields of the second representation in the registry to the fields of the first representation;

[0182] A first field corresponding to the target field is extracted from the fields of the first representation, and a field value of the first field is read.

[0183] In an optional embodiment, the processing module 703 is specifically used to traverse the attribute value of the first field in the string, wherein the first field is any field in the string;

[0184] Matching a target registry corresponding to the first field from among the multiple registries;

[0185] When the field representation form in the target registry is the first representation form, the attribute value of the field matching the first field in the target registry is directly changed to the attribute value of the first field;

[0186] Alternatively, when the field representation form in the target registry is the second representation form, selecting a field corresponding to the first field from the fields of the first representation form corresponding to the field in the target registry;

[0187] Update the attribute value of the field corresponding to the first bit field with the attribute value of the first bit field.

[0188] The device for configuring the operating system visual mode in this embodiment is presented in the form of a functional module, where the module refers to an application specific integrated circuit (ASIC), a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0189] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0190] An embodiment of the present invention provides a device for configuring a visual mode of an operating system, in which modules cooperate with each other, obtain mode configuration instructions, match the character string corresponding to the visual mode to be configured, and then change the attribute value corresponding to the target field based on the field attribute value in the above character string, and update the changed attribute value of the target field to the registry to which the target field belongs for persistent storage. Subsequently, the visual mode to be configured is generated according to the updated attribute value of the target field in the registry. The device can adapt to different registry structures for different visual effect influencing factors, which is convenient for expansion when adding or modifying visual effects in the future. The user does not need to have an in-depth understanding of the registry structure and the specific implementation of the visual mode, but only needs to provide configuration instructions, and the device can automatically complete the configuration, which is extremely user-friendly. In addition, the device can update the target field attribute value in the registry in real time, and while persistently storing each visual effect influencing factor, ensure that the visual mode takes effect immediately.

[0191] An embodiment of the present invention further provides a computer device, Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0192] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include an integrated circuit. The integrated circuit may be a dedicated 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.

[0193] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0194] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0195] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0196] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0197] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0198] The embodiment of the present invention also provides a computer-readable storage medium. The method provided in the above embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or is implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0199] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0200] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for configuring a visual mode of an operating system, characterized in that: The method comprises: Get visual mode configuration instructions; When the visual mode configuration instruction includes identification information corresponding to the visual mode to be configured, matching the character string corresponding to the visual mode to be configured according to the identification information, wherein the visual mode is generated by a plurality of visual effect influencing factors; Extracting an attribute value corresponding to a target field from a registration table corresponding to each of the visual effect influencing factors, wherein the target field is a field in the registration table indicating a state of each of the visual effect influencing factors; Based on the field attribute value in the string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registry to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registry.

2. The method according to claim 1, characterized in that: When the visual mode configuration instruction includes a character string corresponding to the visual mode to be configured, the method includes: Extracting the attribute value corresponding to the target field from the registration table corresponding to each of the visual effect influencing factors; Based on the field attribute value in the string, modify the attribute value corresponding to the target field; The changed attribute value of the target field is updated into the registration table to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registration table.

3. The method according to claim 2, characterized in that When the visual mode configuration instruction includes a character string corresponding to the visual mode to be configured, the attribute value corresponding to each field in the character string is a custom attribute value.

4. The method according to any one of claims 1 to 3, characterized in that: When the field in the registration table is a field in the first representation form, extracting the attribute value corresponding to the target field from the registration table corresponding to each of the visual effect influencing factors includes: Extracting a field at a preset position from the registration table as the target field; Read the attribute value of the target field; Alternatively, when the field in the registration table is a field of the second representation form, extracting the attribute value corresponding to the target field from the registration table corresponding to each of the visual effect influencing factors includes: Converting the fields of the second representation form in the registration table into the fields of the first representation form; A first field corresponding to the target field is extracted from the fields of the first representation form, and a field value of the first field is read.

5. The method according to claim 4, characterized in that Each field of each bit in the string corresponds to a target field in a registration table, and the registration table includes a plurality of registration tables; The method of changing the attribute value corresponding to the target field based on the field attribute value in the string, and updating the changed attribute value of the target field to the registration table to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registration table, specifically includes: Traverse the attribute value of the first bit field in the string, wherein the first bit field is any bit field in the string; Matching a target registry corresponding to the first bit field from the plurality of the registries; When the field representation form in the target registry is the first representation form, directly changing the attribute value of the field matching the first bit field in the target registry to the attribute value of the first bit field; or, when the field representation form in the target registry is the second representation form, selecting a field corresponding to the first bit field from the fields of the first representation form corresponding to the field in the target registry; The attribute value of the field corresponding to the first bit field is updated to the attribute value of the first bit field.

6. A visual mode switching method, characterized in that: The method comprises: Get visual mode switching instructions; According to the visual mode switching instruction, reading a field value of a target field from a registration table according to any one of claims 1 to 5; Based on the field value of the target field, generating a character string corresponding to the visual mode switching instruction; According to the character string, control operations on multiple visual effect influencing factors are completed to generate a visual mode corresponding to the visual mode switching instruction, wherein the visual mode is generated by multiple visual effect influencing factors, and the control operations include starting the visual effect influencing factors or disabling the visual effect influencing factors.

7. The method according to claim 6, characterized in that The generating, based on the field value of the target field, a character string corresponding to the visual mode switching instruction specifically includes: identifying a representation of the target field; When the representation form of the target field is the first representation form, changing the attribute value of the field corresponding to the target field in the character string to the attribute value of the target field; Alternatively, when the target field is in the second representation form, after converting the target field into the first representation form, a first field corresponding to the target field is selected from the fields of the first representation form; The field value of the second field in the character string that matches the first field is changed to the field value of the first field.

8. A device for configuring a visual mode of an operating system, characterized in that: The device comprises: The acquisition module is used to obtain the visual mode configuration instructions; a matching module, configured to match a character string corresponding to the visual mode to be configured according to the identification information when the visual mode configuration instruction includes identification information corresponding to the visual mode to be configured, wherein the visual mode is generated by a plurality of visual effect influencing factors; A processing module is used to extract the attribute value corresponding to the target field from the registration table corresponding to each of the visual effect influencing factors, wherein the target field is a field in the registration table indicating the status of each of the visual effect influencing factors; based on the field attribute value in the character string, the attribute value corresponding to the target field is changed, and the changed attribute value of the target field is updated to the registration table to which the target field belongs, so as to subsequently generate the visual mode to be configured according to the updated attribute value of the target field in the registration table.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for configuring the visual mode of an operating system according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for configuring the operating system visual mode according to any one of claims 1 to 7.