WO2019056241A1 - 智能终端的唤醒方法、唤醒装置以及智能终端 - Google Patents

智能终端的唤醒方法、唤醒装置以及智能终端 Download PDF

Info

Publication number
WO2019056241A1
WO2019056241A1 PCT/CN2017/102590 CN2017102590W WO2019056241A1 WO 2019056241 A1 WO2019056241 A1 WO 2019056241A1 CN 2017102590 W CN2017102590 W CN 2017102590W WO 2019056241 A1 WO2019056241 A1 WO 2019056241A1
Authority
WO
WIPO (PCT)
Prior art keywords
wake
liquid crystal
crystal display
command
module
Prior art date
Application number
PCT/CN2017/102590
Other languages
English (en)
French (fr)
Inventor
叶智军
高启杰
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/102590 priority Critical patent/WO2019056241A1/zh
Priority to CN201780095116.XA priority patent/CN111149089B/zh
Publication of WO2019056241A1 publication Critical patent/WO2019056241A1/zh

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the invention relates to a wake-up method, a wake-up device and an intelligent terminal of an intelligent terminal.
  • the liquid crystal display is the main power-consuming component. In order to make the handheld electronic products have better endurance, it is not necessary to watch the LCD.
  • the liquid crystal display can be hibernated, that is, the system controls the brightness of the backlight of the liquid crystal display by calling the backlight driving function, so that the brightness of the backlight of the liquid crystal display is adjusted from the current brightness to the darkest to enter the sleep state. At this time, the power consumption of the liquid crystal display is the lowest.
  • the system calls to control the brightness of the LCD backlight, so that the brightness of the LCD backlight is adjusted from the darkest to the brightness before sleep. To exit the hibernation state.
  • the current general wake-up process of the mobile phone is: after receiving the wake-up signal, the liquid crystal display module performs a power-on initialization operation, obtains initial parameters, first executes a wake-up command in the initial parameter, and after the wake-up command is executed, and then The liquid crystal display open command in the initial parameter is executed, then the system call is performed, and finally the backlight wake-up operation is performed to complete the wake-up of the liquid crystal display module.
  • the above operation is a single-threaded operation mode.
  • the biggest drawback of this mode is "etc.”, which can be asynchronous, and must be connected in series, one by one, etc., because it is limited to the linear mode, even if there is no time in the middle.
  • the wake-up time will not be much improved, significantly reducing the wake-up speed, especially in the acquisition of the initial parameters, because of the timing requirements of the integrated circuit IC, wake-up command parameters need to wait for a period of time to make the parameters effective, especially In the case that the waiting time is 70, 80 or even hundreds of milliseconds, it will obviously slow down the overall wake-up speed and reduce the user experience.
  • the invention provides a wake-up method, a wake-up device and an intelligent terminal of an intelligent terminal, which can change the parameter reading of the wake-up process of the liquid crystal display module of the smart terminal from single-thread execution to multi-thread asynchronous execution, and can control the delay time more accurately. At the same time, it greatly reduces the waiting time for the command to take effect, greatly optimizing the wake-up time and improving the user experience.
  • the present invention provides a wake-up method for an intelligent terminal. After receiving a wake-up signal, the liquid crystal display module sequentially performs a liquid crystal display wake-up operation and a backlight wake-up operation. When the liquid crystal display wake-up operation is performed, the wake-up command is first executed. The liquid crystal display module exits the sleep mode. When the wake-up command takes effect, the system call is made. While waiting for the wake-up command to take effect, the asynchronous timer is called to execute the liquid crystal display open command, and finally the liquid crystal display wake-up operation is completed.
  • the method for waking up the smart terminal includes the following steps:
  • Step S0 the controller sets an asynchronous timer
  • Step S1 the controller determines whether a wake-up signal is received, and if so, proceeds to step S2;
  • Step S2 The liquid crystal display module performs a power-on initialization operation to obtain initial parameters.
  • Step S3 The controller executes a wake-up command in the initial parameter to cause the liquid crystal display module to exit the sleep mode;
  • Step S4 After the wake-up command takes effect, the controller performs a system call, and while waiting for the wake-up command to take effect, the controller calls the asynchronous timer to execute the liquid crystal display open command in the initial parameter;
  • Step S5 The controller performs a backlight wake-up operation to complete the wake-up of the liquid crystal display module.
  • the step S2 includes the following steps:
  • Step S2.1 the liquid crystal display module is powered on, and the hardware is reset;
  • Step S2.2 Obtain an initial parameter and perform an initialization operation.
  • the initial parameters include: wake-up command parameters, liquid crystal display open command parameters, liquid crystal display module driving voltage, display Gamma parameters.
  • step S3 the controller calls the wake-up function to execute the wake-up command parameter in the initial parameter, and after the wake-up command takes effect, the wake-up command operation is completed.
  • the step S4 includes the following steps:
  • Step S4.1 the controller calls the asynchronous timer, sets the timing time, and after reaching the timing time, proceeds to step S4.2, and in the timing of the asynchronous timer, the synchronization proceeds to step S4.3;
  • Step S4.2 the controller performs a system call, and proceeds to step S5;
  • Step S4.3 the asynchronous timer calls the liquid crystal display module to open the function to execute the liquid crystal display open command in the initial parameter;
  • Step S4.4 After the liquid crystal display open command is valid, the execution completion signal is sent to the controller, and step S5 is performed.
  • the step S5 includes the following steps:
  • Step S5.1 the controller determines whether the execution completion signal sent by the asynchronous timer is received, and if yes, proceeds to step S5.2;
  • Step S5.2 The controller invokes the backlight wake-up function to perform a backlight wake-up operation.
  • the invention also provides a wake-up device for an intelligent terminal, comprising:
  • a wake-up signal triggering module for issuing a wake-up signal
  • a wake-up signal judging module configured to determine whether a wake-up signal is received
  • a parameter acquisition module configured to acquire an initial parameter
  • Wake up a command execution module which is used to invoke a wakeup function to execute a wakeup command
  • An asynchronous timer that is used to set an asynchronous execution thread
  • the liquid crystal display opens a command execution module, which is used to invoke the liquid crystal display module open function to execute the liquid crystal display open command;
  • a system call module for making system calls
  • the execution completion signal judging module is configured to judge whether the execution completion signal is received
  • a backlight wake-up module for invoking a backlight wake-up function to perform a backlight wake-up operation.
  • the invention also provides an intelligent terminal comprising the wake-up device.
  • the invention adopts a timer to change the parameter reading of the wake-up process of the liquid crystal display module of the intelligent terminal from single-thread execution to multi-thread asynchronous execution, which can more precisely control the delay time and greatly reduce the waiting time of the command effective.
  • the earth optimizes the wake-up time and improves the user experience.
  • FIG. 1 is a flow chart of a wake-up method of a smart terminal in the background art.
  • FIG. 2 is a flow chart of a wake-up method of a smart terminal provided by the present invention.
  • FIG. 3 is a detailed flowchart of a wake-up method of a smart terminal provided by the present invention.
  • FIG. 4 is a schematic structural diagram of a wake-up device of an intelligent terminal according to the present invention.
  • the smart terminal of the present invention is an intelligent terminal having a liquid crystal display module (LCM), which can be, but is not limited to, a mobile phone, a tablet computer, an audio and video player, a handheld game machine, and a multimedia LCD TV. Wait.
  • LCD liquid crystal display module
  • the liquid crystal display module LCM is a component for assembling a liquid crystal display LCD, a connector, a controller, a driving circuit, a PCB circuit board, a backlight, and a structural member, and mainly completes a connection function of the liquid crystal display.
  • the liquid crystal display module is divided into several categories: a digital display liquid crystal module, a liquid crystal dot matrix character module and a dot matrix graphic liquid crystal module.
  • the digital display liquid crystal module is a functional component assembled from a segment type liquid crystal display device and a dedicated integrated circuit, and can only display numbers and some identification symbols. Segment type liquid crystal display devices are mostly used in portable, pocket devices. Due to the small size of the device, the display part is not designed as a separate component as much as possible. Even if some application areas require a separate display component, it should have some information reception, processing, and storage transfer in addition to the display function. Such functions are welcomed by the market because of their general purpose and specific functions.
  • the common digital display LCD modules are as follows. 1. Counting module, which is a counting display component assembled by a seven-segment type liquid crystal display device and a decoding driver of different numbers of bits, or a counter.
  • the unit liquid crystal display device display module, and the integrated circuit of the ICM72ll, ICM7231, ICM7232, CDl4543, UPDl45001, HD44100 and the corresponding matching liquid crystal display device are assembled into 4, 6, 8, 10, 12, 12, 16 Bit count module.
  • Metering module, metering module is a module with multi-segment liquid crystal display device and integrated circuit chip with decoding, driving, counting and A/D conversion functions. Since the integrated circuit used has an A/D conversion function, the input analog electric signal can be converted into a digital display.
  • the integrated circuit models used in the metering module mainly include ICL7106, ICL7116, ICL7126, ICL7136, ICL7135, ICL7129, etc.
  • the functions and characteristics of these integrated circuits determine the functions and characteristics of the metering module.
  • measurement and identification must be carried out according to regulations. Approved by the metrology department, a measurement certificate is attached to the product. 3.
  • Timing module uses the liquid crystal display device for the longest time history, and assembling a liquid crystal display device with a timing integrated circuit is a fully functional timer. Since it does not have the outer casing of the finished watch, it is called a timing module. Although the timing module is very versatile, the general-purpose and standard-type timing modules are difficult to buy on the market. Only the electronic watch manufacturers can purchase or order the appropriate watch movements. Although the timing module and the counting module have similar appearances, However, they are displayed in different ways. The number displayed by the timing module is composed of two-digit numbers. The digits of the counting module are consecutively arranged. Since many timing modules also have timing and control functions, such modules can be widely assembled to some power-up and equipment, such as tape recorders, CD players, microwave ovens, rice cookers and other electrical appliances.
  • the liquid crystal dot matrix character module is assembled by a dot matrix character liquid crystal display device and a dedicated row and column driver, a controller and necessary connecting members, and structural components, and can display digital and western characters.
  • the dot matrix character module itself has a character generator, and has a large display capacity and a rich function.
  • the module can display characters of 8 bits, 1 line or 16 bits and more lines at least.
  • the lattice arrangement of such a module is composed of a group arrangement of pixel arrays of 5 x 7, 5 x 8, or 5 x 11. Each group is 1 bit, each bit has a little interval, and there is a line interval between each line, so the graphic cannot be displayed.
  • the character library CGROM with the 192 character font has been solidified in the module control and the driver, and also has The user-defined random access memory CGRAM that creates dedicated characters allows the user to create eight 5 x 8 dot matrix characters.
  • the dot matrix graphic liquid crystal module is also a kind of dot matrix module, which is characterized in that dot matrix pixels are continuously arranged. Rows and columns are not spaced apart in the arrangement. Therefore, a continuous, complete graphic can be displayed. Since it is also composed of X-Y matrix pixels, characters can be displayed in addition to the display graphics.
  • the liquid crystal display module LCM has the following main parameters:
  • resolution is a very important performance indicator. It refers to the number of points that can be displayed in the horizontal and vertical directions on the screen (the lines and faces displayed on the screen are all made up of dots). The higher the resolution, the more information can be accommodated in the same screen.
  • 320 ⁇ 240 and 1280 ⁇ 1024 resolutions can be perfectly represented (because the electron beam can be elastically adjusted).
  • its maximum resolution is not necessarily the most suitable resolution, because if the resolution is 1280 ⁇ 1024 on a 17-inch display, the font of WINDOWS will be very small, and the eyes will be easily fatigued after a long time, so the best of the 17-inch display.
  • the resolution should be 1024 x 768.
  • the control integrated circuit IC, filter and orientation film used in the manufacture of the LCD panel are related to the contrast of the panel.
  • the contrast ratio of 350:1 is sufficient, but in the professional field. This contrast ratio is not enough to meet the needs of users.
  • Relative to CRT displays easily reach a contrast ratio of 500:1 or higher. Only high-end LCD monitors can achieve this level.
  • Signal response time, response time refers to the reaction speed of the liquid crystal display to the input signal, that is, the reaction time of the liquid crystal from dark to bright or from bright to dark, usually in milliseconds (ms).
  • ms milliseconds
  • the time displayed on each screen needs to be less than 40ms.
  • the response time of 40ms becomes a hurdle, and the display of less than 40ms will have obvious "tailing” or "afterimage” phenomenon, which makes people feel chaotic. If you want the image to be smooth, you need to achieve 60 frames per second.
  • viewing angle, the viewing angle of the liquid crystal is a headache
  • the output light has a directionality. That is to say, most of the light is emitted vertically from the screen, so when you look at the LCD monitor from a large angle, you can't see the original color, or even see all white or all black.
  • the electronic device with the liquid crystal display in the embodiment is described by taking the mobile phone as an example.
  • the method for waking up the liquid crystal display of other types of electronic devices is the same as or similar to the method for waking up the liquid crystal display of the mobile phone, and details are not described herein.
  • the LCD wake-up operation and the backlight wake-up operation mean that the system sequentially calls the LCD wake-up function and the backlight wake-up function, and the system wakes up the LCD and the backlight by executing the LCD wake-up function and the backlight wake-up function, where the LCD wake-up refers to driving. Under the driving of the voltage, the LCD recovers from the sleep state, and the image to be displayed can be normally displayed.
  • the backlight wake-up means that the backlight can be illuminated.
  • the invention provides a wake-up method for an intelligent terminal, and the main idea is to optimize a single-thread synchronous operation in a wake-up process of a mobile phone to multi-thread asynchronous operation.
  • Multithreading is to "maximize the use of CPU resources.” Each program executes a process that executes, and each process must have at least one main thread. This thread is actually a clue to the execution of the process. In addition to the main thread, you can add other threads to the process, that is, add other The execution clues can be seen to some extent as adding multitasking to an application. When the program is run, these threads can be suspended or run according to various conditions, especially in a multi-CPU environment where these threads run concurrently. Multithreading is the process of having multiple threads within a single process. This allows an application to have multitasking capabilities.
  • Multi-process technology can also achieve this, but the high consumption of the creation process (each process has independent data and code space), the inconvenience of communication between processes (message mechanism), the process switching time is too long, which leads to Multi-threaded, for a single CPU (without hyperthreading enabled), only one thread can be executed at a time, so if you want to implement multitasking, then you can only get one time slice per process or thread. Within a time slice, only one thread can execute, and then execute according to some strategy for other threads. Since the time slice is very short, this gives the user the feeling that there are many threads executing at the same time. However, thread switching has a price, so if you use multiple processes, you need to switch the memory required by the process to which the thread belongs.
  • Thread switching costs are minimal, and threads can share memory. So using multithreading spends much less on switching than on multiple processes. However, thread switching still takes time, so using a process with two threads takes more time to execute than a thread's process. That is, using multiple threads will not increase the execution speed of the program, but will reduce the speed, but for the user, the response time of the user can be reduced.
  • the above results are only for a single CPU. If multi-threading is used for multiple CPUs or CPUs, multi-threading technology will improve the execution speed of the program. Because single-threading is only mapped to one CPU, and multi-threading is mapped to multiple CPUs, hyper-threading technology is essentially multi-threaded hardware, so it will speed up the execution of the program.
  • the present invention provides a wake-up method for an intelligent terminal, which includes the following steps:
  • Step S0 the controller sets an asynchronous timer
  • Step S1 the controller determines whether a wake-up signal is received, and if so, proceeds to step S2;
  • Step S2 The liquid crystal display module performs a power-on initialization operation to obtain initial parameters.
  • Step S3 The controller executes a wake-up command in the initial parameter to cause the liquid crystal display module to exit the sleep mode;
  • Step S4 After the wake-up command takes effect, the controller performs a system call, and while waiting for the wake-up command to take effect, the controller calls the asynchronous timer to execute the liquid crystal display open command in the initial parameter;
  • Step S5 The controller performs a backlight wake-up operation to complete the wake-up of the liquid crystal display module.
  • step S2 specifically includes the following steps:
  • Step S2.1 the liquid crystal display module is powered on, and the hardware is reset;
  • Step S2.2 Obtain an initial parameter and perform an initialization operation.
  • the initial parameters mainly include: wake-up command parameters, liquid crystal display open command parameters, liquid crystal display module driving voltage, display Gamma parameters, and the like.
  • the wake-up command parameter corresponds to a sleep command parameter (sleep in command)
  • the wake-up command parameter is used to cause the liquid crystal display module to exit the sleep mode
  • the initial parameter setting is validated
  • the integrated circuit is internally boosted.
  • the liquid crystal display open command parameter corresponds to a liquid crystal display module close command parameter (display off command), and the liquid crystal display open command parameter is used to open the liquid crystal display LCD.
  • the display Gamma parameters are a fairly common and important concept in input and output devices such as displays, scanners, printers and the like.
  • the Gamma curve is a special tone curve. When the gamma value is equal to 1, the curve is a line at 45° to the coordinate axis. This time indicates that the input and output densities are the same. A gamma value above 1 will cause the output to illuminate, and a gamma value below 1 will cause the output to darken.
  • the input and output ratios are required to be as close as possible to 1.
  • step S3 the controller calls the wake-up function to execute the wake-up command parameter in the initial parameter, and after the wake-up command takes effect, the wake-up command operation is completed.
  • the step S4 includes the following steps:
  • Step S4.1 The controller calls the asynchronous timer to set the timing time (in this embodiment, the timing time can be set to 80 ms), and after the timing time is reached, step S4.2 is performed, and the asynchronous timer is in the timing process. , step S4.3 is performed synchronously;
  • Step S4.2 the controller performs a system call, and proceeds to step S5;
  • Step S4.3 the asynchronous timer calls the liquid crystal display module to open the function to execute the liquid crystal display open command in the initial parameter;
  • Step S4.4 After the liquid crystal display open command is valid, the execution completion signal is sent to the controller, and step S5 is performed.
  • the step S5 includes the following steps:
  • Step S5.1 The controller determines whether the execution completion signal sent by the asynchronous timer is received, and if yes, Going to step S5.2;
  • Step S5.2 The controller invokes the backlight wake-up function to perform a backlight wake-up operation.
  • the present invention further provides a wake-up device of an intelligent terminal, which is implemented by a controller in a liquid crystal display module, and the wake-up device specifically includes:
  • the wake-up signal triggers module 0, which is used to issue a wake-up signal
  • the wake-up signal determining module 1 is configured to determine whether a wake-up signal is received
  • a parameter acquisition module 2 configured to acquire initial parameters
  • Wake up a command execution module 3 which is used to invoke a wakeup function to execute a wakeup command
  • Asynchronous timer 4 which is used to set an asynchronous execution thread
  • the liquid crystal display is turned on by the command execution module 5, which is used to invoke the liquid crystal display module to open the function to execute the liquid crystal display open command;
  • the execution completion signal judging module 7 is configured to determine whether an execution completion signal is received
  • the backlight wake-up module 8 is configured to invoke a backlight wake-up function to perform a backlight wake-up operation.
  • the controller can adopt a microprogram controller MCU.
  • the present invention also provides an intelligent terminal, the smart terminal includes a wake-up device, and the wake-up device further includes:
  • a wake-up signal triggering module for issuing a wake-up signal
  • a wake-up signal judging module configured to determine whether a wake-up signal is received
  • a parameter acquisition module configured to acquire an initial parameter
  • Wake up a command execution module which is used to invoke a wakeup function to execute a wakeup command
  • An asynchronous timer that is used to set an asynchronous execution thread
  • the liquid crystal display opens a command execution module, which is used to invoke the liquid crystal display module open function to execute the liquid crystal display open command;
  • a system call module for making system calls
  • the execution completion signal judging module is configured to judge whether the execution completion signal is received
  • a backlight wake-up module for invoking a backlight wake-up function to perform a backlight wake-up operation.
  • the controller can adopt a microprogram controller MCU.
  • the wake-up signal triggering module issues a wake-up signal by detecting a change in acceleration of the handset.
  • G-sensor (Gravity-sensor) can sense the addition The change of speed force, various acceleration force changes can be converted into electrical signals by G-sensor, and then through the calculation and analysis of the microprocessor, the programmed function can be completed.
  • G-sensor has become the standard for smart phones.
  • G-sensor in mobile phones is mainly used to judge the horizontal and vertical screens of mobile phones, and to play some small games with control directions. It needs to work in the active ACTIVE state of mobile phones, and read them in real time by query. Take the value of G-sensor and judge the change of the value to determine whether the screen is flipped.
  • the real-time query mode is also adopted.
  • the query frequency is higher, so that the gesture of the mobile phone can be detected in a short time.
  • the changes thus smooth the direction of the game.
  • G-sensor detects the acceleration of the mobile phone in real time. When it detects that the acceleration force changes, it triggers an interrupt and generates a wake-up signal.
  • the liquid crystal display module After the wake-up signal judgment module determines that the wake-up signal is received, the liquid crystal display module performs a power-on initialization operation, the parameter acquisition module acquires an initial parameter, and the wake-up command execution module invokes the wake-up function to execute the wake-up command parameter in the initial parameter, and after the wake-up command takes effect,
  • the wake-up command operation is completed, the liquid crystal display module is exited from the sleep mode, the asynchronous timer is called to execute the asynchronous thread, and the asynchronous timer is set to the time of 80 ms. After the timed time is reached, the system calls the module to make a system call, in the timing process of the asynchronous timer.
  • the liquid crystal display open command execution module synchronously invokes the liquid crystal display module to open the function to execute the liquid crystal display open command, and after the liquid crystal display open command is valid, the execution completion signal is sent, and after the execution completion signal judgment module determines that the execution completion signal is received, the backlight wake-up module calls the backlight.
  • the wakeup function performs a backlight wakeup operation.
  • the wake-up signal triggering module issues a wake-up signal by detecting a change in distance between the handset and the user.
  • the wake-up signal triggering module comprises: a proximity sensor and a proximity determiner, the proximity sensor is used for generating a sensor signal, and the proximity determiner is connected with the proximity sensor for analyzing and processing the received sensor signal to determine whether an object is close, when it is determined that there is When the object is approaching, the proximity signal is output to bring the mobile phone from the sleep state to the normal working state.
  • the proximity sensor can be one of a capacitive sensor, an inductive sensor, a magnetic sensor, a light sensor, an acoustic sensor, an angle sensor, or any combination thereof.
  • the liquid crystal display module After the wake-up signal judgment module determines that the wake-up signal is received, the liquid crystal display module performs a power-on initialization operation, the parameter acquisition module acquires an initial parameter, and the wake-up command execution module invokes the wake-up function to execute the wake-up command parameter in the initial parameter, and after the wake-up command takes effect,
  • the wake-up command operation is completed, the liquid crystal display module is exited from the sleep mode, the asynchronous timer is called to execute the asynchronous thread, and the asynchronous timer is set to the time of 90 ms. After the timed time is reached, the system calls the module to make a system call, and the asynchronous timing is performed.
  • the liquid crystal display starts the command execution module to synchronously invoke the liquid crystal display module to open the function to execute the liquid crystal display open command, and after the liquid crystal display open command takes effect, the execution completion signal is sent, and after the execution completion signal judgment module determines that the execution completion signal is received,
  • the backlight wake-up module invokes a backlight wake-up function to perform a backlight wake-up operation.
  • the wake-up signal trigger module issues a wake-up signal by detecting temperature and humidity changes around the handset.
  • the wake-up signal triggering module comprises: a temperature sensor, a humidity sensor and a microprocessor, and the temperature and humidity of the user's incoming gas are obtained through the temperature sensor and the humidity sensor, and are correspondingly sent to the microprocessor, and the microprocessor corresponds to the adjustment.
  • the temperature sensing threshold and the humidity sensing threshold in the memory are compared with the obtained temperature and humidity, and a wake-up signal is generated according to the comparison result.
  • the liquid crystal display module After the wake-up signal judgment module determines that the wake-up signal is received, the liquid crystal display module performs a power-on initialization operation, the parameter acquisition module acquires an initial parameter, and the wake-up command execution module invokes the wake-up function to execute the wake-up command parameter in the initial parameter, and after the wake-up command takes effect,
  • the wake-up command operation is completed, the liquid crystal display module is exited from the sleep mode, the asynchronous timer is called to execute the asynchronous thread, and the asynchronous timer is set to the time limit of 85 ms. After the timed time is reached, the system calls the module to make a system call, in the timing process of the asynchronous timer.
  • the liquid crystal display open command execution module synchronously invokes the liquid crystal display module to open the function to execute the liquid crystal display open command, and after the liquid crystal display open command is valid, the execution completion signal is sent, and after the execution completion signal judgment module determines that the execution completion signal is received, the backlight wake-up module calls the backlight.
  • the wakeup function performs a backlight wakeup operation.
  • the invention adopts a timer to change the parameter reading of the wake-up process of the liquid crystal display module of the intelligent terminal from single-thread execution to multi-thread asynchronous execution, which can more precisely control the delay time and greatly reduce the waiting time of the command effective.
  • the earth optimizes the wake-up time (conservative estimates can be compressed to 60ms), improving the user experience.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product that can be stored in a storage medium (such as ROM/RAM, disk).
  • the optical disc includes a plurality of instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种智能终端的唤醒方法、唤醒装置以及智能终端,液晶显示模块在接收到唤醒信号后,依次执行液晶显示器唤醒操作和背光唤醒操作,在进行液晶显示器唤醒操作时,首先执行唤醒命令使液晶显示模块退出休眠模式,当唤醒命令生效后,进行系统调用,在等待唤醒命令生效的同时,调用异步定时器执行液晶显示器开启命令,最终完成液晶显示器唤醒操作。本发明将智能终端的液晶显示模块的唤醒过程的参数读取从单线程执行变为多线程异步执行,可以更精准地控制延时时间,同时大大压缩了命令生效的等待时间,极大地优化了唤醒时间,提高了用户体验。

Description

智能终端的唤醒方法、唤醒装置以及智能终端 技术领域
本发明涉及一种智能终端的唤醒方法、唤醒装置以及智能终端。
背景技术
现有的电子、电气等产品(例如手机、笔记本电脑、多媒体液晶电视、数控机床等)几乎均具有液晶显示屏,通过液晶显示屏可以方便直观的对电子、电气产品进行操作。
对于手持类电子产品,例如手机、平板电脑等均采用电池进行供电,其液晶显示屏是主要的耗电部件,为了使手持类电子产品具有较好的续航能力,则在不需要观看液晶显示屏的显示内容时,可以使液晶显示屏进行休眠,即系统通过调用背光驱动函数来控制液晶显示屏背光灯的亮度,使液晶显示屏背光灯的亮度从当前亮度调节到最暗,以进入休眠状态,此时,液晶显示屏的耗电量为最低。在需要观看液晶显示屏的显示内容时,需要对液晶显示屏进行唤醒,此时,系统调用控制液晶显示屏背光灯的亮度,使液晶显示屏背光灯的亮度由最暗调节到休眠前的亮度,以退出休眠状态。
随着第三代移动通信技术(3rd-generation,3G)网络的推广,智能终端上网速度越来越快,大量的应用也应运而生。智能终端在很多功能上已经可以代替个人电脑来完成。智能终端在为用户带来越来越多的功能体验的同时,也带来了耗电速度越来越快的弊端。
随着智能手机越来越普及,如今的手机市场已成了买家市场,一款手机要如何吸引到消费者的眼光,关键在于性能与体验。性能由硬件配置决定,而硬件配置决定价位,要想在同一个价位上打败竞争对手,就需要相对较好的软件体验。很少有消费者会关注到液晶屏休眠唤醒的速度,但是,如果把几部手机放在一块进行比较,唤醒速度慢的机子会明显令消费者产生一个迟滞感,这样就给消费者留下一个印象:这款手机比较卡。所以,手机的唤醒速度不可小觑。
如图1所示,目前通用的手机唤醒流程为:收到唤醒信号后,液晶显示模块进行上电初始化操作,获得初始参数,先执行初始参数中的唤醒命令,等唤醒命令执行完毕后,再执行初始参数中的液晶显示器开启命令,接着进行系统调用,最后进行背光唤醒操作,完成液晶显示模块的唤醒。上述操作为一条单线程操作模式,该模式的最大的缺陷就是“等”,原本可以异步的操作,非要串联在一起,一个接一个地等,因为限于该线性模式,中间的时间即使再怎么压缩,对唤醒时间也不会有多大改善,明显降低了唤醒速度,尤其是在获得初始参数这一块,因为集成电路IC的时序要求,唤醒命令参数下完后需要等一段时间使参数生效,尤其是在该等待时间为70、80甚至上百毫秒的情况下,明显会拖慢整体的唤醒速度,降低用户的体验。
发明的公开
本发明提供一种智能终端的唤醒方法、唤醒装置以及智能终端,将智能终端的液晶显示模块的唤醒过程的参数读取从单线程执行变为多线程异步执行,可以更精准地控制延时时间,同时大大压缩了命令生效的等待时间,极大地优化了唤醒时间,提高了用户体验。
为了达到上述目的,本发明提供一种智能终端的唤醒方法,液晶显示模块在接收到唤醒信号后,依次执行液晶显示器唤醒操作和背光唤醒操作,在进行液晶显示器唤醒操作时,首先执行唤醒命令使液晶显示模块退出休眠模式,当唤醒命令生效后,进行系统调用,在等待唤醒命令生效的同时,调用异步定时器执行液晶显示器开启命令,最终完成液晶显示器唤醒操作。
所述的智能终端的唤醒方法包含以下步骤:
步骤S0、控制器设置异步定时器;
步骤S1、控制器判断是否收到唤醒信号,若是,进行步骤S2;
步骤S2、液晶显示模块进行上电初始化操作,获得初始参数;
步骤S3、控制器执行初始参数中的唤醒命令,使液晶显示模块退出休眠模式;
步骤S4、唤醒命令生效后,控制器进行系统调用,在等待唤醒命令生效的同时,控制器调用异步定时器执行初始参数中的液晶显示器开启命令;
步骤S5、控制器进行背光唤醒操作,完成液晶显示模块的唤醒。
所述的步骤S2具体包含以下步骤:
步骤S2.1、液晶显示模块上电,硬件复位;
步骤S2.2、获取初始参数,进行初始化操作。
所述的初始参数包含:唤醒命令参数、液晶显示器开启命令参数、液晶显示模块驱动电压、显示器Gamma参数。
所述的步骤S3中,控制器调用唤醒函数执行初始参数中的唤醒命令参数,待唤醒命令生效后,即完成唤醒命令操作。
所述的步骤S4具体包含以下步骤:
步骤S4.1、控制器调用异步定时器,设定定时时间,到达定时时间后,进行步骤S4.2,在异步定时器的定时过程中,同步进行步骤S4.3;
步骤S4.2、控制器进行系统调用,进行步骤S5;
步骤S4.3、异步定时器调用液晶显示模块开启函数执行初始参数中的液晶显示器开启命令;
步骤S4.4、液晶显示器开启命令生效后,发送执行完毕信号给控制器,进行步骤S5。
所述的步骤S5具体包含以下步骤:
步骤S5.1、控制器判断是否收到异步定时器发送的执行完毕信号,若是,进行步骤S5.2;
步骤S5.2、控制器调用背光唤醒函数执行背光唤醒操作。
本发明还提供一种智能终端的唤醒装置,包含:
唤醒信号触发模块,其用于发出唤醒信号;
唤醒信号判断模块,其用于判断是否收到唤醒信号;
参数获取模块,其用于获取初始参数;
唤醒命令执行模块,其用于调用唤醒函数执行唤醒命令;
异步定时器,其用于设置异步执行线程;
液晶显示器开启命令执行模块,其用于调用液晶显示模块开启函数执行液晶显示器开启命令;
系统调用模块,其用于进行系统调用;
执行完毕信号判断模块,其用于判断是否收到执行完毕信号;
背光唤醒模块,其用于调用背光唤醒函数执行背光唤醒操作。
本发明还提供一种智能终端,该智能终端包含所述的唤醒装置。
本发明采用定时器将智能终端的液晶显示模块的唤醒过程的参数读取从单线程执行变为多线程异步执行,可以更精准地控制延时时间,同时大大压缩了命令生效的等待时间,极大地优化了唤醒时间,提高了用户体验。
附图的简要说明
图1是背景技术中智能终端的唤醒方法的流程图。
图2是本发明提供的一种智能终端的唤醒方法的流程图。
图3是本发明提供的一种智能终端的唤醒方法的详细流程图。
图4是本发明提供的一种智能终端的唤醒装置的结构示意图。
实现本发明的最佳方式
以下根据图2~图4,具体说明本发明的较佳实施例。
本发明所述的智能终端是具有液晶显示模块(Liquid Crystal Display Module,简称LCM)的智能终端,该智能终端可以但不局限于手机、平板电脑、音视频播放器、手持游戏机、多媒体液晶电视等。
液晶显示模块LCM是一种将液晶显示器LCD、连接件、控制器、驱动电路、PCB线路板、背光源、结构件装配在一起的组件,主要完成液晶显示器的连接功能。
液晶显示模块分为数显液晶模块、液晶点阵字符模块和点阵图形液晶模块几种类别。
数显液晶模块是一种由段型液晶显示器件与专用的集成电路组装成一体的功能部件,只能显示数字和一些标识符号。段型液晶显示器件大多应用在便携、袖珍设备上。由于设备体积小,所以尽可能不将显示部分设计成单独的部件,即使一些应用领域需要单独的显示组件,那么也应该使其除具有显示功能外,还应具有一些信息接收、处理、存储传递等功能,由于它们具有某种通用的、特定的功能而受市场的欢迎。常见的数显液晶显示模块有以下几种。1.计数模块,这是一种由不同位数的七段型液晶显示器件与译码驱动器,或再加上计数器装配成的计数显示部件。它具有记录、处理、显示数字的功能。目前我国市场上能够见到的主要产品有由CD4055译码驱动器驱动 的单位液晶显示器件显示模块,以及由ICM72ll,ICM7231,ICM7232,CDl4543,UPDl45001,HD44100等集成电路与相应配套的液晶显示器件组装成的4位、6位、8位、10位、12位、16位计数模块。2.计量模块,计量模块是一种有多位段型液晶显示器件和具有译码、驱动、计数、A/D转换功能的集成电路片组装而成的模块。由于所用的集成电路中具有A/D转换功能,所以可以将输入的模拟量电信号转换成数字量显示出来。我们知道任何物理量,甚至化学量(如酸碱度等)都可以转换为模拟电量,所以只要配上一定的传感器,这种模块就可以实现任何量值的调量和显示,使用起来十分方便。计量模块所用的集成电路型号主要有ICL7106、ICL7116、ICL7126、ICL7136、ICL7135、ICL7129等,这些集成电路的功能、特性决定了计量模块的功能和特性。作为计量产品,按规定必须进行计量鉴定。经计量部门批准在产品上贴有计量合格证。3.计时模块,计时模块将液晶显示器件用于计时历史最久,将一个液晶显示器件与一块计时集成电路装配在一起就是一个功能完整的计时器。由于它没有成品钟表的外壳,所以称之为计时模块。计时模块虽然用途很广,但通用、标准型的计时模块却很难在市场上买到,只能到电子钟表生产厂家去选购或定购合适的表芯,计时模块和计数模块虽然外观相似,但它们的显示方式不同,计时模块显示的数字是由两位一组的数字组成的.而计数模块每位数字均是连续排列的。由于不少计时模块还具有定时、控制功能,因此这类模块可广泛装配到一些加电、设备上,如收录机、CD机、微波炉、电饭煲等电器上。
液晶点阵字符模块是由点阵字符液晶显示器件和专用的行、列驱动器、控制器及必要的连接件,结构件装配而成的,可以显示数字和西文字符。这种点阵字符模块本身具有字符发生器,显示容量大,功能丰富。一般该种模块最少也可以显示8位1行或16位l行以上的字符。这种模块的点阵排列是由5×7、5×8或5×11的一组组像素点阵排列组成的。每组为1位,每位间有一点的间隔,每行间也有一行的间隔,所以不能显示图形,一般在模块控制、驱动器内具有已固化好192个字符字模的字符库CGROM,还具有让用户自定义建立专用字符的随机存储器CGRAM,允许用户建立8个5×8点阵的字符。
点阵图形液晶模块也是点阵模块的一种,其特点是点阵像素连续排列, 行和列在排布中均没有空隔。因此可以显示了连续、完整的图形。由于它也是有X-Y矩阵像素构成的,所以除显示图形外,也可以显示字符。主要有以下几种类型:1.行、列驱动型;2.行、列驱动-控制型;3.行、列控制型。
液晶显示模块LCM具有以下主要参数:
1、分辨率,分辨率是一个非常重要的性能指标。它指的是屏幕上水平和垂直方向所能够显示的点数(屏幕上显示的线和面都是由点构成的)的多少,分辨率越高,同一屏幕内能够容纳的信息就越多。对于一台能够支持1280×1024分辨率的阴极射线管CRT来说,无论是320×240还是1280×1024分辨率,都能够比较完美地表现出来(因为电子束可以做弹性调整)。但它的最大分辨率未必是最合适的分辨率,因为如果17寸显示器上到1280×1024分辨率的话,WINDOWS的字体会很小,时间一长眼睛就容易疲劳,所以17寸显示器的最佳分辨率应为1024×768。
2、对比度,液晶面板制造时选用的控制集成电路IC、滤光片和定向膜等配件,与面板的对比度有关,对一般用户而言,对比度能够达到350:1就足够了,但在专业领域这样的对比度平还不能满足用户的需求。相对CRT显示器轻易达到500:1甚至更高的对比度而言。只有高档液晶显示器才能达到这样如此程度。
3、亮度,液晶是一种介于固态与液态之间的物质,本身是不能发光的,需借助要额外的光源才行。因此,灯管数目关系着液晶显示器亮度。最早的液晶显示器只有上下两个灯管,发展到现在,普及型的最低也是四灯,高端的是六灯。四灯管设计分为三种摆放形式:一种是四个边各有一个灯管,但缺点是中间会出现黑影,解决的方法就是由上到下四个灯管平排列的方式,最后一种是“U”型的摆放形式,其实是两灯变相产生的两根灯管。六灯管设计实际使用的是三根灯管,厂商将三根灯管都弯成“U”型,然后平行放置,以达到六根灯管的效果。
4、信号响应时间,响应时间指的是液晶显示器对于输入信号的反应速度,也就是液晶由暗转亮或由亮转暗的反应时间,通常是以毫秒(ms)为单位。要说清这一点我们还要从人眼对动态图像的感知谈起。人眼存在“视觉残留”的现象,高速运动的画面在人脑中会形成短暂的印象。动画片、电影等一直到现在最新的游戏正是应用了视觉残留的原理,让一系列渐变的图像在人 眼前快速连续显示,便形成动态的影像。人能够接受的画面显示速度一般为每秒24张,这也是电影每秒24帧播放速度的由来,如果显示速度低于这一标准,人就会明显感到画面的停顿和不适。按照这一指标计算,每张画面显示的时间需要小于40ms。这样,对于液晶显示器来说,响应时间40ms就成了一道坎,低于40ms的显示器便会出现明显的“拖尾”或者“残影”现象,让人有混沌之感。要是想让图像画面达到流畅的程度,则就需要达到每秒60帧的速度。
5、可视角度,液晶的可视角度是一个让人头疼的问题,当背光源通过偏极片、液晶和取向层之后,输出的光线便具有了方向性。也就是说大多数光都是从屏幕中垂直射出来的,所以从某一个较大的角度观看液晶显示器时,便不能看到原本的颜色,甚至只能看到全白或全黑。
本实施例中的具有液晶显示屏的电子设备以手机为例进行说明,其它类别的电子设备的液晶显示屏的唤醒方法与手机液晶显示屏的唤醒方法相同或类似,这里不一一赘述。
目前的手机通常都是通过按电源键或者长按HOME键来唤醒(或称为点亮)屏幕,但是经常性的按电源键或长按HOME键容易导致按键的使用寿命大大缩短,因此又研发了多种唤醒触发方式,例如检测手机的重力加速度变化来进行唤醒触发,或者检测手机与用户之间的位置变化来进行唤醒触发,又或者是利用检测湿度和温度变化来进行唤醒触发等方式。
在手机系统唤醒时,会依次进行液晶显示器LCD唤醒操作和背光唤醒操作,并进行系统调用。进行LCD唤醒操作和背光唤醒操作是指,系统依次调用LCD唤醒函数和背光唤醒函数,系统通过执行LCD唤醒函数和背光唤醒函数来对LCD和背光灯进行唤醒操作,这里的LCD唤醒即指在驱动电压的驱动下,LCD从休眠状态中恢复,可以正常显示所要展示的图像,背光唤醒即指背光灯可以被点亮。
本发明提供一种智能终端的唤醒方法,主要思想是将手机唤醒过程中的单线程同步操作优化为多线程异步操作。
多线程的目的就是"最大限度地利用CPU资源"。每个程序执行时都会产生一个进程,而每一个进程至少要有一个主线程。这个线程其实是进程执行的一条线索,除了主线程外你还可以给进程增加其它的线程,也即增加其它 的执行线索,由此在某种程度上可以看成是给一个应用程序增加了多任务功能。当程序运行后,可以根据各种条件挂起或运行这些线程,尤其在多CPU的环境中,这些线程是并发运行的。多线程就是在一个进程内有多个线程。从而使一个应用程序有了多任务的功能。多进程技术也可以实现这一点,但是创建进程的高消耗(每个进程都有独立的数据和代码空间),进程之间通信的不方便(消息机制),进程切换的时间太长,这些导致了多线程的提出,对于单CPU来说(没有开启超线程),在同一时间只能执行一个线程,所以如果想实现多任务,那么就只能每个进程或线程获得一个时间片,在某个时间片内,只能一个线程执行,然后按照某种策略换其他线程执行。由于时间片很短,这样给用户的感觉是同时有好多线程在执行。但是线程切换是有代价的,因此如果采用多进程,那么就需要将线程所隶属的该进程所需要的内存进行切换,这时间代价是很多的。而线程切换代价就很少,线程是可以共享内存的。所以采用多线程在切换上花费的比多进程少得多。但是,线程切换还是需要时间消耗的,所以采用一个拥有两个线程的进程执行所需要的时间比一个线程的进程执行两次所需要的时间要多一些。即采用多线程不会提高程序的执行速度,反而会降低速度,但是对于用户来说,可以减少用户的响应时间。上述结果只是针对单CPU,如果对于多CPU或者CPU采用超线程技术的话,采用多线程技术还是会提高程序的执行速度的。因为单线程只会映射到一个CPU上,而多线程会映射到多个CPU上,超线程技术本质是多线程硬件化,所以也会加快程序的执行速度。
如图2所示,本发明提供一种智能终端的唤醒方法,包含以下步骤:
步骤S0、控制器设置异步定时器;
步骤S1、控制器判断是否收到唤醒信号,若是,进行步骤S2;
步骤S2、液晶显示模块进行上电初始化操作,获得初始参数;
步骤S3、控制器执行初始参数中的唤醒命令,使液晶显示模块退出休眠模式;
步骤S4、唤醒命令生效后,控制器进行系统调用,在等待唤醒命令生效的同时,控制器调用异步定时器执行初始参数中的液晶显示器开启命令;
步骤S5、控制器进行背光唤醒操作,完成液晶显示模块的唤醒。
如图3所示,步骤S2具体包含以下步骤:
步骤S2.1、液晶显示模块上电,硬件复位;
步骤S2.2、获取初始参数,进行初始化操作。
所述的初始参数主要包含:唤醒命令参数、液晶显示器开启命令参数、液晶显示模块驱动电压、显示器Gamma参数等等。
所述的唤醒命令参数(sleep out命令)与休眠命令参数(sleep in命令)对应,该唤醒命令参数用于使液晶显示模块退出休眠模式,使初始参数的设置生效并令集成电路内部升压。
所述的液晶显示器开启命令参数(display on命令)与液晶显示模块关闭命令参数(display off命令)对应,该液晶显示器开启命令参数用于打开液晶显示器LCD。
所述的显示器Gamma参数在显示器、扫描仪、打印机等输入、输出设备中是一个相当常见并且比较重要的概念。Gamma曲线是一种特殊的色调曲线,当Gamma值等于1的时候,曲线为与坐标轴成45°的直线,这个时候表示输入和输出密度相同。高于1的Gamma值将会造成输出亮化,低于1的Gamma值将会造成输出暗化。要求输入和输出比率尽可能地接近于1。
所述的步骤S3中,控制器调用唤醒函数执行初始参数中的唤醒命令参数,待唤醒命令生效后,即完成唤醒命令操作。
如图3所示,所述的步骤S4具体包含以下步骤:
步骤S4.1、控制器调用异步定时器,设定定时时间(本实施例中,该定时时间可以设置为80ms),到达定时时间后,进行步骤S4.2,在异步定时器的定时过程中,同步进行步骤S4.3;
步骤S4.2、控制器进行系统调用,进行步骤S5;
步骤S4.3、异步定时器调用液晶显示模块开启函数执行初始参数中的液晶显示器开启命令;
步骤S4.4、液晶显示器开启命令生效后,发送执行完毕信号给控制器,进行步骤S5。
为了防止在液晶显示器开启命令还未执行完毕时,就进行背光唤醒操作,则需要对液晶显示器开启命令是否执行完毕进行判断,防止背光比屏幕先亮。如图3所示,所述的步骤S5具体包含以下步骤:
步骤S5.1、控制器判断是否收到异步定时器发送的执行完毕信号,若是, 进行步骤S5.2;
步骤S5.2、控制器调用背光唤醒函数执行背光唤醒操作。
如图4所示,本发明还提供一种智能终端的唤醒装置,该唤醒装置基于液晶显示模块中的控制器实现,该唤醒装置具体包含:
唤醒信号触发模块0,其用于发出唤醒信号;
唤醒信号判断模块1,其用于判断是否收到唤醒信号;
参数获取模块2,其用于获取初始参数;
唤醒命令执行模块3,其用于调用唤醒函数执行唤醒命令;
异步定时器4,其用于设置异步执行线程;
液晶显示器开启命令执行模块5,其用于调用液晶显示模块开启函数执行液晶显示器开启命令;
系统调用模块6,其用于进行系统调用;
执行完毕信号判断模块7,其用于判断是否收到执行完毕信号;
背光唤醒模块8,其用于调用背光唤醒函数执行背光唤醒操作。
其中,所述的控制器可以采用微程序控制器MCU。
本发明还提供一种智能终端,该智能终端包含唤醒装置,该唤醒装置进一步包含:
唤醒信号触发模块,其用于发出唤醒信号;
唤醒信号判断模块,其用于判断是否收到唤醒信号;
参数获取模块,其用于获取初始参数;
唤醒命令执行模块,其用于调用唤醒函数执行唤醒命令;
异步定时器,其用于设置异步执行线程;
液晶显示器开启命令执行模块,其用于调用液晶显示模块开启函数执行液晶显示器开启命令;
系统调用模块,其用于进行系统调用;
执行完毕信号判断模块,其用于判断是否收到执行完毕信号;
背光唤醒模块,其用于调用背光唤醒函数执行背光唤醒操作。
其中,所述的控制器可以采用微程序控制器MCU。
在本发明的一个实施例中,唤醒信号触发模块通过检测手机的加速度变化来发出唤醒信号。G-sensor(Gravity-sensor,重力传感器)能够感知到加 速力的变化,各种加速力变化都能被G-sensor转化为电信号,然后通过微处理器的计算分析后,就能够完成程序设计好的功能。目前G-sensor已成为智能手机的标配,目前手机中G-sensor,主要用于判断手机的横竖屏,及玩一些控制方向的小游戏,需要工作在手机活跃ACTIVE状态,采用查询方式实时读取G-sensor的数值,判断数值的变化,从而确定屏幕是否翻转,玩游戏时,也采用实时查询方式,为保证游戏效果,查询频率较高,这样可以在很短的时间内检测到手机姿态的变化,从而流畅的控制游戏中的方向。G-sensor对手机的加速力进行实时检测,当检测到加速力有变化时,触发中断,产生唤醒信号。
唤醒信号判断模块判断收到唤醒信号后,液晶显示模块进行上电初始化操作,参数获取模块获取初始参数,唤醒命令执行模块调用唤醒函数执行初始参数中的唤醒命令参数,待唤醒命令生效后,即完成唤醒命令操作,使液晶显示模块退出休眠模式,调用异步定时器执行异步线程,异步定时器设定定时时间80ms,到达定时时间后,系统调用模块进行系统调用,在异步定时器的定时过程中,液晶显示器开启命令执行模块同步调用液晶显示模块开启函数执行液晶显示器开启命令,液晶显示器开启命令生效后,发送执行完毕信号,执行完毕信号判断模块判断收到执行完毕信号后,背光唤醒模块调用背光唤醒函数执行背光唤醒操作。
在本发明的另一个实施例中,唤醒信号触发模块通过检测手机和用户之间的距离变化来发出唤醒信号。唤醒信号触发模块包含:接近传感器和接近判断器,接近传感器用于产生传感器信号,接近判断器与接近传感器连接,用于对收到的传感器信号进行分析处理,判断是否有物体接近,当确定有物体接近时,输出接近信号,以便使手机从休眠状态转入正常工作状态。接近传感器可以是电容传感器、电感传感器、磁传感器、光传感器、声传感器、角传感器之一或者它们的任意组合。
唤醒信号判断模块判断收到唤醒信号后,液晶显示模块进行上电初始化操作,参数获取模块获取初始参数,唤醒命令执行模块调用唤醒函数执行初始参数中的唤醒命令参数,待唤醒命令生效后,即完成唤醒命令操作,使液晶显示模块退出休眠模式,调用异步定时器执行异步线程,异步定时器设定定时时间90ms,到达定时时间后,系统调用模块进行系统调用,在异步定时 器的定时过程中,液晶显示器开启命令执行模块同步调用液晶显示模块开启函数执行液晶显示器开启命令,液晶显示器开启命令生效后,发送执行完毕信号,执行完毕信号判断模块判断收到执行完毕信号后,背光唤醒模块调用背光唤醒函数执行背光唤醒操作。
在本发明的另一个实施例中,唤醒信号触发模块通过检测手机周围的温度和湿度变化来发出唤醒信号。唤醒信号触发模块包含:温度感应器、湿度感应器和微处理器,通过温度感应器和湿度感应器对应获取用户呼入气体的温度和湿度,并对应发送给微处理器,微处理器对应调取存储器中的温度感应阈值和湿度感应阈值与上述获取的温度和湿度进行比较,根据比较结果对应产生唤醒信号。
唤醒信号判断模块判断收到唤醒信号后,液晶显示模块进行上电初始化操作,参数获取模块获取初始参数,唤醒命令执行模块调用唤醒函数执行初始参数中的唤醒命令参数,待唤醒命令生效后,即完成唤醒命令操作,使液晶显示模块退出休眠模式,调用异步定时器执行异步线程,异步定时器设定定时时间85ms,到达定时时间后,系统调用模块进行系统调用,在异步定时器的定时过程中,液晶显示器开启命令执行模块同步调用液晶显示模块开启函数执行液晶显示器开启命令,液晶显示器开启命令生效后,发送执行完毕信号,执行完毕信号判断模块判断收到执行完毕信号后,背光唤醒模块调用背光唤醒函数执行背光唤醒操作。
本发明采用定时器将智能终端的液晶显示模块的唤醒过程的参数读取从单线程执行变为多线程异步执行,可以更精准地控制延时时间,同时大大压缩了命令生效的等待时间,极大地优化了唤醒时间(保守估计可以压缩至60ms),提高了用户体验。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
尽管本发明的内容已经通过上述优选实施例作了详细介绍,但应当认识到上述的描述不应被认为是对本发明的限制。在本领域技术人员阅读了上述内容后,对于本发明的多种修改和替代都将是显而易见的。因此,本发明的保护范围应由所附的权利要求来限定。

Claims (9)

  1. 一种智能终端的唤醒方法,其特征在于,液晶显示模块在接收到唤醒信号后,依次执行液晶显示器唤醒操作和背光唤醒操作,在进行液晶显示器唤醒操作时,首先执行唤醒命令使液晶显示模块退出休眠模式,当唤醒命令生效后,进行系统调用,在等待唤醒命令生效的同时,调用异步定时器执行液晶显示器开启命令,最终完成液晶显示器唤醒操作。
  2. 如权利要求1所述的智能终端的唤醒方法,其特征在于,包含以下步骤:
    步骤S0、控制器设置异步定时器;
    步骤S1、控制器判断是否收到唤醒信号,若是,进行步骤S2;
    步骤S2、液晶显示模块进行上电初始化操作,获得初始参数;
    步骤S3、控制器执行初始参数中的唤醒命令,使液晶显示模块退出休眠模式;
    步骤S4、唤醒命令生效后,控制器进行系统调用,在等待唤醒命令生效的同时,控制器调用异步定时器执行初始参数中的液晶显示器开启命令;
    步骤S5、控制器进行背光唤醒操作,完成液晶显示模块的唤醒。
  3. 如权利要求2所述的智能终端的唤醒方法,其特征在于,所述的步骤S2具体包含以下步骤:
    步骤S2.1、液晶显示模块上电,硬件复位;
    步骤S2.2、获取初始参数,进行初始化操作。
  4. 如权利要求3所述的智能终端的唤醒方法,其特征在于,所述的初始参数包含:唤醒命令参数、液晶显示器开启命令参数、液晶显示模块驱动电压、显示器Gamma参数。
  5. 如权利要求4所述的智能终端的唤醒方法,其特征在于,所述的步骤S3中,控制器调用唤醒函数执行初始参数中的唤醒命令参数,待唤醒命令生效后,即完成唤醒命令操作。
  6. 如权利要求5所述的智能终端的唤醒方法,其特征在于,所述的步骤S4具体包含以下步骤:
    步骤S4.1、控制器调用异步定时器,设定定时时间,到达定时时间 后,进行步骤S4.2,在异步定时器的定时过程中,同步进行步骤S4.3;
    步骤S4.2、控制器进行系统调用,进行步骤S5;
    步骤S4.3、异步定时器调用液晶显示模块开启函数执行初始参数中的液晶显示器开启命令;
    步骤S4.4、液晶显示器开启命令生效后,发送执行完毕信号给控制器,进行步骤S5。
  7. 如权利要求6所述的智能终端的唤醒方法,其特征在于,所述的步骤S5具体包含以下步骤:
    步骤S5.1、控制器判断是否收到异步定时器发送的执行完毕信号,若是,进行步骤S5.2;
    步骤S5.2、控制器调用背光唤醒函数执行背光唤醒操作。
  8. 一种智能终端的唤醒装置,其特征在于,包含:
    唤醒信号触发模块,其用于发出唤醒信号;
    唤醒信号判断模块,其用于判断是否收到唤醒信号;
    参数获取模块,其用于获取初始参数;
    唤醒命令执行模块,其用于调用唤醒函数执行唤醒命令;
    异步定时器,其用于设置异步执行线程;
    液晶显示器开启命令执行模块,其用于调用液晶显示模块开启函数执行液晶显示器开启命令;
    系统调用模块,其用于进行系统调用;
    执行完毕信号判断模块,其用于判断是否收到执行完毕信号;
    背光唤醒模块,其用于调用背光唤醒函数执行背光唤醒操作。
  9. 一种智能终端,其特征在于,该智能终端包含如权利要求8所述的唤醒装置。
PCT/CN2017/102590 2017-09-21 2017-09-21 智能终端的唤醒方法、唤醒装置以及智能终端 WO2019056241A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/102590 WO2019056241A1 (zh) 2017-09-21 2017-09-21 智能终端的唤醒方法、唤醒装置以及智能终端
CN201780095116.XA CN111149089B (zh) 2017-09-21 2017-09-21 智能终端的唤醒方法、智能终端及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102590 WO2019056241A1 (zh) 2017-09-21 2017-09-21 智能终端的唤醒方法、唤醒装置以及智能终端

Publications (1)

Publication Number Publication Date
WO2019056241A1 true WO2019056241A1 (zh) 2019-03-28

Family

ID=65810014

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102590 WO2019056241A1 (zh) 2017-09-21 2017-09-21 智能终端的唤醒方法、唤醒装置以及智能终端

Country Status (2)

Country Link
CN (1) CN111149089B (zh)
WO (1) WO2019056241A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568428A (zh) * 2012-02-29 2012-07-11 北京百纳威尔科技有限公司 液晶显示屏的唤醒方法及具有液晶显示屏的电子设备
US20140075230A1 (en) * 2011-05-31 2014-03-13 Bradley Neal Suggs Waking An Electronic Device
CN104636169A (zh) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 一种系统唤醒方法及装置
CN105892629A (zh) * 2015-10-20 2016-08-24 乐视移动智能信息技术(北京)有限公司 基于多内核的屏幕唤醒方法、装置和移动终端
CN107071129A (zh) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 一种亮屏控制方法及移动终端

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465952A (zh) * 2007-12-21 2009-06-24 鸿富锦精密工业(深圳)有限公司 电子装置
US20090259865A1 (en) * 2008-04-11 2009-10-15 Qualcomm Incorporated Power Management Using At Least One Of A Special Purpose Processor And Motion Sensing
CN101344516B (zh) * 2008-08-29 2010-07-14 北京农业信息技术研究中心 一种无线传感器网络节点设备及控制方法
US9152199B2 (en) * 2008-12-16 2015-10-06 Microsoft Technology Licensing, Llc Power state dependent wake-up alarm
CN102346436B (zh) * 2010-08-05 2013-04-03 深圳市超维实业有限公司 一种自然唤醒装置和方法
CN102566853B (zh) * 2010-12-09 2014-10-15 三竹资讯股份有限公司 触控移动装置金融商品报价软件屏幕恒亮显示装置与方法
CN102760044B (zh) * 2012-06-28 2015-08-12 魅族科技(中国)有限公司 一种移动终端的控制系统及移动终端
US9931036B2 (en) * 2013-03-14 2018-04-03 Dexcom, Inc. Systems and methods for processing and transmitting sensor data
WO2015070428A1 (zh) * 2013-11-15 2015-05-21 华为终端有限公司 一种唤醒终端系统的方法及终端
US9753527B2 (en) * 2013-12-29 2017-09-05 Google Technology Holdings LLC Apparatus and method for managing graphics buffers for a processor in sleep mode
US9672186B2 (en) * 2014-06-20 2017-06-06 Nxp Usa, Inc. Electronic monitoring device having wake-up for daisy chain
CN104301545A (zh) * 2014-11-10 2015-01-21 上海斐讯数据通信技术有限公司 一种手机休眠和唤醒实现电路及其休眠和唤醒方法
CN106569879B (zh) * 2016-10-28 2020-02-11 青岛海信移动通信技术股份有限公司 唤醒外设的方法及移动终端
CN106686703A (zh) * 2016-11-30 2017-05-17 努比亚技术有限公司 一种终端和定时器唤醒方法
CN107134279B (zh) * 2017-06-30 2020-06-19 百度在线网络技术(北京)有限公司 一种语音唤醒方法、装置、终端和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140075230A1 (en) * 2011-05-31 2014-03-13 Bradley Neal Suggs Waking An Electronic Device
CN102568428A (zh) * 2012-02-29 2012-07-11 北京百纳威尔科技有限公司 液晶显示屏的唤醒方法及具有液晶显示屏的电子设备
CN104636169A (zh) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 一种系统唤醒方法及装置
CN105892629A (zh) * 2015-10-20 2016-08-24 乐视移动智能信息技术(北京)有限公司 基于多内核的屏幕唤醒方法、装置和移动终端
CN107071129A (zh) * 2017-03-15 2017-08-18 广东欧珀移动通信有限公司 一种亮屏控制方法及移动终端

Also Published As

Publication number Publication date
CN111149089A (zh) 2020-05-12
CN111149089B (zh) 2023-11-03

Similar Documents

Publication Publication Date Title
CN213545872U (zh) 用于驱动显示器的设备
US11100901B2 (en) Method for controlling rendering of layers, terminal, and storage medium
CN106791212B (zh) 一种移动终端刷新率的控制方法、装置及移动终端
EP3531230A2 (en) Electronic device including flexible display and method for controlling same
CN106936995B (zh) 一种移动终端帧率的控制方法、装置及移动终端
CN110264935B (zh) 显示器驱动方法、显示器驱动集成电路及电子设备
US20200008142A1 (en) Method for Controlling Terminal, and Terminal
CN107835322A (zh) 界面显示方法、装置、存储介质及终端设备
CN107102936A (zh) 一种流畅度的评估方法和移动终端以及存储介质
CN110400180B (zh) 基于推荐信息的显示方法、装置及存储介质
WO2019019835A1 (zh) 响应黑屏手势的方法、装置、存储介质及移动终端
US11860708B2 (en) Application processor and mobile terminal
CN107402713B (zh) 加快黑屏手势处理的方法、装置、存储介质及移动终端
WO2022001452A1 (zh) 信息展示方法、装置、可穿戴设备及存储介质
CN108885775A (zh) 一种显示方法及终端
CN106951054A (zh) 一种应用程序的控制方法、装置及移动终端
WO2019019901A1 (zh) 黑屏手势的响应方法、装置、存储介质及移动终端
CN108829229A (zh) 屏幕控制方法、装置、存储介质及智能终端
CN109785801A (zh) 一种墨水屏画面刷新的方法和设备
CN106933329B (zh) 一种移动终端适配节能等级的方法、装置及移动终端
CN113630569B (zh) 显示设备及显示设备的控制方法
CN108966010B (zh) 在线视频分辨率的调节方法、装置、存储介质及终端
CN106569573B (zh) 一种显示方法及装置、显示控制方法及装置、设备
CN107390460B (zh) 一种腕投设备的双屏显示方法及装置
WO2019056241A1 (zh) 智能终端的唤醒方法、唤醒装置以及智能终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17925641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17925641

Country of ref document: EP

Kind code of ref document: A1