Cross-device resource configuration method, data acquisition system and storage medium

By using industrial server control resource management domain in data acquisition equipment to modify firewall and configure resources, the high cost problem during resource switching in data acquisition domain is solved, dynamic resource allocation and security level adjustment are realized, and resource utilization efficiency and security are improved. .

CN119051993BActive Publication Date: 2025-02-11SHANGHAI LICHI SEMICON LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411533812.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-02-11
Estimated Expiration
2044-10-31

AI Technical Summary

Technical Problem

In data acquisition equipment, it is necessary to frequently switch the resource configuration of the data acquisition domain, resulting in the need to modify the resource configuration file and re-bury the partition, which increases the time cost and hardware cost.

Method used

The resource management domain of multi-core heterogeneous chips is controlled by industrial servers to modify the firewall, restrict resource access rights of the data acquisition domain, and configure and initialize the relevant registers through the pre-map base address register BAR space, and dynamically adjust resource allocation and security levels. .

Benefits of technology

Resource allocation to the data acquisition domain without re-burning the partition, saving time and hardware costs, enhancing the security of the data acquisition domain, and maximizing the use of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119051993B_ABST
    Figure CN119051993B_ABST
Patent Text Reader

Abstract

The present application discloses a cross-device resource configuration method, a data acquisition system, and a storage medium, and belongs to the field of chip technology. When configuring resources for at least one data acquisition domain in a data acquisition device, the industrial server controls the resource management domain in the data acquisition device to modify the firewall, and the firewall is used to limit the resource access rights of at least one data acquisition domain; the industrial server configures resources for the relevant registers in the data acquisition device through the pre-mapped base address register BAR space, and resets and initializes the configured resources, and notifies at least one data acquisition domain to start an application process through the resource management domain; at least one data acquisition domain starts an application process, and the application process is used to perform data acquisition through the reconfigured resources. The present application can save time and hardware costs; can dynamically adjust the security level of the data acquisition domain to enhance security; can dynamically adjust resource allocation to maximize resource utilization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of chip technology, and in particular to a cross-device resource configuration method, a data acquisition system, and a storage medium. Background Art

[0002] At present, multi-core heterogeneous chips (System On Chip, SOC) are widely used in the field of industrial data acquisition. A multi-core heterogeneous chip will be hard-isolated into multiple domains, and the security level requirements of multiple domains are different. For example, the security level of the data acquisition domain is higher, and the security level of the data processing and filtering domain is lower. Since each domain needs to share the resources of a multi-core heterogeneous chip and share a storage device, a complete set of mechanisms is needed to ensure security and more efficient resource allocation between domains.

[0003] If it is necessary to switch resources between domains in a data acquisition device, it is necessary to modify the resource configuration file on the data acquisition device and re-burn the corresponding partition, which will increase a lot of time and hardware costs. Summary of the invention

[0004] The present application provides a cross-device resource configuration method, a data acquisition system, and a storage medium, which are used to solve the problem that when switching resources for various data acquisition domains in a data acquisition device, it is necessary to modify the resource configuration file and re-burn the corresponding partition, resulting in high time cost and hardware cost. The technical solution is as follows:

[0005] According to a first aspect of the present application, a cross-device resource configuration method is provided, which is used in a data acquisition system including an industrial server and multiple data acquisition devices, wherein a multi-core heterogeneous chip in the data acquisition device includes a resource management domain and multiple data acquisition domains; the method includes:

[0006] When performing resource configuration for at least one data acquisition domain in the data acquisition device, the industrial server controls the resource management domain in the data acquisition device to modify a firewall, wherein the firewall is used to limit resource access rights of the at least one data acquisition domain;

[0007] The industrial server configures resources for relevant registers in the data acquisition device through a pre-mapped base address register BAR space, resets and initializes the configured resources, and notifies the at least one data acquisition domain to start an application process through the resource management domain;

[0008] The at least one data collection domain starts an application process, where the application process is used to collect data through the reconfigured resources.

[0009] In a possible implementation, the industrial server controls the resource management domain in the data acquisition device to modify the firewall, including:

[0010] The industrial server sends firewall modification information to the resource management domain via a peripheral component interconnect express (PCIe), wherein the firewall modification information is used to specify resource access rights of the at least one data acquisition domain;

[0011] The resource management domain receives the firewall modification information via PCIe, modifies the firewall according to the firewall modification information, and sends firewall modification success information to the industrial server via PCIe;

[0012] The industrial server receives the firewall modification success information via PCIe.

[0013] In a possible implementation, the method further includes:

[0014] Before configuring resources for the at least one data acquisition domain, the industrial server sends application process closing information to the resource management domain via PCIe;

[0015] The resource management domain receives the application process closing information through PCIe, and notifies the at least one data acquisition domain to close the application process through inter-core communication;

[0016] The at least one data collection domain closes the application process and releases corresponding resources.

[0017] In a possible implementation, the method further includes:

[0018] After completing the resource release, the data collection domain sends resource release completion information to the resource management domain through inter-core communication;

[0019] The resource management domain receives the resource release completion information through inter-core communication, and sends the resource release completion information of each data acquisition domain to the industrial server through PCIe;

[0020] The industrial server receives resource release completion information of each data collection domain through PCIe, and after determining that all related data collection domains have completed resource release, triggers resource configuration for the at least one data collection domain.

[0021] In a possible implementation, the notifying the at least one data collection domain to start an application process through the resource management domain includes:

[0022] The industrial server sends application process startup information to the resource management domain via PCIe;

[0023] The resource management domain receives the application process startup information through PCIe, and notifies the at least one data acquisition domain to start the application process through inter-core communication.

[0024] In a possible implementation, the method further includes:

[0025] The industrial server establishes a PCIe connection with the data acquisition device;

[0026] The data acquisition device configures the BAR space of the relevant register and maps the BAR space to the industrial server.

[0027] In a possible implementation, the related registers include a resource configuration SCR register and an inter-core communication IPC register.

[0028] According to a second aspect of the present application, a data acquisition system is provided, the data acquisition system comprising an industrial server and a plurality of data acquisition devices, wherein a multi-core heterogeneous chip in the data acquisition device comprises a resource management domain and a plurality of data acquisition domains;

[0029] When performing resource configuration on at least one data acquisition domain in the data acquisition device, the industrial server is used to control the resource management domain in the data acquisition device to modify the firewall, wherein the firewall is used to limit the resource access rights of the at least one data acquisition domain;

[0030] The industrial server is further used to configure resources for relevant registers in the data acquisition device through a pre-mapped base address register BAR space, reset and initialize the configured resources, and notify the at least one data acquisition domain to start an application process through the resource management domain;

[0031] The at least one data collection domain is used to start an application process, and the application process is used to collect data through the reconfigured resources.

[0032] In a possible implementation, the industrial server is further used to send firewall modification information to the resource management domain via a peripheral component interconnect express (PCIe), wherein the firewall modification information is used to specify resource access rights of the at least one data acquisition domain;

[0033] The resource management domain is used to receive the firewall modification information through PCIe, modify the firewall according to the firewall modification information, and send firewall modification success information to the industrial server through PCIe;

[0034] The industrial server is also used to receive the firewall modification success information through PCIe.

[0035] According to a third aspect of the present application, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the cross-device resource configuration method as described above.

[0036] The beneficial effects of the technical solution provided by this application include at least:

[0037] The industrial server modifies the firewall through the resource management domain in the data acquisition device to limit the resource access rights of each data acquisition domain; then, the industrial server configures the resources of the data acquisition device based on the pre-mapped BAR space; finally, restarting the application process in the data acquisition domain can perform data acquisition through the reconfigured resources. In this way, resources can be allocated to the data acquisition domain without re-burning the partition, which can save time and hardware costs; the security level of the data acquisition domain can be dynamically adjusted through the firewall mechanism to enhance the security of the data acquisition domain; and the resource allocation can be dynamically adjusted to maximize the use of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 is a structural schematic diagram of a data acquisition system according to some exemplary embodiments;

[0040] Figure 2 is a flow chart of a cross-device resource configuration method provided by an embodiment of the present application;

[0041] Figure 3 is a flow chart of a cross-device resource configuration method provided by an embodiment of the present application;

[0042] Figure 4 is a schematic diagram of starting a data acquisition system provided by an embodiment of the present application;

[0043] Figure 5 This is a schematic diagram of resource release provided by an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0045] like Figure 1As shown, the present application relates to a data acquisition system, which includes an industrial server 110 and multiple data acquisition devices 120. The industrial server 110 establishes a peripheral component interconnect express (PCIe) connection with each data acquisition device 120, and the data collected by each data acquisition device 120 is summarized through PCIe.

[0046] The multi-core heterogeneous chip (System on Chip, SOC) in each data acquisition device 120 includes a resource management domain 121 and multiple data acquisition domains 122. The resource management domain 121 is used to allocate resources in the security domain to each data acquisition domain 122. An application process runs in each data acquisition domain 122, and the application process performs data acquisition through the allocated resources.

[0047] like Figure 2 As shown, it shows a method flow chart of a cross-device resource configuration method provided by an embodiment of the present application, and the cross-device resource configuration method can be applied to a data acquisition system. The cross-device resource configuration method may include:

[0048] Step 201 , when configuring resources for at least one data acquisition domain in a data acquisition device, the industrial server controls the resource management domain in the data acquisition device to modify a firewall, where the firewall is used to limit resource access rights of at least one data acquisition domain.

[0049] The resource management domain can use a firewall mechanism to manage resources in the security domain. The resource management domain can configure the firewall to limit the resource access rights of each data collection domain through the firewall.

[0050] Step 202: the industrial server configures resources for relevant registers in the data acquisition device through the pre-mapped BAR space, resets and initializes the configured resources, and notifies at least one data acquisition domain to start an application process through the resource management domain.

[0051] The Base Address Register (BAR) space is a set of registers used to map I / O ports or memory address space.

[0052] After starting the data acquisition device, the data acquisition device will configure the relevant registers as BAR space and map it to the industrial server through PCIe. The industrial server can access the relevant registers through the BAR space, configure resources for the relevant registers, and reset and initialize the configured resources.

[0053] After the initialization of the resources is completed, the industrial server can send a notification to the resource management domain through PCIe, and the resource management domain sends a notification to the data collection domain to notify it to start the application process for data collection.

[0054] Step 203: at least one data collection domain starts an application process, where the application process is used to collect data using the reconfigured resources.

[0055] The data collection domain starts the application process after receiving the notification sent by the resource management domain, and each application process collects data through the reconfigured resources.

[0056] To summarize, in the cross-device resource configuration method provided by the embodiment of the present application, the industrial server modifies the firewall through the resource management domain in the data acquisition device to limit the resource access rights of each data acquisition domain; then, the industrial server configures the resources of the data acquisition device based on the pre-mapped BAR space; finally, the application process in the data acquisition domain is restarted to perform data collection through the reconfigured resources, so that resources can be allocated to the data acquisition domain without re-burning the partition, which can save time and hardware costs; the security level of the data acquisition domain can be dynamically adjusted through the firewall mechanism to enhance the security of the data acquisition domain; and resource allocation can be dynamically adjusted to maximize resource utilization.

[0057] like Figure 3 As shown, it shows a flow chart of a cross-device resource configuration method provided by an embodiment of the present application, and the cross-device resource configuration method can be applied to a data acquisition system. The cross-device resource configuration method may include:

[0058] Step 301: The industrial server establishes a PCIe connection with a data acquisition device.

[0059] like Figure 4 As shown, the industrial server is started, and the industrial server initializes the root complex (RC) end; the data acquisition device is started, and the data acquisition device initializes the terminal (End Point, EP); the industrial server establishes a PCIe connection with the terminal in the data acquisition device through the RC end.

[0060] Step 302: The data acquisition device configures the BAR space of the relevant registers and maps the BAR space to the industrial server.

[0061] A BAR space is a set of registers used to map I / O ports or memory address space.

[0062] After starting the data acquisition device, the data acquisition device will configure the relevant registers as BAR space and map it to the industrial server through PCIe. The relevant registers include resource configuration (SD card Configuration Register, SCR) registers and inter-processor communication (Inter-Processor Communication Registers, IPC) registers. The SCR register is used to store firewall rules, and the IPC register is used to store the address of the configured resources.

[0063] Step 303: before configuring resources for at least one data acquisition domain, the industrial server sends application process closing information to the resource management domain via PCIe.

[0064] When reconfiguring the resources of the data collection domain, the application process in the data collection domain may be using the originally allocated resources for data collection. It is necessary to notify the data collection domain to close the application process and release the resources so that the resources can be reallocated.

[0065] Figure 5 In the process, the Windows device (i.e., industrial server) can send application process shutdown information to the resource management domain through PCIe.

[0066] Step 304: The resource management domain receives information about closing the application process through PCIe, and notifies at least one data collection domain to close the application process through inter-core communication.

[0067] Figure 5 In the process, the resource management domain in the data acquisition terminal (ie, the data acquisition device) receives the information of closing the application process, and notifies the application data acquisition domain (ie, the data acquisition domain) to close the application process.

[0068] Step 305: at least one data collection domain closes the application process and releases corresponding resources.

[0069] The data collection domain can also cache the collected data to avoid data loss.

[0070] Figure 5 In the process, the application data collection domain (i.e., data collection domain) receives the notification through inter-core communication, closes the application process and releases the corresponding resources.

[0071] Step 306: After completing the resource release, the data collection domain sends resource release completion information to the resource management domain through inter-core communication.

[0072] Step 307: The resource management domain receives resource release completion information through inter-core communication, and sends resource release completion information of each data collection domain to the industrial server through PCIe.

[0073] Step 308: The industrial server receives resource release completion information of each data collection domain through PCIe, and after determining that all related data collection domains have completed resource release, triggers resource configuration for at least one data collection domain.

[0074] The relevant data collection domain refers to the data collection domain that needs to be configured with resources, which may be all the data collection domains in a data collection device or part of the data collection domains in a data collection device.

[0075] The industrial server can periodically detect whether the relevant data collection domains have completed resource release; if the relevant data collection domains have completed resource release, it is determined that the preparation work is completed and resource allocation can be performed; if there are still data collection domains that have not completed resource release, continue to wait.

[0076] Step 309, when configuring resources for at least one data acquisition domain in the data acquisition device, the industrial server controls the resource management domain in the data acquisition device to modify the firewall, where the firewall is used to limit resource access rights of at least one data acquisition domain.

[0077] The resource management domain can use a firewall mechanism to manage resources in the security domain. The resource management domain can configure the firewall to limit the resource access rights of each data collection domain through the firewall.

[0078] Specifically, the resource management domain in the industrial server control data acquisition device modifies the firewall, which may include:

[0079] (1) The industrial server sends firewall modification information to the resource management domain through PCIe. The firewall modification information is used to specify resource access rights of at least one data collection domain.

[0080] (2) The resource management domain receives firewall modification information through PCIe, modifies the firewall according to the firewall modification information, and sends firewall modification success information to the industrial server through PCIe.

[0081] (3) The industrial server receives firewall modification success information through PCIe.

[0082] The industrial server can periodically detect whether the resource management domain has completed the modification of the firewall; if the resource management domain has completed the modification of the firewall, the resource configuration is performed; if the resource management domain has not completed the modification of the firewall, the server continues to wait.

[0083] Step 310: the industrial server configures resources for relevant registers in the data acquisition device through the pre-mapped BAR space, resets and initializes the configured resources, and notifies at least one data acquisition domain to start an application process through the resource management domain.

[0084] The industrial server can access the relevant registers through the BAR space and configure the resources of the relevant registers, such as modifying the firewall rules in the SCR register and modifying the address of the resources in the IPC register. Then, the industrial server resets and initializes the configured resources.

[0085] After the initialization of the resources is completed, the industrial server can send a notification to the resource management domain through PCIe, and the resource management domain sends a notification to the data collection domain to notify it to start the application process for data collection.

[0086] Specifically, notifying at least one data collection domain to start an application process through a resource management domain may include:

[0087] (1) The industrial server sends information to start the application process to the resource management domain through PCIe.

[0088] (2) The resource management domain receives information about starting an application process through PCIe, and notifies at least one data acquisition domain to start the application process through inter-core communication.

[0089] Step 311: at least one data collection domain starts an application process, where the application process is used to collect data using the reconfigured resources.

[0090] The data collection domain starts the application process after receiving the notification sent by the resource management domain, and each application process collects data through the reconfigured resources.

[0091] In this application, the industrial server can perform resource configuration on the data acquisition domain in one data acquisition device, or it can perform resource configuration on the data acquisition domains in multiple data acquisition devices at the same time. When performing resource configuration on the data acquisition domains in multiple data acquisition devices at the same time, the address of the BAR space mapped in the industrial server for each data acquisition device is different, so as to distinguish different data acquisition devices.

[0092] To summarize, in the cross-device resource configuration method provided by the embodiment of the present application, the industrial server modifies the firewall through the resource management domain in the data acquisition device to limit the resource access rights of each data acquisition domain; then, the industrial server configures the resources of the data acquisition device based on the pre-mapped BAR space; finally, the application process in the data acquisition domain is restarted to perform data collection through the reconfigured resources, so that resources can be allocated to the data acquisition domain without re-burning the partition, which can save time and hardware costs; the security level of the data acquisition domain can be dynamically adjusted through the firewall mechanism to enhance the security of the data acquisition domain; and resource allocation can be dynamically adjusted to maximize resource utilization.

[0093] like Figure 1 As shown, it shows a structural block diagram of a data acquisition system provided by an embodiment of the present application. The data acquisition system includes an industrial server 110 and multiple data acquisition devices 120, and the multi-core heterogeneous chip in the data acquisition device 120 includes a resource management domain 121 and multiple data acquisition domains 122;

[0094] When configuring resources for at least one data collection domain 122 in the data collection device 120, the industrial server 110 is used to control the resource management domain 121 in the data collection device 120 to modify the firewall, and the firewall is used to limit the resource access rights of at least one data collection domain 122;

[0095] The industrial server 110 is further used to configure resources for relevant registers in the data acquisition device 120 through the pre-mapped BAR space, reset and initialize the configured resources, and notify at least one data acquisition domain 122 to start an application process through the resource management domain 121;

[0096] At least one data collection domain 122 is used to start an application process, and the application process is used to collect data through the reconfigured resources.

[0097] In an optional embodiment, the industrial server 110 is further used to send firewall modification information to the resource management domain 121 via PCIe, and the firewall modification information is used to specify resource access rights of at least one data collection domain 122;

[0098] The resource management domain 121 is used to receive firewall modification information through PCIe, modify the firewall according to the firewall modification information, and send firewall modification success information to the industrial server 110 through PCIe;

[0099] The industrial server 110 is further configured to receive firewall modification success information via PCIe.

[0100] In an optional embodiment, before configuring resources for at least one data collection domain 122, the industrial server 110 is further configured to send application process closing information to the resource management domain 121 via PCIe;

[0101] The resource management domain 121 is further used to receive information about closing an application process through PCIe, and to notify at least one data collection domain 122 to close the application process through inter-core communication;

[0102] The at least one data collection domain 122 is also used to close the application process and release corresponding resources.

[0103] In an optional embodiment, after completing the resource release, the data collection domain 122 is further used to send resource release completion information to the resource management domain 121 through inter-core communication;

[0104] The resource management domain 121 is further used to receive resource release completion information through inter-core communication, and send resource release completion information of each data collection domain 122 to the industrial server 110 through PCIe;

[0105] The industrial server 110 is further configured to receive resource release completion information of each data collection domain 122 via PCIe, and trigger resource configuration for at least one data collection domain 122 after determining that all related data collection domains 122 have completed resource release.

[0106] In an optional embodiment, the industrial server 110 is further configured to send application process startup information to the resource management domain 121 via PCIe;

[0107] The resource management domain 121 is further used to receive information about starting an application process through PCIe, and to notify at least one data collection domain 122 to start an application process through inter-core communication.

[0108] In an optional embodiment, the industrial server 110 is further used to establish a PCIe connection with the data acquisition device 120;

[0109] The data acquisition device 120 is also used to configure the BAR space of related registers and map the BAR space to the industrial server 110 .

[0110] In an optional embodiment, the relevant registers include an SCR register and an IPC register.

[0111] To summarize, in the data acquisition system provided by the embodiment of the present application, the industrial server 110 modifies the firewall through the resource management domain in the data acquisition device 120 to limit the resource access rights of each data acquisition domain; then, the industrial server 110 configures resources for the data acquisition device 120 based on the pre-mapped BAR space; finally, restarting the application process in the data acquisition domain can perform data acquisition through the reconfigured resources, so that resources can be allocated to the data acquisition domain without reburning the partition, which can save time and hardware costs; the security level of the data acquisition domain can be dynamically adjusted through the firewall mechanism to enhance the security of the data acquisition domain; and the resource allocation can be dynamically adjusted to maximize the use of resources.

[0112] An embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the cross-device resource configuration method as described above.

[0113] It should be noted that: the data acquisition system provided in the above embodiment only uses the division of the above functional modules as an example when performing cross-device resource configuration. In actual applications, the above functional allocation can be completed by different functional modules as needed, that is, the internal structure of the data acquisition system is divided into different functional modules to complete all or part of the functions described above. In addition, the data acquisition system provided in the above embodiment and the cross-device resource configuration method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0114] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0115] The above description is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A cross-device resource configuration method, characterized in that: In a data acquisition system including an industrial server and a plurality of data acquisition devices, the multi-core heterogeneous chip in the data acquisition device includes a resource management domain and a plurality of data acquisition domains, the resource management domain is used to allocate resources in a security domain to each data acquisition domain, an application program is run in each data acquisition domain, and the application program performs data acquisition through the allocated resources; the method includes: When performing resource configuration for at least one data acquisition domain in the data acquisition device, the industrial server controls the resource management domain in the data acquisition device to modify a firewall, wherein the firewall is used to limit resource access rights of the at least one data acquisition domain; The industrial server configures resources for relevant registers in the data acquisition device through a pre-mapped base address register BAR space, resets and initializes the configured resources, and notifies the at least one data acquisition domain to start an application process through the resource management domain; The at least one data collection domain starts an application process, wherein the application process is used to collect data through the reconfigured resources; The method also includes: the industrial server establishes a PCIe connection with the data acquisition device; the data acquisition device configures the BAR space of the relevant registers and maps the BAR space to the industrial server, the relevant registers include resource configuration SCR registers and inter-core communication IPC registers, the SCR registers are used to store firewall rules, and the IPC registers are used to store the addresses of configured resources.

2. The cross-device resource configuration method according to claim 1, characterized in that: The industrial server controls the resource management domain in the data acquisition device to modify the firewall, including: The industrial server sends firewall modification information to the resource management domain via a peripheral component interconnect express (PCIe), wherein the firewall modification information is used to specify resource access rights of the at least one data acquisition domain; The resource management domain receives the firewall modification information via PCIe, modifies the firewall according to the firewall modification information, and sends firewall modification success information to the industrial server via PCIe; The industrial server receives the firewall modification success information via PCIe.

3. The cross-device resource configuration method according to claim 1, characterized in that: The method further comprises: Before configuring resources for the at least one data acquisition domain, the industrial server sends application process closing information to the resource management domain via PCIe; The resource management domain receives the application process closing information through PCIe, and notifies the at least one data acquisition domain to close the application process through inter-core communication; The at least one data collection domain closes the application process and releases corresponding resources.

4. The cross-device resource configuration method according to claim 3, characterized in that: The method further comprises: After completing the resource release, the data collection domain sends resource release completion information to the resource management domain through inter-core communication; The resource management domain receives the resource release completion information through inter-core communication, and sends the resource release completion information of each data collection domain to the industrial server through PCIe; The industrial server receives resource release completion information of each data collection domain through PCIe, and after determining that all related data collection domains have completed resource release, triggers resource configuration for the at least one data collection domain.

5. The cross-device resource configuration method according to claim 3, characterized in that: The step of notifying the at least one data collection domain through the resource management domain to start the application process includes: The industrial server sends application process startup information to the resource management domain via PCIe; The resource management domain receives the application process startup information through PCIe, and notifies the at least one data acquisition domain to start the application process through inter-core communication.

6. A data acquisition system, characterized in that: The data acquisition system includes an industrial server and multiple data acquisition devices. The multi-core heterogeneous chip in the data acquisition device includes a resource management domain and multiple data acquisition domains. The resource management domain is used to allocate resources in the security domain to each data acquisition domain. An application program runs in each data acquisition domain, and the application program performs data acquisition through the allocated resources. When performing resource configuration on at least one data acquisition domain in the data acquisition device, the industrial server is used to control the resource management domain in the data acquisition device to modify the firewall, wherein the firewall is used to limit the resource access rights of the at least one data acquisition domain; The industrial server is further used to configure resources for relevant registers in the data acquisition device through a pre-mapped base address register BAR space, reset and initialize the configured resources, and notify the at least one data acquisition domain to start an application process through the resource management domain; The at least one data collection domain is used to start an application process, and the application process is used to collect data through the reconfigured resources; The industrial server is also used to establish a PCIe connection with the data acquisition device; the data acquisition device is also used to configure the BAR space of the relevant registers and map the BAR space to the industrial server. The relevant registers include resource configuration SCR registers and inter-core communication IPC registers. The SCR registers are used to store firewall rules, and the IPC registers are used to store the addresses of configured resources.

7. The data acquisition system according to claim 6, characterized in that: The industrial server is further used to send firewall modification information to the resource management domain via a peripheral component interconnect express (PCIe), wherein the firewall modification information is used to specify resource access rights of the at least one data acquisition domain; The resource management domain is used to receive the firewall modification information through PCIe, modify the firewall according to the firewall modification information, and send firewall modification success information to the industrial server through PCIe; The industrial server is also used to receive the firewall modification success information through PCIe.

8. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the cross-device resource configuration method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data transmission method based on multi-core heterogeneity, chip and computer program product

    CN118733515A

  • Resource management method, related device and program product

    CN118821239A