Electronic device and control method
By introducing a resource scheduling unit into electronic devices, which directly responds to data access requests from processing units, the problem of low efficiency in NVMe calls and data transmission is solved, achieving more efficient data access and reduced processing load.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- LENOVO (BEIJING) LTD
- Filing Date
- 2022-07-29
- Publication Date
- 2026-07-24
AI Technical Summary
During NVMe calls and data transfers, the CPU's data transfer efficiency from SSD to DRAM and then to VRAM is low, and CPU-GPU synchronization overhead and I/O traffic amplification limit the effective storage bandwidth.
A resource scheduling unit is introduced to directly receive and respond to data access requests from the processing unit, retrieve target data from the storage unit and feed it back to the corresponding processing unit, thereby reducing the hardware path for data access.
This improved data access efficiency, reduced the processing load of the second processing unit, reduced hardware paths, and enhanced data transmission speed and system performance.
Smart Images

Figure CN115269466B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an electronic device and a control method. Background Technology
[0002] NVMe (Non-Volatile Memory Media) calls and data transfers place a significant load on the CPU. When DMA (Direct Memory Access) data requests are made, the CPU needs to retrieve the data from the SSD (Solid State Drive) to DRAM (Dynamic Random Access Memory), and then transfer the data from DRAM to VRAM (Video RAM), which is inefficient from an overall performance and efficiency perspective. Secondly, CPU-GPU synchronization overhead and / or I / O traffic amplification also significantly limit the effective storage bandwidth required by applications with large datasets. Summary of the Invention
[0003] This invention provides an electronic device, including a first processing unit, a second processing unit, a resource scheduling unit, and a storage unit, wherein:
[0004] Storage unit, used to store target data;
[0005] The first processing unit is configured to send a first data access request to the resource scheduling unit, wherein the first data access request is used to obtain the target data of the storage unit;
[0006] The second processing unit is used to send a second data access request to the resource scheduling unit, the second data access request being used to obtain the target data of the storage unit;
[0007] The resource scheduling unit is used to receive access requests from the first processing unit and / or the second processing unit, obtain target data from the storage unit based on the access requests, and feed back the data to the first processing unit and / or the second processing unit accordingly; if the access request is an access request from the first processing unit, the resource scheduling unit transmits the obtained target data to the first processing unit.
[0008] As an optional embodiment, the electronic device includes a first bus, which can be connected to a first processing unit and a resource scheduling unit. The first processing unit can send access requests to the resource scheduling unit and receive feedback data via the first bus.
[0009] As an optional embodiment, the electronic device includes a second bus, which is connected to a second processing unit and a resource scheduling unit. The second processing unit can send access requests to the resource scheduling unit and receive feedback data via the second bus.
[0010] As an optional embodiment, the first bus is equipped with a controller.
[0011] The controller is connected to the second processing unit, and the resource scheduling unit enables the second processing unit to send access requests to the resource scheduling unit and receive feedback data based on the controller.
[0012] As an optional embodiment, the controller has multiple interfaces, which are respectively connected to the first processing unit and the second processing unit. The controller determines whether the sender of the access request is the first processing unit or the second processing unit based on different interfaces.
[0013] As an optional embodiment, the first processing unit notifies the second processing unit of its intention to access the target data of the storage unit based on the controller, so that the second processing unit controls the controller to separate a portion of the channel for communication with the resource scheduling unit;
[0014] The first processing unit receives feedback information from the second processing unit and, in response to the feedback from the second processing unit, invokes the resource scheduling unit through the controller. The feedback information is used to indicate that the first processing unit can directly interact with the resource scheduling unit through the controller to invoke the resource scheduling unit.
[0015] As an optional embodiment, the controller is also configured to perform data transmission between the first processing unit and the second processing unit.
[0016] As an optional embodiment, the controller, the first bus, the second processing unit, and the resource scheduling unit are disposed on the same substrate.
[0017] Another embodiment of this application also provides a control method applied to the resource scheduling unit of an electronic device as described in any of the embodiments above, the method comprising:
[0018] Obtain a first data access request from the first processing unit or a second data access request from the second processing unit;
[0019] In response to the first data access request or the second data access request, the target data of the storage unit is obtained and fed back to the first processing unit and / or the second processing unit accordingly.
[0020] If the access request is the first access request, the resource scheduling unit will transmit the acquired target data to the first processing unit.
[0021] As an optional embodiment, obtaining the first data access request from the first processing unit or the second data access request from the second processing unit includes:
[0022] The first data access request or the second data access request of the first processing unit or the second processing unit is obtained through the first bus or the second bus.
[0023] Based on the disclosure of the above embodiments, it can be understood that the beneficial effects of the embodiments of the present invention include setting up a resource scheduling unit, which enables it to directly receive and respond to data access requests sent by the first processing unit and the second processing unit, and directly obtain the target stored data from the storage unit and feed it back to the corresponding first processing unit and / or second processing unit. In particular, when the first processing unit needs to access the target data, the second processing unit does not need to participate, and the second processing unit will relay the target data back to the first processing unit, which greatly reduces the processing load of the second processing unit and reduces the hardware path for data access.
[0024] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0025] The technical solution of this application will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0026] The accompanying drawings are provided to further illustrate the present application and form part of the specification. They are used together with the embodiments of the present application to explain the application and do not constitute a limitation thereof. In the drawings:
[0027] Figure 1 This is a schematic diagram of the structure of the electronic device in the embodiments of this application.
[0028] Figure 2 This is another structural schematic diagram of the electronic device in the embodiments of this application.
[0029] Figure 3 This is another structural schematic diagram of the electronic device in the embodiments of this application.
[0030] Figure 4 This is an application interface diagram of the electronic device used in the embodiments of this application.
[0031] Figure 5 This is a flowchart of the control method in the embodiments of this application. Detailed Implementation
[0032] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings, but these are not intended to limit the scope of the invention.
[0033] It should be understood that various modifications can be made to the embodiments disclosed herein. Therefore, the following description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this disclosure will be apparent to those skilled in the art.
[0034] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present disclosure and, together with the general description of the disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
[0035] These and other features of the invention will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.
[0036] It should also be understood that although the invention has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of the invention, which have the features described in the claims and are therefore all within the scope of protection defined herein.
[0037] The above and other aspects, features and advantages of this disclosure will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.
[0038] Specific embodiments of the present disclosure are described thereafter with reference to the accompanying drawings; however, it should be understood that the disclosed embodiments are merely examples of the present disclosure and can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the present disclosure. Therefore, the specific structural and functional details disclosed herein are not intended to be limiting, but merely to serve as the basis and representative basis for the claims to teach those skilled in the art to use the present disclosure in a variety of substantially any suitable detailed structures.
[0039] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in still another embodiment,” all of which may refer to one or more of the same or different embodiments according to this disclosure.
[0040] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0041] like Figure 1 As shown, this application provides an electronic device, including a first processing unit, a second processing unit, a resource scheduling unit, and a storage unit, wherein...
[0042] Storage unit, used to store target data;
[0043] The first processing unit is used to send a first data access request to the resource scheduling unit. The first data access request is used to obtain the target data of the storage unit.
[0044] The second processing unit is used to send a second data access request to the resource scheduling unit. The second data access request is used to obtain the target data of the storage unit.
[0045] The resource scheduling unit is used to receive access requests from the first processing unit and / or the second processing unit, obtain the target data of the storage unit based on the access request, and feed it back to the first processing unit and / or the second processing unit accordingly; if the access request is an access request from the first processing unit, the resource scheduling unit will transmit the obtained target data to the first processing unit.
[0046] For example, such as Figure 2 As shown, the electronic device can be a laptop, desktop computer, etc., and the specific type is not fixed. The electronic device in this embodiment includes a first processing unit, such as a GPU or other processing device; a second processing unit, such as a CPU, SOC, or other processing device; and a storage unit, such as a hard disk (NAND in the figure) or non-volatile storage media such as memory, and the specific type is not fixed. A resource scheduling unit (USA resource scheduler in the figure) can be firmware integrated on the motherboard. In practical applications, the storage unit is used to store target data, including documents, multimedia data, configuration parameters, etc. The first processing unit can send a first data access request to the resource scheduling unit to inform the resource scheduler of the target data it wishes to access in the storage unit. The second processing unit can send a second data access request to the resource scheduling unit to inform the resource scheduler of the target data it wishes to access in the storage unit. After receiving the first and second data access requests, the resource scheduling unit can respond to each access request, retrieve the target data from the storage unit, and feed the target data back to the first processing unit, the second processing unit, or both simultaneously. Specifically, the first processing unit, for example, when the first processing unit is a GPU, can directly interact with the resource scheduling unit, so that the resource scheduling unit can directly feed back the target data to the first processing unit without the need for other processing units, such as the second processing unit, thereby improving the data access efficiency of the first processing unit and reducing the data processing load of the second processing unit.
[0047] Based on the disclosure of the above embodiments, it can be understood that the beneficial effects of this embodiment include setting up a resource scheduling unit, which enables it to directly receive and respond to data access requests sent by the first processing unit and the second processing unit, and directly obtain the target stored data from the storage unit and feed it back to the corresponding first processing unit and / or second processing unit. In particular, when the first processing unit needs to access the target data, the second processing unit does not need to participate, and it feeds back the target data to the first processing unit through a relay, which greatly reduces the processing load of the second processing unit and reduces the hardware path of data access.
[0048] Furthermore, continue to combine Figure 2 As shown, the electronic device in this embodiment includes a first bus (connected to the GPU), such as a PCIe bus, a PEG bus, or other types of buses used for data transmission. The first bus is connected to a first processing unit and a resource scheduling unit. In application, the first bus can be directly or indirectly connected to the first processing unit and the resource scheduling unit. For example, it can be connected to the first processing unit and the resource scheduling unit through other devices, or it can be directly connected. The first processing unit sends a first access request to the resource scheduling unit via the first bus, and simultaneously receives the target data via the first bus.
[0049] Furthermore, continue to combine Figure 2 As shown, the electronic device also includes a second bus, which can also be a PCIe bus (connected to the SOC) or other types of buses used for data transmission. The second bus can also be directly or indirectly connected to the second processing unit and the resource scheduler. Through the second bus, the second processing unit can send a second access request to the resource scheduler and receive feedback target data.
[0050] Furthermore, combined Figure 3 As shown, the electronic device in this embodiment also includes a controller, which is connected to or can be disposed on the first bus. The controller is also connected to a second processing unit and a resource scheduling unit. The second processing unit can send access requests to the resource scheduling unit and receive feedback data based on the controller. That is, the controller is connected to the first processing unit via the first bus, and simultaneously connected to the second processing unit and the resource scheduler. Thus, not only can the first processing unit interact with the resource scheduler through the controller, but the second processing unit can also interact with the resource scheduler through the controller.
[0051] Specifically, the controller in this embodiment has multiple interfaces, which are respectively connected to the first processing unit and the second processing unit. For example, they are connected to the first processing unit via a first bus, and to the second processing unit and the resource scheduler via connecting lines. The controller determines whether the sender of the access request is the first processing unit or the second processing unit based on different interfaces. For example, based on the first interface, it determines that the received access request is the first access request, sent by the first processing unit, and based on the second interface, it determines that the received access request is the second access request, sent by the second processing unit. Alternatively, the access request may carry identification information representing the sender's identity, and the controller can determine whether the sender is the first or the second processing unit based on the identification information in the access request. Of course, other methods can also be used to determine the identity of the sender of the access request, and the specific methods are not limited to these.
[0052] In this embodiment, the first processing unit notifies the second processing unit of the target data it wants to access in the storage unit based on the controller, so that the second processing unit controls the controller to separate a portion of the channel for communication with the resource scheduling unit.
[0053] The first processing unit receives feedback information from the second processing unit and responds to the feedback by calling the resource scheduling unit through the controller. The feedback information is used to indicate that the first processing unit can interact directly with the resource scheduling unit through the controller to call the resource scheduling unit.
[0054] For example, when the first processing unit wants to access target data in the storage unit, it can first send a first data access request to the controller. The controller then forwards the first data access request to the second processing unit. The second processing unit analyzes and determines whether the first processing unit meets the access requirements, such as identity authentication of the first processing unit and security authentication of the target data. Once it is determined that the first processing unit can access the target stored data in the storage unit, the second processing unit can control the controller to allocate a portion of the channel for communication with the resource scheduler. At the same time, the controller sends the first data access request to the resource scheduling unit for processing, so that the resource scheduling unit responds to the first data access request, obtains the target data that the first processing unit wants to access from the storage unit, and then feeds it back to the first processing unit through the controller, thus completing the first processing unit's access to the target data.
[0055] Alternatively, when the first processing unit wants to access target data in the storage unit, it can first send an access notification to the controller. The controller then forwards the access notification to the second processing unit. The second processing unit analyzes and determines whether the first processing unit meets the access requirements, such as passing the first processing unit's authentication and the target data's security authentication. If it is determined that the first processing unit can access the target stored data in the storage unit, the second processing unit can control the controller to allocate a portion of the channel for communication with the resource scheduler. Simultaneously, the second processing unit will send feedback information to the controller, which will then relay this information to the first processing unit, informing it that it is permitted to call the resource scheduler through the controller. At this point, the first processing unit can send a first data access request to the controller, which forwards the request to the resource scheduler for processing. Upon receiving the first data access request, the resource scheduler will respond by retrieving the target data that the first processing unit wants to access from the storage unit, and then relaying this information back to the first processing unit through the controller, thus completing the first processing unit's access to the target data.
[0056] Since the controller in this embodiment is connected to both the first processor and the second processor, and as described in the previous embodiment, the controller can be used to perform data transmission between the first processing unit and the second processing unit. For example, the first processing unit can transmit a first data access request to the second processing unit through the controller, the second processing unit can transmit target data to the first processing unit through the controller, or the first processing unit can directly transmit interactive data with the second processing unit through the controller, such as the CPU and GPU transmitting interactive data to each other. This data is non-target data and does not need to be extracted from the storage unit or called from the resource scheduling unit. In this embodiment, the controller acts as a converter. When the resource scheduling unit is not called, all its channels are used to connect the first processing unit and the second processing unit. When the resource scheduling unit needs to be called, the controller needs to transfer some channels to the resource scheduling unit under the control of the second processing unit, thereby enabling the first processing unit and the second processing unit to interact with the resource scheduling unit through the controller, transmitting access requests and feedback target data.
[0057] In practical applications, the controller, second bus, second processing unit, and resource scheduling unit can be mounted on the same substrate. One interface of the controller can be connected to the second bus, and the first processing unit can be externally mounted on the substrate. The first processing unit can be connected to another interface of the controller via the first bus. Of course, the controller, second bus, first processing unit, second processing unit, first bus, and resource scheduling unit can all be integrated on the same substrate. Alternatively, the first and second processing units can be set up independently, while the controller and resource scheduling unit are integrated on the same substrate, with the controller connected to the first and second processing units respectively via the first and second buses. The specific structure is not unique and can be determined according to the actual configuration of the electronic device.
[0058] Specifically, continue to combine Figure 3 As shown, the architecture in this embodiment separates the CPU from the PCIe controller in the PCH (integrated southbridge) used for accessing NVMe (non-volatile memory medium) data (i.e., target data in the memory cell). This allows the data interaction between the CPU and GPU to remain largely the same as before. The difference is that the GPU can directly access the NVMe SSD (memory cell) through the existing PEG bus, eliminating the need for a path from the CPU to the PCH and then to the NVMe SSD. This saves hardware link time, improves data access efficiency, and reduces CPU load. Based on this embodiment, electronic devices, especially when watching videos or playing video games, can quickly eliminate progress bars, resulting in smoother visuals and faster loading of large amounts of images and videos. Specifically, this can be combined with… Figure 4 As shown, the effect is remarkable.
[0059] like Figure 5 As shown, another embodiment of this application also provides a control method applied to the resource scheduling unit of an electronic device as described in any of the embodiments above, the method comprising:
[0060] S100: Obtain a first data access request from the first processing unit or a second data access request from the second processing unit;
[0061] S200: In response to the first data access request or the second data access request, obtain the target data of the storage unit and feed it back to the first processing unit and / or the second processing unit accordingly;
[0062] If the access request is the first access request, the resource scheduling unit will transmit the acquired target data to the first processing unit.
[0063] For example, when the resource scheduling unit receives a first data access request from the first processing unit, it responds to the request, determines that the first processing unit wants to access the target data, interacts with the storage unit, obtains the target data from the storage unit, and can either directly return it to the first processing unit or return it to the second processing unit, which then forwards it to the first processing unit. If the resource scheduling unit cannot interact with the first processing unit and the link between them is broken, the second processing unit can forward the target data. Alternatively, if the target data requires access permission authentication, the resource scheduling unit can send the target data to the second processing unit for authentication, and then determine whether to forward it to the first processing unit based on the authentication result. Of course, the resource scheduling unit itself can also have authentication functionality to authenticate access requests and the access permissions of the target data. Furthermore, when the resource scheduling unit receives a second data access request from the second processing unit, it responds to the request, determines that the second processing unit wants to access the target data, interacts with the storage unit, obtains the target data from the storage unit, and directly returns it to the second processing unit. Alternatively, when the resource scheduling unit receives both the first data access request and the second data access request simultaneously, meaning both the first processing unit and the second processing unit need to access the target data, the resource scheduling unit can copy the target data and simultaneously send it back to both the first and second processing units. Alternatively, it can send the access address of the target data back to both the first and second processing units, allowing them to directly access the target data based on the access address. Or, the resource scheduling unit can interact with both the first and second processing units to determine their access urgency, determine the feedback priority of the target data based on the urgency, and then send the target data back in sequence according to the priority.
[0064] Based on the disclosure of the above embodiments, it can be understood that the beneficial effects of this embodiment include that the resource scheduling unit can directly receive and respond to the data access requests sent by the first processing unit and the second processing unit, and directly obtain the target stored data from the storage unit and feed it back to the corresponding first processing unit and / or second processing unit. In particular, when the first processing unit needs to access the target data, the second processing unit does not need to participate, and the second processing unit will relay the target data back to the first processing unit, which greatly reduces the processing load of the second processing unit and reduces the hardware path for data access.
[0065] In this embodiment, the first processing unit can be a GPU, dGPU, etc., and the second processing unit can be a CPU, etc., the specifics are not fixed.
[0066] Further, obtaining a first data access request from the first processing unit or a second data access request from the second processing unit includes:
[0067] S101: Obtain the first data access request or the second data access request from the first processing unit or the second processing unit through the first bus or the second bus.
[0068] That is, in this embodiment, the first processing unit is connected to the first bus, the second processing unit is connected to the second bus, and the resource scheduling unit is connected to the first bus and the second bus respectively. The resource scheduling unit obtains the first data access request and the second data access request through the first bus and the second bus respectively. In other words, the resource scheduler can determine the identity of the access requester based on whether the received data access request is transmitted by the first bus or the second bus, and then realize the matching response.
[0069] Another embodiment of this application also provides an electronic device, including:
[0070] One or more processors;
[0071] Memory, configured to store one or more programs;
[0072] When the one or more programs are executed by the one or more processors, the one or more processors shall implement the methods described above.
[0073] One embodiment of this application also provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the method described above. It should be understood that the various solutions in this embodiment have the corresponding technical effects in the above method embodiments, and will not be repeated here.
[0074] This application also provides a computer program product that is tangibly stored on a computer-readable medium and includes computer-readable instructions that, when executed, cause at least one processor to perform methods such as those described in the embodiments above.
[0075] It should be understood that the various solutions in this embodiment have the same technical effects as those in the above method embodiments, and will not be repeated here.
[0076] It should be noted that the computer storage medium of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access storage media (RAM), read-only storage media (ROM), erasable programmable read-only storage media (EPROM or flash memory), optical fibers, portable compact disk read-only storage media (CD-ROM), optical storage media, magnetic storage media, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program configured for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, antenna, optical fiber, RF, etc., or any suitable combination thereof.
[0077] It should be understood that although this application is described according to various embodiments, not every embodiment contains only one independent technical solution. This way of describing the specification is only for clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0078] The above embodiments are merely exemplary embodiments of the present invention and are not intended to limit the present invention. The scope of protection of the present invention is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to the present invention within its spirit and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of the present invention.
Claims
1. An electronic device, comprising a first processing unit, a second processing unit, a resource scheduling unit, and a storage unit, wherein: Storage unit, used to store target data; The first processing unit is configured to send a first data access request to the resource scheduling unit, wherein the first data access request is used to obtain the target data of the storage unit; The second processing unit is used to send a second data access request to the resource scheduling unit, the second data access request being used to obtain the target data of the storage unit; The resource scheduling unit is configured to receive access requests from the first processing unit and / or the second processing unit, obtain target data from the storage unit based on the access requests, and feed back the data to the first processing unit and / or the second processing unit accordingly; if the access request is an access request from the first processing unit, the resource scheduling unit transmits the obtained target data to the first processing unit. The first processing unit is connected to the controller and the resource scheduling unit via a bus, and corresponds to the first path; The second processing unit is connected to the controller and the resource scheduling unit via a bus, and corresponds to the second path; The controller is used to distinguish whether the access request is issued by the first processing unit or the second processing unit, and to determine the target data of the storage unit accessed through the first path or the second path; The first processing unit notifies the second processing unit of its intention to access the target data of the storage unit based on the controller, so that the second processing unit controls the controller to separate a portion of the channel for communication with the resource scheduling unit.
2. The electronic device according to claim 1, wherein, The electronic device includes a first bus, which can be connected to a first processing unit and a resource scheduling unit. The first processing unit can send access requests to the resource scheduling unit and receive feedback data via the first bus.
3. The electronic device according to claim 1, wherein, The electronic device includes a second bus, which is connected to a second processing unit and a resource scheduling unit. The second processing unit can send access requests to the resource scheduling unit and receive feedback data via the second bus.
4. The electronic device according to claim 2, wherein, The first bus is equipped with a controller. The controller is connected to the second processing unit, which is able to send access requests to the resource scheduling unit and receive feedback data based on the controller.
5. The electronic device according to claim 4, wherein, The controller has multiple interfaces, which are respectively connected to the first processing unit and the second processing unit. The controller determines whether the sender of the access request is the first processing unit or the second processing unit based on different interfaces.
6. The electronic device according to claim 4, The first processing unit receives feedback information from the second processing unit and, in response to the feedback from the second processing unit, invokes the resource scheduling unit through the controller. The feedback information is used to indicate that the first processing unit can directly interact with the resource scheduling unit through the controller to invoke the resource scheduling unit.
7. The electronic device according to claim 4, wherein, The controller is also used to transmit data between the first processing unit and the second processing unit.
8. The electronic device according to claim 4, wherein, The controller, the second processing unit, and the resource scheduling unit are mounted on the same base plate.
9. A control method applied to a resource scheduling unit of an electronic device as described in any one of claims 1-8, the method comprising: Obtain a first data access request from the first processing unit or a second data access request from the second processing unit; In response to the first data access request or the second data access request, the target data of the storage unit is obtained and fed back to the first processing unit and / or the second processing unit accordingly. Wherein, if the access request is the first access request, the resource scheduling unit transmits the acquired target data to the first processing unit; the first processing unit is connected to the controller and the resource scheduling unit via a bus, corresponding to a first path; the second processing unit is connected to the controller and the resource scheduling unit via a bus, corresponding to a second path; the controller is used to distinguish whether the access request is issued by the first processing unit or the second processing unit, and to determine whether the target data of the storage unit is accessed through the first path or the second path; the first processing unit notifies the second processing unit of its intention to access the target data of the storage unit based on the controller, so that the second processing unit controls the controller to separate a portion of the channel for communication with the resource scheduling unit.
10. The method according to claim 9, wherein the electronic device includes a first bus and a second bus; wherein, The process of obtaining a first data access request from the first processing unit or a second data access request from the second processing unit includes: The first data access request or the second data access request of the first processing unit or the second processing unit is obtained through the first bus or the second bus.