[go: up one dir, main page]

CN111048056A - Terminal equipment brightness adjusting method and system, storage medium and terminal equipment - Google Patents

Terminal equipment brightness adjusting method and system, storage medium and terminal equipment Download PDF

Info

Publication number
CN111048056A
CN111048056A CN201911316294.8A CN201911316294A CN111048056A CN 111048056 A CN111048056 A CN 111048056A CN 201911316294 A CN201911316294 A CN 201911316294A CN 111048056 A CN111048056 A CN 111048056A
Authority
CN
China
Prior art keywords
brightness
point
display screen
adjusting
screen
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
CN201911316294.8A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201911316294.8A priority Critical patent/CN111048056A/en
Publication of CN111048056A publication Critical patent/CN111048056A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a system for adjusting the brightness of terminal equipment, a storage medium and the terminal equipment, wherein the adjusting method comprises the following steps: acquiring a brightness control line; acquiring a first point and a second point on the brightness control line; judging whether the first point and the second point are located at the same position; when the first point and the second point are judged to be located at different positions, connecting the first point and the second point to generate a brightness adjusting line; judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment; and when the adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment, defining a first screen and a second screen for the display screen of the terminal equipment according to the brightness adjusting line. The method of the invention can enable the user to more conveniently control the brightness of the display screen of the terminal equipment, and improves the reliability of the terminal equipment product.

Description

Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
Technical Field
The invention relates to the technical field of computers, in particular to a brightness adjusting method and system of a terminal device, a storage medium and the terminal device.
Background
The display function is the most basic function of the terminal device, and when the display screen of the terminal device displays a screen, the display brightness of the display screen is not only influenced by the set backlight brightness of the display screen, but also influenced by the display content. For example: when a user views an electronic book with white characters on a black background using a terminal device, although the backlight brightness has been adjusted to be brightest, it still does not look very bright. When the user uses the terminal device to watch the electronic book with white-background black characters, the electronic book looks brighter than the electronic book even if the backlight brightness is adjusted to the darkest. It can be seen that the brightness of the display content is influenced by the display content in addition to the brightness of the display screen backlight, which is not considered in the prior art. When the user switches from one application to another, the display brightness setting does not change, but the user feels that a significant brightness change has occurred, so that the user needs to control the display brightness again. Under the current situation, a user generally needs to manually control the brightness of the display screen, and the control of the brightness of the display screen often brings much inconvenience to the user.
Therefore, a new design scheme is needed to solve the problem that it is inconvenient for the user to adjust the brightness of the display screen.
Disclosure of Invention
The embodiment of the invention provides a method and a system for adjusting the brightness of end equipment, a storage medium and terminal equipment, which can effectively solve the problem that a user cannot conveniently adjust the brightness of a display screen.
According to an aspect of the present invention, an embodiment of the present invention provides a method for adjusting brightness of a terminal device, including the following steps: acquiring a brightness control line; acquiring a first point and a second point on the brightness control line; judging whether the first point and the second point are located at the same position; when the first point and the second point are judged to be located at different positions, connecting the first point and the second point to generate a brightness adjusting line; judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment; when the adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment, a first screen and a second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line; calculating a ratio of an area of the first screen to an area of the second screen; and adjusting the brightness of the display screen of the terminal equipment according to the area ratio.
Further, before the step of acquiring the brightness control line, the method further comprises the steps of: judging whether a display screen of the terminal equipment is lightened; and when the display screen of the terminal equipment is judged not to be lightened, lightening the display screen of the terminal equipment.
Further, the area of the first screen is smaller than or equal to the area of the second screen.
Further, after the step of determining whether the first point and the second point are located at the same position, the method further includes the steps of: resetting the brightness control line when the first point and the second point are located at the same position.
According to another aspect of the present invention, an embodiment of the present invention provides a terminal device brightness adjusting system, including: a control line acquisition unit for acquiring a brightness control line; the end point acquisition unit is connected with the control line acquisition unit and is used for acquiring a first point and a second point on the brightness control line; an endpoint judging unit connected to the endpoint acquiring unit, the endpoint judging unit being configured to judge whether the first point and the second point are located at the same position; the adjusting line generating unit is connected with the end point judging unit and used for connecting the first point and the second point to generate a brightness adjusting line when the first point and the second point are judged to be positioned at different positions; the adjusting line judging unit is connected with the adjusting line generating unit and is used for judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment or not; the display screen dividing unit is connected with the adjusting line judging unit and used for defining a first screen and a second screen for the display screen of the terminal equipment according to the brightness adjusting line when the brightness adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment; the ratio calculation unit is connected with the display screen dividing unit and is used for calculating the ratio of the area of the first screen to the area of the second screen; and the brightness adjusting unit is connected with the ratio calculating unit and used for adjusting the brightness of the display screen of the terminal equipment according to the brightness ratio.
Further, the brightness adjusting system of the terminal device further includes: the display screen brightness judging unit is used for judging whether the display screen of the terminal equipment is lightened or not; and the display screen lighting unit is connected with the display screen brightness judging unit and used for lighting the display screen of the terminal equipment when judging that the display screen of the terminal equipment is not lighted.
Further, the area of the first screen is smaller than or equal to the area of the second screen.
Further, the brightness adjusting system of the terminal device further includes: and the control line resetting unit is connected with the endpoint judging unit and is used for resetting the brightness control line when the first point and the second point are positioned at the same position.
According to still another aspect of the present invention, an embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to execute the terminal device brightness adjusting method.
According to another aspect of the present invention, an embodiment of the present invention provides a terminal device, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the terminal device brightness adjusting method.
The method has the advantages that the first point and the second point on the brightness control line input by a user are obtained, the first point and the second point are connected to generate a brightness adjusting line, the first screen and the second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line, the ratio of the area of the first screen to the area of the second screen is calculated, and then the brightness of the display screen of the terminal equipment is adjusted according to the area ratio. Therefore, the brightness of the display screen of the terminal equipment can be controlled more conveniently by a user, and the reliability of the terminal equipment product is improved.
Drawings
The technical solution and other advantages of the present invention will become apparent from the following detailed description of specific embodiments of the present invention, which is to be read in connection with the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of a method for adjusting brightness of a terminal device according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a brightness adjustment system of a terminal device according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Fig. 4 is another schematic structural diagram of the terminal device according to the embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
As shown in fig. 1, a flow chart of the steps of the method for adjusting the brightness of the terminal device provided by the embodiment of the present invention includes the following steps:
step S110: and judging whether a display screen of the terminal equipment is lightened.
In this embodiment, it is first determined whether the display screen of the terminal device is in a lighting state, if so, step S130 is directly performed, and if not, step S120 is performed to light the display screen of the terminal device.
Step S120: and when the display screen of the terminal equipment is judged not to be lightened, lightening the display screen of the terminal equipment.
In this embodiment, when the terminal device is connected to a computer, various operations of the terminal device may be performed by the computer, so that the terminal device is in a black screen state, but when brightness adjustment of the display screen is required, the display screen needs to be turned on.
Step S130: a brightness control line is acquired.
In this embodiment, the brightness control line is input by a user through touching a display screen of the terminal device, and the brightness control line is a graphic, and may be a straight line or a curved line, but is not limited thereto.
Step S140: and acquiring a first point and a second point on the brightness control line.
In this embodiment, the first point is a start point of the luminance control line, and the second point is an end point of the luminance control line.
Step S150: and judging whether the first point and the second point are positioned at the same position.
In this embodiment, when the brightness control line input by the user is a closed graph, the starting point and the ending point (i.e., the first point and the second point) at this time are located at the same position. For example, when the brightness control line input by the user is a circle or a triangle, etc.
Step S160: and when the first point and the second point are judged to be positioned at different positions, connecting the first point and the second point to generate a brightness adjusting line.
In this embodiment, the brightness adjustment line is obtained from the start point and the end point, and the brightness adjustment line is a straight line.
Step S170: and judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment.
In this embodiment, when the straight line formed by connecting the starting point and the ending point of the brightness control line input by the user coincides with any side of the display screen of the terminal device, the brightness control line does not divide the display screen of the terminal device into two parts, and therefore step S151 needs to be executed, as described in detail below.
Step S180: and when the adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment, defining a first screen and a second screen for the display screen of the terminal equipment according to the brightness adjusting line.
In this embodiment, the intersection points of the two sides of the display screen of the terminal device are obtained by the adjusting lines, and the display screen of the terminal device is divided into a first screen and a second screen after the intersection points of the two sides are connected.
Step S190: calculating a ratio of the area of the first screen to the area of the second screen.
In this embodiment, the area of the first screen is smaller than or equal to the area of the second screen, so that when the area of the first screen is equal to the area of the second screen, the brightness of the display screen of the terminal device is maximized.
Step S200: and adjusting the brightness of the display screen of the terminal equipment according to the area ratio.
In this embodiment, the adjusting of the brightness of the display screen of the terminal device is performed by a user directly performing a direct operation on a display screen interface, so that a first point and a second point on a brightness control line input by the user are connected to generate a brightness adjustment line, the first screen and the second screen are defined by the display screen of the terminal device according to the brightness adjustment line to calculate a ratio of an area of the first screen to an area of the second screen, and the brightness of the display screen of the terminal device is adjusted according to the area ratio, so that the brightness of the display screen of the terminal device can be controlled more conveniently by the user, and the reliability of a terminal device product is improved.
Continuing to refer to fig. 1, as indicated above, step S150: determining whether the first point and the second point are located at the same position, and performing step S160 when determining that the first point and the second point are located at different positions, and performing step S151 when determining that the first point and the second point are located at the same position, as follows.
Step S151: resetting the brightness control line when the first point and the second point are located at the same position.
In the present embodiment, after the step after resetting the brightness control line, the process returns to step S130.
The method has the advantages that the first point and the second point on the brightness control line input by a user are obtained, the first point and the second point are connected to generate a brightness adjusting line, the first screen and the second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line, the ratio of the area of the first screen to the area of the second screen is calculated, and then the brightness of the display screen of the terminal equipment is adjusted according to the area ratio. Therefore, the brightness of the display screen of the terminal equipment can be controlled more conveniently by a user, and the reliability of the terminal equipment product is improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As shown in fig. 2, a schematic structural diagram of a brightness adjustment system of a terminal device according to an embodiment of the present invention includes: the display screen brightness control system comprises a display screen brightness judging unit 1, a display screen lighting unit 2, a control line acquiring unit 3, an endpoint acquiring unit 4, an endpoint judging unit 5, a regulating line generating unit 6, a regulating line judging unit 7, a display screen dividing unit 8, a ratio calculating unit 9, a brightness regulating unit 10 and a control line resetting unit 11.
The display screen brightness judging unit 1 is configured to judge whether the display screen of the terminal device is turned on. In the present embodiment, it is first determined whether the display screen of the terminal device is in a lit state.
The display screen lighting unit 2 is connected with the display screen brightness judging unit 1, and the display screen lighting unit 2 is used for lighting the display screen of the terminal device when judging that the display screen of the terminal device is not lighted. In this embodiment, when the terminal device is connected to a computer, various operations of the terminal device may be performed by the computer, so that the terminal device is in a black screen state, but when brightness adjustment of the display screen is required, the display screen needs to be turned on.
The control line acquisition unit 3 is for acquiring a luminance control line. In this embodiment, the brightness control line is input by a user through touching a display screen of the terminal device, and the brightness control line is a graphic, and may be a straight line or a curved line, but is not limited thereto.
The endpoint acquisition unit 4 is connected to the control line acquisition unit 3, and the endpoint acquisition unit 4 is configured to acquire a first point and a second point on the brightness control line. In this embodiment, the first point is a start point of the luminance control line, and the second point is an end point of the luminance control line.
The endpoint determining unit 5 is connected to the endpoint acquiring unit 4, and the endpoint determining unit 5 is configured to determine whether the first point and the second point are located at the same position. In this embodiment, when the brightness control line input by the user is a closed graph, the starting point and the ending point (i.e., the first point and the second point) at this time are located at the same position. For example, when the brightness control line input by the user is a circle or a triangle, etc.
The adjustment line generating unit 6 is connected to the end point determining unit 5, and the adjustment line generating unit 6 is configured to connect the first point and the second point to generate a brightness adjustment line when it is determined that the first point and the second point are located at different positions. In this embodiment, the brightness adjustment line is obtained from the start point and the end point, and the brightness adjustment line is a straight line.
The adjusting line judging unit 7 is connected with the adjusting line generating unit 6, and the adjusting line judging unit 7 is used for judging whether the brightness adjusting line is superposed with any side of the display screen of the terminal device. In this embodiment, when a straight line formed by connecting the start point and the end point of the brightness control line input by the user coincides with any side of the display screen of the terminal device, the brightness adjustment line does not divide the display screen of the terminal device into two parts, and therefore the control line resetting unit 11 needs to be called to reset the brightness control line.
The display screen dividing unit 8 is connected with the adjusting line judging unit 7, and the display screen dividing unit 8 is used for defining a first screen and a second screen for the display screen of the terminal device according to the brightness adjusting line when the brightness adjusting line is judged to be not overlapped with any side of the display screen of the terminal device. In this embodiment, the intersection points of the two sides of the display screen of the terminal device are obtained by the adjusting lines, and the display screen of the terminal device is divided into a first screen and a second screen after the intersection points of the two sides are connected.
The ratio calculation unit 9 is connected to the display screen dividing unit 8, and the ratio calculation unit 9 is configured to calculate a ratio between an area of the first screen and an area of the second screen. In this embodiment, the area of the first screen is smaller than or equal to the area of the second screen, so that when the area of the first screen is equal to the area of the second screen, the brightness of the display screen of the terminal device is maximized.
The brightness adjusting unit 10 is connected to the ratio calculating unit 9, and the brightness adjusting unit 10 is configured to adjust the brightness of the display screen of the terminal device according to the brightness ratio. In this embodiment, the adjusting of the brightness of the display screen of the terminal device is performed by a user directly performing a direct operation on a display screen interface, so that a first point and a second point on a brightness control line input by the user are connected to generate a brightness adjustment line, the display screen of the terminal device is defined with a first screen and a second screen according to the brightness adjustment line to calculate a ratio of an area of the first screen to an area of the second screen, and the brightness of the display screen of the terminal device is adjusted according to the area ratio, so that the brightness of the display screen of the terminal device can be controlled more conveniently by the user, and the reliability of a terminal device product is improved.
The control line resetting unit 11 is connected to the endpoint determining unit 10, and the control line resetting unit 11 is configured to reset the brightness control line when the first point and the second point are located at the same position. In this embodiment, after resetting the brightness control line, the control line acquiring unit needs to be called to re-execute the acquisition of the brightness control line.
The method has the advantages that the first point and the second point on the brightness control line input by a user are obtained, the first point and the second point are connected to generate a brightness adjusting line, the first screen and the second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line, the ratio of the area of the first screen to the area of the second screen is calculated, and then the brightness of the display screen of the terminal equipment is adjusted according to the area ratio. Therefore, the brightness of the display screen of the terminal equipment can be controlled more conveniently by a user, and the reliability of the terminal equipment product is improved.
As shown in fig. 3, an embodiment of the present invention further provides a terminal device, where the terminal device may be a smart phone, a tablet computer, or the like. Specifically, as shown in fig. 3, the terminal device 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the terminal device 200, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the terminal device.
In this embodiment, the terminal device 200 is provided with a plurality of memory partitions, the plurality of memory partitions includes a system partition and a target partition, the processor 201 in the terminal device 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
acquiring a brightness control line;
acquiring a first point and a second point on the brightness control line;
judging whether the first point and the second point are located at the same position;
when the first point and the second point are judged to be located at different positions, connecting the first point and the second point to generate a brightness adjusting line;
judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment;
when the adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment, a first screen and a second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line;
calculating a ratio of an area of the first screen to an area of the second screen; and
and adjusting the brightness of the display screen of the terminal equipment according to the area ratio.
Fig. 4 is a block diagram showing a specific structure of a terminal device according to an embodiment of the present invention, where the terminal device may be used to implement the brightness adjustment method of the terminal device provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Microwave Access (Microwave for Wireless), Max-1, and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be used to store software programs and modules, such as program instructions/modules corresponding to the terminal device brightness adjusting method in the foregoing embodiment, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of adjusting the brightness of the terminal device. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 320 may further include memory located remotely from processor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 4, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring a brightness control line;
acquiring a first point and a second point on the brightness control line;
judging whether the first point and the second point are located at the same position;
when the first point and the second point are judged to be located at different positions, connecting the first point and the second point to generate a brightness adjusting line;
judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment;
when the adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment, a first screen and a second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line;
calculating a ratio of an area of the first screen to an area of the second screen; and
and adjusting the brightness of the display screen of the terminal equipment according to the area ratio.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the methods for adjusting the brightness of the terminal device provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the terminal device brightness adjustment methods provided in the embodiments of the present invention, the beneficial effects that can be achieved by any of the terminal device brightness adjustment methods provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The principle and the implementation of the present invention are explained in the present text by applying specific examples, and the above description of the examples is only used to help understanding the technical solution and the core idea of the present invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A brightness adjusting method for terminal equipment is characterized by comprising the following steps:
acquiring a brightness control line;
acquiring a first point and a second point on the brightness control line;
judging whether the first point and the second point are located at the same position;
when the first point and the second point are judged to be located at different positions, connecting the first point and the second point to generate a brightness adjusting line;
judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment;
when the adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment, a first screen and a second screen are defined on the display screen of the terminal equipment according to the brightness adjusting line;
calculating a ratio of an area of the first screen to an area of the second screen; and
and adjusting the brightness of the display screen of the terminal equipment according to the area ratio.
2. The method for adjusting the brightness of a terminal device according to claim 1, wherein before the step of acquiring the brightness control line, further comprising the steps of:
judging whether a display screen of the terminal equipment is lightened;
and when the display screen of the terminal equipment is judged not to be lightened, lightening the display screen of the terminal equipment.
3. The method for adjusting the brightness of the terminal device according to claim 1, wherein the area of the first screen is smaller than or equal to the area of the second screen.
4. The method for adjusting brightness of a terminal device according to claim 1, further comprising, after the step of determining whether the first point and the second point are located at the same position, the steps of:
resetting the brightness control line when the first point and the second point are located at the same position.
5. A system for adjusting brightness of a terminal device, comprising:
a control line acquisition unit for acquiring a brightness control line;
the end point acquisition unit is connected with the control line acquisition unit and is used for acquiring a first point and a second point on the brightness control line;
an endpoint judging unit connected to the endpoint acquiring unit, the endpoint judging unit being configured to judge whether the first point and the second point are located at the same position;
the adjusting line generating unit is connected with the end point judging unit and used for connecting the first point and the second point to generate a brightness adjusting line when the first point and the second point are judged to be positioned at different positions;
the adjusting line judging unit is connected with the adjusting line generating unit and is used for judging whether the brightness adjusting line is superposed with any side of a display screen of the terminal equipment or not;
the display screen dividing unit is connected with the adjusting line judging unit and used for defining a first screen and a second screen for the display screen of the terminal equipment according to the brightness adjusting line when the brightness adjusting line is judged to be not overlapped with any side of the display screen of the terminal equipment;
the ratio calculation unit is connected with the display screen dividing unit and is used for calculating the ratio of the area of the first screen to the area of the second screen; and
and the brightness adjusting unit is connected with the ratio calculating unit and is used for adjusting the brightness of the display screen of the terminal equipment according to the brightness ratio.
6. The system for adjusting brightness of a terminal device according to claim 5, further comprising:
the display screen brightness judging unit is used for judging whether the display screen of the terminal equipment is lightened or not; and
and the display screen lighting unit is connected with the display screen brightness judging unit and used for lighting the display screen of the terminal equipment when judging that the display screen of the terminal equipment is not lighted.
7. The system for adjusting brightness of a terminal device according to claim 5, wherein an area of the first screen is equal to or smaller than an area of the second screen.
8. The system for adjusting brightness of a terminal device according to claim 5, further comprising:
and the control line resetting unit is connected with the endpoint judging unit and is used for resetting the brightness control line when the first point and the second point are positioned at the same position.
9. A computer-readable storage medium, wherein the storage medium has stored therein a plurality of instructions, the instructions being adapted to be loaded by a processor to execute the terminal device brightness adjustment method according to any one of claims 1 to 4.
10. A terminal device, comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the brightness adjustment method of the terminal device according to any one of claims 1 to 4.
CN201911316294.8A 2019-12-19 2019-12-19 Terminal equipment brightness adjusting method and system, storage medium and terminal equipment Pending CN111048056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911316294.8A CN111048056A (en) 2019-12-19 2019-12-19 Terminal equipment brightness adjusting method and system, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911316294.8A CN111048056A (en) 2019-12-19 2019-12-19 Terminal equipment brightness adjusting method and system, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN111048056A true CN111048056A (en) 2020-04-21

Family

ID=70237972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911316294.8A Pending CN111048056A (en) 2019-12-19 2019-12-19 Terminal equipment brightness adjusting method and system, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN111048056A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367425A (en) * 2020-10-22 2021-02-12 Tcl通讯(宁波)有限公司 Volume adjusting method and device and terminal

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1150734A (en) * 1995-09-08 1997-05-28 松下电器产业株式会社 Multi-screen image signal display device
US20030099407A1 (en) * 2001-11-29 2003-05-29 Yuki Matsushima Image processing apparatus, image processing method, computer program and storage medium
US20060029289A1 (en) * 2004-08-05 2006-02-09 Kabushiki Kaisha Toshiba Information processing apparatus and method for detecting scene change
CN101000754A (en) * 2006-01-10 2007-07-18 明基电通股份有限公司 Display Brightness Adjustment Method
US20080211829A1 (en) * 2004-08-31 2008-09-04 Yuh-Ren Shen Driving Device for Quickly Changing the Gray Level of the Liquid Crystal Display and its Driving Method
CN101432796A (en) * 2006-04-27 2009-05-13 索尼株式会社 Partition display quality control device, self-luminous display device, and computer program
JP2012256163A (en) * 2011-06-08 2012-12-27 Sharp Corp Image display device, and processing method, program and processor thereof
JP2013134335A (en) * 2011-12-26 2013-07-08 Sharp Corp Liquid crystal display device and liquid crystal television
CN103218990A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Method for adjusting screen brightness and terminal
US20130215480A1 (en) * 2012-02-20 2013-08-22 Pfu Limited Image processing apparatus, image processing system, image processing method and computer readable medium
CN104575445A (en) * 2013-10-29 2015-04-29 三星电子株式会社 Method and apparatus for controlling screen brightness in electronic device
CN105393297A (en) * 2013-06-17 2016-03-09 索尼公司 Image display control device, image display system, image display control method and program
US20160162241A1 (en) * 2014-12-03 2016-06-09 Samsung Electronics Co., Ltd. Method and electronic device for controlling display thereof
CN105760053A (en) * 2016-02-18 2016-07-13 联想(北京)有限公司 Information processing method and electronic equipment
CN106055263A (en) * 2016-06-13 2016-10-26 Tcl移动通信科技(宁波)有限公司 Control method and system for backlight setting of mobile terminal
CN109616081A (en) * 2018-11-30 2019-04-12 努比亚技术有限公司 Display lightness regulating method, flexible screen terminal and computer readable storage medium
CN109976654A (en) * 2019-03-21 2019-07-05 惠州Tcl移动通信有限公司 A kind of screen content method of adjustment, device, mobile terminal and storage medium
CN110223658A (en) * 2019-04-22 2019-09-10 北京集创北方科技股份有限公司 Method, apparatus, equipment and the display device of display brightness control

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1150734A (en) * 1995-09-08 1997-05-28 松下电器产业株式会社 Multi-screen image signal display device
US20030099407A1 (en) * 2001-11-29 2003-05-29 Yuki Matsushima Image processing apparatus, image processing method, computer program and storage medium
US20060029289A1 (en) * 2004-08-05 2006-02-09 Kabushiki Kaisha Toshiba Information processing apparatus and method for detecting scene change
US20080211829A1 (en) * 2004-08-31 2008-09-04 Yuh-Ren Shen Driving Device for Quickly Changing the Gray Level of the Liquid Crystal Display and its Driving Method
CN101000754A (en) * 2006-01-10 2007-07-18 明基电通股份有限公司 Display Brightness Adjustment Method
CN101432796A (en) * 2006-04-27 2009-05-13 索尼株式会社 Partition display quality control device, self-luminous display device, and computer program
JP2012256163A (en) * 2011-06-08 2012-12-27 Sharp Corp Image display device, and processing method, program and processor thereof
JP2013134335A (en) * 2011-12-26 2013-07-08 Sharp Corp Liquid crystal display device and liquid crystal television
US20130215480A1 (en) * 2012-02-20 2013-08-22 Pfu Limited Image processing apparatus, image processing system, image processing method and computer readable medium
CN103218990A (en) * 2013-03-29 2013-07-24 深圳市金立通信设备有限公司 Method for adjusting screen brightness and terminal
CN105393297A (en) * 2013-06-17 2016-03-09 索尼公司 Image display control device, image display system, image display control method and program
CN104575445A (en) * 2013-10-29 2015-04-29 三星电子株式会社 Method and apparatus for controlling screen brightness in electronic device
US20160162241A1 (en) * 2014-12-03 2016-06-09 Samsung Electronics Co., Ltd. Method and electronic device for controlling display thereof
CN105760053A (en) * 2016-02-18 2016-07-13 联想(北京)有限公司 Information processing method and electronic equipment
CN106055263A (en) * 2016-06-13 2016-10-26 Tcl移动通信科技(宁波)有限公司 Control method and system for backlight setting of mobile terminal
CN109616081A (en) * 2018-11-30 2019-04-12 努比亚技术有限公司 Display lightness regulating method, flexible screen terminal and computer readable storage medium
CN109976654A (en) * 2019-03-21 2019-07-05 惠州Tcl移动通信有限公司 A kind of screen content method of adjustment, device, mobile terminal and storage medium
CN110223658A (en) * 2019-04-22 2019-09-10 北京集创北方科技股份有限公司 Method, apparatus, equipment and the display device of display brightness control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367425A (en) * 2020-10-22 2021-02-12 Tcl通讯(宁波)有限公司 Volume adjusting method and device and terminal
CN112367425B (en) * 2020-10-22 2022-04-22 Tcl通讯(宁波)有限公司 Volume adjusting method and device and terminal

Similar Documents

Publication Publication Date Title
CN106373531A (en) Display brightness adjustment method and electronic device
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN106057213B (en) A kind of method and apparatus of display voice pitch data
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN114442346A (en) Ghost shadow calculation method and device of display panel, storage medium and terminal equipment
CN111596793B (en) Anti-misoperation method and system, storage medium and terminal equipment
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
CN110851014B (en) Touch recognition method and device, storage medium and terminal equipment
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN105262894B (en) The way of recording and device
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN111163223A (en) Flash lamp control method and device, storage medium and terminal equipment
CN111078428A (en) Remote control method and device, storage medium and terminal equipment
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN112486350A (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN111131614A (en) Method and system for preventing mistaken call answering of terminal equipment, storage medium and terminal equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN106354250B (en) A kind of method, apparatus and terminal that meter step parameter is set
CN111245911B (en) Network transmission method and system, storage medium and terminal equipment
CN111026486B (en) Application sorting method, application sorting device and computer readable storage medium
CN111327817B (en) Virtual photographing method and system, storage medium and terminal equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421