CN110780935A - Synchronous starting method and device for multi-system fusion product - Google Patents

Synchronous starting method and device for multi-system fusion product Download PDF

Info

Publication number
CN110780935A
CN110780935A CN201911050894.4A CN201911050894A CN110780935A CN 110780935 A CN110780935 A CN 110780935A CN 201911050894 A CN201911050894 A CN 201911050894A CN 110780935 A CN110780935 A CN 110780935A
Authority
CN
China
Prior art keywords
module
file
kernel
network
program
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.)
Granted
Application number
CN201911050894.4A
Other languages
Chinese (zh)
Other versions
CN110780935B (en
Inventor
曾晓勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hua Hua Software Technology Co Ltd
Original Assignee
Shenzhen Hua Hua Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Hua Hua Software Technology Co Ltd filed Critical Shenzhen Hua Hua Software Technology Co Ltd
Priority to CN201911050894.4A priority Critical patent/CN110780935B/en
Publication of CN110780935A publication Critical patent/CN110780935A/en
Application granted granted Critical
Publication of CN110780935B publication Critical patent/CN110780935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4405Initialisation of multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a synchronous starting method and a synchronous starting device for a multi-system fusion product, wherein the method comprises the following steps: after the media module is powered on, loading a starting file from Flash, and guiding a system to start a kernel program by a BOOT file; after the kernel program is started, mounting a file system to provide BOOTP (boot on programmable) guide service and NFS (network file system) service for the network module; after the network module is powered on, loading a minimum system, initiating a BOOTP request to the media module, and acquiring a kernel file path; the network module loads the kernel file according to the minimum system parameter and guides the system to start a kernel program; after the network module starts the service program and the peripheral program, the media module starts the service program and the peripheral program until the respective system programs are completely loaded. The invention can effectively shorten the starting time of the system and reduce the hardware cost of the product.

Description

Synchronous starting method and device for multi-system fusion product
Technical Field
The invention relates to the technical field of electronic information and communication, in particular to a synchronous starting method and device for a multi-system convergence product.
Background
At present, some multi-system fusion products usually include a plurality of modules, each module is respectively provided with an independent subsystem, after the products are powered on, the products can only be started one by one, and all data and starting files are read from a system bus Flash and loaded and then started in sequence until the system of the whole product is completely started. However, the starting time is long, and asynchronous service recovery and loading exist, which affects the experience of the user.
In addition, generally, the main frequencies of the processors in the modules are different, and when the service application is loaded, the main frequencies need to be executed only after the whole system is started, and for the processor with higher main frequency, a phenomenon of hardware surplus is caused, which is not favorable for controlling the hardware cost of the product.
Disclosure of Invention
Therefore, a synchronous starting method and a synchronous starting device for a multi-system fusion product are needed to effectively shorten the starting time of the system and reduce the hardware cost of the product.
In order to achieve the above purpose, the invention adopts the following technical scheme.
The invention provides a synchronous starting method of a multi-system fusion product, wherein the multi-system fusion product at least comprises a network module and a media module which are mutually associated, and the method comprises the following steps:
after the media module is powered on, loading a starting file from Flash, and guiding a system to start a kernel program by a BOOT file;
after the kernel program is started, mounting a file system to provide BOOTP (boot on programmable) guide service and NFS (network file system) service for the network module;
after the network module is powered on, loading a minimum system, initiating a BOOTP request to the media module, and acquiring a kernel file path;
the network module loads the kernel file according to the minimum system parameter and guides the system to start a kernel program;
after the network module starts the service program and the peripheral program, the media module starts the service program and the peripheral program until the respective system programs are completely loaded.
In the above method, the kernel file of the network module is stored in the NFS file system.
In the above method, the step of loading, by the network module, the kernel file according to the minimum system parameter and guiding the system to start the kernel program specifically includes:
after the network module acquires the path of the kernel file, the path is loaded to a local memory for decompression through a TFTP protocol;
and loading a guide according to the minimum system parameter, and verifying the validity of the kernel file.
In the above method, after the network module starts the service program and the peripheral program, the media module starts the service program and the peripheral program until the respective system programs are completely loaded, and the method further includes the steps of:
after the kernel program of the network module is started, loading a network file system path from the NFS file system, mounting the network file system path to a local memory for decompression, and simultaneously operating a script file in the network file system; the network file system comprises system files of the service program and the peripheral program.
In the method, the multi-system convergence product is a home convergence network terminal, the network module is an ONU module, and the media module is a set-top box module.
The invention also provides a synchronous starting device of the multi-system fusion product, the multi-system fusion product at least comprises a network module and a media module which are mutually associated, and the device comprises:
the first kernel starting module is used for loading a starting file from Flash after the media module is powered on and guiding a system to start a kernel program by a BOOT file;
the remote mounting and service module is used for mounting a file system after the kernel program is started so as to provide BOOTP (boot on programmable) boot service and NFS (network file system) service for the network module;
the kernel acquisition module is used for loading a minimum system after the network module is powered on, initiating a BOOTP request to the media module and acquiring a kernel file path;
the second kernel starting module is used for loading the kernel file according to the minimum system parameter and guiding the system to start a kernel program by the network module;
and the peripheral starting module is used for starting the service program and the peripheral program by the media module after the network module starts the service program and the peripheral program until all the respective system programs are completely loaded.
In the above apparatus, the kernel file of the network module is stored in the NFS file system.
In the above apparatus, the second kernel starting module is specifically configured to:
after the network module acquires the path of the kernel file, the path is loaded to a local memory for decompression through a TFTP protocol;
and loading a guide according to the minimum system parameter, and verifying the validity of the kernel file.
In the above apparatus, further comprising:
the script running module is used for loading a network file system path from the NFS file system after the kernel program of the network module is started, and loading the network file system path to a local memory for decompression, and running a script file in the network file system; the network file system comprises system files of the service program and the peripheral program.
In the device, the multi-system convergence product is a home convergence network terminal, the network module is an ONU module, and the media module is a set-top box module.
The invention firstly powers on the media module to start the kernel program, then provides BOOTP guide service and NFS file system service for the network module through the kernel program, so that the network module can directly load the kernel file from the memory guide partition of the network module, thereby completing the loading of the minimum system, and then enables the network module and the media module to start the service program and the peripheral program until the respective system programs are completely loaded. The invention adopts the technical scheme that the media module is started preferentially and provides the network module with the network file service function so that the network module can load the kernel file directly from the network, so that the systems of the two modules are started synchronously, the starting time of the product is shortened, the hardware cost of the product is reduced, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic flowchart of a synchronous startup method of a multi-system convergence product in this embodiment;
fig. 2 is a schematic structural diagram of a synchronous starting apparatus for a multi-system convergence product in this embodiment.
The implementation of the objects of the present invention and their functions and principles will be further explained in the detailed description with reference to the attached drawings.
Detailed Description
The following further description is made with reference to the drawings and specific embodiments.
As shown in fig. 1, this embodiment provides a method for synchronously starting a multi-system convergence product, where the multi-system convergence product at least includes a network module and a media module that are associated with each other, and the method includes the steps of:
s1: after the media module is powered on, loading a starting file from Flash, and guiding a system to start a kernel program by a BOOT file;
s2: after the kernel program is started, mounting a file system to provide BOOTP (boot on programmable) guide service and NFS (network file system) service for the network module;
s3: after the network module is powered on, loading a minimum system, initiating a BOOTP request to the media module, and acquiring a kernel file path;
s4: the network module loads the kernel file according to the minimum system parameter and guides the system to start a kernel program;
s5: after the network module starts the service program and the peripheral program, the media module starts the service program and the peripheral program until the respective system programs are completely loaded.
In the multi-system convergence product of the embodiment, the dominant frequency of the processor of the default media module is higher than that of the network module, so that the media module is started first, the BOOTP boot service and the NFS file system service are provided for the network module, the network module can quickly load the kernel file to start the minimum system, the loading of the basic file processing system is completed, and the kernel program is not required to be loaded from the FLASH after the media module is completely started, so that the system starting time of the whole product can be effectively shortened.
The kernel File of the Network module is stored in the NFS File System (Network File System), so that the kernel File can be directly mounted in a local memory for decompression and operation.
In the above method, the step of loading, by the network module, the kernel file according to the minimum system parameter and guiding the system to start the kernel program specifically includes:
s41: after the network module acquires the path of the kernel file, loading the path to a local memory for decompression through a TFTP (simple file transfer protocol) protocol;
s42: and loading a boot kernel program according to the minimum system parameters, and verifying the validity of the kernel file before starting.
Further, before step S5, the method further includes the steps of:
s45: after the kernel program of the network module is started, loading a network file system path from the NFS file system, mounting the network file system path to a local memory for decompression, and simultaneously operating a script file in the network file system; the network file system comprises system files of the service program and the peripheral program.
Taking the multi-system convergence product as a home convergence network terminal as an example, the network module is an ONU (optical network Unit) module, and the media module is a set-top box module, where a dominant frequency of a processor of the set-top box module is higher than a dominant frequency of a processor of the ONU module.
Referring to fig. 2, the present invention further provides a synchronous start device 100 for a multi-system convergence product, where the multi-system convergence product at least includes a network module and a media module that are associated with each other, and the synchronous start device 100 includes:
the first kernel starting module 10 is used for loading a starting file from Flash after the media module is powered on, and booting a system to start a kernel program by a BOOT file;
the remote mounting and service module 20 is configured to mount a file system after the kernel program is started, so as to provide BOOTP boot service and NFS file system service to the network module;
the kernel obtaining module 30 is configured to load a minimum system after the network module is powered on, and initiate a BOOTP request to the media module to obtain a kernel file path;
the second kernel starting module 40 is used for the network module to load the kernel file according to the minimum system parameter and guide the system to start the kernel program;
and the peripheral starting module 50 is used for starting the service program and the peripheral program by the media module after the network module starts the service program and the peripheral program until all the respective system programs are loaded.
The kernel file of the network module is stored in the NFS file system.
The maximum function of the NFS file system is to enable different systems to share files through a network, thereby realizing asynchronous storage of a multiprocessor terminal, fully utilizing storage space and shortening local start loading time.
The second kernel starting module 40 is specifically configured to:
after the network module acquires the path of the kernel file, the path is loaded to a local memory for decompression through a TFTP protocol;
and loading a guide according to the minimum system parameter, and verifying the validity of the kernel file.
Further, the synchronous starting apparatus 100 includes:
the script running module 45 is configured to load a network file system path from the NFS file system after the kernel program of the network module is started, mount the network file system path to a local memory for decompression, and run a script file in the network file system; the network file system comprises system files of the service program and the peripheral program.
The multi-system convergence product of this embodiment is a home convergence network terminal, wherein the network module is an ONU module, and the media module is a set-top box module.
The functions and principles of the synchronous start device 100 and its sub-modules of the multi-system fusion product of this embodiment can be described with reference to the embodiment shown in fig. 1, and are not described herein again.
In summary, the present invention utilizes the characteristic that the dominant frequency of the processor of the media module is usually higher in a multi-system convergence product having a network module and a media module, to first power on the media module to start a kernel program, and then to provide BOOTP boot service and NFS file system service to the network module by using the kernel program, so that the network module can directly boot a partition from the memory of the network module to load a kernel file, thereby completing the loading of the minimum system, and then to start a service program and a peripheral program by using the network module and the media module until the respective system programs are completely loaded. Therefore, the advantage of higher dominant frequency of the media module can be fully utilized, the two subsystems are synchronously started, the starting time of the product is shortened, the hardware cost of the product is reduced, and the use experience of a user is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (10)

1. A synchronous starting method of a multi-system convergence product, the multi-system convergence product at least comprises a network module and a media module which are mutually associated, and the method is characterized by comprising the following steps:
after the media module is powered on, loading a starting file from Flash, and guiding a system to start a kernel program by a BOOT file;
after the kernel program is started, mounting a file system to provide BOOTP (boot on programmable) guide service and NFS (network file system) service for the network module;
after the network module is powered on, loading a minimum system, initiating a BOOTP request to the media module, and acquiring a kernel file path;
the network module loads the kernel file according to the minimum system parameter and guides the system to start a kernel program;
after the network module starts the service program and the peripheral program, the media module starts the service program and the peripheral program until the respective system programs are completely loaded.
2. The method of claim 1, wherein a kernel file of the network module is stored in the NFS file system.
3. The method according to claim 1, wherein the step of the network module loading the kernel file according to the minimum system parameter and booting the system to start the kernel program specifically comprises:
after the network module acquires the path of the kernel file, the path is loaded to a local memory for decompression through a TFTP protocol;
and loading a guide according to the minimum system parameter, and verifying the validity of the kernel file.
4. The method according to claim 3, wherein after the network module starts the service program and the peripheral program, the media module starts the service program and the peripheral program until the step of loading all the respective system programs is completed, further comprising the steps of:
after the kernel program of the network module is started, loading a network file system path from the NFS file system, mounting the network file system path to a local memory for decompression, and simultaneously operating a script file in the network file system; the network file system comprises system files of the service program and the peripheral program.
5. The method according to any one of claims 1 to 4, wherein the multi-system convergence product is a home convergence network terminal, the network module is an ONU module, and the media module is a set-top box module.
6. A synchronous starting device of a multisystem convergence product, the multisystem convergence product at least comprises a network module and a media module which are mutually associated, and the device is characterized by comprising:
the first kernel starting module is used for loading a starting file from Flash after the media module is powered on and guiding a system to start a kernel program by a BOOT file;
the remote mounting and service module is used for mounting a file system after the kernel program is started so as to provide BOOTP (boot on programmable) boot service and NFS (network file system) service for the network module;
the kernel acquisition module is used for loading a minimum system after the network module is powered on, initiating a BOOTP request to the media module and acquiring a kernel file path;
the second kernel starting module is used for loading the kernel file according to the minimum system parameter and guiding the system to start a kernel program by the network module;
and the peripheral starting module is used for starting the service program and the peripheral program by the media module after the network module starts the service program and the peripheral program until all the respective system programs are completely loaded.
7. The apparatus of claim 6, wherein a kernel file of the network module is stored in the NFS file system.
8. The apparatus of claim 6, wherein the second kernel boot module is specifically configured to:
after the network module acquires the path of the kernel file, the path is loaded to a local memory for decompression through a TFTP protocol;
and loading a guide according to the minimum system parameter, and verifying the validity of the kernel file.
9. The apparatus of claim 8, further comprising:
the script running module is used for loading a network file system path from the NFS file system after the kernel program of the network module is started, and loading the network file system path to a local memory for decompression, and running a script file in the network file system; the network file system comprises system files of the service program and the peripheral program.
10. The apparatus according to any one of claims 6 to 9, wherein the multi-system convergence product is a home convergence network terminal, the network module is an ONU module, and the media module is a set-top box module.
CN201911050894.4A 2019-10-31 2019-10-31 Synchronous starting method and device for multi-system fusion product Active CN110780935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911050894.4A CN110780935B (en) 2019-10-31 2019-10-31 Synchronous starting method and device for multi-system fusion product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911050894.4A CN110780935B (en) 2019-10-31 2019-10-31 Synchronous starting method and device for multi-system fusion product

Publications (2)

Publication Number Publication Date
CN110780935A true CN110780935A (en) 2020-02-11
CN110780935B CN110780935B (en) 2023-03-14

Family

ID=69388153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911050894.4A Active CN110780935B (en) 2019-10-31 2019-10-31 Synchronous starting method and device for multi-system fusion product

Country Status (1)

Country Link
CN (1) CN110780935B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000382A (en) * 2020-08-26 2020-11-27 绿盟科技集团股份有限公司 Linux system starting method and device and readable storage medium
CN113094107A (en) * 2021-03-18 2021-07-09 深圳市道通智能汽车有限公司 Data protection method, device, equipment and computer storage medium
CN114911539A (en) * 2022-05-17 2022-08-16 武汉深之度科技有限公司 Starting method of running system and computing equipment
CN114911539B (en) * 2022-05-17 2024-05-14 武汉深之度科技有限公司 Starting method of running system and computing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094489A1 (en) * 2005-10-21 2007-04-26 Sony Corporation Embedded system that boots from USB flash drive
CN102004667A (en) * 2010-12-03 2011-04-06 上海交通大学 SOPC (system on programmable chip) software and hardware cooperative system based on Linux
US8601514B1 (en) * 2002-09-27 2013-12-03 Arris Enterprises, Inc. PC media center and extension device for a home entertainment system
CN105975864A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Operation system starting method and device, and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601514B1 (en) * 2002-09-27 2013-12-03 Arris Enterprises, Inc. PC media center and extension device for a home entertainment system
US20070094489A1 (en) * 2005-10-21 2007-04-26 Sony Corporation Embedded system that boots from USB flash drive
CN102004667A (en) * 2010-12-03 2011-04-06 上海交通大学 SOPC (system on programmable chip) software and hardware cooperative system based on Linux
CN105975864A (en) * 2016-04-29 2016-09-28 北京小米移动软件有限公司 Operation system starting method and device, and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张杰 等: "一种融合型光网络单元的设计与实现" *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000382A (en) * 2020-08-26 2020-11-27 绿盟科技集团股份有限公司 Linux system starting method and device and readable storage medium
CN112000382B (en) * 2020-08-26 2023-10-13 绿盟科技集团股份有限公司 Linux system starting method and device and readable storage medium
CN113094107A (en) * 2021-03-18 2021-07-09 深圳市道通智能汽车有限公司 Data protection method, device, equipment and computer storage medium
CN113094107B (en) * 2021-03-18 2023-12-22 深圳市塞防科技有限公司 Data protection method, device, equipment and computer storage medium
CN114911539A (en) * 2022-05-17 2022-08-16 武汉深之度科技有限公司 Starting method of running system and computing equipment
CN114911539B (en) * 2022-05-17 2024-05-14 武汉深之度科技有限公司 Starting method of running system and computing equipment

Also Published As

Publication number Publication date
CN110780935B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN106776998B (en) Database service providing method and server
CN110780935B (en) Synchronous starting method and device for multi-system fusion product
CN110650193B (en) Node management method, cluster management device and storage medium
US20230350831A1 (en) Bandwidth allocation method and apparatus for pcie external plug-in card, and device and storage medium
CN112416964A (en) Data processing method, device and system, computer equipment and computer readable storage medium
CN113391845A (en) Data interaction method and device and related components
CN103888491A (en) Diskless workstation start system and method
US20230413247A1 (en) Method for communication processing, terminal device, and non-transitory computer-readable storage medium
US9398444B2 (en) Computer-readable recording medium, mobile device, and wireless communication system
US20140324368A1 (en) Test method, test system and electronic device employing the same
US20150134944A1 (en) Data terminal running mode switching method, device, and data terminal
CN111158947A (en) Method for making pre-copy file, server and readable storage medium
US20230126360A1 (en) Wifi network access method, communication method, peripheral apparatus, and storage medium
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN112527446A (en) Time zone synchronization method, equipment and terminal equipment
CN113419814B (en) Virtual machine creating method, device, equipment and storage medium in cloud platform
CN113190565B (en) Data updating method and device, storage medium and electronic device
CN113434234A (en) Page jump method, device, computer readable storage medium and processor
CN108848182B (en) Updating method of BMC firmware, related equipment and system
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN114489692A (en) Automatic installation method and system of self-adaptive physical machine
US11050621B2 (en) Client, server and differential upgrade method
CN113504879A (en) Data storage method and intelligent household appliance
CN108279949B (en) Starting method and system applied to television and television
CN106909390B (en) NCSI setting method and device realized based on BMC

Legal Events

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