An
embedded system running method and apparatus, and an
embedded system and a
chip are provided. The method includes: allocating, according to a resource dynamic allocation rule, a group of services to be allocated to corresponding operating systems in an
embedded system, wherein the resource dynamic allocation rule includes performing resource dynamic allocation according to at least one of: a service response speed, a
service resource occupation rate, a service
coupling degree, and service importance, the embedded
system includes a first
operating system and a second
operating system, and a response speed of the first
operating system is higher than a response speed of the second operating
system; determining
resource allocation results corresponding to the group of services to be allocated, where the
resource allocation results are used for indicating, among
processing resources of the processor, a
processing resource corresponding to each of the group of services to be allocated, and the
processing resources of a processor include processor cores; and allocating the processing resources of a processor to the first operating
system and the second operating system according to an operating system allocation result and the
resource allocation result corresponding to each of the group of services to be allocated.