CN112181507A - Method and system for fusing with operating system - Google Patents

Method and system for fusing with operating system Download PDF

Info

Publication number
CN112181507A
CN112181507A CN202011147799.9A CN202011147799A CN112181507A CN 112181507 A CN112181507 A CN 112181507A CN 202011147799 A CN202011147799 A CN 202011147799A CN 112181507 A CN112181507 A CN 112181507A
Authority
CN
China
Prior art keywords
operating system
boot
module
fusing
main control
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.)
Pending
Application number
CN202011147799.9A
Other languages
Chinese (zh)
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.)
Beijing Anshi Technology Co ltd
Original Assignee
Beijing Anshi 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 Beijing Anshi Technology Co ltd filed Critical Beijing Anshi Technology Co ltd
Priority to CN202011147799.9A priority Critical patent/CN112181507A/en
Publication of CN112181507A publication Critical patent/CN112181507A/en
Pending legal-status Critical Current

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/4406Loading 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)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and a system for fusing with an operating system. The method comprises the following steps: embedding a boot loader of an operating system into a main control chip of a hardware platform; and when the operating system is started, the operating system is started according to a boot loader embedded in the main control chip. The method and the system for fusing with the operating system enable the main control chip of the system to be better fused with the applied operating system, and improve the running speed of the operating system.

Description

Method and system for fusing with operating system
Technical Field
The present invention relates to the technical field of master control systems, and in particular, to a method and a system for merging with an operating system.
Background
In the following, the concepts of interconnection of everything and artificial intelligence are well known. In various smart devices, the operating system is an indispensable component between the application and the hardware platform of the device itself. The intelligent control system has essential key functions for stable and effective operation of intelligent equipment.
However, in various existing intelligent devices, various components of the operating system are generally stored in a system hard disk or a flash memory. When the intelligent device starts to run, the components are called by the processor to run, and corresponding system functions are executed. This brings about an operation of reading data, so that the operating speed of the system is reduced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a system for fusing with an operating system, so that a main control chip of the system is better fused with the applied operating system, and the running speed of the operating system is improved.
In order to solve the above technical problem, the present invention provides a method for fusing with an operating system, where the method includes: embedding a boot loader of an operating system into a main control chip of a hardware platform; and when the operating system is started, the operating system is started according to a boot loader embedded in the main control chip.
In some embodiments, the boot loader is loaded into a cache area of the master chip.
In some embodiments, the boot loader comprises: the system comprises a Boot module, a Loader module and an Upgrade module.
In some embodiments, the Boot module is used to complete an initial Boot operation of the platform.
In some embodiments, the Loader module is used for completing the loading of the Linux kernel and the application program, and running the functions of the system.
In some embodiments, the Updide module is used to complete the Upgrade of applications within the system.
In addition, the present invention also provides a system fused with an operating system, the system comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of fusing with an operating system in accordance with the foregoing.
After adopting such design, the invention has at least the following advantages:
the boot loader of the operating system is directly loaded in the main control chip, so that the speed of the system boot process can be increased, the main control chip and the operating system can be better integrated, and the boot efficiency of the system is improved.
Drawings
The foregoing is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and the detailed description.
FIG. 1 is a flow chart of a method for operating system fusion provided by an embodiment of the present invention;
fig. 2 is a structural diagram of a system merged with an operating system according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 shows a flow of a method for merging with an operating system according to an embodiment of the present invention. Referring to fig. 1, the method of fusing with an operating system includes:
and S11, embedding the boot loader of the operating system into the main control chip of the hardware platform.
And S12, when the operating system is started, starting the operating system according to the boot loader embedded in the main control chip.
In the embodiment of the present invention shown in fig. 1, the boot loader is not stored in the flash memory any more, but is loaded in the main control chip in advance. Therefore, in the process of starting the system each time, the boot loader does not need to be called by the flash memory, and the boot loader runs in the main control chip directly.
Because the boot loader does not need to be called by flash storage any more, the degree of fusion between the main control chip and the operating system is improved, and the boot efficiency of the operating system is improved, namely the operating efficiency of the operating system is improved.
Typically, the boot loader is loaded into the cache area of the host chip. Further, the boot loader includes: the system comprises a Boot module, a Loader module and an Upgrade module. The Boot module is used for finishing the initialization Boot operation of the platform. The Loader module is used for completing the loading of the Linux kernel and the application program and operating the functions of the system. The Upgrade module is used to complete the upgrading of the application program in the system.
Typically, a flash-stored file system includes: jffs2, yaffs, cramfs, romfs, ramdisk, ramfs, tmpfs.
Fig. 2 shows a structure of a system merged with an operating system according to still another embodiment of the present invention. Referring to fig. 2, for example, the operating system converged system 200 may be used to act as an operating system convergence device in an embedded system. As described herein, system 200, which is converged with an operating system, may be used to implement functionality in a computer system that is better converged with an operating system. The system 200 converged with the operating system may be implemented in a single node, or the functions of the system 200 converged with the operating system may be implemented in a plurality of nodes in a network. Those skilled in the art will appreciate that the term operating system converged system includes devices in a broad sense, and that the operating system converged system 200 shown in fig. 2 is only one example thereof. System 200 is included for clarity of presentation and is not intended to limit the application of the present invention to a particular operating system converged system embodiment or to a class of operating system converged system embodiments. At least some of the features/methods described herein may be implemented in a network device or component, such as system 200, which is converged with an operating system. For example, the features/methods of the present invention may be implemented in hardware, firmware, and/or software running installed on hardware. The system 200, which is integrated with the operating system, may be any device that processes, stores, and/or forwards data frames over a network, such as a server, a client, a data source, and the like. As shown in fig. 2, a system 200 that is fused with an operating system may include a transceiver (Tx/Rx)210, which may be a transmitter, a receiver, or a combination thereof. Tx/Rx210 may be coupled to a plurality of ports 250 (e.g., an uplink interface and/or a downlink interface) for transmitting and/or receiving frames from other nodes. Processor 230 may be coupled to Tx/Rx210 to process frames and/or determine to which nodes to send frames. Processor 230 may include one or more multi-core processors and/or memory devices 232, which may serve as data stores, buffers, and the like. Processor 230 may be implemented as a general-purpose processor or may be part of one or more Application Specific Integrated Circuits (ASICs) and/or Digital Signal Processors (DSPs).
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the present invention in any way, and it will be apparent to those skilled in the art that the above description of the present invention can be applied to various modifications, equivalent variations or modifications without departing from the spirit and scope of the present invention.

Claims (7)

1. A method for fusing with an operating system, comprising:
embedding a boot loader of an operating system into a main control chip of a hardware platform;
and when the operating system is started, the operating system is started according to a boot loader embedded in the main control chip.
2. The method of claim 1, wherein the boot loader is loaded into a cache area of the host chip.
3. The method of claim 1, wherein the boot loader comprises: the system comprises a Boot module, a Loader module and an Upgrade module.
4. The method of claim 3, wherein the Boot module is configured to complete an initial Boot operation of the platform.
5. The method of claim 3, wherein the Loader module is configured to complete loading of the Linux kernel and the application program, and to run the functions of the system.
6. The method for fusing with an operating system according to claim 3, wherein the Updide module is used for completing the Upgrade of the application program in the system.
7. A system fused with an operating system, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of fusing with an operating system of any of claims 1-6.
CN202011147799.9A 2020-10-23 2020-10-23 Method and system for fusing with operating system Pending CN112181507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147799.9A CN112181507A (en) 2020-10-23 2020-10-23 Method and system for fusing with operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147799.9A CN112181507A (en) 2020-10-23 2020-10-23 Method and system for fusing with operating system

Publications (1)

Publication Number Publication Date
CN112181507A true CN112181507A (en) 2021-01-05

Family

ID=73923229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147799.9A Pending CN112181507A (en) 2020-10-23 2020-10-23 Method and system for fusing with operating system

Country Status (1)

Country Link
CN (1) CN112181507A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751273A (en) * 2008-12-15 2010-06-23 中国科学院声学研究所 Safety guide device and method for embedded system
CN102023876A (en) * 2009-09-14 2011-04-20 漳州科能电器有限公司 Embedded system capable of upgrading software on line and online upgrading method
CN103777955A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Method and device for installing and operating Unix-like in Windows environment
CN105846452A (en) * 2016-06-08 2016-08-10 江苏现代电力科技股份有限公司 Intelligent integrated reactive power module capable of self-programming and self-programming method thereof
CN110007974A (en) * 2019-03-29 2019-07-12 联想(北京)有限公司 Method and apparatus and electronic equipment applied to os starting

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751273A (en) * 2008-12-15 2010-06-23 中国科学院声学研究所 Safety guide device and method for embedded system
CN102023876A (en) * 2009-09-14 2011-04-20 漳州科能电器有限公司 Embedded system capable of upgrading software on line and online upgrading method
CN103777955A (en) * 2014-01-26 2014-05-07 宝龙计算机系统(湖南)有限公司 Method and device for installing and operating Unix-like in Windows environment
CN105846452A (en) * 2016-06-08 2016-08-10 江苏现代电力科技股份有限公司 Intelligent integrated reactive power module capable of self-programming and self-programming method thereof
CN110007974A (en) * 2019-03-29 2019-07-12 联想(北京)有限公司 Method and apparatus and electronic equipment applied to os starting

Similar Documents

Publication Publication Date Title
CN107769949B (en) Application component deployment method and deployment node
US20150242201A1 (en) Method for updating firmware and electronic device thereof
CN111314799A (en) Terminal system architecture, communication system, communication method, and storage medium
KR20120052406A (en) Firmware image update and management
US10949307B2 (en) Executing computer instruction including asynchronous operation
CN108228077B (en) Storage area management method, operation method, device, equipment and readable medium
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
JP5063587B2 (en) Configuring devices to use information from the device table
CN109726039B (en) Method and apparatus for managing virtual machines
US10956173B2 (en) Capturing pre-fetch blocks of an operating system to improve boot performance in a cloud environment
US20180349133A1 (en) Software update rollbacks using file system volume snapshots
CN113728312A (en) Method for controlling execution of application, electronic device and storage medium thereof
US9792168B2 (en) System and method for cloud remediation of a client with a non-bootable storage medium
CN113568714A (en) Disk management method, device, electronic equipment and storage medium
KR102315102B1 (en) Method, device, apparatus, and medium for booting a virtual machine
US11150884B1 (en) Device driver update images
CN112181507A (en) Method and system for fusing with operating system
US8738816B2 (en) Management of detected devices coupled to a host machine
CN113377487A (en) Method, apparatus and computer program product for managing virtual machine upgrades
CN116028267A (en) Dual-system secure mobile phone resetting method and device, server and storage medium
CN115185745A (en) Data processing method, system, electronic device and computer readable storage medium
CN112131146B (en) Method and device for acquiring equipment information, storage medium and electronic equipment
CN114237684A (en) Component management system, method, device, electronic device and storage medium
CN114968297A (en) OTA (over the air) upgrading method, electronic equipment and chip system
CN112181470A (en) Method and device for deploying patch

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210105