Display mode switching method, device, terminal equipment and storage medium

By monitoring the preset key action and sending mode switching instructions, real-time display mode switching of the display is achieved, solving the problem that the display cannot adjust the display parameters in real time in the prior art, and improving user experience and eye health.

CN114681910BActive Publication Date: 2024-11-29GUANGXI CENTURY INNOVATION DISPLAY ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210335759.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2024-11-29
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

Existing monitors cannot adjust the display parameters in real time during competitions or training, resulting in complex operations and affecting the user's gaming experience and eye health.

Method used

By monitoring the preset key action, determining the target display mode, and sending mode switching commands, the display can switch the display mode in real time, and quickly adjusting parameters such as brightness, contrast, and color temperature.

Benefits of technology

The switching process of display mode is simplified, the operation convenience is improved in games or competitions, the adverse effects on the user's eyes are reduced, and the real-time adjustment ability of the monitor is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114681910B_ABST
    Figure CN114681910B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of display technology, and provides a display mode switching method, apparatus, terminal device and storage medium, wherein the display mode switching method comprises: monitoring at least one preset button when a target application is started; determining a corresponding button action when at least one preset button is detected to be pressed; if the button action is a target button action, determining a target display mode of the display based on the target button action, the display being used to display a page of the target application; sending a mode switching instruction to the display based on the target display mode, the mode switching instruction being used to instruct the display to switch from the current display mode to the target display mode. The above scheme realizes real-time switching of the display mode of the display when the target application is running.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of display technology, and in particular, relates to a display mode switching method, device, terminal equipment and storage medium. Background Art

[0002] With the advancement and development of technology, e-sports has developed into a profession, and professional e-sports players usually use monitors (such as e-sports monitors) to compete and also use monitors for training in daily training. E-sports monitors refer to gaming monitors customized for e-sports competitions. Compared with ordinary monitors, e-sports monitors have a higher refresh rate and a smoother picture, which brings a better experience for professional players in training and competitions.

[0003] However, for current monitors, professional players are usually required to pre-set various display parameters (such as contrast, brightness, color temperature, etc.) of the monitor before the competition. After the competition begins, if they want to modify various parameters, they need to manually adjust the display parameters of the monitor. The operation is relatively complicated and it is difficult to achieve real-time adjustment of various display parameters, which results in professional players being unable to adjust various display parameters of the monitor in real time to change the display mode of the monitor during training and competition, which brings many inconveniences to training and competition. Summary of the invention

[0004] The embodiments of the present application provide a display mode switching method, apparatus, terminal device and storage medium, which can solve the problem that the display mode of the display cannot be switched in real time.

[0005] A first aspect of an embodiment of the present application provides a display mode switching method, the display mode switching method comprising:

[0006] monitoring at least one preset button when the target application is launched;

[0007] When at least one of the preset keys is detected to be pressed, determining a corresponding key action;

[0008] If the key action is a target key action, a target display mode of a display is determined based on the target key action, and the display is used to display a page of the target application;

[0009] A mode switching instruction is sent to the display based on the target display mode, where the mode switching instruction is used to instruct the display to switch from a current display mode to the target display mode.

[0010] A second aspect of an embodiment of the present application provides a display mode switching device, the display mode switching device comprising:

[0011] A monitoring module, used for monitoring at least one preset button when the target application is started;

[0012] An action determination module, used to determine a corresponding key action when detecting that at least one of the preset keys is pressed;

[0013] A mode determination module, configured to determine a target display mode of a display based on the target key action if the key action is a target key action, wherein the display is used to display a page of the target application;

[0014] An instruction sending module is used to send a mode switching instruction to the display based on the target display mode, and the mode switching instruction is used to instruct the display to switch from the current display mode to the target display mode.

[0015] A third aspect of an embodiment of the present application provides a terminal device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the display mode switching method described in the first aspect when executing the computer program.

[0016] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the display mode switching method described in the first aspect is implemented.

[0017] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the display mode switching method described in the first aspect.

[0018] Compared with the prior art, the embodiments of the present application have the following beneficial effects: first, when the target application is started, the embodiments of the present application monitor at least one preset button, and when at least one preset button is detected to be pressed, the corresponding button action is determined; secondly, if the button action is a target button action, the target display mode of the display is determined based on the target button action, wherein the display is used to display the page of the target application; finally, after the target display mode is obtained, a mode switching instruction is sent to the display based on the target display mode, wherein the mode switching instruction is used to instruct the display to switch from the current display mode to the target display mode. The above scheme can directly switch the display from the current display mode to the target display mode based on the target button action, thereby realizing real-time switching of the display mode of the display when the target application is running. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 is a structural schematic diagram of a display mode switching system provided in Embodiment 1 of the present application;

[0021] Figure 2 It is a flowchart of a display mode switching method provided in Embodiment 2 of the present application;

[0022] Figure 3 It is a flowchart of a display mode switching method provided in Embodiment 3 of the present application;

[0023] Figure 4 It is a page schematic diagram for realizing a display mode switching method;

[0024] Figure 5 is a structural schematic diagram of a display mode switching device provided in Embodiment 4 of the present application;

[0025] Figure 6 This is a structural diagram of a terminal device provided in Example 5 of the present application. DETAILED DESCRIPTION

[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0027] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0028] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0029] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0030] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0031] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0032] Research shows that when the display is occupied by the page of the target application, the display mode of the display cannot be switched in real time, where different display modes refer to the different display parameters in each display mode. In order to switch the display mode of the display without affecting the operation of the target application, the user needs to call the display parameter setting of the display at a very fast speed to manually adjust the display parameters and quickly adjust the display parameters, but this method is complicated to operate and is not suitable for application scenarios that require frequent switching of the display mode of the display. For example, in the case where the target application is a game, and there are different scenes in the game, if the scene is in the daytime when it is snowing, a large area of ​​white snow will make the user feel very dazzling, which is not conducive to the search for props and the good development of the user's eyes. At this time, it is necessary to reduce the display brightness of the display, but since the game is in progress, if the display parameter setting of the display is called to manually adjust the display parameters, the complexity of the operation will affect the user's performance, and since the game scene changes at any time, it is necessary to frequently switch the display mode of the display so that the user can play stably when playing the game and reduce the adverse effects of inappropriate display modes on the user's eyes.

[0033] In order to achieve real-time switching of the display mode of the display when the page of the target application occupies the display, the present application provides a display mode switching method, first, when the target application is started, at least one preset button is monitored, and when at least one preset button is detected to be pressed, the corresponding target button action is determined; secondly, if the button action is a target button action, the target display mode of the display is determined based on the target button action, wherein the display is used to display the page of the target application; finally, after the target display mode is obtained, a mode switching instruction is sent to the display based on the target display mode, wherein the mode switching instruction is used to instruct the display to switch from the current display mode to the target display mode. The above scheme can directly switch the display from the current display mode to the target display mode based on the target button action, thereby achieving real-time switching of the display mode of the display when the page of the target application occupies the display.

[0034] It should be understood that the size of the serial numbers of the steps in this embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0035] In order to illustrate the technical solution of the present application, specific embodiments are provided below.

[0036] See also Figure 1 , shows a schematic diagram of the structure of a display mode switching system provided in Embodiment 1 of the present application. Figure 1 As shown, the display mode switching system includes a terminal device, a display, a USB mouse and a USB keyboard, wherein the display includes a display screen, a display main control microcontroller unit (MCU), a video processing module, a data conversion module, a USB hub module, an audio power amplifier module, a speaker, a memory module, a display power module and other display module circuits (such as power buck and boost circuits and other basic circuits required inside the display); the display main control microcontroller unit refers to Figure 1 The MCU module and data interface module shown in the figure, the video processing module includes Figure 1 The brightness control module, contrast control module, color temperature control module, color saturation control module and gamma control module are shown.

[0037] When implementing the display mode switching of the display, the terminal device can monitor at least one preset button when the target application is started, wherein the preset button refers to any button of the USB mouse and / or any button of the USB keyboard, the terminal device is connected to the USB hub module via a USB cable, and the USB mouse and the USB keyboard can be connected to the terminal device through the connection with the USB hub module, so as to realize the terminal device's monitoring of at least one preset button; when monitoring at least one preset button being pressed, the terminal device can determine the corresponding button action (for example, the middle button of the mouse is pressed); when determining the corresponding button action, the terminal device first needs to judge Determine whether the corresponding key action is a target key action. If it is not a target key action, the terminal device does not perform any action. If it is a target key action, the target display mode of the display at this time is determined based on the target key action, wherein the terminal device stores a mapping relationship between the target key action and the target display mode; after determining the target display mode of the display, the terminal device can send a mode switching instruction to the display based on the target display mode; and the display can receive and parse the mode switching instruction through the data conversion module and the data interface module, and control the video processing module according to the mode switching instruction, so that the display screen of the display switches from the current display mode to the target display mode.

[0038] Among them, the memory module is connected to the display main control MCU and the video processing module, and is used to store the data received and sent by the display main control MCU and the operation data that the video processing module needs to store during operation; the display screen is connected to the display main control MCU and the video processing module, and is used to display the pages of the target application; the terminal device is connected to the display main control MCU and the video processing module, and is used to transmit audio and video data; the display power module is used to provide power for the display, and the data conversion module is used to convert the USB interface data into asynchronous transmission standard interface (RS-232) data or I2C (Inter-Integrated Circuit) interface data, so that the MCU module can perform instruction parsing.

[0039] Among them, the brightness control module is used to control the brightness parameters of the display screen; the contrast control module is used to control the contrast parameters of the display screen; the color temperature control module is used to control the color temperature parameters of the display screen; the color saturation control module is used to control the color saturation parameters of the display screen; and the gamma control module is used to control the gamma parameters of the display screen.

[0040] The display can control the brightness parameters, contrast parameters, color temperature parameters, color saturation parameters and gamma parameters of the display accordingly through the above-mentioned brightness control module, contrast control module, color temperature control module, color saturation control module and gamma control module based on the received mode switching instruction, so that the display displays the target display mode and completes the switching of the display mode.

[0041] The embodiment of the present application configures the mapping relationship between the target key action and the target display mode, and can directly switch the display from the current display mode to the target display mode based on the target key action, thereby realizing real-time switching of the display mode of the display when the page of the target application occupies the display.

[0042] Reference Figure 2 , shows a flow chart of a display mode switching method provided in Embodiment 2 of the present application, and the display mode switching method is applied to Figure 1 The terminal device in the display mode switching system shown in FIG. Figure 2 As shown, the display mode switching method may include the following steps:

[0043] Step 201: When a target application is started, monitor at least one preset button.

[0044] In the embodiment of the present application, the preset key may refer to any key of the mouse and / or any key of the keyboard. To avoid conflicts with the functions of the keys themselves, keys that are not defined in the target application are usually used, such as the middle key of the mouse, the F12 key of the keyboard, etc. Monitoring at least one preset key can achieve real-time monitoring of the mouse keys and keyboard keys through the functions of the mouse hook and / or the keyboard hook installed in the terminal device.

[0045] It should be understood that the preset buttons can be set according to the buttons with undefined functions in the target application, and different target applications can set different preset buttons. For example, for target application 1, the preset buttons can be set to the left and right buttons of the mouse and the up and down buttons of the keyboard; for target application 2, the preset buttons can be set to the middle and right buttons of the mouse and the F12 key of the keyboard.

[0046] Step 202: when it is detected that at least one preset key is pressed, a corresponding key action is determined.

[0047] In the embodiment of the present application, the terminal device can Figure 1The USB hub module shown is connected to a USB mouse and a USB keyboard, and monitors whether a preset button is pressed through data transmission between the connections. When at least one preset button is detected to be pressed, the key action corresponding to the key pressed at the current moment is determined, and it is judged whether the key action is a target key action having a mapping relationship with the target display mode. If the key action is not a target key action, the terminal device does not perform any action.

[0048] In a possible implementation, when at least one preset key is detected to be pressed, determining a corresponding key action includes:

[0049] Using a mouse hook to monitor mouse buttons, the mouse is connected to the terminal device; and / or

[0050] A keyboard hook is used to monitor keyboard keys, and the keyboard is connected to the terminal device;

[0051] When it is detected that at least one preset button in the mouse and / or keyboard is pressed, the button action is determined according to the identification information of the target button and the number of times it is pressed.

[0052] In the embodiment of the present application, the key action can be characterized by the identification information of the target key and the number of times it is pressed. For example, the key action can be the middle mouse button being pressed once, the middle mouse button being pressed twice, or the middle mouse button and the keyboard F12 key being pressed simultaneously, etc. The target key refers to the preset key that is pressed.

[0053] In an embodiment of the present application, the terminal device uses a mouse hook function to monitor whether a preset button associated with the mouse is pressed, and uses a keyboard hook function to monitor whether a preset button associated with the keyboard is pressed. If the preset buttons are all buttons associated with the mouse, only the mouse hook function can be run to monitor the mouse buttons; if the preset buttons are all buttons associated with the keyboard, only the keyboard hook function can be run to monitor the keyboard buttons. If the preset buttons are related to both mouse buttons and keyboard buttons, the mouse hook function and the keyboard hook function can be run simultaneously to monitor the mouse buttons and keyboard buttons simultaneously. When the above method is used to monitor that at least one preset button in the mouse and / or keyboard is pressed, the button action can be determined based on the identification information of the pressed button and the number of times it is pressed.

[0054] Exemplarily, for example, if it is detected that the middle button of the mouse is pressed once, the identification information of the target button can be obtained as the middle button of the mouse, and the number of times it is pressed is once, then it can be determined that the key action is that the middle button of the mouse is pressed once.

[0055] It should be understood that the identification information of the target button refers to an identification that can represent the target button, which can refer to the name of the target button or a user-defined identification of the target button, and this application does not limit this.

[0056] Step 203: If the key action is a target key action, a target display mode of the display is determined based on the target key action.

[0057] Among them, the target key action can be pre-set by the user based on personal habits. For example, the target key action can be represented by the identification information of a single key and the number of times the key is pressed. A combination of multiple keys can also be used as the target key action.

[0058] In the embodiment of the present application, after determining the key action according to the identification information of the target key and the number of times it is pressed, it is determined whether the key action is a pre-set target key action. If it is a target key action, the target display mode of the display can be determined according to the target key action. The terminal device stores a mapping relationship between the target key action and the target display mode. For example, the terminal device stores a first mapping relationship between the middle mouse button and the first display mode, and a second mapping relationship between the keyboard F12 button and the second display mode. When it is detected that the middle mouse button is pressed, based on the first mapping relationship, it can be determined that the target display mode of the display is the first display mode; when it is detected that the keyboard F12 button is pressed, based on the second mapping relationship, it can be determined that the target display mode of the display is the second display mode.

[0059] Exemplarily, assuming that the pre-set target key actions are the middle mouse button being pressed and the F12 key on the keyboard being pressed, and the corresponding target display modes are the room mode and the outdoor mode respectively, then when the key action obtained is the middle mouse button being pressed, based on the mapping relationship between the middle mouse button and the room mode, it can be determined that the target display mode of the display is the room mode; when the key action obtained is the F12 key on the keyboard being pressed, based on the mapping relationship between the F12 key on the keyboard and the outdoor mode, it can be determined that the target display mode of the display is the outdoor mode.

[0060] Step 204: Send a mode switching instruction to the display based on the target display mode.

[0061] In the embodiment of the present application, the mode switching instruction is used to instruct the display to switch from the current display mode to the target display mode. The mode switching instruction is sent by the terminal device to the display. The sending path of the mode switching instruction is as follows: Figure 1As shown, the terminal device first connects to the USB hub module via a USB cable, and then to the data conversion module. The data conversion module converts the USB interface data (i.e., the mode switching instruction) into RS232 or I2C interface data, and transmits it to the data interface module. The data interface module sends the converted mode switching instruction to the MCU module. The MCU module can control the display screen of the monitor to switch the display mode based on the mode switching instruction.

[0062] The mode switching instruction includes N display parameters of the target display mode, where N is an integer greater than zero.

[0063] In a possible implementation, sending a mode switching instruction to a display based on a target display mode includes:

[0064] generating a mode switching instruction based on a target display mode;

[0065] Sends mode switch command to the display.

[0066] Among them, the mode switching instruction includes parameter names of N display parameters and preset parameter values ​​corresponding to the parameter names; the parameter names and the preset parameter values ​​corresponding to the parameter names are used to update the current parameter values ​​corresponding to the parameter names to the preset parameter values ​​corresponding to the parameter names.

[0067] In an embodiment of the present application, the N display parameters of the target display mode are set by the user based on personal habits. The N display parameters generally include brightness parameters, contrast parameters, color temperature parameters, color saturation parameters and gamma parameters. The user can make any adjustment within the range of the display parameters of the display. In order to facilitate most users to set the display parameters under different target display modes in advance, the default display parameters corresponding to the target display mode can be pre-stored in the terminal device. The default display parameters can meet the needs of most users for display modes in different scenarios.

[0068] For example, assuming that the target application is a target game, the scenes in the target game are room scenes and outdoor scenes, the target display mode corresponding to the room scene is the room mode, and the target display mode corresponding to the outdoor scene is the outdoor mode, when ensuring that the default display parameters can meet the visual requirements of most users for the two display modes, the default display parameters corresponding to the target display modes can be set to the following values:

[0069]

[0070] It should be understood that the adjustment range of the brightness parameter of the display can be 0-100; the adjustment range of the contrast parameter can be 0-100; the color temperature parameter can be adjusted to 5500K, 6500K, 9300K and user-defined color temperature; the adjustment range of the color saturation parameter can be 0-100; the gamma parameter can be adjusted to gamma 1.8, gamma 2.0, gamma 2.2, gamma 2.4 and gamma 2.6.

[0071] In an embodiment of the present application, the terminal device generates a mode switching instruction based on the target display mode, and the mode switching instruction includes preset parameter values ​​of N display parameters (which may refer to default display parameter values ​​or user-defined display parameter values) and parameter names of N display parameters; sending a mode switching instruction to the display may refer to sending preset parameter values ​​of N display parameters and parameter names of N display parameters to the display. When the display receives the preset parameter values ​​of N display parameters and the parameter names of N display parameters, the display can update the current parameter value corresponding to the parameter name to the preset parameter value corresponding to the received parameter name according to the parameter name of the N display parameters to complete the display mode switching.

[0072] In one possible implementation, the mode switching instruction may refer to the identification information of the target display mode. After receiving the mode switching instruction, the display determines the preset parameter values ​​of N display parameters corresponding to the target display mode based on the identification information of the target display mode (for example, the name of the target display mode: outdoor mode), and updates the parameter values ​​of the current display parameters based on the preset parameter values ​​of the N display parameters to complete the switching of the display mode.

[0073] In an embodiment of the present application, the terminal device first monitors at least one preset button when the target application is started, and determines the corresponding target button action when at least one preset button is detected to be pressed; secondly, based on the target button action, the target display mode of the display is determined, wherein the display is used to display the page of the target application; finally, after the target display mode is obtained, a mode switching instruction is sent to the display based on the target display mode, wherein the mode switching instruction is used to instruct the display to switch from the current display mode to the target display mode. The above scheme can directly switch the display from the current display mode to the target display mode based on the target button action, thereby realizing real-time switching of the display mode of the display when the page of the target application occupies the display.

[0074] See also Figure 3 , shows a flow chart of a display mode switching method provided in Embodiment 3 of the present application. Figure 3 As shown, the display mode switching method may include the following steps:

[0075] Step 301: When a target application is started, monitor at least one preset button.

[0076] Step 302: When it is detected that at least one preset key is pressed, a corresponding key action is determined.

[0077] Steps 301 - 302 of this embodiment are the same as steps 201 - 202 of the aforementioned embodiment, and can refer to each other, and will not be described in detail in this embodiment.

[0078] Step 303: If the key action is a target key action, then obtain the target configuration information corresponding to the target application.

[0079] Among them, the target configuration information at least includes the mapping relationship between the target button action and the target display mode. The target button action can be set based on the user's personal habits and the buttons with undefined functions in the target application. The target display mode can be set based on the scene in the target application. The corresponding display mode is set. For example, the target application is a certain game software, and the scenes included in the game can be room scenes, outdoor scenes, snow mountain scenes, warehouse scenes, island scenes, desert scenes, and forest scenes, etc. Then the corresponding target display modes may include: room mode, outdoor mode, snow mountain mode, warehouse mode, island mode, desert mode, and forest mode, etc.

[0080] In a possible implementation, obtaining target configuration information corresponding to the target application includes:

[0081] Obtain target user information at the target time;

[0082] Based on the target user information, target configuration information corresponding to the target application is obtained.

[0083] In an embodiment of the present application, the target moment refers to the moment when the target button is pressed. Since the target configuration information of the target application corresponding to each user can be obtained in the terminal device based on the personal habits of multiple users, when the target button is pressed, the terminal device can first obtain the target user information when the target button is pressed. The target user information can refer to the target user name. After the user completes the configuration of the corresponding target configuration information for the target application based on personal habits, the user saves it as the user's personal user name, and the user name is the target user information. After obtaining the target user information, the target configuration information corresponding to the target application corresponding to the target user is obtained according to the target user information.

[0084] It should be understood that the embodiments of the present application can provide multiple users with the configuration of the mapping relationship between target button actions and target display modes for different target applications. Different users can complete the configuration of the mapping relationship between target button actions and target display modes for multiple target applications and save it as their own user name.

[0085] In a possible implementation, based on the target user information, obtaining the target configuration information corresponding to the target application includes:

[0086] Based on the target user information, obtaining configuration information of M preset applications corresponding to the target user information, where M is an integer greater than zero, and the M preset applications at least include the target application;

[0087] In response to the user's selection of a target application, the target configuration information is acquired from the configuration information of the M preset applications.

[0088] In the embodiment of the present application, in order to enable multiple users with different personal habits to share a display and switch display modes for different scenes in the target application, the target configuration information of multiple users for the target application can be saved in the terminal device. When the target button is detected to be pressed, firstly, based on the target user information, the configuration information of the M preset applications corresponding to the target user information is obtained, for example, the configuration information of the M preset applications corresponding to user 1 is obtained; secondly, in response to the user's selection of the target application, the configuration information of the target application in the M preset applications is determined as the target configuration information.

[0089] For example, Figure 4 The following is a schematic diagram of a page for implementing a display mode switching method. Figure 4 The standard mode, user 1 and user 2 shown in are all user information. Before the target application starts to start, the user can select the target application on the terminal device. Assuming that the type of the target application is game software, the user can first select the game on the terminal device, such as Figure 4 In the standard mode shown, the configuration information of Game 1 is stored in User 1 and User 2, and the user can make any selection. Assuming that the game selected by the user is Game 1 in User 2, then in response to the user's selection of the game, the terminal device can determine that the configuration information of Game 1 in User 2 is the target configuration information, such as Figure 4 As shown, the display modes in the game 1 of the user 2 include the room mode 1.2 and the outdoor mode 1.2, and the configuration information in the room mode 1.2 and the outdoor mode 1.2 can be determined as the target configuration information.

[0090] Among them, the configuration information of room mode 1.2 refers to the mapping relationship between the target button action and the room mode 1.2, and the room mode 1.2 includes preset parameter values ​​of N display parameters; the configuration information of outdoor mode 1.2 refers to the mapping relationship between the target button action and the outdoor mode 1.2, and the outdoor mode 1.2 also includes preset parameter values ​​of N display parameters, and the preset parameter values ​​of the N display parameters in different display modes are not equal.

[0091] It should be understood that Figure 4 The page diagram for implementing the display mode switching method shown is only an example of game selection in the display mode switching method. Specifically, when selecting a game, the page may include H user information, J games, and the display modes in each game may be F, not limited to Figure 4 In the example, H, J, and F are all integers greater than zero.

[0092] Step 304: Determine the target display mode of the display according to the target configuration information and the target key action.

[0093] In an embodiment of the present application, since the target configuration information includes at least a mapping relationship between the target key action and the target display mode, after determining the target key action, the target display mode of the display (i.e., the target display mode corresponding to the target key action) can be determined according to the target configuration information.

[0094] The display is used to display the page of the target application.

[0095] Exemplarily, assuming that the mapping relationship between the target button action and the target display mode refers to the mapping relationship between the middle mouse button and the F12 key on the keyboard and the outdoor mode, then when it is detected that the middle mouse button and the F12 key on the keyboard are pressed at the same time, it can be determined that the target display mode of the display is the outdoor mode; assuming that the mapping relationship between the target button action and the target display mode refers to the mapping relationship between the middle mouse button being pressed twice and the room mode, then when it is detected that the middle mouse button is pressed twice in succession, it can be determined that the target display mode of the display is the room mode.

[0096] In a possible implementation, determining a target display mode of a display according to target configuration information and a target key action includes:

[0097] Obtain K display modes in the target configuration information, where K is an integer greater than 1;

[0098] If the current display mode does not belong to any of the K display modes, a display mode in the K display modes that is at a preset position in the arrangement order is determined as the target display mode;

[0099] If the current display mode belongs to any one of the K display modes, then the display mode that is ranked first in the arrangement order among the K display modes is determined as the target display mode; when the current display mode is at the last position, the display mode that is ranked first in the arrangement order under the current display mode refers to the display mode that is ranked first in the arrangement order.

[0100] Exemplarily, assuming that the display modes existing in the target configuration information include: room mode, snow mountain mode and forest mode, then when the target key action is detected, three display modes are obtained in the order of the three display modes, namely, room mode, snow mountain mode and forest mode. If the current display mode does not belong to any of the three display modes, the display mode in the three display modes whose arrangement order is at a preset position can be determined as the target display mode, for example, the preset position refers to the first position in the arrangement order, then the room mode can be determined as the target display mode; if the current display mode belongs to any of the three display modes, assuming that the current display mode is the room mode, then the snow mountain mode next to the room mode can be determined as the target display mode, assuming that the current display mode is the snow mountain mode, then the forest mode next to the snow mountain mode can be determined as the target display mode. Since when the current display mode is at the last position, the display mode in the first position in the current display mode refers to the display mode in the first position in the arrangement order, therefore, when the current display mode is the forest mode, the room mode in the first position in the arrangement order can be determined as the target display mode.

[0101] Step 305: Send a mode switching instruction to the display based on the target display mode.

[0102] Step 305 of this embodiment is the same as step 204 of the above embodiment, and they can refer to each other, and will not be described in detail in this embodiment.

[0103] Compared with the second embodiment, the embodiment of the present application can set multiple configuration information for the same display mode of the same target application and save them as different user names. Multiple users can obtain different configuration information for the same target application in the same display, so that multiple users can use the display mode switching under the same display based on different personal habits, which provides greater convenience for users.

[0104] See also Figure 5 , shows a structural schematic diagram of a display mode switching device provided in Example 4 of the present application. For the sake of convenience of explanation, only the parts related to the embodiment of the present application are shown.

[0105] The display mode switching device may specifically include the following modules:

[0106] A monitoring module 501, configured to monitor at least one preset button when a target application is started;

[0107] An action determination module 502, configured to determine a corresponding key action when at least one preset key is detected to be pressed;

[0108] A mode determination module 503, for determining a target display mode of the display based on the target key action if the key action is a target key action, and the display is used to display a page of a target application;

[0109] The instruction sending module 504 is used to send a mode switching instruction to the display based on the target display mode, and the mode switching instruction is used to instruct the display to switch from the current display mode to the target display mode.

[0110] In the embodiment of the present application, the display mode switching device may further include the following modules:

[0111] A configuration acquisition module, used to acquire target configuration information corresponding to a target application, wherein the target configuration information at least includes a mapping relationship between a target key action and a target display mode;

[0112] Correspondingly, the mode determination module 503 may specifically include the following submodules:

[0113] The target mode determination submodule is used to determine the target display mode of the display according to the target configuration information and the target key action.

[0114] In the embodiment of the present application, the configuration acquisition module may specifically include the following submodules:

[0115] The user information acquisition submodule is used to acquire the target user information at the target time, where the target time refers to the time when the target button is pressed;

[0116] The target configuration acquisition submodule is used to obtain the target configuration information corresponding to the target application based on the target user information.

[0117] In the embodiment of the present application, the user information acquisition submodule may specifically include the following units:

[0118] a corresponding information acquisition unit, configured to acquire, based on the target user information, configuration information of M preset applications corresponding to the target user information, where M is an integer greater than zero, and the M preset applications at least include the target application;

[0119] The selection response unit is used to obtain target configuration information from the configuration information of M preset applications in response to the user's selection of the target application.

[0120] In the embodiment of the present application, the target mode determination submodule may specifically include the following units:

[0121] A mode acquisition unit, used to acquire K display modes in the target configuration information, where K is an integer greater than 1;

[0122] A first determining unit, configured to determine, if the current display mode does not belong to any of the K display modes, a display mode in the K display modes that is at a preset position in the arrangement order as a target display mode;

[0123] The second determination unit is used to determine that the display mode that is ranked first in the arrangement order among the K display modes is the target display mode if the current display mode belongs to any one of the K display modes; when the current display mode is at the last position, the display mode that is ranked first in the arrangement order under the current display mode refers to the display mode that is ranked first in the arrangement order.

[0124] In the embodiment of the present application, the action determination module 502 may specifically include the following submodules:

[0125] A first monitoring submodule is used to monitor the mouse buttons using a mouse hook, the mouse being connected to a terminal device; and / or

[0126] The second monitoring submodule is used to monitor the keyboard keys by using a keyboard hook, and the keyboard is connected to the terminal device;

[0127] The button determination submodule is used to determine the button action according to the identification information of the target button and the number of times it is pressed when monitoring at least one preset button in the mouse and / or keyboard is pressed. The target button refers to the preset button that is pressed.

[0128] In the embodiment of the present application, the instruction sending module 504 may specifically include the following submodules:

[0129] A generating submodule, used for generating a mode switching instruction based on a target display mode, wherein the mode switching instruction includes parameter names of N parameters and preset parameter values ​​corresponding to the parameter names, where N is an integer greater than zero;

[0130] The switching submodule sends a mode switching instruction to the display, and the parameter name and the preset parameter value corresponding to the parameter name are used to update the current parameter value corresponding to the parameter name to the preset parameter value corresponding to the parameter name.

[0131] The display mode switching device provided in the embodiment of the present application can be applied in the aforementioned method embodiment. For details, please refer to the description of the aforementioned method embodiment, which will not be repeated here.

[0132] Figure 6 Schematic diagram of the structure of the terminal device provided in Embodiment 5 of the present application. Figure 6 As shown, the terminal device 600 of this embodiment includes: at least one processor 610 ( Figure 6Only one is shown in the figure) a processor, a memory 620, and a computer program 621 stored in the memory 620 and executable on the at least one processor 610, and when the processor 610 executes the computer program 621, the steps in the above-mentioned display mode switching method embodiment are implemented.

[0133] The terminal device 600 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 610 and a memory 620. Those skilled in the art will appreciate that Figure 6 It is only an example of the terminal device 600 and does not constitute a limitation on the terminal device 600. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0134] The processor 610 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0135] In some embodiments, the memory 620 may be an internal storage unit of the terminal device 600, such as a hard disk or memory of the terminal device 600. In other embodiments, the memory 620 may also be an external storage device of the terminal device 600, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal device 600. Further, the memory 620 may also include both an internal storage unit of the terminal device 600 and an external storage device. The memory 620 is used to store an operating system, an application program, a boot loader (Boot Loader), data and other programs, such as the program code of the computer program, etc. The memory 620 may also be used to temporarily store data that has been output or is to be output.

[0136] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0137] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0138] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0139] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0141] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0142] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0143] The present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed through a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing.

[0144] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; 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 display mode switching method, characterized in that: Applied to a terminal device, the display mode switching method includes: monitoring at least one preset button when the target application is launched; When at least one of the preset keys is detected to be pressed, determining a corresponding key action; If the key action is a target key action, a target display mode of a display is determined based on the target key action, and the display is used to display a page of the target application; Sending a mode switching instruction to the display based on the target display mode, wherein the mode switching instruction is used to instruct the display to switch from a current display mode to the target display mode; Before determining the target display mode of the display based on the target key action, the method includes: Acquire target configuration information corresponding to the target application, wherein the target configuration information at least includes a mapping relationship between the target key action and the target display mode; The obtaining of target configuration information corresponding to the target application includes: Acquire target user information at a target time, where the target time refers to the time when the target key action is pressed; Based on the target user information, obtaining configuration information of M preset applications corresponding to the target user information, where M is an integer greater than zero, and the M preset applications at least include the target application; In response to the user's selection of the target application, the target configuration information is acquired from the configuration information of the M preset applications.

2. The display mode switching method according to claim 1, characterized in that: The determining the target display mode of the display based on the target key action includes: A target display mode of the display is determined according to the target configuration information and the target key action.

3. The display mode switching method according to claim 2, characterized in that: The step of determining a target display mode of the display according to the target configuration information and the target key action includes: Obtain K display modes in the target configuration information, where K is an integer greater than 1; If the current display mode does not belong to any of the K display modes, determining a display mode in the K display modes that is at a preset position in the arrangement order as the target display mode; If the current display mode belongs to any one of the K display modes, then the display mode that is ranked first in the arrangement order among the K display modes is determined as the target display mode; when the current display mode is at the last position, the display mode that is ranked first in the arrangement order under the current display mode refers to the display mode that is ranked first in the arrangement order.

4. The display mode switching method according to claim 1, wherein: The step of determining a corresponding key action when at least one of the preset keys is detected to be pressed includes: Using a mouse hook to monitor mouse buttons, the mouse is connected to the terminal device; and / or Using a keyboard hook to monitor keyboard keys, the keyboard is connected to the terminal device; When it is detected that at least one of the preset buttons in the mouse and / or the keyboard is pressed, the button action is determined according to identification information of the target button and the number of times it is pressed, and the target button refers to the preset button that is pressed.

5. The display mode switching method according to claim 1, characterized in that: The sending a mode switching instruction to the display based on the target display mode comprises: Generate a mode switching instruction based on the target display mode, the mode switching instruction including parameter names of N display parameters and preset parameter values ​​corresponding to the parameter names, where N is an integer greater than zero; The mode switching instruction is sent to the display, and the parameter name and the preset parameter value corresponding to the parameter name are used to update the current parameter value corresponding to the parameter name to the preset parameter value corresponding to the parameter name.

6. A display mode switching device, characterized in that: The display mode switching device comprises: A monitoring module, used for monitoring at least one preset button when the target application is started; An action determination module, used to determine a corresponding key action when detecting that at least one of the preset keys is pressed; A mode determination module, configured to determine a target display mode of a display based on the target key action if the key action is a target key action, wherein the display is used to display a page of the target application; An instruction sending module, used for sending a mode switching instruction to the display based on the target display mode, wherein the mode switching instruction is used for instructing the display to switch from a current display mode to the target display mode; The display mode switching device also includes: A configuration acquisition module, used to acquire target configuration information corresponding to the target application, wherein the target configuration information at least includes a mapping relationship between the target key action and the target display mode; The configuration acquisition module includes: A user information acquisition submodule, used to acquire target user information at a target time, where the target time refers to the time when the target key action is pressed; a corresponding information acquisition submodule, configured to acquire, based on the target user information, configuration information of M preset applications corresponding to the target user information, where M is an integer greater than zero, and the M preset applications at least include the target application; The selection response submodule is used to obtain the target configuration information from the configuration information of the M preset applications in response to the user's selection of the target application.

7. A terminal 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, the method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Computer and adjusting method for display of computer

    CN102566859A

  • Control system of electronic sports display

    CN113457126A