CN117009000A - Component, method, device, apparatus and medium for operating open source buddha system - Google Patents
Component, method, device, apparatus and medium for operating open source buddha system Download PDFInfo
- Publication number
- CN117009000A CN117009000A CN202311044533.5A CN202311044533A CN117009000A CN 117009000 A CN117009000 A CN 117009000A CN 202311044533 A CN202311044533 A CN 202311044533A CN 117009000 A CN117009000 A CN 117009000A
- Authority
- CN
- China
- Prior art keywords
- hong
- open source
- operating system
- equipment
- monte
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012545 processing Methods 0.000 claims description 35
- 238000004590 computer program Methods 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 5
- 230000000903 blocking effect Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008033 biological extinction Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- 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/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- 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/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a component, a method, a device, equipment and a medium for operating an open source hong Monte system. Wherein the assembly comprises: each open source hong Mongolian operating system equipment virtualizer is respectively used for storing equipment of different categories and managing the access of each equipment; wherein, the devices of different categories are respectively provided with an open source hong Monte operating system; the life cycle management module of the open source hong Mongolian operating system equipment virtualizer is used for managing the life cycle of each equipment; and the equipment scheduling module of the open source hong operating system is used for determining the priority of each equipment and determining the time for each equipment to execute the open source hong operating system according to the priority. The scheme of the embodiment of the invention solves the problem that the open-source hong Monte operating system cannot be operated in the container, and can be operated through the container, so that more hardware resources are saved, and the application program is more stable.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a component, a method, a device, equipment and a medium for operating an open source hong Monte system.
Background
The open source hong Mongolian operating system (Openatom OpenHarmony, openHarmony) is an open source distributed operating system co-established by global developers, has the characteristics of full scene oriented, distributed and the like, and is an operating system of 'full (full field) new (new generation) open (open source) open'.
At present, an open-source hong-mo operating system cannot be operated in a container (dock), and how to operate the open-source hong-mo operating system through the container, so that more hardware resources are saved, and an application program is more stable, which is a key problem in the research of the industry.
Disclosure of Invention
The embodiment of the invention provides a component, a method, a device, equipment and a medium for operating an open source hong Monte system, which are used for solving the problem that the open source hong Monte operating system cannot be operated in a container, and the open source hong Monte operating system can be operated through the container, so that more hardware resources are saved, and an application program is more stable.
According to an aspect of an embodiment of the present invention, there is provided a component for running an open source hong Meng operating system, including: a plurality of open source hong-Monte operating system device virtualizers, a life cycle management module of the open source hong-Monte operating system device virtualizers, and an open source hong-Monte operating system device scheduling module;
each open source hong Mongolian operating system equipment virtualizer is respectively used for storing equipment of different categories and managing the access of each equipment; the open source hong Mongolian operating systems are respectively deployed in different types of equipment;
the life cycle management module of the open source hong Mongolian operating system equipment virtualizer is used for managing the life cycle of each equipment;
the device scheduling module of the open source hong operation system is used for determining the priority of each device and determining the time for each device to execute the open source hong operation system according to the priority.
According to another aspect of an embodiment of the present invention, there is provided a method of running an open source hong Meng operating system, comprising:
responding to an operation request of an open source hong operating system issued by a user through a target application program loaded in target equipment, and issuing the operation request to a component running the open source hong operating system, wherein the component running the open source hong operating system is determined by the component running the open source hong operating system according to any one of claims 1-5;
obtaining a processing result of the component running the open source hong Monte operating system on the operation request, and issuing the processing result to a container;
the container returns the target results step by step to the target application.
According to another aspect of the embodiment of the present invention, there is provided an apparatus for running an open source hong Meng operating system, including:
an operation request response module, configured to respond to an operation request of an open source hong operating system issued by a user through a target application program loaded in a target device, and issue the operation request to a component running the open source hong operating system, where the component running the open source hong operating system is determined by the component running the open source hong operating system according to any one of claims 1 to 5;
the issuing module is used for acquiring a processing result of the component running the open source hong Monte operating system on the operation request and issuing the processing result to a container;
and the result returning module is used for returning the target result to the target application program step by step through the container.
According to another aspect of an embodiment of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of operating an open source hong mo operating system according to any of the embodiments of the present invention.
According to another aspect of the embodiments of the present invention, there is provided a computer readable storage medium storing computer instructions for implementing the method for operating an open source hong mo operating system according to any one of the embodiments of the present invention when executed by a processor.
According to the technical scheme of the embodiment of the invention, the components for running the open source hong Monte operating system comprise: a plurality of open source hong-Monte operating system device virtualizers, a life cycle management module of the open source hong-Monte operating system device virtualizers, and an open source hong-Monte operating system device scheduling module; storing different types of devices through each open source hong Mongolian operating system device virtualizer, and managing the access of each device; the open source hong Mongolian operating systems are respectively deployed in different types of equipment; managing the life cycle of each device through a life cycle management module of the open source hong Mongolian operating system device virtualizer; the device scheduling module of the open source hong operating system determines the priority of each device, and determines the time for each device to execute the open source hong operating system according to the priority, so that the problem that the open source hong operating system cannot operate in a container can be solved, the open source hong operating system can be operated through the container, more hardware resources are saved, and an application program is more stable.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention, nor is it intended to be used to limit the scope of the embodiments of the invention. Other features of embodiments of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of components of an operating system for an open source hong Meng according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for operating an open source hong Meng operating system according to a second embodiment of the invention;
FIG. 3 is a schematic diagram of an apparatus for running an open-source hong Meng operating system according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing a method of running an open-source hong-mo operating system according to an embodiment of the present invention.
Detailed Description
In order to make the embodiments of the present invention better understood by those skilled in the art, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the embodiments of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the embodiments of the present invention and the above-described drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a schematic structural diagram of a component for running an open-source hong-mo operating system according to a first embodiment of the present invention, where the embodiment is applicable to a case where the open-source hong-mo operating system can be run in a container through the component. Specifically, referring to fig. 1, the assembly specifically includes: a plurality of open source hong-mo operating system device virtualizers 110, a lifecycle management module 120 of the open source hong-mo operating system device virtualizers, and an open source hong-mo operating system device scheduling module 130.
Optionally, in this embodiment, each open source hong-mo operating system device virtualizer is configured to store devices of different classes, and manage access to each device; the open source hong Mongolian operating systems are respectively deployed in different types of equipment;
the life cycle management module of the open source hong Mongolian operating system equipment virtualizer is used for managing the life cycle of each equipment;
the device scheduling module of the open source hong operation system is used for determining the priority of each device and determining the time for each device to execute the open source hong operation system according to the priority.
In an optional implementation manner of this embodiment, the open source hong-mo operating system device virtualizer is specifically configured to determine whether to access a hardware resource according to a flag bit of each device.
In particular, the open source hong os may access some device resources during the running process, and thus may not run directly on the container, and may need to use the open source hong os device virtualizer. The device virtualizer of the open source hong Monte operating system is specially designed for the open source hong Monte system, and the access of the device is realized by using the characteristics of the device around the open source hong Monte system. The virtualizer takes componentization as a core design thought, and puts a device into the same container for managing the access of the device. Each type of equipment is provided with a corresponding flag bit, whether the actual hardware resource needs to be accessed is judged through the set flag bit, and the hardware resource access is completed in cooperation with other modules.
In an example of this embodiment, when the open source hong system is initialized, the open source hong operating system device virtualizer encapsulates the mmcblock and the hilog, and sets the flag bit type_flags for the mmcblock and the hilog, where the type_flags of the mmcblock=1 and the type_flags of the hilog=0, and when the type_flags=1, the open source hong operating system device virtualizer virtualizes a physical device and establishes a connection relationship between physical devices specifically accessed, so that the open source hong system operates the virtual physical device, thereby indirectly operating the actual physical device. When type_flags=0, the open source hong-Monte operating system virtual device virtualizes a virtual device, and sends an operation command to the virtualizer, and the virtualizer collects log information with corresponding flag bits according to the command, so as to perform printout.
Optionally, in this embodiment, the life cycle of each device includes at least one of: ready state, blocking state, execution state, and termination state.
It will be appreciated that the dynamic nature of open source hong Monte operating system devices suggests: it results from creation, execution by scheduling, and extinction by release. Explaining that a hong-and-Monte device has a life cycle from life to death. Specifically, the ready state refers to the ready state having running conditions and waiting for scheduling; the blocked state refers to temporary inability to schedule for some reason; the execution state refers to a ready state and is scheduled, and then the state is entered; the termination state refers to the end of the run or the occurrence of some error that results in no further execution.
In an optional implementation manner of this embodiment, the open source hong-mo operating system device scheduling module is specifically configured to set a ready queue for each device in an open source hong-mo operating system of each device, and set a different priority for each queue.
Alternatively, in this embodiment, the open source hong-mo operating system device is scheduled using a multi-stage feedback queue. The multi-stage feedback queue means that a plurality of ready queues are arranged in the system, different priorities are given to each queue, the queues are degraded one by one from the first one, the execution time given by open source hong Mongolian operating systems in different queues is different, and the higher the priority is, the earlier the position in the queue is.
In an alternative implementation of this embodiment, the components running the open-source hong Meng operating system further include: an open source hong Meng operating system device debug interface; the open source hong Mongolian operating system equipment debugging interface is used for providing user log printing, recording user operation and processing results.
Optionally, in this embodiment, the debug interface of the open source hong-Meng operating system device is a log system, providing log printing at the component layer, recording user operations, results of key processing flows, and the like.
In the solution of this embodiment, the components for running the open-source hong Meng operating system include: a plurality of open source hong-Monte operating system device virtualizers, a life cycle management module of the open source hong-Monte operating system device virtualizers, and an open source hong-Monte operating system device scheduling module; storing different types of devices through each open source hong Mongolian operating system device virtualizer, and managing the access of each device; the open source hong Mongolian operating systems are respectively deployed in different types of equipment; managing the life cycle of each device through a life cycle management module of the open source hong Mongolian operating system device virtualizer; the device scheduling module of the open source hong operating system determines the priority of each device, and determines the time for each device to execute the open source hong operating system according to the priority, so that the problem that the open source hong operating system cannot operate in a container can be solved, the open source hong operating system can be operated through the container, more hardware resources are saved, and an application program is more stable.
In the embodiment, the components of the open source hong Mongolian operating system are operated to connect the devices and the systems in series, and the open source hong Mongolian operating system is operated in the container by adopting a virtualization device, scheduling of the life cycle of the device and a tracking method of key operation steps of the device; the device virtualizer of the open source hong Monte operating system is componentized and is suitable for different platforms based on the open source hong Monte operating system, the device virtualizer of the open source hong Monte operating system virtualizes the hardware resources accessed by the open source hong Monte operating system, and one type of device is placed in a container, and the device is managed and accessed through the container.
Example two
Fig. 2 is a flowchart of a method for operating an open-source hong-mo operating system according to an embodiment of the present invention, where the embodiment is applicable to the case of operating the open-source hong-mo operating system by the open-source hong-mo operating system, and the method may be performed by a device for operating the open-source hong-mo operating system, where the device for operating the open-source hong-mo operating system may be implemented in hardware and/or software, and the device for operating the open-source hong-mo operating system may be configured in an electronic device such as a computer, a server, or a tablet computer. Specifically, referring to fig. 1, the method specifically includes the following steps:
step 210, responding to an operation request of an open source hong operation system issued by a user through a target application program loaded in target equipment, and issuing the operation request to a component running the open source hong operation system.
The components of the operating system are determined by the components of the operating system described in the above embodiment.
In this embodiment, the target device may be any terminal loaded with an active hong-mo operating system, for example, a smart phone, a tablet computer, or a notebook computer, which is not limited in this embodiment. The target application in the target device may be any application, which is not limited in this embodiment.
In an alternative implementation manner of this embodiment, after receiving an operation request of the open source hong operating system issued by a user through a target application program loaded in the target device, the received operation request may be transmitted to a component running the open source hong operating system involved in this embodiment.
Step 220, obtaining a processing result of the component running the open source hong Monte operating system on the operation request, and issuing the processing result to a container.
Optionally, in this embodiment, after receiving the operation request, the component running the open source hong mo operation system may process the operation request to obtain a processing result, and further may issue the processing result to the container.
It will be appreciated that in this embodiment, the processing of the operation request by the component running the open source hong Menu operating system may include: storing devices of different categories through the open source hong Mongolian operating system device virtualizers, and managing the access of the devices; the open source hong Mongolian operating systems are respectively deployed in different types of equipment; managing the life cycle of each device through a life cycle management module of the open source hong Mongolian operating system device virtualizer; determining the priority of each device through the device scheduling module of the open source hong operating system, and determining the time for each device to execute the open source hong operating system according to the priority; user log printing, recording user operation, processing results and the like can also be provided through the open source hong Mongolian operating system equipment debugging interface.
Step 230, the container returns the target result to the target application program step by step.
Further, the container may return the received target results to the target application. Optionally, in this embodiment, the container returns the target result to the target application program step by step, including: the container transmits each processing result to a host machine for processing to obtain a target result; and returning the target result to the target application program through the component running the open source hong Monte operating system.
According to the scheme of the embodiment, an operation request of an open source hong operation system issued by a user through a target application program loaded in target equipment is responded, and the operation request is issued to a component running the open source hong operation system; obtaining a processing result of the component running the open source hong Monte operating system on the operation request, and issuing the processing result to a container; the container returns the target result to the target application program step by step, so that the problem that the open source hong Monte operating system cannot be operated in the container is solved, and the open source hong Monte operating system can be operated through the container, so that more hardware resources are saved, and the application program is more stable.
Example III
Fig. 3 is a schematic structural diagram of an apparatus for running an open-source hong-mo operating system according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: an operation request response module 310, a issuing module 320, and a result return module 330.
An operation request response module 310, configured to respond to an operation request of an open source hong operating system issued by a user through a target application program loaded in a target device, and issue the operation request to a component running the open source hong operating system, where the component running the open source hong operating system is determined by the component running the open source hong operating system involved in the foregoing embodiment;
a issuing module 320, configured to obtain a processing result of the component running the open source hong Monte operating system on the operation request, and issue the processing result to a container;
and the result returning module 330 is configured to return, step by step, the target result to the target application program through the container.
According to the scheme of the embodiment, an operation request response module responds to an operation request of an open source hong operation system issued by a user through a target application program loaded in target equipment, and the operation request is issued to a component running the open source hong operation system; acquiring a processing result of the component running the open source hong Monte operating system on the operation request through a transmitting module, and transmitting the processing result to a container; the target result is returned to the target application program step by step through the result return module, the problem that the open source hong Meng operating system cannot be operated in the container is solved, and the open source hong Meng operating system can be operated through the container, so that more hardware resources are saved, and the application program is more stable.
In an optional implementation manner of this embodiment, the result returning module 330 is specifically configured to send each processing result by the container to the host machine for processing, so as to obtain a target result; and returning the target result to the target application program through the component running the open source hong Monte operating system.
The device for operating the open source hong Monte operating system provided by the embodiment of the invention can execute the method for operating the open source hong Monte operating system provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 shows a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the embodiments of the invention described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the method of running an open source hong-mo operating system.
In some embodiments, the method of running an open source hong-Monte operating system may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more of the steps of the method of running an open source hong-mo operating system described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the method of running the open source hong-Monte operating system in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of embodiments of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of embodiments of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the embodiments of the present invention may be performed in parallel, sequentially or in a different order, so long as the desired result of the technical solution of the embodiments of the present invention can be achieved, which is not limited herein.
The above detailed description should not be construed as limiting the scope of the embodiments of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present invention should be included in the scope of the embodiments of the present invention.
Claims (10)
1. A component for running an open source hong-mo operating system, comprising: a plurality of open source hong-Monte operating system device virtualizers, a life cycle management module of the open source hong-Monte operating system device virtualizers, and an open source hong-Monte operating system device scheduling module;
each open source hong Mongolian operating system equipment virtualizer is respectively used for storing equipment of different categories and managing the access of each equipment; the open source hong Mongolian operating systems are respectively deployed in different types of equipment;
the life cycle management module of the open source hong Mongolian operating system equipment virtualizer is used for managing the life cycle of each equipment;
the device scheduling module of the open source hong operation system is used for determining the priority of each device and determining the time for each device to execute the open source hong operation system according to the priority.
2. The assembly of claim 1, wherein the open source hong-mo operating system device virtualizer is specifically configured to
And determining whether hardware resources need to be accessed according to the flag bit of each device.
3. The assembly of claim 1, wherein the lifecycle of each of the devices includes at least one of:
ready state, blocking state, execution state, and termination state.
4. The assembly of claim 1, wherein the open source hong-mo operating system device scheduling module is specifically configured to
And setting ready queues for the devices in the open source hong Monte operating systems of the devices respectively, and setting different priorities for each queue.
5. The assembly of claim 1, wherein the assembly further comprises: an open source hong Meng operating system device debug interface;
the open source hong Mongolian operating system equipment debugging interface is used for providing user log printing, recording user operation and processing results.
6. A method of operating an open source hong-mo operating system, comprising:
responding to an operation request of an open source hong operating system issued by a user through a target application program loaded in target equipment, and issuing the operation request to a component running the open source hong operating system, wherein the component running the open source hong operating system is determined by the component running the open source hong operating system according to any one of claims 1-5;
obtaining a processing result of the component running the open source hong Monte operating system on the operation request, and issuing the processing result to a container;
the container returns the target results step by step to the target application.
7. The method of claim 6, wherein the container progressively returns target results to the target application, comprising:
the container transmits each processing result to a host machine for processing to obtain a target result;
and returning the target result to the target application program through the component running the open source hong Monte operating system.
8. An apparatus for operating an open source hong-mo operating system, comprising:
an operation request response module, configured to respond to an operation request of an open source hong operating system issued by a user through a target application program loaded in a target device, and issue the operation request to a component running the open source hong operating system, where the component running the open source hong operating system is determined by the component running the open source hong operating system according to any one of claims 1 to 5;
the issuing module is used for acquiring a processing result of the component running the open source hong Monte operating system on the operation request and issuing the processing result to a container;
and the result returning module is used for returning the target result to the target application program step by step through the container.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of running an open source hong operating system of any one of claims 6 or 7.
10. A computer readable storage medium storing computer instructions for causing a processor to execute the method of running an open source hong mo operating system according to any one of claims 6 or 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311044533.5A CN117009000A (en) | 2023-08-17 | 2023-08-17 | Component, method, device, apparatus and medium for operating open source buddha system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311044533.5A CN117009000A (en) | 2023-08-17 | 2023-08-17 | Component, method, device, apparatus and medium for operating open source buddha system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117009000A true CN117009000A (en) | 2023-11-07 |
Family
ID=88572645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311044533.5A Pending CN117009000A (en) | 2023-08-17 | 2023-08-17 | Component, method, device, apparatus and medium for operating open source buddha system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117009000A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117891570A (en) * | 2023-12-25 | 2024-04-16 | 福州城投新基建集团有限公司 | Method, device and storage medium for migrating network edge control equipment to Hongmeng system |
-
2023
- 2023-08-17 CN CN202311044533.5A patent/CN117009000A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117891570A (en) * | 2023-12-25 | 2024-04-16 | 福州城投新基建集团有限公司 | Method, device and storage medium for migrating network edge control equipment to Hongmeng system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112540806B (en) | Method and device for rendering small program page, electronic equipment and storage medium | |
US20230020324A1 (en) | Task Processing Method and Device, and Electronic Device | |
CN113835887B (en) | Video memory allocation method and device, electronic equipment and readable storage medium | |
CN114936173B (en) | Read-write method, device, equipment and storage medium of eMMC device | |
CN117009000A (en) | Component, method, device, apparatus and medium for operating open source buddha system | |
CN116662039B (en) | Industrial information parallel detection method, device and medium based on shared memory | |
CN116126719A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN116248689A (en) | Capacity expansion method, device, equipment and medium for cloud native application | |
CN115981632A (en) | System construction method and device, electronic equipment and storage medium | |
CN116594764B (en) | Application program updating method, device, electronic device and storage medium | |
CN118051687B (en) | Page response method and device, electronic equipment and storage medium | |
CN116579914B (en) | Execution method and device of graphic processor engine, electronic equipment and storage medium | |
CN116450120B (en) | Method, device, equipment and medium for analyzing kernel of real-time operating system | |
CN115658341A (en) | Method, device, equipment and medium for reading and writing data by Freeswitch | |
CN117762637A (en) | Cache resource cleaning method and device, electronic equipment and storage medium | |
CN120144297A (en) | A heterogeneous GPU scheduling system, method, device and readable storage medium | |
CN117742891A (en) | Virtual machine creation method, device and equipment with vDPA equipment and storage medium | |
CN115794555A (en) | Service log processing method, device, equipment and storage medium | |
CN115061817A (en) | Operation and maintenance method, device, system and computer program product | |
CN115454660A (en) | Task management method and device, electronic equipment and storage medium | |
CN119806549A (en) | A production environment deployment method, device, equipment and storage medium | |
CN117806797A (en) | Unified scheduling method and device for tasks, electronic equipment and storage medium | |
CN117608798A (en) | Workflow scheduling method, device, equipment and medium | |
CN117193726A (en) | Parallel design method and device of software, electronic equipment and medium | |
CN118013896A (en) | Multi-engine-based chip diagnosis method, frame, device, equipment and storage medium |
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 |