CN109413497B - Intelligent television and system starting method thereof - Google Patents
Intelligent television and system starting method thereof Download PDFInfo
- Publication number
- CN109413497B CN109413497B CN201811061389.5A CN201811061389A CN109413497B CN 109413497 B CN109413497 B CN 109413497B CN 201811061389 A CN201811061389 A CN 201811061389A CN 109413497 B CN109413497 B CN 109413497B
- Authority
- CN
- China
- Prior art keywords
- partition
- memory
- system image
- unique system
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 273
- 230000008569 process Effects 0.000 claims abstract description 239
- 238000005192 partition Methods 0.000 claims abstract description 159
- 230000026676 system process Effects 0.000 claims abstract description 51
- 238000011068 loading method Methods 0.000 claims abstract description 49
- 230000008014 freezing Effects 0.000 claims abstract description 18
- 238000007710 freezing Methods 0.000 claims abstract description 18
- 230000001360 synchronised effect Effects 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 238000004519 manufacturing process Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 101100226364 Arabidopsis thaliana EXT1 gene Proteins 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses an intelligent television and a system starting method thereof, wherein the method comprises the following steps: freezing a user process and a kernel process for accessing a first partition in a memory; triggering a process for loading the unique system image, so that the process reads the unique system image from the nonvolatile memory and loads the unique system image to the memory; unfreezing a data synchronization process in a user process, so that the data synchronization process synchronizes data in a second partition corresponding to the first partition in the nonvolatile memory to the first partition; and after the data synchronization is finished, unfreezing other frozen system processes. By the method and the device, the problem of system startup failure caused by mismatching of data in the unique system image and corresponding data stored in the nonvolatile memory can be solved in the system startup based on the unique system image.
Description
Technical Field
The invention relates to the technical field of communication, in particular to an intelligent television and a system starting method thereof.
Background
In the prior art, in order to increase the ac booting speed of the terminal device, a technology of sleeping to a hard Disk (STD) is usually adopted, that is, a system running state before standby is made into an STD mirror image (i.e., a system state mirror image) and stored in an Embedded Multimedia Card (EMMC) of a nonvolatile memory, and after the terminal device is booted, the system state mirror image is read from the EMMC, and then decompressed, skipped and run.
Although the alternating current starting speed of the terminal equipment can be increased by adopting the STD technology, the system running state needs to be made into a system state mirror image and stored in the EMMC before alternating current is cut off every time, so that the shutdown speed is reduced and the service life of the EMMC is prolonged.
In order to overcome the drawback that a system state image is required to be generated before each ac power failure, a starting method using a unique system image is proposed in the industry. However, this method also has drawbacks because, after each boot-up, the file system data stored in the partition in the EMMC is read, written, and deleted by the service or process running in the system based on the synchronization mechanism. And the starting scheme of the unique system mirror image only starts the process of making the mirror image to make the unique system mirror image before the first alternating current power-off after each time of whole system upgrading or over-the-air downloading upgrading. Therefore, after the first complete machine system upgrade or the second alternating current power failure after the over-the-air upgrade, the data in the only system mirror image is not updated any more, the same mirror image data is loaded every time, but the data in the memory may be modified in the system operation process, and the modified data in the memory is synchronized to the EMMC based on the system data synchronization mechanism, so that the loaded mirror image data and the data of the same type stored in the EMMC are different when the system is restarted, the data of the two are not matched, and the partition is mounted to be read only after the device kernel detects the abnormality, thereby causing the alternating current startup failure.
Therefore, on the basis of ensuring the starting speed, a solution to the problem of failure of communication starting of the terminal equipment caused by mismatching of the file system data stored in the EMMC and the unique system mirror image data is needed.
Disclosure of Invention
The embodiment of the application provides an intelligent television and a system starting method thereof, which are used for solving the problem of system starting failure caused by mismatching of data in a unique system image and corresponding data stored in a nonvolatile memory in system starting based on the unique system image.
In a first aspect, a system startup method for an intelligent television is provided, including: freezing a system process for accessing a first partition in a memory, wherein the system process comprises a user process and a kernel process, and the user process comprises a data synchronization process; triggering a process for loading the unique system image, so that the process for loading the unique system image reads the unique system image from a nonvolatile storage and loads the unique system image to a memory; unfreezing a data synchronization process to enable the data synchronization to synchronize data in a second partition corresponding to the first partition in the nonvolatile memory to the first partition; and after the data in the nonvolatile memory is synchronized to the memory by the data synchronization process, unfreezing other frozen system processes to enable the other system processes to access the first partition in the memory.
Because some user processes and kernel processes are frozen before the mirror image loading is carried out, in the process of loading the mirror image of the unique system, the frozen user processes and kernel processes can not run, and therefore the problem that the system can not be started normally because the user processes and the kernel processes find that the data of the memory where the mirror image of the unique system is loaded is not matched with the data stored in the nonvolatile memory in the process of loading the mirror image of the unique system is avoided. After the unique system image is loaded to the memory, the data synchronization process in the user process is unfrozen, so that the data synchronization process synchronizes the data stored in the nonvolatile memory to the memory, and then unfreezes other frozen processes.
Optionally, the freezing a system process for accessing a first partition in a memory includes: setting the state of the system process as an uninterruptible sleep state; the triggering the process for unique system image loading includes: setting the state of the process for unique system image loading as an executable state; the unfreezing of the frozen other user process and the frozen kernel process comprises the following steps: setting the state of the frozen other system process to be an executable state.
Optionally, when the process for loading the unique system image loads the unique system image into the memory, the second partition of the nonvolatile memory is mounted to the first partition of the memory; the data synchronization process synchronizes data in the non-volatile memory to the memory, including: and the data synchronization process unloads the second partition of the nonvolatile memory from the first partition of the memory and re-mounts the second partition of the nonvolatile memory to the first partition of the memory for mounting, so that the data in the second partition is synchronized to the first partition.
Optionally, the frozen kernel process includes a scheduling process, and the manufacturing instruction of the unique system image is sent by the scheduling process; and after the scheduling process is unfrozen, scheduling other processes to finish system starting in the user process space for performing the scheduling process.
Optionally, the reading, by the process for loading the unique system image, the unique system image from the nonvolatile memory and loading the unique system image to the memory includes: and the process for loading the unique system image reads the compressed unique system image stored in the nonvolatile memory, decompresses the compressed unique system image and loads the decompressed unique system image to the memory.
In a second aspect, a smart tv is provided, which includes: the system comprises a process freezing module, a data synchronization module and a processing module, wherein the process freezing module is used for freezing a system process used for accessing a first partition in a memory, the system process comprises a user process and a kernel process, and the user process comprises a data synchronization process; the process triggering module is used for triggering the process for loading the unique system image, so that the process for loading the unique system image reads the unique system image from the nonvolatile memory and loads the unique system image to the memory; a process unfreezing module, configured to unfreeze the data synchronization process, so that the data synchronization process synchronizes data in a second partition, corresponding to the first partition, in the nonvolatile memory to the first partition; and unfreezing the frozen other system processes after the data in the nonvolatile memory is synchronized to the memory by the data synchronization process, so that the other system processes access the first partition in the memory.
Optionally, the process freezing module is specifically configured to: setting the state of the system process as an uninterruptible sleep state; the process triggering module is specifically configured to: setting the state of the process for unique system image loading as an executable state; the process unfreezing module is specifically configured to: and setting the state of the frozen other system processes as a running state.
Optionally, when the process for loading the unique system image loads the unique system image into the memory, the second partition of the nonvolatile memory is mounted to the first partition of the memory; the process triggering module is further to: and unloading the second partition of the nonvolatile memory from the first partition of the memory, and re-mounting the second partition of the nonvolatile memory to the first partition of the memory for mounting, so that the data in the second partition is synchronized to the first partition.
Optionally, the frozen kernel process includes a scheduling process, and the manufacturing instruction of the unique system image is sent by the scheduling process; and after the scheduling process is unfrozen, scheduling other processes to finish system starting in the user process space for performing the scheduling process.
Optionally, the process triggering module is specifically configured to: and reading the compressed unique system image stored in the nonvolatile memory, decompressing the compressed unique system image, and loading the decompressed unique system image to the memory.
In a third aspect, a communication apparatus is provided, including: a processor, a memory; the memory to store computer instructions; the processor is configured to execute the computer instructions to implement the method according to any one of the first aspect.
In a fourth aspect, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the method of any of the first aspects described above.
Drawings
Fig. 1 is a schematic system framework diagram of an intelligent television to which an embodiment of the present invention is applicable;
fig. 2 is a flowchart of a method for starting an intelligent television system according to an embodiment of the present application;
fig. 3 is a flowchart of a Linux system booting method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an intelligent television set according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a communication device suitable for use in the embodiment of the present application.
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present application, are given by way of illustration and explanation only, and are not intended to limit the present application.
It should be noted that the terms "first" and "second" in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed by a corresponding device, and the device can be an application program built in a terminal. The terminal can be an intelligent television, a computer and other electrical equipment with the function of starting the system after alternating current electrification, and the type of the equipment is not limited by the application. The following description will be described, without particular mention, with reference to a smart tv, the described solution being equally applicable to other types of devices.
Fig. 1 schematically shows a structural diagram of an intelligent television suitable for the embodiment of the present application. As shown in fig. 1, the terminal includes a nonvolatile Memory 101, a central processing unit 102, and a Double Synchronous Random Access Memory (DDR) 103 (i.e., a Memory). The nonvolatile Memory 101 may be a Read Only Memory (ROM), a Flash Memory (Flash), or an EMMC or other Memory capable of storing data after power failure, which is not limited herein.
The nonvolatile memory 101 is characterized in that data can be stored after power failure, for management convenience, the operating system may divide the nonvolatile memory 101 into a plurality of partitions, and different partitions are used for storing different data, including user data and a unique system image of the operating system. For management and read-write convenience, these partitions may be formatted into a specific file system, such as an EXT4 file system that may be used by terminals based on Linux systems.
The DDR 103 has stored therein computer program instructions, including operating system program instructions. Taking the operating system program instruction as an example, the operating system program instruction is executed by taking a system process as a basic execution entity in a running state, and may include types such as a user process, a kernel process and the like.
Based on the above terminal, after the ac power-on, the cpu 102 loads the unique system image stored in the non-volatile memory into the ddr sdram 103 during the system boot process.
The unique system image stored in the non-volatile memory 101 is used to specifically describe the operating state of the system, and after the system is powered on, the system process restores the operating state of the system according to the data in the unique system image. And the data in the unique system mirror image is updated only before the AC power-off after the whole system is upgraded or the over-the-air downloading is upgraded, and specifically, a scheduling process in the kernel process sends a mirror image making instruction to update the data in the unique system mirror image.
As shown in fig. 2, a flowchart of a system startup method of an intelligent television according to an embodiment of the present application may be implemented by a system startup device of the intelligent television.
The method comprises the following steps:
s201: freezing a system process for accessing a first partition in a memory; the system process comprises a user process and a kernel process, and the user process comprises a data synchronization process.
In practical application, the method can further comprise the following steps before the steps: after the alternating current is electrified, a starting program of the system guides internal software to initialize the hardware equipment; after the hardware equipment is initialized, the kernel is started and initializes each subsystem, thereby bringing the software and hardware environment of the system to a proper state.
In S201, a system process that has a possibility of accessing the first partition in the memory may be frozen. By adopting the traditional mirror image loading method, after the only system mirror image is loaded to the memory, the set partition in the memory is a readable and writable partition, and data in the partition is possibly not matched with data in a corresponding area in the nonvolatile memory. The configured partitions in the memory may include, but are not limited to, partitions such as a user data partition (for storing user data) and a Tvconfig partition (for storing device configuration information) in a Linux system.
For convenience of description, the memory partition with data mismatch caused by unique system image loading is referred to as a first partition, and the partition on the nonvolatile memory corresponding to the first partition (i.e., the nonvolatile memory partition mounted on the first partition) is referred to as a second partition. The first partition and the second partition are both readable and writable partitions. The first partition and the second partition may be one or more partitions, respectively. For example, taking a Linux system as an example, a first partition in the memory may include a Userdata partition (for storing user data) and a Tvconfig partition (for storing device configuration information), and accordingly, a second partition in the nonvolatile memory includes the Userdata partition and the Tvconfig partition.
The states of the system process mainly include an executable state, an interruptible sleep state, an uninterruptable sleep state, a suspended state, and an exit state. In S201, a kernel process and a user process that may access the first partition in the memory, such as a scheduling process and a data synchronization process that send a unique system image making instruction, may be frozen by setting the state of the system process that may access the first partition in the memory to an uninterruptible sleep state. Because the user processes and the kernel process are frozen before the unique system image is loaded, the frozen user processes and the kernel process cannot run in the unique system image loading process, and therefore the problem that the system cannot be normally started due to the fact that the data of the memory is not matched with the data stored in the nonvolatile memory after the user processes and the kernel process find that the unique system image is loaded to the memory in the unique system image loading process can be solved.
S202: triggering the process for unique system image loading so that the process for unique system image loading reads the unique system image from the non-volatile storage and loads the unique system image to the memory.
In some embodiments, to save storage space, the unique system image is compressed and stored in the non-volatile memory, and for this case, in S202, the process for loading the unique system image reads the compressed unique system image stored in the non-volatile memory, decompresses the compressed unique system image, and loads the data of the decompressed unique system image into the memory.
S203: unfreezing the data synchronization process, so that the data synchronization process synchronizes data in a second partition corresponding to the first partition in the nonvolatile memory to the first partition.
Optionally, the data synchronization may be implemented by unloading and then re-mounting. In loading the unique system image into the memory, the partition in the non-volatile storage needs to be mounted to the corresponding partition in the memory. Such as mounting a user data partition in non-volatile storage to a user data partition in memory. For the partition of the nonvolatile memory and the corresponding memory partition with unmatched data caused by the unique system mirror image loading, the data synchronization can be realized in a mode of unloading firstly and then re-mounting.
The process of implementing data synchronization by means of first unloading and then re-mounting may include: the data synchronization process unloads the second partition of the non-volatile storage from the first partition of the memory and re-mounts the second partition of the non-volatile storage to the first partition of the memory, such that data in the second partition is synchronized to the first partition.
S204: and after the data in the nonvolatile memory is synchronized to the memory by the data synchronization process, unfreezing other frozen system processes.
Alternatively, these system processes may be unfrozen by setting the state of the frozen other user processes and the frozen kernel process to an executable state. The unfrozen kernel process comprises a scheduling process, and the scheduling process can schedule other system processes to complete the subsequent system starting process.
Since the system is started based on the unique system image, which is done under the control of the scheduling process in the kernel process, the scheduling process is first defrosted after the data in the second partition is fully synchronized to the first partition. Then the scheduling process sends instructions to the frozen other user processes and the frozen other kernel processes, so that the frozen other user processes and the frozen other kernel processes continue to process, and system starting is completed.
According to the above flow, since the user process and the kernel process which may access the first partition in the memory are frozen before the unique system image is loaded, in the unique system image loading process, the frozen user process and the kernel process cannot run, so that the problem that the system cannot be normally started due to the fact that the user process and the kernel process find that the data of the memory where the unique system image is loaded is not matched with the data stored in the nonvolatile memory in the unique system image loading process is avoided. After the unique system image is loaded to the memory, the data synchronization process in the user process is unfrozen, so that the data synchronization process synchronizes the data stored in the nonvolatile memory to the memory, and then unfreezes other frozen processes.
In order to more clearly understand the embodiment of the present application, a system starting process is described below by taking an intelligent television based on an Android system as an example.
Wherein, the subregion in the nonvolatile memory of intelligent TV set includes:
a System partition (System partition) for storing a System running state image;
a Userdata partition (user data partition) for storing user data, such as application programs installed by the storage system;
a Booting partition (boot partition) for storing a Linux kernel and a virtual memory (ramdisk) partition;
the Tvconfig partition (configuration information partition) is a partition for storing related data of the smart television, and may include volume, channel, screen parameter, power amplifier parameter, and the like.
In the above partitions, the Userdata partition and the Tvconfig partition are readable and writable partitions, and need to be synchronized during system startup; the System partition and the Booting partition are read-only partitions, and data synchronization is not needed in System starting.
It should be noted that, in the embodiment of the present application, only a part of the partitions involved in the system boot is listed for describing the system boot process, and other partitions are not listed here one by one, and the present application is not limited to this.
As shown in fig. 3, an embodiment of the application provides a flowchart of system startup of an intelligent television based on an Android system.
After the smart television is powered on by alternating current, a system starting process of the smart television can include:
s301: a Bootloader process is performed.
After the intelligent television is electrified in an alternating-current mode, a boot program bootrom in the central processing unit guides Bootloader software located on the nonvolatile memory. Bootloader software initializes hardware equipment and establishes a memory space mapping diagram, so that the software and hardware environment of the system is brought to a proper state, for example, Bootloader software initializes modules such as a necessary clock, a necessary serial port and a necessary memory. Copying the linux kernel mirror image of the nonvolatile memory into the memory, then finishing the life cycle of the Bootloader in the system starting process, jumping to the beginning of the linux kernel, and further executing the flow from S302 to S308 in FIG. 3.
S302: and initializing each subsystem by the Linux kernel.
After the hardware equipment is initialized, initializing each subsystem by the Linux kernel, wherein the subsystems comprise a memory management subsystem, a power management subsystem, a universal serial bus subsystem, an input subsystem and the like.
S303: the system process is frozen.
In the Linux system, in order to limit the access capability between different processes and prevent the processes from randomly acquiring data in a memory partition or acquiring data of peripheral equipment, the running state of one process is divided into a kernel state and a user state. When the core state is in, the central processing unit can access all data in the memory, including peripheral devices such as a nonvolatile memory and a network card, and in this state, the central processing unit can also switch one program to another program; when the CPU is in the user mode, the CPU can only access part of data in the memory in a limited way, and the CPU is not allowed to access the peripheral equipment.
In S303, at the later stage of initialization of each subsystem, the system process is in a kernel state, and the state of the system process that may access the partition of the memory where the unique STD image is decompressed is an uninterruptible sleep state by calling a freeze-process function, where the frozen system process is not scheduled. The frozen system process comprises a user process and a kernel process, the user process comprises a Histd process used for data synchronization, and the kernel process comprises an StdService process used for sending a unique STD mirror image making instruction.
S304: the process for unique STD image loading is started.
In the above steps, the process for unique STD image loading is started. And enabling the process to read the unique STD mirror image of the nonvolatile memory, load the unique STD mirror image into a Booting partition in the nonvolatile memory, decompress the compressed unique system mirror image, and copy the decompressed unique system mirror image data into the memory by taking a page (for example, the size of 4K) as a unit.
S305: unfreezing the Histd process. So that the Histd process synchronizes the data in the non-volatile memory to the memory.
Taking the user data Userdata as an example, after copying the Userdata in the unique STD mirror image into the Userdata partition of the partition in the memory where the unique STD mirror image is located by the process for loading the unique STD mirror image, the Userdata partition in the nonvolatile memory is mounted to the Userdata partition of the partition in the memory where the unique STD mirror image is located. After the Histd process is unfrozen, the Histd process unloads data in the Userdata partition of the partition where the unique STD image in the memory is located, and re-mounts the Userdata partition in the nonvolatile memory onto the Userdata partition of the partition where the unique STD image in the memory is located, namely, scanning and copying of differential data are completed through loading and unloading operations of the partitions, so that the data in the Userdata partition in the nonvolatile memory is synchronized to the Userdata partition of the partition where the unique STD image in the memory is located.
S306: and judging whether the data synchronization is finished. If the data synchronization is completed, executing step S307, and if the data synchronization is not completed, waiting for the Histd process to complete the data synchronization.
S307: and unfreezing the StdService process. After the data synchronization in the Userdata partition in the memory is completed, the StdService process is firstly unfrozen.
S308: the StdService process unfreezes the frozen other system processes. The StdService process sends an instruction to the frozen other system process, unfreezes the frozen other system process, and triggers the frozen other system process to start working.
At S309, the thawed system process recovers the running state of the Android system according to the synchronized data, thereby implementing starting of the Android system.
Based on the same technical concept, the embodiment of the application also provides a system starting device.
As shown in fig. 4, in the smart television set provided in the embodiment of the present application, the smart television set may perform the embodiment of the system starting method. This intelligent television 400 includes: a process freezing module 401, a process triggering module 402 and a process unfreezing module 403.
The process freezing module 401: the method comprises the steps of freezing a system process used for accessing a first partition in a memory, wherein the system process comprises a user process and a kernel process, and the user process comprises a data synchronization process.
The process triggering module 402: the method comprises the steps of triggering a process for unique system image loading, enabling the process for unique system image loading to read the unique system image from a nonvolatile storage and load the unique system image into a memory.
The process unfreezing module 403: the data synchronization process is unfrozen, so that the data synchronization process synchronizes data in a second partition corresponding to the first partition in the nonvolatile memory to the first partition; and unfreezing the frozen other system processes after the data in the nonvolatile memory is synchronized to the memory by the data synchronization process.
Optionally, the process freezing module 401 is specifically configured to: setting the state of the system process as an uninterruptible sleep state; the process triggering module 402 is specifically configured to: setting the state of the process for unique system image loading as an executable state; the process unfreezing module 403 is specifically configured to: and setting the state of the frozen other system processes as a running state.
Optionally, when the process for loading the unique system image loads the unique system image into the memory, the second partition of the nonvolatile memory is mounted to the first partition of the memory; the process triggering module is further configured to uninstall the second partition of the nonvolatile memory from the first partition of the memory, and mount the second partition of the nonvolatile memory to the first partition of the memory again, so that data in the second partition is synchronized to the first partition.
Optionally, the frozen kernel process includes a scheduling process, and the manufacturing instruction of the unique system image is sent by the scheduling process; and after the scheduling process is unfrozen, scheduling other processes to finish system starting in the user process space for performing the scheduling process.
Optionally, the process triggering module 402 is specifically configured to: and reading the compressed unique system image stored in the nonvolatile memory, decompressing the compressed unique system image, and loading the decompressed unique system image to the memory.
Based on the same technical concept, the embodiment of the present application further provides a communication device 500, where the communication device 500 can implement the process executed by the smart tv 400 in the foregoing embodiment.
Fig. 5 shows a schematic structural diagram of the terminal 500 provided in the embodiment of the present disclosure, that is, shows another schematic structural diagram of the smart tv 400. Referring to fig. 5, the communication device 500 includes a processor 501 and a memory 502. The processor 501 may also be a controller. The processor 501 is configured to support the terminal to perform the functions involved in the aforementioned procedures. The memory 502 is used for coupling with the processor 501, and it holds the necessary program instructions and data for the terminal. The processor 501 is connected to the memory 502, the memory 502 is used for storing instructions, and the processor 501 is used for executing the instructions stored in the memory 502 to perform the steps of the method for the client device to execute the corresponding functions.
In the embodiment of the present application, for concepts, explanations, detailed descriptions, and other steps related to the smart television 400 and the communication device 500 related to the technical solution provided in the embodiment of the present disclosure, please refer to the description of the foregoing method or the description related to these contents in other embodiments, which is not described herein again.
It should be noted that the processor referred to in the embodiments of the present disclosure may be a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic devices, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. Wherein the memory may be integrated in the processor or may be provided separately from the processor.
The embodiment of the present application further provides a computer-readable storage medium for storing computer instructions, which when executed, can perform any one of the methods related to the foregoing terminal.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (12)
1. A system starting method of an intelligent television is characterized by comprising the following steps:
freezing a system process for accessing a first partition in a memory, wherein the system process comprises a user process and a kernel process, and the user process comprises a data synchronization process;
triggering a process for loading the unique system image, so that the process for loading the unique system image reads the unique system image from a nonvolatile memory and loads the unique system image to a memory;
unfreezing the data synchronization process so that the data synchronization process synchronizes data in a second partition corresponding to the first partition in the nonvolatile memory to the first partition;
after the data in the nonvolatile memory is synchronized to the memory by the data synchronization process, unfreezing other frozen system processes;
wherein freezing the system process for accessing the first partition in the memory comprises:
and setting the state of the system process as an uninterruptible sleep state.
2. The method of claim 1, wherein the triggering the process for unique system image loading comprises:
setting the state of the process for unique system image loading as an executable state;
the unfreezing of the frozen other user process and the frozen kernel process comprises the following steps:
setting the state of the frozen other system process to be an executable state.
3. The method of claim 1, wherein the process for unique system image loading mounts the second partition of the non-volatile storage to the first partition of the memory when the unique system image is loaded to the memory;
the data synchronization process synchronizes data in the non-volatile memory to the memory, including:
and the data synchronization process unloads the second partition of the nonvolatile memory from the first partition of the memory and re-mounts the second partition of the nonvolatile memory to the first partition of the memory for mounting, so that the data in the second partition is synchronized to the first partition.
4. The method of claim 1, wherein the frozen kernel process comprises a scheduling process, and the manufacturing instructions of the unique system image are sent by the scheduling process;
and after the scheduling process is unfrozen, scheduling other processes to complete system starting in the user process space for performing the scheduling process.
5. The method of any of claims 1 to 4, wherein the process for unique system image loading reads the unique system image from non-volatile storage and loads the unique system image to memory, comprising:
and the process for loading the unique system image reads the compressed unique system image stored in the nonvolatile memory, decompresses the compressed unique system image and loads the decompressed unique system image to the memory.
6. An intelligent television set, comprising:
the system comprises a process freezing module, a data synchronization module and a processing module, wherein the process freezing module is used for freezing a system process used for accessing a first partition in a memory, the system process comprises a user process and a kernel process, and the user process comprises a data synchronization process;
the process triggering module is used for triggering the process for loading the unique system image, so that the process for loading the unique system image reads the unique system image from the nonvolatile memory and loads the unique system image to the memory;
a process unfreezing module, configured to unfreeze the data synchronization process, so that the data synchronization process synchronizes data in a second partition, corresponding to the first partition, in the nonvolatile memory to the first partition; after the data in the nonvolatile memory is synchronized to the memory by the data synchronization process, unfreezing other frozen system processes to enable the other system processes to access the first partition in the memory;
the process freezing module is specifically configured to:
and setting the state of the system process as an uninterruptible sleep state.
7. The intelligent television set according to claim 6, wherein the process triggering module is specifically configured to:
setting the state of the process for unique system image loading as an executable state;
the process unfreezing module is specifically configured to:
and setting the state of the frozen other system processes as a running state.
8. The intelligent television set according to claim 6, wherein the process for unique system image loading mounts the second partition of the non-volatile storage to the first partition of the memory when the unique system image is loaded to the memory;
the process triggering module is further configured to:
and unloading the second partition of the nonvolatile memory from the first partition of the memory, and re-mounting the second partition of the nonvolatile memory to the first partition of the memory for mounting, so that the data in the second partition is synchronized to the first partition.
9. The intelligent television set according to claim 6, wherein the frozen kernel process comprises a scheduling process, and the manufacturing instruction of the unique system image is sent by the scheduling process;
and after the scheduling process is unfrozen, scheduling other processes to complete system starting in the user process space for performing the scheduling process.
10. The smart tv of any one of claims 6 to 9, wherein the process triggering module is specifically configured to:
and reading the compressed unique system image stored in the nonvolatile memory, decompressing the compressed unique system image, and loading the decompressed unique system image to the memory.
11. A communications apparatus, comprising: a processor and a memory;
the memory to store computer instructions;
the processor for executing the computer instructions to implement the method of any one of claims 1 to 5.
12. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the method of any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811061389.5A CN109413497B (en) | 2018-09-12 | 2018-09-12 | Intelligent television and system starting method thereof |
PCT/CN2019/105167 WO2020052559A1 (en) | 2018-09-12 | 2019-09-10 | Smart television and system starting method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811061389.5A CN109413497B (en) | 2018-09-12 | 2018-09-12 | Intelligent television and system starting method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109413497A CN109413497A (en) | 2019-03-01 |
CN109413497B true CN109413497B (en) | 2021-04-13 |
Family
ID=65464001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811061389.5A Active CN109413497B (en) | 2018-09-12 | 2018-09-12 | Intelligent television and system starting method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109413497B (en) |
WO (1) | WO2020052559A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413497B (en) * | 2018-09-12 | 2021-04-13 | 海信视像科技股份有限公司 | Intelligent television and system starting method thereof |
CN110557682B (en) * | 2019-09-26 | 2021-08-06 | 四川长虹电器股份有限公司 | Intelligent television quick starting method based on dual-core starting and dual-core intelligent television |
CN111562887B (en) * | 2020-05-09 | 2023-10-27 | 青岛海信传媒网络技术有限公司 | Display device and partition capacity expansion method |
AU2021283377A1 (en) * | 2020-06-05 | 2023-02-09 | Arris Enterprises Llc | Selective reset system for a remote physical device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996072A (en) * | 2009-08-21 | 2011-03-30 | 联想(北京)有限公司 | Window management method and computer of operating system |
CN103608792A (en) * | 2013-05-28 | 2014-02-26 | 华为技术有限公司 | Method and system for supporting resource isolation under multi-core architecture |
CN103902336A (en) * | 2014-03-13 | 2014-07-02 | 深圳创维-Rgb电子有限公司 | Method and device for controlling starting of operating system |
CN104021058A (en) * | 2014-06-30 | 2014-09-03 | 广州视源电子科技股份有限公司 | Method for quickly starting test board card |
CN104699505A (en) * | 2015-03-12 | 2015-06-10 | 华为技术有限公司 | Operating system status updating method and device based on mirror image technology |
CN105183137A (en) * | 2015-09-09 | 2015-12-23 | 厦门美图移动科技有限公司 | Mobile terminal and wake lock control method and system thereof |
CN105302663A (en) * | 2015-09-19 | 2016-02-03 | 华为技术有限公司 | Mirror image starting method and terminal equipment |
CN106648442A (en) * | 2015-10-29 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Metadata node internal memory mirroring method and device |
CN107748678A (en) * | 2017-10-23 | 2018-03-02 | 郑州云海信息技术有限公司 | A kind of system and method for improving heterogeneous system starting up speed |
WO2019236829A1 (en) * | 2018-06-08 | 2019-12-12 | Sugar Creek Packing Co. | System and method for processing pieces of protein |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6957313B2 (en) * | 2000-12-01 | 2005-10-18 | Hsia James R | Memory matrix and method of operating the same |
US7661028B2 (en) * | 2005-12-19 | 2010-02-09 | Commvault Systems, Inc. | Rolling cache configuration for a data replication system |
JP2008301329A (en) * | 2007-06-01 | 2008-12-11 | Renesas Technology Corp | Wireless communication system, sim card, mobile communication terminal, and data guarantee method |
US20100146188A1 (en) * | 2008-12-09 | 2010-06-10 | Bramante William J | Replicated file system for electronic devices |
KR101651204B1 (en) * | 2010-06-15 | 2016-08-26 | 삼성전자주식회사 | Apparatus and Method for synchronization of snapshot image |
KR101668312B1 (en) * | 2010-10-19 | 2016-10-21 | 삼성전자 주식회사 | Method and apparatus for supporting hibernation function in mobile device |
KR101813641B1 (en) * | 2011-11-15 | 2018-01-02 | 에스프린팅솔루션 주식회사 | Image forming apparatus and method for booting the same having hibernation function |
CN103207799B (en) * | 2013-04-23 | 2016-04-06 | 中国科学院微电子研究所 | Computer system shutdown method, computer system startup method, computer system shutdown device and computer system startup device |
CN109413497B (en) * | 2018-09-12 | 2021-04-13 | 海信视像科技股份有限公司 | Intelligent television and system starting method thereof |
-
2018
- 2018-09-12 CN CN201811061389.5A patent/CN109413497B/en active Active
-
2019
- 2019-09-10 WO PCT/CN2019/105167 patent/WO2020052559A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996072A (en) * | 2009-08-21 | 2011-03-30 | 联想(北京)有限公司 | Window management method and computer of operating system |
CN103608792A (en) * | 2013-05-28 | 2014-02-26 | 华为技术有限公司 | Method and system for supporting resource isolation under multi-core architecture |
CN103902336A (en) * | 2014-03-13 | 2014-07-02 | 深圳创维-Rgb电子有限公司 | Method and device for controlling starting of operating system |
CN104021058A (en) * | 2014-06-30 | 2014-09-03 | 广州视源电子科技股份有限公司 | Method for quickly starting test board card |
CN104699505A (en) * | 2015-03-12 | 2015-06-10 | 华为技术有限公司 | Operating system status updating method and device based on mirror image technology |
CN105183137A (en) * | 2015-09-09 | 2015-12-23 | 厦门美图移动科技有限公司 | Mobile terminal and wake lock control method and system thereof |
CN105302663A (en) * | 2015-09-19 | 2016-02-03 | 华为技术有限公司 | Mirror image starting method and terminal equipment |
CN106648442A (en) * | 2015-10-29 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Metadata node internal memory mirroring method and device |
CN107748678A (en) * | 2017-10-23 | 2018-03-02 | 郑州云海信息技术有限公司 | A kind of system and method for improving heterogeneous system starting up speed |
WO2019236829A1 (en) * | 2018-06-08 | 2019-12-12 | Sugar Creek Packing Co. | System and method for processing pieces of protein |
Also Published As
Publication number | Publication date |
---|---|
WO2020052559A1 (en) | 2020-03-19 |
CN109413497A (en) | 2019-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109413497B (en) | Intelligent television and system starting method thereof | |
CN108616382B (en) | Method and device for upgrading network card firmware, network card and equipment | |
US5269022A (en) | Method and apparatus for booting a computer system by restoring the main memory from a backup memory | |
CN112631625B (en) | System upgrading method and device for embedded equipment and embedded equipment | |
CN101593120A (en) | Be with outer upgrade method and system | |
CN104978231A (en) | Multisystem device based on internal storage partitions and loading and switching method thereof | |
CN103365696A (en) | BIOS (Basic Input Output System) image file obtaining method and device | |
CN109408122B (en) | Equipment starting method, electronic equipment and computer storage medium | |
CN116521209B (en) | Upgrading method and device of operating system, storage medium and electronic equipment | |
CN110597533A (en) | FPGA board card program updating system and method | |
CN115357310A (en) | System starting method and device, electronic equipment and storage medium | |
CN115098190A (en) | Method, device, terminal and storage medium for improving starting speed of SSD (solid State disk) system | |
US20200364040A1 (en) | System and Method for Restoring a Previously Functional Firmware Image on a Non-Volatile Dual Inline Memory Module | |
CN113934445A (en) | Equipment firmware upgrading system, method and device, computer equipment and storage medium | |
CN109710297A (en) | A method for upgrading and rolling back equipment as a whole or in sub-modules | |
CN115061713A (en) | Method and device for upgrading electronic equipment | |
CN201869296U (en) | Television | |
CN114461286B (en) | Server starting method and device, electronic equipment and readable storage medium | |
CN112948315B (en) | Storage area sharing method, storage medium and electronic device | |
CN104461659A (en) | High-reliability computer starting method | |
CN117389578A (en) | Cloud terminal system upgrading method and device, cloud terminal and storage medium | |
CN104834574B (en) | A kind of method and device solving system partitioning damage | |
CN110647428A (en) | Method for making and recovering mirror image file, processor and embedded system | |
CN114416148A (en) | Hot upgrading method, device and storage medium for virtual machine management program | |
CN113703850A (en) | BIOS program starting method, system and related components |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |