WO2020199009A1 - Processing method, apparatus and device for starting apparatus, and storage medium - Google Patents

Processing method, apparatus and device for starting apparatus, and storage medium Download PDF

Info

Publication number
WO2020199009A1
WO2020199009A1 PCT/CN2019/080605 CN2019080605W WO2020199009A1 WO 2020199009 A1 WO2020199009 A1 WO 2020199009A1 CN 2019080605 W CN2019080605 W CN 2019080605W WO 2020199009 A1 WO2020199009 A1 WO 2020199009A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
operating system
system kernel
volatile memory
screen
Prior art date
Application number
PCT/CN2019/080605
Other languages
French (fr)
Chinese (zh)
Inventor
董航
彭亢
江小华
李春晖
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201980093707.2A priority Critical patent/CN113545093A/en
Priority to PCT/CN2019/080605 priority patent/WO2020199009A1/en
Publication of WO2020199009A1 publication Critical patent/WO2020199009A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to a processing method, device, equipment, and storage medium of a startup device.
  • the startup speed of the display device is a key parameter that characterizes the performance of the device, which directly affects the user experience.
  • the display device needs to light up the display and start the operating system during the startup process.
  • Timer screen mode that is, the processor needs to set interrupts and timers during each startup process, and take an operation in the light-up display as a timer event, and then, the processor first executes the light-up display For the remaining operations other than this operation, configure the timer event, load the operating system kernel after the configuration is completed, then execute the timer event, and start and enter the operating system kernel after the timer event execution ends to start the display device.
  • the present application provides a processing method, device, equipment, and storage medium of a startup device, which can shorten the startup time and speed up the startup speed of a display device including the startup device.
  • the first processor and the second processor may be at least two CPUs separately provided, or a system-on chip (SOC) integrated with at least two CPUs, or other forms.
  • the first processor and the second processor can access the flash memory and the memory to obtain the program and the parameters required by the program while it is running, so as to implement the startup process of the display device.
  • the memory controller, flash memory, and memory may be provided in the boot device, and may also be connected to the first processor and the second processor in the boot device in a peripheral manner.
  • the flash memory has the feature that data will not be lost after power failure, and is specifically used to store data required when the display device is started, such as programs and parameters required when the program is running.
  • data required when the display device is started such as programs and parameters required when the program is running.
  • the boot program the operating system kernel for normal work, and the operating system kernel for resetting.
  • flash memory may include multiple types, such as embedded multimedia card (eMMC) or universal flash storage (UFS) memory.
  • eMMC embedded multimedia card
  • UFS universal flash storage
  • the boot program includes all the programs involved in the two processes of illuminating the display screen and starting the operating system kernel of the display device and the parameters required when the program is running.
  • the operating system kernel is the core part of the operating system, which is mainly used to manage the operating system's processes, memory, device drivers, files, and network systems, and determines the performance and stability of the operating system.
  • the operating system can include but is not limited to Linux, Android and other self-developed systems.
  • the non-volatile memory may be a flash memory
  • the volatile memory may be a memory
  • the first processor and the second processor are used as independent arithmetic units. After the display device including the startup device and the display screen is powered on, the first processor automatically starts, and the first processor starts the second processor. Furthermore, the second processor lights up the display screen, and while the second processor lights up the display screen, the first processor starts the operating system kernel, so that the first processor and the second processor perform their operations in parallel The process makes the two operation processes overlap in time, thereby reducing the startup time of the display device and improving the startup speed of the display device.
  • the first processor before starting the second processor, is also used to write the boot program in the non-volatile memory into the volatile memory, and the boot program includes the boot The operating program of the second processor; the first processor is specifically configured to start the second processor according to the instruction of the boot program.
  • the first processor before the first processor starts the second processor, is also used to write the initialization program in the non-volatile memory into the volatile memory,
  • the initialization program is used to initialize the second processor.
  • the second processor is further configured to perform initialization according to the initialization program after the first processor starts the second processor; during the initialization process of the second processor,
  • the first processor is also used to write the screen point program and screen parameter information in the non-volatile memory into the volatile memory.
  • the screen point program is used to control the display screen to light up, and the screen parameter information Display the required information for this display.
  • the first processor and the second processor can be used as independent arithmetic units, the first processor and the second processor can work at the same time. Furthermore, in order to further save the startup time, during the initialization process of the second processor, the first processor can write the screen program and screen parameter information in the flash memory into the memory, so that the second processor performs the initialization process There is time overlap with the read program executed by the first processor and the parameter process during program execution, which reduces the startup time of the display device.
  • the second processor is specifically configured to: write the screen point program and the screen parameter information into a reserved area of the volatile memory, and according to the reserved area The point screen program and the screen parameter information light up the display screen.
  • the screen parameter information includes at least one of the following information: the resolution of the display screen, the type of interface between the activation device and the display screen, and the extension of the backlight that lights up the display screen. Time and various timing information.
  • the second processor is specifically configured to light up the display screen when it is determined that the first identification position is a first preset value, and the first preset value is used to indicate the reserved area The screen point program information and the screen parameter information have been written in the screen; or, the second processor is specifically configured to light up the display screen when the first message sent by the first processor is received, and the first The message is used to indicate that the point screen program and the screen parameter information have been written in the reserved area.
  • the first identification bit is arranged in a volatile memory or a storage area shared by the first processor and the second processor.
  • the first processor is further configured to notify the second processor to be under the instruction of the operating system kernel when it is determined by the operating system kernel that the second identification bit is the second preset value Run, the second preset value is used to indicate that the second processor has turned on the display screen; or, the first processor is also used to indicate that the second processor sent by the second processor is received through the operating system kernel.
  • the second processor is notified to run under the instruction of the operating system kernel, and the third message indicates that the second processor has turned on the display screen.
  • the second identification bit is provided in a volatile memory or a storage area shared by the first processor and the second processor.
  • the first processor before the first processor starts the second processor, the first processor is also used to perform an empty disk upgrade operation when the empty disk upgrade signal is received; wherein, the empty disk
  • the disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used by the second processor according to the empty disk Upgrade signal, read the operating system kernel corresponding to the empty disk upgrade signal from another memory, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory.
  • the other memory is Memory other than the non-volatile memory and the volatile memory.
  • the startup device on the basis of saving the startup time of the display device, it can also take into account the reset function of the display device. Specifically, when the first processor receives the reset signal, it can write the operating system kernel corresponding to the reset signal in the flash memory into the memory, so that the first processor can start the operating system kernel corresponding to the reset signal.
  • the first processor and/or the second processor may perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal to restore the display device to a normal working state, so as to meet actual requirements such as clearing the cache of the display device.
  • the first processor before the first processor starts the second processor, the first processor is also used to perform an empty disk upgrade operation when the empty disk upgrade signal is received; wherein, the empty disk
  • the disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used by the second processor according to the empty disk Upgrade signal, read the operating system kernel corresponding to the empty disk upgrade signal from another memory, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory.
  • the other memory is Memory other than the non-volatile memory and the volatile memory.
  • the startup device on the basis of saving the startup time of the display device, it can also take into account the empty disk upgrade function of the display device. Specifically, when receiving the empty disk upgrade signal, the first processor may send an empty disk upgrade signal to the second processor, so that the second processor can read the operating system corresponding to the empty disk upgrade signal from another memory.
  • Kernel and replaces the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory so that the first processor can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory into the memory, and
  • the operating system kernel corresponding to the empty disk upgrade signal is started in the memory, so that the first processor and the second processor can run under the instruction of the operating system kernel corresponding to the empty disk upgrade signal, so as to realize the correspondence through the empty disk upgrade signal
  • the process of normal booting of the display device by the operating system kernel of the operating system can not only reduce the startup time, but also eliminate the failure of the operating system kernel, so that the display device can resume normal display or start normally.
  • the starting device further includes: a non-volatile memory and a volatile memory.
  • the first processor and the second processor may be at least two CPUs separately provided, or a system-on chip (SOC) integrated with at least two CPUs, or other forms.
  • the first processor and the second processor can access the flash memory and the memory to obtain the program and the parameters required by the program when the program runs, so as to implement the startup process of the display device.
  • the memory controller, flash memory, and memory may be provided in the boot device, and may also be connected to the first processor and the second processor in the boot device in a peripheral manner.
  • the memory has the characteristics of fast data read and write speed, and is specifically used to provide a cache area for data that needs to be used when multiple CPUs are running.
  • the memory may specifically include various types of random-access memory (RAM), for example, double data rate synchronous dynamic RAM (DDR SDRAM).
  • RAM random-access memory
  • DDR SDRAM double data rate synchronous dynamic RAM
  • the memory controller is used to decode various read and write requests of the memory (ie flash memory or memory) issued by the main CPU. It can be an independent device separate from the flash memory and the memory, or it can be integrated inside the flash memory or the memory. Used to specifically manage the access requests of the corresponding memory.
  • the non-volatile memory may be a flash memory
  • the volatile memory may be a memory
  • the method before the first processor starts the second processor, the method further includes: the first processor writes the initialization program in the non-volatile memory into the volatile memory , The initialization program is used to initialize the second processor.
  • the method further includes: the second processor initializes the second processor according to the initialization program; During the initialization of the processor, the first processor writes the screen point program and screen parameter information in the non-volatile memory into the volatile memory.
  • the screen point program is used to control the display screen to light up.
  • the screen parameter information is the information required for the display.
  • the first processor and the second processor can be used as independent arithmetic units, the first processor and the second processor can work at the same time. Furthermore, in order to further save the startup time, during the initialization process of the second processor, the first processor can write the screen program and screen parameter information in the flash memory into the memory, so that the second processor performs the initialization process There is time overlap with the read program executed by the first processor and the parameter process during program execution, which reduces the startup time of the display device.
  • the second processor illuminates the display screen, including: the second processor writes the screen point program and the screen parameter information into a reserved area of the volatile memory , And in the reserved area, light up the display screen according to the screen point program and the screen parameter information.
  • the screen parameter information includes at least one of the following information: the resolution of the display screen, the type of interface between the activation device and the display screen, and the extension of the backlight that lights up the display screen. Time and various timing information.
  • the first identification bit is arranged in a volatile memory or a storage area shared by the first processor and the second processor.
  • the method before the first processor starts the operating system kernel, the method further includes: the first processor writes the operating system kernel in the non-volatile memory into the volatile memory
  • the first processor to start the operating system kernel includes: the first processor reads the operating system kernel from the volatile memory to start the operating system kernel.
  • the second processor running under the instruction of the operating system kernel includes: when the first processor determines that the second flag is a second preset value, notifying the second processor Run under the instruction of the operating system kernel, the second preset value is used to indicate that the second processor has turned on the display screen; or, the first processor has received the third processor sent by the second processor.
  • the second processor is notified to run under the instruction of the operating system kernel, and the third message is used to indicate that the second processor has turned on the display screen.
  • the second identification bit is provided in a volatile memory or a storage area shared by the first processor and the second processor.
  • the method before the first processor starts the second processor, the method further includes: when the first processor receives the reset signal, executes the startup of the operating system kernel corresponding to the reset signal Operation, the first processor and/or the second processor perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal: wherein the startup operation includes: the first processor transfers a nonvolatile memory The operating system kernel corresponding to the reset signal in the reset signal is written into the volatile memory; the first processor starts the operating system kernel corresponding to the reset signal; the reset operation includes: clearing the cache and/or each of the starting devices The parameter is restored to the preset value.
  • the reset function of the display device can also be taken into consideration.
  • the first processor when it receives the reset signal, it can write the operating system kernel corresponding to the reset signal in the flash memory into the memory, so that the first processor can start the operating system kernel corresponding to the reset signal.
  • the first processor and/or the second processor may perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal to restore the display device to a normal working state, so as to meet actual requirements such as clearing the cache of the display device.
  • the method before the first processor starts the second processor, the method further includes: when the first processor receives an empty disk upgrade signal, performing an empty disk upgrade operation; wherein, the The empty disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used by the second processor according to the empty disk.
  • Disk upgrade signal read the operating system kernel corresponding to the empty disk upgrade signal from another memory, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory, and the other memory It is a memory other than the non-volatile memory and the volatile memory.
  • Kernel and replaces the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory so that the first processor can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory into the memory, and
  • the operating system kernel corresponding to the empty disk upgrade signal is started in the memory, so that the first processor and the second processor can run under the instruction of the operating system kernel corresponding to the empty disk upgrade signal, so as to realize the correspondence through the empty disk upgrade signal
  • the process of normal booting of the display device by the operating system kernel of the operating system can not only reduce the startup time, but also eliminate the failure of the operating system kernel, so that the display device can resume normal display or start normally.
  • the starting device further includes: a non-volatile memory and a volatile memory.
  • the power supply board and the main board are arranged inside the casing; the display screen is arranged on the inner surface of the casing to provide a display screen; the power supply board is respectively connected to the display screen and the main board and is used for The display screen and the main board provide power; the main board is also connected to the display screen to provide display data to the display screen; the main board is provided with the above-mentioned first aspect and the possible designs of the above-mentioned first aspect Start the device.
  • beneficial effects of the display devices provided in the foregoing third aspect and the possible designs of the foregoing third aspect may refer to the beneficial effects brought about by the foregoing first aspect and each possible implementation of the first aspect. Repeat it again.
  • the present application provides a readable storage medium in which an execution instruction is stored.
  • the instruction runs on a computer or a processor
  • the first processor and the second processor execute the second aspect
  • the computer or the processor includes the first processor and the second processor.
  • the present application provides a program product, the program product includes an execution instruction, and the execution instruction is stored in a readable storage medium.
  • the processor of the electronic device can read the execution instruction from the readable storage medium, so that the first processor and the second processor execute the execution instruction so that the electronic device implements the second aspect and any one of the possible designs of the second aspect
  • the processing method of the activation device wherein the processor of the electronic device includes the first processor and the second processor.
  • the present application provides a chip that is connected to a memory, or a memory is integrated on the chip, and when the software program stored in the memory is executed, any one of the second aspect and the second aspect is possible
  • the memory includes a non-volatile memory and a volatile memory.
  • FIG. 3 is a hardware architecture diagram of an exemplary starting device provided by an embodiment of the application.
  • FIG. 4 is a signaling flowchart of an exemplary processing method for starting the device according to an embodiment of the application
  • FIG. 5 is a partial signaling flow chart of resetting a display device in an exemplary processing method for starting an apparatus provided by an embodiment of the application;
  • FIG. 6 is a signaling flowchart of an empty disk upgrade of a display device in an exemplary processing method of a startup device provided by an embodiment of the application;
  • Fig. 7 is a schematic structural diagram of an exemplary starting device provided by an embodiment of the application.
  • the power board 3 is respectively connected to the display screen 2 and the main board 4 (not shown in FIG. 1), so that the power board 3 can supply power to the display screen 2 and the main board 4 respectively to provide different levels of power.
  • the power board 3 may adopt one or more circuit boards.
  • the power board 3 specifically includes but is not limited to hardware components such as a voltage converter, an AC-DC converter, a DC-DC converter, and a filter.
  • the display screen 2 is connected to the main board 4 (not shown in FIG. 1), so that the display screen 2 can receive the display data sent by the main board 4 for normal display.
  • This application does not limit the specific shape, size and type of the display screen 2.
  • the display 2 is a liquid crystal display.
  • each CPU may generally include arithmetic logic components, register components, and control components.
  • the register component is a small area of multiple CPUs that can be used for configuration and storage of parameters, and is usually used as a common storage area of multiple CPUs (this common storage area can be used as a feasible area of the reserved area mentioned in this application). Method to realize).
  • certain identification bits can be stored in the register component, so that multiple CPUs can identify the identification bits to determine the corresponding function.
  • the register component can also store a boot program (Bootrom) solidified in multiple CPUs, where the Bootrom is used to guide the CPU to execute the Boot program, and the Boot program is used to boot the display device to start, that is, the display device is on the After powering on, the CPU can start from the Bootrom and enter the boot program to realize the startup of the display device.
  • a boot program Bootrom
  • the boot program includes all the programs involved in the two processes of illuminating the display screen 2 and starting the operating system kernel 13 of the display device and the parameters required for the program to run.
  • the operating system kernel 13 is the core part of the operating system, which is mainly used to manage the processes, memory, device drivers, files, and network systems of the operating system, and determines the performance and stability of the operating system.
  • the operating system may include, but is not limited to, Linux, Android and other operating systems.
  • main board 4 is also provided with a flash memory 51 (Flash Storage), a memory 52 and a memory controller 53.
  • flash memory 51 Flash Storage
  • memory 52 Flash Storage
  • memory controller 53 memory controller
  • the flash memory 51 is a non-volatile memory, which has the characteristic that data will not be lost after power failure, and is specifically used to store data required when the display device is started, such as a program and parameters required when the program is running. For example, the boot program, the operating system kernel 13 for normal operation, and the operating system kernel for resetting.
  • the flash memory 51 may include multiple types, such as embedded multimedia card (eMMC), universal flash storage (UFS) memory, or read-only memory (ROM), or Other types of static storage devices that can store static information and instructions.
  • eMMC embedded multimedia card
  • UFS universal flash storage
  • ROM read-only memory
  • the memory 52 is a volatile memory, which has the characteristics of fast data read and write speed, and is specifically used to provide a cache area for data that needs to be used when multiple CPUs are running.
  • the memory 52 may specifically include various types of random-access memory (RAM) or other types of dynamic storage devices that can store information and instructions, for example, double data rate synchronous dynamic RAM (double data rate synchronous dynamic RAM). , DDR SDRAM).
  • RAM random-access memory
  • DDR SDRAM double data rate synchronous dynamic RAM
  • the memory controller 53 is used to decode various read and write requests of the memory (that is, the flash memory 51 or the memory 52) issued by the main CPU. It can be an independent device separated from the flash memory 51 and the memory 52 as shown in FIG. 2, It can also be integrated in the flash memory 51 or the memory 52 to specifically manage the access request of the corresponding memory.
  • the memory may also include Electrically Erasable Programmable Read-Only Memory (EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, optical disk storage (including Compact discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any program code that can be used to carry or store program codes in the form of instructions or data structures and that can be accessed by a computer Other computer-readable storage media, but not limited to this.
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • optical disk storage including Compact discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.
  • magnetic disk storage media or other magnetic storage devices, or any program code that can be used to carry or store program codes in the form of instructions or data structures and that can be accessed by a computer Other computer
  • multiple CPUs are generally considered to be a master CPU and at least one slave CPU.
  • the master CPU executes the startup process of the display device, while other slave CPUs do not perform any operations during the startup process of the display device.
  • the startup process of the display device not only needs to light up the display screen 2 of the display device, but also needs to start the operating system. Therefore, after the display device is powered on, the main CPU reads the boot program in the flash memory 51 into the memory 52 under the guidance of the Bootrom in the register component, and executes the boot program in the memory 52 to start the display device.
  • the main CPU can adopt a serial dot screen mode to implement the startup process of the display device.
  • the specific process is: the main CPU can first power on the timing controller (TCON), then turn on the interface (Interface, Intf) between the motherboard 4 and the display 2, and then wait for a period of time (such as 1500ms) before the display Backlight in 2 is turned on.
  • TCON timing controller
  • Interface, Intf interface between the motherboard 4 and the display 2
  • a period of time such as 1500ms
  • the main CPU After the Backlight lights up, the main CPU starts to load the operating system kernel 13, which reads from the flash memory 51 the reference implementation software (ARM (Advanced RISC Machines) Trusted Firmware, atf) provided by the ARM processor in turn, and the kernel (kernel) , Such as Linux Kernel, an open source Unix-like operating system macro kernel) and for kernel analysis (Device-Tree blob, dtb). Finally, the main CPU runs the operating system kernel 13 in the memory 52 to guide the operating system kernel 13 to start.
  • ARM Advanced RISC Machines
  • Kernel an open source Unix-like operating system macro kernel
  • kernel analysis Device-Tree blob, dtb
  • the TCON is usually set on the TCON board, and the TCON board can be set on the main board 4 or separately from the main board 4, which is not limited in this application.
  • the main CPU can first power on the TCON.
  • the main CPU does not need to power on the TCON, and the TCON can be powered on actively.
  • the main CPU can use the timer point screen mode to realize the startup process of the display device.
  • the specific process is: the main CPU can initialize the interrupt and the timer, and then execute the TCON power on, open the Intf interface, Configure the timer event and enable the timer event.
  • the specific content of the timer event is a period of time (for example, 1500ms) and then the Backlight is turned on.
  • the main CPU starts to load the operating system kernel 13, that is, read atf, kernel, and dtb from the flash in sequence.
  • the main CPU runs the operating system kernel 13 in the memory 52 to guide the operating system kernel 13 to start.
  • the main CPU In the serial dot screen mode, the main CPU needs to sequentially complete the two processes of lighting the display screen 2 and starting the operating system kernel 13 of the display device, which consumes a lot of startup time.
  • the main CPU In the timer screen mode, the main CPU needs to initialize the interrupt and timer each time, and after the process of starting the operating system kernel 13 is completed, it needs to wait for the timer event to end before entering the operating system kernel 13, which consumes a lot of startup time. Therefore, in the actual application process, no matter whether the main CPU adopts the serial dot screen mode or the timer dot screen mode, it will take a lot of time, which limits the startup speed of the display device.
  • the present application provides a processing method, device, equipment and storage medium for starting the device, which can save the starting time of the display device and improve the starting speed of the display device.
  • a processing method, device, equipment and storage medium for starting the device which can save the starting time of the display device and improve the starting speed of the display device.
  • FIG. 3 illustrates the hardware architecture of the startup device 10.
  • the startup device 10 may include at least one central processing unit (CPU), at least one memory, graphics processing unit (GPU), Decoder, dedicated video or graphics processor, receiving interface and transmitting interface, etc.
  • the starting device 10 may also include a microprocessor and a microcontroller (Microcontroller Unit, MCU), etc. (not shown in FIG. 3).
  • CPU central processing unit
  • GPU graphics processing unit
  • Decoder dedicated video or graphics processor
  • MCU microcontroller Unit
  • the above-mentioned parts of the activation device 10 are coupled through a connector.
  • coupling refers to mutual contact in a specific manner, including direct connection or through other equipment.
  • Indirect connection for example, can be connected through various interfaces, transmission lines or buses. These interfaces are usually electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces, which are not limited in this application.
  • the above-mentioned parts are integrated on the same chip.
  • the CPU, GPU, decoder, receiving interface, and transmitting interface are integrated on a chip, and the internal parts of the chip access external memory through a bus.
  • the dedicated video/graphics processor can be integrated with the CPU on the same chip, or it can exist as a separate processor chip.
  • the dedicated video/graphics processor can be a dedicated ISP.
  • the chip involved in this application is a system manufactured on the same semiconductor substrate by an integrated circuit process, also called a semiconductor chip, which can be manufactured on the substrate by using an integrated circuit process (usually a semiconductor such as silicon)
  • the outer layer of the integrated circuit formed on the material is usually encapsulated by a semiconductor packaging material.
  • the integrated circuit may include various types of functional devices, and each type of functional device includes transistors such as logic gate circuits, Metal-Oxide-Semiconductor (MOS) transistors, bipolar transistors or diodes, and may also include capacitors and resistors. Or inductance and other components.
  • MOS Metal-Oxide-Semiconductor
  • Each functional device can work independently or under the action of necessary driver software, and can realize various functions such as communication, calculation, or storage.
  • the receiving interface may be an interface for data input of the processor chip.
  • the receiving interface may be a high-definition multimedia interface (HDMI).
  • HDMI high-definition multimedia interface
  • the processor in the boot device 10 is a multi-core (multi-CPU) processor.
  • the first processor 11 and the second processor 12 are illustrated in FIG. 2 and FIG. 3.
  • the first processor 11 and the second processor 12 may be used to execute computer program codes stored in the memory to implement The method in the embodiment of this application.
  • the memory can be used to store computer program instructions, including an operating system (OS), various application programs, and various computer program codes for storing and executing the program code of the present application.
  • the memory can also be used to store video data, image signal data, and so on.
  • the memory may include the memory controller 53, the flash memory 51, and the memory 52 mentioned in FIG.
  • the first processor 11 and the second processor 12 may be at least two CPUs separately provided, or a system-on chip (SOC) integrated with at least two CPUs may be used, or may be such as processing In other forms such as a processor group, multiple processors are coupled to each other through one or more buses.
  • the first processor 11 and the second processor 12 can access the flash memory 51 and the memory 52 to obtain the program and the parameters required by the program when the program is running, so as to implement the startup process of the display device.
  • the memory controller 53, the flash memory 51, and the memory 52 may be provided in the boot device 10, and may also be connected to the first processor 11 and the second processor 12 in the boot device 10 by means of peripherals.
  • FIG. 4 is a signaling flowchart of an exemplary processing method for starting the device provided in an embodiment of the application.
  • the processing method of the activation device 10 of the present application may include:
  • the first processor starts the second processor.
  • the boot program in the prior art can be divided into the first part of the program and the second part of the program.
  • the execution subject of the first part of the program is the first processor 11, which is used to start the second processor 12 and the operating system kernel 13 of the display device.
  • the first part of the program may include, but is not limited to: a boot program and an operating system kernel 13, where the boot program may include an operating program for starting the second processor 12, an initialization program for the first processor 11, and the like.
  • the execution body of the second part of the program is the second processor 12, which is used to light up the display screen.
  • the display screens may be one or more, which may specifically be a display screen in a display device or a separately set display screen. This application does not limit this.
  • the display screen is illustrated with the display screen 2 in the display device shown in FIG. 1.
  • the second part of the program may include, but is not limited to: an initialization program of the second processor 12, a screen point program, and screen parameter information.
  • the boot program is stored in the flash memory 51, and the boot program runs in the memory 52. Therefore, in order to start the second processor 12, the first processor 11 may write the boot program in the flash memory 51 into the memory 52, where the boot program includes an operating program for starting the second processor 12, the first The processor 11 executes an operation program for starting the second processor 12 in the memory 52. Specifically, the first processor 11 may power on the second processor 12 according to the instruction of the boot program, so as to implement the process of starting the second processor 12 by the first processor 11.
  • the boot program may also include a first initialization program, and the first initialization program is used to initialize the processor 11.
  • the first processor 11 may execute the first initialization program in the memory 52. Specifically, the first processor 11 may initialize and configure various parameters of the first processor 11 according to the first initialization program, so as to realize the initialization of the first processor 11.
  • the second processor lights up the display screen.
  • one of the multiple CPUs can write the boot program from the flash memory 51 to the memory 52, so that multiple CPUs can execute the boot program in the memory 52.
  • the second processor 12 After S101, the second processor 12 has been started. Therefore, in order to enable the second processor 12 to work normally, the first processor 11 may write the second initialization program in the flash memory 51 into the memory 52 before the second processor 12 lights up the display screen 2.
  • the second initialization program is used to initialize the second processor 12 and execute the second initialization program in the memory 52. Specifically, the second processor 12 may initialize and configure various parameters of the second processor 12 according to the second initialization program, thereby realizing the initialization of the second processor 12.
  • the first processor 11 may write the screen point program and screen parameter information in the flash memory 51 to the display screen 2 before the second processor 12 lights up the display screen 2. 52 in the memory.
  • the point screen procedure and screen parameter information will be different, and in order to adapt to different display requirements, the point screen procedure and screen parameter information will also be different.
  • the screen point program is used to control the lighting of the display screen 2.
  • the specific control process may include but is not limited to: powering on the display screen 2, preparing for the second processor 12 to perform lighting of the display screen 2, and turning on the display Backlight in screen 2, etc.
  • the screen parameter information is the information required for display on the screen 2. This application does not limit the implementation of screen parameter information.
  • the screen parameter information includes at least one of the following information: the resolution of the display screen 2, the type of the interface (Interface, Intf) between the activation device 10 and the display screen 2, and the backlight ( Backlight) delay and various timing information.
  • the timing information includes, but is not limited to, the power-on timing of Intf, the data transmission timing of Intf, and the power-on timing of TCON.
  • the first processor 11 and the second processor 12 can be used as independent arithmetic units, the first processor 11 and the second processor 12 can work at the same time. Since the second processor 12 needs to use the screen program and screen parameter information to light up the display screen, it takes time for the processor 11 to write the screen program and screen parameter information from the flash memory 51 into the memory 52, in order to further save startup time After the processor 11 writes the second initialization program into the memory 52, the second processor 12 can perform initialization without waiting for the processor 11 to write all the information used by the second processor to light the display screen 2 into the memory 52 After the initialization is performed, the first processor 11 can write the screen program and screen parameter information in the flash memory 51 into the memory 52 during the initialization of the second processor 12, so that the second processor 12 executes There is a time overlap between the initialization process and the read program executed by the first processor 11 and the parameter process during program execution, which further reduces the startup time of the display device.
  • the first processor 11 and the second processor 12 can execute their respective operation processes at the same time, or the first processor 11 can also first communicate with the first processor 11
  • the second processor 12 executes the corresponding operation process and ends the respective operation process at the same time, so that the time overlap of the two processes is the duration of the initialization process performed by the second processor 12, that is, the time overlap is the largest. In this way, the display device The effect of saving startup time is the best.
  • the first processor 11 and the second processor 12 both need to execute their respective operation processes in the memory 52, and it is inevitable that the same program and/or program execution parameters will be called during the respective execution processes. If any one of the first processor 11 and the second processor 12 needs to modify the program and/or the parameters during program execution, the other processor will use the modified program and/or the parameters during program execution. Causes an error or failure in the operation of the processor. Therefore, the first processor 11 writes the screen program and screen parameter information into the reserved area of the memory 52, so that the second processor 12 is configured in the reserved area according to the point The screen program and screen parameter information light up the display screen 2. The reserved area is used to store the program and information used by the second processor to light up the display screen 2.
  • the reserved area is different from the area where the first processor 11 performs the corresponding operation.
  • the size of the reserved area can be set according to the screen point program and the size of the screen parameter information. Generally, the size of the reserved area is larger than the size of the screen program and screen parameter information.
  • the size of the reserved area can be represented by the start address and the length of the reserved area. For example, the initial address of the reserved area may be the address 0xYYYYYYY in the memory.
  • the area length of the reserved area is XX bytes.
  • the present application may use various methods to inform the second processor 12 to start execution. Operation of bright display 2. The following two methods are used for illustration.
  • the first processor 11 may send the first message to the second processor 12, so that the second processor 12 is receiving When the first message is reached, the display 2 is turned on.
  • the first message is used to indicate that the screen program and screen parameter information have been written in the reserved area, and the first message may adopt a number, a code, or an identification. For example, when the first message includes the mark "A”, it means that the screen program and screen parameter information have been written in the reserved area. When the label "A" is not included in the first message, it means that the screen program and screen parameter information have not been written in the reserved area.
  • the present application may set a first identification bit, and the first identification bit may be located in the memory 52 or in the register components of the first processor 11 and the second processor 12. Furthermore, after the first processor 11 writes the screen program and screen parameter information into the memory 52, the value of the first identification bit is changed to the first preset value, so that the second processor 12 is determining the first identification When the digit is the first preset value, the display 2 is lit.
  • the first preset value is used to indicate that the screen program and screen parameter information have been written in the reserved area. For example, when the first identification bit is the first preset value "1", it means that the screen program and screen parameter information have been written in the reserved area. The value of the first identification bit is "0", and when it is not the first preset value "1", it means that the screen program and screen parameter information has not been written in the reserved area.
  • the second processor 12 may execute a screen tap program based on the screen parameter information in the memory 52. Specifically, the second processor 12 may perform a corresponding touch operation on the display screen 2 according to the touch screen program and screen parameter information. For example, the second processor 12 may first power on a timing controller (TCON). Prepare for the normal display of the display 2, and then turn on the interface (Intf) between the main board 4 and the display 2 to correct the clock of the display 2 to parse the data and transmit the screen parameter information to the display 2, and then wait for a period of time (Such as 1500 ms), the backlight in the display screen 2 is turned on, so that the second processor 12 lights up the display screen 2.
  • TCON timing controller
  • the first processor starts the operating system kernel when the second processor lights up the display screen.
  • the first processor 11 may write the operating system kernel 13 in the memory 52 into the memory 52 before starting the operating system kernel 13.
  • the operating system kernel 13 will be different if the operating system of the display device is different.
  • the operating system kernel 13 may include, but is not limited to: atf, kernel, such as Linux Kernel and dtb.
  • the first processor 11 and the second processor 12 can work at the same time and can be used as independent arithmetic units, therefore, the first processor 11 may be able to turn on the display screen 2 in the process of the second processor 12 in S102.
  • the operating system kernel 13 is started, so that the process of starting the operating system kernel 13 executed by the first processor 11 and the process of lighting the display screen 2 executed by the second processor 12 overlap in time, which reduces the startup time of the display device.
  • the first processor 11 and the second processor 12 can execute their respective operation processes at the same time, or the first processor 11 can also execute corresponding operations with the second processor 12 first.
  • the operation process, and the respective operation processes are ended at the same time, so that the time overlap of the two processes is maximized, so that the startup time of the display device is greatly saved.
  • the first processor 11 can be directly controlled by the operating system kernel 13, so that the first processor 11 can be in the operating system It runs under the instructions of the kernel 13, that is, the first processor 11 can perform corresponding operations according to the instructions of the operating system kernel 13.
  • the booted operating system kernel 13 may instruct the first processor 11 to release the reserved area after the second processor 12 lights up the display screen 2, so as to save the available area of the memory 52. Since the first processor 11 knows the specific location of the reserved area, after the second processor 12 finishes lighting the display screen 2, it can notify the first processor 11 of the second message or the second preset value. The second processor 12 has turned on the display screen 2, so that the first processor 11 can release the reserved area. In addition, after S105 is completed, the booted operating system kernel 13 may instruct the second processor 12 to release the reserved area, so as to save the available area of the memory 52. Specifically, since the second processor 12 knows the specific location of the reserved area, the second processor 12 can directly release the reserved area.
  • the first processor 11 in the activation device 10 may receive a reset signal used to indicate that the display device is reset.
  • the reset signal may be generated when the reset button set on the starting device 10 is pressed, or may be sent to the first processor 11 through software and/or hardware when the reset button on the display device is pressed. of.
  • the first processor 11 may receive the reset signal at any time during the startup process of the display device and the working process after startup.
  • the reset button can be arranged on the starting device 10 and connected to the casing 1.
  • the reset button can extend out of the casing of the casing 1, or the edges of the casing 1 can be flush, which is not limited in this application.
  • the reset button can also be arranged on the button board of the casing 1 of the display device for convenient operation. And this application does not limit the specific number and specific types of reset buttons.
  • the second processor 12 can light up the display screen 2 of the display device.
  • the first processor 11 can write the operating system kernel corresponding to the reset signal in the flash memory 51 into the memory 52, and then start the operating system kernel corresponding to the reset signal to restore the display device to a normal working state to meet actual requirements.
  • S2041 is executed with S2042 first, and S203 and S2041 can be executed simultaneously or sequentially, which is not limited in this application.
  • the starting device 10 will not continue to stay in the current state, and usually restart the display device, so that the display device enters a normal working state.
  • the operating system kernel corresponding to the reset signal may instruct the first processor 11, the second processor 12, or the second processor 12 A processor 11 and a second processor 12 perform the operation of restarting the display device.
  • the activation device 10 then executes the specific process of the embodiment in FIG. 4, which will not be repeated here. It should be noted that during the restarting process of the display device, the first processor 11 starts the operating system kernel 13, not the operating system kernel corresponding to the reset signal.
  • the reset function of the display device can also be taken into consideration.
  • the first processor when it receives the reset signal, it can write the operating system kernel corresponding to the reset signal in the flash memory into the memory, so that the first processor can start the operating system kernel corresponding to the reset signal.
  • the first processor and/or the second processor may perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal to restore the display device to a normal working state, so as to meet actual requirements such as clearing the cache of the display device.
  • the activation device 10 in this application can be compatible with the reset function of the display device.
  • FIG. 6 the specific implementation process of the empty disk upgrade of the display device by the activation device 10 will be described in detail.
  • the first processor 11 in the boot device 10 may receive an empty disk upgrade signal, which is used to indicate that the display device cannot be booted or displayed normally due to a software failure of the operating system kernel 13 .
  • the empty disk upgrade signal may be generated when the power button provided on the starting device 10 is pressed, or may be sent to the first processor through software and/or hardware when the power button on the display device is pressed. 11's.
  • the first processor 11 may receive the empty disk upgrade signal at any time during the startup process of the display device and the working process after startup.
  • the power button can be arranged on the starting device 10 and connected to the casing 1.
  • the power button can extend out of the casing of the casing 1, or it can be flush with the edge of the casing 1, which is not limited in this application.
  • the power button may also be arranged on the button panel of the housing 1 of the display device, and the specific number and specific type of the power button are not limited in this application.
  • the first processor sends an empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state.
  • the operator can press the power button to restart the display device, and further, the first processor 11 can receive the empty disk upgrade signal, so that the first processor 11 can perform the empty disk upgrade operation.
  • the first processor 11 can start the second processor 12, and then can send the empty disk upgrade signal to the second processor 12, and control the first processor 11 to be idle ( Idle) state, that is, WFI (Wait for interrupt) state, that is, the first processor 11 does not perform any operation.
  • the first processor 11 may set an identifier in a fixed position in the register component, and the identifier is used to instruct the second processor 12 to perform an empty disk upgrade process for the display device.
  • the first processor 11 may also send a message carrying an empty disk upgrade signal to the second processor 12 to inform the second processor 12 to perform the empty disk upgrade process on the display.
  • This application processes the first processor 11 to the second processor.
  • the specific implementation manner of sending the empty disk upgrade signal by the device 12 is not limited.
  • the second processor 12 can read the operating system kernel corresponding to the empty disk upgrade signal from another memory according to the empty disk upgrade signal, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory 51 13.
  • the other memory is a memory other than the flash memory 51 and the memory 52, such as a U disk.
  • the second processor lights up the display screen.
  • the second processor 12 restarts the display device.
  • the first processor 11 is automatically started, and the first processor 11 starts the second processor 12.
  • the second processor 12 lights up the display screen 2 again.
  • the first processor 11 can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory 51 into the memory 52, and execute the emptying in the memory 52.
  • the operating system kernel corresponding to the disk upgrade signal realizes the process of normally starting the display device through the operating system kernel corresponding to the empty disk upgrade signal, thereby eliminating the failure of the operating system kernel 13 and allowing the display device to resume normal display or start normally.
  • the booting device 10 normally starts the display device through the operating system kernel corresponding to the empty disk upgrade signal.
  • the operating system kernel 13 in FIG. 4 The process of displaying the device will not be repeated here.
  • the empty disk upgrade function of the display device can also be taken into consideration.
  • the first processor may send an empty disk upgrade signal to the second processor when receiving the empty disk upgrade signal, so that the second processor can read the operating system kernel corresponding to the empty disk upgrade signal from another memory , And replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory, so that the first processor can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory into the memory and start it in the memory
  • the operating system kernel corresponding to the empty disk upgrade signal so that the first processor and the second processor can run under the instruction of the operating system kernel corresponding to the empty disk upgrade signal, so that the operating system kernel corresponding to the empty disk upgrade signal is normal
  • the process of starting the display device can not only reduce the startup time, but also eliminate the failure of the operating system kernel, so that the display device can resume normal display or start normally.
  • FIG. 7 is a schematic structural diagram of an exemplary starting device provided in an embodiment of this application.
  • the starting device may include: a first processing module 101 and The second processing module 102.
  • the first processing module 101 is used to execute the program instructions executed by the first processor 11 in the processing method of the starting device shown in FIGS. 1 to 6; the second processing module is used to 102 execute the processing of the starting device shown in FIGS. 1 to 6 The program instructions executed by the second processor 12 in the method.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules may be integrated into one unit.
  • the units formed by the above-mentioned modules can be realized in the form of hardware, or in the form of hardware plus software functional units.
  • the above-mentioned integrated modules implemented in the form of software function modules may be stored in a computer readable storage medium.
  • the above-mentioned software function module is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application Part of the method.
  • the memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
  • NVM non-volatile storage
  • the bus can be an Industry Standard Architecture (ISA) bus, Peripheral Component (PCI) bus, or Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus, etc.
  • the buses in the drawings of this application are not limited to only one bus or one type of bus.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

Abstract

Provided are a processing method, apparatus and device for a starting apparatus, and a storage medium. The starting apparatus comprises: a first processor and a second processor. The first processor is used to start the second processor; the second processor is used to turn on a display screen; the first processor is used to start an operating system kernel during the process of the second processor turning on the display screen; after starting the operating system kernel, the first processor is used to operate under the instruction of the operating system kernel; and after the second processor completes the turning on of the display screen, the second processor is used to operate under the instruction of the operating system kernel. Therefore, the starting duration is reduced, and the starting speed is increased.

Description

启动装置的处理方法、装置、设备及存储介质Processing method, device, equipment and storage medium of starting device 技术领域Technical field
本申请涉及电子设备技术领域,尤其涉及一种启动装置的处理方法、装置、设备及存储介质。This application relates to the technical field of electronic equipment, and in particular to a processing method, device, equipment, and storage medium of a startup device.
背景技术Background technique
智能电视等显示设备在使用过程中常常会出现下电和上电的场景,因此,显示设备的启动速度为一项表征其设备性能好坏的关键参数,直接影响用户的使用体验。一般情况下,显示设备在启动过程需要点亮显示屏和启动操作系统。Smart TVs and other display devices often have power-off and power-on scenarios during use. Therefore, the startup speed of the display device is a key parameter that characterizes the performance of the device, which directly affects the user experience. Generally, the display device needs to light up the display and start the operating system during the startup process.
目前可以采用串行点屏方式和定时器点屏方式实现显示设备的启动过程。其中,串行点屏方式,即显示设备中的处理器(如中央处理器Central Processing Unit,CPU)顺序执行点亮显示屏和启动操作系统内核的过程,再进入操作系统内核,以启动显示设备。定时器点屏方式,即处理器需要在每次启动过程中设置中断和定时器,且将点亮显示屏中的某个操作作为定时器事件,进而,处理器先执行点亮显示屏中除该操作之外的其余操作,再配置定时器事件,在配置完成后加载操作系统内核,然后执行定时器事件,并在定时器事件执行结束后启动并进入操作系统内核,以启动显示设备。At present, the serial point screen mode and the timer point screen mode can be used to implement the startup process of the display device. Among them, the serial dot screen mode, that is, the processor in the display device (such as the Central Processing Unit, CPU) sequentially executes the process of lighting the display and starting the operating system kernel, and then enters the operating system kernel to start the display device . Timer screen mode, that is, the processor needs to set interrupts and timers during each startup process, and take an operation in the light-up display as a timer event, and then, the processor first executes the light-up display For the remaining operations other than this operation, configure the timer event, load the operating system kernel after the configuration is completed, then execute the timer event, and start and enter the operating system kernel after the timer event execution ends to start the display device.
然而,串行点屏方式和定时器点屏方式均会花费大量时间,限制了显示设备的启动速度。因此,现亟需一种减少显示设备启动时长的方法。However, both the serial point screen mode and the timer point screen mode will take a lot of time, which limits the startup speed of the display device. Therefore, there is an urgent need for a method to reduce the startup time of the display device.
发明内容Summary of the invention
本申请提供一种启动装置的处理方法、装置、设备及存储介质,可以缩短启动时长,加快包含有启动装置的显示设备的启动速度。The present application provides a processing method, device, equipment, and storage medium of a startup device, which can shorten the startup time and speed up the startup speed of a display device including the startup device.
第一方面,本申请提供一种启动装置,包括:第一处理器和第二处理器;该第一处理器,用于启动该第二处理器;该第二处理器,用于点亮显示屏;该第一处理器,用于在该第二处理器点亮该显示屏的过程中,启动操作系统内核;该操作系统内核启动之后,该第一处理器在该操作系统内核的指示下运行;该第二处理器完成点亮该显示屏之后,该第二处理器在该操作系统内核的指示下运行。In a first aspect, the present application provides a starting device, including: a first processor and a second processor; the first processor is used to start the second processor; the second processor is used to light up the display Screen; the first processor is used to start the operating system kernel when the second processor lights up the display; after the operating system kernel is started, the first processor is instructed by the operating system kernel Run; after the second processor finishes lighting the display, the second processor runs under the instruction of the operating system kernel.
其中,启动装置可以包括:硬件和软件。硬件包括各种硬件器件或者装置,如包含有第一处理器、第二处理器、存储器控制器、闪存和内存等,其中,第一处理器和第二处理器可以集成在一起共同构成一个多核处理器,该多核处理器还可以包括第三处理器、第四处理器等,硬件还可以包括其他种类的存储器。软件主要包括操作系统内核。Among them, the starting device may include: hardware and software. The hardware includes various hardware devices or devices, such as a first processor, a second processor, a memory controller, flash memory and memory, etc., where the first processor and the second processor can be integrated together to form a multi-core The processor, the multi-core processor may also include a third processor, a fourth processor, etc., and the hardware may also include other types of memory. The software mainly includes the operating system kernel.
其中,第一处理器和第二处理器可以为单独设置的至少两个CPU,也可以采用集成设置有至少两个CPU的系统级芯片(System on Chip,SOC),还可以为其他形式。并且,第一处理器和第二处理器可以访问闪存和内存,以获取程序以及程序运行时所需参数,实 现显示设备的启动过程。其中,存储器控制器、闪存和内存可以设置在启动装置中,也可以通过外设的方式与启动装置中的第一处理器和第二处理器进行连接。Wherein, the first processor and the second processor may be at least two CPUs separately provided, or a system-on chip (SOC) integrated with at least two CPUs, or other forms. In addition, the first processor and the second processor can access the flash memory and the memory to obtain the program and the parameters required by the program while it is running, so as to implement the startup process of the display device. Among them, the memory controller, flash memory, and memory may be provided in the boot device, and may also be connected to the first processor and the second processor in the boot device in a peripheral manner.
其中,闪存具有掉电后数据不会丢失的特点,具体用于存储显示设备启动时所需数据,诸如程序以及程序运行时所需的参数等。例如,boot程序、用于正常工作的操作系统内核和用于复位的操作系统内核等。其中,闪存可以包括多种类型,如嵌入式多媒体卡(embedded multimedia card;eMMC)或通用闪存存储(universal flash storage;UFS)存储器等。Among them, the flash memory has the feature that data will not be lost after power failure, and is specifically used to store data required when the display device is started, such as programs and parameters required when the program is running. For example, the boot program, the operating system kernel for normal work, and the operating system kernel for resetting. Among them, flash memory may include multiple types, such as embedded multimedia card (eMMC) or universal flash storage (UFS) memory.
其中,内存具有数据读写速度快的特点,具体用于为多个CPU运行时需要使用的数据提供缓存的区域。其中,内存具体可以包括各种类型的随机存储器(random-access memory,RAM),例如,双倍速同步动态随机存储器(double data rate synchronous dynamic RAM,DDR SDRAM)。Among them, the memory has the characteristics of fast data read and write speed, and is specifically used to provide a cache area for data that needs to be used when multiple CPUs are running. Among them, the memory may specifically include various types of random-access memory (RAM), for example, double data rate synchronous dynamic RAM (DDR SDRAM).
其中,存储器控制器,用于解码主CPU发出的存储器(即闪存或内存)的各种读写请求,其可以是与闪存和内存皆分离的独立器件,也可以集成在闪存或内存的内部,用于专门管理对应的存储器的访问请求。Among them, the memory controller is used to decode various read and write requests of the memory (ie flash memory or memory) issued by the main CPU. It can be an independent device separate from the flash memory and the memory, or it can be integrated inside the flash memory or the memory. Used to specifically manage the access requests of the corresponding memory.
其中,boot程序中包括:点亮显示屏以及启动显示设备的操作系统内核这两个过程所涉及的全部程序和程序运行时所需的参数。该操作系统内核为操作系统的核心部分,主要用于负责管理操作系统的进程、内存、设备驱动程序、文件和网络系统,决定着操作系统的性能和稳定性。该操作系统可以包括但不限于Linux、Android及其他自主开发系统。Among them, the boot program includes all the programs involved in the two processes of illuminating the display screen and starting the operating system kernel of the display device and the parameters required when the program is running. The operating system kernel is the core part of the operating system, which is mainly used to manage the operating system's processes, memory, device drivers, files, and network systems, and determines the performance and stability of the operating system. The operating system can include but is not limited to Linux, Android and other self-developed systems.
其中,非易失性存储器可以为闪存,易失性存储器可以为是内存。Among them, the non-volatile memory may be a flash memory, and the volatile memory may be a memory.
通过第一方面提供的启动装置,将第一处理器和第二处理器作为独立的运算单元。在包含有启动装置和显示屏的显示设备上电后,第一处理器自动启动,且第一处理器启动第二处理器。进而,第二处理器点亮显示屏,且在第二处理器点亮显示屏的过程中,第一处理器启动操作系统内核,这样,第一处理器和第二处理器并行执行各自的操作过程,使得这两个操作过程存在时间重叠,从而减少了显示设备的启动时长,提高了显示设备的启动速度。Through the activation device provided in the first aspect, the first processor and the second processor are used as independent arithmetic units. After the display device including the startup device and the display screen is powered on, the first processor automatically starts, and the first processor starts the second processor. Furthermore, the second processor lights up the display screen, and while the second processor lights up the display screen, the first processor starts the operating system kernel, so that the first processor and the second processor perform their operations in parallel The process makes the two operation processes overlap in time, thereby reducing the startup time of the display device and improving the startup speed of the display device.
在一种可能的设计中,该第一处理器,在启动该第二处理器之前,还用于将非易失性存储器中的引导程序写入到易失性存储器中,该引导程序包括启动该第二处理器的操作程序;该第一处理器,具体用于根据该引导程序的指示启动该第二处理器。In a possible design, the first processor, before starting the second processor, is also used to write the boot program in the non-volatile memory into the volatile memory, and the boot program includes the boot The operating program of the second processor; the first processor is specifically configured to start the second processor according to the instruction of the boot program.
在一种可能的设计中,该第一处理器,在该第一处理器启动该第二处理器之前,还用于将非易失性存储器中的初始化程序写入到易失性存储器中,该初始化程序用于该第二处理器的初始化。In a possible design, the first processor, before the first processor starts the second processor, is also used to write the initialization program in the non-volatile memory into the volatile memory, The initialization program is used to initialize the second processor.
在一种可能的设计中,该第二处理器,在该第一处理器启动该第二处理器之后,还用于根据该初始化程序执行初始化;在该第二处理器执行初始化的过程中,该第一处理器,还用于将非易失性存储器中的点屏程序和屏参信息写入到易失性存储器中,该点屏程序用于控制该显示屏点亮,该屏参信息为该显示屏显示所需的信息。In a possible design, the second processor is further configured to perform initialization according to the initialization program after the first processor starts the second processor; during the initialization process of the second processor, The first processor is also used to write the screen point program and screen parameter information in the non-volatile memory into the volatile memory. The screen point program is used to control the display screen to light up, and the screen parameter information Display the required information for this display.
通过该实施方式提供的启动装置,由于第一处理器和第二处理器可以作为独立的运算单元,因此,第一处理器和第二处理器可以同时工作。进而,为了进一步节省启动时长,在第二处理器执行初始化的过程中,第一处理器可以将闪存中的点屏程序和屏参信息写入到内存中,使得第二处理器执行的初始化过程和第一处理器执行的读取程序和程序执行时 的参数过程存在时间重叠,减少了显示设备的启动时长。With the activation device provided in this implementation manner, since the first processor and the second processor can be used as independent arithmetic units, the first processor and the second processor can work at the same time. Furthermore, in order to further save the startup time, during the initialization process of the second processor, the first processor can write the screen program and screen parameter information in the flash memory into the memory, so that the second processor performs the initialization process There is time overlap with the read program executed by the first processor and the parameter process during program execution, which reduces the startup time of the display device.
在一种可能的设计中,该第二处理器,具体用于:将该点屏程序和该屏参信息写入到该易失性存储器的预留区域中,并在该预留区域中根据该点屏程序和该屏参信息,点亮该显示屏。In a possible design, the second processor is specifically configured to: write the screen point program and the screen parameter information into a reserved area of the volatile memory, and according to the reserved area The point screen program and the screen parameter information light up the display screen.
在一种可能的设计中,该屏参信息包括如下信息中的至少一个:该显示屏的分辨率、该启动装置与该显示屏之间的接口的类型、点亮该显示屏的背光的延时、各种时序信息。In a possible design, the screen parameter information includes at least one of the following information: the resolution of the display screen, the type of interface between the activation device and the display screen, and the extension of the backlight that lights up the display screen. Time and various timing information.
在一种可能的设计中,该第二处理器,具体用于在确定第一标识位为第一预设值时,点亮该显示屏,该第一预设值用于表示该预留区域中已写入该点屏程序息和该屏参信;或者,该第二处理器,具体用于在接收到该第一处理器发送的第一消息时,点亮该显示屏,该第一消息用于表示该预留区域中已写入该点屏程序和该屏参信息。In a possible design, the second processor is specifically configured to light up the display screen when it is determined that the first identification position is a first preset value, and the first preset value is used to indicate the reserved area The screen point program information and the screen parameter information have been written in the screen; or, the second processor is specifically configured to light up the display screen when the first message sent by the first processor is received, and the first The message is used to indicate that the point screen program and the screen parameter information have been written in the reserved area.
在一种可能的设计中,该第一标识位设置在易失性存储器中或该第一处理器和该第二处理器共同的存储区域中。In a possible design, the first identification bit is arranged in a volatile memory or a storage area shared by the first processor and the second processor.
在一种可能的设计中,该第一处理器,在启动操作系统内核之前,还用于将非易失性存储器中的该操作系统内核写入到易失性存储器中;该第一处理器,具体用于从该易失性存储器中读取该操作系统内核,以启动该操作系统内核。In a possible design, the first processor is also used to write the operating system kernel in the non-volatile memory to the volatile memory before starting the operating system kernel; the first processor , Specifically used to read the operating system kernel from the volatile memory to start the operating system kernel.
在一种可能的设计中,该第一处理器,还用于在通过该操作系统内核确定第二标识位为第二预设值时,通知该第二处理器在该操作系统内核的指示下运行,该第二预设值用于表示该第二处理器已点亮该显示屏;或者,该第一处理器,还用于在通过该操作系统内核接收到该第二处理器发送的第三消息时,通知该第二处理器在该操作系统内核的指示下运行,该第三消息表示该第二处理器已点亮该显示屏。In a possible design, the first processor is further configured to notify the second processor to be under the instruction of the operating system kernel when it is determined by the operating system kernel that the second identification bit is the second preset value Run, the second preset value is used to indicate that the second processor has turned on the display screen; or, the first processor is also used to indicate that the second processor sent by the second processor is received through the operating system kernel. In case of three messages, the second processor is notified to run under the instruction of the operating system kernel, and the third message indicates that the second processor has turned on the display screen.
在一种可能的设计中,该第二标识位设置在易失性存储器中或该第一处理器和该第二处理器共同的存储区域中。In a possible design, the second identification bit is provided in a volatile memory or a storage area shared by the first processor and the second processor.
在一种可能的设计中,在该第一处理器启动该第二处理器之前,该第一处理器,在接收到空盘升级信号时,还用于执行空盘升级操作;其中,该空盘升级操作包括:该第一处理器向该第二处理器发送该空盘升级信号,并控制该第一处理器处于空闲状态,该空盘升级信号用于该第二处理器根据该空盘升级信号,从另一存储器中读取该空盘升级信号对应的操作系统内核,将该空盘升级信号对应的操作系统内核替换非易失性存储器中的该操作系统内核,该另一存储器为除该非易失性存储器和该易失性存储器之外的存储器。In a possible design, before the first processor starts the second processor, the first processor is also used to perform an empty disk upgrade operation when the empty disk upgrade signal is received; wherein, the empty disk The disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used by the second processor according to the empty disk Upgrade signal, read the operating system kernel corresponding to the empty disk upgrade signal from another memory, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory. The other memory is Memory other than the non-volatile memory and the volatile memory.
通过该实施方式提供的启动装置,在节省显示设备的启动时长的基础上,还可以兼顾显示设备的复位功能。具体地,第一处理器可以在接收到复位信号时,可以将闪存中的复位信号对应的操作系统内核写入到内存中,从而,第一处理器可以启动复位信号对应的操作系统内核,这样,第一处理器和/或第二处理器可以在复位信号对应的操作系统内核的指示下执行复位操作,使得显示设备恢复至正常工作状态,以满足清除显示设备的缓存等实际需求。With the startup device provided by this embodiment, on the basis of saving the startup time of the display device, it can also take into account the reset function of the display device. Specifically, when the first processor receives the reset signal, it can write the operating system kernel corresponding to the reset signal in the flash memory into the memory, so that the first processor can start the operating system kernel corresponding to the reset signal. The first processor and/or the second processor may perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal to restore the display device to a normal working state, so as to meet actual requirements such as clearing the cache of the display device.
在一种可能的设计中,在该第一处理器启动该第二处理器之前,该第一处理器,在接收到空盘升级信号时,还用于执行空盘升级操作;其中,该空盘升级操作包括:该第一处理器向该第二处理器发送该空盘升级信号,并控制该第一处理器处于空闲状态,该空盘升级信号用于该第二处理器根据该空盘升级信号,从另一存储器中读取该空盘升级信号对应 的操作系统内核,将该空盘升级信号对应的操作系统内核替换非易失性存储器中的该操作系统内核,该另一存储器为除该非易失性存储器和该易失性存储器之外的存储器。In a possible design, before the first processor starts the second processor, the first processor is also used to perform an empty disk upgrade operation when the empty disk upgrade signal is received; wherein, the empty disk The disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used by the second processor according to the empty disk Upgrade signal, read the operating system kernel corresponding to the empty disk upgrade signal from another memory, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory. The other memory is Memory other than the non-volatile memory and the volatile memory.
通过该实施方式提供的启动装置,在节省显示设备的启动时长的基础上,还可以兼顾显示设备的空盘升级功能。具体地,第一处理器可以在接收到空盘升级信号时,向第二处理器发送空盘升级信号,使得第二处理器可以从另一存储器中读取该空盘升级信号对应的操作系统内核,并将该空盘升级信号对应的操作系统内核替换闪存中的操作系统内核,使得第一处理器可以将闪存中的该空盘升级信号对应的操作系统内核写入到内存中,并在内存中启动该空盘升级信号对应的操作系统内核,这样,第一处理器和第二处理器可以在空盘升级信号对应的操作系统内核的指示下运行,从而实现通过该空盘升级信号对应的操作系统内核正常启动显示设备的过程,不仅可以减少启动时长,还可以消除操作系统内核的故障,使得显示设备恢复正常显示或者正常开机。With the startup device provided by this implementation manner, on the basis of saving the startup time of the display device, it can also take into account the empty disk upgrade function of the display device. Specifically, when receiving the empty disk upgrade signal, the first processor may send an empty disk upgrade signal to the second processor, so that the second processor can read the operating system corresponding to the empty disk upgrade signal from another memory. Kernel, and replaces the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory so that the first processor can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory into the memory, and The operating system kernel corresponding to the empty disk upgrade signal is started in the memory, so that the first processor and the second processor can run under the instruction of the operating system kernel corresponding to the empty disk upgrade signal, so as to realize the correspondence through the empty disk upgrade signal The process of normal booting of the display device by the operating system kernel of the operating system can not only reduce the startup time, but also eliminate the failure of the operating system kernel, so that the display device can resume normal display or start normally.
在一种可能的设计中,该启动装置还包括:非易失性存储器和易失性存储器。In a possible design, the starting device further includes: a non-volatile memory and a volatile memory.
第二方面,本申请提供一种启动装置的处理方法,包括:该启动装置包括:第一处理器和第二处理器;该方法包括:该第一处理器启动该第二处理器;该第二处理器点亮显示屏;该第一处理器在该第二处理器点亮该显示屏的过程中,启动操作系统内核;该操作系统内核启动之后,该第一处理器在该操作系统内核的指示下运行;该第二处理器完成点亮该显示屏之后,该第二处理器在该操作系统内核的指示下运行。In a second aspect, the present application provides a processing method for a startup device, including: the startup device includes: a first processor and a second processor; the method includes: the first processor starts the second processor; the first processor The second processor lights up the display screen; the first processor starts the operating system kernel while the second processor lights up the display screen; after the operating system kernel is started, the first processor is in the operating system kernel After the second processor finishes lighting the display screen, the second processor runs under the instruction of the operating system kernel.
其中,启动装置可以包括:包括硬件和软件。硬件包括各种硬件器件或者装置,如包含有第一处理器、第二处理器、存储器控制器、闪存和内存等,其中,第一处理器和第二处理器可以集成在一起共同构成一个多核处理器,该多核处理器还可以包括第三处理器、第四处理器等,硬件还可以包括其他种类的存储器。软件主要包括操作系统内核。The starting device may include hardware and software. The hardware includes various hardware devices or devices, such as a first processor, a second processor, a memory controller, flash memory and memory, etc., where the first processor and the second processor can be integrated together to form a multi-core The processor, the multi-core processor may also include a third processor, a fourth processor, etc., and the hardware may also include other types of memory. The software mainly includes the operating system kernel.
其中,第一处理器和第二处理器可以为单独设置的至少两个CPU,也可以采用集成设置有至少两个CPU的系统级芯片(System on Chip,SOC),还可以为其他形式。并且,第一处理器和第二处理器可以访问闪存和内存,以获取程序以及程序运行时所需参数,实现显示设备的启动过程。其中,存储器控制器、闪存和内存可以设置在启动装置中,也可以通过外设的方式与启动装置中的第一处理器和第二处理器进行连接。Wherein, the first processor and the second processor may be at least two CPUs separately provided, or a system-on chip (SOC) integrated with at least two CPUs, or other forms. In addition, the first processor and the second processor can access the flash memory and the memory to obtain the program and the parameters required by the program when the program runs, so as to implement the startup process of the display device. Among them, the memory controller, flash memory, and memory may be provided in the boot device, and may also be connected to the first processor and the second processor in the boot device in a peripheral manner.
其中,闪存具有掉电后数据不会丢失的特点,具体用于存储显示设备启动时所需数据,诸如程序以及程序运行时所需的参数等。例如,boot程序、用于正常工作的操作系统内核和用于复位的操作系统内核等。其中,闪存可以包括多种类型,如嵌入式多媒体卡(embedded multimedia card;eMMC)或通用闪存存储(universal flash storage;UFS)存储器等。Among them, the flash memory has the feature that data will not be lost after power failure, and is specifically used to store data required when the display device is started, such as programs and parameters required when the program is running. For example, the boot program, the operating system kernel for normal work, and the operating system kernel for resetting. Among them, flash memory may include multiple types, such as embedded multimedia card (eMMC) or universal flash storage (UFS) memory.
其中,内存具有数据读写速度快的特点,具体用于为多个CPU运行时需要使用的数据提供缓存的区域。其中,内存具体可以包括各种类型的随机存储器(random-access memory,RAM),例如,双倍速同步动态随机存储器(double data rate synchronous dynamic RAM,DDR SDRAM)。Among them, the memory has the characteristics of fast data read and write speed, and is specifically used to provide a cache area for data that needs to be used when multiple CPUs are running. Among them, the memory may specifically include various types of random-access memory (RAM), for example, double data rate synchronous dynamic RAM (DDR SDRAM).
其中,存储器控制器,用于解码主CPU发出的存储器(即闪存或内存)的各种读写请求,其可以是与闪存和内存皆分离的独立器件,也可以集成在闪存或内存的内部,用于专门管理对应的存储器的访问请求。Among them, the memory controller is used to decode various read and write requests of the memory (ie flash memory or memory) issued by the main CPU. It can be an independent device separate from the flash memory and the memory, or it can be integrated inside the flash memory or the memory. Used to specifically manage the access requests of the corresponding memory.
其中,boot程序中包括:点亮显示屏以及启动显示设备的操作系统内核这两个过程所 涉及的全部程序和程序运行时所需的参数。该操作系统内核为操作系统的核心部分,主要用于负责管理操作系统的进程、内存、设备驱动程序、文件和网络系统,决定着操作系统的性能和稳定性。该操作系统可以包括但不限于Linux、Android及其他自主开发系统。Among them, the boot program includes all the programs involved in the two processes of illuminating the display screen and starting the operating system kernel of the display device and the parameters required when the program is running. The operating system kernel is the core part of the operating system, which is mainly used to manage the operating system's processes, memory, device drivers, files, and network systems, and determines the performance and stability of the operating system. The operating system can include but is not limited to Linux, Android and other self-developed systems.
其中,非易失性存储器可以为闪存,易失性存储器可以为是内存。Among them, the non-volatile memory may be a flash memory, and the volatile memory may be a memory.
通过第二方面提供的启动装置的处理方法,通过将启动装置中的第一处理器和第二处理作为独立的运算单元。在包含有启动装置和显示屏的显示设备上电后,第一处理器自动启动,且第一处理器启动第二处理器。进而,第二处理器点亮显示屏,且在第二处理器点亮显示屏的过程中,第一处理器启动操作系统内核,这样,第一处理器和第二处理器并行执行各自的操作过程,使得这两个操作过程存在时间重叠,从而减少了显示设备的启动时长,提高了显示设备的启动速度。With the processing method of the activation device provided by the second aspect, the first processor and the second processing in the activation device are used as independent arithmetic units. After the display device including the startup device and the display screen is powered on, the first processor automatically starts, and the first processor starts the second processor. Furthermore, the second processor lights up the display screen, and while the second processor lights up the display screen, the first processor starts the operating system kernel, so that the first processor and the second processor perform their operations in parallel The process makes the two operation processes overlap in time, thereby reducing the startup time of the display device and improving the startup speed of the display device.
在一种可能的设计中,在该第一处理器启动该第二处理器之前,该方法还包括:该第一处理器将非易失性存储器中的引导程序写入到易失性存储器中,该引导程序包括启动该第二处理器的操作程序;该第一处理器启动该第二处理器,包括:该第一处理器根据该引导程序的指示启动该第二处理器。In a possible design, before the first processor starts the second processor, the method further includes: the first processor writes the boot program in the non-volatile memory into the volatile memory The boot program includes an operating program for starting the second processor; the first processor starting the second processor includes: the first processor starts the second processor according to an instruction of the boot program.
在一种可能的设计中,在该第一处理器启动该第二处理器之前,该方法还包括:该第一处理器将非易失性存储器中的初始化程序写入到易失性存储器中,该初始化程序用于该第二处理器的初始化。In a possible design, before the first processor starts the second processor, the method further includes: the first processor writes the initialization program in the non-volatile memory into the volatile memory , The initialization program is used to initialize the second processor.
在一种可能的设计中,在该第一处理器启动该第二处理器之后,该方法还包括:该第二处理器根据该初始化程序,对该第二处理器执行初始化;在该第二处理器执行初始化的过程中,该第一处理器将非易失性存储器中的点屏程序和屏参信息写入到易失性存储器中,该点屏程序用于控制该显示屏点亮,该屏参信息为该显示屏显示所需的信息。In a possible design, after the first processor starts the second processor, the method further includes: the second processor initializes the second processor according to the initialization program; During the initialization of the processor, the first processor writes the screen point program and screen parameter information in the non-volatile memory into the volatile memory. The screen point program is used to control the display screen to light up. The screen parameter information is the information required for the display.
通过该实施方式提供的启动装置的处理方法,由于第一处理器和第二处理器可以作为独立的运算单元,因此,第一处理器和第二处理器可以同时工作。进而,为了进一步节省启动时长,在第二处理器执行初始化的过程中,第一处理器可以将闪存中的点屏程序和屏参信息写入到内存中,使得第二处理器执行的初始化过程和第一处理器执行的读取程序和程序执行时的参数过程存在时间重叠,减少了显示设备的启动时长。With the processing method of the activation device provided by this embodiment, since the first processor and the second processor can be used as independent arithmetic units, the first processor and the second processor can work at the same time. Furthermore, in order to further save the startup time, during the initialization process of the second processor, the first processor can write the screen program and screen parameter information in the flash memory into the memory, so that the second processor performs the initialization process There is time overlap with the read program executed by the first processor and the parameter process during program execution, which reduces the startup time of the display device.
在一种可能的设计中,该第二处理器点亮该显示屏,包括:该第二处理器,将该点屏程序和该屏参信息写入到该易失性存储器的预留区域中,并在该预留区域中根据该点屏程序和该屏参信息,点亮该显示屏。In a possible design, the second processor illuminates the display screen, including: the second processor writes the screen point program and the screen parameter information into a reserved area of the volatile memory , And in the reserved area, light up the display screen according to the screen point program and the screen parameter information.
在一种可能的设计中,该屏参信息包括如下信息中的至少一个:该显示屏的分辨率、该启动装置与该显示屏之间的接口的类型、点亮该显示屏的背光的延时、各种时序信息。In a possible design, the screen parameter information includes at least one of the following information: the resolution of the display screen, the type of interface between the activation device and the display screen, and the extension of the backlight that lights up the display screen. Time and various timing information.
在一种可能的设计中,该第二处理器点亮显示设备的显示屏,包括:该第二处理器在确定第一标识位为第一预设值时,点亮该显示屏,该第一预设值用于表示该预留区域中已写入该屏参信息、该初始化程序和该点屏程序;或者,该第二处理器在接收到该第一处理器发送的第一消息时,点亮该显示屏,该第一消息用于表示该预留区域中已写入该屏参信息、该初始化程序和该点屏程序。In a possible design, the second processor illuminating the display screen of the display device includes: when the second processor determines that the first identification position is the first preset value, illuminating the display screen, and the second processor A preset value is used to indicate that the screen parameter information, the initialization program, and the screen click program have been written in the reserved area; or, when the second processor receives the first message sent by the first processor , The display screen is turned on, and the first message is used to indicate that the screen parameter information, the initialization program, and the screen click program have been written in the reserved area.
在一种可能的设计中,该第一标识位设置在易失性存储器中或该第一处理器和该第二处理器共同的存储区域中。In a possible design, the first identification bit is arranged in a volatile memory or a storage area shared by the first processor and the second processor.
在一种可能的设计中,在该第一处理器启动操作系统内核之前,该方法还包括:该第 一处理器将非易失性存储器中的该操作系统内核写入到易失性存储器中;该第一处理器启动操作系统内核,包括:该第一处理器从该易失性存储器中读取该操作系统内核,以启动该操作系统内核。In a possible design, before the first processor starts the operating system kernel, the method further includes: the first processor writes the operating system kernel in the non-volatile memory into the volatile memory The first processor to start the operating system kernel includes: the first processor reads the operating system kernel from the volatile memory to start the operating system kernel.
在一种可能的设计中,该第二处理器在该操作系统内核的指示下运行,包括:该第一处理器在确定第二标识位为第二预设值时,通知该第二处理器在该操作系统内核的指示下运行,该第二预设值用于表示该第二处理器已点亮该显示屏;或者,该第一处理器在接收到该第二处理器发送的第三消息时,通知该第二处理器在该操作系统内核的指示下运行,该第三消息用于表示该第二处理器已点亮该显示屏。In a possible design, the second processor running under the instruction of the operating system kernel includes: when the first processor determines that the second flag is a second preset value, notifying the second processor Run under the instruction of the operating system kernel, the second preset value is used to indicate that the second processor has turned on the display screen; or, the first processor has received the third processor sent by the second processor. When a message is sent, the second processor is notified to run under the instruction of the operating system kernel, and the third message is used to indicate that the second processor has turned on the display screen.
在一种可能的设计中,该第二标识位设置在易失性存储器中或该第一处理器和该第二处理器共同的存储区域中。In a possible design, the second identification bit is provided in a volatile memory or a storage area shared by the first processor and the second processor.
在一种可能的设计中,在该第一处理器启动该第二处理器之前,该方法还包括:该第一处理器在接收到复位信号时,执行该复位信号对应的操作系统内核的启动操作,该第一处理器和/或该第二处理器在所述复位信号对应的操作系统内核的指示下执行复位操作:其中,该启动操作包括:该第一处理器将非易失性存储器中的复位信号对应的操作系统内核写入到易失性存储器中;该第一处理器启动该复位信号对应的操作系统内核;该复位操作包括:清理缓存和/或将该启动装置中的各个参数恢复至预设值。In a possible design, before the first processor starts the second processor, the method further includes: when the first processor receives the reset signal, executes the startup of the operating system kernel corresponding to the reset signal Operation, the first processor and/or the second processor perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal: wherein the startup operation includes: the first processor transfers a nonvolatile memory The operating system kernel corresponding to the reset signal in the reset signal is written into the volatile memory; the first processor starts the operating system kernel corresponding to the reset signal; the reset operation includes: clearing the cache and/or each of the starting devices The parameter is restored to the preset value.
通过该实施方式提供的启动装置的处理方法,在节省显示设备的启动时长的基础上,还可以兼顾显示设备的复位功能。具体地,第一处理器可以在接收到复位信号时,可以将闪存中的复位信号对应的操作系统内核写入到内存中,从而,第一处理器可以启动复位信号对应的操作系统内核,这样,第一处理器和/或第二处理器可以在复位信号对应的操作系统内核的指示下执行复位操作,使得显示设备恢复至正常工作状态,以满足清除显示设备的缓存等实际需求。Through the processing method of the startup device provided by this embodiment, on the basis of saving the startup time of the display device, the reset function of the display device can also be taken into consideration. Specifically, when the first processor receives the reset signal, it can write the operating system kernel corresponding to the reset signal in the flash memory into the memory, so that the first processor can start the operating system kernel corresponding to the reset signal. The first processor and/or the second processor may perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal to restore the display device to a normal working state, so as to meet actual requirements such as clearing the cache of the display device.
在一种可能的设计中,在该第一处理器启动该第二处理器之前,该方法还包括:该第一处理器在接收到空盘升级信号时,执行空盘升级操作;其中,该空盘升级操作包括:该第一处理器向该第二处理器发送该空盘升级信号,并控制该第一处理器处于空闲状态,该空盘升级信号用于该第二处理器根据该空盘升级信号,从另一存储器中读取该空盘升级信号对应的操作系统内核,将该空盘升级信号对应的操作系统内核替换非易失性存储器中的该操作系统内核,该另一存储器为除该非易失性存储器和该易失性存储器之外的存储器。In a possible design, before the first processor starts the second processor, the method further includes: when the first processor receives an empty disk upgrade signal, performing an empty disk upgrade operation; wherein, the The empty disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used by the second processor according to the empty disk. Disk upgrade signal, read the operating system kernel corresponding to the empty disk upgrade signal from another memory, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory, and the other memory It is a memory other than the non-volatile memory and the volatile memory.
通过该实施方式提供的启动装置,在节省显示设备的启动时长的基础上,还可以兼顾显示设备的空盘升级功能。具体地,第一处理器可以在接收到空盘升级信号时,向第二处理器发送空盘升级信号,使得第二处理器可以从另一存储器中读取该空盘升级信号对应的操作系统内核,并将该空盘升级信号对应的操作系统内核替换闪存中的操作系统内核,使得第一处理器可以将闪存中的该空盘升级信号对应的操作系统内核写入到内存中,并在内存中启动该空盘升级信号对应的操作系统内核,这样,第一处理器和第二处理器可以在空盘升级信号对应的操作系统内核的指示下运行,从而实现通过该空盘升级信号对应的操作系统内核正常启动显示设备的过程,不仅可以减少启动时长,还可以消除操作系统内核的故障,使得显示设备恢复正常显示或者正常开机。With the startup device provided by this implementation manner, on the basis of saving the startup time of the display device, it can also take into account the empty disk upgrade function of the display device. Specifically, when receiving the empty disk upgrade signal, the first processor may send an empty disk upgrade signal to the second processor, so that the second processor can read the operating system corresponding to the empty disk upgrade signal from another memory. Kernel, and replaces the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory so that the first processor can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory into the memory, and The operating system kernel corresponding to the empty disk upgrade signal is started in the memory, so that the first processor and the second processor can run under the instruction of the operating system kernel corresponding to the empty disk upgrade signal, so as to realize the correspondence through the empty disk upgrade signal The process of normal booting of the display device by the operating system kernel of the operating system can not only reduce the startup time, but also eliminate the failure of the operating system kernel, so that the display device can resume normal display or start normally.
在一种可能的设计中,该启动装置还包括:非易失性存储器和易失性存储器。In a possible design, the starting device further includes: a non-volatile memory and a volatile memory.
第三方面,本申请提供一种显示设备,包括:外壳、显示屏、电源板和主板;In the third aspect, this application provides a display device, including: a housing, a display screen, a power board, and a main board;
其中,该外壳的内部设置有该电源板和该主板;该显示屏设置在该外壳的内表面上,用于提供显示画面;该电源板分别与该显示屏和该主板连接,用于分别向该显示屏和该主板供电;该主板还与该显示屏连接,用于向该显示屏提供显示数据;该主板上设置有上述第一方面以及上述第一方面的各可能的设计中所提供的启动装置。Wherein, the power supply board and the main board are arranged inside the casing; the display screen is arranged on the inner surface of the casing to provide a display screen; the power supply board is respectively connected to the display screen and the main board and is used for The display screen and the main board provide power; the main board is also connected to the display screen to provide display data to the display screen; the main board is provided with the above-mentioned first aspect and the possible designs of the above-mentioned first aspect Start the device.
上述第三方面以及上述第三方面的各可能的设计中所提供的显示设备,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不再赘述。The beneficial effects of the display devices provided in the foregoing third aspect and the possible designs of the foregoing third aspect may refer to the beneficial effects brought about by the foregoing first aspect and each possible implementation of the first aspect. Repeat it again.
第四方面,本申请提供一种启动装置,包括:第一处理模块和第二处理模块;该第一处理模块用于执行第二方面及第二方面任一种可能的设计中的启动装置的处理方法中第一处理器所执行的程序指令;该第二处理模块用于执行第二方面及第二方面任一种可能的设计中的启动装置的处理方法中第二处理器所执行的程序指令。In a fourth aspect, the present application provides a startup device, including: a first processing module and a second processing module; the first processing module is used to execute the second aspect and the startup device in any possible design of the second aspect The program instructions executed by the first processor in the processing method; the second processing module is used to execute the program executed by the second processor in the processing method of the activation device in the second aspect and any one of the possible designs of the second aspect instruction.
第五方面,本申请提供一种可读存储介质,可读存储介质中存储有执行指令,当指令在计算机或处理器上运行时,使得第一处理器和第二处理器执行第二方面及第二方面任一种可能的设计中的启动装置的处理方法,其中,该计算机或该处理器包括该第一处理器和该第二处理器。In a fifth aspect, the present application provides a readable storage medium in which an execution instruction is stored. When the instruction runs on a computer or a processor, the first processor and the second processor execute the second aspect and In the second aspect, in any possible design of the processing method of the starting device, the computer or the processor includes the first processor and the second processor.
第六方面,本申请提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。电子设备的处理器可以从可读存储介质读取该执行指令,使得第一处理器和第二处理器执行该执行指令使得电子设备实施第二方面及第二方面任一种可能的设计中的启动装置的处理方法,其中,该电子设备的处理器包括该第一处理器和该第二处理器。In a sixth aspect, the present application provides a program product, the program product includes an execution instruction, and the execution instruction is stored in a readable storage medium. The processor of the electronic device can read the execution instruction from the readable storage medium, so that the first processor and the second processor execute the execution instruction so that the electronic device implements the second aspect and any one of the possible designs of the second aspect The processing method of the activation device, wherein the processor of the electronic device includes the first processor and the second processor.
第七方面,本申请提供一种芯片,该芯片与存储器相连,或者该芯片上集成有存储器,当该存储器中存储的软件程序被执行时,实现第二方面及第二方面任一种可能的设计中的启动装置的处理方法,其中,该存储器包括非易失性存储器和易失性存储器。In a seventh aspect, the present application provides a chip that is connected to a memory, or a memory is integrated on the chip, and when the software program stored in the memory is executed, any one of the second aspect and the second aspect is possible The processing method of the starting device in the design, wherein the memory includes a non-volatile memory and a volatile memory.
附图说明Description of the drawings
图1为本申请实施例提供的一种示例性的显示设备的爆炸图;FIG. 1 is an exploded view of an exemplary display device provided by an embodiment of the application;
图2为本申请实施例提供的一种示例性的启动装置的软硬件架构图;FIG. 2 is a diagram of the software and hardware architecture of an exemplary starting device provided by an embodiment of the application;
图3为本申请实施例提供的一种示例性的启动装置的硬件架构图;FIG. 3 is a hardware architecture diagram of an exemplary starting device provided by an embodiment of the application;
图4为本申请实施例提供的一种示例性的启动装置的处理方法的信令流程图;FIG. 4 is a signaling flowchart of an exemplary processing method for starting the device according to an embodiment of the application;
图5为本申请实施例提供的一种示例性的启动装置的处理方法中显示设备复位的部分信令流程图;FIG. 5 is a partial signaling flow chart of resetting a display device in an exemplary processing method for starting an apparatus provided by an embodiment of the application; FIG.
图6为本申请实施例提供的一种示例性的启动装置的处理方法中显示设备空盘升级的信令流程图;FIG. 6 is a signaling flowchart of an empty disk upgrade of a display device in an exemplary processing method of a startup device provided by an embodiment of the application;
图7为本申请实施例提供的一种示例性的启动装置的结构示意图。Fig. 7 is a schematic structural diagram of an exemplary starting device provided by an embodiment of the application.
附图标记:Reference signs:
1—外壳;2—显示屏;3—电源板;4—主板;1—Shell; 2—Display; 3—Power board; 4—Main board;
51—闪存;52—内存;53—存储器控制器;51—Flash memory; 52—Memory; 53—Memory controller;
10—启动装置;11—第一处理器;12—第二处理器;13—操作系统内核。10—starting device; 11—first processor; 12—second processor; 13—operating system kernel.
具体实施方式detailed description
图1为本申请实施例提供的一种示例性的显示设备的爆炸图,如图1所示,显示设备以电视为例进行示意,该显示设备可以包括:外壳1、显示屏2、电源板3和主板4。另外,图1中的电视还可以包括支架、连接件等零部件。Fig. 1 is an exploded view of an exemplary display device provided by an embodiment of the application. As shown in Fig. 1, the display device is illustrated by taking a TV as an example. The display device may include: a housing 1, a display screen 2, a power board 3 and motherboard 4. In addition, the TV in Figure 1 may also include brackets, connectors and other components.
外壳1的内部设置有电源板3和主板4,显示屏2可以嵌接在外壳1的内表面上,外壳1起到连接、保护和美观的作用,显示屏2可以提供显示画面。其中,外壳1可以采用现有电视的外壳,也可以为其他形式的外壳。本申请对外壳1的具体材质、形状大小、具体结构均不做限定。The housing 1 is provided with a power supply board 3 and a main board 4, the display screen 2 can be embedded on the inner surface of the housing 1, the housing 1 plays a role of connection, protection and beauty, and the display screen 2 can provide a display screen. Wherein, the housing 1 can be the housing of an existing TV, or other forms of housing. This application does not limit the specific material, shape, size, and specific structure of the housing 1.
电源板3分别与显示屏2和主板4连接(图1中未示出),使得电源板3可以分别向显示屏2和主板4供电,以提供不同大小的电平。其中,电源板3可以采用一个或多个电路板,电源板3具体包括但不限于电压转换器、交流-直流转换器、直流-直流转换器、滤波器等硬件元器件。The power board 3 is respectively connected to the display screen 2 and the main board 4 (not shown in FIG. 1), so that the power board 3 can supply power to the display screen 2 and the main board 4 respectively to provide different levels of power. Among them, the power board 3 may adopt one or more circuit boards. The power board 3 specifically includes but is not limited to hardware components such as a voltage converter, an AC-DC converter, a DC-DC converter, and a filter.
显示屏2与主板4连接(图1中未示出),使得显示屏2可以接收主板4发送的显示数据,以正常显示。本申请对显示屏2的具体形状、尺寸和类型等均不做限定。例如,显示屏2为液晶显示屏。The display screen 2 is connected to the main board 4 (not shown in FIG. 1), so that the display screen 2 can receive the display data sent by the main board 4 for normal display. This application does not limit the specific shape, size and type of the display screen 2. For example, the display 2 is a liquid crystal display.
现有技术中,主板4上设置有多个中央处理器(central processing unit,CPU),每个CPU通常可以包括运算逻辑部件、寄存器部件和控制部件。其中,寄存器部件是多个CPU内部可供配置和储存参数的很小一块区域,通常作为多个CPU的公共存储区域(该公共存储区域可以作为本申请提及的预留区域的一种可行的实现方式)。In the prior art, multiple central processing units (CPUs) are provided on the motherboard 4, and each CPU may generally include arithmetic logic components, register components, and control components. Among them, the register component is a small area of multiple CPUs that can be used for configuration and storage of parameters, and is usually used as a common storage area of multiple CPUs (this common storage area can be used as a feasible area of the reserved area mentioned in this application). Method to realize).
一方面,寄存器部件中可以存储有某些标识位,方便多个CPU通过识别标识位以确定相应的功能。On the one hand, certain identification bits can be stored in the register component, so that multiple CPUs can identify the identification bits to determine the corresponding function.
另一方面,寄存器部件中还可以存储有固化在多个CPU内部的引导程序(Bootrom),其中,Bootrom用于引导CPU执行Boot程序,该Boot程序用于引导显示设备启动,即显示设备在上电后,该CPU可以从Bootrom开始启动,进入到boot程序中,实现显示设备的启动。On the other hand, the register component can also store a boot program (Bootrom) solidified in multiple CPUs, where the Bootrom is used to guide the CPU to execute the Boot program, and the Boot program is used to boot the display device to start, that is, the display device is on the After powering on, the CPU can start from the Bootrom and enter the boot program to realize the startup of the display device.
其中,boot程序中包括:点亮显示屏2以及启动显示设备的操作系统内核13这两个过程所涉及的全部程序和程序运行时所需的参数。该操作系统内核13为操作系统的核心部分,主要用于负责管理操作系统的进程、内存、设备驱动程序、文件和网络系统,决定着操作系统的性能和稳定性。该操作系统可以包括但不限于Linux、Android及其他操作系统。Among them, the boot program includes all the programs involved in the two processes of illuminating the display screen 2 and starting the operating system kernel 13 of the display device and the parameters required for the program to run. The operating system kernel 13 is the core part of the operating system, which is mainly used to manage the processes, memory, device drivers, files, and network systems of the operating system, and determines the performance and stability of the operating system. The operating system may include, but is not limited to, Linux, Android and other operating systems.
另外,主板4上还设置有闪存51(Flash Storage)、内存52和存储器控制器53。In addition, the main board 4 is also provided with a flash memory 51 (Flash Storage), a memory 52 and a memory controller 53.
闪存51为非易失性存储器,具有掉电后数据不会丢失的特点,具体用于存储显示设备启动时所需数据,诸如程序以及程序运行时所需的参数等。例如,boot程序、用于正常工作的操作系统内核13和用于复位的操作系统内核等。其中,闪存51可以包括多种类型,如嵌入式多媒体卡(embedded multimedia card;eMMC)、通用闪存51存储(universal flash storage;UFS)存储器或只读存储器(Read-Only Memory,ROM),或者是可存储静态信息和指令的其他类型的静态存储设备等。The flash memory 51 is a non-volatile memory, which has the characteristic that data will not be lost after power failure, and is specifically used to store data required when the display device is started, such as a program and parameters required when the program is running. For example, the boot program, the operating system kernel 13 for normal operation, and the operating system kernel for resetting. The flash memory 51 may include multiple types, such as embedded multimedia card (eMMC), universal flash storage (UFS) memory, or read-only memory (ROM), or Other types of static storage devices that can store static information and instructions.
内存52为易失性存储器,具有数据读写速度快的特点,具体用于为多个CPU运行时需要使用的数据提供缓存的区域。其中,内存52具体可以包括各种类型的随机存储器 (random-access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,例如,双倍速同步动态随机存储器(double data rate synchronous dynamic RAM,DDR SDRAM)。The memory 52 is a volatile memory, which has the characteristics of fast data read and write speed, and is specifically used to provide a cache area for data that needs to be used when multiple CPUs are running. The memory 52 may specifically include various types of random-access memory (RAM) or other types of dynamic storage devices that can store information and instructions, for example, double data rate synchronous dynamic RAM (double data rate synchronous dynamic RAM). , DDR SDRAM).
存储器控制器53,用于解码主CPU发出的存储器(即闪存51或内存52)的各种读写请求,其可以是如图2中所示的与闪存51和内存52皆分离的独立器件,也可以集成在闪存51或内存52的内部,用于专门管理对应的存储器的访问请求。The memory controller 53 is used to decode various read and write requests of the memory (that is, the flash memory 51 or the memory 52) issued by the main CPU. It can be an independent device separated from the flash memory 51 and the memory 52 as shown in FIG. 2, It can also be integrated in the flash memory 51 or the memory 52 to specifically manage the access request of the corresponding memory.
另外,存储器还可以包括电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的程序代码并能够由计算机存取的任何其他计算机可读存储介质,但不限于此。In addition, the memory may also include Electrically Erasable Programmable Read-Only Memory (EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, optical disk storage (including Compact discs, laser discs, optical discs, digital universal discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any program code that can be used to carry or store program codes in the form of instructions or data structures and that can be accessed by a computer Other computer-readable storage media, but not limited to this.
并且,多个CPU通常被认为是一个主CPU和至少一个从CPU,主CPU执行显示设备的启动过程,而其他从CPU在显示设备的启动过程中则不执行任何操作。本领域技术人员可以理解,显示设备的启动过程不仅需要将显示设备的显示屏2点亮,还需要将操作系统进行启动。因此,在显示设备上电后,主CPU在寄存器部件中的Bootrom的引导下,将闪存51中的boot程序读取到内存52中,并在内存52中执行boot程序,从而启动显示设备。In addition, multiple CPUs are generally considered to be a master CPU and at least one slave CPU. The master CPU executes the startup process of the display device, while other slave CPUs do not perform any operations during the startup process of the display device. Those skilled in the art can understand that the startup process of the display device not only needs to light up the display screen 2 of the display device, but also needs to start the operating system. Therefore, after the display device is powered on, the main CPU reads the boot program in the flash memory 51 into the memory 52 under the guidance of the Bootrom in the register component, and executes the boot program in the memory 52 to start the display device.
下面,采用串行点屏方式和定时器点屏方式这两种方式对主CPU启动显示设备的具体实现过程进行详细说明。In the following, the specific implementation process of the main CPU starting the display device will be described in detail using the serial dot screen mode and the timer dot screen mode.
一种可能的实现方式中,主CPU可以采用串行点屏方式,实现显示设备的启动过程。具体过程为:主CPU可以先对时序控制器(Timing Controller,TCON)上电,再打开主板4与显示屏2之间的接口(Interface,Intf),然后等待一段时长(如1500ms)后显示屏2中的背光(Backlight)开启。主CPU在Backlight亮起后,开始加载操作系统内核13,即依次从闪存51中读取ARM处理器提供的安全世界的参考实现软件(ARM(Advanced RISC Machines)Trusted firmware,atf)、内核(kernel,如Linux Kernel,一种开源的类Unix操作系统宏内核)和供内核解析(Device-Tree blob,dtb)。最后,主CPU在内存52中运行操作系统内核13,以引导操作系统内核13启动。In a possible implementation manner, the main CPU can adopt a serial dot screen mode to implement the startup process of the display device. The specific process is: the main CPU can first power on the timing controller (TCON), then turn on the interface (Interface, Intf) between the motherboard 4 and the display 2, and then wait for a period of time (such as 1500ms) before the display Backlight in 2 is turned on. After the Backlight lights up, the main CPU starts to load the operating system kernel 13, which reads from the flash memory 51 the reference implementation software (ARM (Advanced RISC Machines) Trusted Firmware, atf) provided by the ARM processor in turn, and the kernel (kernel) , Such as Linux Kernel, an open source Unix-like operating system macro kernel) and for kernel analysis (Device-Tree blob, dtb). Finally, the main CPU runs the operating system kernel 13 in the memory 52 to guide the operating system kernel 13 to start.
需要说明的是,TCON通常设置在TCON板上,TCON板可以设置在主板4上,也可以与主板4分开设置,本申请对此不做限定。一般情况下,在点亮显示屏2的过程中,当TCON板设置在主板4上时,主CPU可以先对TCON进行上电。当TCON板与主板4分开设置时,主CPU无需对TCON进行上电,TCON可以主动上电。It should be noted that the TCON is usually set on the TCON board, and the TCON board can be set on the main board 4 or separately from the main board 4, which is not limited in this application. Generally, during the process of lighting the display screen 2, when the TCON board is set on the main board 4, the main CPU can first power on the TCON. When the TCON board is set separately from the main board 4, the main CPU does not need to power on the TCON, and the TCON can be powered on actively.
另一种可能的实现方式中,主CPU可以采用定时器点屏方式,实现显示设备的启动过程,具体过程为:主CPU可以初始化中断与定时器,再依次执行TCON上电、打开Intf接口、配置定时器事件并使能该定时器事件,该定时器事件的具体内容为一段时长(如,1500ms)后开启Backlight。接着,主CPU在配置完成后,开始加载操作系统内核13,即依次从flash中读取atf、kernel和dtb。然后,主CPU再在定时器事件完成后,在内存52中运行操作系统内核13,以引导操作系统内核13启动。In another possible implementation, the main CPU can use the timer point screen mode to realize the startup process of the display device. The specific process is: the main CPU can initialize the interrupt and the timer, and then execute the TCON power on, open the Intf interface, Configure the timer event and enable the timer event. The specific content of the timer event is a period of time (for example, 1500ms) and then the Backlight is turned on. Then, after the configuration is completed, the main CPU starts to load the operating system kernel 13, that is, read atf, kernel, and dtb from the flash in sequence. Then, after the timer event is completed, the main CPU runs the operating system kernel 13 in the memory 52 to guide the operating system kernel 13 to start.
在串行点屏方式中,主CPU需要顺序完成点亮显示屏2以及启动显示设备的操作系统内核13这两个过程,会消耗大量的启动时长。在定时器点屏方式中,主CPU需要每次初始化中断与定时器,且启动操作系统内核13的过程完成后需要等待定时器事件结束才能 够进入操作系统内核13,会消耗大量的启动时长。因此,在实际应用过程中,无论主CPU采用串行点屏方式还是定时器点屏方式,均会花费大量时间,限制了显示设备的启动速度。In the serial dot screen mode, the main CPU needs to sequentially complete the two processes of lighting the display screen 2 and starting the operating system kernel 13 of the display device, which consumes a lot of startup time. In the timer screen mode, the main CPU needs to initialize the interrupt and timer each time, and after the process of starting the operating system kernel 13 is completed, it needs to wait for the timer event to end before entering the operating system kernel 13, which consumes a lot of startup time. Therefore, in the actual application process, no matter whether the main CPU adopts the serial dot screen mode or the timer dot screen mode, it will take a lot of time, which limits the startup speed of the display device.
为了解决上述问题,本申请提供一种启动装置的处理方法、装置、设备及存储介质,可节省显示设备的启动时长,提高显示设备的启动速度。下面,结合具体实施例,对本申请的启动装置的处理方法的具体实现过程进行详细说明。In order to solve the above-mentioned problems, the present application provides a processing method, device, equipment and storage medium for starting the device, which can save the starting time of the display device and improve the starting speed of the display device. In the following, in combination with specific embodiments, the specific implementation process of the processing method of the activation device of the present application will be described in detail.
本申请中,如图2和图3所示,启动装置10可以为芯片,也可以为图1所示的显示设备,本申请对此不做限定。另外,启动装置10可以设置在图1所示的主板4上,启动装置10也可以与主板4分开设置,本申请对此也不做限定。In this application, as shown in FIGS. 2 and 3, the activation device 10 may be a chip or the display device shown in FIG. 1, which is not limited in this application. In addition, the starting device 10 can be arranged on the main board 4 shown in FIG. 1, and the starting device 10 can also be arranged separately from the main board 4, which is not limited in this application.
下面,结合图2和图3对启动装置10的具体实现形式进行详细说明。Hereinafter, the specific implementation form of the activation device 10 will be described in detail with reference to FIGS. 2 and 3.
图2示意出启动装置10的软件和硬件架构,如图2所示,具体地,启动装置10可以包括:硬件和软件。硬件包括各种硬件器件或者装置,如处理器和存储器。软件主要包括操作系统和各种应用程序,其中,操作系统存储在存储器中,具体地,图2中,软件主要包括图1提及的操作系统内核13。FIG. 2 illustrates the software and hardware architecture of the booting device 10, as shown in FIG. 2. Specifically, the booting device 10 may include hardware and software. The hardware includes various hardware devices or devices, such as processors and memories. The software mainly includes an operating system and various application programs. The operating system is stored in a memory. Specifically, in FIG. 2, the software mainly includes the operating system kernel 13 mentioned in FIG. 1.
图3示意出启动装置10的硬件架构,如图3所示,启动装置10可以包括至少一个中央处理单元(Central Processing Unit,CPU)、至少一个存储器、图形处理器(Graphics Processing Unit,GPU)、解码器、专用的视频或图形处理器、接收接口和发送接口等。可选地,启动装置10还可以包括微处理器和微控制器(Microcontroller Unit,MCU)等(图3中未进行示意)。FIG. 3 illustrates the hardware architecture of the startup device 10. As shown in FIG. 3, the startup device 10 may include at least one central processing unit (CPU), at least one memory, graphics processing unit (GPU), Decoder, dedicated video or graphics processor, receiving interface and transmitting interface, etc. Optionally, the starting device 10 may also include a microprocessor and a microcontroller (Microcontroller Unit, MCU), etc. (not shown in FIG. 3).
在一种可选的情况中,启动装置10的上述各个部分通过连接器相耦合,应当理解,本申请的各个实施例中,耦合是指通过特定方式的相互联系,包括直接相连或者通过其他设备间接相连,例如可以通过各类接口、传输线或总线等相连,这些接口通常是电性通信接口,但是也不排除可能是机械接口或其它形式的接口,本申请对此不做限定。在一种可选的情况中,上述各部分集成在同一个芯片上。In an optional situation, the above-mentioned parts of the activation device 10 are coupled through a connector. It should be understood that, in the various embodiments of the present application, coupling refers to mutual contact in a specific manner, including direct connection or through other equipment. Indirect connection, for example, can be connected through various interfaces, transmission lines or buses. These interfaces are usually electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces, which are not limited in this application. In an optional case, the above-mentioned parts are integrated on the same chip.
在另一种可选的情况中,CPU、GPU、解码器、接收接口以及发送接口集成在一个芯片上,该芯片内部的各部分通过总线访问外部的存储器。专用视频/图形处理器可以与CPU集成在同一个芯片上,也可以作为单独的处理器芯片存在,例如专用视频/图形处理器可以为专用ISP。在本申请中涉及的芯片是以集成电路工艺制造在同一个半导体衬底上的系统,也叫半导体芯片,其可以是利用集成电路工艺制作在所述衬底(通常是例如硅一类的半导体材料)上形成的集成电路的集合,其外层通常被半导体封装材料封装。所述集成电路可以包括各类功能器件,每一类功能器件包括逻辑门电路、金属氧化物半导体(Metal-Oxide-Semiconductor,MOS)晶体管、双极晶体管或二极管等晶体管,也可包括电容、电阻或电感等其他部件。每个功能器件可以独立工作或者在必要的驱动软件的作用下工作,可以实现通信、运算、或存储等各类功能。In another optional situation, the CPU, GPU, decoder, receiving interface, and transmitting interface are integrated on a chip, and the internal parts of the chip access external memory through a bus. The dedicated video/graphics processor can be integrated with the CPU on the same chip, or it can exist as a separate processor chip. For example, the dedicated video/graphics processor can be a dedicated ISP. The chip involved in this application is a system manufactured on the same semiconductor substrate by an integrated circuit process, also called a semiconductor chip, which can be manufactured on the substrate by using an integrated circuit process (usually a semiconductor such as silicon) The outer layer of the integrated circuit formed on the material) is usually encapsulated by a semiconductor packaging material. The integrated circuit may include various types of functional devices, and each type of functional device includes transistors such as logic gate circuits, Metal-Oxide-Semiconductor (MOS) transistors, bipolar transistors or diodes, and may also include capacitors and resistors. Or inductance and other components. Each functional device can work independently or under the action of necessary driver software, and can realize various functions such as communication, calculation, or storage.
其中,该接收接口可以为处理器芯片的数据输入的接口,在一种可选的情况下,该接收接口可以是高清晰度多媒体接口(High Definition Multimedia Interface,HDMI)。The receiving interface may be an interface for data input of the processor chip. In an optional case, the receiving interface may be a high-definition multimedia interface (HDMI).
本申请中,启动装置10中的处理器为多核(multi-CPU)处理器。为了便于说明,图2和图3中以第一处理器11和第二处理器12进行示意,第一处理器11和第二处理器12可以用于执行存储器中存储的计算机程序代码,以实现本申请实施例中的方法。In the present application, the processor in the boot device 10 is a multi-core (multi-CPU) processor. For ease of description, the first processor 11 and the second processor 12 are illustrated in FIG. 2 and FIG. 3. The first processor 11 and the second processor 12 may be used to execute computer program codes stored in the memory to implement The method in the embodiment of this application.
并且,存储器可用于存储计算机程序指令,包括操作系统(Operation System,OS)、各种应用程序以及用于存储并执行本申请方案的程序代码在内的各类计算机程序代码。另外,存储器还可以用于存储视频数据、图像信号数据等。示例性的,图3中,存储器可以包括图2所提及的存储器控制器53、闪存51和内存52。In addition, the memory can be used to store computer program instructions, including an operating system (OS), various application programs, and various computer program codes for storing and executing the program code of the present application. In addition, the memory can also be used to store video data, image signal data, and so on. Exemplarily, in FIG. 3, the memory may include the memory controller 53, the flash memory 51, and the memory 52 mentioned in FIG.
其中,第一处理器11和第二处理器12可以为单独设置的至少两个CPU,也可以采用集成设置有至少两个CPU的系统级芯片(System on Chip,SOC),还可以为如处理器组等其他形式,多个处理器之间通过一个或多个总线彼此耦合。并且,第一处理器11和第二处理器12可以访问闪存51和内存52,以获取程序以及程序运行时所需参数,实现显示设备的启动过程。其中,存储器控制器53、闪存51和内存52可以设置在启动装置10中,也可以通过外设的方式与启动装置10中的第一处理器11和第二处理器12进行连接。Among them, the first processor 11 and the second processor 12 may be at least two CPUs separately provided, or a system-on chip (SOC) integrated with at least two CPUs may be used, or may be such as processing In other forms such as a processor group, multiple processors are coupled to each other through one or more buses. In addition, the first processor 11 and the second processor 12 can access the flash memory 51 and the memory 52 to obtain the program and the parameters required by the program when the program is running, so as to implement the startup process of the display device. Among them, the memory controller 53, the flash memory 51, and the memory 52 may be provided in the boot device 10, and may also be connected to the first processor 11 and the second processor 12 in the boot device 10 by means of peripherals.
进一步地,在图1-图3实施例的基础上,图4为本申请实施例提供的一种示例性的启动装置的处理方法的信令流程图。如图4所示,本申请的启动装置10的处理方法可以包括:Further, on the basis of the embodiments in FIG. 1 to FIG. 3, FIG. 4 is a signaling flowchart of an exemplary processing method for starting the device provided in an embodiment of the application. As shown in FIG. 4, the processing method of the activation device 10 of the present application may include:
S101、第一处理器启动第二处理器。S101. The first processor starts the second processor.
本申请中,现有技术中的boot程序可以拆分为第一部分程序和第二部分程序。In this application, the boot program in the prior art can be divided into the first part of the program and the second part of the program.
第一部分程序的执行主体为第一处理器11,用于启动第二处理器12和显示设备的操作系统内核13。其中,第一部分程序可以包括但不限于:引导程序和操作系统内核13,其中,引导程序中可以包括启动第二处理器12的操作程序和第一处理器11的初始化程序等。The execution subject of the first part of the program is the first processor 11, which is used to start the second processor 12 and the operating system kernel 13 of the display device. The first part of the program may include, but is not limited to: a boot program and an operating system kernel 13, where the boot program may include an operating program for starting the second processor 12, an initialization program for the first processor 11, and the like.
第二部分程序的执行主体为第二处理器12,用于点亮显示屏,该显示屏可以为一个或多个,具体可以为显示设备中的显示屏,也可以为单独设置的显示屏,本申请对此不作限定。为了便于说明,该显示屏以图1所示的显示设备中的显示屏2进行示意。其中,第二部分程序可以包括但不限于:第二处理器12的初始化程序、点屏程序和屏参信息。The execution body of the second part of the program is the second processor 12, which is used to light up the display screen. The display screens may be one or more, which may specifically be a display screen in a display device or a separately set display screen. This application does not limit this. For ease of description, the display screen is illustrated with the display screen 2 in the display device shown in FIG. 1. Among them, the second part of the program may include, but is not limited to: an initialization program of the second processor 12, a screen point program, and screen parameter information.
本领域技术人员可以理解,在显示设备上电后,多个CPU中仅会有一个CPU可以启动,其余CPU皆处于未启动状态。因此,本申请中,将第一处理器11设置为显示设备上电后启动的CPU,将第二处理器12设置为显示设备上电后未启动的CPU中的其中一个CPU。进而,在显示设备上电后,第一处理器11可以通过寄存器部件中的Bootrom的引导,进入到boot程序中,并且为了实现点亮显示屏2,第一处理器11需要启动第二处理器12。Those skilled in the art can understand that after the display device is powered on, only one of the multiple CPUs can be started, and the remaining CPUs are in an unstarted state. Therefore, in this application, the first processor 11 is set as the CPU that is started after the display device is powered on, and the second processor 12 is set as one of the CPUs that are not started after the display device is powered on. Furthermore, after the display device is powered on, the first processor 11 can enter the boot program through Bootrom in the register component, and in order to realize the lighting of the display screen 2, the first processor 11 needs to start the second processor 12.
基于闪存51和内存52各自的特点,通常boot程序存储于闪存51中,boot程序运行于内存52中。因此,为了启动第二处理器12,第一处理器11可以将闪存51中的引导程序写入到内存52中,其中该引导程序中包括用于启动第二处理器12的操作程序,第一处理器11在内存52中执行用于启动第二处理器12的操作程序。具体地,第一处理器11可以根据引导程序的指示,对第二处理器12进行上电,从而实现第一处理器11启动第二处理器12的过程。Based on the respective characteristics of the flash memory 51 and the memory 52, usually the boot program is stored in the flash memory 51, and the boot program runs in the memory 52. Therefore, in order to start the second processor 12, the first processor 11 may write the boot program in the flash memory 51 into the memory 52, where the boot program includes an operating program for starting the second processor 12, the first The processor 11 executes an operation program for starting the second processor 12 in the memory 52. Specifically, the first processor 11 may power on the second processor 12 according to the instruction of the boot program, so as to implement the process of starting the second processor 12 by the first processor 11.
另外,引导程序中还可以包括第一初始化程序,该第一初始化程序用于对处理器11进行初始化。在启动第二处理器12之前或之后,第一处理器11可以在内存52中执行第一初始化程序。具体地,第一处理器11可以根据第一初始化程序,对第一处理器11的各个参数进行初始化配置,从而实现对第一处理器11的初始化。In addition, the boot program may also include a first initialization program, and the first initialization program is used to initialize the processor 11. Before or after starting the second processor 12, the first processor 11 may execute the first initialization program in the memory 52. Specifically, the first processor 11 may initialize and configure various parameters of the first processor 11 according to the first initialization program, so as to realize the initialization of the first processor 11.
S102、第二处理器点亮显示屏。S102. The second processor lights up the display screen.
本领域技术人员可以理解,多个CPU中的一个CPU可以从闪存51中将boot程序写入到内存52中,这样,多个CPU均可以在内存52中执行boot程序。Those skilled in the art can understand that one of the multiple CPUs can write the boot program from the flash memory 51 to the memory 52, so that multiple CPUs can execute the boot program in the memory 52.
在S101之后,第二处理器12已经启动。因此,为了使得第二处理器12可以正常工作,第一处理器11在第二处理器12点亮显示屏2之前,可以将闪存51中的第二初始化程序写入到内存52中,该第二初始化程序用于初始化第二处理器12,并在内存52中执行第二初始化程序。具体地,第二处理器12可以根据第二初始化程序,对第二处理器12的各个参数进行初始化配置,从而实现对第二处理器12的初始化。After S101, the second processor 12 has been started. Therefore, in order to enable the second processor 12 to work normally, the first processor 11 may write the second initialization program in the flash memory 51 into the memory 52 before the second processor 12 lights up the display screen 2. The second initialization program is used to initialize the second processor 12 and execute the second initialization program in the memory 52. Specifically, the second processor 12 may initialize and configure various parameters of the second processor 12 according to the second initialization program, thereby realizing the initialization of the second processor 12.
而且,为了使得第二处理器12顺利点亮显示屏2,第一处理器11在第二处理器12点亮显示屏2之前,可以将闪存51中的点屏程序和屏参信息写入到内存52中。一般情况下,不同类型的显示屏2,点屏程序和屏参信息会不同,且为了适应于不同的显示需求,点屏程序和屏参信息也会不同。Moreover, in order to enable the second processor 12 to smoothly light up the display screen 2, the first processor 11 may write the screen point program and screen parameter information in the flash memory 51 to the display screen 2 before the second processor 12 lights up the display screen 2. 52 in the memory. Generally, for different types of display screens 2, the point screen procedure and screen parameter information will be different, and in order to adapt to different display requirements, the point screen procedure and screen parameter information will also be different.
其中,该点屏程序,用于控制显示屏2点亮,具体的控制过程可以包括但不限于:对显示屏2上电、为第二处理器12执行点亮显示屏2做准备以及开启显示屏2中的背光(Backlight)等。Among them, the screen point program is used to control the lighting of the display screen 2. The specific control process may include but is not limited to: powering on the display screen 2, preparing for the second processor 12 to perform lighting of the display screen 2, and turning on the display Backlight in screen 2, etc.
该屏参信息为显示屏2显示所需的信息。本申请对屏参信息的具有实现方式不做限定。可选地,该屏参信息包括如下信息中的至少一个:显示屏2的分辨率、启动装置10与显示屏2之间的接口(Interface,Intf)的类型、点亮显示屏2的背光(Backlight)的延时、各种时序信息。其中,时序信息包括但不限于Intf的上电时序、Intf的数据传输时序和TCON的上电时序等。The screen parameter information is the information required for display on the screen 2. This application does not limit the implementation of screen parameter information. Optionally, the screen parameter information includes at least one of the following information: the resolution of the display screen 2, the type of the interface (Interface, Intf) between the activation device 10 and the display screen 2, and the backlight ( Backlight) delay and various timing information. The timing information includes, but is not limited to, the power-on timing of Intf, the data transmission timing of Intf, and the power-on timing of TCON.
需要说明的是:由于第一处理器11和第二处理器12可以作为独立的运算单元,因此,第一处理器11和第二处理器12可以同时工作。由于第二处理器12点亮显示屏需要用到点屏程序和屏参信息,但是处理器11将点屏程序和屏参信息从闪存51写入内存52中需要花费时间,为了进一步节省启动时长,处理器11将第二初始化程序写入内存52中之后,第二处理器12即可执行初始化,而无需等处理器11将第二处理器点亮显示屏2所用的信息均写入内存52中之后再执行初始化,第一处理器11可以在第二处理器12执行初始化的过程中将闪存51中的点屏程序和屏参信息写入到内存52中,使得第二处理器12执行的初始化过程和第一处理器11执行的读取程序和程序执行时的参数过程存在时间重叠,进一步减少了显示设备的启动时长。It should be noted that since the first processor 11 and the second processor 12 can be used as independent arithmetic units, the first processor 11 and the second processor 12 can work at the same time. Since the second processor 12 needs to use the screen program and screen parameter information to light up the display screen, it takes time for the processor 11 to write the screen program and screen parameter information from the flash memory 51 into the memory 52, in order to further save startup time After the processor 11 writes the second initialization program into the memory 52, the second processor 12 can perform initialization without waiting for the processor 11 to write all the information used by the second processor to light the display screen 2 into the memory 52 After the initialization is performed, the first processor 11 can write the screen program and screen parameter information in the flash memory 51 into the memory 52 during the initialization of the second processor 12, so that the second processor 12 executes There is a time overlap between the initialization process and the read program executed by the first processor 11 and the parameter process during program execution, which further reduces the startup time of the display device.
其中,由于第二处理器12执行的初始化过程持续的时长较短,因此,第一处理器11与第二处理器12可以同时执行各自的操作过程,或者第一处理器11也可以先与第二处理器12执行相应的操作过程,且同时结束各自的操作过程,使得这两个过程的时间重叠为第二处理器12执行的初始化过程所持续的时长,即时间重叠最大,这样,显示设备节省启动时长的效果达到最佳。Wherein, since the initialization process performed by the second processor 12 lasts for a relatively short time, the first processor 11 and the second processor 12 can execute their respective operation processes at the same time, or the first processor 11 can also first communicate with the first processor 11 The second processor 12 executes the corresponding operation process and ends the respective operation process at the same time, so that the time overlap of the two processes is the duration of the initialization process performed by the second processor 12, that is, the time overlap is the largest. In this way, the display device The effect of saving startup time is the best.
另外,第一处理器11和第二处理器12均需要在内存52中执行各自的操作过程,难免会在各自的执行过程中调用相同的程序和/或程序执行时的参数。若第一处理器11和第二处理器12中的任意一个处理器需要修改程序和/或程序执行时的参数,则另一个处理器使用修改后的程序和/或程序执行时的参数,容易导致该处理器的操作出错或者失败,因此,第一处理器11在将点屏程序和屏参信息写入到内存52的预留区域中,使得第二处理器12 在预留区域中根据点屏程序和屏参信息,点亮显示屏2,该预留区域用于存储第二处理器点亮显示屏2所用的程序和信息。In addition, the first processor 11 and the second processor 12 both need to execute their respective operation processes in the memory 52, and it is inevitable that the same program and/or program execution parameters will be called during the respective execution processes. If any one of the first processor 11 and the second processor 12 needs to modify the program and/or the parameters during program execution, the other processor will use the modified program and/or the parameters during program execution. Causes an error or failure in the operation of the processor. Therefore, the first processor 11 writes the screen program and screen parameter information into the reserved area of the memory 52, so that the second processor 12 is configured in the reserved area according to the point The screen program and screen parameter information light up the display screen 2. The reserved area is used to store the program and information used by the second processor to light up the display screen 2.
其中,该预留区域与第一处理器11执行相应操作的区域位置不同。本申请可以根据点屏程序和屏参信息的大小,来设置预留区域的大小。一般情况下,预留区域的大小大于点屏程序和屏参信息的大小。一般情况下,预留区域的大小可以采用预留区域的起始地址和区域长度进行表示。例如,预留区域的初始地址可以为内存中的0xYYYYYYYY这个地址。预留区域的区域长度为XX字节。Wherein, the reserved area is different from the area where the first processor 11 performs the corresponding operation. In this application, the size of the reserved area can be set according to the screen point program and the size of the screen parameter information. Generally, the size of the reserved area is larger than the size of the screen program and screen parameter information. In general, the size of the reserved area can be represented by the start address and the length of the reserved area. For example, the initial address of the reserved area may be the address 0xYYYYYYYY in the memory. The area length of the reserved area is XX bytes.
可选地,为了使得第二处理器12快速获知第一处理器11已经将点屏程序和屏参信息写入到内存52中,本申请可以采用多种方式告知第二处理器12开始执行点亮显示屏2的操作。下面采用两种方式进行示意。Optionally, in order for the second processor 12 to quickly learn that the first processor 11 has written the screen program and screen parameter information into the memory 52, the present application may use various methods to inform the second processor 12 to start execution. Operation of bright display 2. The following two methods are used for illustration.
一种可能的实现方式中,第一处理器11在将点屏程序和屏参信息写入到内存52中之后,可以向第二处理器12发送第一消息,使得第二处理器12在接收到第一消息时,点亮显示屏2。In a possible implementation manner, after the first processor 11 writes the screen point program and screen parameter information into the memory 52, it may send the first message to the second processor 12, so that the second processor 12 is receiving When the first message is reached, the display 2 is turned on.
其中,第一消息用于表示预留区域中已写入点屏程序和屏参信息,该第一消息可以采用数字、代码或者标识等方式。例如,第一消息中包括标识“A”时,表示预留区域中已写入点屏程序和屏参信息。第一消息中未包括标识“A”时,表示预留区域中未完成写入点屏程序和屏参信息。The first message is used to indicate that the screen program and screen parameter information have been written in the reserved area, and the first message may adopt a number, a code, or an identification. For example, when the first message includes the mark "A", it means that the screen program and screen parameter information have been written in the reserved area. When the label "A" is not included in the first message, it means that the screen program and screen parameter information have not been written in the reserved area.
另一种可能的实现方式中,本申请可以设置第一标识位,该第一标识位可以位于内存52中,也可以位于第一处理器11和第二处理器12的寄存器部件中。进而,第一处理器11在将点屏程序和屏参信息写入到内存52中之后,将第一标识位的值变为第一预设值,使得第二处理器12在确定第一标识位为第一预设值时,点亮显示屏2。In another possible implementation manner, the present application may set a first identification bit, and the first identification bit may be located in the memory 52 or in the register components of the first processor 11 and the second processor 12. Furthermore, after the first processor 11 writes the screen program and screen parameter information into the memory 52, the value of the first identification bit is changed to the first preset value, so that the second processor 12 is determining the first identification When the digit is the first preset value, the display 2 is lit.
其中,第一预设值用于表示预留区域中已写入点屏程序和屏参信息。例如,第一标识位为第一预设值“1”时,表示预留区域中已写入点屏程序和屏参信息。第一标识位的值为“0”,不为第一预设值“1”时,表示预留区域中未完成写入点屏程序和屏参信息。The first preset value is used to indicate that the screen program and screen parameter information have been written in the reserved area. For example, when the first identification bit is the first preset value "1", it means that the screen program and screen parameter information have been written in the reserved area. The value of the first identification bit is "0", and when it is not the first preset value "1", it means that the screen program and screen parameter information has not been written in the reserved area.
进一步地,第二处理器12可以在内存52中基于屏参信息执行点屏程序。具体地,第二处理器12可以根据点屏程序和屏参信息,对显示屏2执行相应的点屏操作,例如第二处理器12可以先对时序控制器(Timing Controller,TCON)上电,为显示屏2正常显示做准备,再打开主板4与显示屏2之间的接口(Interface,Intf),以校正显示屏2解析数据的时钟及向显示屏2传输屏参信息,然后等待一段时长(如1500ms)后显示屏2中的背光(Backlight)开启,从而第二处理器12点亮显示屏2。Further, the second processor 12 may execute a screen tap program based on the screen parameter information in the memory 52. Specifically, the second processor 12 may perform a corresponding touch operation on the display screen 2 according to the touch screen program and screen parameter information. For example, the second processor 12 may first power on a timing controller (TCON). Prepare for the normal display of the display 2, and then turn on the interface (Intf) between the main board 4 and the display 2 to correct the clock of the display 2 to parse the data and transmit the screen parameter information to the display 2, and then wait for a period of time (Such as 1500 ms), the backlight in the display screen 2 is turned on, so that the second processor 12 lights up the display screen 2.
S103、第一处理器在第二处理器点亮显示屏的过程中,启动操作系统内核。S103. The first processor starts the operating system kernel when the second processor lights up the display screen.
为了使得第一处理器11顺利启动操作系统内核13,第一处理器11在启动操作系统内核13之前,可以将内存52中的操作系统内核13写入到内存52中。一般情况下,显示设备的操作系统不同,操作系统内核13会不同。In order to enable the first processor 11 to smoothly start the operating system kernel 13, the first processor 11 may write the operating system kernel 13 in the memory 52 into the memory 52 before starting the operating system kernel 13. In general, the operating system kernel 13 will be different if the operating system of the display device is different.
其中,操作系统内核13可以包括但不限于:atf、kernel,如Linux Kernel和dtb等。The operating system kernel 13 may include, but is not limited to: atf, kernel, such as Linux Kernel and dtb.
由于第一处理器11和第二处理器12可以同时工作,且可以作为独立的运算单元,,因此,第一处理器11在S102的第二处理器12点亮显示屏2的过程中,可以启动操作系统内核13,使得第一处理器11执行的启动操作系统内核13过程和第二处理器12执行的点亮显示屏2过程存在时间重叠,减少了显示设备的启动时长。Since the first processor 11 and the second processor 12 can work at the same time and can be used as independent arithmetic units, therefore, the first processor 11 may be able to turn on the display screen 2 in the process of the second processor 12 in S102. The operating system kernel 13 is started, so that the process of starting the operating system kernel 13 executed by the first processor 11 and the process of lighting the display screen 2 executed by the second processor 12 overlap in time, which reduces the startup time of the display device.
需要说明的是,上述S102和S103之间没有时序上的先后顺序,且S102和S103可以同时执行,也可以顺序执行。为了使得启动设备节省启动时长的效果达到最佳,第一处理器11与第二处理器12可以同时执行各自的操作过程,或者第一处理器11也可以先与第二处理器12执行相应的操作过程,且同时结束各自的操作过程,使得这两个过程的时间重叠最大,这样,大大节省了显示设备的启动时长。It should be noted that there is no time sequence between S102 and S103, and S102 and S103 can be executed simultaneously or sequentially. In order to achieve the best effect of saving startup time for the startup device, the first processor 11 and the second processor 12 can execute their respective operation processes at the same time, or the first processor 11 can also execute corresponding operations with the second processor 12 first. The operation process, and the respective operation processes are ended at the same time, so that the time overlap of the two processes is maximized, so that the startup time of the display device is greatly saved.
S104、操作系统内核启动之后,第一处理器在操作系统内核的指示下运行。S104. After the operating system kernel is started, the first processor runs under the instruction of the operating system kernel.
由于操作系统内核13是由第一处理器11启动的,因此,在操作系统内核13启动之后,第一处理器11可以直接通过操作系统内核13进行控制,使得第一处理器11可以在操作系统内核13的指示下运行,即第一处理器11可以根据操作系统内核13的指令进行相应的操作。Since the operating system kernel 13 is started by the first processor 11, after the operating system kernel 13 is started, the first processor 11 can be directly controlled by the operating system kernel 13, so that the first processor 11 can be in the operating system It runs under the instructions of the kernel 13, that is, the first processor 11 can perform corresponding operations according to the instructions of the operating system kernel 13.
S105、第二处理器完成点亮显示屏之后,第二处理器在操作系统内核的指示下运行。S105. After the second processor finishes lighting the display screen, the second processor runs under the instruction of the operating system kernel.
由于第二处理器12在完成点亮显示屏2之后,便于处于空闲(Idle)状态,即WFI(Wait for interrupt)状态,此时,第二处理器12并不属于操作系统内核13控制(此处的控制指的是操作系统内核13无法调用第二处理器12以执行任一操作,也无法监管第二处理器12的接口以获取所需数据),因此,为了提高了显示设备的处理能力,在第二处理器12完成点亮显示屏2,且操作系统内核13启动之后,第二处理器12可以通过操作系统内核13进行控制,使得第二处理器11可以在操作系统内核13的指示下运行,即第二处理器12根据操作系统内核13的指令进行相应的操作过程,避免第二处理器12的浪费而造成对显示设备的性能影响。After the second processor 12 finishes lighting the display screen 2, it is convenient to be in the idle state, that is, the WFI (Wait for interrupt) state. At this time, the second processor 12 is not under the control of the operating system kernel 13 (this The control means that the operating system kernel 13 cannot call the second processor 12 to perform any operation, nor can it supervise the interface of the second processor 12 to obtain the required data), therefore, in order to improve the processing capacity of the display device After the second processor 12 finishes lighting the display screen 2 and the operating system kernel 13 starts, the second processor 12 can be controlled by the operating system kernel 13, so that the second processor 11 can be instructed by the operating system kernel 13 Down-run, that is, the second processor 12 performs a corresponding operation process according to the instructions of the operating system kernel 13, so as to avoid the waste of the second processor 12 which may affect the performance of the display device.
可选地,在第一处理器11启动操作系统内核13之后,由于第一处理器11可以在操作系统内核13的指示下运行,因此,操作系统内核13可以指示第一处理器11用于确定第二处理器12是否完成点亮显示屏2,使得第一处理器11可以采用多种方式通知第二次处理器12可以在操作系统内核13的指示下运行。下面采用两种方式进行详细说明。Optionally, after the first processor 11 starts the operating system kernel 13, since the first processor 11 can run under the instruction of the operating system kernel 13, the operating system kernel 13 can instruct the first processor 11 to determine Whether the second processor 12 finishes lighting the display screen 2 so that the first processor 11 can notify the second processor 12 that it can run under the instruction of the operating system kernel 13 in various ways. The following two methods are used for detailed description.
一种可能的实现方式中,第二处理器12可以向第一处理器11发送第二信息,使得第一处理器11在接收到该第二消息时,通知第二处理器12在操作系统内核13的指示下运行。In a possible implementation manner, the second processor 12 may send the second information to the first processor 11, so that when the first processor 11 receives the second message, the second processor 12 is notified that the operating system kernel Run under 13 instructions.
其中,第二消息用于表示第二处理器12已点亮显示屏2,该第二消息可以采用数字、代码或者标识等方式。例如,第二消息中包括标识“A”时,表示第二处理器12已点亮显示屏2。第二消息中未包括标识“A”时,表示第二处理器12未完成点亮显示屏2。The second message is used to indicate that the second processor 12 has turned on the display screen 2, and the second message may adopt a number, a code, or an identification. For example, when the second message includes the identifier “A”, it means that the second processor 12 has turned on the display screen 2. When the identifier “A” is not included in the second message, it means that the second processor 12 has not finished lighting the display screen 2.
另一种可能的实现方式中,本申请可以设置第二标识位,该第二标识位可以位于内存52中,也可以位于第一处理器11和第二处理器12的存储器部件中。进而,第二处理器12在点亮显示屏2之后,将第二标识位的值变为第二预设值,使得第一处理器11在确定第二标识位为第二预设值时,通知第二处理器12在操作系统内核13的指示下运行。In another possible implementation manner, a second identification bit may be set in the present application, and the second identification bit may be located in the memory 52 or in the memory components of the first processor 11 and the second processor 12. Furthermore, the second processor 12 changes the value of the second identification position to the second preset value after the display screen 2 is turned on, so that when the first processor 11 determines that the second identification position is the second preset value, The second processor 12 is notified to run under the instruction of the operating system kernel 13.
其中,第二预设值用于表示第二处理器12已点亮显示屏2。例如,第二标识位为第二预设值“1”时,表示第二处理器12已点亮显示屏2。第二标识位的值为“0”,不为第二预设值“1”时,表示第二处理器12未完成点亮显示屏2。The second preset value is used to indicate that the second processor 12 has turned on the display screen 2. For example, when the second identification bit is the second preset value “1”, it means that the second processor 12 has turned on the display screen 2. The value of the second identification bit is “0”, and when it is not the second preset value “1”, it means that the second processor 12 has not finished lighting the display screen 2.
基于S104和S105的内容,第一处理器11和第二处理器12皆由操作系统内核13控制。具体地,操作系统内核13可以根据第一处理器11和第二处理器12各自的利用率、频率和功耗,将任务分发给第一处理器11和第二处理器12,并指示第一处理器11和第二 处理器12进行相应的操作过程。另外,操作系统内核13还可以实现网络连接、U盘的识别、读写操作等过程。Based on the contents of S104 and S105, both the first processor 11 and the second processor 12 are controlled by the operating system kernel 13. Specifically, the operating system kernel 13 can distribute tasks to the first processor 11 and the second processor 12 according to the respective utilization, frequency and power consumption of the first processor 11 and the second processor 12, and instruct the first The processor 11 and the second processor 12 perform corresponding operations. In addition, the operating system kernel 13 can also implement processes such as network connection, U disk identification, and read and write operations.
可选地,在第二处理器12完成点亮显示屏2之后,预留空间可以被释放。因此,在S104完成之后,启动后的操作系统内核13可以指示第一处理器11在第二处理器12点亮显示屏2之后释放预留区域,以节省内存52的可用区域。由于第一处理器11获知预留区域的具体位置,因此,第二处理器12完成点亮显示屏2之后,可以采用第二消息或者第二预设值的方式向第一处理器11告知第二处理器12已点亮显示屏2,从而第一处理器11可以释放该预留区域。另外,在S105完成之后,启动后的操作系统内核13可以指示第二处理器12释放预留区域,以节省内存52的可用区域。具体地,由于第二处理器12获知预留区域的具体位置,因此,第二处理器12可以直接释放该预留区域。Optionally, after the second processor 12 finishes lighting up the display screen 2, the reserved space may be released. Therefore, after S104 is completed, the booted operating system kernel 13 may instruct the first processor 11 to release the reserved area after the second processor 12 lights up the display screen 2, so as to save the available area of the memory 52. Since the first processor 11 knows the specific location of the reserved area, after the second processor 12 finishes lighting the display screen 2, it can notify the first processor 11 of the second message or the second preset value. The second processor 12 has turned on the display screen 2, so that the first processor 11 can release the reserved area. In addition, after S105 is completed, the booted operating system kernel 13 may instruct the second processor 12 to release the reserved area, so as to save the available area of the memory 52. Specifically, since the second processor 12 knows the specific location of the reserved area, the second processor 12 can directly release the reserved area.
在一个具体的实施例中,现有技术中,采用串行点屏方式启动显示设备需要耗时3s(秒),采用定时器点屏方式需要耗时2146ms(毫秒)。而启动装置10采用本申请的启动装置10的处理方法来启动显示设备需要耗时794ms,大大减少了启动时长。In a specific embodiment, in the prior art, it takes 3 s (seconds) to start the display device in the serial dot screen mode, and 2146 ms (milliseconds) in the timer dot screen mode. However, it takes 794 ms for the activation device 10 to use the processing method of the activation device 10 of the present application to activate the display device, which greatly reduces the activation time.
本申请提供的启动装置的处理方法,通过将启动装置中的第一处理器和第二处理作为独立的运算单元。在包含有启动装置和显示屏的显示设备上电后,第一处理器自动启动,且第一处理器启动第二处理器。进而,第二处理器点亮显示屏,且在第二处理器点亮显示屏的过程中,第一处理器启动操作系统内核,这样,第一处理器和第二处理器并行执行各自的操作过程,使得这两个操作过程存在时间重叠,从而减少了显示设备的启动时长,提高了显示设备的启动速度。The processing method of the activation device provided in this application uses the first processor and the second processing in the activation device as independent arithmetic units. After the display device including the startup device and the display screen is powered on, the first processor automatically starts, and the first processor starts the second processor. Furthermore, the second processor lights up the display screen, and while the second processor lights up the display screen, the first processor starts the operating system kernel, so that the first processor and the second processor perform their operations in parallel The process makes the two operation processes overlap in time, thereby reducing the startup time of the display device and improving the startup speed of the display device.
在图1-图4实施例的基础上,本申请中的启动装置10可以兼容显示设备的复位功能。下面,结合图5,对启动装置10复位显示设备的具体实现过程进行详细说明。On the basis of the embodiments in FIGS. 1 to 4, the activation device 10 in this application can be compatible with the reset function of the display device. Hereinafter, in conjunction with FIG. 5, the specific implementation process of the activation device 10 to reset the display device will be described in detail.
S201、第一处理器接收复位信号。S201. The first processor receives a reset signal.
本申请中,启动装置10中的第一处理器11可以接收用于表示对显示设备进行复位的复位信号。其中,该复位信号可以为启动装置10上设置的复位按键在被按下时产生的,也可以为显示设备上的复位按键在被按下时通过软件和/或硬件发送给第一处理器11的。并且,第一处理器11可以在显示设备的启动过程以及启动后的工作过程中的任意一个时刻接收该复位信号。其中,复位按键可以设置在启动装置10上且与外壳1连接,该复位按键可伸出外壳1的壳体,也可外壳1的边缘平齐,本申请对此不做限定。复位按键也可以设置在显示设备的外壳1的按键板上,方便操作。且本申请对复位按键的具体个数和具体类型不做限定。In this application, the first processor 11 in the activation device 10 may receive a reset signal used to indicate that the display device is reset. Wherein, the reset signal may be generated when the reset button set on the starting device 10 is pressed, or may be sent to the first processor 11 through software and/or hardware when the reset button on the display device is pressed. of. In addition, the first processor 11 may receive the reset signal at any time during the startup process of the display device and the working process after startup. The reset button can be arranged on the starting device 10 and connected to the casing 1. The reset button can extend out of the casing of the casing 1, or the edges of the casing 1 can be flush, which is not limited in this application. The reset button can also be arranged on the button board of the casing 1 of the display device for convenient operation. And this application does not limit the specific number and specific types of reset buttons.
S202、第一处理器启动第二处理器。S202: The first processor starts the second processor.
S203、第二处理器点亮显示屏。S203. The second processor lights up the display screen.
S2041、第一处理器将非易失性存储器中的复位信号对应的操作系统内核写入到易失性存储器中。S2041. The first processor writes the operating system kernel corresponding to the reset signal in the non-volatile memory into the volatile memory.
S2042、第一处理器启动复位信号对应的操作系统内核。S2042. The first processor starts the operating system kernel corresponding to the reset signal.
具体地,当操作人员有对显示设备进行复位需求时,操作人员可以按下复位按键,使得第一处理器11可以接收到复位信号。第一处理器11在接收到复位信号时,可以启动显示设备(此处的启动指的是如果显示设备未启动,则显示设备将开始启动,如果显示设备 已启动,则显示设备将重新启动)。在显示设备的启动过程中,第一处理器11可以启动第二处理器12。Specifically, when the operator needs to reset the display device, the operator can press the reset button, so that the first processor 11 can receive the reset signal. The first processor 11 can start the display device when receiving the reset signal (starting here means that if the display device is not started, the display device will start to start, and if the display device is already started, the display device will restart) . During the startup process of the display device, the first processor 11 may start the second processor 12.
此时,第一处理器11和第二处理器12均已启动。第二处理器12可以点亮显示设备的显示屏2。第一处理器11可以将闪存51中的复位信号对应的操作系统内核写入到内存52中,再启动复位信号对应的操作系统内核,使得显示设备恢复至正常工作状态,以满足实际需求。At this time, both the first processor 11 and the second processor 12 have been started. The second processor 12 can light up the display screen 2 of the display device. The first processor 11 can write the operating system kernel corresponding to the reset signal in the flash memory 51 into the memory 52, and then start the operating system kernel corresponding to the reset signal to restore the display device to a normal working state to meet actual requirements.
其中,复位信号对应的操作系统内核与闪存51中的操作系统内核13可以相同版本,也可以不同版本,本申请对此不做限定。具体地,复位信号对应的操作系统内核通常用于执行复位操作。其中,复位操作涉及的具体操作可以包括但不限于清理缓存及将启动装置10的各个参数恢复至预设值,如出厂设置的值或者上一次软件更新的值等。该缓存可以包括但不限于垃圾文件、系统缓存以及应用缓存。各个参数包括但不限于缓存空间大小、接口的类型等。The operating system kernel corresponding to the reset signal and the operating system kernel 13 in the flash memory 51 may be of the same version or different versions, which is not limited in this application. Specifically, the operating system kernel corresponding to the reset signal is usually used to perform the reset operation. The specific operations involved in the reset operation may include, but are not limited to, clearing the cache and restoring each parameter of the boot device 10 to preset values, such as factory settings or values from the last software update. The cache may include, but is not limited to, junk files, system cache, and application cache. Each parameter includes but is not limited to the size of the cache space, the type of interface, and so on.
需要说明的是,S2041先与S2042执行,S203和S2041可以同时进行,也可以先后顺序执行,本申请对此不做限定。It should be noted that S2041 is executed with S2042 first, and S203 and S2041 can be executed simultaneously or sequentially, which is not limited in this application.
S205、复位信号对应的操作系统内核启动之后,第一处理器在复位信号对应的操作系统内核的指示下运行。S205. After the operating system kernel corresponding to the reset signal is started, the first processor runs under the instruction of the operating system kernel corresponding to the reset signal.
具体地,复位信号对应的操作系统内核启动之后,第一处理器11在复位信号对应的操作系统内核的指示下运行,具体过程可参见图4所示的S104,此处不做赘述。Specifically, after the operating system kernel corresponding to the reset signal is started, the first processor 11 runs under the instruction of the operating system kernel corresponding to the reset signal. For the specific process, refer to S104 shown in FIG. 4, which will not be repeated here.
S206、第二处理器完成点亮所述显示屏之后,第二处理器在复位信号对应的操作系统内核的指示下运行。S206. After the second processor finishes lighting the display screen, the second processor runs under the instruction of the operating system kernel corresponding to the reset signal.
具体地,在第二处理器12完成点亮显示屏2之后,第二处理器12在复位信号对应的操作系统内核的指示下运行,具体过程可参见图4所示的S105,此处不做赘述。Specifically, after the second processor 12 finishes lighting the display screen 2, the second processor 12 runs under the instruction of the operating system kernel corresponding to the reset signal. For the specific process, refer to S105 shown in FIG. 4, which is not done here. Repeat.
S207、第一处理器和/或第二处理器在复位信号对应的操作系统内核的指示下执行复位操作。S207: The first processor and/or the second processor perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal.
具体地,复位信号对应的操作系统内核可以指示第一处理器11,也可以指示第二处理器12,还可以指示第一处理器11和第二处理器12,执行复位操作,如清理缓存和/或将启动装置10的各个参数恢复至预设值,如出厂设置的值或者上一次软件更新的值。从而,实现了启动装置10兼容显示设备的复位功能,使得显示设备的处理过程更加流畅,以提供显示设备的操作性能。Specifically, the operating system kernel corresponding to the reset signal can instruct the first processor 11, or the second processor 12, and can also instruct the first processor 11 and the second processor 12 to perform reset operations, such as clearing cache and /Or restore each parameter of the starting device 10 to a preset value, such as a factory-set value or a value from the last software update. Thus, the reset function of the boot device 10 compatible with the display device is realized, so that the processing process of the display device is smoother, and the operation performance of the display device is improved.
进一步地,在显示设备复位后,启动装置10不会继续停留在当前状态,通常会重新启动显示设备,使得显示设备进入到正常的工作状态中。具体地,在第一处理器11和/或第二处理器12执行复位操作之后,复位信号对应的操作系统内核可以指示第一处理器11,也可以指示第二处理器12,还可以指示第一处理器11和第二处理器12,执行重新启动显示设备的操作。进而,启动装置10再执行如图4实施例的具体过程,此处不做赘述。需要说明的是,在显示设备重新启动的过程中,第一处理器11启动的是操作系统内核13,并不是复位信号对应的操作系统内核。Furthermore, after the display device is reset, the starting device 10 will not continue to stay in the current state, and usually restart the display device, so that the display device enters a normal working state. Specifically, after the first processor 11 and/or the second processor 12 perform the reset operation, the operating system kernel corresponding to the reset signal may instruct the first processor 11, the second processor 12, or the second processor 12 A processor 11 and a second processor 12 perform the operation of restarting the display device. Furthermore, the activation device 10 then executes the specific process of the embodiment in FIG. 4, which will not be repeated here. It should be noted that during the restarting process of the display device, the first processor 11 starts the operating system kernel 13, not the operating system kernel corresponding to the reset signal.
本申请中,在节省显示设备的启动时长的基础上,还可以兼顾显示设备的复位功能。具体地,第一处理器可以在接收到复位信号时,可以将闪存中的复位信号对应的操作系统内核写入到内存中,从而,第一处理器可以启动复位信号对应的操作系统内核,这样,第 一处理器和/或第二处理器可以在复位信号对应的操作系统内核的指示下执行复位操作,使得显示设备恢复至正常工作状态,以满足清除显示设备的缓存等实际需求。In this application, on the basis of saving the startup time of the display device, the reset function of the display device can also be taken into consideration. Specifically, when the first processor receives the reset signal, it can write the operating system kernel corresponding to the reset signal in the flash memory into the memory, so that the first processor can start the operating system kernel corresponding to the reset signal. The first processor and/or the second processor may perform a reset operation under the instruction of the operating system kernel corresponding to the reset signal to restore the display device to a normal working state, so as to meet actual requirements such as clearing the cache of the display device.
在图1-图4实施例的基础上,本申请中的启动装置10可以兼容显示设备的复位功能。下面,结合图6,对启动装置10对显示设备进行空盘升级的具体实现过程进行详细说明。On the basis of the embodiments in FIGS. 1 to 4, the activation device 10 in this application can be compatible with the reset function of the display device. Next, in conjunction with FIG. 6, the specific implementation process of the empty disk upgrade of the display device by the activation device 10 will be described in detail.
S301、第一处理器接收空盘升级信号。S301. The first processor receives an empty disk upgrade signal.
本申请中,启动装置10中的第一处理器11可以接收到空盘升级信号,该空盘升级信号用于表示显示设备由于操作系统内核13出现软件故障而导致无法正常开机或者无法正常显示画面。In this application, the first processor 11 in the boot device 10 may receive an empty disk upgrade signal, which is used to indicate that the display device cannot be booted or displayed normally due to a software failure of the operating system kernel 13 .
其中,空盘升级信号可以为启动装置10上设置的电源按键在被按下时产生的,也可以为显示设备上的电源按键在被按下时通过软件和/或硬件发送给第一处理器11的。并且,第一处理器11可以在显示设备的启动过程以及启动后的工作过程中的任意一个时刻接收该空盘升级信号。其中,电源按键可以设置在启动装置10上且与外壳1连接,该电源按键可伸出外壳1的壳体,也可与外壳1的边缘平齐,本申请对此不做限定。电源按键也可以设置在显示设备的外壳1的按键板上,且本申请对电源按键的具体个数和具体类型不做限定。Wherein, the empty disk upgrade signal may be generated when the power button provided on the starting device 10 is pressed, or may be sent to the first processor through software and/or hardware when the power button on the display device is pressed. 11's. In addition, the first processor 11 may receive the empty disk upgrade signal at any time during the startup process of the display device and the working process after startup. Wherein, the power button can be arranged on the starting device 10 and connected to the casing 1. The power button can extend out of the casing of the casing 1, or it can be flush with the edge of the casing 1, which is not limited in this application. The power button may also be arranged on the button panel of the housing 1 of the display device, and the specific number and specific type of the power button are not limited in this application.
具体地,在显示设备无法正常开机或者无法正常显示画面时,操作人员可以将显示设备进行断电再上电的操作,使得在显示设备重新启动的过程中,第一处理器可以接收到空盘升级信号。其中,此处的断电指的是将显示设备的插头拔掉,断开与交流电的连接。此处的上电指的是将显示设备的插头插上,与交流电进行连接。Specifically, when the display device cannot be turned on normally or the screen cannot be displayed normally, the operator can power off and then power on the display device, so that the first processor can receive the empty disk during the restarting process of the display device Upgrade signal. Among them, the power off here refers to unplug the display device to disconnect the AC power. The power-on here refers to plug in the plug of the display device and connect it to AC power.
S302、第一处理器启动第二处理器。S302. The first processor starts the second processor.
S303、第一处理器向第二处理器发送空盘升级信号,并控制第一处理器处于空闲状态。S303. The first processor sends an empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state.
S304、第二处理器根据空盘升级信号,从另一存储器中读取空盘升级信号对应的操作系统内核,将空盘升级信号对应的操作系统内核替换非易失性存储器中的操作系统内核,另一存储器为除所述非易失性存储器和易失性存储器之外的存储器。S304. The second processor reads the operating system kernel corresponding to the empty disk upgrade signal from another memory according to the empty disk upgrade signal, and replaces the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the non-volatile memory , The other memory is a memory other than the non-volatile memory and the volatile memory.
本申请中,操作人员可以按下电源按键,使得显示设备重新启动,进而,第一处理器11可以接收到空盘升级信号,使得第一处理器11可以执行空盘升级操作。具体地,在显示设备重新启动的过程中,第一处理器11可以启动第二处理器12,再可以向第二处理器12发送该空盘升级信号,并控制第一处理器11处于空闲(Idle)状态,即WFI(Wait for interrupt)状态,即第一处理器11不进行任何操作。In this application, the operator can press the power button to restart the display device, and further, the first processor 11 can receive the empty disk upgrade signal, so that the first processor 11 can perform the empty disk upgrade operation. Specifically, in the process of restarting the display device, the first processor 11 can start the second processor 12, and then can send the empty disk upgrade signal to the second processor 12, and control the first processor 11 to be idle ( Idle) state, that is, WFI (Wait for interrupt) state, that is, the first processor 11 does not perform any operation.
其中,第一处理器11可将寄存器部件中的固定位置设置标识,该标识用于向第二处理器12指示对显示设备进行空盘升级过程。第一处理器11也可以向第二处理器12发送携带有空盘升级信号的消息,以告知第二处理器12对显示进行空盘升级过程,本申请对第一处理器11向第二处理器12发送空盘升级信号的具体实现方式不做限定。Wherein, the first processor 11 may set an identifier in a fixed position in the register component, and the identifier is used to instruct the second processor 12 to perform an empty disk upgrade process for the display device. The first processor 11 may also send a message carrying an empty disk upgrade signal to the second processor 12 to inform the second processor 12 to perform the empty disk upgrade process on the display. This application processes the first processor 11 to the second processor. The specific implementation manner of sending the empty disk upgrade signal by the device 12 is not limited.
进而,第二处理器12根据空盘升级信号,可以从另一存储器中读取空盘升级信号对应的操作系统内核,并将空盘升级信号对应的操作系统内核替换闪存51中的操作系统内核13。其中,另一存储器为除闪存51和内存52之外的存储器,如U盘等。Furthermore, the second processor 12 can read the operating system kernel corresponding to the empty disk upgrade signal from another memory according to the empty disk upgrade signal, and replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory 51 13. Among them, the other memory is a memory other than the flash memory 51 and the memory 52, such as a U disk.
S305、第一处理器启动第二处理器。S305. The first processor starts the second processor.
S306、第二处理器点亮显示屏。S306. The second processor lights up the display screen.
S307、第一处理器在第二处理器点亮显示屏的过程中,启动空盘升级信号对应的操作 系统内核。S307. The first processor starts the operating system kernel corresponding to the empty disk upgrade signal while the second processor lights up the display screen.
S308、空盘升级信号对应的操作系统内核启动之后,第一处理器在空盘升级信号对应的内核操作系统的指示下运行。S308. After the operating system kernel corresponding to the empty disk upgrade signal is started, the first processor runs under the instruction of the kernel operating system corresponding to the empty disk upgrade signal.
S309、第二处理器完成点亮显示屏之后,第二处理器在空盘升级信号对应的内核操作系统的指示下运行。S309. After the second processor finishes lighting the display screen, the second processor runs under the instruction of the kernel operating system corresponding to the empty disk upgrade signal.
本申请中,在S304完成后,闪存51中已存有空盘升级信号对应的操作系统。此时,启动装置10不会继续停留在当前状态,通常会重新启动显示装置,以便启动装置10可以利用闪存中的空盘升级信号对应的操作系统,使得显示装置可以恢复正常显示或者正常开机,以实现了启动装置10兼容显示设备的空盘升级功能。In this application, after S304 is completed, the operating system corresponding to the empty disk upgrade signal is already stored in the flash memory 51. At this time, the startup device 10 will not continue to stay in the current state, and the display device will usually be restarted so that the startup device 10 can use the empty disk in the flash memory to upgrade the operating system corresponding to the signal, so that the display device can resume normal display or start normally. This realizes the empty disk upgrade function of the boot device 10 compatible with the display device.
具体地,第二处理器12重新启动显示设备。在显示设备的重新启动过程中,第一处理器11自动启动,第一处理器11启动第二处理器12。第二处理器12再点亮显示屏2。并在第二处理器12点亮显示屏2的过程中,第一处理器11可以将闪存51中的空盘升级信号对应的操作系统内核写入到内存52中,并在内存52中执行空盘升级信号对应的操作系统内核,实现通过空盘升级信号对应的操作系统内核正常启动显示设备的过程,从而消除了操作系统内核13的故障,使得显示设备恢复正常显示或者正常开机。需要说明的是,在显示设备的重新启动过程中,启动装置10通过空盘升级信号对应的操作系统内核正常启动显示设备的过程,具体可参照图4中启动装置10通过操作系统内核13正常启动显示设备的过程,此处不做赘述。Specifically, the second processor 12 restarts the display device. During the restarting process of the display device, the first processor 11 is automatically started, and the first processor 11 starts the second processor 12. The second processor 12 lights up the display screen 2 again. And while the second processor 12 lights up the display screen 2, the first processor 11 can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory 51 into the memory 52, and execute the emptying in the memory 52. The operating system kernel corresponding to the disk upgrade signal realizes the process of normally starting the display device through the operating system kernel corresponding to the empty disk upgrade signal, thereby eliminating the failure of the operating system kernel 13 and allowing the display device to resume normal display or start normally. It should be noted that during the restarting process of the display device, the booting device 10 normally starts the display device through the operating system kernel corresponding to the empty disk upgrade signal. For details, refer to the normal booting of the booting device 10 through the operating system kernel 13 in FIG. 4 The process of displaying the device will not be repeated here.
其中,空盘升级信号对应的内核操作系统与闪存51中的操作系统内核13可以相同版本,也可以不同版本,本申请对此不做限定。具体地,空盘升级信号对应的内核操作系统用于显示设备的正常工作,可以消除闪存中操作系统内核13的软件故障。The kernel operating system corresponding to the empty disk upgrade signal and the operating system kernel 13 in the flash memory 51 may be the same version or different versions, which is not limited in this application. Specifically, the kernel operating system corresponding to the empty disk upgrade signal is used for the normal operation of the display device, which can eliminate the software failure of the operating system kernel 13 in the flash memory.
本申请中,在节省显示设备的启动时长的基础上,还可以兼顾显示设备的空盘升级功能。具体地,第一处理器可以在接收到空盘升级信号时,向第二处理器发送空盘升级信号,使得第二处理器可以从另一存储器中读取空盘升级信号对应的操作系统内核,并将空盘升级信号对应的操作系统内核替换闪存中的操作系统内核,使得第一处理器可以将闪存中的空盘升级信号对应的操作系统内核写入到内存中,并在内存中启动空盘升级信号对应的操作系统内核,这样,第一处理器和第二处理器可以在空盘升级信号对应的操作系统内核的指示下运行,从而实现通过空盘升级信号对应的操作系统内核正常启动显示设备的过程,不仅可以减少启动时长,还可以消除操作系统内核的故障,使得显示设备恢复正常显示或者正常开机。In this application, on the basis of saving the startup time of the display device, the empty disk upgrade function of the display device can also be taken into consideration. Specifically, the first processor may send an empty disk upgrade signal to the second processor when receiving the empty disk upgrade signal, so that the second processor can read the operating system kernel corresponding to the empty disk upgrade signal from another memory , And replace the operating system kernel corresponding to the empty disk upgrade signal with the operating system kernel in the flash memory, so that the first processor can write the operating system kernel corresponding to the empty disk upgrade signal in the flash memory into the memory and start it in the memory The operating system kernel corresponding to the empty disk upgrade signal, so that the first processor and the second processor can run under the instruction of the operating system kernel corresponding to the empty disk upgrade signal, so that the operating system kernel corresponding to the empty disk upgrade signal is normal The process of starting the display device can not only reduce the startup time, but also eliminate the failure of the operating system kernel, so that the display device can resume normal display or start normally.
示例性的,本申请还提供一种启动装置,图7本申请实施例提供的一种示例性的启动装置的结构示意图,如图7所示,该启动装置可以包括:第一处理模块101和第二处理模块102。Exemplarily, this application also provides a starting device. FIG. 7 is a schematic structural diagram of an exemplary starting device provided in an embodiment of this application. As shown in FIG. 7, the starting device may include: a first processing module 101 and The second processing module 102.
第一处理模块101用于执行图1-图6所示启动装置的处理方法中第一处理器11执行的程序指令;第二处理模块用于102执行图1-图6所示启动装置的处理方法中第二处理器12执行的程序指令。The first processing module 101 is used to execute the program instructions executed by the first processor 11 in the processing method of the starting device shown in FIGS. 1 to 6; the second processing module is used to 102 execute the processing of the starting device shown in FIGS. 1 to 6 The program instructions executed by the second processor 12 in the method.
本申请实施例的启动装置,可以用于执行上述各方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。The activation device in the embodiment of the present application may be used to execute the technical solutions in the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它 的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments of the present application.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules may be integrated into one unit. The units formed by the above-mentioned modules can be realized in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software function modules may be stored in a computer readable storage medium. The above-mentioned software function module is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application Part of the method.
应理解,上述处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the foregoing processor may be a central processing unit (English: Central Processing Unit, abbreviated: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, abbreviated: DSP), and application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as ASIC) etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus can be an Industry Standard Architecture (ISA) bus, Peripheral Component (PCI) bus, or Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导 体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

Claims (30)

  1. 一种启动装置,其特征在于,包括:第一处理器和第二处理器;A starting device, characterized by comprising: a first processor and a second processor;
    所述第一处理器,用于启动所述第二处理器;The first processor is configured to start the second processor;
    所述第二处理器,用于点亮显示屏;The second processor is used to light up the display screen;
    所述第一处理器,用于在所述第二处理器点亮所述显示屏的过程中,启动操作系统内核;The first processor is configured to start an operating system kernel when the second processor lights up the display screen;
    所述操作系统内核启动之后,所述第一处理器在所述操作系统内核的指示下运行;After the operating system kernel is started, the first processor runs under the instruction of the operating system kernel;
    所述第二处理器完成点亮所述显示屏之后,所述第二处理器在所述操作系统内核的指示下运行。After the second processor finishes lighting the display screen, the second processor runs under the instruction of the operating system kernel.
  2. 根据权利要求1所述的装置,其特征在于,所述第一处理器,在启动所述第二处理器之前,还用于将非易失性存储器中的引导程序写入到易失性存储器中,所述引导程序包括启动所述第二处理器的操作程序;The device according to claim 1, wherein the first processor is further configured to write a boot program in a non-volatile memory to the volatile memory before starting the second processor Wherein, the boot program includes an operating program for starting the second processor;
    所述第一处理器,具体用于根据所述引导程序的指示启动所述第二处理器。The first processor is specifically configured to start the second processor according to an instruction of the boot program.
  3. 根据权利要求1或2所述的装置,其特征在于,所述第一处理器,在所述第一处理器启动所述第二处理器之前,还用于将非易失性存储器中的初始化程序写入到易失性存储器中,所述初始化程序用于所述第二处理器的初始化。The device according to claim 1 or 2, wherein the first processor is further configured to initialize the non-volatile memory before the first processor starts the second processor The program is written into the volatile memory, and the initialization program is used for the initialization of the second processor.
  4. 根据权利要求3所述的装置,其特征在于,在所述第一处理器启动所述第二处理器之后,所述第二处理器,还用于根据所述初始化程序执行初始化;4. The device according to claim 3, wherein after the first processor starts the second processor, the second processor is further configured to perform initialization according to the initialization program;
    在所述第二处理器执行初始化的过程中,所述第一处理器,还用于将非易失性存储器中的点屏程序和屏参信息写入到易失性存储器中,所述点屏程序用于控制所述显示屏点亮,所述屏参信息为所述显示屏显示所需的信息。During the initialization process of the second processor, the first processor is also used to write the screen point program and screen parameter information in the non-volatile memory into the volatile memory, and the point The screen program is used to control the display screen to light up, and the screen parameter information is information required for the display screen to display.
  5. 根据权利要求4所述的装置,其特征在于,所述第二处理器,具体用于:The device according to claim 4, wherein the second processor is specifically configured to:
    将所述点屏程序和所述屏参信息写入到所述易失性存储器的预留区域中,并在所述预留区域中根据所述点屏程序和所述屏参信息,点亮所述显示屏。Write the screen point program and the screen parameter information into a reserved area of the volatile memory, and light up in the reserved area according to the screen point program and the screen parameter information The display screen.
  6. 根据权利要求4或5所述的装置,其特征在于,所述屏参信息包括如下信息中的至少一个:The device according to claim 4 or 5, wherein the screen parameter information includes at least one of the following information:
    所述显示屏的分辨率、所述启动装置与所述显示屏之间的接口的类型、点亮所述显示屏的背光的延时、各种时序信息。The resolution of the display screen, the type of interface between the activation device and the display screen, the delay of lighting the backlight of the display screen, and various timing information.
  7. 根据权利要求5所述的装置,其特征在于,所述第二处理器,具体用于在确定第一标识位为第一预设值时,点亮所述显示屏,所述第一预设值用于表示所述预留区域中已写入所述点屏程序息和所述屏参信息;或者,The device according to claim 5, wherein the second processor is specifically configured to turn on the display screen when it is determined that the first identification position is a first preset value, and the first preset The value is used to indicate that the point screen program information and the screen parameter information have been written in the reserved area; or,
    所述第二处理器,具体用于在接收到所述第一处理器发送的第一消息时,点亮所述显示屏,所述第一消息用于表示所述预留区域中已写入所述点屏程序和所述屏参信息。The second processor is specifically configured to turn on the display screen when a first message sent by the first processor is received, and the first message is used to indicate that the reserved area has been written The screen point program and the screen parameter information.
  8. 根据权利要求7所述的装置,其特征在于,所述第一标识位设置在易失性存储器中或所述第一处理器和所述第二处理器共同的存储区域中。7. The device according to claim 7, wherein the first identification bit is set in a volatile memory or a storage area shared by the first processor and the second processor.
  9. 根据权利要求1-8任一项所述的装置,其特征在于,所述第一处理器,在启动操作系统内核之前,还用于将非易失性存储器中的所述操作系统内核写入到易失性存储器中;The device according to any one of claims 1-8, wherein the first processor is further configured to write the operating system kernel in the non-volatile memory before starting the operating system kernel Into volatile memory;
    所述第一处理器,具体用于从所述易失性存储器中读取所述操作系统内核,以启动所述操作系统内核。The first processor is specifically configured to read the operating system kernel from the volatile memory to start the operating system kernel.
  10. 根据权利要求1-9任一项所述的装置,其特征在于,所述第一处理器,还用于在确定第二标识位为第二预设值时,通知所述第二处理器在所述操作系统内核的指示下运行,所述第二预设值用于表示所述第二处理器已点亮所述显示屏;或者,The device according to any one of claims 1-9, wherein the first processor is further configured to notify the second processor when determining that the second identification bit is a second preset value Run under the instruction of the operating system kernel, and the second preset value is used to indicate that the second processor has turned on the display screen; or,
    所述第一处理器,还用于在接收到所述第二处理器发送的第三消息时,通知所述第二处理器在所述操作系统内核的指示下运行,所述第三消息表示所述第二处理器已点亮所述显示屏。The first processor is further configured to, when receiving a third message sent by the second processor, notify the second processor to run under the instruction of the operating system kernel, and the third message indicates The second processor has turned on the display screen.
  11. 根据权利要求10所述的装置,其特征在于,所述第二标识位设置在易失性存储器中或所述第一处理器和所述第二处理器共同的存储区域中。The device according to claim 10, wherein the second identification bit is set in a volatile memory or a storage area shared by the first processor and the second processor.
  12. 根据权利要求1-11任一项所述的装置,其特征在于,在所述第一处理器启动所述第二处理器之前,所述第一处理器,在接收到复位信号时,用于执行所述复位信号对应的操作系统内核的启动操作,所述第一处理器和/或所述第二处理器在所述复位信号对应的操作系统内核的指示下执行复位操作:The device according to any one of claims 1-11, wherein, before the first processor starts the second processor, the first processor is configured to, upon receiving a reset signal, Perform the startup operation of the operating system kernel corresponding to the reset signal, and the first processor and/or the second processor perform the reset operation under the instruction of the operating system kernel corresponding to the reset signal:
    其中,所述启动操作包括:所述第一处理器将非易失性存储器中的复位信号对应的操作系统内核写入到易失性存储器中;所述第一处理器启动所述复位信号对应的操作系统内核;所述复位操作包括:清理缓存和/或将所述启动装置的各个参数恢复至预设值。Wherein, the start operation includes: the first processor writes the operating system kernel corresponding to the reset signal in the non-volatile memory into the volatile memory; the first processor starts the reset signal corresponding to the The operating system kernel; the reset operation includes: clearing the cache and/or restoring each parameter of the boot device to a preset value.
  13. 根据权利要求1-11任一项所述的装置,其特征在于,在所述第一处理器启动所述第二处理器之前,所述第一处理器,在接收到空盘升级信号时,还用于执行空盘升级操作;The device according to any one of claims 1-11, wherein, before the first processor starts the second processor, when the first processor receives an empty disk upgrade signal, It is also used to perform empty disk upgrade operations;
    其中,所述空盘升级操作包括:所述第一处理器向所述第二处理器发送所述空盘升级信号,并控制所述第一处理器处于空闲状态,所述空盘升级信号用于所述第二处理器根据所述空盘升级信号,从另一存储器中读取所述空盘升级信号对应的操作系统内核,将所述空盘升级信号对应的操作系统内核替换非易失性存储器中的所述操作系统内核,所述另一存储器为除所述非易失性存储器和所述易失性存储器之外的存储器。Wherein, the empty disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used The second processor reads the operating system kernel corresponding to the empty disk upgrade signal from another memory according to the empty disk upgrade signal, and replaces the operating system kernel corresponding to the empty disk upgrade signal with the nonvolatile The operating system kernel in a non-volatile memory, and the other memory is a memory other than the non-volatile memory and the volatile memory.
  14. 根据权利要求2-13任一项所述的装置,其特征在于,所述启动装置还包括:非易失性存储器和易失性存储器。The device according to any one of claims 2-13, wherein the starting device further comprises: a non-volatile memory and a volatile memory.
  15. 一种启动装置的处理方法,其特征在于,所述启动装置包括:第一处理器和第二处理器;所述方法包括:A processing method of a startup device, wherein the startup device includes: a first processor and a second processor; the method includes:
    所述第一处理器启动所述第二处理器;The first processor starts the second processor;
    所述第二处理器点亮显示屏;The second processor lights up the display screen;
    所述第一处理器在所述第二处理器点亮所述显示屏的过程中,启动操作系统内核;The first processor starts the operating system kernel when the second processor lights up the display screen;
    所述操作系统内核启动之后,所述第一处理器在所述操作系统内核的指示下运行;After the operating system kernel is started, the first processor runs under the instruction of the operating system kernel;
    所述第二处理器完成点亮所述显示屏之后,所述第二处理器在所述操作系统内核的指示下运行。After the second processor finishes lighting the display screen, the second processor runs under the instruction of the operating system kernel.
  16. 根据权利要求15所述的方法,其特征在于,在所述第一处理器启动所述第二处理器之前,所述方法还包括:The method according to claim 15, wherein before the first processor starts the second processor, the method further comprises:
    所述第一处理器将非易失性存储器中的引导程序写入到易失性存储器中,所述引导程序包括启动所述第二处理器的操作程序;The first processor writes a boot program in the non-volatile memory into the volatile memory, and the boot program includes an operating program for starting the second processor;
    所述第一处理器启动所述第二处理器,包括:Starting the second processor by the first processor includes:
    所述第一处理器根据所述引导程序的指示启动所述第二处理器。The first processor starts the second processor according to the instruction of the boot program.
  17. 根据权利要求15或16所述的方法,其特征在于,在所述第一处理器启动所述第 二处理器之前,所述方法还包括:The method according to claim 15 or 16, characterized in that, before the first processor starts the second processor, the method further comprises:
    所述第一处理器将非易失性存储器中的初始化程序写入到易失性存储器中,所述初始化程序用于所述第二处理器的初始化。The first processor writes an initialization program in the non-volatile memory into the volatile memory, and the initialization program is used to initialize the second processor.
  18. 根据权利要求17所述的方法,其特征在于,在所述第一处理器启动所述第二处理器之后,所述方法还包括:The method according to claim 17, wherein after the first processor starts the second processor, the method further comprises:
    所述第二处理器根据所述初始化程序执行初始化;The second processor performs initialization according to the initialization program;
    在所述第二处理器执行初始化的过程中,所述第一处理器将非易失性存储器中的点屏程序和屏参信息写入到易失性存储器中,所述点屏程序用于控制所述显示屏点亮,所述屏参信息为所述显示屏显示所需的信息。During the initialization process of the second processor, the first processor writes the screen point program and screen parameter information in the non-volatile memory into the volatile memory, and the screen point program is used for Control the display screen to light up, and the screen parameter information is information required for the display screen to display.
  19. 根据权利要求18所述的方法,其特征在于,所述第二处理器点亮所述显示屏,包括:The method according to claim 18, wherein the second processor illuminating the display screen comprises:
    所述第二处理器,将所述点屏程序和所述屏参信息写入到所述易失性存储器的预留区域中,并在所述预留区域中根据所述点屏程序和所述屏参信息,点亮所述显示屏。The second processor writes the screen point program and the screen parameter information into a reserved area of the volatile memory, and in the reserved area according to the screen point program and the screen State the screen parameter information and light up the display screen.
  20. 根据权利要求18或19所述的方法,其特征在于,所述屏参信息包括如下信息中的至少一个:The method according to claim 18 or 19, wherein the screen parameter information includes at least one of the following information:
    所述显示屏的分辨率、所述启动装置与所述显示屏之间的接口的类型、点亮所述显示屏的背光的延时、各种时序信息。The resolution of the display screen, the type of interface between the activation device and the display screen, the delay of lighting the backlight of the display screen, and various timing information.
  21. 根据权利要求19所述的方法,其特征在于,所述第二处理器点亮显示设备的显示屏,包括:The method according to claim 19, wherein the second processor illuminating a display screen of a display device comprises:
    所述第二处理器在确定第一标识位为第一预设值时,点亮所述显示屏,所述第一预设值用于表示所述预留区域中已写入所述屏参信息、所述初始化程序和所述点屏程序;或者,When the second processor determines that the first identification position is a first preset value, light the display screen, where the first preset value is used to indicate that the screen parameters have been written in the reserved area Information, the initialization program and the screen point program; or,
    所述第二处理器在接收到所述第一处理器发送的第一消息时,点亮所述显示屏,所述第一消息用于表示所述预留区域中已写入所述屏参信息、所述初始化程序和所述点屏程序。The second processor lights up the display screen when receiving the first message sent by the first processor, and the first message is used to indicate that the screen parameters have been written in the reserved area Information, the initialization program, and the screen dot program.
  22. 根据权利要求21所述的方法,其特征在于,所述第一标识位设置在易失性存储器中或所述第一处理器和所述第二处理器共同的存储区域中。The method according to claim 21, wherein the first identification bit is set in a volatile memory or a storage area shared by the first processor and the second processor.
  23. 根据权利要求15-22任一项所述的方法,其特征在于,在所述第一处理器启动操作系统内核之前,所述方法还包括:The method according to any one of claims 15-22, wherein before the first processor starts an operating system kernel, the method further comprises:
    所述第一处理器将非易失性存储器中的所述操作系统内核写入到易失性存储器中;The first processor writes the operating system kernel in the non-volatile memory into the volatile memory;
    所述第一处理器启动操作系统内核,包括:The first processor to start an operating system kernel includes:
    所述第一处理器从所述易失性存储器中读取所述操作系统内核,以启动所述操作系统内核。The first processor reads the operating system kernel from the volatile memory to start the operating system kernel.
  24. 根据权利要求15-23任一项所述的方法,其特征在于,所述第二处理器在所述操作系统内核的指示下运行,包括:The method according to any one of claims 15-23, wherein the second processor runs under the instruction of the operating system kernel, comprising:
    所述第一处理器在确定第二标识位为第二预设值时,通知所述第二处理器在所述操作系统内核的指示下运行,所述第二预设值用于表示所述第二处理器已点亮所述显示屏;或者,When determining that the second identification bit is a second preset value, the first processor notifies the second processor to run under the instruction of the operating system kernel, and the second preset value is used to indicate the The second processor has turned on the display screen; or,
    所述第一处理器,在接收到所述第二处理器发送的第二消息时,通知所述第二处理器在所述操作系统内核的指示下运行,所述第二消息用于表示所述第二处理器已点亮所述显示屏。The first processor, upon receiving a second message sent by the second processor, informs the second processor to run under the instruction of the operating system kernel, and the second message is used to indicate The second processor has turned on the display screen.
  25. 根据权利要求24所述的方法,其特征在于,所述第二标识位设置在易失性存储器中或所述第一处理器和所述第二处理器共同的存储区域中。The method according to claim 24, wherein the second identification bit is set in a volatile memory or a storage area shared by the first processor and the second processor.
  26. 根据权利要求15-25任一项所述的方法,其特征在于,在所述第一处理器启动所述第二处理器之前,所述方法还包括:The method according to any one of claims 15-25, wherein, before the first processor starts the second processor, the method further comprises:
    所述第一处理器在接收到复位信号时,执行所述复位信号对应的操作系统内核的启动操作,所述第一处理器和/或所述第二处理器在所述复位信号对应的操作系统内核的指示下执行复位操作:When the first processor receives the reset signal, executes the startup operation of the operating system kernel corresponding to the reset signal, and the first processor and/or the second processor performs the operation corresponding to the reset signal Perform a reset operation under the instruction of the system kernel:
    其中,所述启动操作包括:所述第一处理器将非易失性存储器中的复位信号对应的操作系统内核写入到易失性存储器中;所述第一处理器启动所述复位信号对应的操作系统内核;所述复位操作包括:清理缓存和/或将所述启动装置中的各个参数恢复至预设值。Wherein, the start operation includes: the first processor writes the operating system kernel corresponding to the reset signal in the non-volatile memory into the volatile memory; the first processor starts the reset signal corresponding to the The operating system kernel; the reset operation includes: clearing the cache and/or restoring each parameter in the boot device to a preset value.
  27. 根据权利要求15-25任一项所述的方法,其特征在于,在所述第一处理器启动所述第二处理器之前,所述方法还包括:The method according to any one of claims 15-25, wherein, before the first processor starts the second processor, the method further comprises:
    所述第一处理器在接收到空盘升级信号时,执行空盘升级操作;The first processor executes an empty disk upgrade operation when receiving an empty disk upgrade signal;
    其中,所述空盘升级操作包括:所述第一处理器向所述第二处理器发送所述空盘升级信号,并控制所述第一处理器处于空闲状态,所述空盘升级信号用于所述第二处理器根据所述空盘升级信号,从另一存储器中读取所述空盘升级信号对应的操作系统内核,将所述空盘升级信号对应的操作系统内核替换非易失性存储器中的所述操作系统内核,所述另一存储器为除所述非易失性存储器和所述易失性存储器之外的存储器。Wherein, the empty disk upgrade operation includes: the first processor sends the empty disk upgrade signal to the second processor, and controls the first processor to be in an idle state, and the empty disk upgrade signal is used The second processor reads the operating system kernel corresponding to the empty disk upgrade signal from another memory according to the empty disk upgrade signal, and replaces the operating system kernel corresponding to the empty disk upgrade signal with the nonvolatile The operating system kernel in a non-volatile memory, and the other memory is a memory other than the non-volatile memory and the volatile memory.
  28. 根据权利要求15-27任一项所述的方法,其特征在于,所述启动装置还包括:非易失性存储器和易失性存储器。The method according to any one of claims 15-27, wherein the starting device further comprises: a non-volatile memory and a volatile memory.
  29. 一种启动装置,其特征在于,包括:第一处理模块和第二处理模块;A starting device, characterized by comprising: a first processing module and a second processing module;
    所述第一处理模块用于执行如权利要求15-28任一项所述的启动装置的处理方法中第一处理器执行的程序指令;The first processing module is configured to execute the program instructions executed by the first processor in the processing method of the activation device according to any one of claims 15-28;
    所述第二处理模块用于执行如权利要求15-28任一项所述的启动装置的处理方法中第二处理器执行的程序指令。The second processing module is configured to execute the program instructions executed by the second processor in the processing method of the activation device according to any one of claims 15-28.
  30. 一种可读存储介质,其特征在于,所述可读存储介质中存储有指令,当所述指令在计算机或处理器上运行时,使得第一处理器和第二处理器执行如权利要求15-28任一项所述的启动装置的处理方法,其中,所述计算机或所述处理器包括所述第一处理器和所述第二处理器。A readable storage medium, characterized in that instructions are stored in the readable storage medium, and when the instructions are run on a computer or a processor, the first processor and the second processor are executed as in claim 15 The processing method of any one of 28 to the activation device, wherein the computer or the processor includes the first processor and the second processor.
PCT/CN2019/080605 2019-03-29 2019-03-29 Processing method, apparatus and device for starting apparatus, and storage medium WO2020199009A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980093707.2A CN113545093A (en) 2019-03-29 2019-03-29 Processing method, device and equipment for starting device and storage medium
PCT/CN2019/080605 WO2020199009A1 (en) 2019-03-29 2019-03-29 Processing method, apparatus and device for starting apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/080605 WO2020199009A1 (en) 2019-03-29 2019-03-29 Processing method, apparatus and device for starting apparatus, and storage medium

Publications (1)

Publication Number Publication Date
WO2020199009A1 true WO2020199009A1 (en) 2020-10-08

Family

ID=72664396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/080605 WO2020199009A1 (en) 2019-03-29 2019-03-29 Processing method, apparatus and device for starting apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN113545093A (en)
WO (1) WO2020199009A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113903128A (en) * 2021-12-09 2022-01-07 武汉天喻信息产业股份有限公司 Equipment with display and method for improving running performance of equipment with display
TWI777639B (en) * 2021-06-29 2022-09-11 大陸商星宸科技股份有限公司 Dual-processor electronic apparatus and operation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111663A (en) * 2009-12-25 2011-06-29 康佳集团股份有限公司 Method, device and electronic equipment for playing startup pictures
CN103197934A (en) * 2012-01-09 2013-07-10 联咏科技股份有限公司 Method for starting multimedia device and multimedia device
US20140325560A1 (en) * 2010-10-08 2014-10-30 Lg Electronics Inc. Display apparatus and method for controlling the display apparatus
CN105721942A (en) * 2016-01-26 2016-06-29 青岛海信移动通信技术股份有限公司 Starting method for intelligent television and intelligent television

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5028904B2 (en) * 2006-08-10 2012-09-19 ソニー株式会社 Electronic device and starting method
CN102646045B (en) * 2012-03-08 2016-02-10 杭州海康威视数字技术股份有限公司 Multicomputer system and parallel starting method thereof
CN103150178A (en) * 2013-02-05 2013-06-12 联发科技(新加坡)私人有限公司 Starting-up display control device and processor chip
JP6036578B2 (en) * 2013-03-08 2016-11-30 株式会社デンソー Data processing device
CN204926064U (en) * 2015-08-13 2015-12-30 深圳市冠派电子科技有限公司 On -vehicle system of quick start area network function
CN107168784B (en) * 2017-05-15 2020-11-03 中科创达软件股份有限公司 Program emergency starting method and device based on multi-core system
US10860332B2 (en) * 2017-09-25 2020-12-08 Qualcomm Incorporated Multicore framework for use in pre-boot environment of a system-on-chip
CN109168088A (en) * 2018-09-14 2019-01-08 青岛海信传媒网络技术有限公司 A kind of the starting method, apparatus and smart television of intelligent television system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111663A (en) * 2009-12-25 2011-06-29 康佳集团股份有限公司 Method, device and electronic equipment for playing startup pictures
US20140325560A1 (en) * 2010-10-08 2014-10-30 Lg Electronics Inc. Display apparatus and method for controlling the display apparatus
CN103197934A (en) * 2012-01-09 2013-07-10 联咏科技股份有限公司 Method for starting multimedia device and multimedia device
CN105721942A (en) * 2016-01-26 2016-06-29 青岛海信移动通信技术股份有限公司 Starting method for intelligent television and intelligent television

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI777639B (en) * 2021-06-29 2022-09-11 大陸商星宸科技股份有限公司 Dual-processor electronic apparatus and operation method thereof
CN113903128A (en) * 2021-12-09 2022-01-07 武汉天喻信息产业股份有限公司 Equipment with display and method for improving running performance of equipment with display
CN113903128B (en) * 2021-12-09 2022-03-15 武汉天喻信息产业股份有限公司 Equipment with display and method for improving running performance of equipment with display

Also Published As

Publication number Publication date
CN113545093A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US10452404B2 (en) Optimized UEFI reboot process
CN109739563B (en) Terminal control method, device, system and storage medium
US9454380B2 (en) Computing platform performance management with RAS services
US7170498B2 (en) Computer system provided with hotkeys
US8914653B2 (en) Method and system for providing hybrid-shutdown and fast startup processes
CN106201563B (en) Configuration method and device of starting parameters and method and device for starting mainboard
TW445416B (en) Upgrade card for a computer system and method of operating the same
US6832311B2 (en) Information processing system and resume processing method used in the system
US9367446B2 (en) Computer system and data recovery method for a computer system having an embedded controller
JP2002244874A (en) Information processor and firmware updating method
WO2019033779A1 (en) Method and device for waking up computer from sleep state
WO2020199009A1 (en) Processing method, apparatus and device for starting apparatus, and storage medium
CN114661368B (en) Chip and starting method thereof
US7970433B2 (en) SD switch box in a cellular handset
TWI546661B (en) Resuming a system using state information
TW200842562A (en) Method for judging a rebooting action of a computer system and related computer system
JP2015060411A (en) Firmware update method of information processor
CN116302141B (en) Serial port switching method, chip and serial port switching system
JP6245056B2 (en) Information processing apparatus, power supply control program, and USB device
US20200133562A1 (en) Information processing device, controlling method and program
CN116848519A (en) Method and device for generating hardware interface signal and electronic equipment
US20140122854A1 (en) Information processing apparatus and activation method therefor
CN105068835B (en) Mobile terminal and debugging information display method thereof
CN110647428B (en) Mirror image file manufacturing and recovering method, processor and embedded system
JP2014174697A (en) Information processing device, control method of information processing device, and control program

Legal Events

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

Ref document number: 19923346

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19923346

Country of ref document: EP

Kind code of ref document: A1