CN117149028A - Display control method and device, storage medium and terminal equipment - Google Patents

Display control method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN117149028A
CN117149028A CN202311404669.2A CN202311404669A CN117149028A CN 117149028 A CN117149028 A CN 117149028A CN 202311404669 A CN202311404669 A CN 202311404669A CN 117149028 A CN117149028 A CN 117149028A
Authority
CN
China
Prior art keywords
control
color
negative
display mode
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311404669.2A
Other languages
Chinese (zh)
Inventor
雷明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202311404669.2A priority Critical patent/CN117149028A/en
Publication of CN117149028A publication Critical patent/CN117149028A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a display control method, a device, a storage medium and terminal equipment, wherein the method comprises the following steps: receiving an opening instruction of an application of a specified type, and displaying a negative control in a graphical user interface provided by the application of the specified type; and changing the current display mode to a negative color display mode in response to a control operation for the negative color control. Therefore, a negative color control can be displayed in the graphical user interface of the appointed type application, and the user can control the negative color control by aiming at the control operation of the negative color control, so that the situation that the user needs to switch into the system setting to control when the user opens or closes the negative color display mode is avoided, the complexity of the negative color display control can be reduced, and the control operation efficiency is improved.

Description

Display control method and device, storage medium and terminal equipment
Technical Field
The present application relates to the field of computers, and in particular, to a display control method, a display control device, a computer readable storage medium, and a terminal device.
Background
With the continuous development of computer technology, game applications and video applications are increasingly focused by users, and the display effects in the game applications and video applications are also important. However, for example, after a game application is started, if a virtual appearance article to be worn is dark, it is not easy to find that the hidden character can be highlighted by a negative color display, but the negative color display effect is very bad all the time when playing a game. The quick response is required in the game process, so that the program can not be exited at any time to set the system to display negative color, and therefore, the control of the negative color display in the prior art is complicated, and the control operation efficiency is low.
Disclosure of Invention
The embodiment of the application provides a display control method and a display control device, which can reduce the complexity of negative color display control and improve the control operation efficiency.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
a display control method, comprising:
receiving an opening instruction of an application of a specified type, and displaying a negative control in a graphical user interface provided by the application of the specified type;
and changing the current display mode to a negative color display mode in response to a control operation for the negative color control.
A display control apparatus, comprising:
the display module is used for receiving an opening instruction of the application of the specified type and displaying a negative control in a graphical user interface provided by the application of the specified type;
and the changing module is used for responding to the control operation of the negative color control, and changing the current display mode into the negative color display mode.
In the display control device provided by the embodiment of the present application, the control operation is a drag operation, and the changing module includes:
the first determining submodule is used for responding to the dragging operation of the negative color control, and determining the position of the target control after the negative color control moves along with the dragging operation;
and the first changing sub-module is used for changing the current display mode into a negative display mode if the target control position is in the area corresponding to the entity key.
In the display control device provided by the embodiment of the application, the changing module further comprises:
and the second changing sub-module is used for controlling the display mode of the negative color control to be changed into a designated display mode.
In the display control device provided by the embodiment of the application, the changing module further comprises:
and the moving submodule is used for controlling the negative color control to move from the target control position to the original control position if the target control position is not in the region corresponding to the entity key.
In the display control device provided by the embodiment of the application, the changing module further comprises:
the generation sub-module is used for generating prompt information, and the prompt information is used for prompting dragging the negative control to the area corresponding to the entity key.
In the display control device provided by the embodiment of the application, the changing module comprises:
the first acquisition submodule is used for acquiring a first color value, a second color value and a third color value of each pixel point;
the first calculating sub-module is used for calculating the difference value between the preset color value and the first color value in each pixel point to obtain a first color difference value;
the second calculating sub-module is used for calculating the difference value between the preset color value and the second color value in each pixel point to obtain a second color difference value;
a third calculating sub-module, configured to calculate a difference between a preset color value and the third color value in each pixel point, to obtain a third color difference;
the first display sub-module is used for displaying according to the first color difference value, the second color difference value and the third color difference value corresponding to each pixel point.
In the display control device provided by the embodiment of the application, the changing module comprises:
the second acquisition sub-module is used for acquiring the brightness value of each pixel point;
a fourth computing sub-module, configured to compute a product of the specified matrix and the brightness value of each pixel point, so as to obtain a negative color display brightness of each pixel point;
and the second display sub-module is used for displaying according to the negative color display brightness corresponding to each pixel point.
A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the display control method described above.
A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the above-mentioned display control method when executing the program.
The method has the beneficial effects that by receiving the starting instruction of the application of the appointed type, a negative color control is displayed in a graphical user interface provided by the application of the appointed type; and changing the current display mode to a negative color display mode in response to a control operation for the negative color control. Therefore, a negative color control can be displayed in the graphical user interface of the appointed type application, and the user can control the negative color control by aiming at the control operation of the negative color control, so that the situation that the user needs to switch into the system setting to control when the user opens or closes the negative color display mode is avoided, the complexity of the negative color display control can be reduced, and the control operation efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic system diagram of a display control method according to an embodiment of the present application.
Fig. 2 is a flow chart of a display control method according to an embodiment of the application.
Fig. 3 is a first schematic diagram of a graphical user interface according to an embodiment of the present application.
Fig. 4 is a second schematic diagram of a graphical user interface according to an embodiment of the present application.
Fig. 5 is a third schematic diagram of a graphical user interface according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a display control device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a display control method, a display control device and a computer readable storage medium.
Referring to fig. 1, fig. 1 is a schematic diagram of a display control system according to an embodiment of the present application, where the system may include at least one terminal device 1000 and a computer device 2000. Terminal device 1000 can be a mobile phone, a tablet computer, a television, etc., an application program can be installed in terminal device 1000, and the application program can run on terminal device 1000. The computer device may be a desktop, personal Computer (PC) or server device. Terminal device 1000 and computer device 2000 can be connected via network 3000 so that computer device 2000 provides game services or video services for terminal device 1000. The network 3000 may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different terminal devices 1000 and the computer device 2000 may also be connected to each other using their own bluetooth network or hotspot network connection. For example, terminal device 1000 can establish a bluetooth connection with computer device 2000 via a bluetooth module.
The embodiment of the application provides a display control method, which can be executed by terminal equipment 1000. As shown in fig. 1, the terminal device 1000 displays a negative control in a graphical user interface provided by a specific type of application by receiving an open instruction of the specific type of application; and changing the current display mode to a negative color display mode in response to a control operation for the negative color control. Therefore, a negative color control can be displayed in the graphical user interface of the appointed type application, and the user can control the negative color control by aiming at the control operation of the negative color control, so that the situation that the user needs to switch into the system setting to control when the user opens or closes the negative color display mode is avoided, the complexity of the negative color display control can be reduced, and the control operation efficiency is improved.
It should be noted that, the schematic view of the display control system shown in fig. 1 is only an example, and the display control system and the scene described in the embodiment of the present application are for more clearly describing the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application, and those skilled in the art can know that, with the evolution of the display control system and the appearance of a new service scene, the technical solution provided by the embodiment of the present application is equally applicable to similar technical problems.
In this embodiment, description will be made from the viewpoint of a display control apparatus which can be integrated in a terminal device having a storage unit and a microprocessor mounted therein and having arithmetic capability.
Referring to fig. 2, fig. 2 is a flow chart of a display control method according to an embodiment of the application. The display control method comprises the following steps:
in step 101, an open command of a specific type of application is received, and a negative control is displayed in a graphical user interface provided by the specific type of application.
Wherein the specified type of application is used to refer to an application that needs to provide a display screen, such as a game application that provides a game-like graphical user interface or a video application that provides a video-like graphical user interface, etc. When an open instruction for a specified type of application is received, the terminal device may determine whether a negative control needs to be displayed within the graphical user interface by determining whether the application that is open by the user is the specified type of application. The terminal device may also determine whether the currently displayed application is a specified type of application by an application package name.
Specifically, as shown in fig. 3, fig. 3 is a first schematic diagram of a graphical user interface according to an embodiment of the present application. Illustrated in fig. 3 is a top view of a terminal device 1000 that includes a graphical user interface 10 for displaying a specified type of application, a volume control key 111 for controlling volume up or down, and a lock screen key 112 for controlling screen extinction or charge. Wherein a negative control 11 is also included in the graphical user interface.
In step 102, the current display mode is changed to a negative display mode in response to a control operation for the negative control.
When receiving the control operation of the user for the negative color control, the current display mode is changed into the negative color display mode.
Specifically, the control operation of the user for the negative color control may be a clicking operation, for example, the user clicks the negative color control for the first time, so that the current display mode is changed to the negative color display mode; when the current display mode is changed to the negative display mode, if the user clicks the negative control again, the negative display mode is changed to the original normal display mode.
In some embodiments, the control operation is a drag operation, and the step of changing the current display mode to the negative color display mode in response to the control operation for the negative color control includes:
(1) Responding to the dragging operation for the negative color control, and determining the position of a target control after the negative color control moves along with the dragging operation;
(2) And if the target control position is in the area corresponding to the entity key, changing the current display mode into a negative display mode.
The application sets an opening mode for opening the negative color function of the negative color control. Fig. 4 is a second schematic view of a graphical user interface according to an embodiment of the present application. Firstly, setting a corresponding area in a graphical user interface for each entity button in the terminal equipment, determining the target control position of the moved negative control after a user drags the negative control to move along with the drag operation, and changing the current display mode into a negative display mode if the target control position is in the area corresponding to the entity button.
For example, in fig. 4, the corresponding area of the volume control button 111 in the graphical user interface 10 is an area 1111, and when the user drags the negative control 11 into the area 1111, the current display mode is changed to the negative display mode.
In some embodiments, after the step of if the target control position is in the area corresponding to the physical button, the method further includes:
and controlling the display mode of the negative color control to be changed into a designated display mode.
Fig. 5 is a third schematic diagram of a graphical user interface according to an embodiment of the present application, as shown in fig. 5. In order to avoid that the negative control 11 occupies a larger area in the graphical user interface, so that some display content in the graphical user interface is blocked, when the target control position is in the area corresponding to the entity key, the display style of the negative control 11 is controlled to be changed into the designated display style in fig. 5.
Specifically, the specified display style may be a line or a point, which occupies a smaller area of the graphical user interface than the original display style, and is not limited herein.
In some embodiments, the method further comprises:
and if the target control position is not in the area corresponding to the entity button, controlling the negative color control to move from the target control position to the original control position.
If the target control position is not in the area corresponding to the entity key, it is indicated that the user does not need to start the negative color display mode currently, so in order to avoid the problem that the negative color control is blocked in the graphical user interface caused by misoperation of the user in the game process, the negative color control can be actively controlled to move from the target control position to the original control position, and the user is waited to operate when the negative color display mode needs to be started.
In some embodiments, after the step of controlling the negative color control to move from the target control position to the original control position if the target control position is not in the region corresponding to the physical button, the method further includes:
and generating prompt information, wherein the prompt information is used for prompting dragging the negative control to an area corresponding to the entity key.
After the negative control is moved from the target control position to the original control position, the user can be prompted how to start the negative display mode, that is, the user is prompted by the prompt information to drag the negative control to the area corresponding to the entity button, so that the negative display mode is started.
In some embodiments, the step of changing the current display mode to the negative display mode includes:
(1) Acquiring a first color value, a second color value and a third color value of each pixel point;
(2) Calculating the difference value between the preset color value and the first color value in each pixel point to obtain a first color difference value;
(3) Calculating the difference value between the preset color value and the second color value in each pixel point to obtain a second color difference value;
(4) Calculating the difference value between the preset color value and the third color value in each pixel point to obtain a third color difference value;
(5) And displaying according to the first color difference value, the second color difference value and the third color difference value corresponding to each pixel point.
The specific way to change the current display mode to the negative display mode may be: a first color value (R), a second color value (G), and a third color value (B) corresponding to each pixel point in the graphical user interface are determined. And calculating the difference between the preset color value (256) and each color value to obtain a first color difference value, a second color difference value and a third color difference value corresponding to each pixel point, so that the first color difference value, the second color difference value and the third color difference value corresponding to each pixel point are displayed.
For example, if R is 100, g is 50, and b is 200, the first color difference is 256-100=156, the second color difference is 256-50=106, and the third color difference is 256-200=56. Therefore, a first color difference value, a second color difference value and a third color difference value corresponding to each pixel point are obtained, and display is performed.
In some embodiments, the step of changing the current display mode to the negative display mode includes:
(1) Acquiring a brightness value of each pixel point;
(2) Calculating the product of the appointed matrix and the brightness value of each pixel point to obtain the negative color display brightness of each pixel point;
(3) And displaying according to the negative color display brightness corresponding to each pixel point.
The specific way to change the current display mode to the negative display mode may be: negative operation rgba_new=matrix is performed with the luminance of each pixel. Matrix is a specified Matrix, for example matrix= [ [0.402, -1.174, -0.228,1.000] [ 0.598, -0.174, -0.228,1.000] [ 0.599, -1.175,0.772,1.000] [0.000,0.000,0.000,1.000] ], and the product of the corresponding brightness value of each pixel point and the specified Matrix is calculated, so that the negative color display brightness of each pixel point is obtained; and displaying according to the negative color display brightness corresponding to each pixel point.
As can be seen from the foregoing, in the embodiment of the present application, by receiving an open instruction of an application of a specified type, a negative control is displayed in a graphical user interface provided by the application of the specified type; and changing the current display mode to a negative color display mode in response to a control operation for the negative color control. Therefore, a negative color control can be displayed in the graphical user interface of the appointed type application, and the user can control the negative color control by aiming at the control operation of the negative color control, so that the situation that the user needs to switch into the system setting to control when the user opens or closes the negative color display mode is avoided, the complexity of the negative color display control can be reduced, and the control operation efficiency is improved.
In order to facilitate better implementation of the display control method provided by the embodiment of the application, the embodiment of the application also provides a device based on the display control method. Wherein the meaning of the nouns is the same as in the display control method described above, specific implementation details can be referred to the description in the method embodiment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a display control device according to an embodiment of the present application, where the display control device is applied to a terminal device and may include a display module 301, a change module 302, and the like.
The display module 301 is configured to receive an opening instruction of a specific type of application, and display a negative control in a graphical user interface provided by the specific type of application;
and the changing module 302 is used for changing the current display mode into the negative color display mode in response to the control operation of the negative color control.
In the display control device provided by the embodiment of the present application, the control operation is a drag operation, and the changing module includes:
the first determining submodule is used for responding to the dragging operation of the negative color control, and determining the position of the target control after the negative color control moves along with the dragging operation;
and the first changing sub-module is used for changing the current display mode into a negative display mode if the target control position is in the area corresponding to the entity key.
In the display control device provided by the embodiment of the application, the changing module further comprises:
and the second changing sub-module is used for controlling the display mode of the negative color control to be changed into a designated display mode.
In the display control device provided by the embodiment of the application, the changing module further comprises:
and the moving submodule is used for controlling the negative color control to move from the target control position to the original control position if the target control position is not in the region corresponding to the entity key.
In the display control device provided by the embodiment of the application, the changing module further comprises:
the generation sub-module is used for generating prompt information, and the prompt information is used for prompting dragging the negative control to the area corresponding to the entity key.
In the display control device provided by the embodiment of the application, the changing module comprises:
the first acquisition submodule is used for acquiring a first color value, a second color value and a third color value of each pixel point;
the first calculating sub-module is used for calculating the difference value between the preset color value and the first color value in each pixel point to obtain a first color difference value;
the second calculating sub-module is used for calculating the difference value between the preset color value and the second color value in each pixel point to obtain a second color difference value;
a third calculating sub-module, configured to calculate a difference between a preset color value and the third color value in each pixel point, to obtain a third color difference;
the first display sub-module is used for displaying according to the first color difference value, the second color difference value and the third color difference value corresponding to each pixel point.
In the display control device provided by the embodiment of the application, the changing module comprises:
the second acquisition sub-module is used for acquiring the brightness value of each pixel point;
a fourth computing sub-module, configured to compute a product of the specified matrix and the brightness value of each pixel point, so as to obtain a negative color display brightness of each pixel point;
and the second display sub-module is used for displaying according to the negative color display brightness corresponding to each pixel point.
As can be seen from the foregoing, in the embodiment of the present application, the display module 301 receives the opening instruction of the application of the specified type, and displays a negative color control in the graphical user interface provided by the application of the specified type; the changing module 302 changes the current display mode to the negative color display mode in response to a control operation for the negative color control. Therefore, a negative color control can be displayed in the graphical user interface of the appointed type application, and the user can control the negative color control by aiming at the control operation of the negative color control, so that the situation that the user needs to switch into the system setting to control when the user opens or closes the negative color display mode is avoided, the complexity of the negative color display control can be reduced, and the control operation efficiency is improved.
Correspondingly, the embodiment of the application also provides terminal equipment which can be terminal equipment such as a smart phone, a tablet personal computer, a notebook computer, a touch screen, a game machine, a personal computer (PC, personalComputer), a personal digital assistant (PersonalDigitalAssistant, PDA) and the like. As shown in fig. 7, fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application. The terminal device 1000 comprises a processor 401 having one or more processing cores, a memory 402 having one or more computer readable storage media and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be appreciated by those skilled in the art that the terminal device structure shown in the figures does not constitute a limitation of the terminal device, and may include more or less components than those illustrated, or may combine certain components, or may have a different arrangement of components.
Processor 401 is a control center of terminal device 1000, connects various parts of the entire terminal device 1000 using various interfaces and lines, and performs various functions of terminal device 1000 and processes data by running or loading software programs and/or modules stored in memory 402, and calling data stored in memory 402, thereby performing overall monitoring of terminal device 1000.
In the embodiment of the present application, the processor 401 in the terminal device 1000 loads the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions:
receiving an opening instruction of an application of a specified type, and displaying a negative control in a graphical user interface provided by the application of the specified type;
and changing the current display mode to a negative color display mode in response to a control operation for the negative color control.
In some embodiments, the control operation is a drag operation, and the step of changing the current display mode to the negative color display mode in response to the control operation for the negative color control includes:
responding to the dragging operation for the negative color control, and determining the position of a target control after the negative color control moves along with the dragging operation;
and if the target control position is in the area corresponding to the entity key, changing the current display mode into a negative display mode.
In some embodiments, after the step of if the target control position is in the area corresponding to the physical button, the method further includes:
and controlling the display mode of the negative color control to be changed into a designated display mode.
In some embodiments, the method further comprises:
and if the target control position is not in the area corresponding to the entity button, controlling the negative color control to move from the target control position to the original control position.
In some embodiments, after the step of controlling the negative color control to move from the target control position to the original control position if the target control position is not in the region corresponding to the physical button, the method further includes:
and generating prompt information, wherein the prompt information is used for prompting dragging the negative control to an area corresponding to the entity key.
In some embodiments, the step of changing the current display mode to the negative display mode includes:
acquiring a first color value, a second color value and a third color value of each pixel point;
calculating the difference value between the preset color value and the first color value in each pixel point to obtain a first color difference value;
calculating the difference value between the preset color value and the second color value in each pixel point to obtain a second color difference value;
calculating the difference value between the preset color value and the third color value in each pixel point to obtain a third color difference value;
and displaying according to the first color difference value, the second color difference value and the third color difference value corresponding to each pixel point.
In some embodiments, the step of changing the current display mode to the negative display mode includes:
acquiring a brightness value of each pixel point;
calculating the product of the appointed matrix and the brightness value of each pixel point to obtain the negative color display brightness of each pixel point;
and displaying according to the negative color display brightness corresponding to each pixel point.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 7, the terminal device 1000 further includes: bluetooth module 403, radio frequency circuit 404, direct connection module 405 and power supply 406. The processor 401 is electrically connected to the bluetooth module 403, the radio frequency circuit 404, the direct connection module 405 and the power supply 406, respectively. It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 7 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The bluetooth module 403 is configured to establish a bluetooth connection with the computer device 2000 through a bluetooth address of the computer device 2000 stored in the terminal device. The direct connection module 405 includes a usb interface and/or a type-c interface configured for a terminal device to directly connect with the computer device 2000.
The radio frequency circuit 404 may be configured to receive and transmit radio frequency signals to and from a network device or other terminal device via wireless communication to and from the network device or other terminal device.
Power supply 406 is used to power the various components of terminal device 1000. Alternatively, the power supply 406 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 406 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 7, terminal device 1000 can also include cameras, sensors, wireless fidelity modules, etc., and will not be described in detail herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the terminal device provided in this embodiment displays a negative control in a graphical user interface provided by a specific type application by receiving an opening instruction of the specific type application; and changing the current display mode to a negative color display mode in response to a control operation for the negative color control. Therefore, a negative color control can be displayed in the graphical user interface of the appointed type application, and the user can control the negative color control by aiming at the control operation of the negative color control, so that the situation that the user needs to switch into the system setting to control when the user opens or closes the negative color display mode is avoided, the complexity of the negative color display control can be reduced, and the control operation efficiency is improved.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform steps in any of the skills control methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
receiving an opening instruction of an application of a specified type, and displaying a negative control in a graphical user interface provided by the application of the specified type; and changing the current display mode to a negative color display mode in response to a control operation for the negative color control.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read-only memory (ROM, readOnlyMemory), random access memory (RAM, randomAccessMemory), magnetic or optical disk, and the like.
The steps in any display control method provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects that any display control method provided by the embodiment of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted herein.
The foregoing has described in detail a display control method, apparatus, computer readable storage medium and terminal device provided by embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the method and core idea of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the present description should not be construed as limiting the present application in summary.

Claims (10)

1. A display control method, characterized by comprising:
receiving an opening instruction of an application of a specified type, and displaying a negative control in a graphical user interface provided by the application of the specified type;
and changing the current display mode to a negative color display mode in response to a control operation for the negative color control.
2. The display control method according to claim 1, wherein the control operation is a drag operation, and the step of changing the current display mode to the negative display mode in response to the control operation for the negative control includes:
responding to the dragging operation for the negative color control, and determining the position of a target control after the negative color control moves along with the dragging operation;
and if the target control position is in the area corresponding to the entity key, changing the current display mode into a negative display mode.
3. The display control method according to claim 2, further comprising, after the step of if the target control position is in the area corresponding to the physical key:
and controlling the display mode of the negative color control to be changed into a designated display mode.
4. The display control method according to claim 2, characterized in that the method further comprises:
and if the target control position is not in the area corresponding to the entity button, controlling the negative color control to move from the target control position to the original control position.
5. The display control method according to claim 4, further comprising, after the step of controlling the negative color control to move from the target control position to the original control position if the target control position is not located in the area corresponding to the physical button:
and generating prompt information, wherein the prompt information is used for prompting dragging the negative control to an area corresponding to the entity key.
6. A display control method according to any one of claims 1 to 3, wherein the step of changing the current display mode to the negative color display mode includes:
acquiring a first color value, a second color value and a third color value of each pixel point;
calculating the difference value between the preset color value and the first color value in each pixel point to obtain a first color difference value;
calculating the difference value between the preset color value and the second color value in each pixel point to obtain a second color difference value;
calculating the difference value between the preset color value and the third color value in each pixel point to obtain a third color difference value;
and displaying according to the first color difference value, the second color difference value and the third color difference value corresponding to each pixel point.
7. A display control method according to any one of claims 1 to 3, wherein the step of changing the current display mode to the negative color display mode includes:
acquiring a brightness value of each pixel point;
calculating the product of the appointed matrix and the brightness value of each pixel point to obtain the negative color display brightness of each pixel point;
and displaying according to the negative color display brightness corresponding to each pixel point.
8. A display control apparatus, comprising:
the display module is used for receiving an opening instruction of the application of the specified type and displaying a negative control in a graphical user interface provided by the application of the specified type;
and the changing module is used for responding to the control operation of the negative color control, and changing the current display mode into the negative color display mode.
9. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the display control method of any one of claims 1 to 7.
10. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the display control method according to any one of claims 1 to 7 when executing the program.
CN202311404669.2A 2023-10-27 2023-10-27 Display control method and device, storage medium and terminal equipment Pending CN117149028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311404669.2A CN117149028A (en) 2023-10-27 2023-10-27 Display control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311404669.2A CN117149028A (en) 2023-10-27 2023-10-27 Display control method and device, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN117149028A true CN117149028A (en) 2023-12-01

Family

ID=88910409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311404669.2A Pending CN117149028A (en) 2023-10-27 2023-10-27 Display control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN117149028A (en)

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311891A (en) * 2007-05-24 2008-11-26 德信无线通讯科技(北京)有限公司 Sliding type screen-unblocking method
CN101872284A (en) * 2010-06-21 2010-10-27 宇龙计算机通信科技(深圳)有限公司 Display mode switching method of functional keys and terminal
CN101882046A (en) * 2009-04-20 2010-11-10 宇龙计算机通信科技(深圳)有限公司 Touch screen unlocking method and system thereof and touch screen device
CN103064598A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Rapid dragging method and system for target component
CN103389860A (en) * 2012-05-07 2013-11-13 观致汽车有限公司 Interactive system and interactive method thereof
WO2016082200A1 (en) * 2014-11-28 2016-06-02 华为技术有限公司 Adjustment method and device for terminal-setting parameter
CN106249994A (en) * 2016-07-22 2016-12-21 北京珠穆朗玛移动通信有限公司 A kind of operation mode switching method and mobile terminal
CN106453852A (en) * 2016-09-20 2017-02-22 深圳鼎智通讯股份有限公司 Screen color adjustment system and method for Android terminal
CN106802780A (en) * 2011-03-21 2017-06-06 三星电子株式会社 Mobile terminal and the object for the mobile terminal change support method
CN107562336A (en) * 2017-08-01 2018-01-09 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN107977151A (en) * 2017-12-21 2018-05-01 深圳豪客互联网有限公司 A kind of browser control method and device
CN110704015A (en) * 2019-09-29 2020-01-17 珠海格力电器股份有限公司 Speed regulation method for audio playing, storage medium and electronic equipment
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium
CN113810675A (en) * 2020-06-12 2021-12-17 北京小米移动软件有限公司 Image processing method, device, equipment and storage medium
CN114063867A (en) * 2020-07-30 2022-02-18 佳能株式会社 Image processing apparatus, control method of image processing apparatus, and recording medium
CN114522423A (en) * 2022-01-25 2022-05-24 网易(杭州)网络有限公司 Virtual object control method and device, storage medium and computer equipment
CN115454308A (en) * 2021-05-21 2022-12-09 深圳市万普拉斯科技有限公司 Floating window display method and device and terminal equipment
CN115688206A (en) * 2022-09-28 2023-02-03 海信视像科技股份有限公司 Display device and interface display method
CN115941959A (en) * 2022-12-02 2023-04-07 展讯半导体(南京)有限公司 Color matrix processing method, system, medium, and terminal

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101311891A (en) * 2007-05-24 2008-11-26 德信无线通讯科技(北京)有限公司 Sliding type screen-unblocking method
CN101882046A (en) * 2009-04-20 2010-11-10 宇龙计算机通信科技(深圳)有限公司 Touch screen unlocking method and system thereof and touch screen device
CN101872284A (en) * 2010-06-21 2010-10-27 宇龙计算机通信科技(深圳)有限公司 Display mode switching method of functional keys and terminal
CN106802780A (en) * 2011-03-21 2017-06-06 三星电子株式会社 Mobile terminal and the object for the mobile terminal change support method
CN103389860A (en) * 2012-05-07 2013-11-13 观致汽车有限公司 Interactive system and interactive method thereof
CN103064598A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Rapid dragging method and system for target component
WO2016082200A1 (en) * 2014-11-28 2016-06-02 华为技术有限公司 Adjustment method and device for terminal-setting parameter
CN106249994A (en) * 2016-07-22 2016-12-21 北京珠穆朗玛移动通信有限公司 A kind of operation mode switching method and mobile terminal
CN106453852A (en) * 2016-09-20 2017-02-22 深圳鼎智通讯股份有限公司 Screen color adjustment system and method for Android terminal
CN107562336A (en) * 2017-08-01 2018-01-09 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN107977151A (en) * 2017-12-21 2018-05-01 深圳豪客互联网有限公司 A kind of browser control method and device
CN110704015A (en) * 2019-09-29 2020-01-17 珠海格力电器股份有限公司 Speed regulation method for audio playing, storage medium and electronic equipment
CN113810675A (en) * 2020-06-12 2021-12-17 北京小米移动软件有限公司 Image processing method, device, equipment and storage medium
CN111880706A (en) * 2020-07-23 2020-11-03 维沃移动通信有限公司 Function switching method and device, electronic equipment and readable storage medium
CN114063867A (en) * 2020-07-30 2022-02-18 佳能株式会社 Image processing apparatus, control method of image processing apparatus, and recording medium
CN115454308A (en) * 2021-05-21 2022-12-09 深圳市万普拉斯科技有限公司 Floating window display method and device and terminal equipment
CN114522423A (en) * 2022-01-25 2022-05-24 网易(杭州)网络有限公司 Virtual object control method and device, storage medium and computer equipment
CN115688206A (en) * 2022-09-28 2023-02-03 海信视像科技股份有限公司 Display device and interface display method
CN115941959A (en) * 2022-12-02 2023-04-07 展讯半导体(南京)有限公司 Color matrix processing method, system, medium, and terminal

Similar Documents

Publication Publication Date Title
CN107797739B (en) Mobile terminal, display control method and device thereof, and computer-readable storage medium
WO2022063022A1 (en) Video preview method and apparatus and electronic device
CN111796734B (en) Application program management method, management device, electronic device and storage medium
WO2020134789A1 (en) Mobile terminal and method for controlling on and off of screen, and computer storage medium
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN113018856A (en) Image processing method, image processing device, electronic equipment and storage medium
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
CN112040324A (en) Playing progress adjusting method and device, storage medium and terminal
CN111831181A (en) Application switching display method and device and electronic equipment
WO2022012617A1 (en) Message display method and apparatus, and electronic device and storage medium
CN112053416B (en) Image processing method, device, storage medium and computer equipment
CN113645476A (en) Picture processing method and device, electronic equipment and storage medium
WO2021120383A1 (en) Screen color temperature control method and apparatus, storage medium, and mobile terminal
US20230251755A1 (en) Information Processing Method and Apparatus, and Electronic Device
WO2023045921A1 (en) Display method and apparatus, and electronic device
CN112199149A (en) Interface rendering method and device and electronic equipment
CN112118618A (en) Screen refresh rate configuration method and device, computer equipment and readable storage medium
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN117149028A (en) Display control method and device, storage medium and terminal equipment
WO2022253178A1 (en) Method and apparatus for prompting level of charge
WO2022166943A1 (en) Message sending method and apparatus, and electronic device and readable storage medium
CN115329161A (en) Financial market list display method and device, storage medium and equipment
CN112040160B (en) Display parameter setting method and device, multimedia equipment and storage medium
CN112860302A (en) Application program control method and device, electronic equipment and readable storage medium
CN112272398B (en) Data transmission method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination