CN113407020B - Component starting method and device, touch chip and electronic equipment - Google Patents

Component starting method and device, touch chip and electronic equipment Download PDF

Info

Publication number
CN113407020B
CN113407020B CN202110643010.7A CN202110643010A CN113407020B CN 113407020 B CN113407020 B CN 113407020B CN 202110643010 A CN202110643010 A CN 202110643010A CN 113407020 B CN113407020 B CN 113407020B
Authority
CN
China
Prior art keywords
reset
source
target
reset source
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110643010.7A
Other languages
Chinese (zh)
Other versions
CN113407020A (en
Inventor
张利达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chipone Technology Beijing Co Ltd
Original Assignee
Chipone Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chipone Technology Beijing Co Ltd filed Critical Chipone Technology Beijing Co Ltd
Priority to CN202110643010.7A priority Critical patent/CN113407020B/en
Publication of CN113407020A publication Critical patent/CN113407020A/en
Application granted granted Critical
Publication of CN113407020B publication Critical patent/CN113407020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • 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
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to a method and a device for starting a component, a touch chip and electronic equipment, wherein the method comprises the following steps: determining a target reset source according to reset monitoring information, wherein the reset monitoring information comprises a plurality of information units, and each reset source and each information unit have a one-to-one correspondence; determining a target start instruction set from a plurality of start instruction sets according to the target reset source; executing the target boot instruction set to boot the component. According to the embodiment of the disclosure, the target reset source is determined according to the reset monitoring information, the target start instruction set is determined from a plurality of start instruction sets according to the target reset source, the target start instruction set is executed to start the component, the cause of abnormal reset can be determined, the corresponding start flow is adaptively executed according to the target reset source when the component is reset, and the abnormal protection capability of the component is improved.

Description

Component starting method and device, touch chip and electronic equipment
Technical Field
The disclosure relates to the technical field of touch control, and in particular relates to a component starting method and device, a touch control chip and electronic equipment.
Background
With the continuous development of integrated circuit manufacturing processes, more and more complex circuit logic can be integrated on a single chip, and when the chip is abnormal, abnormal reset is usually triggered, so that the circuit logic of the chip is automatically restored to an initial state, and the chip can work normally. However, the related art generally cannot determine the cause of abnormal reset of the chip, and at the time of abnormal reset, the chip has low abnormality protection capability, which easily leads to chip damage.
Disclosure of Invention
According to an aspect of the present disclosure, there is provided a component starting method, the method including:
determining a target reset source according to reset monitoring information, wherein the reset monitoring information comprises a plurality of information units, and each reset source and each information unit have a one-to-one correspondence;
determining a target start instruction set from a plurality of start instruction sets according to the target reset source;
executing the target boot instruction set to boot the component.
In one possible implementation, the information unit includes one or more data bits, and the determining the target reset source according to the reset monitoring information includes:
and determining the target resetting source according to the numerical value of each information unit of the resetting monitoring information and the corresponding relation.
In one possible implementation manner, the determining the target reset source according to the reset monitoring information includes:
determining the reset monitoring information according to the information recorded by the reset monitoring circuit,
the reset monitoring circuit comprises a plurality of register units, each register unit corresponds to each reset source one by one, and when the reset source resets the component, the reset source resets the corresponding register unit to a first numerical value.
In one possible implementation, the reset source comprises a power-on reset source, an external input reset source, a software reset source, an ESD reset source, a watchdog reset source,
and the power-on reset source resets all register units to the first numerical value when in power-on reset.
In one possible embodiment, before determining the target reset source according to the reset monitoring information, the method further comprises:
acquiring reset monitoring information of the reset monitoring circuit;
setting the value of each register unit of the reset monitoring circuit to a second value or, in the case where the target reset source is a power-on reset source
Setting the value of the register unit corresponding to the target reset source to a second value under the condition that the target reset source is any one of an external input reset source, a software reset source, an ESD reset source and a watchdog reset source
Wherein the first value and the second value have different potentials.
In one possible implementation, each reset source has a one-to-one correspondence with each boot instruction set, and each boot instruction set corresponds to a different initialization or boot flow.
According to an aspect of the present disclosure, there is provided a component starting apparatus, the apparatus including:
the first determining module is used for determining a target reset source according to reset monitoring information, wherein the reset monitoring information comprises a plurality of information units, and each reset source and each information unit have a one-to-one correspondence;
the second determining module is connected with the first determining module and is used for determining a target starting instruction set from a plurality of starting instruction sets according to the target resetting source;
and the execution module is connected with the second determination module and is used for executing the target starting instruction set to start the component.
In a possible implementation, the information unit includes one or more data bits, and the first determining module is further configured to:
and determining the target resetting source according to the numerical value of each information unit of the resetting monitoring information and the corresponding relation.
In a possible embodiment, the apparatus further comprises a reset monitoring circuit comprising a plurality of register units, each register unit being in one-to-one correspondence with a respective reset source, which reset the corresponding register unit to a first value when the reset source resets the component,
wherein the first determining module is further configured to:
and determining the reset monitoring information according to the information recorded by the reset monitoring circuit.
In one possible implementation, the reset source comprises a power-on reset source, an external input reset source, a software reset source, an ESD reset source, a watchdog reset source,
the power-on reset source is used for resetting all register units to the first value during power-on reset.
According to an aspect of the present disclosure, there is provided a touch chip, the chip including the component starting device.
According to an aspect of the present disclosure, an electronic device is provided, where the electronic device includes the touch chip.
In one possible implementation, the electronic device includes a display, a smart phone, or a portable device.
According to the embodiment of the disclosure, the target reset source is determined according to the reset monitoring information, the target start instruction set is determined from a plurality of start instruction sets according to the target reset source, the target start instruction set is executed to start the component, the cause of abnormal reset can be determined, the corresponding start flow is adaptively executed according to the target reset source when the component is reset, and the abnormal protection capability of the component is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the technical aspects of the disclosure.
FIG. 1 illustrates a flow chart of a component activation method according to an embodiment of the present disclosure.
Fig. 2 shows a schematic diagram of a component activation device according to an embodiment of the present disclosure.
FIG. 3 illustrates a flow chart of a component activation method according to an embodiment of the present disclosure.
Fig. 4 shows a block diagram of a component activation device according to an embodiment of the present disclosure.
Fig. 5 shows a block diagram of a component activation device according to an embodiment of the present disclosure.
Fig. 6 shows a block diagram of an electronic device according to an embodiment of the disclosure.
Fig. 7 shows a block diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In the description of the present disclosure, it should be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the present disclosure and simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be configured and operated in a particular orientation, and thus should not be construed as limiting the present disclosure.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the present disclosure, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art as the case may be.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
Referring to fig. 1, fig. 1 shows a flowchart of a component start-up method according to an embodiment of the present disclosure.
As shown in fig. 1, the method includes:
step S11, determining a target reset source according to reset monitoring information, wherein the reset monitoring information comprises a plurality of information units, and each reset source and each information unit have a one-to-one correspondence;
step S12, determining a target starting instruction set from a plurality of starting instruction sets according to the target resetting source;
step S13, executing the target start instruction set to start the component.
According to the embodiment of the disclosure, the target reset source is determined according to the reset monitoring information, the target start instruction set is determined from a plurality of start instruction sets according to the target reset source, the target start instruction set is executed to start the component, the cause of abnormal reset can be determined, the corresponding start flow is adaptively executed according to the target reset source when the component is reset, and the abnormal protection capability of the component is improved.
Components of embodiments of the present disclosure include, but are not limited to, a single processor, or discrete components, or a combination of processors and discrete components. The processor may include a controller in an electronic device having the functionality to execute instructions, and may be implemented in any suitable 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 elements. Within the processor, the executable instructions may be executed by hardware circuits such as logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers.
In one example, the component may include a touch chip, and the touch chip may include a control circuit (e.g., an MCU) and a reset monitoring circuit, and the control circuit may be configured to perform the component activation method to determine a target reset source according to reset monitoring information, determine a target activation instruction set from a plurality of activation instruction sets according to the target reset source, execute the target activation instruction set to activate the component, thereby determining a cause of occurrence of abnormal reset, and adaptively perform a corresponding activation procedure according to the target reset source when the component is reset, thereby improving an abnormal protection capability of the component.
In one possible implementation, the information unit includes one or more data bits, and the determining the target reset source according to the reset monitoring information includes:
and determining the target resetting source according to the numerical value of each information unit of the resetting monitoring information and the corresponding relation.
In one example, assuming that the reset source includes K, the reset monitoring information may be set to include K information units, K being a positive integer.
In one example, assuming that the values of the K information units are all 0, the reset source may be determined to be a power-on reset source, and the current component is determined to be in a power-on completion stage, and a corresponding target start instruction set may be selected to perform a power-on initialization operation on the component.
In one example, assuming that the value of a certain information unit is 0 and the values of the remaining information units are 1, the reset source may be determined to be the reset source corresponding to the value 0, and a corresponding target start instruction set may be selected to execute the start-up procedure.
In one possible implementation, step S11 of determining the target reset source according to the reset monitoring information may include:
determining the reset monitoring information according to the information recorded by the reset monitoring circuit,
the reset monitoring circuit comprises a plurality of register units, each register unit corresponds to each reset source one by one, and when the reset source resets the component, the reset source resets the corresponding register unit to a first numerical value.
In one example, each register unit may include one or more registers.
Referring to fig. 2, fig. 2 shows a schematic diagram of a component activation device according to an embodiment of the disclosure.
In one example, as shown in fig. 2, the component starting apparatus may include a control module MCU, a reset monitoring circuit 40, and a multiplexing circuit 420, where the reset monitoring circuit may include a plurality of registers 410, each register 410 corresponds to each reset source one by one, and when a reset source resets the component, the corresponding registers 410 may be reset together (the value of the registers is set from a second value (e.g. 1) to a first value (e.g. 0)).
In one example, as shown in fig. 2, the control module MCU may read the values in each register 410 through a register read-write bus to make a determination of the reset source.
In one possible embodiment, the reset source comprises a power-on reset source, an external input reset source, a software reset source, an electrostatic discharge (ESD) reset source, a watchdog reset source, etc.,
and the power-on reset source resets all register units to the first numerical value when in power-on reset.
In one example, as shown in fig. 2, when a power-on reset source (MCU) performs a power-on reset, the control module MCU may synchronously reset the various registers 410 through multiplexing circuitry 420, so that certain register units cannot be reset after the component is powered on, thus outputting unexpected states, resulting in firmware pre-decisions.
In one example, as shown in fig. 2, the multiplexing circuit 420 may include a plurality of output terminals, each output terminal is connected to each register, and after the control module MCU sends out a reset signal, each register 410 is reset by the multiplexing circuit 420.
In one example, the first value is, for example, 0, i.e., the register cell is reset.
In one example, the clock of the reset monitoring circuit may remain off at all times, only being turned on during the control module MCU read/write cycle to avoid additional power consumption.
Referring to fig. 3, fig. 3 shows a flowchart of a component start-up method according to an embodiment of the present disclosure.
In one possible embodiment, as shown in fig. 3, before determining the target reset source according to the reset monitoring information, the method further includes:
step S21, acquiring reset monitoring information of the reset monitoring circuit;
step S22, setting the value of each register unit of the reset monitoring circuit to a second value when the target reset source is a power-on reset source, or setting the value of the register unit corresponding to the target reset source to a second value when the target reset source is any one of an external input reset source, a software reset source, an ESD reset source and a watchdog reset source,
wherein the first value and the second value have different potentials.
By the method, the embodiment of the disclosure can acquire the reset monitoring information of the reset monitoring circuit, and set the value of each register unit of the reset monitoring circuit to be a second value, wherein the first value and the second value have different potentials, so that the reset source can realize the reset of the register when the reset occurs subsequently.
In one possible implementation, each reset source has a one-to-one correspondence with each boot instruction set, and each boot instruction set corresponds to a different initialization or boot flow, e.g., a power-on reset source corresponds to boot instruction set 1, an IO reset instruction set corresponds to boot instruction set 2, a software reset source corresponds to boot instruction set 2, an ESD reset source corresponds to boot instruction set 3, and so on.
Of course, the specific operations performed by specific instructions of each boot instruction set in the embodiments of the present disclosure are not limited, and those skilled in the art may determine, for example, for a power-on reset, when a component is powered on, hardware environment operations including initializing a clock, closing a watchdog, establishing an interrupt vector table, initializing a stack register, initializing a memory, and the like, software environment operations including copying an RO, RW from a load domain to a run domain, initializing a ZI domain, initializing a stack pointer, initializing a C library environment, and the like may also include a process of starting a processor core (such as Cortex M3, and the like), which is not limited in the embodiments of the present disclosure.
It will be appreciated that the above-mentioned method embodiments of the present disclosure may be combined with each other to form a combined embodiment without departing from the principle logic, and are limited to the description of the present disclosure. It will be appreciated by those skilled in the art that in the above-described methods of the embodiments, the particular order of execution of the steps should be determined by their function and possible inherent logic.
Referring to fig. 4, fig. 4 shows a block diagram of a component activation device according to an embodiment of the present disclosure.
As shown in fig. 4, the apparatus includes:
a first determining module 10, configured to determine a target reset source according to reset monitoring information, where the reset monitoring information includes a plurality of information units, and each reset source has a one-to-one correspondence with each information unit;
a second determining module 20, coupled to the first determining module 10, for determining a target boot instruction set from a plurality of boot instruction sets according to the target reset source;
an execution module 30, coupled to the second determination module 20, for executing the target start instruction set to start the component.
According to the embodiment of the disclosure, the target reset source is determined according to the reset monitoring information, the target start instruction set is determined from a plurality of start instruction sets according to the target reset source, the target start instruction set is executed to start the component, the cause of abnormal reset can be determined, the corresponding start flow is adaptively executed according to the target reset source when the component is reset, and the abnormal protection capability of the component is improved.
In a possible implementation, the information unit includes one or more data bits, and the first determining module is further configured to:
and determining the target resetting source according to the numerical value of each information unit of the resetting monitoring information and the corresponding relation.
Referring to fig. 5, fig. 5 shows a block diagram of a component activation device according to an embodiment of the present disclosure.
In a possible embodiment, as shown in fig. 5, the apparatus further comprises a reset monitoring circuit 40, the reset monitoring circuit 40 comprising a plurality of register units, each register unit being in one-to-one correspondence with a respective reset source, which reset the corresponding register unit to a first value when the reset source resets the component,
wherein the first determining module is further configured to:
the reset monitoring information is determined from the information recorded by the reset monitoring circuit 40.
In one possible implementation, the reset source comprises a power-on reset source, an external input reset source, a software reset source, an ESD reset source, a watchdog reset source,
the power-on reset source is used for resetting all register units to the first value during power-on reset.
In one possible embodiment, before determining the target reset source according to the reset monitoring information, the apparatus further comprises:
the acquisition module is used for acquiring the reset monitoring information of the reset monitoring circuit;
the setting module is configured to set, when the target reset source is a power-on reset source, a value of each register unit of the reset monitoring circuit to a second value, or set, when the target reset source is any one of an external input reset source, a software reset source, an ESD reset source, and a watchdog reset source, a value of a register unit corresponding to the target reset source to a second value, where the first value and the second value have different potentials.
In one possible implementation, each reset source has a one-to-one correspondence with each boot instruction set, and each boot instruction set corresponds to a different initialization or boot flow.
In some embodiments, functions or modules included in an apparatus provided by the embodiments of the present disclosure may be used to perform a method described in the foregoing method embodiments, and specific implementations thereof may refer to descriptions of the foregoing method embodiments, which are not repeated herein for brevity. According to an aspect of the present disclosure, there is provided a touch chip, the chip including the component starting device.
According to an aspect of the present disclosure, an electronic device is provided, where the electronic device includes the touch chip.
In one possible implementation, the electronic device includes a display, a smart phone, or a portable device.
In one example, the display includes any one or more of 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, and a micro light emitting diode display panel.
The disclosed embodiments also provide a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method. The computer readable storage medium may be a non-volatile computer readable storage medium.
The embodiment of the disclosure also provides an electronic device, which comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to invoke the instructions stored in the memory to perform the above method.
Embodiments of the present disclosure also provide a computer program product comprising computer readable code, or a non-transitory computer readable storage medium carrying computer readable code, which when run in a processor of an electronic device, performs the above method.
The electronic device may be provided as a terminal, server or other form of device.
Fig. 6 shows a block diagram of an electronic device according to an embodiment of the disclosure.
For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, an electronic 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.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices 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 or optical disk.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen between the electronic device 800 and the user that provides an output interface. 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 a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also 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 electronic device 800 is in an operational 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 focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the electronic device 800. For example, the sensor assembly 814 may detect an on/off state of the electronic device 800, a relative positioning of the components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or a component of the electronic device 800, the presence or absence of a user's contact with the electronic device 800, an orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices, either wired or wireless. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 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 elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including computer program instructions executable by processor 820 of electronic device 800 to perform the above-described methods.
Fig. 7 shows a block diagram of an electronic device according to an embodiment of the disclosure.
For example, electronic device 1900 may be provided as a server. Referring to FIG. 7, electronic device 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform the methods described above.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an external input (I/O) interface 1958. Electronic device 1900 may operate an operating system based on memory 1932, such as the Microsoft Server operating system (Windows Server) TM ) Apple Inc. developed graphical user interface based operating System (Mac OS X TM ) Multi-user multi-process computer operating system (Unix) TM ) Unix-like operating system (Linux) of free and open source code TM ) Unix-like operating system (FreeBSD) with open source code TM ) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1932, including computer program instructions executable by processing component 1922 of electronic device 1900 to perform the methods described above.
The present disclosure may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present disclosure are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information of computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (11)

1. A method of component activation, the method comprising:
determining a target reset source according to the reset monitoring information, including: the reset monitoring circuit comprises a plurality of register units, each register unit corresponds to each reset source one by one, when the reset source resets the component, the reset source resets the corresponding register unit to a first value, wherein the reset monitoring information comprises a plurality of information units, and each reset source has a one-to-one corresponding relation with each information unit;
determining a target start instruction set from a plurality of start instruction sets according to the target reset source;
executing the target boot instruction set to boot the component,
before determining the target reset source according to the reset monitoring information, the method further comprises:
setting the value of each register unit of the reset monitoring circuit to a second value, wherein the first value and the second value have different potentials.
2. The method of claim 1, wherein the information element comprises one or more data bits, and wherein determining the target reset source based on the reset monitoring information comprises:
and determining the target resetting source according to the numerical value of each information unit of the resetting monitoring information and the corresponding relation.
3. The method of claim 1, wherein the reset source comprises a power-on reset source, an external input reset source, a software reset source, an ESD reset source, a watchdog reset source,
and the power-on reset source resets all register units to the first numerical value when in power-on reset.
4. A method according to claim 3, wherein said setting the value of each register unit of the reset monitoring circuit to a second value comprises:
acquiring reset monitoring information of the reset monitoring circuit;
setting the value of each register unit of the reset monitoring circuit to a second value or, in the case where the target reset source is a power-on reset source
Setting a value of a register unit corresponding to the target reset source to a second value in the case that the target reset source is any one of an external input reset source, a software reset source, an ESD reset source, and a watchdog reset source,
wherein the first value and the second value have different potentials.
5. The method of claim 1, wherein each reset source has a one-to-one correspondence with each boot instruction set, and each boot instruction set corresponds to a different initialization or boot flow.
6. A component activation device, the device comprising:
the first determining module is used for determining a target reset source according to reset monitoring information, wherein the reset monitoring information comprises a plurality of information units, and each reset source and each information unit have a one-to-one correspondence;
the second determining module is connected with the first determining module and is used for determining a target starting instruction set from a plurality of starting instruction sets according to the target resetting source;
an execution module, coupled to the second determination module, for executing the target boot instruction set to boot the component,
the apparatus further comprises a reset monitoring circuit comprising a plurality of register units, each register unit being in one-to-one correspondence with a respective reset source, the reset source resetting the corresponding register unit to a first value when the reset source resets the assembly, wherein the first determination module is further configured to: determining the reset monitoring information according to the information recorded by the reset monitoring circuit,
before determining the target reset source according to the reset monitoring information, the device further comprises:
and a setting module configured to set values of respective register units of the reset monitoring circuit to a second value, where the first value and the second value have different potentials.
7. The apparatus of claim 6, wherein the information element comprises one or more data bits, the first determination module further to:
and determining the target resetting source according to the numerical value of each information unit of the resetting monitoring information and the corresponding relation.
8. The apparatus of claim 6, wherein the reset source comprises a power-on reset source, an external input reset source, a software reset source, an ESD reset source, a watchdog reset source,
the power-on reset source is used for resetting all register units to the first value during power-on reset.
9. A touch chip, characterized in that the chip comprises the component activation device of any one of claims 6-8.
10. An electronic device comprising the touch chip of claim 9.
11. The electronic device of claim 10, wherein the electronic device comprises a display, a smart phone, or a portable device.
CN202110643010.7A 2021-06-09 2021-06-09 Component starting method and device, touch chip and electronic equipment Active CN113407020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110643010.7A CN113407020B (en) 2021-06-09 2021-06-09 Component starting method and device, touch chip and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110643010.7A CN113407020B (en) 2021-06-09 2021-06-09 Component starting method and device, touch chip and electronic equipment

Publications (2)

Publication Number Publication Date
CN113407020A CN113407020A (en) 2021-09-17
CN113407020B true CN113407020B (en) 2024-03-22

Family

ID=77683219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110643010.7A Active CN113407020B (en) 2021-06-09 2021-06-09 Component starting method and device, touch chip and electronic equipment

Country Status (1)

Country Link
CN (1) CN113407020B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265596A (en) * 1992-03-16 1993-10-15 Fujitsu Ltd Device initializing system
KR20000045791A (en) * 1998-12-30 2000-07-25 서평원 Method and apparatus for distinguishing reset in switchboard
KR20030024974A (en) * 2001-09-19 2003-03-28 엘지전자 주식회사 Apparatus and method for monitoring boot up of processor card
CN101149636A (en) * 2007-10-23 2008-03-26 华为技术有限公司 Repositioning system and method
DE102012204644A1 (en) * 2011-03-22 2012-09-27 Denso Corporation Control device i.e. multi-core microcomputer, for vehicle, has static switching part specifying portion, which is assigned to abnormal system if reset request signal is output from resetting unit such that specified portion is reset
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
CN105446851A (en) * 2014-09-27 2016-03-30 研祥智能科技股份有限公司 Processor monitoring method and system and MCU (Microprogrammed Control Unit) for monitoring processor
CN106033363A (en) * 2015-03-16 2016-10-19 中兴通讯股份有限公司 Upgrade method and upgrade device for application program of embedded system
CN107153453A (en) * 2016-03-04 2017-09-12 中兴通讯股份有限公司 A kind of linux system reset processing method and device
CN111596747A (en) * 2020-05-21 2020-08-28 深圳市信锐网科技术有限公司 Component resetting method, device, equipment and readable storage medium
CN111813590A (en) * 2020-06-02 2020-10-23 中车株洲电力机车研究所有限公司 Method and device for diagnosing abnormal reset of main control module and main control module
CN111857304A (en) * 2020-07-28 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Chip reset control method, device, equipment and storage medium
CN111880634A (en) * 2020-06-29 2020-11-03 中国人民解放军战略支援部队信息工程大学 Reset structure of SRIO exchange chip and reset state monitoring method thereof
CN112187233A (en) * 2020-10-14 2021-01-05 Oppo广东移动通信有限公司 Reset device, method, clock system and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8000076B2 (en) * 2009-07-15 2011-08-16 Lineage Power Corporation Interrupter, a method of responding to a monitored event and an integrated circuit including an interrupter
US20110179255A1 (en) * 2010-01-21 2011-07-21 Arm Limited Data processing reset operations

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265596A (en) * 1992-03-16 1993-10-15 Fujitsu Ltd Device initializing system
KR20000045791A (en) * 1998-12-30 2000-07-25 서평원 Method and apparatus for distinguishing reset in switchboard
KR20030024974A (en) * 2001-09-19 2003-03-28 엘지전자 주식회사 Apparatus and method for monitoring boot up of processor card
CN101149636A (en) * 2007-10-23 2008-03-26 华为技术有限公司 Repositioning system and method
DE102012204644A1 (en) * 2011-03-22 2012-09-27 Denso Corporation Control device i.e. multi-core microcomputer, for vehicle, has static switching part specifying portion, which is assigned to abnormal system if reset request signal is output from resetting unit such that specified portion is reset
CN103105915A (en) * 2013-02-18 2013-05-15 广东欧珀移动通信有限公司 Intelligent terminal reset method and intelligent terminal reset system
CN105446851A (en) * 2014-09-27 2016-03-30 研祥智能科技股份有限公司 Processor monitoring method and system and MCU (Microprogrammed Control Unit) for monitoring processor
CN106033363A (en) * 2015-03-16 2016-10-19 中兴通讯股份有限公司 Upgrade method and upgrade device for application program of embedded system
CN107153453A (en) * 2016-03-04 2017-09-12 中兴通讯股份有限公司 A kind of linux system reset processing method and device
CN111596747A (en) * 2020-05-21 2020-08-28 深圳市信锐网科技术有限公司 Component resetting method, device, equipment and readable storage medium
CN111813590A (en) * 2020-06-02 2020-10-23 中车株洲电力机车研究所有限公司 Method and device for diagnosing abnormal reset of main control module and main control module
CN111880634A (en) * 2020-06-29 2020-11-03 中国人民解放军战略支援部队信息工程大学 Reset structure of SRIO exchange chip and reset state monitoring method thereof
CN111857304A (en) * 2020-07-28 2020-10-30 山东云海国创云计算装备产业创新中心有限公司 Chip reset control method, device, equipment and storage medium
CN112187233A (en) * 2020-10-14 2021-01-05 Oppo广东移动通信有限公司 Reset device, method, clock system and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Reset与嵌入式系统应用的稳定性;王国辉;;单片机与嵌入式系统应用;20130801(第08期);5-8 *
一种多核SoC的复位管理系统设计;张跃玲;赵忠惠;白涛;汪健;张瑾;;单片机与嵌入式系统应用;20161201(第12期);7-11 *
实时在线嵌入式系统复位设计;王迷迷;王斌;操凤萍;郑英;;计算机工程与科学;20150515;第37卷(第05期);19-23 *

Also Published As

Publication number Publication date
CN113407020A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
EP3032412A1 (en) Method and device for upgrading firmware
US11416112B2 (en) Method and device for displaying an application interface
WO2017071078A1 (en) Communication module firmware and plug-in generation method and apparatus
EP2924552B1 (en) Method and mobile terminal for executing user instructions
EP3046212A1 (en) Method and apparatus for controlling charging of terminal device
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
EP3232301B1 (en) Mobile terminal and virtual key processing method
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
KR20160012573A (en) Apparatus for Providing Integrated Functions of Dial and Calculator and Method thereof
EP3173963A1 (en) Unlocking method and apparatus, computer program and recording medium
EP3142337A1 (en) Method and apparatus for installing application and smart device using them
US10908645B2 (en) Method for controlling screen output and electronic device supporting same
CN111694571B (en) Compiling method and device
CN109144317B (en) Screen gesture detection method and device
US10289290B2 (en) Apparatus and method for displaying a portion of a plurality of background applications
CN113407020B (en) Component starting method and device, touch chip and electronic equipment
CN111290843A (en) Process management method and device
CN108124098B (en) Electronic device and method for auto-focusing
WO2023024439A1 (en) Behavior recognition method and apparatus, electronic device and storage medium
CN108549570B (en) User interface updating method and device
CN114003542A (en) Signal conditioner, signal conditioning method, electronic device, and storage medium
CN113342697A (en) Simulation test system and method for flash translation layer
CN107145441B (en) Page display method and device
CN116401017B (en) Method, device, equipment and storage medium for realizing virtual display card
CN110413525B (en) Safety testing method and device

Legal Events

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