US 12,293,238 B2
Embedded system running method and apparatus, and embedded system and chip
Endong Wang, Jiangsu (CN); Jiaming Huang, Jiangsu (CN); Baoyang Liu, Jiangsu (CN); Chaofan Chen, Jiangsu (CN); and Wenkai Ma, Jiangsu (CN)
Assigned to SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/574,657
Filed by SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Apr. 28, 2023, PCT No. PCT/CN2023/091876
§ 371(c)(1), (2) Date Dec. 27, 2023,
PCT Pub. No. WO2024/221468, PCT Pub. Date Oct. 31, 2024.
Prior Publication US 2024/0362083 A1, Oct. 31, 2024
Int. Cl. G06F 9/50 (2006.01); G06F 9/4401 (2018.01); G06F 9/48 (2006.01)
CPC G06F 9/5083 (2013.01) [G06F 9/441 (2013.01); G06F 9/4881 (2013.01); G06F 9/5027 (2013.01); G06F 9/5033 (2013.01); G06F 9/505 (2013.01); G06F 9/5055 (2013.01)] 19 Claims
OG exemplary drawing
 
12. An embedded system running method, comprising:
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 comprises 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 comprises a first operating system and a second operating system; and the first operating system and the second operating system run on a processor, 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, wherein the resource allocation results are used for indicating, among processing resources of the processor, a processing resource corresponding to each service to be allocated of the group of services to be allocated, and the processing resources of the processor comprise processor cores; and
allocating the processing resources of the 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 service to be allocated of the group of services to be allocated;
wherein the method further comprises:
after a chip where the processor is located is powered on, booting the first operating system to run on a first initial processing resource through a boot loader, and booting the second operating system to run on a second initial processing resource through the boot loader, wherein the first initial processing resource is an initial processing resource, which corresponds to the first operating system, in the processing resources of the processor, and the second initial processing resource is an initial processing resource, which corresponds to the second operating system, in the processing resources of the processor.