Control device, timing control circuit, control method, chip and electronic device

By designing the verification operation mechanism of the verification module and storage module in the control device, the problem of soft failure of the display panel touch chip caused by electrostatic discharge is solved, and reset and restart can be achieved without relying on flash memory, improving startup efficiency. success rate and reduced costs.

CN113238678BActive Publication Date: 2024-10-11CHIPONE TECHNOLOGY (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110540026.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-18
Publication Date
2024-10-11
Estimated Expiration
2041-05-18

AI Technical Summary

Technical Problem

In the existing technology, when the touch chip of the display panel fails softly due to electrostatic discharge or other reasons, it cannot be started normally, especially when the communication between the memory and the controller is abnormal, the touch chip cannot be restarted, especially for devices that do not include As far as the flash memory circuit is concerned, reset and restart cannot be achieved.

Method used

A control device is designed, including a control module, a storage module and a verification module. By performing N verification operations, the running program in the storage module is verified after waiting for a preset time. When one of the verification results is correct, , execute the running program in the storage module to ensure the normal operation of the control device, and adapt to communication abnormalities caused by different reasons by adjusting the number and duration of verification operations.

Benefits of technology

It effectively avoids verification failures caused by abnormal or unstable storage module communication, improves the startup success rate, and does not rely on flash memory to reset and restart the control device, reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113238678B_ABST
    Figure CN113238678B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a control device, a timing control circuit, a control method, a chip and an electronic device, wherein the device comprises a control module, a storage module and a verification module, wherein the storage module is connected to the control module and the verification module, wherein the verification module is used to: when it is determined that the control device is reset, perform N verification operations, wherein the verification operation comprises: after waiting for a preset time, verify the running program in the storage module to obtain a verification result; wherein the control module is used to: when the verification result of one of the N verification operations is that the verification is correct, execute the running program in the storage module. The embodiments of the present disclosure can avoid soft failures caused by verification failures due to abnormal or unstable communication of the storage module, improve the startup success rate, and can reset and restart the control device without relying on flash memory, which is low in cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of control technology, and in particular to a control device, a timing control circuit, a control method, a chip and an electronic device. Background Art

[0002] At present, more and more electronic devices are equipped with display panels with touch functions. When the touch chip of the display panel is reset without power failure, if the firmware in the memory is abnormal due to some reasons (such as electrostatic discharge (ESD)), the touch chip will have a soft fail and cannot operate normally. The related technology usually obtains the firmware from the flash memory and loads the firmware into the memory to restart the touch chip. However, when the abnormal condition causes the communication between the memory and the controller to be unstable or abnormal, the touch chip cannot be started normally, and for some circuits or devices that do not include flash memory, the related technology cannot achieve the restart of the touch chip. Summary of the invention

[0003] In view of this, the present disclosure proposes a control device, which includes a control module, a storage module, and a verification module, wherein the storage module is connected to the control module and the verification module, wherein:

[0004] The verification module is used to: when it is determined that the control device is reset, perform N verification operations, the verification operation comprising: after waiting for a preset time, verify the running program in the storage module to obtain a verification result, wherein N ≥ 1 and is an integer;

[0005] The control module is used to: when a verification result of one of the N verification operations is correct, execute the running program in the storage module.

[0006] In a possible implementation manner, a preset time length corresponding to a number of executions of the verification operation being 1 is greater than a preset time length corresponding to a number of executions being greater than 1.

[0007] In a possible implementation, the verification module includes:

[0008] An adjustment unit is used to set the preset duration to a first duration when the verification module performs the verification operation for the first time.

[0009] In a possible implementation manner, the adjustment unit is further configured to:

[0010] When the verification result of the first execution of the verification operation is that the verification is incorrect, the number of executions of the verification operation is set to M times, and the preset time length is set to the second time length,

[0011] Wherein, M>1 and is an integer, and the second duration is smaller than the first duration.

[0012] In a possible implementation manner, the adjustment unit is further configured to:

[0013] When the verification results of executing the verification operation M times are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length,

[0014] Wherein, K>M and is an integer, and the third duration is less than the second duration.

[0015] In a possible implementation, the verification module includes:

[0016] A verification unit, used to verify the running program;

[0017] The delay unit is connected to the verification unit and is used to delay the start time of the verification unit by the preset time length.

[0018] In a possible implementation, the verification module further includes:

[0019] A cyclic control unit is connected to the delay unit and the verification unit, and is used to control the delay unit and the verification unit to perform S verification operations, wherein 1<S≤N.

[0020] In a possible implementation, the verification module is further used for:

[0021] When the verification results of N verification operations are all incorrect, the startup of the control module is interrupted.

[0022] In a possible implementation manner, the apparatus is connected to an external device, and the verification module is further used for:

[0023] When the verification results of N verification operations are all incorrect, a control signal is output to enable the external device to send the application file to the storage module.

[0024] In a possible implementation, the storage module includes a static random access memory.

[0025] According to another aspect of the present disclosure, a timing control circuit is proposed, which is applied to a control device, wherein the control device includes a control module, a storage module, and a verification module, wherein the storage module is connected to the control module and the verification module, and the circuit includes:

[0026] A delay module is connected to the verification module and is used to delay the startup time of the verification module by a first time period, so that the verification module verifies the running program in the storage module after the first time period is delayed to obtain a verification result, and the verification module controls the startup of the control module according to the verification result.

[0027] In a possible implementation manner, the circuit further includes:

[0028] A cycle control module, connected to the delay module and the verification module, for controlling the verification module and the delay module to perform M verification operations,

[0029] The verification operation includes: after delaying the startup time of the verification module for a second time period, verifying the running program in the storage module to obtain a verification result, wherein M>1 and is an integer,

[0030] The second duration is shorter than the first duration.

[0031] In a possible implementation manner, the circuit further includes:

[0032] an adjustment module, connected to the loop control module, for setting the number of executions of the verification operation to K times and the delay time to a third time when the verification results of the M verification operations are all incorrect;

[0033] Wherein, K>M and is an integer, and the third duration is less than the second duration.

[0034] According to another aspect of the present disclosure, a control method is proposed. The method is applied to a control device, the control device includes a control module and a storage module, and the method includes:

[0035] When it is determined that the control device is reset, N verification operations are performed, the verification operations comprising: verifying the running program in the storage module after waiting for a preset time to obtain a verification result, wherein N ≥ 1 and is an integer;

[0036] When the verification result of one of the N verification operations is correct, the running program in the storage module is executed.

[0037] In a possible implementation manner, a preset time length corresponding to a number of executions of the verification operation being 1 is greater than a preset time length corresponding to a number of executions being greater than 1.

[0038] In a possible implementation, the method further includes:

[0039] When the verification operation is performed for the first time, the preset duration is set to the first duration.

[0040] In a possible implementation, the method further includes:

[0041] When the verification result of the first execution of the verification operation is that the verification is incorrect, the number of executions of the verification operation is set to M times, and the preset time length is set to the second time length,

[0042] Wherein, M>1 and is an integer, and the second duration is smaller than the first duration.

[0043] In a possible implementation, the method further includes:

[0044] When the verification results of executing the verification operation M times are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length,

[0045] Wherein, K>M and is an integer, and the third duration is less than the second duration.

[0046] According to another aspect of the present disclosure, a chip is provided, the chip comprising:

[0047] said control device; or

[0048] The timing control circuit.

[0049] According to another aspect of the present disclosure, an electronic device is provided, wherein the electronic device comprises the chip.

[0050] In a possible implementation, the electronic device includes a display, a smart phone, or a portable device.

[0051] The embodiment of the present disclosure can perform N verification operations when it is determined that the control device is reset. The verification operation includes: waiting for a preset period of time to verify the running program in the storage module to obtain a verification result; when the verification result of one of the N verification operations is correct, the running program in the storage module is executed to enable the control device to start working normally, which can avoid soft failures caused by verification failures due to communication abnormalities or instability in the storage module, thereby improving the startup success rate. In addition, the control device of the embodiment of the present disclosure can reset and restart the control device without relying on flash memory, and the cost is low.

[0052] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0054] Figure 1 A block diagram of a control device according to an embodiment of the present disclosure is shown.

[0055] Figure 2 A block diagram of a control device according to an embodiment of the present disclosure is shown.

[0056] Figure 3 A block diagram of a timing control circuit according to an embodiment of the present disclosure is shown.

[0057] Figure 4 A block diagram of a timing control circuit according to an embodiment of the present disclosure is shown.

[0058] Figure 5 A flow chart of a control method according to an embodiment of the present disclosure is shown.

[0059] Figure 6 A flow chart of a control method according to an embodiment of the present disclosure is shown.

[0060] Figure 7 A block diagram of a control device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0061] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0062] In the description of the present disclosure, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present disclosure.

[0063] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0064] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0065] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0066] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0067] See also Figure 1 , Figure 1 A block diagram of a control device according to an embodiment of the present disclosure is shown.

[0068] like Figure 1 As shown, the device includes a control module 10, a storage module 20, and a verification module 30, wherein the storage module 20 is connected to the control module 10 and the verification module 30, wherein:

[0069] The verification module 30 is used to: when it is determined that the control device is reset, perform N verification operations, the verification operation includes: after waiting for a preset time, verify the running program in the storage module 20 to obtain a verification result, wherein N ≥ 1 and is an integer;

[0070] The control module 10 is used to execute the running program in the storage module 20 when the verification result of one of the N verification operations is correct.

[0071] The embodiment of the present disclosure can perform N verification operations when it is determined that the control device is reset. The verification operation includes: waiting for a preset period of time to verify the running program in the storage module to obtain a verification result; when the verification result of one of the N verification operations is correct, the running program in the storage module is executed to enable the control device to start working normally, which can avoid soft failures caused by verification failures due to communication abnormalities or instability in the storage module, thereby improving the startup success rate. In addition, the control device of the embodiment of the present disclosure can reset and restart the control device without relying on flash memory, and the cost is low.

[0072] In one example, the control device of the embodiment of the present disclosure may be a touch control chip, or a display panel or terminal provided with a touch control chip and having a touch function.

[0073] In one example, the display panel may include a liquid crystal display panel, an organic light emitting diode display panel, a quantum dot light emitting diode display panel, a mini light emitting diode display panel, a micro light emitting diode display panel, and the like.

[0074] In one example, the terminal is also called User Equipment (UE), Mobile Station (MS), Mobile Terminal (MT), etc., which is a device that provides voice and / or data connectivity to users, for example, a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of terminals are: mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control (Industrial Control), wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grid (Smart Grid), wireless terminals in transportation safety (Transportation Safety), wireless terminals in smart cities (Smart City), wireless terminals in smart homes (Smart Home), wireless terminals in Internet of Vehicles, etc.

[0075] The control module 10 of the disclosed embodiment may include a processing component, which includes but is not limited to a separate processor, or a discrete component, or a combination of a processor and a discrete component. The processor may include a controller having an execution instruction function in an electronic device, and the processor may be implemented in any appropriate manner, for example, by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components. Inside the processor, the executable instructions may be executed by hardware circuits such as logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers.

[0076] In one example, when a human body (such as a finger) touches a display panel or a touch area of ​​an electronic device, the charge of electrostatic discharge (ESD) may be transmitted to the control device through the circuit of the touch area. Since the pulse current generated by the ESD in the storage module (such as static random access memory) causes the data state potential therein to suddenly jump, the data is inaccurate, and the application program in the storage module is inaccurate. When the duration of the ESD event is long, the verification module fails to verify the data during the verification of the file due to abnormal or unstable communication of the storage module, so that the control device cannot successfully restart the control module to achieve self-recovery. In the embodiment of the present disclosure, when it is determined that the control device is reset, N verification operations are performed, and the verification operation includes: after waiting for a preset time, the running program in the storage module is verified to obtain a verification result. When the verification result of one of the N verification operations is that the verification is correct, the running program in the storage module is executed to enable the control device to start working normally, which can avoid soft failure caused by verification failure due to abnormal or unstable communication of the storage module.

[0077] It should be noted that the embodiments of the present disclosure do not limit the specific implementation method for determining the occurrence of a reset. For example, the occurrence of a reset of the control device may be determined by a system clock, a reset clock, a reset signal generated by the system, or any other method.

[0078] It should be noted that the embodiments of the present disclosure do not limit the specific type of the application. The application may be a driver program that drives the various components of the control device, or may include other functional programs, or may be other programs or instructions that can be run by the control module to enable the control device to work normally. The embodiments of the present disclosure do not limit this.

[0079] The embodiments of the present disclosure do not limit the verification method in which the verification module performs verification on the application. For example, the application can be verified by data comparison verification, parity check (Parity Check), BCC exclusive OR check method (block check character, block check code), LRC longitudinal redundancy check (Longitudinal Redundancy Check), CRC (Cyclic Redundancy Check, cyclic redundancy check) cyclic redundancy check, MD5, SHA, MAC and other summary algorithms.

[0080] The embodiments of the present disclosure do not limit the specific number of execution times of the verification operation, and those skilled in the art can set it according to needs or actual conditions. It should be understood that for different execution times, the preset waiting time of the verification module in each cycle operation is different.

[0081] In a possible implementation manner, a preset time length corresponding to a number of executions of the verification operation being 1 is greater than a preset time length corresponding to a number of executions being greater than 1.

[0082] See also Figure 2 , Figure 2 A block diagram of a control device according to an embodiment of the present disclosure is shown.

[0083] In a possible implementation, Figure 2 As shown, the verification module 30 may include:

[0084] The adjusting unit 310 is configured to set the preset duration to a first duration when the verification module 30 performs the verification operation for the first time.

[0085] In a possible implementation, the adjustment unit 310 may also be used to:

[0086] When the verification result of the first execution of the verification operation is that the verification is incorrect, the number of executions of the verification operation is set to M times, and the preset time length is set to the second time length,

[0087] Wherein, M>1 and is an integer, and the second duration is smaller than the first duration.

[0088] In a possible implementation, the adjustment unit 310 may also be used to:

[0089] When the verification results of executing the verification operation M times are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length,

[0090] Wherein, K>M and is an integer, and the third duration is less than the second duration.

[0091] The embodiment of the present disclosure can set the number of executions of the verification operation according to the actual situation to adapt to the reset and restart conditions in different situations, so as to improve the adaptability to the duration of abnormal or unstable communication of the storage module caused by different reasons. Of course, the embodiment of the present disclosure does not limit the specific size of the corresponding preset time length of the corresponding number of times. The embodiment of the present disclosure can be set as needed. When the number of loop executions is set to a smaller value, the embodiment of the present disclosure can set the preset time length to a larger time length; when the number of loop executions is set to a larger value, the embodiment of the present disclosure can set the preset time length to a smaller time length. In addition, the embodiment of the present disclosure supports real-time adjustment of the number of executions and the preset time length. For example, when the verification results of executing M verification operations are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length. As long as a certain verification is correct during the execution of the verification operation, the control module can be started.

[0092] In a possible implementation, Figure 2 As shown, the verification module 30 includes:

[0093] A verification unit 320, used to verify the running program;

[0094] The delay unit 330 is connected to the verification unit 320 and is used to delay the start time of the verification unit 320 by the preset time length.

[0095] The verification unit 320 can be configured to immediately perform a verification operation on the application of the storage module upon learning that the control device is reset. The embodiment of the present disclosure can delay the verification operation of the verification unit 320 through the delay unit 330 to avoid soft failures caused by verification failures due to communication abnormalities or instability of the storage module.

[0096] The embodiment of the present disclosure uses the delay unit 330 to delay the start time of the reference program check by the verification unit 320 by the first time length each time the control device is reset and started. In this way, the communication abnormality or instability of the storage module can be avoided while the verification unit 320 is waiting for the first time length to pass, so that the storage module is checked only after the communication is stable, avoiding the situation where the data check fails due to the sudden ESD. Finally, after the test result shows that the test is passed, the control module 10 is started to make the control device start to work normally.

[0097] The embodiment of the present disclosure does not limit the specific implementation of the delay unit 330 , the verification unit 320 , and the adjustment unit 310 .

[0098] In a possible implementation, Figure 2 As shown, the verification module 30 also includes:

[0099] The cycle control unit 340 is connected to the delay unit 330 and the verification unit 320, and is used to control the delay unit 330 and the verification unit 320 to perform S verification operations, wherein 1<S≤N.

[0100] In the embodiment of the present disclosure, the delay unit 330 and the verification unit 320 can be controlled by the cyclic control unit 340, so that the start time of each verification operation of the application by the verification unit 320 is delayed by a preset time.

[0101] When the verification operation is executed in a loop, the verification unit can be configured to start the next verification operation when one verification operation is completed. The embodiment of the present disclosure can delay the start time of each verification operation of the verification unit 320 by a preset time period through the delay unit 330, and control the cyclic execution of the verification operation through the cyclic control unit to avoid soft failure caused by verification failure due to communication abnormality or instability of the storage module.

[0102] In a possible implementation, the verification module 30 may also be used to:

[0103] When the verification results of the N verification operations are all incorrect, the startup of the control module 10 is interrupted.

[0104] In a possible implementation manner, the apparatus is connected to an external device, and the verification module 30 may also be used to:

[0105] When the verification results of N verification operations are all incorrect, a control signal is output to enable the external device to send the application file to the storage module 20.

[0106] When the loop execution coefficient of the set verification parameter reaches a preset number of times, if the verification result of the last verification is still incorrect, the embodiment of the present disclosure can interrupt the startup of the control module 10, or output a control signal so that the external device sends the application file to the storage module 20, for example, through a signal communication pin or port of the control module to notify the external host processor, so that the host processor directly loads at least the executable file of the application into the storage module, or when the control device has a flash memory, stores the file in the flash memory of the control device.

[0107] See also Figure 3 , Figure 3 A block diagram of a timing control circuit according to an embodiment of the present disclosure is shown.

[0108] The circuit is applied to a control device, such as Figure 3 As shown, the control device includes a control module 10, a storage module 20, and a verification module 30. The storage module 20 is connected to the control module 10 and the verification module 30. The circuit includes:

[0109] The delay module 410 is connected to the verification module 30 and is used to delay the startup time of the verification module 30 by a first time period, so that the verification module 30 can verify the running program in the storage module 20 after the first time period is delayed to obtain a verification result, and the verification module 30 can control the startup of the control module 10 according to the verification result.

[0110] The embodiment of the present disclosure delays the startup time of the verification module for a first period of time, so that the verification module verifies the running program in the storage module after the first delay to obtain a verification result, and the verification module controls the startup of the control module according to the verification result, so that the control device starts to work normally. Soft failures caused by verification failures due to communication anomalies or instability of the storage module can be avoided, and the startup success rate is improved. In addition, the control device of the embodiment of the present disclosure can reset and restart the control device without relying on flash memory, and the cost is low.

[0111] The embodiment of the disclosure uses the delay module 40 so that the start time of the reference program check performed by the verification module 30 at each reset start of the control device will be delayed by a first time period. In this way, the communication abnormality or instability of the storage module can be avoided while the verification module 30 is waiting for the first time period to pass, so that the storage module is checked only after the communication is stable, avoiding the situation where the data check fails due to the sudden ESD. Finally, after the test result shows that the test is passed, the control module 10 is started so that the control device starts to work normally.

[0112] In one example, the control device of the embodiment of the present disclosure may be a touch control chip, or a display panel or terminal provided with a touch control chip and having a touch function.

[0113] See also Figure 4 , Figure 4 A block diagram of a timing control circuit according to an embodiment of the present disclosure is shown.

[0114] In a possible implementation, Figure 4 As shown, the circuit further includes:

[0115] The loop control module 420 is connected to the delay module 410 and the verification module 30, and is used to control the verification module 30 and the delay module 410 to perform M verification operations.

[0116] The verification operation includes: after delaying the startup time of the verification module 30 for a second time period, verifying the running program in the storage module 20 to obtain a verification result, wherein M>1 and is an integer,

[0117] The second duration is shorter than the first duration.

[0118] In the embodiment of the present disclosure, the delay module 410 and the verification module 30 can be controlled by the loop control module 420, so that the start time of each verification operation of the application by the verification module 30 is delayed by the second time length.

[0119] When the verification operation is executed in a loop, the verification module can be configured to start the next verification operation when one verification operation is completed. The embodiment of the present disclosure can delay the start time of each verification operation of the verification module 30 by a preset time period through the delay module 410, and control the cyclic execution of the verification operation to avoid soft failure caused by verification failure due to communication abnormality or instability of the storage module.

[0120] It should be noted that, in a single verification operation, the longer the first time length is set, the easier it is to avoid abnormal or unstable communication of the storage module. However, if the first time length is set too long, the user may feel that the touch response is slow, but if the first time length is set too short, the communication failure period may not be avoided. For this reason, the embodiment of the present disclosure is configured to enable the verification module 30 to repeatedly perform multiple verification operations on the storage module through the loop control module 420.

[0121] In one example, the loop check is to solve the problem that the first time length is too long, shorten the waiting time (i.e., the second time length) and increase the number of loop checks. As long as one check passes, the check is considered successful and the loop is exited. In this way, not only can the waiting time be reduced, but also the system response speed can be improved.

[0122] In a possible implementation, Figure 4 As shown, the circuit further includes:

[0123] The adjustment module 430 is connected to the loop control module 420 and is used to set the number of executions of the verification operation to K times and the delay time to a third time when the verification results of the M verification operations are all incorrect.

[0124] Wherein, K>M and is an integer, and the third duration is less than the second duration.

[0125] The embodiment of the present disclosure can set the number of executions of the verification operation according to the actual situation to adapt to the reset and restart conditions in different situations, so as to improve the adaptability to the duration of abnormal or unstable communication of the storage module caused by different reasons. Of course, the embodiment of the present disclosure does not limit the specific size of the corresponding preset time length of the corresponding number of times. The embodiment of the present disclosure can be set as needed. When the number of loop executions is set to a smaller value, the embodiment of the present disclosure can set the preset time length to a larger time length; when the number of loop executions is set to a larger value, the embodiment of the present disclosure can set the preset time length to a smaller time length. In addition, the embodiment of the present disclosure supports real-time adjustment of the number of executions and the preset time length. For example, when the verification results of executing M verification operations are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length. As long as a certain verification is correct during the execution of the verification operation, the control module can be started.

[0126] It should be understood that the timing control circuit corresponds to the aforementioned control device. For a detailed description thereof, please refer to the previous description of the control device, which will not be repeated here.

[0127] See also Figure 5 , Figure 5 A flow chart of a control method according to an embodiment of the present disclosure is shown.

[0128] The method is applied in a control device, which may include a control module 10 and a storage module 20. Figure 5 As shown, the method includes:

[0129] Step S11, when it is determined that the control device is reset, performing N verification operations, the verification operation comprising: verifying the running program in the storage module 20 after waiting for a preset time, and obtaining a verification result, wherein N≥1 and is an integer;

[0130] Step S12, when the verification result of one of the N verification operations is correct, executing the running program in the storage module 20.

[0131] The embodiment of the present disclosure can perform N verification operations when it is determined that the control device is reset. The verification operation includes: waiting for a preset period of time to verify the running program in the storage module to obtain a verification result; when the verification result of one of the N verification operations is correct, the running program in the storage module is executed to enable the control device to start working normally, which can avoid soft failures caused by verification failures due to communication abnormalities or instability in the storage module, thereby improving the startup success rate. In addition, the control device of the embodiment of the present disclosure can reset and restart the control device without relying on flash memory, and the cost is low.

[0132] In a possible implementation manner, a preset time length corresponding to a number of executions of the verification operation being 1 is greater than a preset time length corresponding to a number of executions being greater than 1.

[0133] See also Figure 6 , Figure 6 A flow chart of a control method according to an embodiment of the present disclosure is shown.

[0134] In a possible implementation, Figure 6 As shown, the method also includes:

[0135] Step S13, when the verification operation is performed for the first time, the preset duration is set to a first duration.

[0136] In a possible implementation, Figure 6 As shown, the method also includes:

[0137] Step S14, when the verification result of the first execution of the verification operation is incorrect, the number of executions of the verification operation is set to M times, and the preset time length is set to a second time length,

[0138] Wherein, M>1 and is an integer, and the second duration is smaller than the first duration.

[0139] In a possible implementation, Figure 6 As shown, the method also includes:

[0140] Step S15, when the verification results of executing the verification operation M times are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to a third time length,

[0141] Wherein, K>M and is an integer, and the third duration is less than the second duration.

[0142] In the related art, for applications without flash memory FLASH, the hardware cannot automatically load firmware from FLASH to self-recover, and if the ESD event lasts for a long time, the SRAM communication has not yet recovered to normal when the firmware (including application programs such as drivers) content is verified, the verification will fail, and the control module cannot be restarted, resulting in the failure of the control device to self-recover, and the control device has a soft failure. However, after the reset occurs, the embodiment of the present disclosure first waits for a preset period of time in order to avoid the time when the SRAM communication is unstable, and then performs the SRAM content verification. If the verification is successful, the MCU (control module) is restarted, and the control device self-recovers successfully. If the verification fails, the above steps are executed repeatedly until the number of cycles reaches the preset number. Among them, the embodiment of the present disclosure can solve the problem of too long waiting time through cyclic verification, and can adopt the method of reducing the waiting time and appropriately increasing the number of cycles. As long as one verification passes, it can be considered that the verification is successful and the loop is jumped out. This can reduce the waiting time, improve the system response speed, and avoid soft failures caused by verification failures caused by abnormal or unstable communication of the storage module.

[0143] See also Figure 7 , Figure 7 A block diagram of a control device according to an embodiment of the present disclosure is shown.

[0144] For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0145] Reference Figure 7 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0146] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0147] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0148] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0149] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0150] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0151] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0152] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0153] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0154] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0155] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by the processor 820 of the device 800 to perform the above method.

[0156] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A control device, characterized in that: The control device is a touch chip, or a display panel or terminal provided with a touch chip and having a touch function. The device includes a control module, a storage module, and a verification module. The storage module is connected to the control module and the verification module. The verification module is used to: when it is determined that the control device is reset, perform N verification operations, the verification operation comprising: after waiting for a preset time, verify the running program in the storage module to obtain a verification result, wherein N ≥ 1 and is an integer; The control module is used to: when a verification result of one of the N verification operations is correct, execute the running program in the storage module.

2. The device according to claim 1, characterized in that The preset time length corresponding to the number of execution times of the verification operation being 1 is greater than the preset time length corresponding to the number of execution times being greater than 1.

3. The device according to claim 1, characterized in that The verification module comprises: An adjustment unit is used to set the preset duration to a first duration when the verification module performs the verification operation for the first time.

4. The device according to claim 3, characterized in that The adjustment unit is also used for: When the verification result of the first execution of the verification operation is that the verification is incorrect, the number of executions of the verification operation is set to M times, and the preset time length is set to the second time length, Wherein, M>1 and is an integer, and the second duration is smaller than the first duration.

5. The device according to claim 4, characterized in that The adjustment unit is also used for: When the verification results of executing the verification operation M times are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length, Wherein, K>M and is an integer, and the third duration is less than the second duration.

6. The device according to claim 1, characterized in that The verification module comprises: A verification unit, used to verify the running program; The delay unit is connected to the verification unit and is used to delay the start time of the verification unit by the preset time length.

7. The device according to claim 6, characterized in that The verification module also includes: A cyclic control unit is connected to the delay unit and the verification unit, and is used to control the delay unit and the verification unit to perform S verification operations, wherein 1<S≤N.

8. The device according to claim 1, characterized in that The verification module is also used for: When the verification results of N verification operations are all incorrect, the startup of the control module is interrupted.

9. The device according to claim 1, characterized in that The device is connected to an external device, and the verification module is also used for: When the verification results of N verification operations are all incorrect, a control signal is output to enable the external device to send the application file to the storage module.

10. The device according to claim 1, characterized in that The storage module includes a static random access memory.

11. A timing control circuit, characterized in that: Applied in a control device, the control device is a touch chip, or a display panel or terminal provided with a touch chip and having a touch function, the control device comprises a control module, a storage module, and a verification module, the storage module is connected to the control module and the verification module, and the circuit comprises: A delay module is connected to the verification module and is used to delay the startup time of the verification module by a first time period, so that the verification module verifies the running program in the storage module after the first time period is delayed to obtain a verification result, and the verification module controls the startup of the control module according to the verification result.

12. The circuit according to claim 11, characterized in that The circuit further comprises: A cycle control module, connected to the delay module and the verification module, for controlling the verification module and the delay module to perform M verification operations, The verification operation includes: after delaying the startup time of the verification module for a second time period, verifying the running program in the storage module to obtain a verification result, wherein M>1 and is an integer, The second duration is shorter than the first duration.

13. The circuit according to claim 12, characterized in that The circuit further comprises: an adjustment module, connected to the loop control module, for setting the number of executions of the verification operation to K times and the delay time to a third time when the verification results of the M verification operations are all incorrect; Wherein, K>M and is an integer, and the third duration is less than the second duration.

14. A control method, characterized in that: The method is applied to a control device, which is a touch chip, or a display panel or terminal provided with a touch chip and having a touch function. The control device includes a control module and a storage module. The method includes: When it is determined that the control device is reset, N verification operations are performed, the verification operations comprising: verifying the running program in the storage module after waiting for a preset time to obtain a verification result, wherein N ≥ 1 and is an integer; When the verification result of one of the N verification operations is correct, the running program in the storage module is executed.

15. The method according to claim 14, characterized in that The preset time length corresponding to the number of execution times of the verification operation being 1 is greater than the preset time length corresponding to the number of execution times being greater than 1.

16. The method according to claim 14, characterized in that The method further comprises: When the verification operation is performed for the first time, the preset duration is set to the first duration.

17. The method according to claim 16, characterized in that The method further comprises: When the verification result of the first execution of the verification operation is that the verification is incorrect, the number of executions of the verification operation is set to M times, and the preset time length is set to the second time length, Wherein, M>1 and is an integer, and the second duration is smaller than the first duration.

18. The method according to claim 17, characterized in that The method further comprises: When the verification results of executing the verification operation M times are all incorrect, the number of executions of the verification operation is set to K times, and the preset time length is set to the third time length, Wherein, K>M and is an integer, and the third duration is less than the second duration.

19. A chip, characterized in that: The chip comprises: A control device as claimed in any one of claims 1 to 10; or A timing control circuit as described in any one of claims 11 to 13.

20. An electronic device, characterized in that: The electronic device comprises the chip as claimed in claim 19.

21. The electronic device according to claim 20, characterized in that: The electronic device includes a display, a smart phone or a portable device.