Display mode switching method and device, electronic equipment and storage medium
By acquiring and parsing the parameter configuration file, the display mode list of the screen is determined and switched to the target mode, which solves the problem of poor performance of the screen in different application scenarios and achieves the best display effect in different scenarios.
Patent Information
- Application Number
- CN202211732657.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Existing technologies struggle to achieve optimal display performance switching for different application scenarios, especially addressing the issue of reduced refresh rates when brightness decreases.
By obtaining parameter configuration files containing multiple sets of display parameters, the display mode list of the display screen is determined, and in response to the selection of the target display mode, the display screen is switched to the target display mode to adapt to the needs of different application scenarios.
It enables the display to switch to the optimal display mode in different application scenarios, ensuring that all performance levels can reach their best in different scenarios.
Smart Images

Figure CN116126267B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of display screen control, and particularly relates to a display mode switching method and device, an electronic device and a storage medium. BACKGROUND
[0002] In the use process of the display screen, there is usually a correlation between multiple display performances of the display screen, for example, directly reducing the brightness of the display screen will cause the refresh rate to be low, and the optimal display performance required by the display screen is different in different application scenarios. For example, in the indoor sports live broadcast scenario, the optimal display performance required by the display screen is high frame frequency; in the shooting scenario, the optimal display performance required by the display screen is high refresh rate.
[0003] Therefore, if the display performance required by the display screen in different application scenarios is to be optimal and other display performances are not affected, a display mode switching method needs to be proposed to realize the switching of the optimal display mode of the display screen in different application scenarios through the control system of the display screen. SUMMARY
[0004] The display mode switching method and device, the electronic device and the storage medium provided in the embodiments of the application can realize the switching of the optimal display mode of the display screen in different application scenarios through the control system of the display screen.
[0005] The first aspect of the embodiments of the application provides a display mode switching method applied to a control device, the control device being used for controlling the display mode of a display screen, and the display mode switching method comprising the following steps.
[0006] obtaining a parameter configuration file, the parameter configuration file comprising multiple sets of display parameters corresponding to multiple display modes one by one, each set of display parameters comprising multiple display parameters;
[0007] determining a display mode list of the display screen according to the parameter configuration file;
[0008] switching the display mode of the display screen to a target display mode in response to the selection of the target display mode.
[0009] The second aspect of the embodiments of the application provides a display mode switching device, comprising the following modules.
[0010] a file obtaining module configured to obtain a parameter configuration file, the parameter configuration file comprising multiple sets of display parameters corresponding to multiple display modes one by one, each set of display parameters comprising multiple display parameters;
[0011] a mode determining module configured to determine a display mode list of the display screen according to the parameter configuration file;
[0012] A mode switching module is configured to switch the display mode of the display screen to a target display mode in response to selection of the target display mode.
[0013] A third aspect of the embodiments of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the display mode switching method of the first aspect when executing the computer program.
[0014] A fourth aspect of the embodiments of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executable by a processor to implement the display mode switching method of the first aspect.
[0015] A fifth aspect of the embodiments of the present application provides a computer program product, which, when executed on an electronic device, causes the electronic device to perform the display mode switching method of the first aspect.
[0016] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0017] The embodiments of the present application acquire a parameter configuration file comprising multiple sets of display parameters, determine a display mode list of the display screen, wherein the multiple sets of display parameters have one-to-one correspondence with multiple display modes, and the display mode list comprises the multiple display modes, and after responding to selection of a target display mode, the display mode of the display screen can be switched to the target display mode. In the above scheme, each set of display parameters corresponding to each display mode is display parameters suitable for an application scenario, and therefore, through the parameter configuration file and selection of the target display mode, switching of the best display mode of the display screen in different application scenarios can be realized. BRIEF DESCRIPTION OF DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0019] Figure 1 is a flowchart of a display mode switching method provided by the embodiments of the present application;
[0020] Figure 2 is a flowchart of switching of a display screen to a target display mode provided by the embodiments of the present application;
[0021] Figure 3is another flowchart of switching a display screen to a target display mode provided by an embodiment of the present application;
[0022] Figure 4 is a structural diagram of a display mode switching device provided by an embodiment of the present application;
[0023] Figure 5 is a structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0024] In the following description, for the purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the application. However, it will be apparent to those skilled in the art that the application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods, devices, circuits, and
[0025] It should be understood that the term "comprises" when used in this specification and the appended claims, specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0026] It should also be understood that the term "and / or" when used in this specification and the appended claims, means any one or more of the associated listed items can be present, and includes multiples of any one or more of the associated listed items.
[0027] As used in this specification and the appended claims, the term "if" can be interpreted as meaning "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be interpreted to mean "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]," depending on the context.
[0028] In addition, in the description of the specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
[0029] Reference within the specification of this application to "one embodiment" or "some embodiments" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" or "in some embodiments" in various places within specified
[0030] In different application scenarios, the display performance that the display screen needs to highlight is different, that is, the display screen needs to be balanced in many aspects of visual performance, for example, when a customer prioritizes a display performance of the display screen, other performances may be damaged, for example, when a user wants to reduce the brightness of the display screen based on the protection of the eyes, the low gray refresh rate is insufficient, and then the screen body has a flickering feeling or the photographing has a scanning line.
[0031] In the prior art, to solve the problem that the reduction of the brightness of the display screen leads to the reduction of the refresh rate, different current gain values are saved in the hardware of the receiving card, and the current gain is reduced to replace the direct reduction of the gray value to reduce the brightness, but this method has a single application scenario and cannot achieve the best display performance of the display screen in different application scenarios.
[0032] To solve the above problem, the embodiment of the application provides a display mode switching method, which can obtain a parameter configuration file including a plurality of groups of display parameters, determine a display mode list of the display screen, wherein the plurality of groups of display parameters have a one-to-one correspondence with a plurality of display modes, and the display mode list includes the plurality of display modes, and after responding to the selection of a target display mode, the display mode of the display screen can be switched to the target display mode. In the above scheme, the group of display parameters corresponding to each display mode is the display parameter suitable for an application scenario, so through the parameter configuration file and the selection of the target display mode, the switching of the best display mode of the display screen in different application scenarios can be realized, so that the display screen can achieve the best display performance in different application scenarios.
[0033] It should be understood that the display screen in the embodiments of the present application can be one of the following display screens: an LCD display screen, an LED display screen, an OLED display screen, and a QLED display screen. Taking an LED display screen as an example, the LED display screen can be a common LED display screen, or a microLED, a miniLED, and a new type of LED in the future. Further, in some embodiments, the packaging method of the display screen can also be one of the following packaging methods: for example, surface mounted technology (SMT), chips on board (COB), chip on glass (COG), or a new type of packaging method in the future.
[0034] The embodiments of the present application do not specifically limit the size of the display screen, which can be a display screen with a large size, such as a display screen used in a shopping mall or a concert. It can also be a smaller size display screen, such as a light box, a light panel, etc. With the development of future display, it is likely to contain a large number of pixels on a smaller size display screen, and the method provided by the embodiments of the present application is also applicable.
[0035] It should also be understood that the size of the serial number of each step in the embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0036] The display mode switching method, device, electronic equipment, storage medium and computer program provided by the present application are described in detail below with reference to the accompanying drawings.
[0037] Referring to Figure 1 , a flowchart of a display mode switching method provided by an embodiment of the present application is shown. The method can be applied to a control device, wherein the control device is used to control the display mode of the display screen, for example, to control the switching of the display mode of the display screen.
[0038] Specifically, the display mode switching method of the control device described above can include the following steps 101 to 103.
[0039] Step 101, obtaining a parameter configuration file.
[0040] The parameter configuration file can be a configuration file including a plurality of sets of display parameters corresponding to a plurality of display modes. It should be noted that each set of display parameters has a corresponding name and serial number, and each set of display parameters includes a plurality of display parameters. The display parameter is used to instruct the display screen to update the display, for example, the display parameter can be the display parameter of the display screen such as brightness, contrast, chroma, refresh rate, etc.
[0041] In the embodiments of the present application, the parameter configuration file can be generated by a display cabinet tool installed in the control device, wherein the control device refers to an electronic device for controlling the display mode of the display screen, and the control device can be a mobile phone, a tablet computer, a computer device, etc., which are not limited in the embodiments of the present application.
[0042] In a possible implementation, the parameter configuration file can be obtained by data import, for example, by control software in the control device or by a USB storage device in the control device. That is, the step 101 can specifically include:
[0043] After the control software is started, the parameter configuration file configured and generated by the display cabinet tool is received in response to the data import operation.
[0044] In the embodiments of the present application, the control software in the control device can be started first, and then the parameter configuration file can be received in response to the data import operation of the user (which can refer to that the user clicks the data import button in the control software interface), and the parameter configuration file can be stored in the USB storage space of the control device, that is, imported by the USB of the control device.
[0045] In step 102, the display mode list of the display screen is determined according to the parameter configuration file.
[0046] The display mode can refer to the mode applied by the display screen when displaying, for example, a high-brightness mode, a low-brightness mode, a standard mode, a high-refresh mode, etc. The above modes are determined according to different display parameters in the display screen, for example, the brightness parameter in the high-brightness mode is greater than the brightness parameter in the low-brightness mode, and the refresh rate parameter in the high-refresh mode is greater than the refresh rate parameter in the standard mode.
[0047] The display mode list can refer to a list containing all display modes of the display screen. It should be noted that the control device includes a control operation interface, and the determined display mode list can be displayed on the control operation interface, so as to facilitate the user to select the target display mode of the display screen.
[0048] In the embodiments of the present application, since the parameter configuration file includes multiple sets of display parameters corresponding to multiple display modes, and each set of display parameters has a corresponding name and serial number, by analyzing the name and serial number of the multiple sets of display parameters in the parameter configuration file, multiple display modes of the display screen can be obtained, that is, the name of each set of display parameters can be used as the name of the corresponding display mode, and then displayed on the control operation interface.
[0049] As a possible implementation manner, the display screen can refer to a display screen including a plurality of cabinets, and the same parameter configuration file can include a sub-configuration file of each cabinet, and each sub-configuration file includes a plurality of sets of display parameters corresponding to a plurality of display modes of the corresponding cabinet one by one, and each set of display parameters includes a plurality of display parameters. Therefore, when the display mode list of the display screen is determined, the display mode list of the display screen can be determined by parsing the sub-configuration file. That is, the above step 102 can specifically include:
[0050] The sub-configuration file in the parameter configuration file is parsed to obtain a plurality of display modes of the corresponding cabinet, and the display mode of the cabinet is determined as a display mode in the display mode list.
[0051] In the embodiment of the present application, since the sub-configuration file includes a plurality of sets of display parameters corresponding to a plurality of display modes of the corresponding cabinet one by one, a plurality of display modes of each cabinet can be obtained by parsing the sub-configuration file. Since the display screen is composed of cabinets, the display mode of the cabinet is the display mode of the display screen. Therefore, the display mode of the cabinet can be determined as a display mode in the display mode list.
[0052] As a possible implementation manner, different display regions of the display screen can correspond to different display modes, so that the sub-configuration files of the cabinets in different display regions are different, the sub-configuration files of the cabinets belonging to the same display region are the same, and the display regions are independent regions. Therefore, the display mode list of the display screen can be obtained by determining the display mode of each display region. That is, the sub-configuration file in the parameter configuration file is parsed to obtain a plurality of display modes of the corresponding cabinet, and the display mode of the cabinet is determined as a display mode in the display mode list. Specifically, it can include:
[0053] Each sub-configuration file in the parameter configuration file is parsed to determine a plurality of display modes of the corresponding cabinet.
[0054] According to the plurality of display modes of each cabinet, a plurality of display modes of the corresponding display region are determined.
[0055] The plurality of display modes of each display region are determined as display modes in the display mode list.
[0056] The display mode list includes a plurality of region display mode sub-lists divided by display regions, and the region display mode sub-list includes a plurality of display modes of the display region.
[0057] In the embodiment of the present application, different display regions on the display screen composed of a plurality of cabinets can have different display modes, so that the display mode list of the display screen also needs to be divided by display regions, that is, each display region corresponds to its own display mode.
[0058] Exemplarily, the display screen comprises display area A, display area B and display area C, display area A comprises cabinets 1 to 3, display area B comprises cabinets 4 to 6, and display area C comprises cabinets 7 to 9, wherein the sub-profiles of cabinets 1 to 3 are the same, the sub-profiles of cabinets 4 to 6 are the same, the sub-profiles of cabinets 7 to 9 are the same, and the sub-profiles between cabinets 1 to 3 and cabinets 4 to 6 and cabinets 7 to 9 are not the same. In the above case, if it is desired to determine the display mode list of the display screen, it is necessary to parse each sub-profile in the parameter profile to obtain the display mode of each cabinet in cabinets 1 to 9, and according to the display modes corresponding to cabinets 1 to 9, it can be determined that the display modes of the same display area are the same, so as to determine the multiple display modes of each display area, and then the multiple display modes of each display area are determined as the display modes in the display mode list. For example, the display mode list comprises a sub-list corresponding to display area A, and the display modes in the sub-list include A1, A2 and A3 modes, further comprises a sub-list corresponding to display area B, and the display modes in the sub-list include B1, B2 and B3 modes, and further comprises a sub-list corresponding to display area C, and the display modes in the sub-list include C1, C2 and C3 modes.
[0059] It should be understood that the display modes in the sub-list corresponding to display area A, the sub-list corresponding to display area B and the sub-list corresponding to display area C are not completely the same.
[0060] As a possible implementation, in the case that the display modes corresponding to all display areas in the display screen are the same, and the sub-profiles of each cabinet are the same, the sub-profiles in the parameter profile are parsed to obtain the multiple display modes of the corresponding cabinet, and the display modes of the cabinet are determined as the display modes in the display mode list, which can specifically include:
[0061] Any sub-profile in the parameter profile is parsed, and the multiple display modes obtained by parsing are determined as the display modes in the display mode list.
[0062] In the embodiments of the present application, the display screen is composed of multiple cabinets, and the cabinets are cabinets of the same specification. In order to ensure the uniformity of the display screen, the multiple groups of display parameters in each sub-profile and the names and serial numbers corresponding to the multiple groups of display parameters are the same, so that the multiple display modes of one corresponding cabinet can be determined by parsing any sub-profile in the display profile. Since the display modes of each cabinet are the same, the display mode list of the display screen can be determined according to the multiple display modes of the cabinet obtained by parsing, that is, the display mode list of the display screen can display the names of all display modes of the cabinet.
[0063] For example, the display parameter set corresponding to the highlight mode, the low-light mode, the standard mode and the high-refresh mode is included in any sub-profile, and the highlight mode, the low-light mode, the standard mode and the high-refresh mode are respectively the names of the display parameter set. By analyzing the sub-profile, it can be obtained that the display mode corresponding to the cabinet is the highlight mode, the low-light mode, the standard mode and the high-refresh mode. Since each set of display parameters has a corresponding serial number, the arrangement order of all display modes in the display mode list of the display screen can be determined according to the serial number of each set of display parameters. The display mode list can also be sorted according to the first letter of the name of the display parameter set, and the application does not limit this.
[0064] It should be understood that each set of display parameters includes a plurality of display parameters, and the display parameters corresponding to different modes are different.
[0065] In step 103, the display mode of the display screen is switched to the target display mode in response to the selection of the target display mode.
[0066] It should be understood that the display mode of the display screen can be the display mode corresponding to the current display parameter. It should be noted that the display mode of the display screen can be the display mode obtained after mode switching, and can also be the display mode determined according to a set of display parameters pre-stored in the display screen receiving card. The display parameters pre-stored in the display screen receiving card can mean that a set of display parameters is burned into the display screen receiving card and fixed to the storage area of the receiving card, such as the Flash area.
[0067] It should be understood that the display screen can display according to a set of pre-stored display parameters when it is turned on, and can also display according to the display mode before the last shutdown of the display screen. The embodiments of the application do not limit this.
[0068] It should be understood that the display mode of the display screen can be the display mode corresponding to the current display parameter. It should be noted that the display mode of the display screen can be the display mode obtained after mode switching, and can also be the display mode determined according to a set of display parameters pre-stored in the display screen receiving card. The display parameters pre-stored in the display screen receiving card can mean that a set of display parameters is burned into the display screen receiving card and fixed to the storage area of the receiving card, such as the Flash area.
[0069] In the embodiments of the application, in response to the selection of the target display mode, the control device can generate a mode switching instruction corresponding to the target display mode, and the mode switching instruction is used to instruct the display screen to switch the display mode to the target display mode. The mode switching instruction includes the target display mode. After the mode switching instruction is generated, there are many methods to switch the display mode of the display screen to the target display mode.
[0070] For example, a pure software operation method can be adopted, that is, the display mode switching instruction is parsed to obtain a target display parameter group corresponding to a target display mode, the target display parameter group is sent to a receiving card of the display screen, so that the display screen updates the display parameters and displays the target display mode;
[0071] For example, a software and hardware combined operation method can also be adopted, that is, a plurality of display parameter groups corresponding to a plurality of display modes are pre-stored in the receiving card of the display screen, the display mode switching instruction is sent to the receiving card of the display screen, the receiving card parses the received display mode switching instruction to obtain the target display mode, and then the display parameter group corresponding to the target display mode is taken out from the storage area of the receiving card to update the display, so that the display screen is switched to the target display mode.
[0072] In order to save the memory usage of the receiving card of the display screen and accurately control the display screen to switch to the target display mode, in some possible implementation manners of the present application, the control device can send the display parameter group in the parameter configuration file to the receiving card of the display screen to control the display screen to switch to the target display mode.
[0073] Specifically, as shown in Figure 2 In some possible implementation manners, a flow of controlling the display screen to switch to the target display mode includes the following steps 201 to 202.
[0074] Step 201: In response to the selection of the target display mode, the target display parameter group corresponding to the target display mode in each sub-configuration file is sent to the receiving card of the corresponding cabinet.
[0075] In the embodiment of the present application, the parameter configuration file includes sub-configuration files of a plurality of cabinets, and before the target display parameter group corresponding to the target display mode in the parameter configuration file is sent to the receiving cards of the plurality of cabinets, the sub-configuration files need to be matched with the corresponding cabinets.
[0076] The sub-configuration files and the corresponding cabinets can be matched according to the identification information of each sub-configuration file and the identification information of each cabinet, wherein the identification information can be the identity ID of the sub-configuration file and the cabinet, and the sub-configuration file and the corresponding cabinet have a unique corresponding identity ID.
[0077] In the embodiment of the present application, the target display parameter group is sent to the receiving card of the corresponding cabinet, which can control the receiving card to display according to the received display parameters to switch to the target display mode. By using this method, a large number of display parameters do not need to be stored in the receiving card, the memory usage of the receiving card of the display screen can be saved, and the use cost of the receiving card can be saved.
[0078] At step 202, the display parameters corresponding to the display mode of each cabinet are updated to the target display parameters corresponding to the target display mode, so as to switch to the target display mode.
[0079] In the embodiments of the present application, the control device sends the target display parameter group to the plurality of cabinets, which can be considered as sending the target display parameter to the receiving card of the plurality of cabinets. The receiving card can drive the lamp beads in the cabinet to display based on the received target display parameter, so as to switch to the target display mode.
[0080] It should be understood that before switching the mode, the display parameters corresponding to the display mode of the display screen are the current display parameters. When the target display parameter is received, the current display parameter needs to be updated to the corresponding target display parameter, so as to switch the display mode to the target display mode.
[0081] Specifically, as shown in Figure 3 Another flow of controlling the display screen to switch to the target display mode includes steps 301 to 302 in some possible implementations.
[0082] At step 301, a mode switching instruction is sent to the plurality of cabinets in response to the selection of the target display mode.
[0083] In the embodiments of the present application, in order to enable the display screen to switch to the target display mode more quickly, the parameter configuration file can be stored in the receiving card of the display screen. The control device sends a plurality of sub-configuration files in the parameter configuration file to the receiving card of the corresponding cabinet, so as to be fixed in the Flash area of the receiving card. In this way, when the mode switching instruction is received, the target display parameter corresponding to the target display mode can be directly extracted from the receiving card, the time for data transmission is saved, and therefore the display screen can switch to the target display mode more quickly.
[0084] The mode switching instruction can be a switching instruction including the target display mode. It should be noted that the mode switching instruction can be used to instruct the display screen to switch the mode.
[0085] At step 302, the plurality of cabinets are controlled to switch the display mode of the cabinet itself to the target display mode according to the mode switching instruction.
[0086] In the embodiments of the present application, the control device sends the mode switching instruction to the plurality of cabinets. Since a plurality of display parameter groups corresponding to a plurality of display modes are stored in the receiving card of each cabinet, the receiving card can analyze the mode switching instruction to determine the target display mode in the mode switching instruction after receiving the mode switching instruction, and then extract the target display parameter corresponding to the target display mode from the Flash storage area, display the target display parameter, and thus the display screen can display the target display mode.
[0087] In a possible implementation, the control device controls the plurality of cabinets to switch the display mode of the cabinet itself to the target display mode according to the mode switching instruction, including:
[0088] The control device controls the plurality of cabinets to determine the target display parameter corresponding to the target display mode from the sub-configuration file corresponding to the received card according to the mode switching instruction, and updates each display parameter corresponding to the display mode of the cabinet itself to the corresponding target display parameter, so as to switch to the target display mode.
[0089] In the embodiment of the application, the sub-configuration file of each cabinet is stored in the receiving card of the cabinet. Since the sub-configuration file includes at least a target display parameter group corresponding to the target display mode, the control device can control the receiving card of the cabinet to extract a plurality of target display parameters in the target display parameter group from the sub-configuration file according to the mode switching instruction, and then update each display parameter corresponding to the display mode of the cabinet itself to the corresponding target display parameter. The display screen displays the target display parameter, so as to switch to the target display mode.
[0090] In the embodiment of the application, the parameter configuration file including a plurality of display parameter groups can be obtained to determine the display mode list of the display screen, wherein the plurality of display parameter groups have a plurality of display modes in one-to-one correspondence, and the display mode list includes the plurality of display modes. After responding to the selection of the target display mode, the display mode of the display screen can be switched to the target display mode. In the above scheme, each display mode corresponds to a group of display parameters suitable for an application scenario, so that the switching of the best display mode of the display screen in different application scenarios can be realized through the parameter configuration file and the selection of the target display mode.
[0091] Referring to Figure 4 , a structure schematic diagram of a display mode switching device provided in the embodiment of the application is shown. For ease of illustration, only parts related to the embodiment of the application are shown.
[0092] The display mode switching device can specifically include the following modules:
[0093] The file acquisition module 401 is configured to acquire a parameter configuration file. The parameter configuration file includes a plurality of display parameter groups corresponding to a plurality of display modes in one-to-one correspondence. Each display parameter group includes a plurality of display parameters.
[0094] The mode determination module 402 is configured to determine a display mode list of the display screen according to the parameter configuration file.
[0095] The mode switching module 403 is configured to switch the display mode of the display screen to a target display mode in response to the selection of the target display mode.
[0096] In the embodiment of the present application, the display screen includes a plurality of boxes, the parameter configuration file includes a sub-configuration file of each box, the sub-configuration file includes a plurality of groups of display parameters corresponding to a plurality of display modes of the corresponding box; the mode determining module 402 can specifically include the following sub-modules:
[0097] The list determining sub-module is configured to parse the sub-configuration file in the parameter configuration file, obtain a plurality of display modes of the corresponding box, and determine the display modes of the box as the display modes in the display mode list.
[0098] In the embodiment of the present application, in the case that the display modes corresponding to different display regions of the display screen are different, the sub-configuration files of the boxes belonging to the same display region are the same, and the sub-configuration files of the boxes in different display regions are different, the list determining sub-module can further include the following units:
[0099] The box mode determining unit is configured to parse each sub-configuration file in the parameter configuration file and determine a plurality of display modes of the corresponding box.
[0100] The region mode determining unit is configured to determine a plurality of display modes of the corresponding display region according to the plurality of display modes of each box.
[0101] The first display screen mode determining unit is configured to determine the plurality of display modes of each display region as the display modes in the display mode list, and the display mode list includes a plurality of region display mode sub-lists divided by display regions, and each region display mode sub-list includes a plurality of display modes of the display region.
[0102] In the embodiment of the present application, in the case that the display modes corresponding to all display regions of the display screen are the same and the sub-configuration files of each box are the same, the list determining sub-module can further include the following units:
[0103] The second display screen mode determining unit is configured to parse any sub-configuration file in the parameter configuration file and determine the plurality of display modes obtained by the parsing as the display modes in the display mode list.
[0104] In the embodiment of the present application, the mode switching module 403 can specifically include the following sub-modules:
[0105] The file sending sub-module is configured to send a target display parameter group corresponding to a target display mode in each sub-configuration file to a receiving card of the corresponding box in response to the selection of the target display mode, wherein the sub-configuration file and the corresponding box are matched according to the identification information of each sub-configuration file in the parameter configuration file and the identification information of each box.
[0106] The parameter updating submodule is configured to update each display parameter corresponding to the display mode of each cabinet to a corresponding target display parameter to switch to the target display mode, wherein the target display parameter is a parameter in the target display parameter group received by the receiving card of the cabinet.
[0107] In the embodiments of the present application, the display mode switching device can further include the following modules:
[0108] The parameter storage module is configured to send the sub-configuration file in the parameter configuration file to the receiving card of the corresponding cabinet to be stored in the receiving card.
[0109] Correspondingly, the mode switching module 403 can further include the following sub-modules:
[0110] The instruction sending submodule is configured to send a mode switching instruction to the plurality of cabinets in response to the selection of the target display mode, wherein the mode switching instruction includes the target display mode.
[0111] The second control submodule is configured to control the plurality of cabinets to switch the display mode of the cabinet itself to the target display mode according to the mode switching instruction.
[0112] In the embodiments of the present application, the second control submodule can include the following units:
[0113] The parameter updating unit is configured to control the plurality of cabinets to determine the target display parameter corresponding to the target display mode from the sub-configuration file of the corresponding receiving card according to the mode switching instruction, and update each display parameter corresponding to the display mode of the cabinet itself to the corresponding target display parameter to switch to the target display mode.
[0114] In the embodiments of the present application, the display mode switching device can further include the following modules:
[0115] The data import module is configured to receive the parameter configuration file configured and generated by the display screen cabinet tool in response to a data import operation after the control software is started.
[0116] The display mode switching device provided in the embodiments of the present application can be applied in the foregoing method embodiments, and details are described in the description of the method embodiments, which will not be described here.
[0117] Figure 5 is a structural schematic diagram of an electronic device provided in the embodiments of the present application. As shown in Figure 5 The electronic device 500 in this embodiment includes at least one processor 510 Figure 5The display mode switching method is implemented by the computer program 521 running on the at least one processor 510. The computer program 521 can be stored in the memory 520 and executed by the at least one processor 510 (of the electronic device 500).
[0118] The electronic device 500 can be a desktop computer, a notebook computer, a palm computer, a cloud server, or the like. The electronic device 500 can include, but is not limited to, a processor 510 and a memory 520. Those skilled in the art can understand that the electronic device 500 can include more or less components, or some components can be combined, or different components can be included, for example, an input / output device, a network access device, and the like. Figure 5 The electronic device 500 is only an example and does not limit the electronic device 500. The electronic device 500 can include more or less components, or some components can be combined, or different components can be included, for example, an input / output device, a network access device, and the like.
[0119] The processor 510 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0120] The memory 520 can be an internal storage unit of the electronic device 500 in some embodiments, for example, a hard disk or a memory of the electronic device 500. The memory 520 can also be an external storage device of the electronic device 500 in other embodiments, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, or the like. Further, the memory 520 can include both an internal storage unit and an external storage device of the electronic device 500. The memory 520 is used to store an operating system, an application program, a boot loader, data, and other programs, for example, program codes of the computer program, and the like. The memory 520 can also be used to temporarily store data that has been output or will be output.
[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is taken as an example, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit or module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or software functional unit. In addition, the specific name of each functional unit or module is only for easy distinction, and does not limit the protection scope of the application. The specific working process of the unit or module in the above system can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
[0122] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.
[0123] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.
[0124] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0125] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0126] In addition, each of the function units in each of the embodiments of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.
[0127] The integrated module / unit, if realized in the form of a software function unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer-readable storage medium. The computer program can implement the steps of each method embodiment when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or some intermediate forms. The computer-readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the computer-readable medium can include appropriate contents according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0128] The above-mentioned embodiment methods can also be completed by a computer program product, which, when running on an electronic device, causes the electronic device to perform the steps of each method embodiment.
[0129] The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, rather than limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method for switching display modes, characterized in that, This is applied to a control device used to control the display mode of a display screen, the display screen comprising multiple housings, and the display mode switching method comprising: Obtain a parameter configuration file, which includes multiple sets of display parameters corresponding one-to-one with multiple display modes, and each set of display parameters includes multiple display parameters; Based on the parameter configuration file, determine the list of display modes for the display screen; In response to the selection of a target display mode, the display mode of the display screen is switched to the target display mode; The step of switching the display mode of the screen to the target display mode in response to the selection of the target display mode includes: In response to the selection of the target display mode, a mode switching instruction corresponding to the target display mode is generated, the mode switching instruction being used to instruct multiple cabinets of the display screen to switch the display mode to the target display mode; Multiple cabinets controlling the display screen switch their display modes to the target display mode according to the mode switching command.
2. The display mode switching method as described in claim 1, characterized in that, The parameter configuration file includes a sub-configuration file for each cabinet, and the sub-configuration file includes multiple sets of display parameters corresponding to multiple display modes of the cabinet; determining the display mode list of the display screen according to the parameter configuration file includes: The sub-configuration files in the parameter configuration file are parsed to obtain multiple display modes for the corresponding cabinet, and the display mode of the cabinet is determined as the display mode in the display mode list.
3. The display mode switching method as described in claim 2, characterized in that, The display screen has different display modes for different display areas, the cabinets belonging to the same display area have the same sub-configuration file, the cabinets in different display areas have different sub-configuration files, and the display areas are independent of each other. The step of parsing the sub-configuration files in the parameter configuration file to obtain multiple display modes corresponding to the cabinet, and determining the display mode of the cabinet as the display mode in the display mode list, includes: Each sub-configuration file in the parameter configuration file is parsed to determine multiple display modes for the corresponding cabinet; Based on the multiple display modes of each cabinet, determine the multiple display modes of the corresponding display area; Multiple display modes for each display area are determined as display modes in the display mode list. The display mode list includes multiple sub-lists of regional display modes divided by display area, and each sub-list of regional display modes includes multiple display modes for that display area.
4. The display mode switching method as described in claim 2, characterized in that, All display areas in the display screen have the same display mode, and each cabinet has the same sub-configuration file. The step of parsing the sub-configuration files in the parameter configuration file to obtain multiple display modes corresponding to the cabinet, and determining the display mode of the cabinet as the display mode in the display mode list, includes: Parse any sub-configuration file in the parameter configuration file, and determine the multiple display modes obtained from the parsing as the display modes in the display mode list.
5. The display mode switching method as described in claim 2, characterized in that, The step of switching the display mode of the screen to the target display mode in response to the selection of the target display mode includes: In response to the selection of the target display mode, the target display parameter group corresponding to the target display mode in each sub-configuration file is sent to the receiving card of the corresponding cabinet, wherein the sub-configuration file and the corresponding cabinet are matched according to the identification information of each sub-configuration file in the parameter configuration file and the identification information of each cabinet; The display parameters corresponding to the display mode of each cabinet are updated to the corresponding target display parameters in order to switch to the target display mode, wherein the target display parameters are the parameters in the target display parameter group received by the receiving card of the cabinet.
6. The display mode switching method as described in claim 2, characterized in that, The display mode switching method further includes: The sub-configuration files in the parameter configuration file are sent to the receiving card of the corresponding enclosure for storage. The step of switching the display mode of the screen to the target display mode in response to the selection of the target display mode includes: In response to the selection of the target display mode, a mode switching command is sent to the plurality of cabinets, the mode switching command including the target display mode; The multiple cabinets are controlled to switch their own display mode to the target display mode according to the mode switching command.
7. The display mode switching method as described in claim 6, characterized in that, The control of the plurality of cabinets to switch their own display mode to the target display mode according to the mode switching command includes: The multiple cabinets are controlled to determine the target display parameters corresponding to the target display mode from the sub-configuration file of the corresponding receiving card according to the mode switching command, and update the display parameters corresponding to the display mode of the cabinet itself to the corresponding target display parameters, so as to switch to the target display mode.
8. A display mode switching device, characterized in that, The display mode switching device includes: The file acquisition module is used to acquire the parameter configuration file, which includes multiple sets of display parameters that correspond one-to-one with multiple display modes, and each set of display parameters includes multiple display parameters; The mode determination module is used to determine the display mode list of the display screen according to the parameter configuration file; A mode switching module is used to switch the display mode of the display screen to the target display mode in response to the selection of the target display mode; The mode switching module is also used for: In response to the selection of the target display mode, a mode switching instruction corresponding to the target display mode is generated, the mode switching instruction being used to instruct multiple cabinets of the display screen to switch the display mode to the target display mode; Multiple cabinets controlling the display screen switch their display modes to the target display mode according to the mode switching command.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Systems and methods for selecting display operation modes
CN106463100A